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.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 # 
Data ListBuckets Source # 

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 # 
Show ListBuckets Source # 
Generic ListBuckets Source # 

Associated Types

type Rep ListBuckets :: * -> * #

Hashable ListBuckets Source # 
NFData ListBuckets Source # 

Methods

rnf :: ListBuckets -> () #

AWSRequest ListBuckets Source # 
ToQuery ListBuckets Source # 
ToPath ListBuckets Source # 
ToHeaders ListBuckets Source # 

Methods

toHeaders :: ListBuckets -> [Header] #

type Rep ListBuckets Source # 
type Rep ListBuckets = D1 (MetaData "ListBuckets" "Network.AWS.S3.ListBuckets" "amazonka-s3-1.5.0-4i2REsRgyXL98WvgynC9is" False) (C1 (MetaCons "ListBuckets'" PrefixI False) U1)
type Rs ListBuckets Source # 

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 # 
Data ListBucketsResponse Source # 

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

Methods

rnf :: ListBucketsResponse -> () #

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

Response Lenses

lbrsResponseStatus :: Lens' ListBucketsResponse Int Source #

  • - | The response status code.