import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { AssociateBudgetWithResourceInput, AssociateBudgetWithResourceOutput } from "../models/models_0"; import type { ServiceCatalogClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ServiceCatalogClient"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link AssociateBudgetWithResourceCommand}. */ export interface AssociateBudgetWithResourceCommandInput extends AssociateBudgetWithResourceInput { } /** * @public * * The output of {@link AssociateBudgetWithResourceCommand}. */ export interface AssociateBudgetWithResourceCommandOutput extends AssociateBudgetWithResourceOutput, __MetadataBearer { } declare const AssociateBudgetWithResourceCommand_base: { new (input: AssociateBudgetWithResourceCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: AssociateBudgetWithResourceCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Associates the specified budget with the specified resource.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { ServiceCatalogClient, AssociateBudgetWithResourceCommand } from "@aws-sdk/client-service-catalog"; // ES Modules import * // const { ServiceCatalogClient, AssociateBudgetWithResourceCommand } = require("@aws-sdk/client-service-catalog"); // CommonJS import * // import type { ServiceCatalogClientConfig } from "@aws-sdk/client-service-catalog"; * const config = {}; // type is ServiceCatalogClientConfig * const client = new ServiceCatalogClient(config); * const input = { // AssociateBudgetWithResourceInput * BudgetName: "STRING_VALUE", // required * ResourceId: "STRING_VALUE", // required * }; * const command = new AssociateBudgetWithResourceCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param AssociateBudgetWithResourceCommandInput - {@link AssociateBudgetWithResourceCommandInput} * @returns {@link AssociateBudgetWithResourceCommandOutput} * @see {@link AssociateBudgetWithResourceCommandInput} for command's `input` shape. * @see {@link AssociateBudgetWithResourceCommandOutput} for command's `response` shape. * @see {@link ServiceCatalogClientResolvedConfig | config} for ServiceCatalogClient's `config` shape. * * @throws {@link DuplicateResourceException} (client fault) *

The specified resource is a duplicate.

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

One or more parameters provided to the operation are not valid.

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

The current limits of the service would have been exceeded by this operation. Decrease your * resource use or increase your service limits and retry the operation.

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

The specified resource was not found.

* * @throws {@link ServiceCatalogServiceException} *

Base exception class for all service exceptions from ServiceCatalog service.

* * * @public */ export declare class AssociateBudgetWithResourceCommand extends AssociateBudgetWithResourceCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: AssociateBudgetWithResourceInput; output: {}; }; sdk: { input: AssociateBudgetWithResourceCommandInput; output: AssociateBudgetWithResourceCommandOutput; }; }; }