blib/lib/Paws/S3Control/StorageLensConfiguration.pm untested

filter: Statementstmt 0.0% 0 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 12 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::S3Control::StorageLensConfiguration;
3 use Moose;
4 has AccountLevel => (is => 'ro', isa => 'Paws::S3Control::AccountLevel', required => 1);
5 has AwsOrg => (is => 'ro', isa => 'Paws::S3Control::StorageLensAwsOrg');
6 has DataExport => (is => 'ro', isa => 'Paws::S3Control::StorageLensDataExport');
7 has Exclude => (is => 'ro', isa => 'Paws::S3Control::Exclude');
8 has Id => (is => 'ro', isa => 'Str', required => 1);
9 has Include => (is => 'ro', isa => 'Paws::S3Control::Include');
10 has IsEnabled => (is => 'ro', isa => 'Bool', required => 1);
11 has StorageLensArn => (is => 'ro', isa => 'Str');
12  
13 1;
14  
15 ### main pod documentation begin ###
16  
17 =head1 NAME
18  
19 Paws::S3Control::StorageLensConfiguration
20  
21 =head1 USAGE
22  
23 This class represents one of two things:
24  
25 =head3 Arguments in a call to a service
26  
27 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
28 Each attribute should be used as a named argument in the calls that expect this type of object.
29  
30 As an example, if Att1 is expected to be a Paws::S3Control::StorageLensConfiguration object:
31  
32 $service_obj->Method(Att1 => { AccountLevel => $value, ..., StorageLensArn => $value });
33  
34 =head3 Results returned from an API call
35  
36 Use accessors for each attribute. If Att1 is expected to be an Paws::S3Control::StorageLensConfiguration object:
37  
38 $result = $service_obj->Method(...);
39 $result->Att1->AccountLevel
40  
41 =head1 DESCRIPTION
42  
43 A container for the Amazon S3 Storage Lens configuration.
44  
45 =head1 ATTRIBUTES
46  
47  
48 =head2 B<REQUIRED> AccountLevel => L<Paws::S3Control::AccountLevel>
49  
50 A container for all the account-level configurations of your S3 Storage
51 Lens configuration.
52  
53  
54 =head2 AwsOrg => L<Paws::S3Control::StorageLensAwsOrg>
55  
56 A container for the AWS organization for this S3 Storage Lens
57 configuration.
58  
59  
60 =head2 DataExport => L<Paws::S3Control::StorageLensDataExport>
61  
62 A container to specify the properties of your S3 Storage Lens metrics
63 export including, the destination, schema and format.
64  
65  
66 =head2 Exclude => L<Paws::S3Control::Exclude>
67  
68 A container for what is excluded in this configuration. This container
69 can only be valid if there is no C<Include> container submitted, and
70 it's not empty.
71  
72  
73 =head2 B<REQUIRED> Id => Str
74  
75 A container for the Amazon S3 Storage Lens configuration ID.
76  
77  
78 =head2 Include => L<Paws::S3Control::Include>
79  
80 A container for what is included in this configuration. This container
81 can only be valid if there is no C<Exclude> container submitted, and
82 it's not empty.
83  
84  
85 =head2 B<REQUIRED> IsEnabled => Bool
86  
87 A container for whether the S3 Storage Lens configuration is enabled.
88  
89  
90 =head2 StorageLensArn => Str
91  
92 The Amazon Resource Name (ARN) of the S3 Storage Lens configuration.
93 This property is read-only and follows the following format: C<
94 arn:aws:s3:I<us-east-1>:I<example-account-id>:storage-lens/I<your-dashboard-name>>
95  
96  
97  
98 =head1 SEE ALSO
99  
100 This class forms part of L<Paws>, describing an object used in L<Paws::S3Control>
101  
102 =head1 BUGS and CONTRIBUTIONS
103  
104 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
105  
106 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
107  
108 =cut
109