aws_sdk_redshift/client/
reboot_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 [`RebootCluster`](crate::operation::reboot_cluster::builders::RebootClusterFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`cluster_identifier(impl Into<String>)`](crate::operation::reboot_cluster::builders::RebootClusterFluentBuilder::cluster_identifier) / [`set_cluster_identifier(Option<String>)`](crate::operation::reboot_cluster::builders::RebootClusterFluentBuilder::set_cluster_identifier):<br>required: **true**<br><p>The cluster identifier.</p><br>
7    /// - On success, responds with [`RebootClusterOutput`](crate::operation::reboot_cluster::RebootClusterOutput) with field(s):
8    ///   - [`cluster(Option<Cluster>)`](crate::operation::reboot_cluster::RebootClusterOutput::cluster): <p>Describes a cluster.</p>
9    /// - On failure, responds with [`SdkError<RebootClusterError>`](crate::operation::reboot_cluster::RebootClusterError)
10    pub fn reboot_cluster(&self) -> crate::operation::reboot_cluster::builders::RebootClusterFluentBuilder {
11        crate::operation::reboot_cluster::builders::RebootClusterFluentBuilder::new(self.handle.clone())
12    }
13}