Copyright | (c) 2013-2017 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Sets the permissions on a bucket using access control lists (ACL).
- putBucketACL :: BucketName -> PutBucketACL
- data PutBucketACL
- pbaGrantReadACP :: Lens' PutBucketACL (Maybe Text)
- pbaGrantWriteACP :: Lens' PutBucketACL (Maybe Text)
- pbaGrantRead :: Lens' PutBucketACL (Maybe Text)
- pbaGrantFullControl :: Lens' PutBucketACL (Maybe Text)
- pbaContentMD5 :: Lens' PutBucketACL (Maybe Text)
- pbaAccessControlPolicy :: Lens' PutBucketACL (Maybe AccessControlPolicy)
- pbaGrantWrite :: Lens' PutBucketACL (Maybe Text)
- pbaACL :: Lens' PutBucketACL (Maybe BucketCannedACL)
- pbaBucket :: Lens' PutBucketACL BucketName
- putBucketACLResponse :: PutBucketACLResponse
- data PutBucketACLResponse
Creating a Request
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:
pbaGrantReadACP
- Allows grantee to read the bucket ACL.pbaGrantWriteACP
- Allows grantee to write the ACL for the applicable bucket.pbaGrantRead
- Allows grantee to list the objects in the bucket.pbaGrantFullControl
- Allows grantee the read, write, read ACP, and write ACP permissions on the bucket.pbaContentMD5
- Undocumented member.pbaAccessControlPolicy
- Undocumented member.pbaGrantWrite
- Allows grantee to create, overwrite, and delete any object in the bucket.pbaACL
- The canned ACL to apply to the bucket.pbaBucket
- Undocumented member.
data PutBucketACL Source #
See: putBucketACL
smart constructor.
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.
pbaAccessControlPolicy :: Lens' PutBucketACL (Maybe AccessControlPolicy) 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.
pbaBucket :: Lens' PutBucketACL BucketName Source #
Undocumented member.
Destructuring the Response
putBucketACLResponse :: PutBucketACLResponse Source #
Creates a value of PutBucketACLResponse
with the minimum fields required to make a request.
data PutBucketACLResponse Source #
See: putBucketACLResponse
smart constructor.