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.ListTypes

Description

Lists the types for a given API.

This operation returns paginated results.

Synopsis

Creating a Request

data ListTypes Source #

See: newListTypes smart constructor.

Constructors

ListTypes' 

Fields

Instances

Instances details
Eq ListTypes Source # 
Instance details

Defined in Amazonka.AppSync.ListTypes

Read ListTypes Source # 
Instance details

Defined in Amazonka.AppSync.ListTypes

Show ListTypes Source # 
Instance details

Defined in Amazonka.AppSync.ListTypes

Generic ListTypes Source # 
Instance details

Defined in Amazonka.AppSync.ListTypes

Associated Types

type Rep ListTypes :: Type -> Type #

NFData ListTypes Source # 
Instance details

Defined in Amazonka.AppSync.ListTypes

Methods

rnf :: ListTypes -> () #

Hashable ListTypes Source # 
Instance details

Defined in Amazonka.AppSync.ListTypes

AWSPager ListTypes Source # 
Instance details

Defined in Amazonka.AppSync.ListTypes

AWSRequest ListTypes Source # 
Instance details

Defined in Amazonka.AppSync.ListTypes

Associated Types

type AWSResponse ListTypes #

ToHeaders ListTypes Source # 
Instance details

Defined in Amazonka.AppSync.ListTypes

Methods

toHeaders :: ListTypes -> [Header] #

ToPath ListTypes Source # 
Instance details

Defined in Amazonka.AppSync.ListTypes

ToQuery ListTypes Source # 
Instance details

Defined in Amazonka.AppSync.ListTypes

type Rep ListTypes Source # 
Instance details

Defined in Amazonka.AppSync.ListTypes

type Rep ListTypes = D1 ('MetaData "ListTypes" "Amazonka.AppSync.ListTypes" "libZSservicesZSamazonka-appsyncZSamazonka-appsync" 'False) (C1 ('MetaCons "ListTypes'" '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) :*: S1 ('MetaSel ('Just "format") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TypeDefinitionFormat))))
type AWSResponse ListTypes Source # 
Instance details

Defined in Amazonka.AppSync.ListTypes

newListTypes Source #

Create a value of ListTypes 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:ListTypes', listTypes_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:ListTypes', listTypes_maxResults - The maximum number of results you want the request to return.

$sel:apiId:ListTypes', listTypes_apiId - The API ID.

$sel:format:ListTypes', listTypes_format - The type format: SDL or JSON.

Request Lenses

listTypes_nextToken :: Lens' ListTypes (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.

listTypes_maxResults :: Lens' ListTypes (Maybe Natural) Source #

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

Destructuring the Response

data ListTypesResponse Source #

See: newListTypesResponse smart constructor.

Constructors

ListTypesResponse' 

Fields

Instances

Instances details
Eq ListTypesResponse Source # 
Instance details

Defined in Amazonka.AppSync.ListTypes

Read ListTypesResponse Source # 
Instance details

Defined in Amazonka.AppSync.ListTypes

Show ListTypesResponse Source # 
Instance details

Defined in Amazonka.AppSync.ListTypes

Generic ListTypesResponse Source # 
Instance details

Defined in Amazonka.AppSync.ListTypes

Associated Types

type Rep ListTypesResponse :: Type -> Type #

NFData ListTypesResponse Source # 
Instance details

Defined in Amazonka.AppSync.ListTypes

Methods

rnf :: ListTypesResponse -> () #

type Rep ListTypesResponse Source # 
Instance details

Defined in Amazonka.AppSync.ListTypes

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

newListTypesResponse Source #

Create a value of ListTypesResponse 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:types:ListTypesResponse', listTypesResponse_types - The Type objects.

$sel:nextToken:ListTypes', listTypesResponse_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:ListTypesResponse', listTypesResponse_httpStatus - The response's http status code.

Response Lenses

listTypesResponse_nextToken :: Lens' ListTypesResponse (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.

listTypesResponse_httpStatus :: Lens' ListTypesResponse Int Source #

The response's http status code.