Module aws_sdk_sqs::error
source · Expand description
All error types that operations can return. Documentation on these types is copied from the model.
Modules
OverLimit.Structs
AddPermission operation.Two or more batch entries in the request have the same Id.
The length of all the messages put together is more than the limit.
ChangeMessageVisibilityBatch operation.ChangeMessageVisibility operation.CreateQueue operation.DeleteMessageBatch operation.DeleteMessage operation.DeleteQueue operation.The batch request doesn't contain any entries.
GetQueueAttributes operation.GetQueueUrl operation.The specified attribute doesn't exist.
The Id of a batch entry in a batch request doesn't abide by the specification.
The specified receipt handle isn't valid for the current version.
The message contains characters outside the allowed set.
ListDeadLetterSourceQueues operation.ListQueueTags operation.ListQueues operation.The specified message isn't in flight.
The specified action violates a limit. For example, ReceiveMessage returns this error if the maximum number of inflight messages is reached and AddPermission returns this error if the maximum number of permissions for the queue is reached.
PurgeQueue operation.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).
You must wait 60 seconds after deleting a queue before you can create another queue with the same name.
The specified queue doesn't exist.
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.
The specified receipt handle isn't valid.
ReceiveMessage operation.RemovePermission operation.SendMessageBatch operation.SendMessage operation.SetQueueAttributes operation.TagQueue operation.The batch request contains more entries than permissible.
Error code 400. Unsupported operation.
UntagQueue operation.Enums
AddPermission operation.ChangeMessageVisibilityBatch operation.ChangeMessageVisibility operation.CreateQueue operation.DeleteMessageBatch operation.DeleteMessage operation.DeleteQueue operation.GetQueueAttributes operation.GetQueueUrl operation.ListDeadLetterSourceQueues operation.ListQueueTags operation.ListQueues operation.PurgeQueue operation.ReceiveMessage operation.RemovePermission operation.SendMessageBatch operation.SendMessage operation.SetQueueAttributes operation.TagQueue operation.UntagQueue operation.