class Aws::AppSync::Types::CreateFunctionRequest
@note When making an API call, you may pass CreateFunctionRequest
data as a hash: { api_id: "String", # required name: "ResourceName", # required description: "String", data_source_name: "ResourceName", # required request_mapping_template: "MappingTemplate", response_mapping_template: "MappingTemplate", function_version: "String", # required sync_config: { conflict_handler: "OPTIMISTIC_CONCURRENCY", # accepts OPTIMISTIC_CONCURRENCY, LAMBDA, AUTOMERGE, NONE conflict_detection: "VERSION", # accepts VERSION, NONE lambda_conflict_handler_config: { lambda_conflict_handler_arn: "String", }, }, }
@!attribute [rw] api_id
The GraphQL API ID. @return [String]
@!attribute [rw] name
The `Function` name. The function name does not have to be unique. @return [String]
@!attribute [rw] description
The `Function` description. @return [String]
@!attribute [rw] data_source_name
The `Function` `DataSource` name. @return [String]
@!attribute [rw] request_mapping_template
The `Function` request mapping template. Functions support only the 2018-05-29 version of the request mapping template. @return [String]
@!attribute [rw] response_mapping_template
The `Function` response mapping template. @return [String]
@!attribute [rw] function_version
The `version` of the request mapping template. Currently the supported value is 2018-05-29. @return [String]
@!attribute [rw] sync_config
Describes a Sync configuration for a resolver. Contains information on which Conflict Detection as well as Resolution strategy should be performed when the resolver is invoked. @return [Types::SyncConfig]
@see docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateFunctionRequest AWS API Documentation
Constants
- SENSITIVE