Skip to content

StopReplicationTask

Source: src/AWS/DMS/StopReplicationTask.ts

Runtime binding for dms:StopReplicationTask.

Bind this operation (account-level) to stop a running replication task by ARN — the other half of scheduled CDC windows and cost-control automation (pair with StartReplicationTask). Provide the implementation with Effect.provide(AWS.DMS.StopReplicationTaskHttp).

// init — account-level, no target resource
const stopReplicationTask = yield* AWS.DMS.StopReplicationTask();
// runtime
const { ReplicationTask } = yield* stopReplicationTask({
ReplicationTaskArn: taskArn,
});