| Copyright | (c) 2013-2017 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 | 
Network.AWS.S3.GetBucketLocation
Description
Returns the region the bucket resides in.
- getBucketLocation :: BucketName -> GetBucketLocation
 - data GetBucketLocation
 - gblBucket :: Lens' GetBucketLocation BucketName
 - getBucketLocationResponse :: Int -> LocationConstraint -> GetBucketLocationResponse
 - data GetBucketLocationResponse
 - gblbrsResponseStatus :: Lens' GetBucketLocationResponse Int
 - gblbrsLocationConstraint :: Lens' GetBucketLocationResponse LocationConstraint
 
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:
gblBucket- Undocumented member.
data GetBucketLocation Source #
See: getBucketLocation smart constructor.
Instances
Request Lenses
gblBucket :: Lens' GetBucketLocation BucketName Source #
Undocumented member.
Destructuring the Response
getBucketLocationResponse Source #
Arguments
| :: Int | |
| -> LocationConstraint | |
| -> 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:
gblbrsResponseStatus- -- | The response status code.gblbrsLocationConstraint- Undocumented member.
data GetBucketLocationResponse Source #
See: getBucketLocationResponse smart constructor.
Response Lenses
gblbrsResponseStatus :: Lens' GetBucketLocationResponse Int Source #
- - | The response status code.
 
gblbrsLocationConstraint :: Lens' GetBucketLocationResponse LocationConstraint Source #
Undocumented member.