aws_sdk_databasemigration/client/stop_replication.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`StopReplication`](crate::operation::stop_replication::builders::StopReplicationFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`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>
/// - On success, responds with [`StopReplicationOutput`](crate::operation::stop_replication::StopReplicationOutput) with field(s):
/// - [`replication(Option<Replication>)`](crate::operation::stop_replication::StopReplicationOutput::replication): <p>The replication that DMS stopped.</p>
/// - On failure, responds with [`SdkError<StopReplicationError>`](crate::operation::stop_replication::StopReplicationError)
pub fn stop_replication(&self) -> crate::operation::stop_replication::builders::StopReplicationFluentBuilder {
crate::operation::stop_replication::builders::StopReplicationFluentBuilder::new(self.handle.clone())
}
}