Skip to content

StartReplication

Source: src/AWS/DMS/StartReplication.ts

Runtime binding for dms:StartReplication.

Bind this operation (account-level) to start a DMS Serverless replication for a replication config by ARN — DMS provisions the required capacity and begins replicating. The serverless counterpart of StartReplicationTask. Provide the implementation with Effect.provide(AWS.DMS.StartReplicationHttp).

// init — account-level, no target resource
const startReplication = yield* AWS.DMS.StartReplication();
// runtime
const { Replication } = yield* startReplication({
ReplicationConfigArn: configArn,
StartReplicationType: "start-replication",
});