LookoutforVision / Client / exceptions / ThrottlingException

ThrottlingException#

class LookoutforVision.Client.exceptions.ThrottlingException#

Amazon Lookout for Vision is temporarily unable to process the request. Try your call again.

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',
    'ServiceCode': 'string',
    'RetryAfterSeconds': 123,
    'Error': {
        'Code': 'string',
        'Message': 'string'
    }
}

Structure

  • (dict) –

    Amazon Lookout for Vision is temporarily unable to process the request. Try your call again.

    • Message (string) –

    • QuotaCode (string) –

      The quota code.

    • ServiceCode (string) –

      The service code.

    • RetryAfterSeconds (integer) –

      The period of time, in seconds, before the operation can be retried.

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