lib/aws-sdk-sqs/message.rb in aws-sdk-sqs-1.6.0 vs lib/aws-sdk-sqs/message.rb in aws-sdk-sqs-1.7.0
- old
+ new
@@ -55,17 +55,33 @@
# @return [String]
def body
data[:body]
end
- # `SenderId`, `SentTimestamp`, `ApproximateReceiveCount`, and/or
- # `ApproximateFirstReceiveTimestamp`. `SentTimestamp` and
- # `ApproximateFirstReceiveTimestamp` are each returned as an integer
- # representing the [epoch time][1] in milliseconds.
+ # A map of the attributes requested in ` ReceiveMessage ` to their
+ # respective values. Supported attributes:
#
+ # * `ApproximateReceiveCount`
#
+ # * `ApproximateFirstReceiveTimestamp`
#
+ # * `MessageDeduplicationId`
+ #
+ # * `MessageGroupId`
+ #
+ # * `SenderId`
+ #
+ # * `SentTimestamp`
+ #
+ # * `SequenceNumber`
+ #
+ # `ApproximateFirstReceiveTimestamp` and `SentTimestamp` are each
+ # returned as an integer representing the [epoch time][1] in
+ # milliseconds.
+ #
+ #
+ #
# [1]: http://en.wikipedia.org/wiki/Unix_time
# @return [Hash<String,String>]
def attributes
data[:attributes]
end
@@ -82,15 +98,15 @@
def md5_of_message_attributes
data[:md5_of_message_attributes]
end
# Each message attribute consists of a `Name`, `Type`, and `Value`. For
- # more information, see [Message Attribute Items and Validation][1] in
- # the *Amazon Simple Queue Service Developer Guide*.
+ # more information, see [Amazon SQS Message Attributes][1] in the
+ # *Amazon Simple Queue Service Developer Guide*.
#
#
#
- # [1]: http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-message-attributes.html#message-attributes-items-validation
+ # [1]: http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-message-attributes.html
# @return [Hash<String,Types::MessageAttributeValue>]
def message_attributes
data[:message_attributes]
end