module.exports.handler = async (event, context, callback) => { context.callbackWaitsForEmptyEventLoop = false; let index = 0; if (typeof client === \'undefi