Route53Resolver / Client / exceptions / ConflictException

ConflictException#

class Route53Resolver.Client.exceptions.ConflictException#

The requested state transition isn’t valid. For example, you can’t delete a firewall domain list if it is in the process of being deleted, or you can’t import domains into a domain list that is in the process of being deleted.

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',
    'Error': {
        'Code': 'string',
        'Message': 'string'
    }
}

Structure

  • (dict) –

    The requested state transition isn’t valid. For example, you can’t delete a firewall domain list if it is in the process of being deleted, or you can’t import domains into a domain list that is in the process of being deleted.

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