Skip to main content

replications

Creates, updates, deletes, gets or lists a replications resource.

Overview​

Namereplications
TypeResource
Idaws.dms.replications

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
markerstringAn optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.
replicationsarrayThe replication descriptions.

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_replicationsselectregionProvides details on replication progress by returning status information for one or more provisioned DMS Serverless replications.
move_replication_taskexecregion, ReplicationTaskArn, TargetReplicationInstanceArnMoves 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.
reboot_replication_instanceexecregion, ReplicationInstanceArnReboots a replication instance. Rebooting results in a momentary outage, until the replication instance becomes available again.
start_replication_taskexecregion, ReplicationTaskArn, StartReplicationTaskTypeStarts the replication task. For more information about DMS tasks, see Working with Migration Tasks in the Database Migration Service User Guide.
stop_replication_taskexecregion, ReplicationTaskArnStops the replication task.

Parameters​

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples​

Provides details on replication progress by returning status information for one or more provisioned DMS Serverless replications.

SELECT
marker,
replications
FROM aws.dms.replications
WHERE region = '{{ region }}' -- required
;

Lifecycle Methods​

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.

EXEC aws.dms.replications.move_replication_task
@region='{{ region }}' --required
@@json=
'{
"ReplicationTaskArn": "{{ ReplicationTaskArn }}",
"TargetReplicationInstanceArn": "{{ TargetReplicationInstanceArn }}"
}'
;