import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { UpdatePreferencesRequest, UpdatePreferencesResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link UpdatePreferencesCommand}. */ export interface UpdatePreferencesCommandInput extends UpdatePreferencesRequest { } /** * @public * * The output of {@link UpdatePreferencesCommand}. */ export interface UpdatePreferencesCommandOutput extends UpdatePreferencesResponse, __MetadataBearer { } declare const UpdatePreferencesCommand_base: { new (input: UpdatePreferencesCommandInput): import("@smithy/core/client").CommandImpl; new (...[input]: [] | [UpdatePreferencesCommandInput]): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Updates the preferences for Pricing Calculator.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { BCMPricingCalculatorClient, UpdatePreferencesCommand } from "@aws-sdk/client-bcm-pricing-calculator"; // ES Modules import * // const { BCMPricingCalculatorClient, UpdatePreferencesCommand } = require("@aws-sdk/client-bcm-pricing-calculator"); // CommonJS import * // import type { BCMPricingCalculatorClientConfig } from "@aws-sdk/client-bcm-pricing-calculator"; * const config = {}; // type is BCMPricingCalculatorClientConfig * const client = new BCMPricingCalculatorClient(config); * const input = { // UpdatePreferencesRequest * managementAccountRateTypeSelections: [ // RateTypes * "BEFORE_DISCOUNTS" || "AFTER_DISCOUNTS" || "AFTER_DISCOUNTS_AND_COMMITMENTS", * ], * memberAccountRateTypeSelections: [ * "BEFORE_DISCOUNTS" || "AFTER_DISCOUNTS" || "AFTER_DISCOUNTS_AND_COMMITMENTS", * ], * standaloneAccountRateTypeSelections: [ * "BEFORE_DISCOUNTS" || "AFTER_DISCOUNTS" || "AFTER_DISCOUNTS_AND_COMMITMENTS", * ], * }; * const command = new UpdatePreferencesCommand(input); * const response = await client.send(command); * // { // UpdatePreferencesResponse * // managementAccountRateTypeSelections: [ // RateTypes * // "BEFORE_DISCOUNTS" || "AFTER_DISCOUNTS" || "AFTER_DISCOUNTS_AND_COMMITMENTS", * // ], * // memberAccountRateTypeSelections: [ * // "BEFORE_DISCOUNTS" || "AFTER_DISCOUNTS" || "AFTER_DISCOUNTS_AND_COMMITMENTS", * // ], * // standaloneAccountRateTypeSelections: [ * // "BEFORE_DISCOUNTS" || "AFTER_DISCOUNTS" || "AFTER_DISCOUNTS_AND_COMMITMENTS", * // ], * // }; * * ``` * * @param UpdatePreferencesCommandInput - {@link UpdatePreferencesCommandInput} * @returns {@link UpdatePreferencesCommandOutput} * @see {@link UpdatePreferencesCommandInput} for command's `input` shape. * @see {@link UpdatePreferencesCommandOutput} for command's `response` shape. * @see {@link BCMPricingCalculatorClientResolvedConfig | config} for BCMPricingCalculatorClient's `config` shape. * * @throws {@link DataUnavailableException} (client fault) *

The requested data is currently unavailable.

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

The request would cause you to exceed your service quota.

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

You do not have sufficient access to perform this action.

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

An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web Services support.

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

The request was denied due to request throttling.

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

The input provided fails to satisfy the constraints specified by an Amazon Web Services service.

* * @throws {@link BCMPricingCalculatorServiceException} *

Base exception class for all service exceptions from BCMPricingCalculator service.

* * * @public */ export declare class UpdatePreferencesCommand extends UpdatePreferencesCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: UpdatePreferencesRequest; output: UpdatePreferencesResponse; }; sdk: { input: UpdatePreferencesCommandInput; output: UpdatePreferencesCommandOutput; }; }; }