Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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.
MoveReplicationTask' | |
|
Instances
newMoveReplicationTask Source #
:: 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:
$sel:replicationTaskArn:MoveReplicationTask'
, moveReplicationTask_replicationTaskArn
- The Amazon Resource Name (ARN) of the task that you want to move.
$sel:targetReplicationInstanceArn: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.
MoveReplicationTaskResponse' | |
|
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.