LambdaCore / Client / exceptions / TooManyRequestsException
TooManyRequestsException¶
- class LambdaCore.Client.exceptions.TooManyRequestsException¶
The request was throttled due to exceeding the allowed request rate. Retry the request after a brief wait using exponential backoff.
Example
try: ... except client.exceptions.TooManyRequestsException as e: print(e.response)
- response¶
The parsed error response. All exceptions have a top level
Errorkey that provides normalized access to common exception atrributes. All other keys are specific to this service or exception class.Syntax
{ 'retryAfterSeconds': 'string', 'Type': 'string', 'message': 'string', 'Reason': 'ConcurrentInvocationLimitExceeded'|'FunctionInvocationRateLimitExceeded'|'ReservedFunctionConcurrentInvocationLimitExceeded'|'ReservedFunctionInvocationRateLimitExceeded'|'CallerRateLimitExceeded'|'ConcurrentSnapshotCreateLimitExceeded', 'Error': { 'Code': 'string', 'Message': 'string' } }
Structure
(dict) –
The request was throttled due to exceeding the allowed request rate. Retry the request after a brief wait using exponential backoff.
retryAfterSeconds (string) –
The number of seconds to wait before retrying the request.
Type (string) –
The exception type.
message (string) –
Reason (string) –
The reason for the throttling.
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.