AppConfigCloudExtension / Client / exceptions / ThrottlingException

ThrottlingException

class AppConfigCloudExtension.Client.exceptions.ThrottlingException

The call was throttled. Retry after the time Retry-After gives, when it is set. The reason says what throttled it.

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',
    'reason': 'THROTTLED_BY_RUNTIME'|'THROTTLED_BY_REMOTE',
    'retryAfterSeconds': 123,
    'extension': 'string',
    'Error': {
        'Code': 'string',
        'Message': 'string'
    }
}

Structure

  • (dict) –

    The call was throttled. Retry after the time Retry-After gives, when it is set. The reason says what throttled it.

    • message (string) –

      A description of the error.

    • reason (string) –

      What throttled the call.

    • retryAfterSeconds (integer) –

      Not set by AWS SDK clients: AWS Cloud Extensions sends the retry delay, in seconds, only in the Retry-After response header.

    • extension (string) –

      The Extension the call is for.

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