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.CreateBucket

Contents

Description

Creates a new bucket.

See: AWS API Reference for CreateBucket.

Synopsis

Creating a Request

createBucket Source

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

Use one of the following lenses to modify other fields as desired:

Request Lenses

cbGrantReadACP :: Lens' CreateBucket (Maybe Text) Source

Allows grantee to read the bucket ACL.

cbGrantWriteACP :: Lens' CreateBucket (Maybe Text) Source

Allows grantee to write the ACL for the applicable bucket.

cbGrantRead :: Lens' CreateBucket (Maybe Text) Source

Allows grantee to list the objects in the bucket.

cbGrantFullControl :: Lens' CreateBucket (Maybe Text) Source

Allows grantee the read, write, read ACP, and write ACP permissions on the bucket.

cbGrantWrite :: Lens' CreateBucket (Maybe Text) Source

Allows grantee to create, overwrite, and delete any object in the bucket.

cbACL :: Lens' CreateBucket (Maybe BucketCannedACL) Source

The canned ACL to apply to the bucket.

Destructuring the Response

createBucketResponse Source

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

Use one of the following lenses to modify other fields as desired:

Response Lenses