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

Description

Updates a Type object.

Synopsis

Creating a Request

data UpdateType Source #

See: newUpdateType smart constructor.

Constructors

UpdateType' 

Fields

Instances

Instances details
Eq UpdateType Source # 
Instance details

Defined in Amazonka.AppSync.UpdateType

Read UpdateType Source # 
Instance details

Defined in Amazonka.AppSync.UpdateType

Show UpdateType Source # 
Instance details

Defined in Amazonka.AppSync.UpdateType

Generic UpdateType Source # 
Instance details

Defined in Amazonka.AppSync.UpdateType

Associated Types

type Rep UpdateType :: Type -> Type #

NFData UpdateType Source # 
Instance details

Defined in Amazonka.AppSync.UpdateType

Methods

rnf :: UpdateType -> () #

Hashable UpdateType Source # 
Instance details

Defined in Amazonka.AppSync.UpdateType

ToJSON UpdateType Source # 
Instance details

Defined in Amazonka.AppSync.UpdateType

AWSRequest UpdateType Source # 
Instance details

Defined in Amazonka.AppSync.UpdateType

Associated Types

type AWSResponse UpdateType #

ToHeaders UpdateType Source # 
Instance details

Defined in Amazonka.AppSync.UpdateType

Methods

toHeaders :: UpdateType -> [Header] #

ToPath UpdateType Source # 
Instance details

Defined in Amazonka.AppSync.UpdateType

ToQuery UpdateType Source # 
Instance details

Defined in Amazonka.AppSync.UpdateType

type Rep UpdateType Source # 
Instance details

Defined in Amazonka.AppSync.UpdateType

type Rep UpdateType = D1 ('MetaData "UpdateType" "Amazonka.AppSync.UpdateType" "libZSservicesZSamazonka-appsyncZSamazonka-appsync" 'False) (C1 ('MetaCons "UpdateType'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "definition") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: 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 UpdateType Source # 
Instance details

Defined in Amazonka.AppSync.UpdateType

newUpdateType Source #

Create a value of UpdateType 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:definition:UpdateType', updateType_definition - The new definition.

$sel:apiId:UpdateType', updateType_apiId - The API ID.

$sel:typeName:UpdateType', updateType_typeName - The new type name.

$sel:format:UpdateType', updateType_format - The new type format: SDL or JSON.

Request Lenses

updateType_format :: Lens' UpdateType TypeDefinitionFormat Source #

The new type format: SDL or JSON.

Destructuring the Response

data UpdateTypeResponse Source #

See: newUpdateTypeResponse smart constructor.

Constructors

UpdateTypeResponse' 

Fields

Instances

Instances details
Eq UpdateTypeResponse Source # 
Instance details

Defined in Amazonka.AppSync.UpdateType

Read UpdateTypeResponse Source # 
Instance details

Defined in Amazonka.AppSync.UpdateType

Show UpdateTypeResponse Source # 
Instance details

Defined in Amazonka.AppSync.UpdateType

Generic UpdateTypeResponse Source # 
Instance details

Defined in Amazonka.AppSync.UpdateType

Associated Types

type Rep UpdateTypeResponse :: Type -> Type #

NFData UpdateTypeResponse Source # 
Instance details

Defined in Amazonka.AppSync.UpdateType

Methods

rnf :: UpdateTypeResponse -> () #

type Rep UpdateTypeResponse Source # 
Instance details

Defined in Amazonka.AppSync.UpdateType

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

newUpdateTypeResponse Source #

Create a value of UpdateTypeResponse 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':UpdateTypeResponse', updateTypeResponse_type - The updated Type object.

$sel:httpStatus:UpdateTypeResponse', updateTypeResponse_httpStatus - The response's http status code.

Response Lenses