amazonka-s3-1.6.1: 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 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 # 
Instance details

Defined in Network.AWS.S3.GetBucketLocation

Data GetBucketLocation Source # 
Instance details

Defined in Network.AWS.S3.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 Source # 
Instance details

Defined in Network.AWS.S3.GetBucketLocation

Show GetBucketLocation Source # 
Instance details

Defined in Network.AWS.S3.GetBucketLocation

Generic GetBucketLocation Source # 
Instance details

Defined in Network.AWS.S3.GetBucketLocation

Associated Types

type Rep GetBucketLocation :: Type -> Type #

Hashable GetBucketLocation Source # 
Instance details

Defined in Network.AWS.S3.GetBucketLocation

AWSRequest GetBucketLocation Source # 
Instance details

Defined in Network.AWS.S3.GetBucketLocation

Associated Types

type Rs GetBucketLocation :: Type #

ToHeaders GetBucketLocation Source # 
Instance details

Defined in Network.AWS.S3.GetBucketLocation

ToPath GetBucketLocation Source # 
Instance details

Defined in Network.AWS.S3.GetBucketLocation

ToQuery GetBucketLocation Source # 
Instance details

Defined in Network.AWS.S3.GetBucketLocation

NFData GetBucketLocation Source # 
Instance details

Defined in Network.AWS.S3.GetBucketLocation

Methods

rnf :: GetBucketLocation -> () #

type Rep GetBucketLocation Source # 
Instance details

Defined in Network.AWS.S3.GetBucketLocation

type Rep GetBucketLocation = D1 (MetaData "GetBucketLocation" "Network.AWS.S3.GetBucketLocation" "amazonka-s3-1.6.1-I7VsiKive605KPmKsVgrUz" True) (C1 (MetaCons "GetBucketLocation'" PrefixI True) (S1 (MetaSel (Just "_gblBucket") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 BucketName)))
type Rs GetBucketLocation Source # 
Instance details

Defined in Network.AWS.S3.GetBucketLocation

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 # 
Instance details

Defined in Network.AWS.S3.GetBucketLocation

Data GetBucketLocationResponse Source # 
Instance details

Defined in Network.AWS.S3.GetBucketLocation

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 # 
Instance details

Defined in Network.AWS.S3.GetBucketLocation

Show GetBucketLocationResponse Source # 
Instance details

Defined in Network.AWS.S3.GetBucketLocation

Generic GetBucketLocationResponse Source # 
Instance details

Defined in Network.AWS.S3.GetBucketLocation

Associated Types

type Rep GetBucketLocationResponse :: Type -> Type #

NFData GetBucketLocationResponse Source # 
Instance details

Defined in Network.AWS.S3.GetBucketLocation

type Rep GetBucketLocationResponse Source # 
Instance details

Defined in Network.AWS.S3.GetBucketLocation

type Rep GetBucketLocationResponse = D1 (MetaData "GetBucketLocationResponse" "Network.AWS.S3.GetBucketLocation" "amazonka-s3-1.6.1-I7VsiKive605KPmKsVgrUz" False) (C1 (MetaCons "GetBucketLocationResponse'" PrefixI True) (S1 (MetaSel (Just "_gblbrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int) :*: S1 (MetaSel (Just "_gblbrsLocationConstraint") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 LocationConstraint)))

Response Lenses