| Copyright | (c) 2013-2015 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.S3.GetObjectACL
Description
Returns the access control list (ACL) of an object.
See: AWS API Reference for GetObjectACL.
- getObjectACL :: BucketName -> ObjectKey -> GetObjectACL
- data GetObjectACL
- goaVersionId :: Lens' GetObjectACL (Maybe ObjectVersionId)
- goaRequestPayer :: Lens' GetObjectACL (Maybe RequestPayer)
- goaBucket :: Lens' GetObjectACL BucketName
- goaKey :: Lens' GetObjectACL ObjectKey
- getObjectACLResponse :: Int -> GetObjectACLResponse
- data GetObjectACLResponse
- goarsRequestCharged :: Lens' GetObjectACLResponse (Maybe RequestCharged)
- goarsGrants :: Lens' GetObjectACLResponse [Grant]
- goarsOwner :: Lens' GetObjectACLResponse (Maybe Owner)
- goarsStatus :: Lens' GetObjectACLResponse Int
Creating a Request
Arguments
| :: BucketName | |
| -> ObjectKey | |
| -> GetObjectACL |
Creates a value of GetObjectACL with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
Request Lenses
goaVersionId :: Lens' GetObjectACL (Maybe ObjectVersionId) Source
VersionId used to reference a specific version of the object.
goaRequestPayer :: Lens' GetObjectACL (Maybe RequestPayer) Source
Undocumented member.
goaBucket :: Lens' GetObjectACL BucketName Source
Undocumented member.
goaKey :: Lens' GetObjectACL ObjectKey Source
Undocumented member.
Destructuring the Response
Arguments
| :: Int | |
| -> GetObjectACLResponse |
Creates a value of GetObjectACLResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data GetObjectACLResponse Source
See: getObjectACLResponse smart constructor.
Response Lenses
goarsRequestCharged :: Lens' GetObjectACLResponse (Maybe RequestCharged) Source
Undocumented member.
goarsGrants :: Lens' GetObjectACLResponse [Grant] Source
A list of grants.
goarsOwner :: Lens' GetObjectACLResponse (Maybe Owner) Source
Undocumented member.
goarsStatus :: Lens' GetObjectACLResponse Int Source
The response status code.