aws_sdk_rds/client/stop_db_cluster.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`StopDBCluster`](crate::operation::stop_db_cluster::builders::StopDBClusterFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`db_cluster_identifier(impl Into<String>)`](crate::operation::stop_db_cluster::builders::StopDBClusterFluentBuilder::db_cluster_identifier) / [`set_db_cluster_identifier(Option<String>)`](crate::operation::stop_db_cluster::builders::StopDBClusterFluentBuilder::set_db_cluster_identifier):<br>required: **true**<br><p>The DB cluster identifier of the Amazon Aurora DB cluster to be stopped. This parameter is stored as a lowercase string.</p><br>
/// - On success, responds with [`StopDbClusterOutput`](crate::operation::stop_db_cluster::StopDbClusterOutput) with field(s):
/// - [`db_cluster(Option<DbCluster>)`](crate::operation::stop_db_cluster::StopDbClusterOutput::db_cluster): <p>Contains the details of an Amazon Aurora DB cluster or Multi-AZ DB cluster.</p> <p>For an Amazon Aurora DB cluster, this data type is used as a response element in the operations <code>CreateDBCluster</code>, <code>DeleteDBCluster</code>, <code>DescribeDBClusters</code>, <code>FailoverDBCluster</code>, <code>ModifyDBCluster</code>, <code>PromoteReadReplicaDBCluster</code>, <code>RestoreDBClusterFromS3</code>, <code>RestoreDBClusterFromSnapshot</code>, <code>RestoreDBClusterToPointInTime</code>, <code>StartDBCluster</code>, and <code>StopDBCluster</code>.</p> <p>For a Multi-AZ DB cluster, this data type is used as a response element in the operations <code>CreateDBCluster</code>, <code>DeleteDBCluster</code>, <code>DescribeDBClusters</code>, <code>FailoverDBCluster</code>, <code>ModifyDBCluster</code>, <code>RebootDBCluster</code>, <code>RestoreDBClusterFromSnapshot</code>, and <code>RestoreDBClusterToPointInTime</code>.</p> <p>For more information on Amazon Aurora DB clusters, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/CHAP_AuroraOverview.html"> What is Amazon Aurora?</a> in the <i>Amazon Aurora User Guide.</i></p> <p>For more information on Multi-AZ DB clusters, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/multi-az-db-clusters-concepts.html"> Multi-AZ deployments with two readable standby DB instances</a> in the <i>Amazon RDS User Guide.</i></p>
/// - On failure, responds with [`SdkError<StopDBClusterError>`](crate::operation::stop_db_cluster::StopDBClusterError)
pub fn stop_db_cluster(&self) -> crate::operation::stop_db_cluster::builders::StopDBClusterFluentBuilder {
crate::operation::stop_db_cluster::builders::StopDBClusterFluentBuilder::new(self.handle.clone())
}
}