import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ListBackupVaultsInput, ListBackupVaultsOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link ListBackupVaultsCommand}. */ export interface ListBackupVaultsCommandInput extends ListBackupVaultsInput { } /** * @public * * The output of {@link ListBackupVaultsCommand}. */ export interface ListBackupVaultsCommandOutput extends ListBackupVaultsOutput, __MetadataBearer { } declare const ListBackupVaultsCommand_base: { new (input: ListBackupVaultsCommandInput): import("@smithy/core/client").CommandImpl; new (...[input]: [] | [ListBackupVaultsCommandInput]): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Returns a list of recovery point storage containers along with information about * them.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { BackupClient, ListBackupVaultsCommand } from "@aws-sdk/client-backup"; // ES Modules import * // const { BackupClient, ListBackupVaultsCommand } = 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 = { // ListBackupVaultsInput * ByVaultType: "BACKUP_VAULT" || "LOGICALLY_AIR_GAPPED_BACKUP_VAULT" || "RESTORE_ACCESS_BACKUP_VAULT", * ByShared: true || false, * NextToken: "STRING_VALUE", * MaxResults: Number("int"), * }; * const command = new ListBackupVaultsCommand(input); * const response = await client.send(command); * // { // ListBackupVaultsOutput * // BackupVaultList: [ // BackupVaultList * // { // BackupVaultListMember * // BackupVaultName: "STRING_VALUE", * // BackupVaultArn: "STRING_VALUE", * // VaultType: "BACKUP_VAULT" || "LOGICALLY_AIR_GAPPED_BACKUP_VAULT" || "RESTORE_ACCESS_BACKUP_VAULT", * // VaultState: "CREATING" || "AVAILABLE" || "FAILED", * // CreationDate: new Date("TIMESTAMP"), * // EncryptionKeyArn: "STRING_VALUE", * // CreatorRequestId: "STRING_VALUE", * // NumberOfRecoveryPoints: Number("long"), * // Locked: true || false, * // MinRetentionDays: Number("long"), * // MaxRetentionDays: Number("long"), * // LockDate: new Date("TIMESTAMP"), * // EncryptionKeyType: "AWS_OWNED_KMS_KEY" || "CUSTOMER_MANAGED_KMS_KEY", * // }, * // ], * // NextToken: "STRING_VALUE", * // }; * * ``` * * @param ListBackupVaultsCommandInput - {@link ListBackupVaultsCommandInput} * @returns {@link ListBackupVaultsCommandOutput} * @see {@link ListBackupVaultsCommandInput} for command's `input` shape. * @see {@link ListBackupVaultsCommandOutput} 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 ListBackupVaultsCommand extends ListBackupVaultsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListBackupVaultsInput; output: ListBackupVaultsOutput; }; sdk: { input: ListBackupVaultsCommandInput; output: ListBackupVaultsCommandOutput; }; }; }