Skip to content

Instantly share code, notes, and snippets.

@mshakhomirov
Created October 12, 2019 18:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mshakhomirov/116d45e06456728040be5bfc9d660a55 to your computer and use it in GitHub Desktop.
Save mshakhomirov/116d45e06456728040be5bfc9d660a55 to your computer and use it in GitHub Desktop.
"use strict";
let lambda = require('./index');
let event = require('./event.json');
lambda.handler(event,
{
done : r => console.log("done, result returned:\n", r),
succeed : r => console.log("success, result returned:\n", r),
fail : e => console.log(e)
}
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment