Amazon API Gateway
Developer Guide

Import and Export API Gateway API with Swagger Definition Files

As an alternative to using the Amazon API Gateway console to create and update your API, you can use the API Gateway Import API feature to upload API definitions into API Gateway from external API definition files, such as those using the Swagger specification with the API Gateway extensions.

After an API is created and configured in API Gateway, you can download it as a Swagger definition file using the Amazon API Gateway Export API. The API Gateway console has enabled this feature for you to export an API using intuitive visual interfaces.