aws_sdk_databasemigration/client/stop_replication_task.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`StopReplicationTask`](crate::operation::stop_replication_task::builders::StopReplicationTaskFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`replication_task_arn(impl Into<String>)`](crate::operation::stop_replication_task::builders::StopReplicationTaskFluentBuilder::replication_task_arn) / [`set_replication_task_arn(Option<String>)`](crate::operation::stop_replication_task::builders::StopReplicationTaskFluentBuilder::set_replication_task_arn):<br>required: **true**<br><p>The Amazon Resource Name(ARN) of the replication task to be stopped.</p><br>
/// - On success, responds with [`StopReplicationTaskOutput`](crate::operation::stop_replication_task::StopReplicationTaskOutput) with field(s):
/// - [`replication_task(Option<ReplicationTask>)`](crate::operation::stop_replication_task::StopReplicationTaskOutput::replication_task): <p>The replication task stopped.</p>
/// - On failure, responds with [`SdkError<StopReplicationTaskError>`](crate::operation::stop_replication_task::StopReplicationTaskError)
pub fn stop_replication_task(&self) -> crate::operation::stop_replication_task::builders::StopReplicationTaskFluentBuilder {
crate::operation::stop_replication_task::builders::StopReplicationTaskFluentBuilder::new(self.handle.clone())
}
}