| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::S3::ReplicationRuleFilter; | ||
| 3 | use Moose; | ||
| 4 | has And => (is => 'ro', isa => 'Paws::S3::ReplicationRuleAndOperator'); | ||
| 5 | has Prefix => (is => 'ro', isa => 'Str'); | ||
| 6 | has Tag => (is => 'ro', isa => 'Paws::S3::Tag'); | ||
| 7 | |||
| 8 | 1; | ||
| 9 | |||
| 10 | ### main pod documentation begin ### | ||
| 11 | |||
| 12 | =head1 NAME | ||
| 13 | |||
| 14 | Paws::S3::ReplicationRuleFilter | ||
| 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::S3::ReplicationRuleFilter object: | ||
| 26 | |||
| 27 | $service_obj->Method(Att1 => { And => $value, ..., Tag => $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::S3::ReplicationRuleFilter object: | ||
| 32 | |||
| 33 | $result = $service_obj->Method(...); | ||
| 34 | $result->Att1->And | ||
| 35 | |||
| 36 | =head1 DESCRIPTION | ||
| 37 | |||
| 38 | A filter that identifies the subset of objects to which the replication | ||
| 39 | rule applies. A C<Filter> must specify exactly one C<Prefix>, C<Tag>, | ||
| 40 | or an C<And> child element. | ||
| 41 | |||
| 42 | =head1 ATTRIBUTES | ||
| 43 | |||
| 44 | |||
| 45 | =head2 And => L<Paws::S3::ReplicationRuleAndOperator> | ||
| 46 | |||
| 47 | A container for specifying rule filters. The filters determine the | ||
| 48 | subset of objects to which the rule applies. This element is required | ||
| 49 | only if you specify more than one filter. For example: | ||
| 50 | |||
| 51 | =over | ||
| 52 | |||
| 53 | =item * | ||
| 54 | |||
| 55 | If you specify both a C<Prefix> and a C<Tag> filter, wrap these filters | ||
| 56 | in an C<And> tag. | ||
| 57 | |||
| 58 | =item * | ||
| 59 | |||
| 60 | If you specify a filter based on multiple tags, wrap the C<Tag> | ||
| 61 | elements in an C<And> tag. | ||
| 62 | |||
| 63 | =back | ||
| 64 | |||
| 65 | |||
| 66 | |||
| 67 | =head2 Prefix => Str | ||
| 68 | |||
| 69 | An object key name prefix that identifies the subset of objects to | ||
| 70 | which the rule applies. | ||
| 71 | |||
| 72 | Replacement must be made for object keys containing special characters | ||
| 73 | (such as carriage returns) when using XML requests. For more | ||
| 74 | information, see XML related object key constraints | ||
| 75 | (https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html#object-key-xml-related-constraints). | ||
| 76 | |||
| 77 | |||
| 78 | =head2 Tag => L<Paws::S3::Tag> | ||
| 79 | |||
| 80 | A container for specifying a tag key and value. | ||
| 81 | |||
| 82 | The rule applies only to objects that have the tag in their tag set. | ||
| 83 | |||
| 84 | |||
| 85 | |||
| 86 | =head1 SEE ALSO | ||
| 87 | |||
| 88 | This class forms part of L<Paws>, describing an object used in L<Paws::S3> | ||
| 89 | |||
| 90 | =head1 BUGS and CONTRIBUTIONS | ||
| 91 | |||
| 92 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 93 | |||
| 94 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 95 | |||
| 96 | =cut | ||
| 97 |