aws_sdk_databasemigration/client/
delete_replication_task.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DeleteReplicationTask`](crate::operation::delete_replication_task::builders::DeleteReplicationTaskFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`replication_task_arn(impl Into<String>)`](crate::operation::delete_replication_task::builders::DeleteReplicationTaskFluentBuilder::replication_task_arn) / [`set_replication_task_arn(Option<String>)`](crate::operation::delete_replication_task::builders::DeleteReplicationTaskFluentBuilder::set_replication_task_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the replication task to be deleted.</p><br>
    /// - On success, responds with [`DeleteReplicationTaskOutput`](crate::operation::delete_replication_task::DeleteReplicationTaskOutput) with field(s):
    ///   - [`replication_task(Option<ReplicationTask>)`](crate::operation::delete_replication_task::DeleteReplicationTaskOutput::replication_task): <p>The deleted replication task.</p>
    /// - On failure, responds with [`SdkError<DeleteReplicationTaskError>`](crate::operation::delete_replication_task::DeleteReplicationTaskError)
    pub fn delete_replication_task(&self) -> crate::operation::delete_replication_task::builders::DeleteReplicationTaskFluentBuilder {
        crate::operation::delete_replication_task::builders::DeleteReplicationTaskFluentBuilder::new(self.handle.clone())
    }
}