import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { GetEntitlementsRequest, GetEntitlementsResult } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link GetEntitlementsCommand}. */ export interface GetEntitlementsCommandInput extends GetEntitlementsRequest { } /** * @public * * The output of {@link GetEntitlementsCommand}. */ export interface GetEntitlementsCommandOutput extends GetEntitlementsResult, __MetadataBearer { } declare const GetEntitlementsCommand_base: { new (input: GetEntitlementsCommandInput): import("@smithy/core/client").CommandImpl; new (input: GetEntitlementsCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

GetEntitlements retrieves entitlement values for a given product. The results can be * filtered based on customer identifier, AWS account ID, license ARN, or product dimensions.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { MarketplaceEntitlementServiceClient, GetEntitlementsCommand } from "@aws-sdk/client-marketplace-entitlement-service"; // ES Modules import * // const { MarketplaceEntitlementServiceClient, GetEntitlementsCommand } = require("@aws-sdk/client-marketplace-entitlement-service"); // CommonJS import * // import type { MarketplaceEntitlementServiceClientConfig } from "@aws-sdk/client-marketplace-entitlement-service"; * const config = {}; // type is MarketplaceEntitlementServiceClientConfig * const client = new MarketplaceEntitlementServiceClient(config); * const input = { // GetEntitlementsRequest * ProductCode: "STRING_VALUE", // required * Filter: { // GetEntitlementFilters * "": [ // FilterValueList * "STRING_VALUE", * ], * }, * NextToken: "STRING_VALUE", * MaxResults: Number("int"), * }; * const command = new GetEntitlementsCommand(input); * const response = await client.send(command); * // { // GetEntitlementsResult * // Entitlements: [ // EntitlementList * // { // Entitlement * // ProductCode: "STRING_VALUE", * // Dimension: "STRING_VALUE", * // CustomerIdentifier: "STRING_VALUE", * // CustomerAWSAccountId: "STRING_VALUE", * // Value: { // EntitlementValue * // IntegerValue: Number("int"), * // DoubleValue: Number("double"), * // BooleanValue: true || false, * // StringValue: "STRING_VALUE", * // }, * // ExpirationDate: new Date("TIMESTAMP"), * // LicenseArn: "STRING_VALUE", * // }, * // ], * // NextToken: "STRING_VALUE", * // }; * * ``` * * @param GetEntitlementsCommandInput - {@link GetEntitlementsCommandInput} * @returns {@link GetEntitlementsCommandOutput} * @see {@link GetEntitlementsCommandInput} for command's `input` shape. * @see {@link GetEntitlementsCommandOutput} for command's `response` shape. * @see {@link MarketplaceEntitlementServiceClientResolvedConfig | config} for MarketplaceEntitlementServiceClient's `config` shape. * * @throws {@link InternalServiceErrorException} (server fault) *

An internal error has occurred. Retry your request. If the problem persists, post a * message with details on the AWS forums.

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

One or more parameters in your request was invalid.

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

The calls to the GetEntitlements API are throttled.

* * @throws {@link MarketplaceEntitlementServiceServiceException} *

Base exception class for all service exceptions from MarketplaceEntitlementService service.

* * * @public */ export declare class GetEntitlementsCommand extends GetEntitlementsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetEntitlementsRequest; output: GetEntitlementsResult; }; sdk: { input: GetEntitlementsCommandInput; output: GetEntitlementsCommandOutput; }; }; }