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 { DescribeReplicationsMessage, DescribeReplicationsResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link DescribeReplicationsCommand}. */ export interface DescribeReplicationsCommandInput extends DescribeReplicationsMessage { } /** * @public * * The output of {@link DescribeReplicationsCommand}. */ export interface DescribeReplicationsCommandOutput extends DescribeReplicationsResponse, __MetadataBearer { } declare const DescribeReplicationsCommand_base: { new (input: DescribeReplicationsCommandInput): import("@smithy/smithy-client").CommandImpl; new (...[input]: [] | [DescribeReplicationsCommandInput]): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Provides details on replication progress by returning status information for one or more * provisioned DMS Serverless replications.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { DatabaseMigrationServiceClient, DescribeReplicationsCommand } from "@aws-sdk/client-database-migration-service"; // ES Modules import * // const { DatabaseMigrationServiceClient, DescribeReplicationsCommand } = 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 = { // DescribeReplicationsMessage * Filters: [ // FilterList * { // Filter * Name: "STRING_VALUE", // required * Values: [ // FilterValueList // required * "STRING_VALUE", * ], * }, * ], * MaxRecords: Number("int"), * Marker: "STRING_VALUE", * }; * const command = new DescribeReplicationsCommand(input); * const response = await client.send(command); * // { // DescribeReplicationsResponse * // Marker: "STRING_VALUE", * // Replications: [ // ReplicationList * // { // Replication * // ReplicationConfigIdentifier: "STRING_VALUE", * // ReplicationConfigArn: "STRING_VALUE", * // SourceEndpointArn: "STRING_VALUE", * // TargetEndpointArn: "STRING_VALUE", * // ReplicationType: "full-load" || "cdc" || "full-load-and-cdc", * // Status: "STRING_VALUE", * // ProvisionData: { // ProvisionData * // ProvisionState: "STRING_VALUE", * // ProvisionedCapacityUnits: Number("int"), * // DateProvisioned: new Date("TIMESTAMP"), * // IsNewProvisioningAvailable: true || false, * // DateNewProvisioningDataAvailable: new Date("TIMESTAMP"), * // ReasonForNewProvisioningData: "STRING_VALUE", * // }, * // PremigrationAssessmentStatuses: [ // PremigrationAssessmentStatusList * // { // PremigrationAssessmentStatus * // PremigrationAssessmentRunArn: "STRING_VALUE", * // FailOnAssessmentFailure: true || false, * // Status: "STRING_VALUE", * // PremigrationAssessmentRunCreationDate: new Date("TIMESTAMP"), * // AssessmentProgress: { // ReplicationTaskAssessmentRunProgress * // IndividualAssessmentCount: Number("int"), * // IndividualAssessmentCompletedCount: Number("int"), * // }, * // LastFailureMessage: "STRING_VALUE", * // ResultLocationBucket: "STRING_VALUE", * // ResultLocationFolder: "STRING_VALUE", * // ResultEncryptionMode: "STRING_VALUE", * // ResultKmsKeyArn: "STRING_VALUE", * // ResultStatistic: { // ReplicationTaskAssessmentRunResultStatistic * // Passed: Number("int"), * // Failed: Number("int"), * // Error: Number("int"), * // Warning: Number("int"), * // Cancelled: Number("int"), * // Skipped: Number("int"), * // }, * // }, * // ], * // StopReason: "STRING_VALUE", * // FailureMessages: [ // StringList * // "STRING_VALUE", * // ], * // ReplicationStats: { // ReplicationStats * // FullLoadProgressPercent: Number("int"), * // ElapsedTimeMillis: Number("long"), * // TablesLoaded: Number("int"), * // TablesLoading: Number("int"), * // TablesQueued: Number("int"), * // TablesErrored: Number("int"), * // FreshStartDate: new Date("TIMESTAMP"), * // StartDate: new Date("TIMESTAMP"), * // StopDate: new Date("TIMESTAMP"), * // FullLoadStartDate: new Date("TIMESTAMP"), * // FullLoadFinishDate: new Date("TIMESTAMP"), * // }, * // StartReplicationType: "STRING_VALUE", * // CdcStartTime: new Date("TIMESTAMP"), * // CdcStartPosition: "STRING_VALUE", * // CdcStopPosition: "STRING_VALUE", * // RecoveryCheckpoint: "STRING_VALUE", * // ReplicationCreateTime: new Date("TIMESTAMP"), * // ReplicationUpdateTime: new Date("TIMESTAMP"), * // ReplicationLastStopTime: new Date("TIMESTAMP"), * // ReplicationDeprovisionTime: new Date("TIMESTAMP"), * // IsReadOnly: true || false, * // }, * // ], * // }; * * ``` * * @param DescribeReplicationsCommandInput - {@link DescribeReplicationsCommandInput} * @returns {@link DescribeReplicationsCommandOutput} * @see {@link DescribeReplicationsCommandInput} for command's `input` shape. * @see {@link DescribeReplicationsCommandOutput} for command's `response` shape. * @see {@link DatabaseMigrationServiceClientResolvedConfig | config} for DatabaseMigrationServiceClient's `config` shape. * * @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 DescribeReplicationsCommand extends DescribeReplicationsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DescribeReplicationsMessage; output: DescribeReplicationsResponse; }; sdk: { input: DescribeReplicationsCommandInput; output: DescribeReplicationsCommandOutput; }; }; }