amazonka-s3-1.3.4: Amazon Simple Storage Service SDK.

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.S3.PutBucketVersioning

Contents

Description

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.

Synopsis

Creating a Request

putBucketVersioning Source

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:

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.

Destructuring the Response

putBucketVersioningResponse :: PutBucketVersioningResponse Source

Creates a value of PutBucketVersioningResponse with the minimum fields required to make a request.