stopDeployment
Stops a deployment. This API action works only on deployments that have a status of DEPLOYING
. This action moves the deployment to a status of ROLLED_BACK
.
Samples
fun main() {
//sampleStart
// The following stop deployment example stops the deployment of an application configuration to the
// specified environment.
val resp = appConfigClient.stopDeployment {
applicationId = "339ohji"
environmentId = "54j1r29"
deploymentNumber = 2
}
//sampleEnd
}