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

Description

 
Synopsis

Documentation

data FunctionConfiguration Source #

A function is a reusable entity. Multiple functions can be used to compose the resolver logic.

See: newFunctionConfiguration smart constructor.

Constructors

FunctionConfiguration' 

Fields

Instances

Instances details
Eq FunctionConfiguration Source # 
Instance details

Defined in Amazonka.AppSync.Types.FunctionConfiguration

Read FunctionConfiguration Source # 
Instance details

Defined in Amazonka.AppSync.Types.FunctionConfiguration

Show FunctionConfiguration Source # 
Instance details

Defined in Amazonka.AppSync.Types.FunctionConfiguration

Generic FunctionConfiguration Source # 
Instance details

Defined in Amazonka.AppSync.Types.FunctionConfiguration

Associated Types

type Rep FunctionConfiguration :: Type -> Type #

NFData FunctionConfiguration Source # 
Instance details

Defined in Amazonka.AppSync.Types.FunctionConfiguration

Methods

rnf :: FunctionConfiguration -> () #

Hashable FunctionConfiguration Source # 
Instance details

Defined in Amazonka.AppSync.Types.FunctionConfiguration

FromJSON FunctionConfiguration Source # 
Instance details

Defined in Amazonka.AppSync.Types.FunctionConfiguration

type Rep FunctionConfiguration Source # 
Instance details

Defined in Amazonka.AppSync.Types.FunctionConfiguration

type Rep FunctionConfiguration = D1 ('MetaData "FunctionConfiguration" "Amazonka.AppSync.Types.FunctionConfiguration" "libZSservicesZSamazonka-appsyncZSamazonka-appsync" 'False) (C1 ('MetaCons "FunctionConfiguration'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "functionArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "dataSourceName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "requestMappingTemplate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "functionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "responseMappingTemplate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "syncConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SyncConfig)) :*: (S1 ('MetaSel ('Just "functionVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))))

newFunctionConfiguration :: FunctionConfiguration Source #

Create a value of FunctionConfiguration 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:functionArn:FunctionConfiguration', functionConfiguration_functionArn - The ARN of the Function object.

$sel:dataSourceName:FunctionConfiguration', functionConfiguration_dataSourceName - The name of the DataSource.

$sel:requestMappingTemplate:FunctionConfiguration', functionConfiguration_requestMappingTemplate - The Function request mapping template. Functions support only the 2018-05-29 version of the request mapping template.

$sel:name:FunctionConfiguration', functionConfiguration_name - The name of the Function object.

$sel:functionId:FunctionConfiguration', functionConfiguration_functionId - A unique ID representing the Function object.

$sel:responseMappingTemplate:FunctionConfiguration', functionConfiguration_responseMappingTemplate - The Function response mapping template.

$sel:syncConfig:FunctionConfiguration', functionConfiguration_syncConfig - Undocumented member.

$sel:functionVersion:FunctionConfiguration', functionConfiguration_functionVersion - The version of the request mapping template. Currently only the 2018-05-29 version of the template is supported.

$sel:description:FunctionConfiguration', functionConfiguration_description - The Function description.

functionConfiguration_requestMappingTemplate :: Lens' FunctionConfiguration (Maybe Text) Source #

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

functionConfiguration_functionId :: Lens' FunctionConfiguration (Maybe Text) Source #

A unique ID representing the Function object.

functionConfiguration_functionVersion :: Lens' FunctionConfiguration (Maybe Text) Source #

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