| 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.GetBucketLocation
Description
Returns the region the bucket resides in.
See: AWS API Reference for GetBucketLocation.
- getBucketLocation :: BucketName -> GetBucketLocation
- data GetBucketLocation
- gblBucket :: Lens' GetBucketLocation BucketName
- getBucketLocationResponse :: Int -> Region -> GetBucketLocationResponse
- data GetBucketLocationResponse
- grsResponseStatus :: Lens' GetBucketLocationResponse Int
- grsLocationConstraint :: Lens' GetBucketLocationResponse Region
Creating a Request
Arguments
| :: BucketName | |
| -> GetBucketLocation |
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.
Instances
Request Lenses
gblBucket :: Lens' GetBucketLocation BucketName Source
Undocumented member.
Destructuring the Response
getBucketLocationResponse Source
Arguments
| :: Int | |
| -> Region | |
| -> GetBucketLocationResponse |
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
grsResponseStatus :: Lens' GetBucketLocationResponse Int Source
The response status code.
grsLocationConstraint :: Lens' GetBucketLocationResponse Region Source
Undocumented member.