Amazon API Gateway
Developer Guide

Import a REST API into API Gateway

You can use the API Gateway Import API feature to import a REST API from an external definition file into API Gateway. Currently, the Import API feature supports OpenAPI v2.0 and OpenAPI v3.0 definition files. You can update an API by overwriting it with a new definition, or merge a definition with an existing API. You specify the options using a mode query parameter in the request URL.

For a tutorial on using the Import API feature from the API Gateway console, see TUTORIAL: Create a REST API by Importing an Example.