import type * as dms from "@distilled.cloud/aws/database-migration-service"; import type * as Effect from "effect/Effect"; import * as Binding from "../../Binding.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)`. * ### Monitoring Migration Progress * **Example:** Gate a Cut-Over on Full-Load Completion * ```typescript * // 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, * ); * ``` * * @binding */ export interface DescribeTableStatistics extends Binding.Service Effect.Effect<(request: dms.DescribeTableStatisticsMessage) => Effect.Effect>> { } export declare const DescribeTableStatistics: DescribeTableStatistics; //# sourceMappingURL=DescribeTableStatistics.d.ts.map