SSMContacts / Client / exceptions / ConflictException

ConflictException#

class SSMContacts.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',
    'ResourceId': 'string',
    'ResourceType': 'string',
    'DependentEntities': [
        {
            'RelationType': 'string',
            'DependentResourceIds': [
                'string',
            ]
        },
    ],
    'Error': {
        'Code': 'string',
        'Message': 'string'
    }
}

Structure

  • (dict) –

    Updating or deleting a resource causes an inconsistent state.

    • Message (string) –

    • ResourceId (string) – Identifier of the resource in use

    • ResourceType (string) – Type of the resource in use

    • DependentEntities (list) – List of dependent entities containing information on relation type and resourceArns linked to the resource in use

      • (dict) –

        Information about a resource that another resource is related to or depends on.

        For example, if a contact is a member of a rotation, the rotation is a dependent entity of the contact.

        • RelationType (string) –

          The type of relationship between one resource and the other resource that it is related to or depends on.

        • DependentResourceIds (list) –

          The Amazon Resource Names (ARNs) of the dependent resources.

          • (string) –

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