Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Documentation
data VersioningConfiguration Source #
Describes the versioning state of an Amazon S3 bucket. For more information, see PUT Bucket versioning in the Amazon S3 API Reference.
See: newVersioningConfiguration
smart constructor.
VersioningConfiguration' | |
|
Instances
newVersioningConfiguration :: VersioningConfiguration Source #
Create a value of VersioningConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:status:VersioningConfiguration'
, versioningConfiguration_status
- The versioning state of the bucket.
$sel:mfaDelete:VersioningConfiguration'
, versioningConfiguration_mfaDelete
- Specifies whether MFA delete is enabled in the bucket versioning
configuration. This element is only returned if the bucket has been
configured with MFA delete. If the bucket has never been so configured,
this element is not returned.
versioningConfiguration_status :: Lens' VersioningConfiguration (Maybe BucketVersioningStatus) Source #
The versioning state of the bucket.
versioningConfiguration_mfaDelete :: Lens' VersioningConfiguration (Maybe MFADelete) Source #
Specifies whether MFA delete is enabled in the bucket versioning configuration. This element is only returned if the bucket has been configured with MFA delete. If the bucket has never been so configured, this element is not returned.