aws_sdk_drs/client/
reverse_replication.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 [`ReverseReplication`](crate::operation::reverse_replication::builders::ReverseReplicationFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`recovery_instance_id(impl Into<String>)`](crate::operation::reverse_replication::builders::ReverseReplicationFluentBuilder::recovery_instance_id) / [`set_recovery_instance_id(Option<String>)`](crate::operation::reverse_replication::builders::ReverseReplicationFluentBuilder::set_recovery_instance_id):<br>required: **true**<br><p>The ID of the Recovery Instance that we want to reverse the replication for.</p><br>
7    /// - On success, responds with [`ReverseReplicationOutput`](crate::operation::reverse_replication::ReverseReplicationOutput) with field(s):
8    ///   - [`reversed_direction_source_server_arn(Option<String>)`](crate::operation::reverse_replication::ReverseReplicationOutput::reversed_direction_source_server_arn): <p>ARN of created SourceServer.</p>
9    /// - On failure, responds with [`SdkError<ReverseReplicationError>`](crate::operation::reverse_replication::ReverseReplicationError)
10    pub fn reverse_replication(&self) -> crate::operation::reverse_replication::builders::ReverseReplicationFluentBuilder {
11        crate::operation::reverse_replication::builders::ReverseReplicationFluentBuilder::new(self.handle.clone())
12    }
13}