Uses of Class
software.amazon.awssdk.services.sqs.model.SqsException
Packages that use SqsException
Package
Description
Welcome to the Amazon SQS API Reference.
-
Uses of SqsException in software.amazon.awssdk.services.sqs
Methods in software.amazon.awssdk.services.sqs that throw SqsExceptionModifier and TypeMethodDescriptiondefault AddPermissionResponseSqsClient.addPermission(Consumer<AddPermissionRequest.Builder> addPermissionRequest) Adds a permission to a queue for a specific principal.default AddPermissionResponseSqsClient.addPermission(AddPermissionRequest addPermissionRequest) Adds a permission to a queue for a specific principal.default CancelMessageMoveTaskResponseSqsClient.cancelMessageMoveTask(Consumer<CancelMessageMoveTaskRequest.Builder> cancelMessageMoveTaskRequest) Cancels a specified message movement task.default CancelMessageMoveTaskResponseSqsClient.cancelMessageMoveTask(CancelMessageMoveTaskRequest cancelMessageMoveTaskRequest) Cancels a specified message movement task.default ChangeMessageVisibilityResponseSqsClient.changeMessageVisibility(Consumer<ChangeMessageVisibilityRequest.Builder> changeMessageVisibilityRequest) Changes the visibility timeout of a specified message in a queue to a new value.default ChangeMessageVisibilityResponseSqsClient.changeMessageVisibility(ChangeMessageVisibilityRequest changeMessageVisibilityRequest) Changes the visibility timeout of a specified message in a queue to a new value.SqsClient.changeMessageVisibilityBatch(Consumer<ChangeMessageVisibilityBatchRequest.Builder> changeMessageVisibilityBatchRequest) Changes the visibility timeout of multiple messages.SqsClient.changeMessageVisibilityBatch(ChangeMessageVisibilityBatchRequest changeMessageVisibilityBatchRequest) Changes the visibility timeout of multiple messages.default CreateQueueResponseSqsClient.createQueue(Consumer<CreateQueueRequest.Builder> createQueueRequest) Creates a new standard or FIFO queue.default CreateQueueResponseSqsClient.createQueue(CreateQueueRequest createQueueRequest) Creates a new standard or FIFO queue.default DeleteMessageResponseSqsClient.deleteMessage(Consumer<DeleteMessageRequest.Builder> deleteMessageRequest) Deletes the specified message from the specified queue.default DeleteMessageResponseSqsClient.deleteMessage(DeleteMessageRequest deleteMessageRequest) Deletes the specified message from the specified queue.default DeleteMessageBatchResponseSqsClient.deleteMessageBatch(Consumer<DeleteMessageBatchRequest.Builder> deleteMessageBatchRequest) Deletes up to ten messages from the specified queue.default DeleteMessageBatchResponseSqsClient.deleteMessageBatch(DeleteMessageBatchRequest deleteMessageBatchRequest) Deletes up to ten messages from the specified queue.default DeleteQueueResponseSqsClient.deleteQueue(Consumer<DeleteQueueRequest.Builder> deleteQueueRequest) Deletes the queue specified by theQueueUrl, regardless of the queue's contents.default DeleteQueueResponseSqsClient.deleteQueue(DeleteQueueRequest deleteQueueRequest) Deletes the queue specified by theQueueUrl, regardless of the queue's contents.default GetQueueAttributesResponseSqsClient.getQueueAttributes(Consumer<GetQueueAttributesRequest.Builder> getQueueAttributesRequest) Gets attributes for the specified queue.default GetQueueAttributesResponseSqsClient.getQueueAttributes(GetQueueAttributesRequest getQueueAttributesRequest) Gets attributes for the specified queue.default GetQueueUrlResponseSqsClient.getQueueUrl(Consumer<GetQueueUrlRequest.Builder> getQueueUrlRequest) TheGetQueueUrlAPI returns the URL of an existing Amazon SQS queue.default GetQueueUrlResponseSqsClient.getQueueUrl(GetQueueUrlRequest getQueueUrlRequest) TheGetQueueUrlAPI returns the URL of an existing Amazon SQS queue.SqsClient.listDeadLetterSourceQueues(Consumer<ListDeadLetterSourceQueuesRequest.Builder> listDeadLetterSourceQueuesRequest) Returns a list of your queues that have theRedrivePolicyqueue attribute configured with a dead-letter queue.SqsClient.listDeadLetterSourceQueues(ListDeadLetterSourceQueuesRequest listDeadLetterSourceQueuesRequest) Returns a list of your queues that have theRedrivePolicyqueue attribute configured with a dead-letter queue.SqsClient.listDeadLetterSourceQueuesPaginator(Consumer<ListDeadLetterSourceQueuesRequest.Builder> listDeadLetterSourceQueuesRequest) This is a variant ofSqsClient.listDeadLetterSourceQueues(software.amazon.awssdk.services.sqs.model.ListDeadLetterSourceQueuesRequest)operation.SqsClient.listDeadLetterSourceQueuesPaginator(ListDeadLetterSourceQueuesRequest listDeadLetterSourceQueuesRequest) This is a variant ofSqsClient.listDeadLetterSourceQueues(software.amazon.awssdk.services.sqs.model.ListDeadLetterSourceQueuesRequest)operation.default ListMessageMoveTasksResponseSqsClient.listMessageMoveTasks(Consumer<ListMessageMoveTasksRequest.Builder> listMessageMoveTasksRequest) Gets the most recent message movement tasks (up to 10) under a specific source queue.default ListMessageMoveTasksResponseSqsClient.listMessageMoveTasks(ListMessageMoveTasksRequest listMessageMoveTasksRequest) Gets the most recent message movement tasks (up to 10) under a specific source queue.default ListQueuesResponseSqsClient.listQueues()Returns a list of your queues in the current region.default ListQueuesResponseSqsClient.listQueues(Consumer<ListQueuesRequest.Builder> listQueuesRequest) Returns a list of your queues in the current region.default ListQueuesResponseSqsClient.listQueues(ListQueuesRequest listQueuesRequest) Returns a list of your queues in the current region.default ListQueuesIterableSqsClient.listQueuesPaginator()This is a variant ofSqsClient.listQueues(software.amazon.awssdk.services.sqs.model.ListQueuesRequest)operation.default ListQueuesIterableSqsClient.listQueuesPaginator(Consumer<ListQueuesRequest.Builder> listQueuesRequest) This is a variant ofSqsClient.listQueues(software.amazon.awssdk.services.sqs.model.ListQueuesRequest)operation.default ListQueuesIterableSqsClient.listQueuesPaginator(ListQueuesRequest listQueuesRequest) This is a variant ofSqsClient.listQueues(software.amazon.awssdk.services.sqs.model.ListQueuesRequest)operation.default ListQueueTagsResponseSqsClient.listQueueTags(Consumer<ListQueueTagsRequest.Builder> listQueueTagsRequest) List all cost allocation tags added to the specified Amazon SQS queue.default ListQueueTagsResponseSqsClient.listQueueTags(ListQueueTagsRequest listQueueTagsRequest) List all cost allocation tags added to the specified Amazon SQS queue.default PurgeQueueResponseSqsClient.purgeQueue(Consumer<PurgeQueueRequest.Builder> purgeQueueRequest) Deletes available messages in a queue (including in-flight messages) specified by theQueueURLparameter.default PurgeQueueResponseSqsClient.purgeQueue(PurgeQueueRequest purgeQueueRequest) Deletes available messages in a queue (including in-flight messages) specified by theQueueURLparameter.default ReceiveMessageResponseSqsClient.receiveMessage(Consumer<ReceiveMessageRequest.Builder> receiveMessageRequest) Retrieves one or more messages (up to 10), from the specified queue.default ReceiveMessageResponseSqsClient.receiveMessage(ReceiveMessageRequest receiveMessageRequest) Retrieves one or more messages (up to 10), from the specified queue.default RemovePermissionResponseSqsClient.removePermission(Consumer<RemovePermissionRequest.Builder> removePermissionRequest) Revokes any permissions in the queue policy that matches the specifiedLabelparameter.default RemovePermissionResponseSqsClient.removePermission(RemovePermissionRequest removePermissionRequest) Revokes any permissions in the queue policy that matches the specifiedLabelparameter.default SendMessageResponseSqsClient.sendMessage(Consumer<SendMessageRequest.Builder> sendMessageRequest) Delivers a message to the specified queue.default SendMessageResponseSqsClient.sendMessage(SendMessageRequest sendMessageRequest) Delivers a message to the specified queue.default SendMessageBatchResponseSqsClient.sendMessageBatch(Consumer<SendMessageBatchRequest.Builder> sendMessageBatchRequest) You can useSendMessageBatchto send up to 10 messages to the specified queue by assigning either identical or different values to each message (or by not assigning values at all).default SendMessageBatchResponseSqsClient.sendMessageBatch(SendMessageBatchRequest sendMessageBatchRequest) You can useSendMessageBatchto send up to 10 messages to the specified queue by assigning either identical or different values to each message (or by not assigning values at all).default SetQueueAttributesResponseSqsClient.setQueueAttributes(Consumer<SetQueueAttributesRequest.Builder> setQueueAttributesRequest) Sets the value of one or more queue attributes, like a policy.default SetQueueAttributesResponseSqsClient.setQueueAttributes(SetQueueAttributesRequest setQueueAttributesRequest) Sets the value of one or more queue attributes, like a policy.default StartMessageMoveTaskResponseSqsClient.startMessageMoveTask(Consumer<StartMessageMoveTaskRequest.Builder> startMessageMoveTaskRequest) Starts an asynchronous task to move messages from a specified source queue to a specified destination queue.default StartMessageMoveTaskResponseSqsClient.startMessageMoveTask(StartMessageMoveTaskRequest startMessageMoveTaskRequest) Starts an asynchronous task to move messages from a specified source queue to a specified destination queue.default TagQueueResponseSqsClient.tagQueue(Consumer<TagQueueRequest.Builder> tagQueueRequest) Add cost allocation tags to the specified Amazon SQS queue.default TagQueueResponseSqsClient.tagQueue(TagQueueRequest tagQueueRequest) Add cost allocation tags to the specified Amazon SQS queue.default UntagQueueResponseSqsClient.untagQueue(Consumer<UntagQueueRequest.Builder> untagQueueRequest) Remove cost allocation tags from the specified Amazon SQS queue.default UntagQueueResponseSqsClient.untagQueue(UntagQueueRequest untagQueueRequest) Remove cost allocation tags from the specified Amazon SQS queue. -
Uses of SqsException in software.amazon.awssdk.services.sqs.model
Subclasses of SqsException in software.amazon.awssdk.services.sqs.modelModifier and TypeClassDescriptionfinal classTwo or more batch entries in the request have the sameId.final classThe length of all the messages put together is more than the limit.final classThe batch request doesn't contain any entries.final classThe specified ID is invalid.final classThe specified attribute doesn't exist.final classA queue attribute value is invalid.final classTheIdof a batch entry in a batch request doesn't abide by the specification.final classThe specified receipt handle isn't valid for the current version.final classThe message contains characters outside the allowed set.final classThe request was not made over HTTPS or did not use SigV4 for signing.final classThe caller doesn't have the required KMS access.final classThe request was denied due to request throttling.final classThe request was rejected for one of the following reasons:final classThe request was rejected because the state of the specified resource is not valid for this request.final classThe request was rejected because the specified entity or resource could not be found.final classThe request was rejected because the specified key policy isn't syntactically or semantically correct.final classAmazon Web Services KMS throttles requests for the following conditions.final classThe specified message isn't in flight.final classThe specified action violates a limit.final classIndicates that the specified queue previously received aPurgeQueuerequest within the last 60 seconds (the time it can take to delete the messages in the queue).final classYou must wait 60 seconds after deleting a queue before you can create another queue with the same name.final classEnsure that theQueueUrlis correct and that the queue has not been deleted.final classA queue with this name already exists.final classThe specified receipt handle isn't valid.final classThe request was denied due to request throttling.final classOne or more specified resources don't exist.final classThe batch request contains more entries than permissible.final classError code 400.Methods in software.amazon.awssdk.services.sqs.model that return SqsExceptionConstructors in software.amazon.awssdk.services.sqs.model with parameters of type SqsException