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
ConflictException
[ 'Message' => '<string>', 'Reason' => 'DELETION_PROTECTION_ENABLED|DESTINATION_PHONE_NUMBER_NOT_VERIFIED|DESTINATION_PHONE_NUMBER_OPTED_OUT|EVENT_DESTINATION_MISMATCH|KEYWORD_MISMATCH|LAST_PHONE_NUMBER|SELF_MANAGED_OPT_OUTS_MISMATCH|MESSAGE_TYPE_MISMATCH|NO_ORIGINATION_IDENTITIES_FOUND|OPT_OUT_LIST_MISMATCH|PHONE_NUMBER_ASSOCIATED_TO_POOL|PHONE_NUMBER_NOT_ASSOCIATED_TO_POOL|PHONE_NUMBER_NOT_IN_REGISTRATION_REGION|RESOURCE_ALREADY_EXISTS|RESOURCE_DELETION_NOT_ALLOWED|RESOURCE_MODIFICATION_NOT_ALLOWED|RESOURCE_NOT_ACTIVE|RESOURCE_NOT_EMPTY|TWO_WAY_CONFIG_MISMATCH', 'ResourceId' => '<string>', 'ResourceType' => 'account|phone-number|sender-id|pool|configuration-set|opt-out-list|event-destination|keyword|opted-out-number|registration', ]
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
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
ResourceNotFoundException
[ 'Message' => '<string>', 'ResourceId' => '<string>', 'ResourceType' => 'account|phone-number|sender-id|pool|configuration-set|opt-out-list|event-destination|keyword|opted-out-number|registration', ]
Description
A requested resource couldn't be found.
Members
ServiceQuotaExceededException
[ 'Message' => '<string>', 'Reason' => '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|TAGS_PER_RESOURCE', ]
Description
The request would cause a service quota to be exceeded.
Members
ThrottlingException
[ 'Message' => '<string>', ]
Description
An error that occurred because too many requests were sent during a certain amount of time.
Members
ValidationException
[ 'Fields' => [ [ 'Message' => '<string>', 'Name' => '<string>', ], // ... ], 'Message' => '<string>', 'Reason' => 'UNKNOWN_OPERATION|CANNOT_PARSE|FIELD_VALIDATION_FAILED|OTHER|INVALID_PARAMETER|INVALID_ARN|INVALID_IDENTITY_FOR_DESTINATION_COUNTRY|DESTINATION_COUNTRY_BLOCKED|CANNOT_ADD_OPTED_OUT_NUMBER|COUNTRY_CODE_MISMATCH|INVALID_FILTER_VALUES|INVALID_NEXT_TOKEN|MISSING_PARAMETER|PARAMETERS_CANNOT_BE_USED_TOGETHER|PHONE_NUMBER_CANNOT_BE_OPTED_IN|PHONE_NUMBER_CANNOT_BE_RELEASED|PRICE_OVER_THRESHOLD|REQUESTED_SPEND_LIMIT_HIGHER_THAN_SERVICE_LIMIT|SENDER_ID_NOT_REGISTERED|SENDER_ID_NOT_SUPPORTED|TWO_WAY_NOT_ENABLED|TWO_WAY_NOT_SUPPORTED_IN_COUNTRY|TWO_WAY_NOT_SUPPORTED_IN_REGION|TWO_WAY_TOPIC_NOT_PRESENT', ]
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.