import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { CreateTieringConfigurationInput, CreateTieringConfigurationOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link CreateTieringConfigurationCommand}. */ export interface CreateTieringConfigurationCommandInput extends CreateTieringConfigurationInput { } /** * @public * * The output of {@link CreateTieringConfigurationCommand}. */ export interface CreateTieringConfigurationCommandOutput extends CreateTieringConfigurationOutput, __MetadataBearer { } declare const CreateTieringConfigurationCommand_base: { new (input: CreateTieringConfigurationCommandInput): import("@smithy/core/client").CommandImpl; new (input: CreateTieringConfigurationCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Creates a tiering configuration.

*

A tiering configuration enables automatic movement of backup data to a lower-cost storage tier based on the age of backed-up objects in the backup vault.

*

Each vault can only have one vault-specific tiering configuration, in addition to any global configuration that applies to all vaults.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { BackupClient, CreateTieringConfigurationCommand } from "@aws-sdk/client-backup"; // ES Modules import * // const { BackupClient, CreateTieringConfigurationCommand } = 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 = { // CreateTieringConfigurationInput * TieringConfiguration: { // TieringConfigurationInputForCreate * TieringConfigurationName: "STRING_VALUE", // required * BackupVaultName: "STRING_VALUE", // required * ResourceSelection: [ // ResourceSelections // required * { // ResourceSelection * Resources: [ // ResourceArns // required * "STRING_VALUE", * ], * TieringDownSettingsInDays: Number("int"), // required * ResourceType: "STRING_VALUE", // required * }, * ], * }, * TieringConfigurationTags: { // Tags * "": "STRING_VALUE", * }, * CreatorRequestId: "STRING_VALUE", * }; * const command = new CreateTieringConfigurationCommand(input); * const response = await client.send(command); * // { // CreateTieringConfigurationOutput * // TieringConfigurationArn: "STRING_VALUE", * // TieringConfigurationName: "STRING_VALUE", * // CreationTime: new Date("TIMESTAMP"), * // }; * * ``` * * @param CreateTieringConfigurationCommandInput - {@link CreateTieringConfigurationCommandInput} * @returns {@link CreateTieringConfigurationCommandOutput} * @see {@link CreateTieringConfigurationCommandInput} for command's `input` shape. * @see {@link CreateTieringConfigurationCommandOutput} 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 ConflictException} (client fault) *

Backup can't perform the action that you requested until it finishes * performing a previous action. Try again later.

* * @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 CreateTieringConfigurationCommand extends CreateTieringConfigurationCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: CreateTieringConfigurationInput; output: CreateTieringConfigurationOutput; }; sdk: { input: CreateTieringConfigurationCommandInput; output: CreateTieringConfigurationCommandOutput; }; }; }