updateComputeEnvironment
abstract suspend fun updateComputeEnvironment(input: UpdateComputeEnvironmentRequest): 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