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

AWSRequest GetIntrospectionSchema Source # 
Instance details

Defined in Amazonka.AppSync.GetIntrospectionSchema

Associated Types

type AWSResponse GetIntrospectionSchema #

Generic GetIntrospectionSchema Source # 
Instance details

Defined in Amazonka.AppSync.GetIntrospectionSchema

Associated Types

type Rep GetIntrospectionSchema :: Type -> Type #

Read GetIntrospectionSchema Source # 
Instance details

Defined in Amazonka.AppSync.GetIntrospectionSchema

Show GetIntrospectionSchema Source # 
Instance details

Defined in Amazonka.AppSync.GetIntrospectionSchema

NFData GetIntrospectionSchema Source # 
Instance details

Defined in Amazonka.AppSync.GetIntrospectionSchema

Methods

rnf :: GetIntrospectionSchema -> () #

Eq GetIntrospectionSchema Source # 
Instance details

Defined in Amazonka.AppSync.GetIntrospectionSchema

Hashable GetIntrospectionSchema Source # 
Instance details

Defined in Amazonka.AppSync.GetIntrospectionSchema

type AWSResponse 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" "amazonka-appsync-2.0-4Pb6UqteLv1I9NIWaj90bg" '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))))

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.

GetIntrospectionSchema, getIntrospectionSchema_apiId - The API ID.

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
Generic GetIntrospectionSchemaResponse Source # 
Instance details

Defined in Amazonka.AppSync.GetIntrospectionSchema

Associated Types

type Rep GetIntrospectionSchemaResponse :: Type -> Type #

Read GetIntrospectionSchemaResponse Source # 
Instance details

Defined in Amazonka.AppSync.GetIntrospectionSchema

Show GetIntrospectionSchemaResponse Source # 
Instance details

Defined in Amazonka.AppSync.GetIntrospectionSchema

NFData GetIntrospectionSchemaResponse Source # 
Instance details

Defined in Amazonka.AppSync.GetIntrospectionSchema

Eq 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" "amazonka-appsync-2.0-4Pb6UqteLv1I9NIWaj90bg" '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:

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.