blib/lib/Paws/S3/MetricsConfiguration.pm

filter: Statementstmt 100% 6 / 6 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 1 / 1 Podpod n/a totaltotal 100% 7 / 7 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
CRAP 1.0
« blib/lib/Paws/S3/Metadata.pm ↑ Summary blib/lib/Paws/S3/MultipartUpload.pm »
1 # Generated by default/object.tt
2 package Paws::S3::MetricsConfiguration;
3 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 has Filter => (is => 'ro', isa => 'Paws::S3::MetricsFilter');
5 1 has Id => (is => 'ro', isa => 'Str', required => 1);
6  
7 1 1;
8  
9 ### main pod documentation begin ###
10  
11 =head1 NAME
12  
13 Paws::S3::MetricsConfiguration
14  
15 =head1 USAGE
16  
17 This class represents one of two things:
18  
19 =head3 Arguments in a call to a service
20  
21 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
22 Each attribute should be used as a named argument in the calls that expect this type of object.
23  
24 As an example, if Att1 is expected to be a Paws::S3::MetricsConfiguration object:
25  
26 $service_obj->Method(Att1 => { Filter => $value, ..., Id => $value });
27  
28 =head3 Results returned from an API call
29  
30 Use accessors for each attribute. If Att1 is expected to be an Paws::S3::MetricsConfiguration object:
31  
32 $result = $service_obj->Method(...);
33 $result->Att1->Filter
34  
35 =head1 DESCRIPTION
36  
37 Specifies a metrics configuration for the CloudWatch request metrics
38 (specified by the metrics configuration ID) from an Amazon S3 bucket.
39 If you're updating an existing metrics configuration, note that this is
40 a full replacement of the existing metrics configuration. If you don't
41 include the elements you want to keep, they are erased. For more
42 information, see PUT Bucket metrics
43 (https://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTMetricConfiguration.html)
44 in the I<Amazon S3 API Reference>.
45  
46 =head1 ATTRIBUTES
47  
48  
49 =head2 Filter => L<Paws::S3::MetricsFilter>
50  
51 Specifies a metrics configuration filter. The metrics configuration
52 will only include objects that meet the filter's criteria. A filter
53 must be a prefix, a tag, or a conjunction (MetricsAndOperator).
54  
55  
56 =head2 B<REQUIRED> Id => Str
57  
58 The ID used to identify the metrics configuration.
59  
60  
61  
62 =head1 SEE ALSO
63  
64 This class forms part of L<Paws>, describing an object used in L<Paws::S3>
65  
66 =head1 BUGS and CONTRIBUTIONS
67  
68 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
69  
70 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
71  
72 =cut
73  
« blib/lib/Paws/S3/Metadata.pm ↑ Summary blib/lib/Paws/S3/MultipartUpload.pm »