PinpointSMSVoiceV2 / Client / exceptions / ServiceQuotaExceededException

ServiceQuotaExceededException#

class PinpointSMSVoiceV2.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',
    'Reason': 'ASSOCIATIONS_PER_REGISTRATION'|'CONFIGURATION_SETS_PER_ACCOUNT'|'DAILY_DESTINATION_CALL_LIMIT'|'EVENT_DESTINATIONS_PER_CONFIGURATION_SET'|'KEYWORDS_PER_PHONE_NUMBER'|'KEYWORDS_PER_POOL'|'MONTHLY_SPEND_LIMIT_REACHED_FOR_MEDIA'|'MONTHLY_SPEND_LIMIT_REACHED_FOR_TEXT'|'MONTHLY_SPEND_LIMIT_REACHED_FOR_VOICE'|'OPT_OUT_LISTS_PER_ACCOUNT'|'ORIGINATION_IDENTITIES_PER_POOL'|'PHONE_NUMBERS_PER_ACCOUNT'|'PHONE_NUMBERS_PER_REGISTRATION'|'POOLS_PER_ACCOUNT'|'REGISTRATION_ATTACHMENTS_CREATED_PER_DAY'|'REGISTRATION_ATTACHMENTS_PER_ACCOUNT'|'REGISTRATION_VERSIONS_CREATED_PER_DAY'|'REGISTRATIONS_PER_ACCOUNT'|'SENDER_IDS_PER_ACCOUNT'|'TAGS_PER_RESOURCE'|'VERIFIED_DESTINATION_NUMBERS_PER_ACCOUNT'|'VERIFICATION_ATTEMPTS_PER_DAY'|'PROTECT_CONFIGURATIONS_PER_ACCOUNT',
    'Error': {
        'Code': 'string',
        'Message': 'string'
    }
}

Structure

  • (dict) –

    The request would cause a service quota to be exceeded.

    • Message (string) –

    • Reason (string) –

      The reason for the exception.

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