A lambda needs a handler, which will serve as the entry point to your application. In the simplest case, you get your input from the context
and pass the result using the callback()
function:
exports.handler = (event, context, callback) => { callback(null, 'You sent ' + event.number); };