aws_sdk_docdb/client/
start_db_cluster.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`StartDBCluster`](crate::operation::start_db_cluster::builders::StartDBClusterFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`db_cluster_identifier(impl Into<String>)`](crate::operation::start_db_cluster::builders::StartDBClusterFluentBuilder::db_cluster_identifier) / [`set_db_cluster_identifier(Option<String>)`](crate::operation::start_db_cluster::builders::StartDBClusterFluentBuilder::set_db_cluster_identifier):<br>required: **true**<br><p>The identifier of the cluster to restart. Example: <code>docdb-2019-05-28-15-24-52</code></p><br>
7    /// - On success, responds with [`StartDbClusterOutput`](crate::operation::start_db_cluster::StartDbClusterOutput) with field(s):
8    ///   - [`db_cluster(Option<DbCluster>)`](crate::operation::start_db_cluster::StartDbClusterOutput::db_cluster): <p>Detailed information about a cluster.</p>
9    /// - On failure, responds with [`SdkError<StartDBClusterError>`](crate::operation::start_db_cluster::StartDBClusterError)
10    pub fn start_db_cluster(&self) -> crate::operation::start_db_cluster::builders::StartDBClusterFluentBuilder {
11        crate::operation::start_db_cluster::builders::StartDBClusterFluentBuilder::new(self.handle.clone())
12    }
13}