amazonka-appsync-2.0: Amazon AppSync SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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

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 #

Generic ListTypes Source # 
Instance details

Defined in Amazonka.AppSync.ListTypes

Associated Types

type Rep ListTypes :: Type -> Type #

Read ListTypes Source # 
Instance details

Defined in Amazonka.AppSync.ListTypes

Show ListTypes Source # 
Instance details

Defined in Amazonka.AppSync.ListTypes

NFData ListTypes Source # 
Instance details

Defined in Amazonka.AppSync.ListTypes

Methods

rnf :: ListTypes -> () #

Eq ListTypes Source # 
Instance details

Defined in Amazonka.AppSync.ListTypes

Hashable ListTypes Source # 
Instance details

Defined in Amazonka.AppSync.ListTypes

type AWSResponse 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" "amazonka-appsync-2.0-4Pb6UqteLv1I9NIWaj90bg" 'False) (C1 ('MetaCons "ListTypes'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "apiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "format") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TypeDefinitionFormat))))

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

ListTypes, listTypes_nextToken - An identifier that was returned from the previous call to this operation, which you can use to return the next set of items in the list.

ListTypes, listTypes_apiId - The API ID.

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

Request Lenses

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

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

listTypes_nextToken :: Lens' ListTypes (Maybe Text) Source #

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

Destructuring the Response

data ListTypesResponse Source #

See: newListTypesResponse smart constructor.

Constructors

ListTypesResponse' 

Fields

Instances

Instances details
Generic ListTypesResponse Source # 
Instance details

Defined in Amazonka.AppSync.ListTypes

Associated Types

type Rep ListTypesResponse :: Type -> Type #

Read ListTypesResponse Source # 
Instance details

Defined in Amazonka.AppSync.ListTypes

Show ListTypesResponse Source # 
Instance details

Defined in Amazonka.AppSync.ListTypes

NFData ListTypesResponse Source # 
Instance details

Defined in Amazonka.AppSync.ListTypes

Methods

rnf :: ListTypesResponse -> () #

Eq ListTypesResponse Source # 
Instance details

Defined in Amazonka.AppSync.ListTypes

type Rep ListTypesResponse Source # 
Instance details

Defined in Amazonka.AppSync.ListTypes

type Rep ListTypesResponse = D1 ('MetaData "ListTypesResponse" "Amazonka.AppSync.ListTypes" "amazonka-appsync-2.0-4Pb6UqteLv1I9NIWaj90bg" 'False) (C1 ('MetaCons "ListTypesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "types") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Type])) :*: 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:

ListTypes, listTypesResponse_nextToken - An identifier to pass in the next request to this operation to return the next set of items in the list.

$sel:types:ListTypesResponse', listTypesResponse_types - The Type objects.

$sel:httpStatus:ListTypesResponse', listTypesResponse_httpStatus - The response's http status code.

Response Lenses

listTypesResponse_nextToken :: Lens' ListTypesResponse (Maybe Text) Source #

An identifier to pass 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.