CredentialBrokerControl / Client / exceptions / ServiceQuotaExceededException

ServiceQuotaExceededException

class CredentialBrokerControl.Client.exceptions.ServiceQuotaExceededException

The request would exceed a service quota, so it was rejected and nothing was created or changed. Delete resources that are no longer needed, or request a quota increase in Service Quotas using serviceCode and quotaCode, then retry.

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',
    'resourceId': 'string',
    'resourceType': 'string',
    'serviceCode': 'string',
    'quotaCode': 'string',
    'Error': {
        'Code': 'string',
        'Message': 'string'
    }
}

Structure

  • (dict) –

    The request would exceed a service quota, so it was rejected and nothing was created or changed. Delete resources that are no longer needed, or request a quota increase in Service Quotas using serviceCode and quotaCode, then retry.

    • message (string) –

    • resourceId (string) –

      The identifier of the resource whose quota was exceeded, when the quota applies to a specific resource rather than the account.

    • resourceType (string) –

      The type of the resource named by resourceId, when present.

    • serviceCode (string) –

      The Service Quotas requirement that identifies the originating service.

    • quotaCode (string) –

      The Service Quotas requirement that identifies the originating 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.