« blib/lib/Paws/S3/ReplicationConfiguration.pm
↑ Summary
blib/lib/Paws/S3/RequestPaymentConfiguration.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::S3::ReplicationRule; | ||
| 3 | 1 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 1 | has DeleteMarkerReplication => (is => 'ro', isa => 'Paws::S3::DeleteMarkerReplication'); | |
| 5 | 1 | has Destination => (is => 'ro', isa => 'Paws::S3::Destination', required => 1); | |
| 6 | 1 | has ExistingObjectReplication => (is => 'ro', isa => 'Paws::S3::ExistingObjectReplication'); | |
| 7 | 1 | has Filter => (is => 'ro', isa => 'Paws::S3::ReplicationRuleFilter'); | |
| 8 | 1 | has ID => (is => 'ro', isa => 'Str'); | |
| 9 | 1 | has Prefix => (is => 'ro', isa => 'Str'); | |
| 10 | 1 | has Priority => (is => 'ro', isa => 'Int'); | |
| 11 | 1 | has SourceSelectionCriteria => (is => 'ro', isa => 'Paws::S3::SourceSelectionCriteria'); | |
| 12 | 1 | has Status => (is => 'ro', isa => 'Str', required => 1); | |
| 13 | |||
| 14 | 1 | 1; | |
| 15 | |||
| 16 | ### main pod documentation begin ### | ||
| 17 | |||
| 18 | =head1 NAME | ||
| 19 | |||
| 20 | Paws::S3::ReplicationRule | ||
| 21 | |||
| 22 | =head1 USAGE | ||
| 23 | |||
| 24 | This class represents one of two things: | ||
| 25 | |||
| 26 | =head3 Arguments in a call to a service | ||
| 27 | |||
| 28 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 29 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 30 | |||
| 31 | As an example, if Att1 is expected to be a Paws::S3::ReplicationRule object: | ||
| 32 | |||
| 33 | $service_obj->Method(Att1 => { DeleteMarkerReplication => $value, ..., Status => $value }); | ||
| 34 | |||
| 35 | =head3 Results returned from an API call | ||
| 36 | |||
| 37 | Use accessors for each attribute. If Att1 is expected to be an Paws::S3::ReplicationRule object: | ||
| 38 | |||
| 39 | $result = $service_obj->Method(...); | ||
| 40 | $result->Att1->DeleteMarkerReplication | ||
| 41 | |||
| 42 | =head1 DESCRIPTION | ||
| 43 | |||
| 44 | Specifies which Amazon S3 objects to replicate and where to store the | ||
| 45 | replicas. | ||
| 46 | |||
| 47 | =head1 ATTRIBUTES | ||
| 48 | |||
| 49 | |||
| 50 | =head2 DeleteMarkerReplication => L<Paws::S3::DeleteMarkerReplication> | ||
| 51 | |||
| 52 | |||
| 53 | |||
| 54 | |||
| 55 | =head2 B<REQUIRED> Destination => L<Paws::S3::Destination> | ||
| 56 | |||
| 57 | A container for information about the replication destination and its | ||
| 58 | configurations including enabling the S3 Replication Time Control (S3 | ||
| 59 | RTC). | ||
| 60 | |||
| 61 | |||
| 62 | =head2 ExistingObjectReplication => L<Paws::S3::ExistingObjectReplication> | ||
| 63 | |||
| 64 | |||
| 65 | |||
| 66 | |||
| 67 | =head2 Filter => L<Paws::S3::ReplicationRuleFilter> | ||
| 68 | |||
| 69 | |||
| 70 | |||
| 71 | |||
| 72 | =head2 ID => Str | ||
| 73 | |||
| 74 | A unique identifier for the rule. The maximum value is 255 characters. | ||
| 75 | |||
| 76 | |||
| 77 | =head2 Prefix => Str | ||
| 78 | |||
| 79 | An object key name prefix that identifies the object or objects to | ||
| 80 | which the rule applies. The maximum prefix length is 1,024 characters. | ||
| 81 | To include all objects in a bucket, specify an empty string. | ||
| 82 | |||
| 83 | Replacement must be made for object keys containing special characters | ||
| 84 | (such as carriage returns) when using XML requests. For more | ||
| 85 | information, see XML related object key constraints | ||
| 86 | (https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html#object-key-xml-related-constraints). | ||
| 87 | |||
| 88 | |||
| 89 | =head2 Priority => Int | ||
| 90 | |||
| 91 | The priority indicates which rule has precedence whenever two or more | ||
| 92 | replication rules conflict. Amazon S3 will attempt to replicate objects | ||
| 93 | according to all replication rules. However, if there are two or more | ||
| 94 | rules with the same destination bucket, then objects will be replicated | ||
| 95 | according to the rule with the highest priority. The higher the number, | ||
| 96 | the higher the priority. | ||
| 97 | |||
| 98 | For more information, see Replication | ||
| 99 | (https://docs.aws.amazon.com/AmazonS3/latest/dev/replication.html) in | ||
| 100 | the I<Amazon S3 User Guide>. | ||
| 101 | |||
| 102 | |||
| 103 | =head2 SourceSelectionCriteria => L<Paws::S3::SourceSelectionCriteria> | ||
| 104 | |||
| 105 | A container that describes additional filters for identifying the | ||
| 106 | source objects that you want to replicate. You can choose to enable or | ||
| 107 | disable the replication of these objects. Currently, Amazon S3 supports | ||
| 108 | only the filter that you can specify for objects created with | ||
| 109 | server-side encryption using a customer master key (CMK) stored in AWS | ||
| 110 | Key Management Service (SSE-KMS). | ||
| 111 | |||
| 112 | |||
| 113 | =head2 B<REQUIRED> Status => Str | ||
| 114 | |||
| 115 | Specifies whether the rule is enabled. | ||
| 116 | |||
| 117 | |||
| 118 | |||
| 119 | =head1 SEE ALSO | ||
| 120 | |||
| 121 | This class forms part of L<Paws>, describing an object used in L<Paws::S3> | ||
| 122 | |||
| 123 | =head1 BUGS and CONTRIBUTIONS | ||
| 124 | |||
| 125 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 126 | |||
| 127 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 128 | |||
| 129 | =cut | ||
| 130 | |||