CloudWatchOmni / Client / exceptions / ConflictException
ConflictException¶
- class CloudWatchOmni.Client.exceptions.ConflictException¶
The operation could not be completed because of a conflict with the current state of the resource.
Example
try: ... except client.exceptions.ConflictException as e: print(e.response)
- response¶
The parsed error response. All exceptions have a top level
Errorkey that provides normalized access to common exception atrributes. All other keys are specific to this service or exception class.Syntax
{ 'message': 'string', 'conflictType': 'string', 'resourceId': 'string', 'resourceType': 'string', 'errorCode': 'string', 'Error': { 'Code': 'string', 'Message': 'string' } }
Structure
(dict) –
The operation could not be completed because of a conflict with the current state of the resource.
message (string) –
A human-readable description of the conflict.
conflictType (string) –
The type of conflict that caused the request to fail. Not always present.
resourceId (string) –
The identifier of the resource that is in conflict. Not always present.
resourceType (string) –
The type of the resource that is in conflict. Not always present.
errorCode (string) –
The error code associated with the conflict. Not always present.
Error (dict) – Normalized access to common exception attributes.
Code (string) – An identifier specifying the exception type.
Message (string) – A descriptive message explaining why the exception occured.