import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { AssociateBenefitApplicationResourceInput, AssociateBenefitApplicationResourceOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link AssociateBenefitApplicationResourceCommand}. */ export interface AssociateBenefitApplicationResourceCommandInput extends AssociateBenefitApplicationResourceInput { } /** * @public * * The output of {@link AssociateBenefitApplicationResourceCommand}. */ export interface AssociateBenefitApplicationResourceCommandOutput extends AssociateBenefitApplicationResourceOutput, __MetadataBearer { } declare const AssociateBenefitApplicationResourceCommand_base: { new (input: AssociateBenefitApplicationResourceCommandInput): import("@smithy/core/client").CommandImpl; new (input: AssociateBenefitApplicationResourceCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Links an AWS resource to an existing benefit application for tracking and management purposes.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { PartnerCentralBenefitsClient, AssociateBenefitApplicationResourceCommand } from "@aws-sdk/client-partnercentral-benefits"; // ES Modules import * // const { PartnerCentralBenefitsClient, AssociateBenefitApplicationResourceCommand } = require("@aws-sdk/client-partnercentral-benefits"); // CommonJS import * // import type { PartnerCentralBenefitsClientConfig } from "@aws-sdk/client-partnercentral-benefits"; * const config = {}; // type is PartnerCentralBenefitsClientConfig * const client = new PartnerCentralBenefitsClient(config); * const input = { // AssociateBenefitApplicationResourceInput * Catalog: "STRING_VALUE", // required * BenefitApplicationIdentifier: "STRING_VALUE", // required * ResourceArn: "STRING_VALUE", // required * }; * const command = new AssociateBenefitApplicationResourceCommand(input); * const response = await client.send(command); * // { // AssociateBenefitApplicationResourceOutput * // Id: "STRING_VALUE", * // Arn: "STRING_VALUE", * // Revision: "STRING_VALUE", * // }; * * ``` * * @param AssociateBenefitApplicationResourceCommandInput - {@link AssociateBenefitApplicationResourceCommandInput} * @returns {@link AssociateBenefitApplicationResourceCommandOutput} * @see {@link AssociateBenefitApplicationResourceCommandInput} for command's `input` shape. * @see {@link AssociateBenefitApplicationResourceCommandOutput} for command's `response` shape. * @see {@link PartnerCentralBenefitsClientResolvedConfig | config} for PartnerCentralBenefitsClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

Thrown when the caller does not have sufficient permissions to perform the requested operation.

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

Thrown when the request conflicts with the current state of the resource, such as attempting to modify a resource that has been changed by another process.

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

Thrown when an unexpected error occurs on the server side during request processing.

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

Thrown when the requested resource cannot be found or does not exist.

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

Thrown when the request rate exceeds the allowed limits and the request is being throttled.

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

Thrown when the request contains invalid parameters or fails input validation requirements.

* * @throws {@link PartnerCentralBenefitsServiceException} *

Base exception class for all service exceptions from PartnerCentralBenefits service.

* * * @public */ export declare class AssociateBenefitApplicationResourceCommand extends AssociateBenefitApplicationResourceCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: AssociateBenefitApplicationResourceInput; output: AssociateBenefitApplicationResourceOutput; }; sdk: { input: AssociateBenefitApplicationResourceCommandInput; output: AssociateBenefitApplicationResourceCommandOutput; }; }; }