Class PinpointSMSVoiceV2Exception
- Exception
-
RuntimeException
-
Aws\Exception\AwsException implements Aws\MonitoringEventsInterface, Aws\ResponseContainerInterface, ArrayAccess uses Aws\HasDataTrait, Aws\HasMonitoringEventsTrait
-
Aws\PinpointSMSVoiceV2\Exception\PinpointSMSVoiceV2Exception
- Namespace: Aws\PinpointSMSVoiceV2\Exception
- Located at PinpointSMSVoiceV2/Exception/PinpointSMSVoiceV2Exception.php
Represents an error interacting with the Amazon Pinpoint SMS Voice V2 service.
Methods Summary
Methods inherited from Aws\Exception\AwsException
__construct()
,
__toString()
,
get()
,
getAwsErrorCode()
,
getAwsErrorMessage()
,
getAwsErrorShape()
,
getAwsErrorType()
,
getAwsRequestId()
,
getCommand()
,
getRequest()
,
getResponse()
,
getResult()
,
getStatusCode()
,
getTransferInfo()
,
hasKey()
,
isConnectionError()
,
isMaxRetriesExceeded()
,
search()
,
setMaxRetriesExceeded()
,
setTransferInfo()
Methods inherited from Exception
__wakeup()
,
getCode()
,
getFile()
,
getLine()
,
getMessage()
,
getPrevious()
,
getTrace()
,
getTraceAsString()
Methods inherited from ArrayAccess
offsetExists()
,
offsetGet()
,
offsetSet()
,
offsetUnset()
Methods inherited from Aws\MonitoringEventsInterface
Methods used from Aws\HasDataTrait
Methods used from Aws\HasMonitoringEventsTrait
Expected Exception Codes
AccessDeniedException
[ 'Message' => '<string>', 'Reason' => 'INSUFFICIENT_ACCOUNT_REPUTATION|ACCOUNT_DISABLED', ]
Description
The request was denied because you don't have sufficient permissions to access the resource.
Members
- Message
-
- Type: string
- Reason
-
- Type: string
The reason for the exception.
ConflictException
[ 'Message' => '<string>', 'Reason' => 'CREATE_REGISTRATION_VERSION_NOT_ALLOWED|DELETION_PROTECTION_ENABLED|DESTINATION_PHONE_NUMBER_NOT_VERIFIED|DESTINATION_PHONE_NUMBER_OPTED_OUT|DISASSOCIATE_REGISTRATION_NOT_ALLOWED|DISCARD_REGISTRATION_VERSION_NOT_ALLOWED|EDIT_REGISTRATION_FIELD_VALUES_NOT_ALLOWED|EVENT_DESTINATION_MISMATCH|KEYWORD_MISMATCH|LAST_PHONE_NUMBER|NUMBER_CAPABILITIES_MISMATCH|MESSAGE_TYPE_MISMATCH|NO_ORIGINATION_IDENTITIES_FOUND|OPT_OUT_LIST_MISMATCH|PHONE_NUMBER_ASSOCIATED_TO_POOL|PHONE_NUMBER_ASSOCIATED_TO_REGISTRATION|PHONE_NUMBER_NOT_ASSOCIATED_TO_POOL|PHONE_NUMBER_NOT_IN_REGISTRATION_REGION|REGISTRATION_ALREADY_SUBMITTED|REGISTRATION_NOT_COMPLETE|SENDER_ID_ASSOCIATED_TO_POOL|RESOURCE_ALREADY_EXISTS|RESOURCE_DELETION_NOT_ALLOWED|RESOURCE_MODIFICATION_NOT_ALLOWED|RESOURCE_NOT_ACTIVE|RESOURCE_NOT_EMPTY|SELF_MANAGED_OPT_OUTS_MISMATCH|SUBMIT_REGISTRATION_VERSION_NOT_ALLOWED|TWO_WAY_CONFIG_MISMATCH|VERIFICATION_CODE_EXPIRED|VERIFICATION_ALREADY_COMPLETE', 'ResourceId' => '<string>', 'ResourceType' => 'account|phone-number|sender-id|pool|configuration-set|opt-out-list|event-destination|keyword|opted-out-number|registration|registration-attachment|verified-destination-number', ]
Description
Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time or it could be that the requested action isn't valid for the current state or configuration of the resource.
Members
- Message
-
- Type: string
- Reason
-
- Type: string
The reason for the exception.
- ResourceId
-
- Type: string
The unique identifier of the request.
- ResourceType
-
- Type: string
The type of resource that caused the exception.
InternalServerException
[ 'Message' => '<string>', 'RequestId' => '<string>', ]
Description
The API encountered an unexpected error and couldn't complete the request. You might be able to successfully issue the request again in the future.
Members
- Message
-
- Type: string
- RequestId
-
- Type: string
The unique identifier of the request.
ResourceNotFoundException
[ 'Message' => '<string>', 'ResourceId' => '<string>', 'ResourceType' => 'account|phone-number|sender-id|pool|configuration-set|opt-out-list|event-destination|keyword|opted-out-number|registration|registration-attachment|verified-destination-number', ]
Description
A requested resource couldn't be found.
Members
- Message
-
- Type: string
- ResourceId
-
- Type: string
The unique identifier of the resource.
- ResourceType
-
- Type: string
The type of resource that caused the exception.
ServiceQuotaExceededException
[ '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_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', ]
Description
The request would cause a service quota to be exceeded.
Members
- Message
-
- Type: string
- Reason
-
- Type: string
The reason for the exception.
ThrottlingException
[ 'Message' => '<string>', ]
Description
An error that occurred because too many requests were sent during a certain amount of time.
Members
- Message
-
- Type: string
ValidationException
[ 'Fields' => [ [ 'Message' => '<string>', 'Name' => '<string>', ], // ... ], 'Message' => '<string>', 'Reason' => 'CANNOT_ADD_OPTED_OUT_NUMBER|CANNOT_PARSE|COUNTRY_CODE_MISMATCH|DESTINATION_COUNTRY_BLOCKED|FIELD_VALIDATION_FAILED|ATTACHMENT_TYPE_NOT_SUPPORTED|INVALID_ARN|INVALID_FILTER_VALUES|INVALID_IDENTITY_FOR_DESTINATION_COUNTRY|INVALID_NEXT_TOKEN|INVALID_PARAMETER|INVALID_REQUEST|INVALID_REGISTRATION_ASSOCIATION|MAXIMUM_SIZE_EXCEEDED|MISSING_PARAMETER|PARAMETERS_CANNOT_BE_USED_TOGETHER|PHONE_NUMBER_CANNOT_BE_OPTED_IN|PHONE_NUMBER_CANNOT_BE_RELEASED|PRICE_OVER_THRESHOLD|RESOURCE_NOT_ACCESSIBLE|REQUESTED_SPEND_LIMIT_HIGHER_THAN_SERVICE_LIMIT|SENDER_ID_NOT_REGISTERED|SENDER_ID_NOT_SUPPORTED|SENDER_ID_REQUIRES_REGISTRATION|TWO_WAY_TOPIC_NOT_PRESENT|TWO_WAY_NOT_ENABLED|TWO_WAY_NOT_SUPPORTED_IN_COUNTRY|TWO_WAY_NOT_SUPPORTED_IN_REGION|TWO_WAY_CHANNEL_NOT_PRESENT|UNKNOWN_REGISTRATION_FIELD|UNKNOWN_REGISTRATION_SECTION|UNKNOWN_REGISTRATION_TYPE|UNKNOWN_REGISTRATION_VERSION|UNKNOWN_OPERATION|REGISTRATION_FIELD_CANNOT_BE_DELETED|VERIFICATION_CODE_MISMATCH|VOICE_CAPABILITY_NOT_AVAILABLE|OTHER', ]
Description
A validation exception for a field.
Members
- Fields
-
- Type: Array of ValidationExceptionField structures
The field that failed validation.
- Message
-
- Type: string
- Reason
-
- Type: string
The reason for the exception.