W Runtime.exports.handler AWS Lambda

Add 'module' before exports as written below
module.exports.handler = your code here
Ankur