import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DescribeRecoverySnapshotsRequest, DescribeRecoverySnapshotsResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link DescribeRecoverySnapshotsCommand}. */ export interface DescribeRecoverySnapshotsCommandInput extends DescribeRecoverySnapshotsRequest { } /** * @public * * The output of {@link DescribeRecoverySnapshotsCommand}. */ export interface DescribeRecoverySnapshotsCommandOutput extends DescribeRecoverySnapshotsResponse, __MetadataBearer { } declare const DescribeRecoverySnapshotsCommand_base: { new (input: DescribeRecoverySnapshotsCommandInput): import("@smithy/core/client").CommandImpl; new (input: DescribeRecoverySnapshotsCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Lists all Recovery Snapshots for a single Source Server.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { DrsClient, DescribeRecoverySnapshotsCommand } from "@aws-sdk/client-drs"; // ES Modules import * // const { DrsClient, DescribeRecoverySnapshotsCommand } = require("@aws-sdk/client-drs"); // CommonJS import * // import type { DrsClientConfig } from "@aws-sdk/client-drs"; * const config = {}; // type is DrsClientConfig * const client = new DrsClient(config); * const input = { // DescribeRecoverySnapshotsRequest * sourceServerID: "STRING_VALUE", // required * filters: { // DescribeRecoverySnapshotsRequestFilters * fromDateTime: "STRING_VALUE", * toDateTime: "STRING_VALUE", * }, * order: "STRING_VALUE", * maxResults: Number("int"), * nextToken: "STRING_VALUE", * }; * const command = new DescribeRecoverySnapshotsCommand(input); * const response = await client.send(command); * // { // DescribeRecoverySnapshotsResponse * // items: [ // RecoverySnapshotsList * // { // RecoverySnapshot * // snapshotID: "STRING_VALUE", // required * // sourceServerID: "STRING_VALUE", // required * // expectedTimestamp: "STRING_VALUE", // required * // timestamp: "STRING_VALUE", * // ebsSnapshots: [ // EbsSnapshotsList * // "STRING_VALUE", * // ], * // }, * // ], * // nextToken: "STRING_VALUE", * // }; * * ``` * * @param DescribeRecoverySnapshotsCommandInput - {@link DescribeRecoverySnapshotsCommandInput} * @returns {@link DescribeRecoverySnapshotsCommandOutput} * @see {@link DescribeRecoverySnapshotsCommandInput} for command's `input` shape. * @see {@link DescribeRecoverySnapshotsCommandOutput} for command's `response` shape. * @see {@link DrsClientResolvedConfig | config} for DrsClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

You do not have sufficient access to perform this action.

* * @throws {@link InternalServerException} (server fault) *

The request processing has failed because of an unknown error, exception or failure.

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

The request was denied due to request throttling.

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

The account performing the request has not been initialized.

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

The input fails to satisfy the constraints specified by the AWS service.

* * @throws {@link DrsServiceException} *

Base exception class for all service exceptions from Drs service.

* * * @public */ export declare class DescribeRecoverySnapshotsCommand extends DescribeRecoverySnapshotsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DescribeRecoverySnapshotsRequest; output: DescribeRecoverySnapshotsResponse; }; sdk: { input: DescribeRecoverySnapshotsCommandInput; output: DescribeRecoverySnapshotsCommandOutput; }; }; }