blib/lib/Paws/S3/VersioningConfiguration.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/UploadPartOutput.pm ↑ Summary blib/lib/Paws/S3/WebsiteConfiguration.pm »
1 # Generated by default/object.tt
2 package Paws::S3::VersioningConfiguration;
3 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 has MFADelete => (is => 'ro', isa => 'Str', request_name => 'MfaDelete', traits => ['NameInRequest']);
5 1 has Status => (is => 'ro', isa => 'Str');
6  
7 1 1;
8  
9 ### main pod documentation begin ###
10  
11 =head1 NAME
12  
13 Paws::S3::VersioningConfiguration
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::VersioningConfiguration object:
25  
26 $service_obj->Method(Att1 => { MFADelete => $value, ..., Status => $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::VersioningConfiguration object:
31  
32 $result = $service_obj->Method(...);
33 $result->Att1->MFADelete
34  
35 =head1 DESCRIPTION
36  
37 Describes the versioning state of an Amazon S3 bucket. For more
38 information, see PUT Bucket versioning
39 (https://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTVersioningStatus.html)
40 in the I<Amazon S3 API Reference>.
41  
42 =head1 ATTRIBUTES
43  
44  
45 =head2 MFADelete => Str
46  
47 Specifies whether MFA delete is enabled in the bucket versioning
48 configuration. This element is only returned if the bucket has been
49 configured with MFA delete. If the bucket has never been so configured,
50 this element is not returned.
51  
52  
53 =head2 Status => Str
54  
55 The versioning state of the bucket.
56  
57  
58  
59 =head1 SEE ALSO
60  
61 This class forms part of L<Paws>, describing an object used in L<Paws::S3>
62  
63 =head1 BUGS and CONTRIBUTIONS
64  
65 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
66  
67 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
68  
69 =cut
70  
« blib/lib/Paws/S3/UploadPartOutput.pm ↑ Summary blib/lib/Paws/S3/WebsiteConfiguration.pm »