Posted On: Jun 6, 2017
You can now customize the default responses returned by Amazon API Gateway for API requests that are not successfully forwarded to your integration backend. You can modify each part of the response generated by API Gateway, such as HTTP status code, header, or response body.
Previously, you had to code client-side logic in order to process default responses generated by API Gateway, such as for request validation failure or limit exceeded errors. Now, you can customize the responses returned by your API Gateway APIs so that they provide useful information to your client applications. Visit our documentation for a full list of API Gateway generated responses.
This feature is now available in US East (N. Virginia), US East (Ohio), US West (Oregon), US West (N. California), South America (São Paulo), EU (Ireland), EU (Frankfurt), EU (London), Asia Pacific (Singapore), Asia Pacific (Tokyo), Asia Pacific (Sydney), Asia Pacific (Seoul), and Asia Pacific (Mumbai) AWS regions. Visit our documentation to learn more about this feature. Visit our product page for more information about Amazon API Gateway.