CmdID

CmdID / aws / aws apigateway

aws apigateway update-deployment

Changes information about a Deployment resource. 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 change the description of a deployment

The following update-deployment example changes the description of a deployment.

aws apigateway update-deployment --rest-api-id 1234123412 --deployment-id ztt4m2 --patch-operations op='replace',path='/description',value='newDescription'Identify
--rest-api-idThe string identifier of the associated RestApi.
--deployment-idThe replacement identifier for the Deployment resource to change information about.
--patch-operationsFor more information about supported patch operations, see Patch Operations.
Its output
{
    "description": "newDescription",
    "id": "ztt4m2",
    "createdDate": 1455218022
}

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

Options

3 in the AWS CLI reference
--deployment-idThe replacement identifier for the Deployment resource to change information about.
--patch-operationsFor more information about supported patch operations, see Patch Operations.
--rest-api-idThe string identifier of the associated RestApi.