Say I want to pass val1 and val2 in the URL string when making a GET request from my Api gateway endpoint to my Lambda function:
https://xyz.execute-api.amazonaw
All the information can be retrieved from event object.
For example : The value of a variable foo can be retrieved from the event as event["foo"].
event["foo"]