amazonka-s3-1.3.5: 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.PutObjectACL

Contents

Description

uses the acl subresource to set the access control list (ACL) permissions for an object that already exists in a bucket

See: AWS API Reference for PutObjectACL.

Synopsis

Creating a Request

putObjectACL Source

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

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

Request Lenses

poaGrantReadACP :: Lens' PutObjectACL (Maybe Text) Source

Allows grantee to read the bucket ACL.

poaGrantWriteACP :: Lens' PutObjectACL (Maybe Text) Source

Allows grantee to write the ACL for the applicable bucket.

poaGrantRead :: Lens' PutObjectACL (Maybe Text) Source

Allows grantee to list the objects in the bucket.

poaGrantFullControl :: Lens' PutObjectACL (Maybe Text) Source

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

poaContentMD5 :: Lens' PutObjectACL (Maybe Text) Source

Undocumented member.

poaGrantWrite :: Lens' PutObjectACL (Maybe Text) Source

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

poaACL :: Lens' PutObjectACL (Maybe ObjectCannedACL) Source

The canned ACL to apply to the object.

poaKey :: Lens' PutObjectACL ObjectKey Source

Undocumented member.

Destructuring the Response

putObjectACLResponse Source

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

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

Response Lenses