LambdaWeb / Client / exceptions / ThrottlingException

ThrottlingException

class LambdaWeb.Client.exceptions.ThrottlingException

The request was denied because it exceeded the request rate that Lambda allows for your account. Reduce the frequency of requests and retry with exponential backoff.

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',
    'retryAfterSeconds': 123,
    'serviceCode': 'string',
    'quotaCode': 'string',
    'Error': {
        'Code': 'string',
        'Message': 'string'
    }
}

Structure

  • (dict) –

    The request was denied because it exceeded the request rate that Lambda allows for your account. Reduce the frequency of requests and retry with exponential backoff.

    • message (string) –

      A message describing the throttling error.

    • retryAfterSeconds (integer) –

      The number of seconds to wait before retrying the request.

    • serviceCode (string) –

      The service code of the throttled service.

    • quotaCode (string) –

      The quota code that was exceeded, if applicable.

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