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.ListBuckets

Contents

Description

Returns a list of all buckets owned by the authenticated sender of the request.

Synopsis

Creating a Request

listBuckets :: ListBuckets Source #

Creates a value of ListBuckets with the minimum fields required to make a request.

data ListBuckets Source #

See: listBuckets smart constructor.

Instances
Eq ListBuckets Source # 
Instance details

Defined in Network.AWS.S3.ListBuckets

Data ListBuckets Source # 
Instance details

Defined in Network.AWS.S3.ListBuckets

Methods

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

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

toConstr :: ListBuckets -> Constr #

dataTypeOf :: ListBuckets -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListBuckets Source # 
Instance details

Defined in Network.AWS.S3.ListBuckets

Show ListBuckets Source # 
Instance details

Defined in Network.AWS.S3.ListBuckets

Generic ListBuckets Source # 
Instance details

Defined in Network.AWS.S3.ListBuckets

Associated Types

type Rep ListBuckets :: Type -> Type #

Hashable ListBuckets Source # 
Instance details

Defined in Network.AWS.S3.ListBuckets

AWSRequest ListBuckets Source # 
Instance details

Defined in Network.AWS.S3.ListBuckets

Associated Types

type Rs ListBuckets :: Type #

ToHeaders ListBuckets Source # 
Instance details

Defined in Network.AWS.S3.ListBuckets

Methods

toHeaders :: ListBuckets -> [Header] #

ToPath ListBuckets Source # 
Instance details

Defined in Network.AWS.S3.ListBuckets

ToQuery ListBuckets Source # 
Instance details

Defined in Network.AWS.S3.ListBuckets

NFData ListBuckets Source # 
Instance details

Defined in Network.AWS.S3.ListBuckets

Methods

rnf :: ListBuckets -> () #

type Rep ListBuckets Source # 
Instance details

Defined in Network.AWS.S3.ListBuckets

type Rep ListBuckets = D1 (MetaData "ListBuckets" "Network.AWS.S3.ListBuckets" "amazonka-s3-1.6.1-I7VsiKive605KPmKsVgrUz" False) (C1 (MetaCons "ListBuckets'" PrefixI False) (U1 :: Type -> Type))
type Rs ListBuckets Source # 
Instance details

Defined in Network.AWS.S3.ListBuckets

Destructuring the Response

listBucketsResponse Source #

Creates a value of ListBucketsResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data ListBucketsResponse Source #

See: listBucketsResponse smart constructor.

Instances
Eq ListBucketsResponse Source # 
Instance details

Defined in Network.AWS.S3.ListBuckets

Data ListBucketsResponse Source # 
Instance details

Defined in Network.AWS.S3.ListBuckets

Methods

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

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

toConstr :: ListBucketsResponse -> Constr #

dataTypeOf :: ListBucketsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListBucketsResponse Source # 
Instance details

Defined in Network.AWS.S3.ListBuckets

Show ListBucketsResponse Source # 
Instance details

Defined in Network.AWS.S3.ListBuckets

Generic ListBucketsResponse Source # 
Instance details

Defined in Network.AWS.S3.ListBuckets

Associated Types

type Rep ListBucketsResponse :: Type -> Type #

NFData ListBucketsResponse Source # 
Instance details

Defined in Network.AWS.S3.ListBuckets

Methods

rnf :: ListBucketsResponse -> () #

type Rep ListBucketsResponse Source # 
Instance details

Defined in Network.AWS.S3.ListBuckets

type Rep ListBucketsResponse = D1 (MetaData "ListBucketsResponse" "Network.AWS.S3.ListBuckets" "amazonka-s3-1.6.1-I7VsiKive605KPmKsVgrUz" False) (C1 (MetaCons "ListBucketsResponse'" PrefixI True) (S1 (MetaSel (Just "_lbrsBuckets") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Bucket])) :*: (S1 (MetaSel (Just "_lbrsOwner") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Owner)) :*: S1 (MetaSel (Just "_lbrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

lbrsResponseStatus :: Lens' ListBucketsResponse Int Source #

  • - | The response status code.