Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
Starts the replication task.
For more information about AWS DMS tasks, see the AWS DMS user guide at Working with Migration Tasks
Synopsis
- startReplicationTask :: Text -> StartReplicationTaskTypeValue -> StartReplicationTask
- data StartReplicationTask
- srtCdcStartPosition :: Lens' StartReplicationTask (Maybe Text)
- srtCdcStopPosition :: Lens' StartReplicationTask (Maybe Text)
- srtCdcStartTime :: Lens' StartReplicationTask (Maybe UTCTime)
- srtReplicationTaskARN :: Lens' StartReplicationTask Text
- srtStartReplicationTaskType :: Lens' StartReplicationTask StartReplicationTaskTypeValue
- startReplicationTaskResponse :: Int -> StartReplicationTaskResponse
- data StartReplicationTaskResponse
- srtrsReplicationTask :: Lens' StartReplicationTaskResponse (Maybe ReplicationTask)
- srtrsResponseStatus :: Lens' StartReplicationTaskResponse Int
Creating a Request
Creates a value of StartReplicationTask
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
srtCdcStartPosition
- Indicates when you want a change data capture (CDC) operation to start. Use either CdcStartPosition or CdcStartTime to specify when you want a CDC operation to start. Specifying both values results in an error. The value can be in date, checkpoint, or LSN/SCN format. Date Example: --cdc-start-position “2018-03-08T12:12:12” Checkpoint Example: --cdc-start-position "checkpoint:V1mysql-bin-changelog.157832:1975:-1:2002:677883278264080:mysql-bin-changelog.157832:187600#93" LSN Example: --cdc-start-position “mysql-bin-changelog.000024:373”srtCdcStopPosition
- Indicates when you want a change data capture (CDC) operation to stop. The value can be either server time or commit time. Server time example: --cdc-stop-position “server_time:3018-02-09T12:12:12” Commit time example: --cdc-stop-position “commit_time: 3018-02-09T12:12:12 “srtCdcStartTime
- Indicates the start time for a change data capture (CDC) operation. Use either CdcStartTime or CdcStartPosition to specify when you want a CDC operation to start. Specifying both values results in an error.srtReplicationTaskARN
- The Amazon Resource Name (ARN) of the replication task to be started.srtStartReplicationTaskType
- The type of replication task.
data StartReplicationTask Source #
See: startReplicationTask
smart constructor.
Instances
Request Lenses
srtCdcStartPosition :: Lens' StartReplicationTask (Maybe Text) Source #
Indicates when you want a change data capture (CDC) operation to start. Use either CdcStartPosition or CdcStartTime to specify when you want a CDC operation to start. Specifying both values results in an error. The value can be in date, checkpoint, or LSN/SCN format. Date Example: --cdc-start-position “2018-03-08T12:12:12” Checkpoint Example: --cdc-start-position "checkpoint:V1mysql-bin-changelog.157832:1975:-1:2002:677883278264080:mysql-bin-changelog.157832:187600#93" LSN Example: --cdc-start-position “mysql-bin-changelog.000024:373”
srtCdcStopPosition :: Lens' StartReplicationTask (Maybe Text) Source #
Indicates when you want a change data capture (CDC) operation to stop. The value can be either server time or commit time. Server time example: --cdc-stop-position “server_time:3018-02-09T12:12:12” Commit time example: --cdc-stop-position “commit_time: 3018-02-09T12:12:12 “
srtCdcStartTime :: Lens' StartReplicationTask (Maybe UTCTime) Source #
Indicates the start time for a change data capture (CDC) operation. Use either CdcStartTime or CdcStartPosition to specify when you want a CDC operation to start. Specifying both values results in an error.
srtReplicationTaskARN :: Lens' StartReplicationTask Text Source #
The Amazon Resource Name (ARN) of the replication task to be started.
srtStartReplicationTaskType :: Lens' StartReplicationTask StartReplicationTaskTypeValue Source #
The type of replication task.
Destructuring the Response
startReplicationTaskResponse Source #
Creates a value of StartReplicationTaskResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
srtrsReplicationTask
- The replication task started.srtrsResponseStatus
- -- | The response status code.
data StartReplicationTaskResponse Source #
See: startReplicationTaskResponse
smart constructor.
Instances
Response Lenses
srtrsReplicationTask :: Lens' StartReplicationTaskResponse (Maybe ReplicationTask) Source #
The replication task started.
srtrsResponseStatus :: Lens' StartReplicationTaskResponse Int Source #
- - | The response status code.