| Copyright | (c) 2013-2021 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
Amazonka.AppSync.Types.FunctionConfiguration
Description
Synopsis
- data FunctionConfiguration = FunctionConfiguration' {}
- newFunctionConfiguration :: FunctionConfiguration
- functionConfiguration_functionArn :: Lens' FunctionConfiguration (Maybe Text)
- functionConfiguration_dataSourceName :: Lens' FunctionConfiguration (Maybe Text)
- functionConfiguration_requestMappingTemplate :: Lens' FunctionConfiguration (Maybe Text)
- functionConfiguration_name :: Lens' FunctionConfiguration (Maybe Text)
- functionConfiguration_functionId :: Lens' FunctionConfiguration (Maybe Text)
- functionConfiguration_responseMappingTemplate :: Lens' FunctionConfiguration (Maybe Text)
- functionConfiguration_syncConfig :: Lens' FunctionConfiguration (Maybe SyncConfig)
- functionConfiguration_functionVersion :: Lens' FunctionConfiguration (Maybe Text)
- functionConfiguration_description :: Lens' FunctionConfiguration (Maybe Text)
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
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_functionArn :: Lens' FunctionConfiguration (Maybe Text) Source #
The ARN of the Function object.
functionConfiguration_dataSourceName :: Lens' FunctionConfiguration (Maybe Text) Source #
The name of the DataSource.
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_name :: Lens' FunctionConfiguration (Maybe Text) Source #
The name of the Function object.
functionConfiguration_functionId :: Lens' FunctionConfiguration (Maybe Text) Source #
A unique ID representing the Function object.
functionConfiguration_responseMappingTemplate :: Lens' FunctionConfiguration (Maybe Text) Source #
The Function response mapping template.
functionConfiguration_syncConfig :: Lens' FunctionConfiguration (Maybe SyncConfig) Source #
Undocumented member.
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.
functionConfiguration_description :: Lens' FunctionConfiguration (Maybe Text) Source #
The Function description.