MigrationHubRefactorSpaces / Client / exceptions / ThrottlingException
ThrottlingException#
- class MigrationHubRefactorSpaces.Client.exceptions.ThrottlingException#
Request was denied because the request was throttled.
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', 'QuotaCode': 'string', 'RetryAfterSeconds': 123, 'ServiceCode': 'string', 'Error': { 'Code': 'string', 'Message': 'string' } }
Structure
(dict) –
Request was denied because the request was throttled.
Message (string) –
QuotaCode (string) –
Service quota requirement to identify originating quota. Reached throttling quota exception.
RetryAfterSeconds (integer) –
The number of seconds to wait before retrying.
ServiceCode (string) –
Service quota requirement to identify originating service. Reached throttling quota exception service code.
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.