I am writing a JavaScript / Node.js AWS Lambda function with triggers from different event sources (e.g. SQS and APIGateway). The entry point for the application is the inde