As far as I know proxy type lambda expects a json in form of "headers", "body", "isBase64Encoded", etc. in the response. Thanks