Skip to content

DescribeTableStatistics

Source: src/AWS/DMS/DescribeTableStatistics.ts

Runtime binding for dms:DescribeTableStatistics.

Bind this operation (account-level) to read per-table migration progress for a replication task — rows inserted/updated/deleted, full-load completion, validation state. The data behind migration progress dashboards and cut-over gates. Provide the implementation with Effect.provide(AWS.DMS.DescribeTableStatisticsHttp).

// init — account-level, no target resource
const describeTableStatistics = yield* AWS.DMS.DescribeTableStatistics();
// runtime
const { TableStatistics } = yield* describeTableStatistics({
ReplicationTaskArn: taskArn,
});
const pending = TableStatistics?.filter(
(table) => table.FullLoadEndTime === undefined,
);