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