updateComputeEnvironment

Updates an Batch compute environment.

Samples

// This example disables the P2OnDemand compute environment so it can be deleted.
val resp = batchClient.updateComputeEnvironment {
    computeEnvironment = "P2OnDemand"
    state = CeState.fromValue("DISABLED")
}