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

Copyright(c) 2013-2017 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 Source #

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

Eq GetBucketLocation Source # 
Data GetBucketLocation Source # 

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 Source # 
Show GetBucketLocation Source # 
Generic GetBucketLocation Source # 
Hashable GetBucketLocation Source # 
NFData GetBucketLocation Source # 

Methods

rnf :: GetBucketLocation -> () #

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

Request Lenses

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.

Instances

Eq GetBucketLocationResponse Source # 
Data GetBucketLocationResponse Source # 

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 Source # 
Show GetBucketLocationResponse Source # 
Generic GetBucketLocationResponse Source # 
NFData GetBucketLocationResponse Source # 
type Rep GetBucketLocationResponse Source # 
type Rep GetBucketLocationResponse = D1 (MetaData "GetBucketLocationResponse" "Network.AWS.S3.GetBucketLocation" "amazonka-s3-1.5.0-4i2REsRgyXL98WvgynC9is" 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