File Coverage

blib/lib/Paws/S3/InventoryConfiguration.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package Paws::S3::InventoryConfiguration;
2 1     1   690 use Moose;
  1         4  
  1         9  
3             has Destination => (is => 'ro', isa => 'Paws::S3::InventoryDestination', required => 1);
4             has Filter => (is => 'ro', isa => 'Paws::S3::InventoryFilter');
5             has Id => (is => 'ro', isa => 'Str', required => 1);
6             has IncludedObjectVersions => (is => 'ro', isa => 'Str', required => 1);
7             has IsEnabled => (is => 'ro', isa => 'Bool', required => 1);
8             has OptionalFields => (is => 'ro', isa => 'ArrayRef[Str|Undef]', request_name => 'Field', traits => ['NameInRequest']);
9             has Schedule => (is => 'ro', isa => 'Paws::S3::InventorySchedule', required => 1);
10             1;
11              
12             ### main pod documentation begin ###
13              
14             =head1 NAME
15              
16             Paws::S3::InventoryConfiguration
17              
18             =head1 USAGE
19              
20             This class represents one of two things:
21              
22             =head3 Arguments in a call to a service
23              
24             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
25             Each attribute should be used as a named argument in the calls that expect this type of object.
26              
27             As an example, if Att1 is expected to be a Paws::S3::InventoryConfiguration object:
28              
29             $service_obj->Method(Att1 => { Destination => $value, ..., Schedule => $value });
30              
31             =head3 Results returned from an API call
32              
33             Use accessors for each attribute. If Att1 is expected to be an Paws::S3::InventoryConfiguration object:
34              
35             $result = $service_obj->Method(...);
36             $result->Att1->Destination
37              
38             =head1 DESCRIPTION
39              
40             This class has no description
41              
42             =head1 ATTRIBUTES
43              
44              
45             =head2 B<REQUIRED> Destination => L<Paws::S3::InventoryDestination>
46              
47             Contains information about where to publish the inventory results.
48              
49              
50             =head2 Filter => L<Paws::S3::InventoryFilter>
51              
52             Specifies an inventory filter. The inventory only includes objects that
53             meet the filter's criteria.
54              
55              
56             =head2 B<REQUIRED> Id => Str
57              
58             The ID used to identify the inventory configuration.
59              
60              
61             =head2 B<REQUIRED> IncludedObjectVersions => Str
62              
63             Specifies which object version(s) to included in the inventory results.
64              
65              
66             =head2 B<REQUIRED> IsEnabled => Bool
67              
68             Specifies whether the inventory is enabled or disabled.
69              
70              
71             =head2 OptionalFields => ArrayRef[Str|Undef]
72              
73             Contains the optional fields that are included in the inventory
74             results.
75              
76              
77             =head2 B<REQUIRED> Schedule => L<Paws::S3::InventorySchedule>
78              
79             Specifies the schedule for generating inventory results.
80              
81              
82              
83             =head1 SEE ALSO
84              
85             This class forms part of L<Paws>, describing an object used in L<Paws::S3>
86              
87             =head1 BUGS and CONTRIBUTIONS
88              
89             The source code is located here: https://github.com/pplu/aws-sdk-perl
90              
91             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
92              
93             =cut
94