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

Description

Updates a Function object.

Synopsis

Creating a Request

data UpdateFunction Source #

See: newUpdateFunction smart constructor.

Constructors

UpdateFunction' 

Fields

Instances

Instances details
Eq UpdateFunction Source # 
Instance details

Defined in Amazonka.AppSync.UpdateFunction

Read UpdateFunction Source # 
Instance details

Defined in Amazonka.AppSync.UpdateFunction

Show UpdateFunction Source # 
Instance details

Defined in Amazonka.AppSync.UpdateFunction

Generic UpdateFunction Source # 
Instance details

Defined in Amazonka.AppSync.UpdateFunction

Associated Types

type Rep UpdateFunction :: Type -> Type #

NFData UpdateFunction Source # 
Instance details

Defined in Amazonka.AppSync.UpdateFunction

Methods

rnf :: UpdateFunction -> () #

Hashable UpdateFunction Source # 
Instance details

Defined in Amazonka.AppSync.UpdateFunction

ToJSON UpdateFunction Source # 
Instance details

Defined in Amazonka.AppSync.UpdateFunction

AWSRequest UpdateFunction Source # 
Instance details

Defined in Amazonka.AppSync.UpdateFunction

Associated Types

type AWSResponse UpdateFunction #

ToHeaders UpdateFunction Source # 
Instance details

Defined in Amazonka.AppSync.UpdateFunction

ToPath UpdateFunction Source # 
Instance details

Defined in Amazonka.AppSync.UpdateFunction

ToQuery UpdateFunction Source # 
Instance details

Defined in Amazonka.AppSync.UpdateFunction

type Rep UpdateFunction Source # 
Instance details

Defined in Amazonka.AppSync.UpdateFunction

type AWSResponse UpdateFunction Source # 
Instance details

Defined in Amazonka.AppSync.UpdateFunction

newUpdateFunction Source #

Create a value of UpdateFunction 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:requestMappingTemplate:UpdateFunction', updateFunction_requestMappingTemplate - The Function request mapping template. Functions support only the 2018-05-29 version of the request mapping template.

$sel:responseMappingTemplate:UpdateFunction', updateFunction_responseMappingTemplate - The Function request mapping template.

$sel:syncConfig:UpdateFunction', updateFunction_syncConfig - Undocumented member.

$sel:description:UpdateFunction', updateFunction_description - The Function description.

$sel:apiId:UpdateFunction', updateFunction_apiId - The GraphQL API ID.

$sel:name:UpdateFunction', updateFunction_name - The Function name.

$sel:functionId:UpdateFunction', updateFunction_functionId - The function ID.

$sel:dataSourceName:UpdateFunction', updateFunction_dataSourceName - The Function DataSource name.

$sel:functionVersion:UpdateFunction', updateFunction_functionVersion - The version of the request mapping template. Currently the supported value is 2018-05-29.

Request Lenses

updateFunction_requestMappingTemplate :: Lens' UpdateFunction (Maybe Text) Source #

The Function request mapping template. Functions support only the 2018-05-29 version of the request mapping template.

updateFunction_responseMappingTemplate :: Lens' UpdateFunction (Maybe Text) Source #

The Function request mapping template.

updateFunction_functionVersion :: Lens' UpdateFunction Text Source #

The version of the request mapping template. Currently the supported value is 2018-05-29.

Destructuring the Response

data UpdateFunctionResponse Source #

See: newUpdateFunctionResponse smart constructor.

Constructors

UpdateFunctionResponse' 

Fields

Instances

Instances details
Eq UpdateFunctionResponse Source # 
Instance details

Defined in Amazonka.AppSync.UpdateFunction

Read UpdateFunctionResponse Source # 
Instance details

Defined in Amazonka.AppSync.UpdateFunction

Show UpdateFunctionResponse Source # 
Instance details

Defined in Amazonka.AppSync.UpdateFunction

Generic UpdateFunctionResponse Source # 
Instance details

Defined in Amazonka.AppSync.UpdateFunction

Associated Types

type Rep UpdateFunctionResponse :: Type -> Type #

NFData UpdateFunctionResponse Source # 
Instance details

Defined in Amazonka.AppSync.UpdateFunction

Methods

rnf :: UpdateFunctionResponse -> () #

type Rep UpdateFunctionResponse Source # 
Instance details

Defined in Amazonka.AppSync.UpdateFunction

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

newUpdateFunctionResponse Source #

Create a value of UpdateFunctionResponse 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:functionConfiguration:UpdateFunctionResponse', updateFunctionResponse_functionConfiguration - The Function object.

$sel:httpStatus:UpdateFunctionResponse', updateFunctionResponse_httpStatus - The response's http status code.

Response Lenses