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

{
    'message': 'string',
    'reason': 'SERVICE_QUOTA_EXCEEDED_EXCEPTION'|'KMS_KEY_LIMIT_EXCEEDED',
    'resourceType': 'string',
    'serviceCode': 'string',
    'quotaCode': 'string',
    'resourceId': 'string',
    'context': {
        'string': '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.

    • message (string) –

    • reason (string) –

      A string that describes the reason the quota was exceeded.

    • resourceType (string) –

      The type of the affected resource

    • serviceCode (string) –

      Identifies the service that exceeded the quota.

    • quotaCode (string) –

      Identifies the quota that has been exceeded.

    • resourceId (string) –

      The identifier of the affected resource.

    • context (dict) –

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

      • (string) –

        • (string) –

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