Safe Haskell | None |
---|---|
Language | Haskell2010 |
Returns the access control list (ACL) of an object.
http://docs.aws.amazon.com/AmazonS3/latest/API/GetObjectAcl.html
- data GetObjectAcl
- getObjectAcl :: Text -> Text -> GetObjectAcl
- goaBucket :: Lens' GetObjectAcl Text
- goaKey :: Lens' GetObjectAcl Text
- goaVersionId :: Lens' GetObjectAcl (Maybe Text)
- data GetObjectAclResponse
- getObjectAclResponse :: GetObjectAclResponse
- goarGrants :: Lens' GetObjectAclResponse [Grant]
- goarOwner :: Lens' GetObjectAclResponse (Maybe Owner)
Request
data GetObjectAcl Source
Request constructor
:: Text | |
-> Text | |
-> GetObjectAcl |
GetObjectAcl
constructor.
The fields accessible through corresponding lenses are:
Request lenses
goaVersionId :: Lens' GetObjectAcl (Maybe Text) Source
VersionId used to reference a specific version of the object.
Response
Response constructor
getObjectAclResponse :: GetObjectAclResponse Source
GetObjectAclResponse
constructor.
The fields accessible through corresponding lenses are:
goarGrants
::
[Grant
]goarOwner
::
Maybe
Owner
Response lenses
goarGrants :: Lens' GetObjectAclResponse [Grant] Source
A list of grants.