ACM / Client / exceptions / ThrottlingException

ThrottlingException

class ACM.Client.exceptions.ThrottlingException

The request was denied because it exceeded a quota.

Example

try:
  ...
except client.exceptions.ThrottlingException 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',
    'throttlingReasons': [
        {
            'reason': 'string',
            'resource': 'string'
        },
    ],
    'Error': {
        'Code': 'string',
        'Message': 'string'
    }
}

Structure

  • (dict) –

    The request was denied because it exceeded a quota.

    • message (string) –

    • throttlingReasons (list) –

      One or more reasons why the request was throttled.

      • (dict) –

        A description of why a request was throttled.

        • reason (string) –

          A description of why a request was throttled.

        • resource (string) –

          The resource that causes the request to be throttled.

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