import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { AmendBenefitApplicationInput, AmendBenefitApplicationOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link AmendBenefitApplicationCommand}. */ export interface AmendBenefitApplicationCommandInput extends AmendBenefitApplicationInput { } /** * @public * * The output of {@link AmendBenefitApplicationCommand}. */ export interface AmendBenefitApplicationCommandOutput extends AmendBenefitApplicationOutput, __MetadataBearer { } declare const AmendBenefitApplicationCommand_base: { new (input: AmendBenefitApplicationCommandInput): import("@smithy/core/client").CommandImpl; new (input: AmendBenefitApplicationCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Modifies an existing benefit application by applying amendments to specific fields while maintaining revision control.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { PartnerCentralBenefitsClient, AmendBenefitApplicationCommand } from "@aws-sdk/client-partnercentral-benefits"; // ES Modules import * // const { PartnerCentralBenefitsClient, AmendBenefitApplicationCommand } = 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 = { // AmendBenefitApplicationInput * Catalog: "STRING_VALUE", // required * ClientToken: "STRING_VALUE", // required * Revision: "STRING_VALUE", // required * Identifier: "STRING_VALUE", // required * AmendmentReason: "STRING_VALUE", // required * Amendments: [ // AmendmentList // required * { // Amendment * FieldPath: "STRING_VALUE", // required * NewValue: "STRING_VALUE", // required * }, * ], * }; * const command = new AmendBenefitApplicationCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param AmendBenefitApplicationCommandInput - {@link AmendBenefitApplicationCommandInput} * @returns {@link AmendBenefitApplicationCommandOutput} * @see {@link AmendBenefitApplicationCommandInput} for command's `input` shape. * @see {@link AmendBenefitApplicationCommandOutput} 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 AmendBenefitApplicationCommand extends AmendBenefitApplicationCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: AmendBenefitApplicationInput; output: {}; }; sdk: { input: AmendBenefitApplicationCommandInput; output: AmendBenefitApplicationCommandOutput; }; }; }