Created
August 18, 2021 19:05
-
-
Save Lucifergene/b2be264e74bf4cb5c38bf57bd5f710af to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#set($DDBResponse = $input.path('$')) | |
#if ($DDBResponse.toString().contains("Item")) | |
#set($context.responseOverride.header.Location = $DDBResponse.Item.longURL.S) | |
#end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment