stopCluster
inline suspend fun DocDbElasticClient.stopCluster(crossinline block: StopClusterRequest.Builder.() -> Unit): StopClusterResponse
Stops the running elastic cluster that is specified by clusterArn
. The elastic cluster must be in the available state.
Samples
fun main() {
//sampleStart
// update applied
val resp = docDbElasticClient.stopCluster {
clusterArn = "arn:aws:docdb-elastic:us-east-1:$AWS_ACCOUNT_ID:cluster/$CLUSTER_ID"
}
//sampleEnd
}