ISQSGetQueueAttributesResponse
Interface in AWS.SQS
Interface for GetQueueAttributes responses.
Ancestors
Properties
Attributes
property Attributes: TDictionary<string, string>
A collection of queue attributes with their corresponding values.
The returned attributes depend on which attribute names were specified in the request. If no attribute names were specified, this collection will be empty. Attribute values are returned as strings and may need to be parsed based on their type:
- Numeric values (e.g.,
MaximumMessageSize,DelaySeconds) are string representations of integers - Boolean values (e.g.,
FifoQueue,ContentBasedDeduplication) are"true"or"false" - Timestamp values (e.g.,
CreatedTimestamp,LastModifiedTimestamp) are epoch time in seconds as strings - JSON values (e.g.,
Policy,RedrivePolicy) are JSON-formatted strings - ARN values (e.g.,
QueueArn) are Amazon Resource Name strings Approximate message count attributes (ApproximateNumberOfMessages,ApproximateNumberOfMessagesNotVisible,ApproximateNumberOfMessagesDelayed) may not reflect the most current state due to the distributed nature of Amazon SQS and eventual consistency requirements. Use the attribute names as keys to access specific values. If a requested attribute is not present in this collection, it indicates the attribute is not applicable to the queue type or the attribute name was invalid.