blib/lib/Paws/S3/LifecycleRuleFilter.pm

filter: Statementstmt 100% 7 / 7 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 1 / 1 Podpod n/a totaltotal 100% 8 / 8 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
CRAP 1.0
« blib/lib/Paws/S3/LifecycleRule.pm ↑ Summary blib/lib/Paws/S3/ListBuckets.pm »
1 # Generated by default/object.tt
2 package Paws::S3::LifecycleRuleFilter;
3 2 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 2 has And => (is => 'ro', isa => 'Paws::S3::LifecycleRuleAndOperator');
5 2 has Prefix => (is => 'ro', isa => 'Str');
6 2 has Tag => (is => 'ro', isa => 'Paws::S3::Tag');
7  
8 2 1;
9  
10 ### main pod documentation begin ###
11  
12 =head1 NAME
13  
14 Paws::S3::LifecycleRuleFilter
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::LifecycleRuleFilter 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::LifecycleRuleFilter object:
32  
33 $result = $service_obj->Method(...);
34 $result->Att1->And
35  
36 =head1 DESCRIPTION
37  
38 The C<Filter> is used to identify objects that a Lifecycle Rule applies
39 to. A C<Filter> must have exactly one of C<Prefix>, C<Tag>, or C<And>
40 specified.
41  
42 =head1 ATTRIBUTES
43  
44  
45 =head2 And => L<Paws::S3::LifecycleRuleAndOperator>
46  
47  
48  
49  
50 =head2 Prefix => Str
51  
52 Prefix identifying one or more objects to which the rule applies.
53  
54 Replacement must be made for object keys containing special characters
55 (such as carriage returns) when using XML requests. For more
56 information, see XML related object key constraints
57 (https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html#object-key-xml-related-constraints).
58  
59  
60 =head2 Tag => L<Paws::S3::Tag>
61  
62 This tag must exist in the object's tag set in order for the rule to
63 apply.
64  
65  
66  
67 =head1 SEE ALSO
68  
69 This class forms part of L<Paws>, describing an object used in L<Paws::S3>
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  
« blib/lib/Paws/S3/LifecycleRule.pm ↑ Summary blib/lib/Paws/S3/ListBuckets.pm »