title: How do I pass arguments to AWS Lambda functions using GET requests?
body: <p>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:</p>
  
  <pre><code>https://xyz.execute-api.amazonaws.com/prod/test?val1=5&amp;val2=10
  </code></pre>
  
  <p>And I have a simple function that sums the two inputs, val1 and val2:</p>
  
  <pre><code>def lambda_handler(event, context):
      # How do I get at val1 and val2??
      return {'result': val1 + val2}
  </code></pre>
  
  <p>I've added val1 and val2 to URL Query String Parameters on the Method Request on the AWS API Gateway.  But how do I access them inside the function?</p>