You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::AppSync::Types::CreateFunctionRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::AppSync::Types::CreateFunctionRequest
- Defined in:
- (unknown)
Overview
When passing CreateFunctionRequest as input to an Aws::Client method, you can use a vanilla 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
}
Instance Attribute Summary collapse
-
#api_id ⇒ String
The GraphQL API ID.
-
#data_source_name ⇒ String
The
FunctionDataSourcename. -
#description ⇒ String
The
Functiondescription. -
#function_version ⇒ String
The
versionof the request mapping template. -
#name ⇒ String
The
Functionname. -
#request_mapping_template ⇒ String
The
Functionrequest mapping template. -
#response_mapping_template ⇒ String
The
Functionresponse mapping template.
Instance Attribute Details
#api_id ⇒ String
The GraphQL API ID.
#data_source_name ⇒ String
The Function DataSource name.
#description ⇒ String
The Function description.
#function_version ⇒ String
The version of the request mapping template. Currently the supported
value is 2018-05-29.
#name ⇒ String
The Function name. The function name does not have to be unique.
#request_mapping_template ⇒ String
The Function request mapping template. Functions support only the
2018-05-29 version of the request mapping template.
#response_mapping_template ⇒ String
The Function response mapping template.