updateCluster
inline suspend fun SnowballClient.updateCluster(crossinline block: UpdateClusterRequest.Builder.() -> Unit): UpdateClusterResponse
While a cluster's ClusterState
value is in the AwaitingQuorum
state, you can update some of the information associated with a cluster. Once the cluster changes to a different job state, usually 60 minutes after the cluster being created, this action is no longer available.
Samples
fun main() {
//sampleStart
// This action allows you to update certain parameters for a cluster. Once the cluster changes to a
// different state, usually within 60 minutes of it being created, this action is no longer available.
snowballClient.updateCluster {
clusterId = "CID123e4567-e89b-12d3-a456-426655440000"
description = "updated-cluster-name"
addressId = "ADID1234ab12-3eec-4eb3-9be6-9374c10eb51b"
}
//sampleEnd
}