AWS SDK for .NET Documentation
AmazonSQS Interface
AmazonAmazon.SQSAmazonSQS Did this page help you?   Yes   No    Tell us about it...
Amazon Simple Queue Service (Amazon SQS) offers a reliable, highly scalable hosted queue for storing messages as they travel between computers. By using Amazon SQS, developers can simply move data between distributed application components performing different tasks, without losing messages or requiring each component to be always available. Amazon SQS works by exposing Amazon's web-scale messaging infrastructure as a web service. Any computer on the Internet can add or read messages without any installed software or special firewall configurations. Components of applications using Amazon SQS can run independently, and do not need to be on the same network, developed with the same technologies, or running at the same time.
Declaration Syntax
public interface AmazonSQS : IDisposable
All MembersMethods

Adds the specified permission(s) to a queue for the specified principal(s).

Extends the read lock timeout of a single message in a queue.

Extends the read lock timeout of multiple messages in a queue.

Creates a new queue, or returns the URL of an existing one.

Unconditionally removes the specified message from the specified queue.

Removes multiple messages from the specified queue.


Deletes the queue specified by the queue URL, regardless of whether the queue is empty.

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable.)
Gets one or all attributes of a queue.

Returns the URL of an existing queue.

Given a queue, lists the queues that are configured to use that queue as a Dead Letter Queue.

Returns a list of your queues. The maximum number of queues that can be returned is 1000.


Retrieves one or more messages from the specified queue, including the message body and message ID of each message. Messages returned by this action stay in the queue until you delete them. However, once a message is returned to a ReceiveMessage request, it is not returned on subsequent ReceiveMessage requests for the duration of the VisibilityTimeout. If you do not specify a VisibilityTimeout in the request, the overall visibility timeout for the queue is used for the returned messages.

If a message is available in the queue, the call will return immediately. Otherwise, it will wait up to WaitTimeSeconds for a message to arrive. If you do not specify WaitTimeSeconds in the request, the queue attribute by the same name is used to determine how long to wait.

You could ask for additional information about each message through the attributes. Attributes that can be requested are [SenderId, ApproximateFirstReceiveTimestamp, ApproximateReceiveCount, SentTimestamp].

Removes the permission with the specified statement id from the queue.

Delivers a message to the specified queue.

Sends multiple messages to a queue.


Sets the value of one or more queue attributes. Currently, you can set only one attribute per request. Valid attributes that can be set are [VisibilityTimeout, Policy, MaximumMessageSize, MessageRetentionPeriod, WaitTimeSeconds].

Assembly: AWSSDK (Module: AWSSDK) Version: (