/******************************************************************************* * Copyright 2008-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved. * Licensed under the Apache License, Version 2.0 (the "License"). You may not use * this file except in compliance with the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express * or implied. See the License for the specific language governing permissions and * limitations under the License. * ***************************************************************************** * __ _ _ ___ * ( )( \/\/ )/ __) * /__\ \ / \__ \ * (_)(_) \/\/ (___/ * * AWS SDK for .NET * API Version: 2012-09-15 */ namespace Amazon.SQS.Util { /// /// Common constants for SQS /// public static class SQSConstants { /// /// Used in GetQueueAttributes to return all values. /// public const string ATTRIBUTE_ALL = "All"; /// /// 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. /// public const string ATTRIBUTE_VISIBILITY_TIMEOUT = "VisibilityTimeout"; /// /// The approximate number of visible messages in a queue /// public const string ATTRIBUTE_APPROXIMATE_NUMBER_OF_MESSAGES = "ApproximateNumberOfMessages"; /// /// The approximate number of messages that are not timed-out and not deleted. /// public const string ATTRIBUTE_APPROXIMATE_NUMBER_OF_MESSAGES_NOT_VISIBLE = "ApproximateNumberOfMessagesNotVisible"; /// /// The approximate number of messages that are delayed from delivery. /// public const string ATTRIBUTE_APPROXIMATE_NUMBER_OF_MESSAGES_DELAYED = "ApproximateNumberOfMessagesDelayed"; /// /// The time when the queue was created (epoch time in seconds). /// public const string ATTRIBUTE_CREATED_TIMESTAMP = "CreatedTimestamp"; /// /// The time when the queue was last changed (epoch time in seconds). /// public const string ATTRIBUTE_LAST_MODIFIED_TIMESTAMP = "LastModifiedTimestamp"; /// /// The queue's Amazon resource name (ARN). /// public const string ATTRIBUTE_QUEUE_ARN = "QueueArn"; /// /// The limit of how many bytes a message can contain before Amazon SQS rejects it. /// public const string ATTRIBUTE_MAXIMUM_MESSAGE_SIZE = "MaximumMessageSize"; /// /// The number of seconds Amazon SQS retains a message. /// public const string ATTRIBUTE_MESSAGE_RETENTION_PERIOD = "MessageRetentionPeriod"; /// /// The queue's policy. /// public const string ATTRIBUTE_POLICY = "Policy"; /// /// The number of seconds to delay a message from being available to be processed. /// public const string ATTRIBUTE_DELAY_SECONDS = "DelaySeconds"; /// /// The number of milliseconds the oldest message has been on the queue. /// public const string ATTRIBUTE_OLDEST_MESSAGE_AGE = "OldestMessageAge"; /// /// 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. /// public const string ATTRIBUTE_RECEIEVE_MESSAGE_WAIT_TIME_SECONDS = "ReceiveMessageWaitTimeSeconds"; /// /// 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. /// public const string ATTRIBUTE_REDRIVE_POLICY = "RedrivePolicy"; /// /// 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. /// public const string ATTRIBUTE_CONTENT_BASED_DEDUPLICATION = "ContentBasedDeduplication"; /// /// 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. /// public const string ATTRIBUTE_FIFO_QUEUE = "FifoQueue"; } }