CmdID

CmdID / aws / aws apigateway

aws apigateway get-deployments

Gets information about a Deployments collection. AWS CLI reference

1 example 3 options 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 a list of deployments for a REST API

The following get-deployments example gets a list of deployments for the specified REST API.

aws apigateway get-deployments --rest-api-id 1234123412Identify
--rest-api-idThe string identifier of the associated RestApi.
Its output
{
    "items": [
        {
            "createdDate": 1453797217,
            "id": "0a2b4c",
            "description": "Deployed my API for the first time"
        }
    ]
}

For more information, see Create a deployment for a REST API in API Gateway in the Amazon API Gateway Developer Guide.

Options

3 in the AWS CLI reference
--limitThe maximum number of returned results per page.
--positionThe current pagination position in the paged result set.
--rest-api-idThe string identifier of the associated RestApi.