BackupExternal / Client / exceptions / ServiceQuotaExceededException

ServiceQuotaExceededException

class BackupExternal.Client.exceptions.ServiceQuotaExceededException

The request would exceed a service quota.

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',
    'ResourceType': 'ACCOUNT',
    'ResourceId': 'string',
    'ServiceCode': 'string',
    'Error': {
        'Code': 'string',
        'Message': 'string'
    }
}

Structure

  • (dict) –

    The request would exceed a service quota.

    • Message (string) –

    • ResourceType (string) –

      Type of the resource that ResourceId identifies.

    • ResourceId (string) –

      Identifier of the resource the quota is counted within. For a per-account quota, the account ID.

    • ServiceCode (string) –

      Service code of the originating service.

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