aws_sdk_databasemigration/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    ///   - [`replication_config_arn(impl Into<String>)`](crate::operation::stop_replication::builders::StopReplicationFluentBuilder::replication_config_arn) / [`set_replication_config_arn(Option<String>)`](crate::operation::stop_replication::builders::StopReplicationFluentBuilder::set_replication_config_arn):<br>required: **true**<br><p>The Amazon Resource Name of the replication to stop.</p><br>
7    /// - On success, responds with [`StopReplicationOutput`](crate::operation::stop_replication::StopReplicationOutput) with field(s):
8    ///   - [`replication(Option<Replication>)`](crate::operation::stop_replication::StopReplicationOutput::replication): <p>The replication that DMS stopped.</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}