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
Examples
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
--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.