v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1484319348.7 KB

Attempts to cancel an environment deployment on an UpdateEnvironment action, if the deployment is IN_PROGRESS. For more information, see Update an environment in the Proton User guide.

The following list includes potential cancellation scenarios.

  • If the cancellation attempt succeeds, the resulting deployment state is CANCELLED.

  • If the cancellation attempt fails, the resulting deployment state is FAILED.

  • If the current UpdateEnvironment action succeeds before the cancellation attempt starts, the resulting deployment state is SUCCEEDED and the cancellation attempt has no effect.

post/#X-Amz-Target=AwsProton20200720.CancelEnvironmentDeployment

Headers

X-Amz-Target'AwsProton20200720.CancelEnvironmentDeployment' required

Request body

environmentNamestring required

The name of the environment with the deployment to cancel.

Response

Success