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 |
Returns the region the bucket resides in.
See: AWS API Reference for GetBucketLocation.
- getBucketLocation :: BucketName -> GetBucketLocation
- data GetBucketLocation
- gblBucket :: Lens' GetBucketLocation BucketName
- getBucketLocationResponse :: Int -> GetBucketLocationResponse
- data GetBucketLocationResponse
- getrsLocationConstraint :: Lens' GetBucketLocationResponse (Maybe Region)
- getrsStatus :: Lens' GetBucketLocationResponse Int
Creating a Request
Creates a value of GetBucketLocation
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data GetBucketLocation Source
See: getBucketLocation
smart constructor.
Request Lenses
gblBucket :: Lens' GetBucketLocation BucketName Source
Undocumented member.
Destructuring the Response
getBucketLocationResponse Source
Creates a value of GetBucketLocationResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data GetBucketLocationResponse Source
See: getBucketLocationResponse
smart constructor.
Response Lenses
getrsLocationConstraint :: Lens' GetBucketLocationResponse (Maybe Region) Source
Undocumented member.
getrsStatus :: Lens' GetBucketLocationResponse Int Source
The response status code.