1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ReplicateSecretToRegions`](crate::operation::replicate_secret_to_regions::builders::ReplicateSecretToRegionsFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`secret_id(impl Into<String>)`](crate::operation::replicate_secret_to_regions::builders::ReplicateSecretToRegionsFluentBuilder::secret_id) / [`set_secret_id(Option<String>)`](crate::operation::replicate_secret_to_regions::builders::ReplicateSecretToRegionsFluentBuilder::set_secret_id):<br>required: **true**<br><p>The ARN or name of the secret to replicate.</p><br>
    ///   - [`add_replica_regions(ReplicaRegionType)`](crate::operation::replicate_secret_to_regions::builders::ReplicateSecretToRegionsFluentBuilder::add_replica_regions) / [`set_add_replica_regions(Option<Vec::<ReplicaRegionType>>)`](crate::operation::replicate_secret_to_regions::builders::ReplicateSecretToRegionsFluentBuilder::set_add_replica_regions):<br>required: **true**<br><p>A list of Regions in which to replicate the secret.</p><br>
    ///   - [`force_overwrite_replica_secret(bool)`](crate::operation::replicate_secret_to_regions::builders::ReplicateSecretToRegionsFluentBuilder::force_overwrite_replica_secret) / [`set_force_overwrite_replica_secret(Option<bool>)`](crate::operation::replicate_secret_to_regions::builders::ReplicateSecretToRegionsFluentBuilder::set_force_overwrite_replica_secret):<br>required: **false**<br><p>Specifies whether to overwrite a secret with the same name in the destination Region. By default, secrets aren't overwritten.</p><br>
    /// - On success, responds with [`ReplicateSecretToRegionsOutput`](crate::operation::replicate_secret_to_regions::ReplicateSecretToRegionsOutput) with field(s):
    ///   - [`arn(Option<String>)`](crate::operation::replicate_secret_to_regions::ReplicateSecretToRegionsOutput::arn): <p>The ARN of the primary secret.</p>
    ///   - [`replication_status(Option<Vec::<ReplicationStatusType>>)`](crate::operation::replicate_secret_to_regions::ReplicateSecretToRegionsOutput::replication_status): <p>The status of replication.</p>
    /// - On failure, responds with [`SdkError<ReplicateSecretToRegionsError>`](crate::operation::replicate_secret_to_regions::ReplicateSecretToRegionsError)
    pub fn replicate_secret_to_regions(&self) -> crate::operation::replicate_secret_to_regions::builders::ReplicateSecretToRegionsFluentBuilder {
        crate::operation::replicate_secret_to_regions::builders::ReplicateSecretToRegionsFluentBuilder::new(self.handle.clone())
    }
}