IdentityStore / Client / exceptions / ThrottlingException

ThrottlingException#

class IdentityStore.Client.exceptions.ThrottlingException#

Indicates that the principal has crossed the throttling limits of the API operations.

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

Structure

  • (dict) –

    Indicates that the principal has crossed the throttling limits of the API operations.

    • Message (string) –

    • RequestId (string) –

      The identifier for each request. This value is a globally unique ID that is generated by the identity store service for each sent request, and is then returned inside the exception if the request fails.

    • RetryAfterSeconds (integer) –

      The number of seconds to wait before retrying the next request.

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