blib/lib/Paws/SQS/Message.pm

filter: Statementstmt 100% 11 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 1 / 1 Podpod n/a totaltotal 100% 12 / 12 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
CRAP 1.0
« blib/lib/Paws/SQS/ListQueuesResult.pm ↑ Summary blib/lib/Paws/SQS/MessageAttributeValue.pm »
1 # Generated by default/object.tt
2 package Paws::SQS::Message;
3 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 has Attributes => (is => 'ro', isa => 'Paws::SQS::MessageSystemAttributeMap', request_name => 'Attribute', traits => ['NameInRequest']);
5 1 has Body => (is => 'ro', isa => 'Str');
6 1 has MD5OfBody => (is => 'ro', isa => 'Str');
7 1 has MD5OfMessageAttributes => (is => 'ro', isa => 'Str');
8 1 has MessageAttributes => (is => 'ro', isa => 'Paws::SQS::MessageBodyAttributeMap', request_name => 'MessageAttribute', traits => ['NameInRequest']);
9 1 has MessageId => (is => 'ro', isa => 'Str');
10 1 has ReceiptHandle => (is => 'ro', isa => 'Str');
11  
12 1 1;
13  
14 ### main pod documentation begin ###
15  
16 =head1 NAME
17  
18 Paws::SQS::Message
19  
20 =head1 USAGE
21  
22 This class represents one of two things:
23  
24 =head3 Arguments in a call to a service
25  
26 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
27 Each attribute should be used as a named argument in the calls that expect this type of object.
28  
29 As an example, if Att1 is expected to be a Paws::SQS::Message object:
30  
31 $service_obj->Method(Att1 => { Attributes => $value, ..., ReceiptHandle => $value });
32  
33 =head3 Results returned from an API call
34  
35 Use accessors for each attribute. If Att1 is expected to be an Paws::SQS::Message object:
36  
37 $result = $service_obj->Method(...);
38 $result->Att1->Attributes
39  
40 =head1 DESCRIPTION
41  
42 An Amazon SQS message.
43  
44 =head1 ATTRIBUTES
45  
46  
47 =head2 Attributes => L<Paws::SQS::MessageSystemAttributeMap>
48  
49 A map of the attributes requested in C< ReceiveMessage > to their
50 respective values. Supported attributes:
51  
52 =over
53  
54 =item *
55  
56 C<ApproximateReceiveCount>
57  
58 =item *
59  
60 C<ApproximateFirstReceiveTimestamp>
61  
62 =item *
63  
64 C<MessageDeduplicationId>
65  
66 =item *
67  
68 C<MessageGroupId>
69  
70 =item *
71  
72 C<SenderId>
73  
74 =item *
75  
76 C<SentTimestamp>
77  
78 =item *
79  
80 C<SequenceNumber>
81  
82 =back
83  
84 C<ApproximateFirstReceiveTimestamp> and C<SentTimestamp> are each
85 returned as an integer representing the epoch time
86 (http://en.wikipedia.org/wiki/Unix_time) in milliseconds.
87  
88  
89 =head2 Body => Str
90  
91 The message's contents (not URL-encoded).
92  
93  
94 =head2 MD5OfBody => Str
95  
96 An MD5 digest of the non-URL-encoded message body string.
97  
98  
99 =head2 MD5OfMessageAttributes => Str
100  
101 An MD5 digest of the non-URL-encoded message attribute string. You can
102 use this attribute to verify that Amazon SQS received the message
103 correctly. Amazon SQS URL-decodes the message before creating the MD5
104 digest. For information about MD5, see RFC1321
105 (https://www.ietf.org/rfc/rfc1321.txt).
106  
107  
108 =head2 MessageAttributes => L<Paws::SQS::MessageBodyAttributeMap>
109  
110 Each message attribute consists of a C<Name>, C<Type>, and C<Value>.
111 For more information, see Amazon SQS message attributes
112 (https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-message-metadata.html#sqs-message-attributes)
113 in the I<Amazon SQS Developer Guide>.
114  
115  
116 =head2 MessageId => Str
117  
118 A unique identifier for the message. A C<MessageId>is considered unique
119 across all accounts for an extended period of time.
120  
121  
122 =head2 ReceiptHandle => Str
123  
124 An identifier associated with the act of receiving the message. A new
125 receipt handle is returned every time you receive a message. When
126 deleting a message, you provide the last received receipt handle to
127 delete the message.
128  
129  
130  
131 =head1 SEE ALSO
132  
133 This class forms part of L<Paws>, describing an object used in L<Paws::SQS>
134  
135 =head1 BUGS and CONTRIBUTIONS
136  
137 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
138  
139 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
140  
141 =cut
142  
« blib/lib/Paws/SQS/ListQueuesResult.pm ↑ Summary blib/lib/Paws/SQS/MessageAttributeValue.pm »