Create a model 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.

Create a model in API Gateway

Use the API Gateway console to create a model for an API.

Prerequisites

Create a model with the API Gateway console

  1. Sign in to the API Gateway console at https://console.amazonaws.cn/apigateway.

  2. Choose a REST API.

  3. Choose Models.

  4. Choose Create.

  5. For Model Name, type a name for the model.

  6. For Content Type, type the model's content type (for example, application/json for JSON).

  7. (Optional) For Model description, type a description for the model.

  8. For Model schema, type the model's schema. For more information about model schemas, see Models.

  9. Choose Create model.