Initialize REST API setup in API Gateway - Amazon API Gateway
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Initialize REST API setup in API Gateway

You can create a REST API using the API Gateway console, the API Gateway REST API, the Amazon SDKs for API Gateway, and the Amazon Command Line Interface.

When you create a REST API using the API Gateway REST API, the Amazon SDKs for API Gateway, or the Amazon Command Line Interface, the default configuration is an edge-optimized API. For more information about API endpoint types, see Choose an endpoint type to set up for an API Gateway API.

When you deploy your API to a stage, your API Gateway creates a default URL for your API. For more information about the default URL, see Deploying a REST API in Amazon API Gateway. You can assign a custom domain name (for example, apis.example.com) as the API's host name and call the API with a base URL of the https://apis.example.com/myApi format. For more information about custom domain names, see Setting up custom domain names for REST APIs.

We recommend that you use one of the following examples to learn how to create a REST API.