Answer – A
The AWS Documentation mentions the following.
In API Gateway, an API`s method request can take a payload in a different format from the corresponding integration request payload, as required in the backend. Similarly, the backend may return an integration response payload different from the method response payload, as expected by the frontend. API Gateway lets you use mapping templates to map the payload from a method request to the corresponding integration request and from an integration response to the corresponding method response.
A mapping template is a script expressed in Velocity Template Language (VTL) and applied to the payload using JSONPath expressions. The payload can have a data model according to the JSON schema draft 4. You must define the model to have API Gateway to generate an SDK or to enable basic request validation for your API. You do not have to define any model to create a mapping template. However, a model can help you create a template because API Gateway will generate a template blueprint based on a provided model.
Option B is incorrect since this is used to customize gateway responses.
Option C is incorrect since this is used specifically for binary workloads.
Option D is incorrect since this is used for use within a VPC.For more information on models and mappings, please refer to the below URL-
https://docs.aws.amazon.com/apigateway/latest/developerguide/models-mappings.html