stopCluster

abstract suspend fun stopCluster(input: StopClusterRequest): StopClusterResponse

Stops the running elastic cluster that is specified by clusterArn. The elastic cluster must be in the available state.

Samples

// update applied
val resp = docDbElasticClient.stopCluster {
    clusterArn = "arn:aws:docdb-elastic:us-east-1:$AWS_ACCOUNT_ID:cluster/$CLUSTER_ID"
}