import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { CreateBackupVaultInput, CreateBackupVaultOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link CreateBackupVaultCommand}. */ export interface CreateBackupVaultCommandInput extends CreateBackupVaultInput { } /** * @public * * The output of {@link CreateBackupVaultCommand}. */ export interface CreateBackupVaultCommandOutput extends CreateBackupVaultOutput, __MetadataBearer { } declare const CreateBackupVaultCommand_base: { new (input: CreateBackupVaultCommandInput): import("@smithy/core/client").CommandImpl; new (input: CreateBackupVaultCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Creates a logical container where backups are stored. A CreateBackupVault * request includes a name, optionally one or more resource tags, an encryption key, and a * request ID.

* *

Do not include sensitive data, such as passport numbers, in the name of a backup * vault.

*
* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { BackupClient, CreateBackupVaultCommand } from "@aws-sdk/client-backup"; // ES Modules import * // const { BackupClient, CreateBackupVaultCommand } = 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 = { // CreateBackupVaultInput * BackupVaultName: "STRING_VALUE", // required * BackupVaultTags: { // Tags * "": "STRING_VALUE", * }, * EncryptionKeyArn: "STRING_VALUE", * CreatorRequestId: "STRING_VALUE", * }; * const command = new CreateBackupVaultCommand(input); * const response = await client.send(command); * // { // CreateBackupVaultOutput * // BackupVaultName: "STRING_VALUE", * // BackupVaultArn: "STRING_VALUE", * // CreationDate: new Date("TIMESTAMP"), * // }; * * ``` * * @param CreateBackupVaultCommandInput - {@link CreateBackupVaultCommandInput} * @returns {@link CreateBackupVaultCommandOutput} * @see {@link CreateBackupVaultCommandInput} for command's `input` shape. * @see {@link CreateBackupVaultCommandOutput} for command's `response` shape. * @see {@link BackupClientResolvedConfig | config} for BackupClient's `config` shape. * * @throws {@link AlreadyExistsException} (client fault) *

The required resource already exists.

* * @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 LimitExceededException} (client fault) *

A limit in the request has been exceeded; for example, a maximum number of items allowed * in a request.

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

Indicates that a required parameter is missing.

* * @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 CreateBackupVaultCommand extends CreateBackupVaultCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: CreateBackupVaultInput; output: CreateBackupVaultOutput; }; sdk: { input: CreateBackupVaultCommandInput; output: CreateBackupVaultCommandOutput; }; }; }