Amazon AppSync · JSON Structure

Appsync Create Resolver Request Structure

Request to create a resolver

Type: record Properties: 0
Amazon AppSyncGraphQLAPI ManagementServerless

Appsync Create Resolver Request Structure is a JSON Structure definition published by Amazon AppSync. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://api-evangelist.github.io/amazon-appsync/json-structure/appsync-create-resolver-request-structure.json",
  "title": "CreateResolverRequest",
  "description": "Request to create a resolver",
  "type": "record",
  "fields": {
    "fieldName": {
      "type": "string",
      "description": "The GraphQL field name"
    },
    "dataSourceName": {
      "type": "string",
      "description": "The data source name"
    },
    "requestMappingTemplate": {
      "type": "string",
      "description": "Request mapping template"
    },
    "responseMappingTemplate": {
      "type": "string",
      "description": "Response mapping template"
    },
    "kind": {
      "type": "string",
      "description": "Resolver kind"
    },
    "pipelineConfig": {
      "type": "string",
      "description": "pipelineConfig"
    },
    "syncConfig": {
      "type": "string",
      "description": "syncConfig"
    },
    "cachingConfig": {
      "type": "string",
      "description": "cachingConfig"
    },
    "maxBatchSize": {
      "type": "integer",
      "description": "Maximum batch size"
    },
    "runtime": {
      "type": "string",
      "description": "runtime"
    },
    "code": {
      "type": "string",
      "description": "Function code for APPSYNC_JS runtime"
    }
  }
}