Verify Settings for AWS Api Gateway

So, I created the resource and the GET action on my Api Gateway. I pass url parameters correctly through method execution and through an integration request through matching patterns. I currently have an Api endpoint executing a Lambda function on hit, and there are parameters in my Lambda function. I was hoping there would be an opportunity for Api Gateway to tell me the confirmation of the URL parameters for me. But I cannot find documentation or a blog that teaches me how to do this. I heard in a previous post that this feature may appear later if people complain about AWS enough, but it was like last year.

0
source share
1 answer

This is still in our backlog, we are not yet checking the incoming parameters.

The request for the function we need simply confirms that they are present. Basically, you will say that a parameter is required, and then if this parameter is missing, the Gateway API will reject the request before it reaches the Lambda function.

+1
source

Source: https://habr.com/ru/post/1688989/


All Articles