amazonka-mobile-1.5.0: Amazon Mobile 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.Mobile.ListBundles

Contents

Description

List all available bundles.

Synopsis

Creating a Request

listBundles :: ListBundles Source #

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

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

  • lbNextToken - Pagination token. Set to null to start listing bundles from start. If non-null pagination token is returned in a result, then pass its value in here in another request to list more bundles.
  • lbMaxResults - Maximum number of records to list in a single response.

data ListBundles Source #

Request structure to request all available bundles.

See: listBundles smart constructor.

Instances

Eq ListBundles Source # 
Data ListBundles Source # 

Methods

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

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

toConstr :: ListBundles -> Constr #

dataTypeOf :: ListBundles -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListBundles Source # 
Show ListBundles Source # 
Generic ListBundles Source # 

Associated Types

type Rep ListBundles :: * -> * #

Hashable ListBundles Source # 
NFData ListBundles Source # 

Methods

rnf :: ListBundles -> () #

AWSRequest ListBundles Source # 
ToQuery ListBundles Source # 
ToPath ListBundles Source # 
ToHeaders ListBundles Source # 

Methods

toHeaders :: ListBundles -> [Header] #

type Rep ListBundles Source # 
type Rep ListBundles = D1 (MetaData "ListBundles" "Network.AWS.Mobile.ListBundles" "amazonka-mobile-1.5.0-7pdfDsS3Pa88IEj9Qidb1o" False) (C1 (MetaCons "ListBundles'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_lbNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_lbMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int)))))
type Rs ListBundles Source # 

Request Lenses

lbNextToken :: Lens' ListBundles (Maybe Text) Source #

Pagination token. Set to null to start listing bundles from start. If non-null pagination token is returned in a result, then pass its value in here in another request to list more bundles.

lbMaxResults :: Lens' ListBundles (Maybe Int) Source #

Maximum number of records to list in a single response.

Destructuring the Response

listBundlesResponse Source #

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

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

  • lbrsBundleList - A list of bundles.
  • lbrsNextToken - Pagination token. If non-null pagination token is returned in a result, then pass its value in another request to fetch more entries.
  • lbrsResponseStatus - -- | The response status code.

data ListBundlesResponse Source #

Result structure contains a list of all available bundles with details.

See: listBundlesResponse smart constructor.

Instances

Eq ListBundlesResponse Source # 
Data ListBundlesResponse Source # 

Methods

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

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

toConstr :: ListBundlesResponse -> Constr #

dataTypeOf :: ListBundlesResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListBundlesResponse Source # 
Show ListBundlesResponse Source # 
Generic ListBundlesResponse Source # 
NFData ListBundlesResponse Source # 

Methods

rnf :: ListBundlesResponse -> () #

type Rep ListBundlesResponse Source # 
type Rep ListBundlesResponse = D1 (MetaData "ListBundlesResponse" "Network.AWS.Mobile.ListBundles" "amazonka-mobile-1.5.0-7pdfDsS3Pa88IEj9Qidb1o" False) (C1 (MetaCons "ListBundlesResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_lbrsBundleList") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [BundleDetails]))) ((:*:) (S1 (MetaSel (Just Symbol "_lbrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_lbrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))))

Response Lenses

lbrsNextToken :: Lens' ListBundlesResponse (Maybe Text) Source #

Pagination token. If non-null pagination token is returned in a result, then pass its value in another request to fetch more entries.

lbrsResponseStatus :: Lens' ListBundlesResponse Int Source #

  • - | The response status code.