import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DatabaseMigrationServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DatabaseMigrationServiceClient"; import type { DescribeReplicationTableStatisticsMessage, DescribeReplicationTableStatisticsResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link DescribeReplicationTableStatisticsCommand}. */ export interface DescribeReplicationTableStatisticsCommandInput extends DescribeReplicationTableStatisticsMessage { } /** * @public * * The output of {@link DescribeReplicationTableStatisticsCommand}. */ export interface DescribeReplicationTableStatisticsCommandOutput extends DescribeReplicationTableStatisticsResponse, __MetadataBearer { } declare const DescribeReplicationTableStatisticsCommand_base: { new (input: DescribeReplicationTableStatisticsCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: DescribeReplicationTableStatisticsCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Returns table and schema statistics for one or more provisioned replications that use a * given DMS Serverless replication configuration.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { DatabaseMigrationServiceClient, DescribeReplicationTableStatisticsCommand } from "@aws-sdk/client-database-migration-service"; // ES Modules import * // const { DatabaseMigrationServiceClient, DescribeReplicationTableStatisticsCommand } = require("@aws-sdk/client-database-migration-service"); // CommonJS import * // import type { DatabaseMigrationServiceClientConfig } from "@aws-sdk/client-database-migration-service"; * const config = {}; // type is DatabaseMigrationServiceClientConfig * const client = new DatabaseMigrationServiceClient(config); * const input = { // DescribeReplicationTableStatisticsMessage * ReplicationConfigArn: "STRING_VALUE", // required * MaxRecords: Number("int"), * Marker: "STRING_VALUE", * Filters: [ // FilterList * { // Filter * Name: "STRING_VALUE", // required * Values: [ // FilterValueList // required * "STRING_VALUE", * ], * }, * ], * }; * const command = new DescribeReplicationTableStatisticsCommand(input); * const response = await client.send(command); * // { // DescribeReplicationTableStatisticsResponse * // ReplicationConfigArn: "STRING_VALUE", * // Marker: "STRING_VALUE", * // ReplicationTableStatistics: [ // ReplicationTableStatisticsList * // { // TableStatistics * // SchemaName: "STRING_VALUE", * // TableName: "STRING_VALUE", * // Inserts: Number("long"), * // Deletes: Number("long"), * // Updates: Number("long"), * // Ddls: Number("long"), * // AppliedInserts: Number("long"), * // AppliedDeletes: Number("long"), * // AppliedUpdates: Number("long"), * // AppliedDdls: Number("long"), * // FullLoadRows: Number("long"), * // FullLoadCondtnlChkFailedRows: Number("long"), * // FullLoadErrorRows: Number("long"), * // FullLoadStartTime: new Date("TIMESTAMP"), * // FullLoadEndTime: new Date("TIMESTAMP"), * // FullLoadReloaded: true || false, * // LastUpdateTime: new Date("TIMESTAMP"), * // TableState: "STRING_VALUE", * // ValidationPendingRecords: Number("long"), * // ValidationFailedRecords: Number("long"), * // ValidationSuspendedRecords: Number("long"), * // ValidationState: "STRING_VALUE", * // ValidationStateDetails: "STRING_VALUE", * // ResyncState: "STRING_VALUE", * // ResyncRowsAttempted: Number("long"), * // ResyncRowsSucceeded: Number("long"), * // ResyncRowsFailed: Number("long"), * // ResyncProgress: Number("double"), * // }, * // ], * // }; * * ``` * * @param DescribeReplicationTableStatisticsCommandInput - {@link DescribeReplicationTableStatisticsCommandInput} * @returns {@link DescribeReplicationTableStatisticsCommandOutput} * @see {@link DescribeReplicationTableStatisticsCommandInput} for command's `input` shape. * @see {@link DescribeReplicationTableStatisticsCommandOutput} for command's `response` shape. * @see {@link DatabaseMigrationServiceClientResolvedConfig | config} for DatabaseMigrationServiceClient's `config` shape. * * @throws {@link InvalidResourceStateFault} (client fault) *

The resource is in a state that prevents it from being used for database migration.

* * @throws {@link ResourceNotFoundFault} (client fault) *

The resource could not be found.

* * @throws {@link DatabaseMigrationServiceServiceException} *

Base exception class for all service exceptions from DatabaseMigrationService service.

* * * @public */ export declare class DescribeReplicationTableStatisticsCommand extends DescribeReplicationTableStatisticsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DescribeReplicationTableStatisticsMessage; output: DescribeReplicationTableStatisticsResponse; }; sdk: { input: DescribeReplicationTableStatisticsCommandInput; output: DescribeReplicationTableStatisticsCommandOutput; }; }; }