import { Command as $Command } from "@smithy/core/client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DBClusterBacktrackMessage, DescribeDBClusterBacktracksMessage } from "../models/models_0"; import type { RDSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RDSClient"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link DescribeDBClusterBacktracksCommand}. */ export interface DescribeDBClusterBacktracksCommandInput extends DescribeDBClusterBacktracksMessage { } /** * @public * * The output of {@link DescribeDBClusterBacktracksCommand}. */ export interface DescribeDBClusterBacktracksCommandOutput extends DBClusterBacktrackMessage, __MetadataBearer { } declare const DescribeDBClusterBacktracksCommand_base: { new (input: DescribeDBClusterBacktracksCommandInput): import("@smithy/core/client").CommandImpl; new (input: DescribeDBClusterBacktracksCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): { [x: string]: unknown; }; }; /** *

Returns information about backtracks for a DB cluster.

For more information on Amazon Aurora, see What is Amazon Aurora? in the Amazon Aurora User Guide.

This action only applies to Aurora MySQL DB clusters.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { RDSClient, DescribeDBClusterBacktracksCommand } from "@aws-sdk/client-rds"; // ES Modules import * // const { RDSClient, DescribeDBClusterBacktracksCommand } = require("@aws-sdk/client-rds"); // CommonJS import * // import type { RDSClientConfig } from "@aws-sdk/client-rds"; * const config = {}; // type is RDSClientConfig * const client = new RDSClient(config); * const input = { // DescribeDBClusterBacktracksMessage * DBClusterIdentifier: "STRING_VALUE", // required * BacktrackIdentifier: "STRING_VALUE", * Filters: [ // FilterList * { // Filter * Name: "STRING_VALUE", // required * Values: [ // FilterValueList // required * "STRING_VALUE", * ], * }, * ], * MaxRecords: Number("int"), * Marker: "STRING_VALUE", * }; * const command = new DescribeDBClusterBacktracksCommand(input); * const response = await client.send(command); * // { // DBClusterBacktrackMessage * // Marker: "STRING_VALUE", * // DBClusterBacktracks: [ // DBClusterBacktrackList * // { // DBClusterBacktrack * // DBClusterIdentifier: "STRING_VALUE", * // BacktrackIdentifier: "STRING_VALUE", * // BacktrackTo: new Date("TIMESTAMP"), * // BacktrackedFrom: new Date("TIMESTAMP"), * // BacktrackRequestCreationTime: new Date("TIMESTAMP"), * // Status: "STRING_VALUE", * // }, * // ], * // }; * * ``` * * @param DescribeDBClusterBacktracksCommandInput - {@link DescribeDBClusterBacktracksCommandInput} * @returns {@link DescribeDBClusterBacktracksCommandOutput} * @see {@link DescribeDBClusterBacktracksCommandInput} for command's `input` shape. * @see {@link DescribeDBClusterBacktracksCommandOutput} for command's `response` shape. * @see {@link RDSClientResolvedConfig | config} for RDSClient's `config` shape. * * @throws {@link DBClusterBacktrackNotFoundFault} (client fault) *

BacktrackIdentifier doesn't refer to an existing backtrack.

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

DBClusterIdentifier doesn't refer to an existing DB cluster.

* * @throws {@link RDSServiceException} *

Base exception class for all service exceptions from RDS service.

* * * @example To describe backtracks for a DB cluster * ```javascript * // The following example retrieves details about the specified DB cluster. * const input = { * DBClusterIdentifier: "mydbcluster" * }; * const command = new DescribeDBClusterBacktracksCommand(input); * const response = await client.send(command); * /* response is * { * DBClusterBacktracks: [ * { * BacktrackIdentifier: "2f5f5294-0dd2-44c9-9f50-EXAMPLE", * BacktrackRequestCreationTime: "2021-02-12T14:36:18.819Z", * BacktrackTo: "2021-02-12T04:59:22Z", * BacktrackedFrom: "2021-02-12T14:37:31.640Z", * DBClusterIdentifier: "mydbcluster", * Status: "COMPLETED" * }, * { * BacktrackIdentifier: "3c7a6421-af2a-4ea3-ae95-EXAMPLE", * BacktrackRequestCreationTime: "2021-02-12T00:07:53.487Z", * BacktrackTo: "2021-02-11T22:53:46Z", * BacktrackedFrom: "2021-02-12T00:09:27.006Z", * DBClusterIdentifier: "mydbcluster", * Status: "COMPLETED" * } * ] * } * *\/ * ``` * * @public */ export declare class DescribeDBClusterBacktracksCommand extends DescribeDBClusterBacktracksCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DescribeDBClusterBacktracksMessage; output: DBClusterBacktrackMessage; }; sdk: { input: DescribeDBClusterBacktracksCommandInput; output: DescribeDBClusterBacktracksCommandOutput; }; }; }