import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { GetRestoreTestingPlanInput, GetRestoreTestingPlanOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link GetRestoreTestingPlanCommand}. */ export interface GetRestoreTestingPlanCommandInput extends GetRestoreTestingPlanInput { } /** * @public * * The output of {@link GetRestoreTestingPlanCommand}. */ export interface GetRestoreTestingPlanCommandOutput extends GetRestoreTestingPlanOutput, __MetadataBearer { } declare const GetRestoreTestingPlanCommand_base: { new (input: GetRestoreTestingPlanCommandInput): import("@smithy/core/client").CommandImpl; new (input: GetRestoreTestingPlanCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Returns RestoreTestingPlan details for the specified * RestoreTestingPlanName. The details are the body of a restore testing plan * in JSON format, in addition to plan metadata.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { BackupClient, GetRestoreTestingPlanCommand } from "@aws-sdk/client-backup"; // ES Modules import * // const { BackupClient, GetRestoreTestingPlanCommand } = require("@aws-sdk/client-backup"); // CommonJS import * // import type { BackupClientConfig } from "@aws-sdk/client-backup"; * const config = {}; // type is BackupClientConfig * const client = new BackupClient(config); * const input = { // GetRestoreTestingPlanInput * RestoreTestingPlanName: "STRING_VALUE", // required * }; * const command = new GetRestoreTestingPlanCommand(input); * const response = await client.send(command); * // { // GetRestoreTestingPlanOutput * // RestoreTestingPlan: { // RestoreTestingPlanForGet * // CreationTime: new Date("TIMESTAMP"), // required * // CreatorRequestId: "STRING_VALUE", * // LastExecutionTime: new Date("TIMESTAMP"), * // LastUpdateTime: new Date("TIMESTAMP"), * // RecoveryPointSelection: { // RestoreTestingRecoveryPointSelection * // Algorithm: "LATEST_WITHIN_WINDOW" || "RANDOM_WITHIN_WINDOW", * // ExcludeVaults: [ // stringList * // "STRING_VALUE", * // ], * // IncludeVaults: [ * // "STRING_VALUE", * // ], * // RecoveryPointTypes: [ // RestoreTestingRecoveryPointTypeList * // "CONTINUOUS" || "SNAPSHOT", * // ], * // SelectionWindowDays: Number("int"), * // }, * // RestoreTestingPlanArn: "STRING_VALUE", // required * // RestoreTestingPlanName: "STRING_VALUE", // required * // ScheduleExpression: "STRING_VALUE", // required * // ScheduleExpressionTimezone: "STRING_VALUE", * // StartWindowHours: Number("int"), * // }, * // }; * * ``` * * @param GetRestoreTestingPlanCommandInput - {@link GetRestoreTestingPlanCommandInput} * @returns {@link GetRestoreTestingPlanCommandOutput} * @see {@link GetRestoreTestingPlanCommandInput} for command's `input` shape. * @see {@link GetRestoreTestingPlanCommandOutput} for command's `response` shape. * @see {@link BackupClientResolvedConfig | config} for BackupClient's `config` shape. * * @throws {@link ResourceNotFoundException} (client fault) *

A resource that is required for the action doesn't exist.

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

The request failed due to a temporary failure of the server.

* * @throws {@link BackupServiceException} *

Base exception class for all service exceptions from Backup service.

* * * @public */ export declare class GetRestoreTestingPlanCommand extends GetRestoreTestingPlanCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetRestoreTestingPlanInput; output: GetRestoreTestingPlanOutput; }; sdk: { input: GetRestoreTestingPlanCommandInput; output: GetRestoreTestingPlanCommandOutput; }; }; }