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

Popular posts from this blog

Asterisk AGI Python Script to Dialplan does not work -

python - Read npy file directly from S3 StreamingBody -

kotlin - Out-projected type in generic interface prohibits the use of metod with generic parameter -