aws_sdk_drs/client/
stop_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 [`StopReplication`](crate::operation::stop_replication::builders::StopReplicationFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`source_server_id(impl Into<String>)`](crate::operation::stop_replication::builders::StopReplicationFluentBuilder::source_server_id) / [`set_source_server_id(Option<String>)`](crate::operation::stop_replication::builders::StopReplicationFluentBuilder::set_source_server_id):<br>required: **true**<br><p>The ID of the Source Server to stop replication for.</p><br>
7    /// - On success, responds with [`StopReplicationOutput`](crate::operation::stop_replication::StopReplicationOutput) with field(s):
8    ///   - [`source_server(Option<SourceServer>)`](crate::operation::stop_replication::StopReplicationOutput::source_server): <p>The Source Server that this action was targeted on.</p>
9    /// - On failure, responds with [`SdkError<StopReplicationError>`](crate::operation::stop_replication::StopReplicationError)
10    pub fn stop_replication(&self) -> crate::operation::stop_replication::builders::StopReplicationFluentBuilder {
11        crate::operation::stop_replication::builders::StopReplicationFluentBuilder::new(self.handle.clone())
12    }
13}