javascript - AWS: Is createLogGroup operation idempotent? -
i using node sdk aws, have question regarding createloggroup , createlogstream operations, these operations idempotent? i.e can call create multiple times without having worry duplication or error.
has tried before? help.
no, not idempotent. calling them again same names cause error. instance, if follow link through the underlying createloggroup
api reference, can see 1 of the possible error responses is:
resourcealreadyexistsexception
the specified resource exists.
http status code: 400
wiki
Comments
Post a Comment