Class SqsException
- Exception
- RuntimeException
- Aws\Exception\AwsException implements Aws\MonitoringEventsInterface, Aws\ResponseContainerInterface, ArrayAccess uses Aws\HasDataTrait, Aws\HasMonitoringEventsTrait
- Aws\Sqs\Exception\SqsException
- Namespace: Aws\Sqs\Exception
- Located at Sqs/Exception/SqsException.php
Represents an error interacting with the Amazon Simple Queue 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
BatchEntryIdsNotDistinct
[ 'message' => '<string>', ]
Description
Two or more batch entries in the request have the same Id
.
Members
- message
-
- Type: string
BatchRequestTooLong
[ 'message' => '<string>', ]
Description
The length of all the messages put together is more than the limit.
Members
- message
-
- Type: string
EmptyBatchRequest
[ 'message' => '<string>', ]
Description
The batch request doesn't contain any entries.
Members
- message
-
- Type: string
InvalidAddress
[ 'message' => '<string>', ]
Description
The accountId
is invalid.
Members
- message
-
- Type: string
InvalidAttributeName
[ 'message' => '<string>', ]
Description
The specified attribute doesn't exist.
Members
- message
-
- Type: string
InvalidAttributeValue
[ 'message' => '<string>', ]
Description
A queue attribute value is invalid.
Members
- message
-
- Type: string
InvalidBatchEntryId
[ 'message' => '<string>', ]
Description
The Id
of a batch entry in a batch request doesn't abide by the specification.
Members
- message
-
- Type: string
InvalidIdFormat
[ ]
Description
The specified receipt handle isn't valid for the current version.
Members
InvalidMessageContents
[ 'message' => '<string>', ]
Description
The message contains characters outside the allowed set.
Members
- message
-
- Type: string
InvalidSecurity
[ 'message' => '<string>', ]
Description
When the request to a queue is not HTTPS and SigV4.
Members
- message
-
- Type: string
KmsAccessDenied
[ 'message' => '<string>', ]
Description
The caller doesn't have the required KMS access.
Members
- message
-
- Type: string
KmsDisabled
[ 'message' => '<string>', ]
Description
The request was denied due to request throttling.
Members
- message
-
- Type: string
KmsInvalidKeyUsage
[ 'message' => '<string>', ]
Description
The request was rejected for one of the following reasons:
-
The KeyUsage value of the KMS key is incompatible with the API operation.
-
The encryption algorithm or signing algorithm specified for the operation is incompatible with the type of key material in the KMS key (KeySpec).
Members
- message
-
- Type: string
KmsInvalidState
[ 'message' => '<string>', ]
Description
The request was rejected because the state of the specified resource is not valid for this request.
Members
- message
-
- Type: string
KmsNotFound
[ 'message' => '<string>', ]
Description
The request was rejected because the specified entity or resource could not be found.
Members
- message
-
- Type: string
KmsOptInRequired
[ 'message' => '<string>', ]
Description
The request was rejected because the specified key policy isn't syntactically or semantically correct.
Members
- message
-
- Type: string
KmsThrottled
[ 'message' => '<string>', ]
Description
Amazon Web Services KMS throttles requests for the following conditions.
Members
- message
-
- Type: string
MessageNotInflight
[ ]
Description
The specified message isn't in flight.
Members
OverLimit
[ 'message' => '<string>', ]
Description
The specified action violates a limit. For example, ReceiveMessage
returns this error if the maximum number of in flight messages is reached and AddPermission
returns this error if the maximum number of permissions for the queue is reached.
Members
- message
-
- Type: string
PurgeQueueInProgress
[ 'message' => '<string>', ]
Description
Indicates that the specified queue previously received a PurgeQueue
request within the last 60 seconds (the time it can take to delete the messages in the queue).
Members
- message
-
- Type: string
QueueDeletedRecently
[ 'message' => '<string>', ]
Description
You must wait 60 seconds after deleting a queue before you can create another queue with the same name.
Members
- message
-
- Type: string
QueueDoesNotExist
[ 'message' => '<string>', ]
Description
The specified queue doesn't exist.
Members
- message
-
- Type: string
QueueNameExists
[ 'message' => '<string>', ]
Description
A queue with this name already exists. Amazon SQS returns this error only if the request includes attributes whose values differ from those of the existing queue.
Members
- message
-
- Type: string
ReceiptHandleIsInvalid
[ 'message' => '<string>', ]
Description
The specified receipt handle isn't valid.
Members
- message
-
- Type: string
RequestThrottled
[ 'message' => '<string>', ]
Description
The request was denied due to request throttling.
-
The rate of requests per second exceeds the Amazon Web Services KMS request quota for an account and Region.
-
A burst or sustained high rate of requests to change the state of the same KMS key. This condition is often known as a "hot key."
-
Requests for operations on KMS keys in a Amazon Web Services CloudHSM key store might be throttled at a lower-than-expected rate when the Amazon Web Services CloudHSM cluster associated with the Amazon Web Services CloudHSM key store is processing numerous commands, including those unrelated to the Amazon Web Services CloudHSM key store.
Members
- message
-
- Type: string
ResourceNotFoundException
[ 'message' => '<string>', ]
Description
One or more specified resources don't exist.
Members
- message
-
- Type: string
TooManyEntriesInBatchRequest
[ 'message' => '<string>', ]
Description
The batch request contains more entries than permissible.
Members
- message
-
- Type: string
UnsupportedOperation
[ 'message' => '<string>', ]
Description
Error code 400. Unsupported operation.
Members
- message
-
- Type: string