import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { GetBenefitInput, GetBenefitOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link GetBenefitCommand}. */ export interface GetBenefitCommandInput extends GetBenefitInput { } /** * @public * * The output of {@link GetBenefitCommand}. */ export interface GetBenefitCommandOutput extends GetBenefitOutput, __MetadataBearer { } declare const GetBenefitCommand_base: { new (input: GetBenefitCommandInput): import("@smithy/core/client").CommandImpl; new (input: GetBenefitCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Retrieves detailed information about a specific benefit available in the partner catalog.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { PartnerCentralBenefitsClient, GetBenefitCommand } from "@aws-sdk/client-partnercentral-benefits"; // ES Modules import * // const { PartnerCentralBenefitsClient, GetBenefitCommand } = 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 = { // GetBenefitInput * Catalog: "STRING_VALUE", // required * Identifier: "STRING_VALUE", // required * }; * const command = new GetBenefitCommand(input); * const response = await client.send(command); * // { // GetBenefitOutput * // Id: "STRING_VALUE", * // Catalog: "STRING_VALUE", * // Arn: "STRING_VALUE", * // Name: "STRING_VALUE", * // Description: "STRING_VALUE", * // Programs: [ // Programs * // "STRING_VALUE", * // ], * // FulfillmentTypes: [ // FulfillmentTypes * // "CREDITS" || "CASH" || "ACCESS", * // ], * // BenefitRequestSchema: "DOCUMENT_VALUE", * // Status: "ACTIVE" || "INACTIVE", * // }; * * ``` * * @param GetBenefitCommandInput - {@link GetBenefitCommandInput} * @returns {@link GetBenefitCommandOutput} * @see {@link GetBenefitCommandInput} for command's `input` shape. * @see {@link GetBenefitCommandOutput} 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 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 GetBenefitCommand extends GetBenefitCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetBenefitInput; output: GetBenefitOutput; }; sdk: { input: GetBenefitCommandInput; output: GetBenefitCommandOutput; }; }; }