import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DeleteBackupPlanInput, DeleteBackupPlanOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link DeleteBackupPlanCommand}. */ export interface DeleteBackupPlanCommandInput extends DeleteBackupPlanInput { } /** * @public * * The output of {@link DeleteBackupPlanCommand}. */ export interface DeleteBackupPlanCommandOutput extends DeleteBackupPlanOutput, __MetadataBearer { } declare const DeleteBackupPlanCommand_base: { new (input: DeleteBackupPlanCommandInput): import("@smithy/core/client").CommandImpl; new (input: DeleteBackupPlanCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Deletes a backup plan. A backup plan can only be deleted after all associated selections * of resources have been deleted. Deleting a backup plan deletes the current version of a * backup plan. Previous versions, if any, will still exist.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { BackupClient, DeleteBackupPlanCommand } from "@aws-sdk/client-backup"; // ES Modules import * // const { BackupClient, DeleteBackupPlanCommand } = 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 = { // DeleteBackupPlanInput * BackupPlanId: "STRING_VALUE", // required * }; * const command = new DeleteBackupPlanCommand(input); * const response = await client.send(command); * // { // DeleteBackupPlanOutput * // BackupPlanId: "STRING_VALUE", * // BackupPlanArn: "STRING_VALUE", * // DeletionDate: new Date("TIMESTAMP"), * // VersionId: "STRING_VALUE", * // }; * * ``` * * @param DeleteBackupPlanCommandInput - {@link DeleteBackupPlanCommandInput} * @returns {@link DeleteBackupPlanCommandOutput} * @see {@link DeleteBackupPlanCommandInput} for command's `input` shape. * @see {@link DeleteBackupPlanCommandOutput} for command's `response` shape. * @see {@link BackupClientResolvedConfig | config} for BackupClient's `config` shape. * * @throws {@link InvalidParameterValueException} (client fault) *

Indicates that something is wrong with a parameter's value. For example, the value is * out of range.

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

Indicates that something is wrong with the input to the request. For example, a * parameter is of the wrong type.

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

Indicates that a required parameter is missing.

* * @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 DeleteBackupPlanCommand extends DeleteBackupPlanCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DeleteBackupPlanInput; output: DeleteBackupPlanOutput; }; sdk: { input: DeleteBackupPlanCommandInput; output: DeleteBackupPlanCommandOutput; }; }; }