aws_sdk_secretsmanager/client/
stop_replication_to_replica.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 [`StopReplicationToReplica`](crate::operation::stop_replication_to_replica::builders::StopReplicationToReplicaFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`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>
7    /// - On success, responds with [`StopReplicationToReplicaOutput`](crate::operation::stop_replication_to_replica::StopReplicationToReplicaOutput) with field(s):
8    ///   - [`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>
9    /// - On failure, responds with [`SdkError<StopReplicationToReplicaError>`](crate::operation::stop_replication_to_replica::StopReplicationToReplicaError)
10    pub fn stop_replication_to_replica(&self) -> crate::operation::stop_replication_to_replica::builders::StopReplicationToReplicaFluentBuilder {
11        crate::operation::stop_replication_to_replica::builders::StopReplicationToReplicaFluentBuilder::new(self.handle.clone())
12    }
13}