Copyright | (c) 2013-2018 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 |
Returns the access control list (ACL) of an object.
Synopsis
- 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)
- goarsResponseStatus :: Lens' GetObjectACLResponse Int
Creating a Request
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:
goaVersionId
- VersionId used to reference a specific version of the object.goaRequestPayer
- Undocumented member.goaBucket
- Undocumented member.goaKey
- Undocumented member.
data GetObjectACL Source #
See: getObjectACL
smart constructor.
Instances
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.
Destructuring the Response
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:
goarsRequestCharged
- Undocumented member.goarsGrants
- A list of grants.goarsOwner
- Undocumented member.goarsResponseStatus
- -- | The response status code.
data GetObjectACLResponse Source #
See: getObjectACLResponse
smart constructor.
Instances
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.
goarsResponseStatus :: Lens' GetObjectACLResponse Int Source #
- - | The response status code.