Safe Haskell | None |
---|---|
Language | Haskell2010 |
uses the acl subresource to set the access control list (ACL) permissions for an object that already exists in a bucket.
http://docs.aws.amazon.com/AmazonS3/latest/API/PutObjectAcl.html
- data PutObjectAcl
- putObjectAcl :: Text -> Text -> PutObjectAcl
- poaACL :: Lens' PutObjectAcl (Maybe Text)
- poaAccessControlPolicy :: Lens' PutObjectAcl (Maybe AccessControlPolicy)
- poaBucket :: Lens' PutObjectAcl Text
- poaContentMD5 :: Lens' PutObjectAcl (Maybe Text)
- poaGrantFullControl :: Lens' PutObjectAcl (Maybe Text)
- poaGrantRead :: Lens' PutObjectAcl (Maybe Text)
- poaGrantReadACP :: Lens' PutObjectAcl (Maybe Text)
- poaGrantWrite :: Lens' PutObjectAcl (Maybe Text)
- poaGrantWriteACP :: Lens' PutObjectAcl (Maybe Text)
- poaKey :: Lens' PutObjectAcl Text
- data PutObjectAclResponse
- putObjectAclResponse :: PutObjectAclResponse
Request
data PutObjectAcl Source
Request constructor
:: Text | |
-> Text | |
-> PutObjectAcl |
PutObjectAcl
constructor.
The fields accessible through corresponding lenses are:
Request lenses
poaGrantFullControl :: Lens' PutObjectAcl (Maybe Text) Source
Allows grantee the read, write, read ACP, and write ACP permissions on the bucket.
poaGrantRead :: Lens' PutObjectAcl (Maybe Text) Source
Allows grantee to list the objects in the bucket.
poaGrantReadACP :: Lens' PutObjectAcl (Maybe Text) Source
Allows grantee to read the bucket ACL.
poaGrantWrite :: Lens' PutObjectAcl (Maybe Text) Source
Allows grantee to create, overwrite, and delete any object in the bucket.
poaGrantWriteACP :: Lens' PutObjectAcl (Maybe Text) Source
Allows grantee to write the ACL for the applicable bucket.
Response
Response constructor
putObjectAclResponse :: PutObjectAclResponse Source
PutObjectAclResponse
constructor.