Reputation: 501
I'm getting this error when trying to restart my DMS Replication TASK with start_replication_task
Boto3 method:
An error occurred (InvalidParameterCombinationException) when calling
the StartReplicationTask operation:
Start Type : START_REPLICATION, valid only for tasks running for the first time
To solve that i'm creating a new task every execution, can i restart that with the same task instead?
Upvotes: 1
Views: 4005
Reputation: 21452
you may need to set StartReplicationTaskType
to reload-target
if you want to restart the task from beginning or resume-processing
if you already start task and you want to resume it.
start-replication valid only after you create the task and want to start it
StartReplicationTaskType --> Valid Values: start-replication | resume-processing | reload-target
Upvotes: 5