Skip to content

Instantly share code, notes, and snippets.

@adrianhall
Created November 29, 2018 16:42
Show Gist options
  • Save adrianhall/03eb6096a0e75a18332452c9f70dc292 to your computer and use it in GitHub Desktop.
Save adrianhall/03eb6096a0e75a18332452c9f70dc292 to your computer and use it in GitHub Desktop.
mappingTemplates:
- type: Mutation
field: markFavorite
request: Mutation-markFavorite-request.vtl
response: common-response.vtl
kind: PIPELINE
functions:
- getLocation
- storeFavorite
functionConfigurations:
- dataSource: DynamoDB
name: getLocation
request: Function-getLocation-request.vtl
response: Function-getLocation-response.vtl
- dataSource: DynamoDB
name: storeFavorite
request: Function-storeFavorite-request.vtl
response: Function-storeFavorite-response.vtl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment