SSM / Client / exceptions / DoesNotExistException

DoesNotExistException#

class SSM.Client.exceptions.DoesNotExistException#

Error returned when the ID specified for a resource, such as a maintenance window or patch baseline, doesn’t exist.

For information about resource quotas in Amazon Web Services Systems Manager, see Systems Manager service quotas in the Amazon Web Services General Reference.

Example

try:
  ...
except client.exceptions.DoesNotExistException 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) –

    Error returned when the ID specified for a resource, such as a maintenance window or patch baseline, doesn’t exist.

    For information about resource quotas in Amazon Web Services Systems Manager, see Systems Manager service quotas in the Amazon Web Services General Reference.

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