AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Common constants for SQS

Inheritance Hierarchy

System.Object
  Amazon.SQS.Util.SQSConstants

Namespace: Amazon.SQS.Util
Assembly: AWSSDK.SQS.dll
Version: 3.x.y.z

Syntax

C#
public static class SQSConstants

The SQSConstants type exposes the following members

Fields

NameTypeDescription
Field Static Field ATTRIBUTE_ALL System.String

Used in GetQueueAttributes to return all values.

Field Static Field ATTRIBUTE_APPROXIMATE_NUMBER_OF_MESSAGES System.String

The approximate number of visible messages in a queue

Field Static Field ATTRIBUTE_APPROXIMATE_NUMBER_OF_MESSAGES_DELAYED System.String

The approximate number of messages that are delayed from delivery.

Field Static Field ATTRIBUTE_APPROXIMATE_NUMBER_OF_MESSAGES_NOT_VISIBLE System.String

The approximate number of messages that are not timed-out and not deleted.

Field Static Field ATTRIBUTE_CONTENT_BASED_DEDUPLICATION System.String

Enables content-based deduplication on a First-In-First-Out (FIFO) queue. For more information see Exactly-Once Processing in the Amazon SQS Developer Guide.

Field Static Field ATTRIBUTE_CREATED_TIMESTAMP System.String

The time when the queue was created (epoch time in seconds).

Field Static Field ATTRIBUTE_DELAY_SECONDS System.String

The number of seconds to delay a message from being available to be processed.

Field Static Field ATTRIBUTE_FIFO_QUEUE System.String

Designates a queue as a First-In-First-Out (FIFO) queue. You can provide this attribute only during queue creation. You can't change it for an existing queue. When you set this attribute, you must also provide the MessageGroupId for your messages explicitly.

Field Static Field ATTRIBUTE_LAST_MODIFIED_TIMESTAMP System.String

The time when the queue was last changed (epoch time in seconds).

Field Static Field ATTRIBUTE_MAXIMUM_MESSAGE_SIZE System.String

The limit of how many bytes a message can contain before Amazon SQS rejects it.

Field Static Field ATTRIBUTE_MESSAGE_RETENTION_PERIOD System.String

The number of seconds Amazon SQS retains a message.

Field Static Field ATTRIBUTE_OLDEST_MESSAGE_AGE System.String

The number of milliseconds the oldest message has been on the queue.

Field Static Field ATTRIBUTE_POLICY System.String

The queue's policy.

Field Static Field ATTRIBUTE_QUEUE_ARN System.String

The queue's Amazon resource name (ARN).

Field Static Field ATTRIBUTE_RECEIEVE_MESSAGE_WAIT_TIME_SECONDS System.String

The time for which a ReceiveMessage call will wait for a message to arrive. An integer from 0 to 20 (seconds). The default for this attribute is 0.

Field Static Field ATTRIBUTE_REDRIVE_POLICY System.String

The parameters for dead letter queue functionality of the source queue. For more information about RedrivePolicy and dead letter queues, see Using Amazon SQS Dead Letter Queues in the Amazon SQS Developer Guide.

Field Static Field ATTRIBUTE_VISIBILITY_TIMEOUT System.String

The length of time (in seconds) that a message received from a queue will be invisible to other receiving components when they ask to receive messages.

Version Information

.NET Standard:
Supported in: 1.3

.NET Framework:
Supported in: 4.5, 4.0, 3.5

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms

Unity:
Supported Versions: 4.6 and above
Supported Platforms: Android, iOS, Standalone