libZSservicesZSamazonka-appsyncZSamazonka-appsync
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.AppSync.ListDataSources

Description

Lists the data sources for a given API.

This operation returns paginated results.

Synopsis

Creating a Request

data ListDataSources Source #

See: newListDataSources smart constructor.

Constructors

ListDataSources' 

Fields

  • nextToken :: Maybe Text

    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.

  • maxResults :: Maybe Natural

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

  • apiId :: Text

    The API ID.

Instances

Instances details
Eq ListDataSources Source # 
Instance details

Defined in Amazonka.AppSync.ListDataSources

Read ListDataSources Source # 
Instance details

Defined in Amazonka.AppSync.ListDataSources

Show ListDataSources Source # 
Instance details

Defined in Amazonka.AppSync.ListDataSources

Generic ListDataSources Source # 
Instance details

Defined in Amazonka.AppSync.ListDataSources

Associated Types

type Rep ListDataSources :: Type -> Type #

NFData ListDataSources Source # 
Instance details

Defined in Amazonka.AppSync.ListDataSources

Methods

rnf :: ListDataSources -> () #

Hashable ListDataSources Source # 
Instance details

Defined in Amazonka.AppSync.ListDataSources

AWSPager ListDataSources Source # 
Instance details

Defined in Amazonka.AppSync.ListDataSources

AWSRequest ListDataSources Source # 
Instance details

Defined in Amazonka.AppSync.ListDataSources

Associated Types

type AWSResponse ListDataSources #

ToHeaders ListDataSources Source # 
Instance details

Defined in Amazonka.AppSync.ListDataSources

ToPath ListDataSources Source # 
Instance details

Defined in Amazonka.AppSync.ListDataSources

ToQuery ListDataSources Source # 
Instance details

Defined in Amazonka.AppSync.ListDataSources

type Rep ListDataSources Source # 
Instance details

Defined in Amazonka.AppSync.ListDataSources

type Rep ListDataSources = D1 ('MetaData "ListDataSources" "Amazonka.AppSync.ListDataSources" "libZSservicesZSamazonka-appsyncZSamazonka-appsync" 'False) (C1 ('MetaCons "ListDataSources'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "apiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse ListDataSources Source # 
Instance details

Defined in Amazonka.AppSync.ListDataSources

newListDataSources Source #

Create a value of ListDataSources with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:nextToken:ListDataSources', listDataSources_nextToken - 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.

$sel:maxResults:ListDataSources', listDataSources_maxResults - The maximum number of results you want the request to return.

$sel:apiId:ListDataSources', listDataSources_apiId - The API ID.

Request Lenses

listDataSources_nextToken :: 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.

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

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

Destructuring the Response

data ListDataSourcesResponse Source #

See: newListDataSourcesResponse smart constructor.

Constructors

ListDataSourcesResponse' 

Fields

Instances

Instances details
Eq ListDataSourcesResponse Source # 
Instance details

Defined in Amazonka.AppSync.ListDataSources

Read ListDataSourcesResponse Source # 
Instance details

Defined in Amazonka.AppSync.ListDataSources

Show ListDataSourcesResponse Source # 
Instance details

Defined in Amazonka.AppSync.ListDataSources

Generic ListDataSourcesResponse Source # 
Instance details

Defined in Amazonka.AppSync.ListDataSources

Associated Types

type Rep ListDataSourcesResponse :: Type -> Type #

NFData ListDataSourcesResponse Source # 
Instance details

Defined in Amazonka.AppSync.ListDataSources

Methods

rnf :: ListDataSourcesResponse -> () #

type Rep ListDataSourcesResponse Source # 
Instance details

Defined in Amazonka.AppSync.ListDataSources

type Rep ListDataSourcesResponse = D1 ('MetaData "ListDataSourcesResponse" "Amazonka.AppSync.ListDataSources" "libZSservicesZSamazonka-appsyncZSamazonka-appsync" 'False) (C1 ('MetaCons "ListDataSourcesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "dataSources") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [DataSource])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListDataSourcesResponse Source #

Create a value of ListDataSourcesResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:dataSources:ListDataSourcesResponse', listDataSourcesResponse_dataSources - The DataSource objects.

$sel:nextToken:ListDataSources', listDataSourcesResponse_nextToken - An identifier to be passed in the next request to this operation to return the next set of items in the list.

$sel:httpStatus:ListDataSourcesResponse', listDataSourcesResponse_httpStatus - The response's http status code.

Response Lenses

listDataSourcesResponse_nextToken :: 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.