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

Description

Retrieves the introspection schema for a GraphQL API.

Synopsis

Creating a Request

data GetIntrospectionSchema Source #

See: newGetIntrospectionSchema smart constructor.

Constructors

GetIntrospectionSchema' 

Fields

Instances

Instances details
Eq GetIntrospectionSchema Source # 
Instance details

Defined in Amazonka.AppSync.GetIntrospectionSchema

Read GetIntrospectionSchema Source # 
Instance details

Defined in Amazonka.AppSync.GetIntrospectionSchema

Show GetIntrospectionSchema Source # 
Instance details

Defined in Amazonka.AppSync.GetIntrospectionSchema

Generic GetIntrospectionSchema Source # 
Instance details

Defined in Amazonka.AppSync.GetIntrospectionSchema

Associated Types

type Rep GetIntrospectionSchema :: Type -> Type #

NFData GetIntrospectionSchema Source # 
Instance details

Defined in Amazonka.AppSync.GetIntrospectionSchema

Methods

rnf :: GetIntrospectionSchema -> () #

Hashable GetIntrospectionSchema Source # 
Instance details

Defined in Amazonka.AppSync.GetIntrospectionSchema

AWSRequest GetIntrospectionSchema Source # 
Instance details

Defined in Amazonka.AppSync.GetIntrospectionSchema

Associated Types

type AWSResponse GetIntrospectionSchema #

ToHeaders GetIntrospectionSchema Source # 
Instance details

Defined in Amazonka.AppSync.GetIntrospectionSchema

ToPath GetIntrospectionSchema Source # 
Instance details

Defined in Amazonka.AppSync.GetIntrospectionSchema

ToQuery GetIntrospectionSchema Source # 
Instance details

Defined in Amazonka.AppSync.GetIntrospectionSchema

type Rep GetIntrospectionSchema Source # 
Instance details

Defined in Amazonka.AppSync.GetIntrospectionSchema

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

Defined in Amazonka.AppSync.GetIntrospectionSchema

newGetIntrospectionSchema Source #

Create a value of GetIntrospectionSchema 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:includeDirectives:GetIntrospectionSchema', getIntrospectionSchema_includeDirectives - A flag that specifies whether the schema introspection should contain directives.

$sel:apiId:GetIntrospectionSchema', getIntrospectionSchema_apiId - The API ID.

$sel:format:GetIntrospectionSchema', getIntrospectionSchema_format - The schema format: SDL or JSON.

Request Lenses

getIntrospectionSchema_includeDirectives :: Lens' GetIntrospectionSchema (Maybe Bool) Source #

A flag that specifies whether the schema introspection should contain directives.

Destructuring the Response

data GetIntrospectionSchemaResponse Source #

See: newGetIntrospectionSchemaResponse smart constructor.

Constructors

GetIntrospectionSchemaResponse' 

Fields

Instances

Instances details
Eq GetIntrospectionSchemaResponse Source # 
Instance details

Defined in Amazonka.AppSync.GetIntrospectionSchema

Read GetIntrospectionSchemaResponse Source # 
Instance details

Defined in Amazonka.AppSync.GetIntrospectionSchema

Show GetIntrospectionSchemaResponse Source # 
Instance details

Defined in Amazonka.AppSync.GetIntrospectionSchema

Generic GetIntrospectionSchemaResponse Source # 
Instance details

Defined in Amazonka.AppSync.GetIntrospectionSchema

Associated Types

type Rep GetIntrospectionSchemaResponse :: Type -> Type #

NFData GetIntrospectionSchemaResponse Source # 
Instance details

Defined in Amazonka.AppSync.GetIntrospectionSchema

type Rep GetIntrospectionSchemaResponse Source # 
Instance details

Defined in Amazonka.AppSync.GetIntrospectionSchema

type Rep GetIntrospectionSchemaResponse = D1 ('MetaData "GetIntrospectionSchemaResponse" "Amazonka.AppSync.GetIntrospectionSchema" "libZSservicesZSamazonka-appsyncZSamazonka-appsync" 'False) (C1 ('MetaCons "GetIntrospectionSchemaResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "schema") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ByteString)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetIntrospectionSchemaResponse Source #

Create a value of GetIntrospectionSchemaResponse 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:schema:GetIntrospectionSchemaResponse', getIntrospectionSchemaResponse_schema - The schema, in GraphQL Schema Definition Language (SDL) format.

For more information, see the GraphQL SDL documentation.

$sel:httpStatus:GetIntrospectionSchemaResponse', getIntrospectionSchemaResponse_httpStatus - The response's http status code.

Response Lenses

getIntrospectionSchemaResponse_schema :: Lens' GetIntrospectionSchemaResponse (Maybe ByteString) Source #

The schema, in GraphQL Schema Definition Language (SDL) format.

For more information, see the GraphQL SDL documentation.