import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { CreateLongTermPricingRequest, CreateLongTermPricingResult } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link CreateLongTermPricingCommand}. */ export interface CreateLongTermPricingCommandInput extends CreateLongTermPricingRequest { } /** * @public * * The output of {@link CreateLongTermPricingCommand}. */ export interface CreateLongTermPricingCommandOutput extends CreateLongTermPricingResult, __MetadataBearer { } declare const CreateLongTermPricingCommand_base: { new (input: CreateLongTermPricingCommandInput): import("@smithy/core/client").CommandImpl; new (input: CreateLongTermPricingCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Creates a job with the long-term usage option for a device. The long-term usage is a * 1-year or 3-year long-term pricing type for the device. You are billed upfront, and Amazon Web Services provides discounts for long-term pricing. *

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { SnowballClient, CreateLongTermPricingCommand } from "@aws-sdk/client-snowball"; // ES Modules import * // const { SnowballClient, CreateLongTermPricingCommand } = require("@aws-sdk/client-snowball"); // CommonJS import * // import type { SnowballClientConfig } from "@aws-sdk/client-snowball"; * const config = {}; // type is SnowballClientConfig * const client = new SnowballClient(config); * const input = { // CreateLongTermPricingRequest * LongTermPricingType: "OneYear" || "ThreeYear" || "OneMonth", // required * IsLongTermPricingAutoRenew: true || false, * SnowballType: "STANDARD" || "EDGE" || "EDGE_C" || "EDGE_CG" || "EDGE_S" || "SNC1_HDD" || "SNC1_SSD" || "V3_5C" || "V3_5S" || "RACK_5U_C", // required * }; * const command = new CreateLongTermPricingCommand(input); * const response = await client.send(command); * // { // CreateLongTermPricingResult * // LongTermPricingId: "STRING_VALUE", * // }; * * ``` * * @param CreateLongTermPricingCommandInput - {@link CreateLongTermPricingCommandInput} * @returns {@link CreateLongTermPricingCommandOutput} * @see {@link CreateLongTermPricingCommandInput} for command's `input` shape. * @see {@link CreateLongTermPricingCommandOutput} for command's `response` shape. * @see {@link SnowballClientResolvedConfig | config} for SnowballClient's `config` shape. * * @throws {@link InvalidResourceException} (client fault) *

The specified resource can't be found. Check the information you provided in your last * request, and try again.

* * @throws {@link SnowballServiceException} *

Base exception class for all service exceptions from Snowball service.

* * * @public */ export declare class CreateLongTermPricingCommand extends CreateLongTermPricingCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: CreateLongTermPricingRequest; output: CreateLongTermPricingResult; }; sdk: { input: CreateLongTermPricingCommandInput; output: CreateLongTermPricingCommandOutput; }; }; }