import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { GetProfileRecommendationsRequest, GetProfileRecommendationsResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link GetProfileRecommendationsCommand}. */ export interface GetProfileRecommendationsCommandInput extends GetProfileRecommendationsRequest { } /** * @public * * The output of {@link GetProfileRecommendationsCommand}. */ export interface GetProfileRecommendationsCommandOutput extends GetProfileRecommendationsResponse, __MetadataBearer { } declare const GetProfileRecommendationsCommand_base: { new (input: GetProfileRecommendationsCommandInput): import("@smithy/core/client").CommandImpl; new (input: GetProfileRecommendationsCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Fetches the recommendations for a profile in the input Customer Profiles domain. Fetches all the profile recommendations

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { CustomerProfilesClient, GetProfileRecommendationsCommand } from "@aws-sdk/client-customer-profiles"; // ES Modules import * // const { CustomerProfilesClient, GetProfileRecommendationsCommand } = require("@aws-sdk/client-customer-profiles"); // CommonJS import * // import type { CustomerProfilesClientConfig } from "@aws-sdk/client-customer-profiles"; * const config = {}; // type is CustomerProfilesClientConfig * const client = new CustomerProfilesClient(config); * const input = { // GetProfileRecommendationsRequest * DomainName: "STRING_VALUE", // required * ProfileId: "STRING_VALUE", // required * RecommenderName: "STRING_VALUE", // required * Context: { // RecommenderContext * "": "STRING_VALUE", * }, * RecommenderFilters: [ // RecommenderFilters * { // RecommenderFilter * Name: "STRING_VALUE", * Values: { // RecommenderFilterValues * "": "STRING_VALUE", * }, * }, * ], * RecommenderPromotionalFilters: [ // RecommenderPromotionalFilters * { // RecommenderPromotionalFilter * Name: "STRING_VALUE", * Values: { * "": "STRING_VALUE", * }, * PromotionName: "STRING_VALUE", * PercentPromotedItems: Number("int"), * }, * ], * CandidateIds: [ // CandidateIdList * "STRING_VALUE", * ], * MaxResults: Number("int"), * MetadataConfig: { // MetadataConfig * MetadataColumns: [ // MetadataColumnsList * "STRING_VALUE", * ], * }, * DiversityConfig: { // RecommendationDiversityConfig * Enabled: true || false, // required * Values: { // DiversityValuesMap * "": Number("int"), * }, * }, * }; * const command = new GetProfileRecommendationsCommand(input); * const response = await client.send(command); * // { // GetProfileRecommendationsResponse * // Recommendations: [ // Recommendations * // { // Recommendation * // CatalogItem: { // CatalogItem * // Id: "STRING_VALUE", * // Name: "STRING_VALUE", * // Code: "STRING_VALUE", * // Type: "STRING_VALUE", * // Category: "STRING_VALUE", * // Description: "STRING_VALUE", * // AdditionalInformation: "STRING_VALUE", * // ImageLink: "STRING_VALUE", * // Link: "STRING_VALUE", * // CreatedAt: new Date("TIMESTAMP"), * // UpdatedAt: new Date("TIMESTAMP"), * // Price: "STRING_VALUE", * // Attributes: { // Attributes * // "": "STRING_VALUE", * // }, * // }, * // Score: Number("double"), * // }, * // ], * // }; * * ``` * * @param GetProfileRecommendationsCommandInput - {@link GetProfileRecommendationsCommandInput} * @returns {@link GetProfileRecommendationsCommandOutput} * @see {@link GetProfileRecommendationsCommandInput} for command's `input` shape. * @see {@link GetProfileRecommendationsCommandOutput} for command's `response` shape. * @see {@link CustomerProfilesClientResolvedConfig | config} for CustomerProfilesClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

You do not have sufficient access to perform this action.

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

The input you provided is invalid.

* * @throws {@link InternalServerException} (server fault) *

An internal service error occurred.

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

The requested resource does not exist, or access was denied.

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

You exceeded the maximum number of requests.

* * @throws {@link CustomerProfilesServiceException} *

Base exception class for all service exceptions from CustomerProfiles service.

* * * @public */ export declare class GetProfileRecommendationsCommand extends GetProfileRecommendationsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetProfileRecommendationsRequest; output: GetProfileRecommendationsResponse; }; sdk: { input: GetProfileRecommendationsCommandInput; output: GetProfileRecommendationsCommandOutput; }; }; }