import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { CreateBenefitApplicationInput, CreateBenefitApplicationOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link CreateBenefitApplicationCommand}. */ export interface CreateBenefitApplicationCommandInput extends CreateBenefitApplicationInput { } /** * @public * * The output of {@link CreateBenefitApplicationCommand}. */ export interface CreateBenefitApplicationCommandOutput extends CreateBenefitApplicationOutput, __MetadataBearer { } declare const CreateBenefitApplicationCommand_base: { new (input: CreateBenefitApplicationCommandInput): import("@smithy/core/client").CommandImpl; new (input: CreateBenefitApplicationCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Creates a new benefit application for a partner to request access to AWS benefits and programs.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { PartnerCentralBenefitsClient, CreateBenefitApplicationCommand } from "@aws-sdk/client-partnercentral-benefits"; // ES Modules import * // const { PartnerCentralBenefitsClient, CreateBenefitApplicationCommand } = 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 = { // CreateBenefitApplicationInput * Catalog: "STRING_VALUE", // required * ClientToken: "STRING_VALUE", // required * Name: "STRING_VALUE", * Description: "STRING_VALUE", * BenefitIdentifier: "STRING_VALUE", // required * FulfillmentTypes: [ // FulfillmentTypes * "CREDITS" || "CASH" || "ACCESS", * ], * BenefitApplicationDetails: "DOCUMENT_VALUE", * Tags: [ // Tags * { // Tag * Key: "STRING_VALUE", // required * Value: "STRING_VALUE", // required * }, * ], * AssociatedResources: [ // Arns * "STRING_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 CreateBenefitApplicationCommand(input); * const response = await client.send(command); * // { // CreateBenefitApplicationOutput * // Id: "STRING_VALUE", * // Arn: "STRING_VALUE", * // Revision: "STRING_VALUE", * // }; * * ``` * * @param CreateBenefitApplicationCommandInput - {@link CreateBenefitApplicationCommandInput} * @returns {@link CreateBenefitApplicationCommandOutput} * @see {@link CreateBenefitApplicationCommandInput} for command's `input` shape. * @see {@link CreateBenefitApplicationCommandOutput} 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 CreateBenefitApplicationCommand extends CreateBenefitApplicationCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: CreateBenefitApplicationInput; output: CreateBenefitApplicationOutput; }; sdk: { input: CreateBenefitApplicationCommandInput; output: CreateBenefitApplicationCommandOutput; }; }; }