import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { CreateRenewalInput, CreateRenewalOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link CreateRenewalCommand}. */ export interface CreateRenewalCommandInput extends CreateRenewalInput { } /** * @public * * The output of {@link CreateRenewalCommand}. */ export interface CreateRenewalCommandOutput extends CreateRenewalOutput, __MetadataBearer { } declare const CreateRenewalCommand_base: { new (input: CreateRenewalCommandInput): import("@smithy/core/client").CommandImpl; new (input: CreateRenewalCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Creates a renewal contract for the specified Outpost.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { OutpostsClient, CreateRenewalCommand } from "@aws-sdk/client-outposts"; // ES Modules import * // const { OutpostsClient, CreateRenewalCommand } = require("@aws-sdk/client-outposts"); // CommonJS import * // import type { OutpostsClientConfig } from "@aws-sdk/client-outposts"; * const config = {}; // type is OutpostsClientConfig * const client = new OutpostsClient(config); * const input = { // CreateRenewalInput * PaymentOption: "ALL_UPFRONT" || "NO_UPFRONT" || "PARTIAL_UPFRONT", // required * PaymentTerm: "THREE_YEARS" || "ONE_YEAR" || "FIVE_YEARS", // required * OutpostIdentifier: "STRING_VALUE", // required * ClientToken: "STRING_VALUE", * }; * const command = new CreateRenewalCommand(input); * const response = await client.send(command); * // { // CreateRenewalOutput * // PaymentOption: "ALL_UPFRONT" || "NO_UPFRONT" || "PARTIAL_UPFRONT", * // PaymentTerm: "THREE_YEARS" || "ONE_YEAR" || "FIVE_YEARS", * // OutpostId: "STRING_VALUE", * // UpfrontPrice: Number("float"), * // MonthlyRecurringPrice: Number("float"), * // Currency: "USD", * // }; * * ``` * * @param CreateRenewalCommandInput - {@link CreateRenewalCommandInput} * @returns {@link CreateRenewalCommandOutput} * @see {@link CreateRenewalCommandInput} for command's `input` shape. * @see {@link CreateRenewalCommandOutput} for command's `response` shape. * @see {@link OutpostsClientResolvedConfig | config} for OutpostsClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

You do not have permission to perform this operation.

* * @throws {@link InternalServerException} (server fault) *

An internal error has occurred.

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

The specified request is not valid.

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

A parameter is not valid.

* * @throws {@link OutpostsServiceException} *

Base exception class for all service exceptions from Outposts service.

* * * @public */ export declare class CreateRenewalCommand extends CreateRenewalCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: CreateRenewalInput; output: CreateRenewalOutput; }; sdk: { input: CreateRenewalCommandInput; output: CreateRenewalCommandOutput; }; }; }