File Coverage

blib/lib/Paws/SQS/SendMessageBatchResultEntry.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1             package Paws::SQS::SendMessageBatchResultEntry;
2 1     1   280 use Moose;
  1     1   3  
  1         6  
  1         343  
  1         2  
  1         6  
3             has Id => (is => 'ro', isa => 'Str', required => 1);
4             has MD5OfMessageAttributes => (is => 'ro', isa => 'Str');
5             has MD5OfMessageBody => (is => 'ro', isa => 'Str', required => 1);
6             has MessageId => (is => 'ro', isa => 'Str', required => 1);
7             has SequenceNumber => (is => 'ro', isa => 'Str');
8             1;
9              
10             ### main pod documentation begin ###
11              
12             =head1 NAME
13              
14             Paws::SQS::SendMessageBatchResultEntry
15              
16             =head1 USAGE
17              
18             This class represents one of two things:
19              
20             =head3 Arguments in a call to a service
21              
22             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
23             Each attribute should be used as a named argument in the calls that expect this type of object.
24              
25             As an example, if Att1 is expected to be a Paws::SQS::SendMessageBatchResultEntry object:
26              
27             $service_obj->Method(Att1 => { Id => $value, ..., SequenceNumber => $value });
28              
29             =head3 Results returned from an API call
30              
31             Use accessors for each attribute. If Att1 is expected to be an Paws::SQS::SendMessageBatchResultEntry object:
32              
33             $result = $service_obj->Method(...);
34             $result->Att1->Id
35              
36             =head1 DESCRIPTION
37              
38             Encloses a C<MessageId> for a successfully-enqueued message in a C<
39             SendMessageBatch.>
40              
41             =head1 ATTRIBUTES
42              
43              
44             =head2 B<REQUIRED> Id => Str
45              
46             An identifier for the message in this batch.
47              
48              
49             =head2 MD5OfMessageAttributes => Str
50              
51             An MD5 digest of the non-URL-encoded message attribute string. You can
52             use this attribute to verify that Amazon SQS received the message
53             correctly. Amazon SQS URL-decodes the message before creating the MD5
54             digest. For information about MD5, see RFC1321.
55              
56              
57             =head2 B<REQUIRED> MD5OfMessageBody => Str
58              
59             An MD5 digest of the non-URL-encoded message attribute string. You can
60             use this attribute to verify that Amazon SQS received the message
61             correctly. Amazon SQS URL-decodes the message before creating the MD5
62             digest. For information about MD5, see RFC1321.
63              
64              
65             =head2 B<REQUIRED> MessageId => Str
66              
67             An identifier for the message.
68              
69              
70             =head2 SequenceNumber => Str
71              
72             This parameter applies only to FIFO (first-in-first-out) queues.
73              
74             The large, non-consecutive number that Amazon SQS assigns to each
75             message.
76              
77             The length of C<SequenceNumber> is 128 bits. As C<SequenceNumber>
78             continues to increase for a particular C<MessageGroupId>.
79              
80              
81              
82             =head1 SEE ALSO
83              
84             This class forms part of L<Paws>, describing an object used in L<Paws::SQS>
85              
86             =head1 BUGS and CONTRIBUTIONS
87              
88             The source code is located here: https://github.com/pplu/aws-sdk-perl
89              
90             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
91              
92             =cut
93