amazonka-s3-1.6.0: Amazon Simple Storage Service SDK.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.S3.GetBucketLocation

Contents

Description

Returns the region the bucket resides in.

Synopsis

Creating a Request

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 #

See: getBucketLocation smart constructor.

Instances

Eq GetBucketLocation # 
Data GetBucketLocation # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GetBucketLocation -> c GetBucketLocation #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GetBucketLocation #

toConstr :: GetBucketLocation -> Constr #

dataTypeOf :: GetBucketLocation -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c GetBucketLocation) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GetBucketLocation) #

gmapT :: (forall b. Data b => b -> b) -> GetBucketLocation -> GetBucketLocation #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GetBucketLocation -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GetBucketLocation -> r #

gmapQ :: (forall d. Data d => d -> u) -> GetBucketLocation -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GetBucketLocation -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GetBucketLocation -> m GetBucketLocation #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GetBucketLocation -> m GetBucketLocation #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GetBucketLocation -> m GetBucketLocation #

Read GetBucketLocation # 
Show GetBucketLocation # 
Generic GetBucketLocation # 
Hashable GetBucketLocation # 
NFData GetBucketLocation # 

Methods

rnf :: GetBucketLocation -> () #

AWSRequest GetBucketLocation # 
ToHeaders GetBucketLocation # 
ToPath GetBucketLocation # 
ToQuery GetBucketLocation # 
type Rep GetBucketLocation # 
type Rep GetBucketLocation = D1 * (MetaData "GetBucketLocation" "Network.AWS.S3.GetBucketLocation" "amazonka-s3-1.6.0-7IU4ob52e2UJs8PzXUUtYL" True) (C1 * (MetaCons "GetBucketLocation'" PrefixI True) (S1 * (MetaSel (Just Symbol "_gblBucket") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * BucketName)))
type Rs GetBucketLocation # 

Request Lenses

Destructuring the Response

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 #

See: getBucketLocationResponse smart constructor.

Instances

Eq GetBucketLocationResponse # 
Data GetBucketLocationResponse # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GetBucketLocationResponse -> c GetBucketLocationResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GetBucketLocationResponse #

toConstr :: GetBucketLocationResponse -> Constr #

dataTypeOf :: GetBucketLocationResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c GetBucketLocationResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GetBucketLocationResponse) #

gmapT :: (forall b. Data b => b -> b) -> GetBucketLocationResponse -> GetBucketLocationResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GetBucketLocationResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GetBucketLocationResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> GetBucketLocationResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GetBucketLocationResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GetBucketLocationResponse -> m GetBucketLocationResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GetBucketLocationResponse -> m GetBucketLocationResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GetBucketLocationResponse -> m GetBucketLocationResponse #

Read GetBucketLocationResponse # 
Show GetBucketLocationResponse # 
Generic GetBucketLocationResponse # 
NFData GetBucketLocationResponse # 
type Rep GetBucketLocationResponse # 
type Rep GetBucketLocationResponse = D1 * (MetaData "GetBucketLocationResponse" "Network.AWS.S3.GetBucketLocation" "amazonka-s3-1.6.0-7IU4ob52e2UJs8PzXUUtYL" False) (C1 * (MetaCons "GetBucketLocationResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_gblbrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)) (S1 * (MetaSel (Just Symbol "_gblbrsLocationConstraint") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * LocationConstraint))))

Response Lenses

gblbrsResponseStatus :: Lens' GetBucketLocationResponse Int #

  • - | The response status code.