Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Sets the versioning state of an existing bucket. To set the versioning state, you must be the bucket owner.
See: AWS API Reference for PutBucketVersioning.
- putBucketVersioning :: BucketName -> VersioningConfiguration -> PutBucketVersioning
- data PutBucketVersioning
- pbvMFA :: Lens' PutBucketVersioning (Maybe Text)
- pbvContentMD5 :: Lens' PutBucketVersioning (Maybe Text)
- pbvBucket :: Lens' PutBucketVersioning BucketName
- pbvVersioningConfiguration :: Lens' PutBucketVersioning VersioningConfiguration
- putBucketVersioningResponse :: PutBucketVersioningResponse
- data PutBucketVersioningResponse
Creating a Request
Creates a value of PutBucketVersioning
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data PutBucketVersioning Source
See: putBucketVersioning
smart constructor.
Request Lenses
pbvMFA :: Lens' PutBucketVersioning (Maybe Text) Source
The concatenation of the authentication device's serial number, a space, and the value that is displayed on your authentication device.
pbvContentMD5 :: Lens' PutBucketVersioning (Maybe Text) Source
Undocumented member.
pbvBucket :: Lens' PutBucketVersioning BucketName Source
Undocumented member.
pbvVersioningConfiguration :: Lens' PutBucketVersioning VersioningConfiguration Source
Undocumented member.
Destructuring the Response
putBucketVersioningResponse :: PutBucketVersioningResponse Source
Creates a value of PutBucketVersioningResponse
with the minimum fields required to make a request.
data PutBucketVersioningResponse Source
See: putBucketVersioningResponse
smart constructor.