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 |
Gets the access control policy for the bucket.
See: AWS API Reference for GetBucketACL.
- getBucketACL :: BucketName -> GetBucketACL
- data GetBucketACL
- gbaBucket :: Lens' GetBucketACL BucketName
- getBucketACLResponse :: Int -> GetBucketACLResponse
- data GetBucketACLResponse
- gbarsGrants :: Lens' GetBucketACLResponse [Grant]
- gbarsOwner :: Lens' GetBucketACLResponse (Maybe Owner)
- gbarsStatus :: 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:
data GetBucketACL Source
See: getBucketACL
smart constructor.
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:
data GetBucketACLResponse Source
See: getBucketACLResponse
smart constructor.
Response Lenses
gbarsGrants :: Lens' GetBucketACLResponse [Grant] Source
A list of grants.
gbarsOwner :: Lens' GetBucketACLResponse (Maybe Owner) Source
Undocumented member.
gbarsStatus :: Lens' GetBucketACLResponse Int Source
The response status code.