Skip to content

Instantly share code, notes, and snippets.

@Lucifergene
Created August 18, 2021 19:03
Show Gist options
  • Save Lucifergene/39bf8dc169f4ca6d1f1d5eaa591f5e9e to your computer and use it in GitHub Desktop.
Save Lucifergene/39bf8dc169f4ca6d1f1d5eaa591f5e9e to your computer and use it in GitHub Desktop.
Mapping Template
#set($DDBResponse = $input.path('$'))
{
"shortURL": "$DDBResponse.Attributes.shortId.S",
"longURL": "$DDBResponse.Attributes.longURL.S",
"owner": "$DDBResponse.Attributes.owner.S"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment