| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.DMS.MoveReplicationTask
Description
Moves a replication task from its current replication instance to a different target replication instance using the specified parameters. The target replication instance must be created with the same or later DMS version as the current replication instance.
Synopsis
- data MoveReplicationTask = MoveReplicationTask' {}
- newMoveReplicationTask :: Text -> Text -> MoveReplicationTask
- moveReplicationTask_replicationTaskArn :: Lens' MoveReplicationTask Text
- moveReplicationTask_targetReplicationInstanceArn :: Lens' MoveReplicationTask Text
- data MoveReplicationTaskResponse = MoveReplicationTaskResponse' {}
- newMoveReplicationTaskResponse :: Int -> MoveReplicationTaskResponse
- moveReplicationTaskResponse_replicationTask :: Lens' MoveReplicationTaskResponse (Maybe ReplicationTask)
- moveReplicationTaskResponse_httpStatus :: Lens' MoveReplicationTaskResponse Int
Creating a Request
data MoveReplicationTask Source #
See: newMoveReplicationTask smart constructor.
Constructors
| MoveReplicationTask' | |
Fields
| |
Instances
newMoveReplicationTask Source #
Arguments
| :: Text | |
| -> Text | |
| -> MoveReplicationTask |
Create a value of MoveReplicationTask with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
MoveReplicationTask, moveReplicationTask_replicationTaskArn - The Amazon Resource Name (ARN) of the task that you want to move.
MoveReplicationTask, moveReplicationTask_targetReplicationInstanceArn - The ARN of the replication instance where you want to move the task to.
Request Lenses
moveReplicationTask_replicationTaskArn :: Lens' MoveReplicationTask Text Source #
The Amazon Resource Name (ARN) of the task that you want to move.
moveReplicationTask_targetReplicationInstanceArn :: Lens' MoveReplicationTask Text Source #
The ARN of the replication instance where you want to move the task to.
Destructuring the Response
data MoveReplicationTaskResponse Source #
See: newMoveReplicationTaskResponse smart constructor.
Constructors
| MoveReplicationTaskResponse' | |
Fields
| |
Instances
newMoveReplicationTaskResponse Source #
Create a value of MoveReplicationTaskResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:replicationTask:MoveReplicationTaskResponse', moveReplicationTaskResponse_replicationTask - The replication task that was moved.
$sel:httpStatus:MoveReplicationTaskResponse', moveReplicationTaskResponse_httpStatus - The response's http status code.
Response Lenses
moveReplicationTaskResponse_replicationTask :: Lens' MoveReplicationTaskResponse (Maybe ReplicationTask) Source #
The replication task that was moved.
moveReplicationTaskResponse_httpStatus :: Lens' MoveReplicationTaskResponse Int Source #
The response's http status code.