aws_sdk_databasemigration/client/
move_replication_task.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`MoveReplicationTask`](crate::operation::move_replication_task::builders::MoveReplicationTaskFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`replication_task_arn(impl Into<String>)`](crate::operation::move_replication_task::builders::MoveReplicationTaskFluentBuilder::replication_task_arn) / [`set_replication_task_arn(Option<String>)`](crate::operation::move_replication_task::builders::MoveReplicationTaskFluentBuilder::set_replication_task_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the task that you want to move.</p><br>
    ///   - [`target_replication_instance_arn(impl Into<String>)`](crate::operation::move_replication_task::builders::MoveReplicationTaskFluentBuilder::target_replication_instance_arn) / [`set_target_replication_instance_arn(Option<String>)`](crate::operation::move_replication_task::builders::MoveReplicationTaskFluentBuilder::set_target_replication_instance_arn):<br>required: **true**<br><p>The ARN of the replication instance where you want to move the task to.</p><br>
    /// - On success, responds with [`MoveReplicationTaskOutput`](crate::operation::move_replication_task::MoveReplicationTaskOutput) with field(s):
    ///   - [`replication_task(Option<ReplicationTask>)`](crate::operation::move_replication_task::MoveReplicationTaskOutput::replication_task): <p>The replication task that was moved.</p>
    /// - On failure, responds with [`SdkError<MoveReplicationTaskError>`](crate::operation::move_replication_task::MoveReplicationTaskError)
    pub fn move_replication_task(&self) -> crate::operation::move_replication_task::builders::MoveReplicationTaskFluentBuilder {
        crate::operation::move_replication_task::builders::MoveReplicationTaskFluentBuilder::new(self.handle.clone())
    }
}