startReplicationTask
abstract suspend fun startReplicationTask(input: StartReplicationTaskRequest): StartReplicationTaskResponse
Starts the replication task.
For more information about DMS tasks, see Working with Migration Tasks in the Database Migration Service User Guide.
Samples
fun main() {
//sampleStart
// Starts the replication task.
val resp = databaseMigrationClient.startReplicationTask {
replicationTaskArn = "arn:aws:dms:us-east-1:123456789012:rep:6UTDJGBOUS3VI3SUWA66XFJCJQ"
startReplicationTaskType = StartReplicationTaskTypeValue.fromValue("start-replication")
cdcStartTime = "2016-12-14T13:33:20Z"
}
//sampleEnd
}