Skip to main content

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 or name of the replica secret.</p> <p>For a cross-region replica, the replica ARN is the same as the original primary secret ARN except that the Region is changed to the replica Region. For a cross-account replica, this is the ARN or name of the replica secret in your account.</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. For a cross-region replica, this ARN is the same as the original primary secret's ARN except that the Region is changed. For a cross-account replica, this is the ARN of the promoted secret in your account.</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}