v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1447387247.5 KB

Attempts to stop an ongoing deployment.

post/#X-Amz-Target=CodeDeploy_20141006.StopDeployment

Headers

X-Amz-Target'CodeDeploy_20141006.StopDeployment' required

Request body

deploymentIdstring required

The unique ID of a deployment.

autoRollbackEnabledboolean

Indicates, when a deployment is stopped, whether instances that have been updated should be rolled back to the previous version of the application revision.

Response

Success

status'Pending' | 'Succeeded'
<p>The status of the stop deployment operation:</p> <ul> <li> <p>Pending: The stop operation is pending.</p> </li> <li> <p>Succeeded: The stop operation was successful.</p> </li> </ul>
statusMessagestring

An accompanying status message.