CmdID

CmdID / aws / aws apigateway

aws apigateway import-rest-api

A feature of the API Gateway control service for creating a new API from an external API definition file. AWS CLI reference

3 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Options

3 in the AWS CLI reference
--bodyThe POST request body containing external API definitions.
--fail-on-warningsA query parameter to indicate whether to rollback the API creation (true) or not (false) when a warning is encountered.
--parametersA key-value map of context-specific query string parameters specifying the behavior of different API importing operations.