Menu
Amazon API Gateway
Developer Guide

Document History

The following table describes the important changes to the documentation since the last release of the API Gateway Developer Guide.

  • Latest documentation update: November 30, 2017

Change Description Date Changed
Private Integration and VPC Link Create an API with the API Gateway private integration to provide clients with access to HTTP/HTTPS resources in an Amazon VPC from outside of the VPC through a VpcLink resource. For more information, see Build an API with API Gateway Private Integration and Set up API Gateway Private Integrations. November 30, 2017
Deploy a Canary for API testing Add a canary release to an existing API deployment to test a newer version of the API while keeping the current version in operation on the same stage. You can set a percentage of stage traffic for the canary release and enable canary-specific execution and access logged in separate CloudWatch Logs logs. For more information, see Set up an API Gateway Canary Release Deployment. November 28, 2017
Access Logging Log client access to your API with data derived from $context variables in a format of your choosing. For more information, see Set up API Logging in API Gateway. November 21, 2017
Ruby SDK of an API Generate a Ruby SDK for your API and use it to invoke your API methods. For more information, see Generate the Ruby SDK of an API and Use a Ruby SDK Generated by API Gateway. November 20, 2017
Regional API endpoint Specify a regional API endpoint to create an API for non-mobile clients. A non-mobile client, such as an EC2 instance, runs in the same AWS Region where the API is deployed. As with an edge-optimized API, you can create a custom domain name for a regional API. For more information, see Set up a Regional API in API Gateway and Set up a Custom Domain Name for a Regional API in API Gateway. November 2, 2017
Custom request authorizer Use custom request authorizer to supply user-authenticating information in request parameters to authorize API method calls. The request parameters include headers and query string parameters as well as stage and context variables. For more information, see Use API Gateway Custom Authorizers. September 15, 2017
Customizing gateway responses Customize API Gateway-generated gateway responses to API requests that failed to reach the integration backend. A customized gateway message can provide the caller with API-specific custom error messages, including returning needed CORS headers, or can transform the gateway response data to a format of an external exchange. For more information, see Set up Gateway Responses to Customize Error Responses. June 6, 2017
Mapping Lambda custom error properties to method response headers Map individual custom error properties returned from Lambda to the method response header parameters using the integration.response.body parameter, relying API Gateway to deserialize the stringified custom error object at run time. For more information, see Handle Custom Lambda Errors in API Gateway. June 6, 2017
Throttling limits increase Increase the account-level steady-state request rate limit to 10,000 requests per second (rps) and the bust limit to 5000 concurrent requests. For more information, see Throttle API Requests for Better Throughput. June 6, 2017
Validating method requests Configure basic request validators on the API level or method levels so that API Gateway can validate incoming requests. API Gateway verifies that required parameters are set and not blank, and verifies that the format of applicable payloads conforms to the configured model. For more information, see Enable Request Validation in API Gateway. April 11, 2017
Integrating with ACM Use ACM Certificates for your API's custom domain names. You can create a certificate in AWS Certificate Manager or import an existing PEM-formatted certificate into ACM. You then refer to the certificate's ARN when setting a custom domain name for your APIs. For more information, see Set up Custom Domain Name for an API in API Gateway. March 9, 2017
Generating and calling a Java SDK of an API Let API Gateway generate the Java SDK for your API and use the SDK to call the API in your Java client. For more information, see Use a Java SDK Generated by API Gateway. January 13, 2017
Integrating with AWS Marketplace Sell your API in a usage plan as a SaaS product through AWS Marketplace. Use AWS Marketplace to extend the reach of your API. Rely on AWS Marketplace for customer billing on your behalf. Let API Gateway handle user authorization and usage metering. For more information, see Sell Your API as SaaS. December 1, 2016
Enabling Documentation Support for your API Add documentation for API entities in DocumentationPart resources in API Gateway. Associate a snapshot of the collection DocumentationPart instances with an API stage to create a DocumentationVersion. Publish API documentation by exporting a documentation version to an external file, such as a Swagger file. For more information, see Documenting an API Gateway API. December 1, 2016
Updated custom authorizer A customer authorizer Lambda function now returns the caller's principal identifier. The function also can return other information as key-value pairs of the context map and an IAM policy. For more information, see Output from an Amazon API Gateway Custom Authorizer. December 1, 2016
Supporting binary payloads Set binaryMediaTypes on your API to support binary payloads of a request or response. Set the contentHandling property on an Integration or IntegrationResponse to specify whether to handle a binary payload as the native binary blob, as a Base64-enocded string, or as a passthrough without modifications. For more information, see Support Binary Payloads in API Gateway. November 17, 2016
Enabling a proxy integration with an HTTP or Lambda backend through a proxy resource of an API. Create a proxy resource with a greedy path parameter of the form {proxy+} and the catch-all ANY method. The proxy resource is integrated with an HTTP or Lambda backend using the HTTP or Lambda proxy integration, respectively. For more information, see Set up a Proxy Integration with a Proxy Resource. September 20, 2016
Extending selected APIs in API Gateway as product offerings for your customers by providing one or more usage plans. Create a usage plan in API Gateway to enable selected API clients to access specified API stages at agreed-upon request rates and quotas. For more information, see Create and Use API Gateway Usage Plans. August 11, 2016
Enabling method-level authorization with a user pool in Amazon Cognito Create a user pool in Amazon Cognito and use it as your own identity provider. You can configure the user pool as a method-level authorizer to grant access for users who are registered with the user pool. For more information, see Use Amazon Cognito User Pools. July 28, 2016
Enabling Amazon CloudWatch metrics and dimensions under the AWS/ApiGateway namespace. The API Gateway metrics are now standardized under the CloudWatch namespace of AWS/ApiGateway. You can view them in both the API Gateway console and the Amazon CloudWatch console. For more information, see Amazon API Gateway Dimensions and Metrics. July 28, 2016
Enabling certificate rotation for a custom domain name Certificate rotation allows you to upload and renew an expiring certificate for a custom domain name. For more information, see Rotate a Certificate Imported into ACM. April 27, 2016
Documenting changes for the updated Amazon API Gateway console. Learn how to create and set up an API using the updated API Gateway console. For more information, see Build an API Gateway API from an Example and Build an API with HTTP Custom Integration. April 5, 2016
Enabling the Import API feature to create a new or update an existing API from external API definitions. With the Import API features, you can create a new API or update an existing one by uploading an external API definition expressed in Swagger 2.0 with the API Gateway extensions. For more information about the Import API, see Import an API into API Gateway. April 5, 2016
Exposing the $input.body variable to access the raw payload as string and the $util.parseJson() function to turn a JSON string into a JSON object in a mapping template. For more information about $input.body and $util.parseJson(), see API Gateway Mapping Template Reference. April 5, 2016
Enabling client requests with method-level cache invalidation, and improving request throttling management. Flush API stage-level cache and invalidate individual cache entry. For more information, see Flush the API Stage Cache in API Gateway and Invalidate an API Gateway Cache Entry. Improve the console experience for managing API request throttling. For more information, see Throttle API Requests for Better Throughput. March 25, 2016
Enabling and calling API Gateway API using custom authorization Create and configure an AWS Lambda function to implement custom authorization. The function returns an IAM policy document that grants the Allow or Deny permissions to client requests of an API Gateway API. For more information, see Use API Gateway Custom Authorizers. February 11, 2016
Importing and exporting API Gateway API using a Swagger definition file and extensions Create and update your API Gateway API using the Swagger specification with the API Gateway extensions. Import the Swagger definitions using the API Gateway Importer. Export an API Gateway API to a Swagger definition file using the API Gateway console or API Gateway Export API. For more information, see Import an API into API Gateway and Export an API. December 18, 2015
Mapping request or response body or body's JSON fields to request or response parameters. Map method request body or its JSON fields into integration request's path, query string, or headers. Map integration response body or its JSON fields into request response's headers. For more information, see Amazon API Gateway API Request and Response Data Mapping Reference. December 18, 2015
Working with Stage Variables in Amazon API Gateway Learn how to associate configuration attributes with a deployment stage of an API in Amazon API Gateway. For more information, see Set up Stage Variable for API Deployment. November 5, 2015
How to: Enable CORS for a Method It is now easier to enable cross-origin resource sharing (CORS) for methods in Amazon API Gateway. For more information, see Enable CORS for a Resource. November 3, 2015
How to: Use Client Side SSL Authentication Use Amazon API Gateway to generate SSL certificates that you can use to authenticate calls to your HTTP backend. For more information, see Use Client-Side SSL Certificates for Authentication by the Backend. September 22, 2015
Mock integration of methods

Learn how to mock-integrate an API with Amazon API Gateway. This feature enables developers to generate API responses from API Gateway directly without the need for a final integration backend beforehand.

September 1, 2015
Amazon Cognito Identity support Amazon API Gateway has expanded the scope of the $context variable so that it now returns information about Amazon Cognito Identity when requests are signed with Amazon Cognito credentials. In addition, we have added a $util variable for escaping characters in JavaScript and encoding URLs and strings. For more information, see API Gateway Mapping Template Reference. August 28, 2015
Swagger integration Use the Swagger import tool on GitHub to import Swagger API definitions into Amazon API Gateway. Learn more about API Gateway Extensions to Swagger to create and deploy APIs and methods using the import tool. With the Swagger importer tool you can also update existing APIs. July 21, 2015
Mapping Template Reference

Read about the $input parameter and its functions in the API Gateway Mapping Template Reference.

July 18, 2015
Initial public release

This is the initial public release of the API Gateway Developer Guide.

July 9, 2015