SQS#
Client#
- class SQS.Client#
A low-level client representing Amazon Simple Queue Service (SQS)
Welcome to the Amazon SQS API Reference.
Amazon SQS is a reliable, highly-scalable hosted queue for storing messages as they travel between applications or microservices. Amazon SQS moves data between distributed application components and helps you decouple these components.
For information on the permissions you need to use this API, see Identity and access management in the Amazon SQS Developer Guide.
You can use Amazon Web Services SDKs to access Amazon SQS using your favorite programming language. The SDKs perform tasks such as the following automatically:
Cryptographically sign your service requests
Retry requests
Handle error responses
Additional information
Amazon SQS Developer Guide
Amazon Web Services General Reference
import boto3 client = boto3.client('sqs')
These are the available methods:
- add_permission
- can_paginate
- cancel_message_move_task
- change_message_visibility
- change_message_visibility_batch
- close
- create_queue
- delete_message
- delete_message_batch
- delete_queue
- get_paginator
- get_queue_attributes
- get_queue_url
- get_waiter
- list_dead_letter_source_queues
- list_message_move_tasks
- list_queue_tags
- list_queues
- purge_queue
- receive_message
- remove_permission
- send_message
- send_message_batch
- set_queue_attributes
- start_message_move_task
- tag_queue
- untag_queue
Client Exceptions#
Client exceptions are available on a client instance via the exceptions
property. For more detailed instructions and examples on the exact usage of client exceptions, see the error handling user guide.
The available client exceptions are:
- BatchEntryIdsNotDistinct
- BatchRequestTooLong
- EmptyBatchRequest
- InvalidAddress
- InvalidAttributeName
- InvalidAttributeValue
- InvalidBatchEntryId
- InvalidIdFormat
- InvalidMessageContents
- InvalidSecurity
- KmsAccessDenied
- KmsDisabled
- KmsInvalidKeyUsage
- KmsInvalidState
- KmsNotFound
- KmsOptInRequired
- KmsThrottled
- MessageNotInflight
- OverLimit
- PurgeQueueInProgress
- QueueDeletedRecently
- QueueDoesNotExist
- QueueNameExists
- ReceiptHandleIsInvalid
- RequestThrottled
- ResourceNotFoundException
- TooManyEntriesInBatchRequest
- UnsupportedOperation
Paginators#
Paginators are available on a client instance via the get_paginator
method. For more detailed instructions and examples on the usage of paginators, see the paginators user guide.
The available paginators are:
Resources#
Resources are available in boto3 via the resource
method. For more detailed instructions and examples on the usage of resources, see the resources user guide.
The available resources are: