import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { UpdateBenefitApplicationInput, UpdateBenefitApplicationOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link UpdateBenefitApplicationCommand}. */ export interface UpdateBenefitApplicationCommandInput extends UpdateBenefitApplicationInput { } /** * @public * * The output of {@link UpdateBenefitApplicationCommand}. */ export interface UpdateBenefitApplicationCommandOutput extends UpdateBenefitApplicationOutput, __MetadataBearer { } declare const UpdateBenefitApplicationCommand_base: { new (input: UpdateBenefitApplicationCommandInput): import("@smithy/core/client").CommandImpl; new (input: UpdateBenefitApplicationCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Updates an existing benefit application with new information while maintaining revision control.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { PartnerCentralBenefitsClient, UpdateBenefitApplicationCommand } from "@aws-sdk/client-partnercentral-benefits"; // ES Modules import * // const { PartnerCentralBenefitsClient, UpdateBenefitApplicationCommand } = 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 = { // UpdateBenefitApplicationInput * Catalog: "STRING_VALUE", // required * ClientToken: "STRING_VALUE", // required * Name: "STRING_VALUE", * Description: "STRING_VALUE", * Identifier: "STRING_VALUE", // required * Revision: "STRING_VALUE", // required * BenefitApplicationDetails: "DOCUMENT_VALUE", * PartnerContacts: [ // Contacts * { // Contact * Email: "STRING_VALUE", * FirstName: "STRING_VALUE", * LastName: "STRING_VALUE", * BusinessTitle: "STRING_VALUE", * Phone: "STRING_VALUE", * }, * ], * FileDetails: [ // FileInputDetails * { // FileInput * FileURI: "STRING_VALUE", // required * BusinessUseCase: "STRING_VALUE", * }, * ], * }; * const command = new UpdateBenefitApplicationCommand(input); * const response = await client.send(command); * // { // UpdateBenefitApplicationOutput * // Id: "STRING_VALUE", * // Arn: "STRING_VALUE", * // Revision: "STRING_VALUE", * // }; * * ``` * * @param UpdateBenefitApplicationCommandInput - {@link UpdateBenefitApplicationCommandInput} * @returns {@link UpdateBenefitApplicationCommandOutput} * @see {@link UpdateBenefitApplicationCommandInput} for command's `input` shape. * @see {@link UpdateBenefitApplicationCommandOutput} 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 UpdateBenefitApplicationCommand extends UpdateBenefitApplicationCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: UpdateBenefitApplicationInput; output: UpdateBenefitApplicationOutput; }; sdk: { input: UpdateBenefitApplicationCommandInput; output: UpdateBenefitApplicationCommandOutput; }; }; }