- Catch-all Path Variables — Rather than specifying individual paths or behaviors for groups of requests falling within a common path (such /store/), it is now possible to specify a catch all route that intercepts all requests and routes them to the exact same function. For example a single greedy path (/store/proxy+) will intercept requests made to /store/list-products, /store/add-product and /store/delete-product.
- Any Method — Instead of specifying different behaviors for each HTTP method (GET/POST/PUT, etc.), you can now use catch-all ANY method for the same integration behavior for all requests.
- Lambda Function Integration — This new default mapping template will send all of your request to your Lambda functions and then convert the return value into an HTTP reply.
- HTTP Endpoint Integration — A new default mapping template that will pass the entire request to your HTTP endpoint, and then return the response with no modifications. This allows API Gateway to be used as an HTTP proxy without any setup.
Barr also provided a glossary of terms for the uninitiated to help them understand the new features.
- Endpoint — A URL provided by API Gateway that responds to HTTP requests. These requests use HTTP methods like GET, PUT, and POST.
- Resource — A named entity that exists symbolically within an endpoint. Referred to as a hierarchical path.
- Behavior — The action your code will take to respond to an HTTP request for a resource using an HTTP method.
- Integration — The API Gateway mapping between the endpoint, resource, and HTTP method to the actual behavior and back.
Pay-as-you go customers can access the new features at no additional cost. Learn more about the Amazon API Gateway Developer Guide for developers.