mirror of
https://github.com/fog/fog-aws.git
synced 2022-11-09 13:50:52 -05:00
9 lines
318 B
JavaScript
9 lines
318 B
JavaScript
console.log('Loading function');
|
|
|
|
exports.handler = function(event, context) {
|
|
console.log('value1 =', event.key1);
|
|
console.log('value2 =', event.key2);
|
|
console.log('value3 =', event.key3);
|
|
context.succeed(event.key2); // Echo back the second key value
|
|
// context.fail('Something went wrong');
|
|
};
|