import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { UpdateNotificationRequest, UpdateNotificationResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link UpdateNotificationCommand}. */ export interface UpdateNotificationCommandInput extends UpdateNotificationRequest { } /** * @public * * The output of {@link UpdateNotificationCommand}. */ export interface UpdateNotificationCommandOutput extends UpdateNotificationResponse, __MetadataBearer { } declare const UpdateNotificationCommand_base: { new (input: UpdateNotificationCommandInput): import("@smithy/core/client").CommandImpl; new (input: UpdateNotificationCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Updates a notification.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { BudgetsClient, UpdateNotificationCommand } from "@aws-sdk/client-budgets"; // ES Modules import * // const { BudgetsClient, UpdateNotificationCommand } = require("@aws-sdk/client-budgets"); // CommonJS import * // import type { BudgetsClientConfig } from "@aws-sdk/client-budgets"; * const config = {}; // type is BudgetsClientConfig * const client = new BudgetsClient(config); * const input = { // UpdateNotificationRequest * AccountId: "STRING_VALUE", // required * BudgetName: "STRING_VALUE", // required * OldNotification: { // Notification * NotificationType: "ACTUAL" || "FORECASTED", // required * ComparisonOperator: "GREATER_THAN" || "LESS_THAN" || "EQUAL_TO", // required * Threshold: Number("double"), // required * ThresholdType: "PERCENTAGE" || "ABSOLUTE_VALUE", * NotificationState: "OK" || "ALARM", * }, * NewNotification: { * NotificationType: "ACTUAL" || "FORECASTED", // required * ComparisonOperator: "GREATER_THAN" || "LESS_THAN" || "EQUAL_TO", // required * Threshold: Number("double"), // required * ThresholdType: "PERCENTAGE" || "ABSOLUTE_VALUE", * NotificationState: "OK" || "ALARM", * }, * }; * const command = new UpdateNotificationCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param UpdateNotificationCommandInput - {@link UpdateNotificationCommandInput} * @returns {@link UpdateNotificationCommandOutput} * @see {@link UpdateNotificationCommandInput} for command's `input` shape. * @see {@link UpdateNotificationCommandOutput} for command's `response` shape. * @see {@link BudgetsClientResolvedConfig | config} for BudgetsClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

You are not authorized to use this operation with the given parameters.

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

The budget name already exists. Budget names must be unique within an account.

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

An error on the server occurred during the processing of your request. Try again later.

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

An error on the client occurred. Typically, the cause is an invalid input value.

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

We can’t locate the resource that you specified.

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

The number of API requests has exceeded the maximum allowed API request throttling limit * for the account.

* * @throws {@link BudgetsServiceException} *

Base exception class for all service exceptions from Budgets service.

* * * @public */ export declare class UpdateNotificationCommand extends UpdateNotificationCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: UpdateNotificationRequest; output: {}; }; sdk: { input: UpdateNotificationCommandInput; output: UpdateNotificationCommandOutput; }; }; }