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

Contents

Description

Sets the permissions on a bucket using access control lists (ACL).

See: AWS API Reference for PutBucketACL.

Synopsis

Creating a Request

putBucketACL Source

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

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

Request Lenses

pbaGrantReadACP :: Lens' PutBucketACL (Maybe Text) Source

Allows grantee to read the bucket ACL.

pbaGrantWriteACP :: Lens' PutBucketACL (Maybe Text) Source

Allows grantee to write the ACL for the applicable bucket.

pbaGrantRead :: Lens' PutBucketACL (Maybe Text) Source

Allows grantee to list the objects in the bucket.

pbaGrantFullControl :: Lens' PutBucketACL (Maybe Text) Source

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

pbaContentMD5 :: Lens' PutBucketACL (Maybe Text) Source

Undocumented member.

pbaGrantWrite :: Lens' PutBucketACL (Maybe Text) Source

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

pbaACL :: Lens' PutBucketACL (Maybe BucketCannedACL) Source

The canned ACL to apply to the bucket.

Destructuring the Response

putBucketACLResponse :: PutBucketACLResponse Source

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