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

Defined in Network.AWS.AppSync.ListDataSources

Data ListDataSources Source # 
Instance details

Defined in Network.AWS.AppSync.ListDataSources

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

Defined in Network.AWS.AppSync.ListDataSources

Show ListDataSources Source # 
Instance details

Defined in Network.AWS.AppSync.ListDataSources

Generic ListDataSources Source # 
Instance details

Defined in Network.AWS.AppSync.ListDataSources

Associated Types

type Rep ListDataSources :: Type -> Type #

Hashable ListDataSources Source # 
Instance details

Defined in Network.AWS.AppSync.ListDataSources

AWSRequest ListDataSources Source # 
Instance details

Defined in Network.AWS.AppSync.ListDataSources

Associated Types

type Rs ListDataSources :: Type #

ToHeaders ListDataSources Source # 
Instance details

Defined in Network.AWS.AppSync.ListDataSources

ToPath ListDataSources Source # 
Instance details

Defined in Network.AWS.AppSync.ListDataSources

ToQuery ListDataSources Source # 
Instance details

Defined in Network.AWS.AppSync.ListDataSources

NFData ListDataSources Source # 
Instance details

Defined in Network.AWS.AppSync.ListDataSources

Methods

rnf :: ListDataSources -> () #

type Rep ListDataSources Source # 
Instance details

Defined in Network.AWS.AppSync.ListDataSources

type Rep ListDataSources = D1 (MetaData "ListDataSources" "Network.AWS.AppSync.ListDataSources" "amazonka-appsync-1.6.1-4DHxIkxAhvS86OTagCP3cH" False) (C1 (MetaCons "ListDataSources'" PrefixI True) (S1 (MetaSel (Just "_ldsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_ldsMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat)) :*: S1 (MetaSel (Just "_ldsApiId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs ListDataSources Source # 
Instance details

Defined in Network.AWS.AppSync.ListDataSources

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

Defined in Network.AWS.AppSync.ListDataSources

Data ListDataSourcesResponse Source # 
Instance details

Defined in Network.AWS.AppSync.ListDataSources

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

Defined in Network.AWS.AppSync.ListDataSources

Show ListDataSourcesResponse Source # 
Instance details

Defined in Network.AWS.AppSync.ListDataSources

Generic ListDataSourcesResponse Source # 
Instance details

Defined in Network.AWS.AppSync.ListDataSources

Associated Types

type Rep ListDataSourcesResponse :: Type -> Type #

NFData ListDataSourcesResponse Source # 
Instance details

Defined in Network.AWS.AppSync.ListDataSources

Methods

rnf :: ListDataSourcesResponse -> () #

type Rep ListDataSourcesResponse Source # 
Instance details

Defined in Network.AWS.AppSync.ListDataSources

type Rep ListDataSourcesResponse = D1 (MetaData "ListDataSourcesResponse" "Network.AWS.AppSync.ListDataSources" "amazonka-appsync-1.6.1-4DHxIkxAhvS86OTagCP3cH" False) (C1 (MetaCons "ListDataSourcesResponse'" PrefixI True) (S1 (MetaSel (Just "_ldsrsDataSources") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [DataSource])) :*: (S1 (MetaSel (Just "_ldsrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_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.