Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
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: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.
$sel:status:VersioningConfiguration'
, versioningConfiguration_status
- 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.
versioningConfiguration_status :: Lens' VersioningConfiguration (Maybe BucketVersioningStatus) Source #
The versioning state of the bucket.