As per I saw suggested on the net in node.js examples, I have all of my api responses being created with:
exports.handler = function (event, context, callback