Gets one or all attributes of a queue.
Declaration Syntax
Return Value
Get Queue Attributes Response from the service
Remarks
Gets one or all attributes of a queue. The following table lists the valid values for attributes to be returned.
- All
- All values.
- ApproximateNumberOfMessages
- The approximate number of visible messages in a queue.
- ApproximateNumberOfMessagesNotVisible
- The approximate number of messages that are not timed-out and not deleted.
- VisibilityTimeout
- The visibility timeout for the queue.
- CreatedTimestamp
- The time when the queue was created (epoch time in seconds).
- LastModifiedTimestamp
- The time when the queue was last changed (epoch time in seconds).
- Policy
- The queue's policy.
- MaximumMessageSize
- The limit of how many bytes a message can contain before Amazon SQS rejects it.
- MessageRetentionPeriod
- The number of seconds Amazon SQS retains a message.
- QueueArn
- The queue's Amazon resource name (ARN).
- DelaySeconds
- The default delay for messages to be delivered.
- ApproximateNumberOfMessagesDelayed
- The approximate number of messages that are delayed from delivery.
Assembly:
AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)