« blib/lib/Paws/SQS/ChangeMessageVisibilityBatch.pm
↑ Summary
blib/lib/Paws/SQS/ChangeMessageVisibilityBatchResult.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::SQS::ChangeMessageVisibilityBatchRequestEntry; | ||
| 3 | 1 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 1 | has Id => (is => 'ro', isa => 'Str', required => 1); | |
| 5 | 1 | has ReceiptHandle => (is => 'ro', isa => 'Str', required => 1); | |
| 6 | 1 | has VisibilityTimeout => (is => 'ro', isa => 'Int'); | |
| 7 | |||
| 8 | 1 | 1; | |
| 9 | |||
| 10 | ### main pod documentation begin ### | ||
| 11 | |||
| 12 | =head1 NAME | ||
| 13 | |||
| 14 | Paws::SQS::ChangeMessageVisibilityBatchRequestEntry | ||
| 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::ChangeMessageVisibilityBatchRequestEntry object: | ||
| 26 | |||
| 27 | $service_obj->Method(Att1 => { Id => $value, ..., VisibilityTimeout => $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::ChangeMessageVisibilityBatchRequestEntry object: | ||
| 32 | |||
| 33 | $result = $service_obj->Method(...); | ||
| 34 | $result->Att1->Id | ||
| 35 | |||
| 36 | =head1 DESCRIPTION | ||
| 37 | |||
| 38 | Encloses a receipt handle and an entry id for each message in C< | ||
| 39 | ChangeMessageVisibilityBatch.> | ||
| 40 | |||
| 41 | All of the following list parameters must be prefixed with | ||
| 42 | C<ChangeMessageVisibilityBatchRequestEntry.n>, where C<n> is an integer | ||
| 43 | value starting with C<1>. For example, a parameter list for this action | ||
| 44 | might look like this: | ||
| 45 | |||
| 46 | C<&ChangeMessageVisibilityBatchRequestEntry.1.Id=change_visibility_msg_2> | ||
| 47 | |||
| 48 | C<&ChangeMessageVisibilityBatchRequestEntry.1.ReceiptHandle=your_receipt_handle> | ||
| 49 | |||
| 50 | C<&ChangeMessageVisibilityBatchRequestEntry.1.VisibilityTimeout=45> | ||
| 51 | |||
| 52 | =head1 ATTRIBUTES | ||
| 53 | |||
| 54 | |||
| 55 | =head2 B<REQUIRED> Id => Str | ||
| 56 | |||
| 57 | An identifier for this particular receipt handle used to communicate | ||
| 58 | the result. | ||
| 59 | |||
| 60 | The C<Id>s of a batch request need to be unique within a request. | ||
| 61 | |||
| 62 | This identifier can have up to 80 characters. The following characters | ||
| 63 | are accepted: alphanumeric characters, hyphens(-), and underscores (_). | ||
| 64 | |||
| 65 | |||
| 66 | =head2 B<REQUIRED> ReceiptHandle => Str | ||
| 67 | |||
| 68 | A receipt handle. | ||
| 69 | |||
| 70 | |||
| 71 | =head2 VisibilityTimeout => Int | ||
| 72 | |||
| 73 | The new value (in seconds) for the message's visibility timeout. | ||
| 74 | |||
| 75 | |||
| 76 | |||
| 77 | =head1 SEE ALSO | ||
| 78 | |||
| 79 | This class forms part of L<Paws>, describing an object used in L<Paws::SQS> | ||
| 80 | |||
| 81 | =head1 BUGS and CONTRIBUTIONS | ||
| 82 | |||
| 83 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 84 | |||
| 85 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 86 | |||
| 87 | =cut | ||
| 88 | |||