I have a C# method which I have successfully published as an AWS Lambda function. It looks like this:
public class MyClass
{
public async Task
You need to configure the url query string parameter for your request.
go to API gateway
click on your appropriate method i.e. GET
method
go to Method Execution
In method execution , select URL Query String Parameter.
Add query String parameter like paramA, paramB
Now go to Integration Request Tab
Choose Body Mapping Template, content type application/json
Generate Template like below
{
"paramA": "$input.params('paramA')",
"paramB": "$input.params('paramB')"
}
Accept this key value in pair in lamda function.
hope this will be helpful.