NAME

Paws::SQS::Message

USAGE

This class represents one of two things:

Arguments in a call to a service

Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.

As an example, if Att1 is expected to be a Paws::SQS::Message object:

$service_obj->Method(Att1 => { Attributes => $value, ..., ReceiptHandle => $value  });

Results returned from an API call

Use accessors for each attribute. If Att1 is expected to be an Paws::SQS::Message object:

$result = $service_obj->Method(...);
$result->Att1->Attributes

DESCRIPTION

An Amazon SQS message.

ATTRIBUTES

Attributes => Paws::SQS::MessageSystemAttributeMap

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 (http://en.wikipedia.org/wiki/Unix_time) in milliseconds.

Body => Str

The message's contents (not URL-encoded).

MD5OfBody => Str

An MD5 digest of the non-URL-encoded message body string.

MD5OfMessageAttributes => Str

An MD5 digest of the non-URL-encoded message attribute string. You can use this attribute to verify that Amazon SQS received the message correctly. Amazon SQS URL-decodes the message before creating the MD5 digest. For information about MD5, see RFC1321 (https://www.ietf.org/rfc/rfc1321.txt).

MessageAttributes => Paws::SQS::MessageBodyAttributeMap

Each message attribute consists of a Name, Type, and Value. For more information, see Amazon SQS message attributes (https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-message-metadata.html#sqs-message-attributes) in the Amazon SQS Developer Guide.

MessageId => Str

A unique identifier for the message. A MessageIdis considered unique across all accounts for an extended period of time.

ReceiptHandle => Str

An identifier associated with the act of receiving the message. A new receipt handle is returned every time you receive a message. When deleting a message, you provide the last received receipt handle to delete the message.

SEE ALSO

This class forms part of Paws, describing an object used in Paws::SQS

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues