| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::S3Control::Transition; | ||
| 3 | use Moose; | ||
| 4 | has Date => (is => 'ro', isa => 'Str'); | ||
| 5 | has Days => (is => 'ro', isa => 'Int'); | ||
| 6 | has StorageClass => (is => 'ro', isa => 'Str'); | ||
| 7 | |||
| 8 | 1; | ||
| 9 | |||
| 10 | ### main pod documentation begin ### | ||
| 11 | |||
| 12 | =head1 NAME | ||
| 13 | |||
| 14 | Paws::S3Control::Transition | ||
| 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::S3Control::Transition object: | ||
| 26 | |||
| 27 | $service_obj->Method(Att1 => { Date => $value, ..., StorageClass => $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::S3Control::Transition object: | ||
| 32 | |||
| 33 | $result = $service_obj->Method(...); | ||
| 34 | $result->Att1->Date | ||
| 35 | |||
| 36 | =head1 DESCRIPTION | ||
| 37 | |||
| 38 | Specifies when an object transitions to a specified storage class. For | ||
| 39 | more information about Amazon S3 Lifecycle configuration rules, see | ||
| 40 | Transitioning objects using Amazon S3 Lifecycle | ||
| 41 | (https://docs.aws.amazon.com/AmazonS3/latest/dev/lifecycle-transition-general-considerations.html) | ||
| 42 | in the I<Amazon S3 User Guide>. | ||
| 43 | |||
| 44 | =head1 ATTRIBUTES | ||
| 45 | |||
| 46 | |||
| 47 | =head2 Date => Str | ||
| 48 | |||
| 49 | Indicates when objects are transitioned to the specified storage class. | ||
| 50 | The date value must be in ISO 8601 format. The time is always midnight | ||
| 51 | UTC. | ||
| 52 | |||
| 53 | |||
| 54 | =head2 Days => Int | ||
| 55 | |||
| 56 | Indicates the number of days after creation when objects are | ||
| 57 | transitioned to the specified storage class. The value must be a | ||
| 58 | positive integer. | ||
| 59 | |||
| 60 | |||
| 61 | =head2 StorageClass => Str | ||
| 62 | |||
| 63 | The storage class to which you want the object to transition. | ||
| 64 | |||
| 65 | |||
| 66 | |||
| 67 | =head1 SEE ALSO | ||
| 68 | |||
| 69 | This class forms part of L<Paws>, describing an object used in L<Paws::S3Control> | ||
| 70 | |||
| 71 | =head1 BUGS and CONTRIBUTIONS | ||
| 72 | |||
| 73 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 74 | |||
| 75 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 76 | |||
| 77 | =cut | ||
| 78 |