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 |
Gets the access control policy for the bucket.
Synopsis
- getBucketACL :: BucketName -> GetBucketACL
- data GetBucketACL
- gbaBucket :: Lens' GetBucketACL BucketName
- getBucketACLResponse :: Int -> GetBucketACLResponse
- data GetBucketACLResponse
- gbarsGrants :: Lens' GetBucketACLResponse [Grant]
- gbarsOwner :: Lens' GetBucketACLResponse (Maybe Owner)
- gbarsResponseStatus :: Lens' GetBucketACLResponse Int
Creating a Request
Creates a value of GetBucketACL
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gbaBucket
- Undocumented member.
data GetBucketACL Source #
See: getBucketACL
smart constructor.
Instances
Request Lenses
gbaBucket :: Lens' GetBucketACL BucketName Source #
Undocumented member.
Destructuring the Response
Creates a value of GetBucketACLResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gbarsGrants
- A list of grants.gbarsOwner
- Undocumented member.gbarsResponseStatus
- -- | The response status code.
data GetBucketACLResponse Source #
See: getBucketACLResponse
smart constructor.
Instances
Response Lenses
gbarsGrants :: Lens' GetBucketACLResponse [Grant] Source #
A list of grants.
gbarsOwner :: Lens' GetBucketACLResponse (Maybe Owner) Source #
Undocumented member.
gbarsResponseStatus :: Lens' GetBucketACLResponse Int Source #
- - | The response status code.