aws_sdk_redshift/client/
disable_snapshot_copy.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 [`DisableSnapshotCopy`](crate::operation::disable_snapshot_copy::builders::DisableSnapshotCopyFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`cluster_identifier(impl Into<String>)`](crate::operation::disable_snapshot_copy::builders::DisableSnapshotCopyFluentBuilder::cluster_identifier) / [`set_cluster_identifier(Option<String>)`](crate::operation::disable_snapshot_copy::builders::DisableSnapshotCopyFluentBuilder::set_cluster_identifier):<br>required: **true**<br><p>The unique identifier of the source cluster that you want to disable copying of snapshots to a destination region.</p> <p>Constraints: Must be the valid name of an existing cluster that has cross-region snapshot copy enabled.</p><br>
7    /// - On success, responds with [`DisableSnapshotCopyOutput`](crate::operation::disable_snapshot_copy::DisableSnapshotCopyOutput) with field(s):
8    ///   - [`cluster(Option<Cluster>)`](crate::operation::disable_snapshot_copy::DisableSnapshotCopyOutput::cluster): <p>Describes a cluster.</p>
9    /// - On failure, responds with [`SdkError<DisableSnapshotCopyError>`](crate::operation::disable_snapshot_copy::DisableSnapshotCopyError)
10    pub fn disable_snapshot_copy(&self) -> crate::operation::disable_snapshot_copy::builders::DisableSnapshotCopyFluentBuilder {
11        crate::operation::disable_snapshot_copy::builders::DisableSnapshotCopyFluentBuilder::new(self.handle.clone())
12    }
13}