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

Description

Retrieves a Type object.

Synopsis

Creating a Request

data GetType Source #

See: newGetType smart constructor.

Constructors

GetType' 

Fields

Instances

Instances details
Eq GetType Source # 
Instance details

Defined in Amazonka.AppSync.GetType

Methods

(==) :: GetType -> GetType -> Bool #

(/=) :: GetType -> GetType -> Bool #

Read GetType Source # 
Instance details

Defined in Amazonka.AppSync.GetType

Show GetType Source # 
Instance details

Defined in Amazonka.AppSync.GetType

Generic GetType Source # 
Instance details

Defined in Amazonka.AppSync.GetType

Associated Types

type Rep GetType :: Type -> Type #

Methods

from :: GetType -> Rep GetType x #

to :: Rep GetType x -> GetType #

NFData GetType Source # 
Instance details

Defined in Amazonka.AppSync.GetType

Methods

rnf :: GetType -> () #

Hashable GetType Source # 
Instance details

Defined in Amazonka.AppSync.GetType

Methods

hashWithSalt :: Int -> GetType -> Int #

hash :: GetType -> Int #

AWSRequest GetType Source # 
Instance details

Defined in Amazonka.AppSync.GetType

Associated Types

type AWSResponse GetType #

ToHeaders GetType Source # 
Instance details

Defined in Amazonka.AppSync.GetType

Methods

toHeaders :: GetType -> [Header] #

ToPath GetType Source # 
Instance details

Defined in Amazonka.AppSync.GetType

Methods

toPath :: GetType -> ByteString #

ToQuery GetType Source # 
Instance details

Defined in Amazonka.AppSync.GetType

type Rep GetType Source # 
Instance details

Defined in Amazonka.AppSync.GetType

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

Defined in Amazonka.AppSync.GetType

newGetType Source #

Create a value of GetType 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:apiId:GetType', getType_apiId - The API ID.

$sel:typeName:GetType', getType_typeName - The type name.

$sel:format:GetType', getType_format - The type format: SDL or JSON.

Request Lenses

getType_format :: Lens' GetType TypeDefinitionFormat Source #

The type format: SDL or JSON.

Destructuring the Response

data GetTypeResponse Source #

See: newGetTypeResponse smart constructor.

Constructors

GetTypeResponse' 

Fields

Instances

Instances details
Eq GetTypeResponse Source # 
Instance details

Defined in Amazonka.AppSync.GetType

Read GetTypeResponse Source # 
Instance details

Defined in Amazonka.AppSync.GetType

Show GetTypeResponse Source # 
Instance details

Defined in Amazonka.AppSync.GetType

Generic GetTypeResponse Source # 
Instance details

Defined in Amazonka.AppSync.GetType

Associated Types

type Rep GetTypeResponse :: Type -> Type #

NFData GetTypeResponse Source # 
Instance details

Defined in Amazonka.AppSync.GetType

Methods

rnf :: GetTypeResponse -> () #

type Rep GetTypeResponse Source # 
Instance details

Defined in Amazonka.AppSync.GetType

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

newGetTypeResponse Source #

Create a value of GetTypeResponse 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:type':GetTypeResponse', getTypeResponse_type - The Type object.

$sel:httpStatus:GetTypeResponse', getTypeResponse_httpStatus - The response's http status code.

Response Lenses

getTypeResponse_httpStatus :: Lens' GetTypeResponse Int Source #

The response's http status code.