Created
June 15, 2018 17:03
-
-
Save mdlavin/60cff8557efb5d2913bac7a909b6a09a to your computer and use it in GitHub Desktop.
Example code that was invoking the lambda
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
const result = await lambda.invoke(request).promise(); | |
const payload = JSON.parse(result.Payload); | |
const body = payload.body; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment