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
C<SenderId>, C<SentTimestamp>, C<ApproximateReceiveCount>, and/or
C<ApproximateFirstReceiveTimestamp>. C<SentTimestamp> and
C<ApproximateFirstReceiveTimestamp> are each returned as an integer
representing the epoch 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.
MessageAttributes => Paws::SQS::MessageBodyAttributeMap
Each message attribute consists of a C<Name>, C<Type>, and C<Value>.
For more information, see Message Attribute Items and Validation in the
I<Amazon SQS Developer Guide>.
MessageId => Str
A unique identifier for the message. A C<MessageId>is considered unique
across all AWS 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