1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DisableSnapshotCopy`](crate::operation::disable_snapshot_copy::builders::DisableSnapshotCopyFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`cluster_identifier(impl ::std::convert::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): <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>
    /// - On success, responds with [`DisableSnapshotCopyOutput`](crate::operation::disable_snapshot_copy::DisableSnapshotCopyOutput) with field(s):
    ///   - [`cluster(Option<Cluster>)`](crate::operation::disable_snapshot_copy::DisableSnapshotCopyOutput::cluster): <p>Describes a cluster.</p>
    /// - On failure, responds with [`SdkError<DisableSnapshotCopyError>`](crate::operation::disable_snapshot_copy::DisableSnapshotCopyError)
    pub fn disable_snapshot_copy(
        &self,
    ) -> crate::operation::disable_snapshot_copy::builders::DisableSnapshotCopyFluentBuilder {
        crate::operation::disable_snapshot_copy::builders::DisableSnapshotCopyFluentBuilder::new(
            self.handle.clone(),
        )
    }
}