1
2
3
4
5
6
7
8
9
10
11
12
13
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`StopReplicationToReplica`](crate::operation::stop_replication_to_replica::builders::StopReplicationToReplicaFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`secret_id(impl Into<String>)`](crate::operation::stop_replication_to_replica::builders::StopReplicationToReplicaFluentBuilder::secret_id) / [`set_secret_id(Option<String>)`](crate::operation::stop_replication_to_replica::builders::StopReplicationToReplicaFluentBuilder::set_secret_id):<br>required: **true**<br><p>The ARN of the primary secret.</p><br>
    /// - On success, responds with [`StopReplicationToReplicaOutput`](crate::operation::stop_replication_to_replica::StopReplicationToReplicaOutput) with field(s):
    ///   - [`arn(Option<String>)`](crate::operation::stop_replication_to_replica::StopReplicationToReplicaOutput::arn): <p>The ARN of the promoted secret. The ARN is the same as the original primary secret except the Region is changed.</p>
    /// - On failure, responds with [`SdkError<StopReplicationToReplicaError>`](crate::operation::stop_replication_to_replica::StopReplicationToReplicaError)
    pub fn stop_replication_to_replica(&self) -> crate::operation::stop_replication_to_replica::builders::StopReplicationToReplicaFluentBuilder {
        crate::operation::stop_replication_to_replica::builders::StopReplicationToReplicaFluentBuilder::new(self.handle.clone())
    }
}