attributeNames
A list of attributes that need to be returned along with each message. These attributes include:
All
– Returns all values.ApproximateFirstReceiveTimestamp
– Returns the time the message was first received from the queue (epoch time in milliseconds).ApproximateReceiveCount
– Returns the number of times a message has been received across all queues but not deleted.AWSTraceHeader
– Returns the X-Ray trace header string.SenderId
For a user, returns the user ID, for example
ABCDEFGHI1JKLMNOPQ23R
.For an IAM role, returns the IAM role ID, for example
ABCDE1F2GH3I4JK5LMNOP:i-a123b456
.SentTimestamp
– Returns the time the message was sent to the queue (epoch time in milliseconds).SqsManagedSseEnabled
– Enables server-side queue encryption using SQS owned encryption keys. Only one server-side encryption option is supported per queue (for example, SSE-KMS or SSE-SQS).MessageDeduplicationId
– Returns the value provided by the producer that calls the<a>SendMessage</a>
action.MessageGroupId
– Returns the value provided by the producer that calls the<a>SendMessage</a>
action. Messages with the sameMessageGroupId
are returned in sequence.SequenceNumber
– Returns the value provided by Amazon SQS.