File Coverage

blib/lib/Paws/SQS/ChangeMessageVisibilityBatchRequestEntry.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::ChangeMessageVisibilityBatchRequestEntry;
2 1     1   539 use Moose;
  1     1   4  
  1         10  
  1         480  
  1         3  
  1         6  
3             has Id => (is => 'ro', isa => 'Str', required => 1);
4             has ReceiptHandle => (is => 'ro', isa => 'Str', required => 1);
5             has VisibilityTimeout => (is => 'ro', isa => 'Int');
6             1;
7              
8             ### main pod documentation begin ###
9              
10             =head1 NAME
11              
12             Paws::SQS::ChangeMessageVisibilityBatchRequestEntry
13              
14             =head1 USAGE
15              
16             This class represents one of two things:
17              
18             =head3 Arguments in a call to a service
19              
20             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
21             Each attribute should be used as a named argument in the calls that expect this type of object.
22              
23             As an example, if Att1 is expected to be a Paws::SQS::ChangeMessageVisibilityBatchRequestEntry object:
24              
25             $service_obj->Method(Att1 => { Id => $value, ..., VisibilityTimeout => $value });
26              
27             =head3 Results returned from an API call
28              
29             Use accessors for each attribute. If Att1 is expected to be an Paws::SQS::ChangeMessageVisibilityBatchRequestEntry object:
30              
31             $result = $service_obj->Method(...);
32             $result->Att1->Id
33              
34             =head1 DESCRIPTION
35              
36             Encloses a receipt handle and an entry id for each message in C<
37             ChangeMessageVisibilityBatch.>
38              
39             All of the following list parameters must be prefixed with
40             C<ChangeMessageVisibilityBatchRequestEntry.n>, where C<n> is an integer
41             value starting with C<1>. For example, a parameter list for this action
42             might look like this:
43              
44             C<&amp;ChangeMessageVisibilityBatchRequestEntry.1.Id=change_visibility_msg_2>
45              
46             C<&amp;ChangeMessageVisibilityBatchRequestEntry.1.ReceiptHandle=E<lt>replaceableE<gt>Your_Receipt_HandleE<lt>/replaceableE<gt>>
47              
48             C<&amp;ChangeMessageVisibilityBatchRequestEntry.1.VisibilityTimeout=45>
49              
50             =head1 ATTRIBUTES
51              
52              
53             =head2 B<REQUIRED> Id => Str
54              
55             An identifier for this particular receipt handle used to communicate
56             the result.
57              
58             The C<Id>s of a batch request need to be unique within a request
59              
60              
61             =head2 B<REQUIRED> ReceiptHandle => Str
62              
63             A receipt handle.
64              
65              
66             =head2 VisibilityTimeout => Int
67              
68             The new value (in seconds) for the message's visibility timeout.
69              
70              
71              
72             =head1 SEE ALSO
73              
74             This class forms part of L<Paws>, describing an object used in L<Paws::SQS>
75              
76             =head1 BUGS and CONTRIBUTIONS
77              
78             The source code is located here: https://github.com/pplu/aws-sdk-perl
79              
80             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
81              
82             =cut
83