CmdID

CmdID / aws / aws apigateway

aws apigateway get-rest-api

Lists the RestApi resource in the collection. AWS CLI reference

1 example 1 option Its page in the AWS CLI reference

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

Examples

from aws-cli, each command read by CmdID

To get information about an API

The following get-rest-api example gets information about the specified REST API.

aws apigateway get-rest-api --rest-api-id 1234123412Identify
--rest-api-idThe string identifier of the associated RestApi.
Its output
{
    "name": "myAPI",
    "id": "o1y243m4f5",
    "createdDate": 1453416433
}

For more information, see API Gateway REST APIs in the Amazon API Gateway Developer Guide.

Options

1 in the AWS CLI reference
--rest-api-idThe string identifier of the associated RestApi.