DeadlineCloud / Client / exceptions / ServiceQuotaExceededException

ServiceQuotaExceededException#

class DeadlineCloud.Client.exceptions.ServiceQuotaExceededException#

You exceeded your service quota. Service quotas, also referred to as limits, are the maximum number of service resources or operations for your Amazon Web Services account.

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

{
    'context': {
        'string': 'string'
    },
    'message': 'string',
    'quotaCode': 'string',
    'reason': 'SERVICE_QUOTA_EXCEEDED_EXCEPTION'|'KMS_KEY_LIMIT_EXCEEDED',
    'resourceId': 'string',
    'resourceType': 'string',
    'serviceCode': 'string',
    'Error': {
        'Code': 'string',
        'Message': 'string'
    }
}

Structure

  • (dict) –

    You exceeded your service quota. Service quotas, also referred to as limits, are the maximum number of service resources or operations for your Amazon Web Services account.

    • context (dict) –

      Information about the resources in use when the exception was thrown.

      • (string) –

        • (string) –

    • message (string) –

    • quotaCode (string) –

      Identifies the quota that has been exceeded.

    • reason (string) –

      A string that describes the reason the quota was exceeded.

    • resourceId (string) –

      The identifier of the affected resource.

    • resourceType (string) –

      The type of the affected resource

    • serviceCode (string) –

      Identifies the service that exceeded the quota.

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