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

Returns information about replication tasks for your account in the current * region.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { DatabaseMigrationServiceClient, DescribeReplicationTasksCommand } from "@aws-sdk/client-database-migration-service"; // ES Modules import * // const { DatabaseMigrationServiceClient, DescribeReplicationTasksCommand } = 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 = { // DescribeReplicationTasksMessage * Filters: [ // FilterList * { // Filter * Name: "STRING_VALUE", // required * Values: [ // FilterValueList // required * "STRING_VALUE", * ], * }, * ], * MaxRecords: Number("int"), * Marker: "STRING_VALUE", * WithoutSettings: true || false, * }; * const command = new DescribeReplicationTasksCommand(input); * const response = await client.send(command); * // { // DescribeReplicationTasksResponse * // Marker: "STRING_VALUE", * // ReplicationTasks: [ // ReplicationTaskList * // { // ReplicationTask * // ReplicationTaskIdentifier: "STRING_VALUE", * // SourceEndpointArn: "STRING_VALUE", * // TargetEndpointArn: "STRING_VALUE", * // ReplicationInstanceArn: "STRING_VALUE", * // MigrationType: "full-load" || "cdc" || "full-load-and-cdc", * // TableMappings: "STRING_VALUE", * // ReplicationTaskSettings: "STRING_VALUE", * // Status: "STRING_VALUE", * // LastFailureMessage: "STRING_VALUE", * // StopReason: "STRING_VALUE", * // ReplicationTaskCreationDate: new Date("TIMESTAMP"), * // ReplicationTaskStartDate: new Date("TIMESTAMP"), * // CdcStartPosition: "STRING_VALUE", * // CdcStopPosition: "STRING_VALUE", * // RecoveryCheckpoint: "STRING_VALUE", * // ReplicationTaskArn: "STRING_VALUE", * // ReplicationTaskStats: { // ReplicationTaskStats * // 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"), * // }, * // TaskData: "STRING_VALUE", * // TargetReplicationInstanceArn: "STRING_VALUE", * // }, * // ], * // }; * * ``` * * @param DescribeReplicationTasksCommandInput - {@link DescribeReplicationTasksCommandInput} * @returns {@link DescribeReplicationTasksCommandOutput} * @see {@link DescribeReplicationTasksCommandInput} for command's `input` shape. * @see {@link DescribeReplicationTasksCommandOutput} 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.

* * * @example Describe replication tasks * ```javascript * // Returns information about replication tasks for your account in the current region. * const input = { * Filters: [ * { * Name: "string", * Values: [ * "string", * "string" * ] * } * ], * Marker: "", * MaxRecords: 123 * }; * const command = new DescribeReplicationTasksCommand(input); * const response = await client.send(command); * /* response is * { * Marker: "", * ReplicationTasks: [] * } * *\/ * ``` * * @public */ export declare class DescribeReplicationTasksCommand extends DescribeReplicationTasksCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DescribeReplicationTasksMessage; output: DescribeReplicationTasksResponse; }; sdk: { input: DescribeReplicationTasksCommandInput; output: DescribeReplicationTasksCommandOutput; }; }; }