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

Description

Updates a Type object.

Synopsis

Creating a Request

data UpdateType Source #

See: newUpdateType smart constructor.

Constructors

UpdateType' 

Fields

Instances

Instances details
ToJSON UpdateType Source # 
Instance details

Defined in Amazonka.AppSync.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

AWSRequest UpdateType Source # 
Instance details

Defined in Amazonka.AppSync.UpdateType

Associated Types

type AWSResponse UpdateType #

Generic UpdateType Source # 
Instance details

Defined in Amazonka.AppSync.UpdateType

Associated Types

type Rep UpdateType :: Type -> Type #

Read UpdateType Source # 
Instance details

Defined in Amazonka.AppSync.UpdateType

Show UpdateType Source # 
Instance details

Defined in Amazonka.AppSync.UpdateType

NFData UpdateType Source # 
Instance details

Defined in Amazonka.AppSync.UpdateType

Methods

rnf :: UpdateType -> () #

Eq UpdateType Source # 
Instance details

Defined in Amazonka.AppSync.UpdateType

Hashable UpdateType Source # 
Instance details

Defined in Amazonka.AppSync.UpdateType

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

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:

UpdateType, updateType_definition - The new definition.

UpdateType, updateType_apiId - The API ID.

UpdateType, updateType_typeName - The new type name.

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

Defined in Amazonka.AppSync.UpdateType

Associated Types

type Rep UpdateTypeResponse :: Type -> Type #

Read UpdateTypeResponse Source # 
Instance details

Defined in Amazonka.AppSync.UpdateType

Show UpdateTypeResponse Source # 
Instance details

Defined in Amazonka.AppSync.UpdateType

NFData UpdateTypeResponse Source # 
Instance details

Defined in Amazonka.AppSync.UpdateType

Methods

rnf :: UpdateTypeResponse -> () #

Eq UpdateTypeResponse Source # 
Instance details

Defined in Amazonka.AppSync.UpdateType

type Rep UpdateTypeResponse Source # 
Instance details

Defined in Amazonka.AppSync.UpdateType

type Rep UpdateTypeResponse = D1 ('MetaData "UpdateTypeResponse" "Amazonka.AppSync.UpdateType" "amazonka-appsync-2.0-4Pb6UqteLv1I9NIWaj90bg" '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:

UpdateTypeResponse, updateTypeResponse_type - The updated Type object.

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

Response Lenses