updateComputeEnvironment
inline suspend fun BatchClient.updateComputeEnvironment(crossinline block: UpdateComputeEnvironmentRequest.Builder.() -> Unit): UpdateComputeEnvironmentResponse
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")
}Content copied to clipboard