| 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 | |||