Turns out to retrieve JSON you can use $input.json().
Full details are on the AWS documentation page. Not sure if this has been newly added as I only found it today.
http://docs.aws.amazon.com/apigateway/latest/developerguide/...
Turns out to retrieve JSON you can use $input.json().
Full details are on the AWS documentation page. Not sure if this has been newly added as I only found it today.
http://docs.aws.amazon.com/apigateway/latest/developerguide/...