amazonka-appsync-1.6.0: Amazon AppSync 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.AppSync.ListDataSources

Contents

Description

Lists the data sources for a given API.

Synopsis

Creating a Request

listDataSources Source #

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

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

  • ldsNextToken - An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
  • ldsMaxResults - The maximum number of results you want the request to return.
  • ldsApiId - The API ID.

data ListDataSources Source #

See: listDataSources smart constructor.

Instances

Eq ListDataSources Source # 
Data ListDataSources Source # 

Methods

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

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

toConstr :: ListDataSources -> Constr #

dataTypeOf :: ListDataSources -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListDataSources Source # 
Show ListDataSources Source # 
Generic ListDataSources Source # 
Hashable ListDataSources Source # 
NFData ListDataSources Source # 

Methods

rnf :: ListDataSources -> () #

AWSRequest ListDataSources Source # 
ToHeaders ListDataSources Source # 
ToPath ListDataSources Source # 
ToQuery ListDataSources Source # 
type Rep ListDataSources Source # 
type Rep ListDataSources = D1 * (MetaData "ListDataSources" "Network.AWS.AppSync.ListDataSources" "amazonka-appsync-1.6.0-T90u3sf1xIAHhsH8NXxyF" False) (C1 * (MetaCons "ListDataSources'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_ldsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_ldsMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Nat))) (S1 * (MetaSel (Just Symbol "_ldsApiId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)))))
type Rs ListDataSources Source # 

Request Lenses

ldsNextToken :: Lens' ListDataSources (Maybe Text) Source #

An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.

ldsMaxResults :: Lens' ListDataSources (Maybe Natural) Source #

The maximum number of results you want the request to return.

Destructuring the Response

listDataSourcesResponse Source #

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

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

data ListDataSourcesResponse Source #

See: listDataSourcesResponse smart constructor.

Instances

Eq ListDataSourcesResponse Source # 
Data ListDataSourcesResponse Source # 

Methods

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

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

toConstr :: ListDataSourcesResponse -> Constr #

dataTypeOf :: ListDataSourcesResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListDataSourcesResponse Source # 
Show ListDataSourcesResponse Source # 
Generic ListDataSourcesResponse Source # 
NFData ListDataSourcesResponse Source # 

Methods

rnf :: ListDataSourcesResponse -> () #

type Rep ListDataSourcesResponse Source # 
type Rep ListDataSourcesResponse = D1 * (MetaData "ListDataSourcesResponse" "Network.AWS.AppSync.ListDataSources" "amazonka-appsync-1.6.0-T90u3sf1xIAHhsH8NXxyF" False) (C1 * (MetaCons "ListDataSourcesResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_ldsrsDataSources") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [DataSource]))) ((:*:) * (S1 * (MetaSel (Just Symbol "_ldsrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_ldsrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

Response Lenses

ldsrsNextToken :: Lens' ListDataSourcesResponse (Maybe Text) Source #

An identifier to be passed in the next request to this operation to return the next set of items in the list.