Safe Haskell | None |
---|---|
Language | Haskell2010 |
Returns the versioning state of a bucket.
http://docs.aws.amazon.com/AmazonS3/latest/API/GetBucketVersioning.html
- data GetBucketVersioning
- getBucketVersioning :: Text -> GetBucketVersioning
- gbvBucket :: Lens' GetBucketVersioning Text
- data GetBucketVersioningResponse
- getBucketVersioningResponse :: GetBucketVersioningResponse
- gbvrMFADelete :: Lens' GetBucketVersioningResponse (Maybe MFADeleteStatus)
- gbvrStatus :: Lens' GetBucketVersioningResponse (Maybe BucketVersioningStatus)
Request
data GetBucketVersioning Source
Request constructor
GetBucketVersioning
constructor.
The fields accessible through corresponding lenses are:
Request lenses
Response
Response constructor
getBucketVersioningResponse :: GetBucketVersioningResponse Source
GetBucketVersioningResponse
constructor.
The fields accessible through corresponding lenses are:
Response lenses
gbvrMFADelete :: Lens' GetBucketVersioningResponse (Maybe MFADeleteStatus) 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.
gbvrStatus :: Lens' GetBucketVersioningResponse (Maybe BucketVersioningStatus) Source
The versioning state of the bucket.