Create an API in API Gateway
In Amazon API Gateway you can create an API using the API Gateway console, AWS CLI, the API Gateway control service REST API, and platform-specific or language-specific SDKs.
Create an API Using the API Gateway Console
To create an API Gateway API using the API Gateway console, see Build an API Gateway API to Expose an HTTP Endpoint.
You can learn how to create an API by following an example. For more information, see Create an API Gateway API from an Example.
Alternatively, you can create an API by using the API Gateway Import API feature to upload an external API definition, such as one expressed in the Swagger 2.0 with the API Gateway Extensions to Swagger. The example provided in Create an API Gateway API from an Example uses the Import API feature.
Create an API Using the API Gateway Control Service API
For more information about the API Gateway Control Service API, see Amazon API Gateway REST API Reference.
Create an API Using the AWS SDK for API Gateway
For more information using a AWS SDK, see AWS SDKs.
Create an API Using the AWS CLI
For an example of creating an API Gateway API Using AWS CLI, see Create an API Gateway API for Lambda tutorial.