SSMIncidents / Client / exceptions / ConflictException

ConflictException#

class SSMIncidents.Client.exceptions.ConflictException#

Updating or deleting a resource causes an inconsistent state.

Example

try:
  ...
except client.exceptions.ConflictException as e:
  print(e.response)
response#

The parsed error response. All exceptions have a top level Error key that provides normalized access to common exception atrributes. All other keys are specific to this service or exception class.

Syntax

{
    'message': 'string',
    'resourceIdentifier': 'string',
    'resourceType': 'RESPONSE_PLAN'|'INCIDENT_RECORD'|'TIMELINE_EVENT'|'REPLICATION_SET'|'RESOURCE_POLICY',
    'retryAfter': datetime(2015, 1, 1),
    'Error': {
        'Code': 'string',
        'Message': 'string'
    }
}

Structure

  • (dict) –

    Updating or deleting a resource causes an inconsistent state.

    • message (string) –

    • resourceIdentifier (string) –

      The identifier of the requested resource

    • resourceType (string) –

      The resource type

    • retryAfter (datetime) –

      If present in the output, the operation can be retried after this time

    • 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.