I see in the API Gateway FAQ that it is possible to access the request headers sent to the API Gateway...
If you already utilize OAuth tokens or any o
You need to create input mapping inside Integration Request
panel on the dashboard screen describing your API method.
Following code translates name
query input parameter into Lambda Event input object
:
{
"name": "$input.params('name')"
}
Screenshot:
You can find more info about this in the original API Gateway to Lambda input thread on AWS Forums.