| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::S3::Destination; | ||
| 3 | 1 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 1 | has AccessControlTranslation => (is => 'ro', isa => 'Paws::S3::AccessControlTranslation'); | |
| 5 | 1 | has Account => (is => 'ro', isa => 'Str'); | |
| 6 | 1 | has Bucket => (is => 'ro', isa => 'Str', required => 1); | |
| 7 | 1 | has EncryptionConfiguration => (is => 'ro', isa => 'Paws::S3::EncryptionConfiguration'); | |
| 8 | 1 | has Metrics => (is => 'ro', isa => 'Paws::S3::Metrics'); | |
| 9 | 1 | has ReplicationTime => (is => 'ro', isa => 'Paws::S3::ReplicationTime'); | |
| 10 | 1 | has StorageClass => (is => 'ro', isa => 'Str'); | |
| 11 | |||
| 12 | 1 | 1; | |
| 13 | |||
| 14 | ### main pod documentation begin ### | ||
| 15 | |||
| 16 | =head1 NAME | ||
| 17 | |||
| 18 | Paws::S3::Destination | ||
| 19 | |||
| 20 | =head1 USAGE | ||
| 21 | |||
| 22 | This class represents one of two things: | ||
| 23 | |||
| 24 | =head3 Arguments in a call to a service | ||
| 25 | |||
| 26 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 27 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 28 | |||
| 29 | As an example, if Att1 is expected to be a Paws::S3::Destination object: | ||
| 30 | |||
| 31 | $service_obj->Method(Att1 => { AccessControlTranslation => $value, ..., StorageClass => $value }); | ||
| 32 | |||
| 33 | =head3 Results returned from an API call | ||
| 34 | |||
| 35 | Use accessors for each attribute. If Att1 is expected to be an Paws::S3::Destination object: | ||
| 36 | |||
| 37 | $result = $service_obj->Method(...); | ||
| 38 | $result->Att1->AccessControlTranslation | ||
| 39 | |||
| 40 | =head1 DESCRIPTION | ||
| 41 | |||
| 42 | Specifies information about where to publish analysis or configuration | ||
| 43 | results for an Amazon S3 bucket and S3 Replication Time Control (S3 | ||
| 44 | RTC). | ||
| 45 | |||
| 46 | =head1 ATTRIBUTES | ||
| 47 | |||
| 48 | |||
| 49 | =head2 AccessControlTranslation => L<Paws::S3::AccessControlTranslation> | ||
| 50 | |||
| 51 | Specify this only in a cross-account scenario (where source and | ||
| 52 | destination bucket owners are not the same), and you want to change | ||
| 53 | replica ownership to the AWS account that owns the destination bucket. | ||
| 54 | If this is not specified in the replication configuration, the replicas | ||
| 55 | are owned by same AWS account that owns the source object. | ||
| 56 | |||
| 57 | |||
| 58 | =head2 Account => Str | ||
| 59 | |||
| 60 | Destination bucket owner account ID. In a cross-account scenario, if | ||
| 61 | you direct Amazon S3 to change replica ownership to the AWS account | ||
| 62 | that owns the destination bucket by specifying the | ||
| 63 | C<AccessControlTranslation> property, this is the account ID of the | ||
| 64 | destination bucket owner. For more information, see Replication | ||
| 65 | Additional Configuration: Changing the Replica Owner | ||
| 66 | (https://docs.aws.amazon.com/AmazonS3/latest/dev/replication-change-owner.html) | ||
| 67 | in the I<Amazon S3 User Guide>. | ||
| 68 | |||
| 69 | |||
| 70 | =head2 B<REQUIRED> Bucket => Str | ||
| 71 | |||
| 72 | The Amazon Resource Name (ARN) of the bucket where you want Amazon S3 | ||
| 73 | to store the results. | ||
| 74 | |||
| 75 | |||
| 76 | =head2 EncryptionConfiguration => L<Paws::S3::EncryptionConfiguration> | ||
| 77 | |||
| 78 | A container that provides information about encryption. If | ||
| 79 | C<SourceSelectionCriteria> is specified, you must specify this element. | ||
| 80 | |||
| 81 | |||
| 82 | =head2 Metrics => L<Paws::S3::Metrics> | ||
| 83 | |||
| 84 | A container specifying replication metrics-related settings enabling | ||
| 85 | replication metrics and events. | ||
| 86 | |||
| 87 | |||
| 88 | =head2 ReplicationTime => L<Paws::S3::ReplicationTime> | ||
| 89 | |||
| 90 | A container specifying S3 Replication Time Control (S3 RTC), including | ||
| 91 | whether S3 RTC is enabled and the time when all objects and operations | ||
| 92 | on objects must be replicated. Must be specified together with a | ||
| 93 | C<Metrics> block. | ||
| 94 | |||
| 95 | |||
| 96 | =head2 StorageClass => Str | ||
| 97 | |||
| 98 | The storage class to use when replicating objects, such as S3 Standard | ||
| 99 | or reduced redundancy. By default, Amazon S3 uses the storage class of | ||
| 100 | the source object to create the object replica. | ||
| 101 | |||
| 102 | For valid values, see the C<StorageClass> element of the PUT Bucket | ||
| 103 | replication | ||
| 104 | (https://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTreplication.html) | ||
| 105 | action in the I<Amazon S3 API Reference>. | ||
| 106 | |||
| 107 | |||
| 108 | |||
| 109 | =head1 SEE ALSO | ||
| 110 | |||
| 111 | This class forms part of L<Paws>, describing an object used in L<Paws::S3> | ||
| 112 | |||
| 113 | =head1 BUGS and CONTRIBUTIONS | ||
| 114 | |||
| 115 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 116 | |||
| 117 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 118 | |||
| 119 | =cut | ||
| 120 | |||