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
BatchEntryIdsNotDistinctException
[ 'message' => '<string>', ]
BatchRequestTooLongException
[ 'message' => '<string>', ]
Description
The length of all the batch messages put together is more than the limit.
Members
ConcurrentAccessException
[ 'message' => '<string>', ]
Description
Can't perform multiple operations on a tag simultaneously. Perform the operations sequentially.
Members
EmptyBatchRequestException
[ 'message' => '<string>', ]
EndpointDisabledException
[ 'message' => '<string>', ]
Description
Exception error indicating endpoint disabled.
Members
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
InternalErrorException
[ 'message' => '<string>', ]
InvalidBatchEntryIdException
[ 'message' => '<string>', ]
Description
The Id
of a batch entry in a batch request doesn't abide by the specification.
Members
InvalidParameterException
[ 'message' => '<string>', ]
Description
Indicates that a request parameter does not comply with the associated constraints.
Members
InvalidParameterValueException
[ 'message' => '<string>', ]
Description
Indicates that a request parameter does not comply with the associated constraints.
Members
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
KMSAccessDeniedException
[ 'message' => '<string>', ]
Description
The ciphertext references a key that doesn't exist or that you don't have access to.
Members
KMSDisabledException
[ 'message' => '<string>', ]
Description
The request was rejected because the specified customer master key (CMK) isn't enabled.
Members
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
KMSNotFoundException
[ 'message' => '<string>', ]
Description
The request was rejected because the specified entity or resource can't be found.
Members
KMSOptInRequired
[ 'message' => '<string>', ]
Description
The Amazon Web Services access key ID needs a subscription for the service.
Members
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
NotFoundException
[ 'message' => '<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
PlatformApplicationDisabledException
[ 'message' => '<string>', ]
Description
Exception error indicating platform application disabled.
Members
ResourceNotFoundException
[ 'message' => '<string>', ]
Description
Can’t perform the action on the specified resource. Make sure that the resource exists.
Members
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
SubscriptionLimitExceededException
[ 'message' => '<string>', ]
Description
Indicates that the customer already owns the maximum allowed number of subscriptions.
Members
TagLimitExceededException
[ 'message' => '<string>', ]
TagPolicyException
[ 'message' => '<string>', ]
Description
The request doesn't comply with the IAM tag policy. Correct your request and then retry it.
Members
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
TooManyEntriesInBatchRequestException
[ 'message' => '<string>', ]
TopicLimitExceededException
[ 'message' => '<string>', ]
Description
Indicates that the customer already owns the maximum allowed number of topics.
Members
UserErrorException
[ 'message' => '<string>', ]
Description
Indicates that a request parameter does not comply with the associated constraints.
Members
ValidationException
[ 'Message' => '<string>', ]
Description
Indicates that a parameter in the request is invalid.
Members
VerificationException
[ 'Message' => '<string>', 'Status' => '<string>', ]