aws dms move-replication-task
Moves a replication task from its current replication instance to a different target replication instance using the specified parameters. AWS CLI reference
2 options Its page in the AWS CLI reference
Options
--replication-task-arnThe Amazon Resource Name (ARN) of the task that you want to move.--target-replication-instance-arnThe ARN of the replication instance where you want to move the task to.