Last active
May 10, 2020 21:49
-
-
Save ThomasAribart/b23dab766a85a473a31408f117bd329a 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
functions: | |
myLambda: | |
... | |
integration: lambda | |
response: | |
statusCodes: | |
200: | |
pattern: '' # Default response method | |
400: | |
pattern: '.*"statusCode":400.*' | |
template: | |
application/json: '$input.path("$.errorMessage")' | |
500: | |
pattern: '.*"statusCode":500.*' | |
template: | |
application/json: '$input.path("$.errorMessage")' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment