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

Safe HaskellNone
LanguageHaskell2010

Network.AWS.S3.PutBucketAcl

Contents

Description

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

http://docs.aws.amazon.com/AmazonS3/latest/API/PutBucketAcl.html

Synopsis

Request

Request constructor

Request lenses

pbaACL :: Lens' PutBucketAcl (Maybe BucketCannedACL) Source

The canned ACL to apply to the bucket.

pbaGrantFullControl :: Lens' PutBucketAcl (Maybe Text) Source

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

pbaGrantRead :: Lens' PutBucketAcl (Maybe Text) Source

Allows grantee to list the objects in the bucket.

pbaGrantReadACP :: Lens' PutBucketAcl (Maybe Text) Source

Allows grantee to read the bucket ACL.

pbaGrantWrite :: Lens' PutBucketAcl (Maybe Text) Source

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

pbaGrantWriteACP :: Lens' PutBucketAcl (Maybe Text) Source

Allows grantee to write the ACL for the applicable bucket.

Response

Response constructor