When using the Lambda plugin it would be great if we could set some custom response status, headers etc too.
AWS API gateway has the ability to set the status code, body of the response and additional headers. Given this would be a breaking change to the response output I would suggest that if we do this then we possibly have a config in the plugin? Another option would be to check the output, check its JSON and see if there are certain fields set, but I guess this could be more error prone.
What are people’s thoughts? Looking through the code this doesn’t look too difficult, although I’ve never written anything in LUA before