MWAAServerless / Client / exceptions / ThrottlingException
ThrottlingException¶
- class MWAAServerless.Client.exceptions.ThrottlingException¶
The request was denied because too many requests were made in a short period, exceeding the service rate limits. Amazon Managed Workflows for Apache Airflow Serverless implements throttling controls to ensure fair resource allocation across all customers in the multi-tenant environment. This helps maintain service stability and performance. If you encounter throttling, implement exponential backoff and retry logic in your applications, or consider distributing your API calls over a longer time period.
Example
try: ... except client.exceptions.ThrottlingException 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
{ 'Message': 'string', 'ServiceCode': 'string', 'QuotaCode': 'string', 'RetryAfterSeconds': 123, 'Error': { 'Code': 'string', 'Message': 'string' } }
Structure
(dict) –
The request was denied because too many requests were made in a short period, exceeding the service rate limits. Amazon Managed Workflows for Apache Airflow Serverless implements throttling controls to ensure fair resource allocation across all customers in the multi-tenant environment. This helps maintain service stability and performance. If you encounter throttling, implement exponential backoff and retry logic in your applications, or consider distributing your API calls over a longer time period.
Message (string) –
ServiceCode (string) –
The code for the service.
QuotaCode (string) –
The code of the quota.
RetryAfterSeconds (integer) –
The number of seconds to wait before retrying the operation.
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.