Posted On: Jan 7, 2021

Amazon API Gateway now supports data mapping definitions from an HTTP API’s method request data (e.g. path parameters, query string and headers) to the corresponding integration request parameters and from the integration response data (e.g. headers) to the HTTP API method response parameters. 

Customers can use data mapping definitions to modify request data before it is sent to their backend integration. For example, customers can concatenate query parameters with a request header and pass this combined value as a query string to the integration. Data mapping can also be used to modify headers in the response from an integration before sending back the response to the client. Defining data mappings is simple and doesn’t require customers to write velocity templates.

This feature is available in AWS China (Beijing) Region, operated by Sinnet and AWS China (Ningxia) Region, operated by NWCD. To learn more about this feature,refer to our developer guide. For more information about Amazon API Gateway, visit our product page