import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ListBackupPlansInput, ListBackupPlansOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link ListBackupPlansCommand}. */ export interface ListBackupPlansCommandInput extends ListBackupPlansInput { } /** * @public * * The output of {@link ListBackupPlansCommand}. */ export interface ListBackupPlansCommandOutput extends ListBackupPlansOutput, __MetadataBearer { } declare const ListBackupPlansCommand_base: { new (input: ListBackupPlansCommandInput): import("@smithy/core/client").CommandImpl; new (...[input]: [] | [ListBackupPlansCommandInput]): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Lists the active backup plans for the account.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { BackupClient, ListBackupPlansCommand } from "@aws-sdk/client-backup"; // ES Modules import * // const { BackupClient, ListBackupPlansCommand } = 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 = { // ListBackupPlansInput * NextToken: "STRING_VALUE", * MaxResults: Number("int"), * IncludeDeleted: true || false, * }; * const command = new ListBackupPlansCommand(input); * const response = await client.send(command); * // { // ListBackupPlansOutput * // NextToken: "STRING_VALUE", * // BackupPlansList: [ // BackupPlansList * // { // BackupPlansListMember * // BackupPlanArn: "STRING_VALUE", * // BackupPlanId: "STRING_VALUE", * // CreationDate: new Date("TIMESTAMP"), * // DeletionDate: new Date("TIMESTAMP"), * // VersionId: "STRING_VALUE", * // BackupPlanName: "STRING_VALUE", * // CreatorRequestId: "STRING_VALUE", * // LastExecutionDate: new Date("TIMESTAMP"), * // AdvancedBackupSettings: [ // AdvancedBackupSettings * // { // AdvancedBackupSetting * // ResourceType: "STRING_VALUE", * // BackupOptions: { // BackupOptions * // "": "STRING_VALUE", * // }, * // }, * // ], * // }, * // ], * // }; * * ``` * * @param ListBackupPlansCommandInput - {@link ListBackupPlansCommandInput} * @returns {@link ListBackupPlansCommandOutput} * @see {@link ListBackupPlansCommandInput} for command's `input` shape. * @see {@link ListBackupPlansCommandOutput} 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 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 ListBackupPlansCommand extends ListBackupPlansCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListBackupPlansInput; output: ListBackupPlansOutput; }; sdk: { input: ListBackupPlansCommandInput; output: ListBackupPlansCommandOutput; }; }; }