EBS / Client / exceptions / RequestThrottledException

RequestThrottledException#

class EBS.Client.exceptions.RequestThrottledException#

The number of API requests has exceeded the maximum allowed API request throttling limit for the snapshot. For more information see Error retries.

Example

try:
  ...
except client.exceptions.RequestThrottledException 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',
    'Reason': 'ACCOUNT_THROTTLED'|'DEPENDENCY_REQUEST_THROTTLED'|'RESOURCE_LEVEL_THROTTLE',
    'Error': {
        'Code': 'string',
        'Message': 'string'
    }
}

Structure

  • (dict) –

    The number of API requests has exceeded the maximum allowed API request throttling limit for the snapshot. For more information see Error retries.

    • Message (string) –

    • Reason (string) –

      The reason for the exception.

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