2015-04-23 19:00:52 -07:00

21 lines
383 B
JavaScript

var lambda_function = require('./lambda').lambda_function;
/**
* Create sample Context and Event data to test with
*/
var context_object = {
done: function(error, result) {
console.log("Your Lambda Function Response: ", error, result);
}
};
var event_object = {
a: 3,
b: 3
};
/**
* Run Lambda Function
*/
lambda_function(event_object, context_object);