Amazon AppSync · Schema
CreateFunctionRequest
Request to create a pipeline function
Amazon AppSyncGraphQLAPI ManagementServerless
Properties
| Name | Type | Description |
|---|---|---|
| name | string | The function name |
| description | string | Function description |
| dataSourceName | string | Data source name |
| requestMappingTemplate | string | Request mapping template |
| responseMappingTemplate | string | Response mapping template |
| functionVersion | string | Function version |
| syncConfig | string | syncConfig |
| maxBatchSize | integer | Maximum batch size |
| runtime | string | runtime |
| code | string | Function code |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://api-evangelist.github.io/amazon-appsync/json-schema/appsync-create-function-request-schema.json",
"title": "CreateFunctionRequest",
"description": "Request to create a pipeline function",
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "The function name"
},
"description": {
"type": "string",
"description": "Function description"
},
"dataSourceName": {
"type": "string",
"description": "Data source name"
},
"requestMappingTemplate": {
"type": "string",
"description": "Request mapping template"
},
"responseMappingTemplate": {
"type": "string",
"description": "Response mapping template"
},
"functionVersion": {
"type": "string",
"description": "Function version"
},
"syncConfig": {
"type": "string",
"description": "syncConfig"
},
"maxBatchSize": {
"type": "integer",
"description": "Maximum batch size"
},
"runtime": {
"type": "string",
"description": "runtime"
},
"code": {
"type": "string",
"description": "Function code"
}
}
}