import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DescribeBudgetActionRequest, DescribeBudgetActionResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link DescribeBudgetActionCommand}. */ export interface DescribeBudgetActionCommandInput extends DescribeBudgetActionRequest { } /** * @public * * The output of {@link DescribeBudgetActionCommand}. */ export interface DescribeBudgetActionCommandOutput extends DescribeBudgetActionResponse, __MetadataBearer { } declare const DescribeBudgetActionCommand_base: { new (input: DescribeBudgetActionCommandInput): import("@smithy/core/client").CommandImpl; new (input: DescribeBudgetActionCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

* Describes a budget action detail. *

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { BudgetsClient, DescribeBudgetActionCommand } from "@aws-sdk/client-budgets"; // ES Modules import * // const { BudgetsClient, DescribeBudgetActionCommand } = 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 = { // DescribeBudgetActionRequest * AccountId: "STRING_VALUE", // required * BudgetName: "STRING_VALUE", // required * ActionId: "STRING_VALUE", // required * }; * const command = new DescribeBudgetActionCommand(input); * const response = await client.send(command); * // { // DescribeBudgetActionResponse * // AccountId: "STRING_VALUE", // required * // BudgetName: "STRING_VALUE", // required * // Action: { // Action * // ActionId: "STRING_VALUE", // required * // BudgetName: "STRING_VALUE", // required * // NotificationType: "ACTUAL" || "FORECASTED", // required * // ActionType: "APPLY_IAM_POLICY" || "APPLY_SCP_POLICY" || "RUN_SSM_DOCUMENTS", // required * // ActionThreshold: { // ActionThreshold * // ActionThresholdValue: Number("double"), // required * // ActionThresholdType: "PERCENTAGE" || "ABSOLUTE_VALUE", // required * // }, * // Definition: { // Definition * // IamActionDefinition: { // IamActionDefinition * // PolicyArn: "STRING_VALUE", // required * // Roles: [ // Roles * // "STRING_VALUE", * // ], * // Groups: [ // Groups * // "STRING_VALUE", * // ], * // Users: [ // Users * // "STRING_VALUE", * // ], * // }, * // ScpActionDefinition: { // ScpActionDefinition * // PolicyId: "STRING_VALUE", // required * // TargetIds: [ // TargetIds // required * // "STRING_VALUE", * // ], * // }, * // SsmActionDefinition: { // SsmActionDefinition * // ActionSubType: "STOP_EC2_INSTANCES" || "STOP_RDS_INSTANCES", // required * // Region: "STRING_VALUE", // required * // InstanceIds: [ // InstanceIds // required * // "STRING_VALUE", * // ], * // }, * // }, * // ExecutionRoleArn: "STRING_VALUE", // required * // ApprovalModel: "AUTOMATIC" || "MANUAL", // required * // Status: "STANDBY" || "PENDING" || "EXECUTION_IN_PROGRESS" || "EXECUTION_SUCCESS" || "EXECUTION_FAILURE" || "REVERSE_IN_PROGRESS" || "REVERSE_SUCCESS" || "REVERSE_FAILURE" || "RESET_IN_PROGRESS" || "RESET_FAILURE", // required * // Subscribers: [ // Subscribers // required * // { // Subscriber * // SubscriptionType: "SNS" || "EMAIL", // required * // Address: "STRING_VALUE", // required * // }, * // ], * // }, * // }; * * ``` * * @param DescribeBudgetActionCommandInput - {@link DescribeBudgetActionCommandInput} * @returns {@link DescribeBudgetActionCommandOutput} * @see {@link DescribeBudgetActionCommandInput} for command's `input` shape. * @see {@link DescribeBudgetActionCommandOutput} 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 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 DescribeBudgetActionCommand extends DescribeBudgetActionCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DescribeBudgetActionRequest; output: DescribeBudgetActionResponse; }; sdk: { input: DescribeBudgetActionCommandInput; output: DescribeBudgetActionCommandOutput; }; }; }