Class SnsException
- Exception
-
RuntimeException
-
Aws\Exception\AwsException implements Aws\MonitoringEventsInterface, Aws\ResponseContainerInterface, ArrayAccess uses Aws\HasDataTrait, Aws\HasMonitoringEventsTrait
-
Aws\Sns\Exception\SnsException
- Namespace: Aws\Sns\Exception
- Located at Sns/Exception/SnsException.php
Represents an error interacting with the Amazon Simple Notification 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
AuthorizationErrorException
[ 'message' => '<string>', ]
Description
Indicates that the user has been denied access to the requested resource.
Members
- message
-
- Type: string
BatchEntryIdsNotDistinctException
[ 'message' => '<string>', ]
Description
Two or more batch entries in the request have the same Id
.
Members
- message
-
- Type: string
BatchRequestTooLongException
[ 'message' => '<string>', ]
Description
The length of all the batch messages put together is more than the limit.
Members
- message
-
- Type: string
ConcurrentAccessException
[ 'message' => '<string>', ]
Description
Can't perform multiple operations on a tag simultaneously. Perform the operations sequentially.
Members
- message
-
- Type: string
EmptyBatchRequestException
[ 'message' => '<string>', ]
Description
The batch request doesn't contain any entries.
Members
- message
-
- Type: string
EndpointDisabledException
[ 'message' => '<string>', ]
Description
Exception error indicating endpoint disabled.
Members
- message
-
- Type: string
Message for endpoint disabled.
FilterPolicyLimitExceededException
[ 'message' => '<string>', ]
Description
Indicates that the number of filter polices in your Amazon Web Services account exceeds the limit. To add more filter polices, submit an Amazon SNS Limit Increase case in the Amazon Web Services Support Center.
Members
- message
-
- Type: string
InternalErrorException
[ 'message' => '<string>', ]
Description
Indicates an internal service error.
Members
- message
-
- Type: string
InvalidBatchEntryIdException
[ 'message' => '<string>', ]
Description
The Id
of a batch entry in a batch request doesn't abide by the specification.
Members
- message
-
- Type: string
InvalidParameterException
[ 'message' => '<string>', ]
Description
Indicates that a request parameter does not comply with the associated constraints.
Members
- message
-
- Type: string
InvalidParameterValueException
[ 'message' => '<string>', ]
Description
Indicates that a request parameter does not comply with the associated constraints.
Members
- message
-
- Type: string
The parameter of an entry in a request doesn't abide by the specification.
InvalidSecurityException
[ 'message' => '<string>', ]
Description
The credential signature isn't valid. You must use an HTTPS endpoint and sign your request using Signature Version 4.
Members
- message
-
- Type: string
KMSAccessDeniedException
[ 'message' => '<string>', ]
Description
The ciphertext references a key that doesn't exist or that you don't have access to.
Members
- message
-
- Type: string
KMSDisabledException
[ 'message' => '<string>', ]
Description
The request was rejected because the specified customer master key (CMK) isn't enabled.
Members
- message
-
- Type: string
KMSInvalidStateException
[ 'message' => '<string>', ]
Description
The request was rejected because the state of the specified resource isn't valid for this request. For more information, see How Key State Affects Use of a Customer Master Key in the Key Management Service Developer Guide.
Members
- message
-
- Type: string
KMSNotFoundException
[ 'message' => '<string>', ]
Description
The request was rejected because the specified entity or resource can't be found.
Members
- message
-
- Type: string
KMSOptInRequired
[ 'message' => '<string>', ]
Description
The Amazon Web Services access key ID needs a subscription for the service.
Members
- message
-
- Type: string
KMSThrottlingException
[ 'message' => '<string>', ]
Description
The request was denied due to request throttling. For more information about throttling, see Limits in the Key Management Service Developer Guide.
Members
- message
-
- Type: string
NotFoundException
[ 'message' => '<string>', ]
Description
Indicates that the requested resource does not exist.
Members
- message
-
- Type: string
OptedOutException
[ 'message' => '<string>', ]
Description
Indicates that the specified phone number opted out of receiving SMS messages from your Amazon Web Services account. You can't send SMS messages to phone numbers that opt out.
Members
- message
-
- Type: string
PlatformApplicationDisabledException
[ 'message' => '<string>', ]
Description
Exception error indicating platform application disabled.
Members
- message
-
- Type: string
Message for platform application disabled.
ResourceNotFoundException
[ 'message' => '<string>', ]
Description
Can’t perform the action on the specified resource. Make sure that the resource exists.
Members
- message
-
- Type: string
StaleTagException
[ 'message' => '<string>', ]
Description
A tag has been added to a resource with the same ARN as a deleted resource. Wait a short while and then retry the operation.
Members
- message
-
- Type: string
SubscriptionLimitExceededException
[ 'message' => '<string>', ]
Description
Indicates that the customer already owns the maximum allowed number of subscriptions.
Members
- message
-
- Type: string
TagLimitExceededException
[ 'message' => '<string>', ]
Description
Can't add more than 50 tags to a topic.
Members
- message
-
- Type: string
TagPolicyException
[ 'message' => '<string>', ]
Description
The request doesn't comply with the IAM tag policy. Correct your request and then retry it.
Members
- message
-
- Type: string
ThrottledException
[ 'message' => '<string>', ]
Description
Indicates that the rate at which requests have been submitted for this action exceeds the limit for your Amazon Web Services account.
Members
- message
-
- Type: string
Throttled request.
TooManyEntriesInBatchRequestException
[ 'message' => '<string>', ]
Description
The batch request contains more entries than permissible.
Members
- message
-
- Type: string
TopicLimitExceededException
[ 'message' => '<string>', ]
Description
Indicates that the customer already owns the maximum allowed number of topics.
Members
- message
-
- Type: string
UserErrorException
[ 'message' => '<string>', ]
Description
Indicates that a request parameter does not comply with the associated constraints.
Members
- message
-
- Type: string
ValidationException
[ 'Message' => '<string>', ]
Description
Indicates that a parameter in the request is invalid.
Members
- Message
-
- Required: Yes
- Type: string
VerificationException
[ 'Message' => '<string>', 'Status' => '<string>', ]
Description
Indicates that the one-time password (OTP) used for verification is invalid.
Members
- Message
-
- Required: Yes
- Type: string
- Status
-
- Required: Yes
- Type: string
The status of the verification error.