How should the Developer convert the query string parameters to arguments for the Lambda function?
A Developer is writing a REST service that will add items to a shopping list. The service is built on Amazon API Gateway with AWS Lambda integrations. The shopping list items are send as query string parameters in the method request.
How should the Developer convert the query string parameters to arguments for the Lambda function?
A . Enable request validation
B . Include the Amazon Resource Name (ARN) of the Lambda function
C . Change the integration type
D . Create a mapping template
Answer: D
Explanation:
https://docs.aws.amazon.com/apigateway/latest/developerguide/integrating-api-with-aws-services-lambda.html#api-as-lambda-proxy-expose-get-method-with-query-strings-to-call-lambda-function
Latest DVA-C01 Practice Questions with 463 Q&As
Updated Study Material | Instant Download | Detailed Answers and Explanations