Amazon AppSync · Example Payload

Appsync Create Resolver Request Example

Amazon AppSyncGraphQLAPI ManagementServerless

Appsync Create Resolver Request Example is an example object payload from Amazon AppSync, with 11 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

fieldNamedataSourceNamerequestMappingTemplateresponseMappingTemplatekindpipelineConfigsyncConfigcachingConfigmaxBatchSizeruntimecode

Example Payload

Raw ↑
{
  "fieldName": "getPost",
  "dataSourceName": "MyDynamoDBDataSource",
  "requestMappingTemplate": "{\"version\":\"2018-05-29\",\"operation\":\"GetItem\"}",
  "responseMappingTemplate": "$util.toJson($ctx.result)",
  "kind": "UNIT",
  "pipelineConfig": "example-string",
  "syncConfig": "example-string",
  "cachingConfig": "example-string",
  "maxBatchSize": 0,
  "runtime": "example-string",
  "code": ""
}