| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::CloudFront::InvalidationBatch; | ||
| 3 | 2 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 2 | has CallerReference => (is => 'ro', isa => 'Str', required => 1); | |
| 5 | 2 | has Paths => (is => 'ro', isa => 'Paws::CloudFront::Paths', required => 1); | |
| 6 | |||
| 7 | 2 | 1; | |
| 8 | |||
| 9 | ### main pod documentation begin ### | ||
| 10 | |||
| 11 | =head1 NAME | ||
| 12 | |||
| 13 | Paws::CloudFront::InvalidationBatch | ||
| 14 | |||
| 15 | =head1 USAGE | ||
| 16 | |||
| 17 | This class represents one of two things: | ||
| 18 | |||
| 19 | =head3 Arguments in a call to a service | ||
| 20 | |||
| 21 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 22 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 23 | |||
| 24 | As an example, if Att1 is expected to be a Paws::CloudFront::InvalidationBatch object: | ||
| 25 | |||
| 26 | $service_obj->Method(Att1 => { CallerReference => $value, ..., Paths => $value }); | ||
| 27 | |||
| 28 | =head3 Results returned from an API call | ||
| 29 | |||
| 30 | Use accessors for each attribute. If Att1 is expected to be an Paws::CloudFront::InvalidationBatch object: | ||
| 31 | |||
| 32 | $result = $service_obj->Method(...); | ||
| 33 | $result->Att1->CallerReference | ||
| 34 | |||
| 35 | =head1 DESCRIPTION | ||
| 36 | |||
| 37 | An invalidation batch. | ||
| 38 | |||
| 39 | =head1 ATTRIBUTES | ||
| 40 | |||
| 41 | |||
| 42 | =head2 B<REQUIRED> CallerReference => Str | ||
| 43 | |||
| 44 | A value that you specify to uniquely identify an invalidation request. | ||
| 45 | CloudFront uses the value to prevent you from accidentally resubmitting | ||
| 46 | an identical request. Whenever you create a new invalidation request, | ||
| 47 | you must specify a new value for C<CallerReference> and change other | ||
| 48 | values in the request as applicable. One way to ensure that the value | ||
| 49 | of C<CallerReference> is unique is to use a C<timestamp>, for example, | ||
| 50 | C<20120301090000>. | ||
| 51 | |||
| 52 | If you make a second invalidation request with the same value for | ||
| 53 | C<CallerReference>, and if the rest of the request is the same, | ||
| 54 | CloudFront doesn't create a new invalidation request. Instead, | ||
| 55 | CloudFront returns information about the invalidation request that you | ||
| 56 | previously created with the same C<CallerReference>. | ||
| 57 | |||
| 58 | If C<CallerReference> is a value you already sent in a previous | ||
| 59 | invalidation batch request but the content of any C<Path> is different | ||
| 60 | from the original request, CloudFront returns an | ||
| 61 | C<InvalidationBatchAlreadyExists> error. | ||
| 62 | |||
| 63 | |||
| 64 | =head2 B<REQUIRED> Paths => L<Paws::CloudFront::Paths> | ||
| 65 | |||
| 66 | A complex type that contains information about the objects that you | ||
| 67 | want to invalidate. For more information, see Specifying the Objects to | ||
| 68 | Invalidate | ||
| 69 | (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Invalidation.html#invalidation-specifying-objects) | ||
| 70 | in the I<Amazon CloudFront Developer Guide>. | ||
| 71 | |||
| 72 | |||
| 73 | |||
| 74 | =head1 SEE ALSO | ||
| 75 | |||
| 76 | This class forms part of L<Paws>, describing an object used in L<Paws::CloudFront> | ||
| 77 | |||
| 78 | =head1 BUGS and CONTRIBUTIONS | ||
| 79 | |||
| 80 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 81 | |||
| 82 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 83 | |||
| 84 | =cut | ||
| 85 | |||