ConnectScheduling / Client / exceptions / ServiceQuotaExceededException

ServiceQuotaExceededException

class ConnectScheduling.Client.exceptions.ServiceQuotaExceededException

The request would cause a service quota to be exceeded.

Example

try:
  ...
except client.exceptions.ServiceQuotaExceededException 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',
    'ResourceId': 'string',
    'ResourceType': 'string',
    'Error': {
        'Code': 'string',
        'Message': 'string'
    }
}

Structure

  • (dict) –

    The request would cause a service quota to be exceeded.

    • Message (string) –

    • QuotaCode (string) –

      The code of the quota that would be exceeded, for use with the Service Quotas API.

    • ServiceCode (string) –

      The code of the service that owns the quota.

    • ResourceId (string) –

      The identifier or ARN of the resource whose quota would be exceeded.

    • ResourceType (string) –

      The type of the resource whose quota would be exceeded.

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