import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { GetRecommenderRequest, GetRecommenderResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link GetRecommenderCommand}. */ export interface GetRecommenderCommandInput extends GetRecommenderRequest { } /** * @public * * The output of {@link GetRecommenderCommand}. */ export interface GetRecommenderCommandOutput extends GetRecommenderResponse, __MetadataBearer { } declare const GetRecommenderCommand_base: { new (input: GetRecommenderCommandInput): import("@smithy/core/client").CommandImpl; new (input: GetRecommenderCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Retrieves a recommender.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { CustomerProfilesClient, GetRecommenderCommand } from "@aws-sdk/client-customer-profiles"; // ES Modules import * // const { CustomerProfilesClient, GetRecommenderCommand } = 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 = { // GetRecommenderRequest * DomainName: "STRING_VALUE", // required * RecommenderName: "STRING_VALUE", // required * TrainingMetricsCount: Number("int"), * }; * const command = new GetRecommenderCommand(input); * const response = await client.send(command); * // { // GetRecommenderResponse * // RecommenderName: "STRING_VALUE", // required * // RecommenderRecipeName: "recommended-for-you" || "similar-items" || "frequently-paired-items" || "popular-items" || "trending-now" || "personalized-ranking", // required * // RecommenderSchemaName: "STRING_VALUE", * // RecommenderConfig: { // RecommenderConfig * // EventsConfig: { // EventsConfig * // EventParametersList: [ // EventParametersList // required * // { // EventParameters * // EventType: "STRING_VALUE", // required * // EventValueThreshold: Number("double"), * // EventWeight: Number("double"), * // }, * // ], * // }, * // TrainingFrequency: Number("int"), * // InferenceConfig: { // InferenceConfig * // MinProvisionedTPS: Number("int"), * // }, * // IncludedColumns: { // IncludedColumns * // "": [ // ColumnNamesList * // "STRING_VALUE", * // ], * // }, * // ExcludedColumns: { * // "": [ * // "STRING_VALUE", * // ], * // }, * // DiversityConfig: { // DiversityConfig * // DiversityColumns: [ // DiversityColumnsList * // { // DiversityColumn * // Name: "STRING_VALUE", // required * // CapType: "PERCENTAGE" || "VALUE", // required * // Target: "STRING_VALUE", // required * // }, * // ], * // }, * // }, * // Description: "STRING_VALUE", * // Status: "PENDING" || "IN_PROGRESS" || "ACTIVE" || "FAILED" || "STOPPING" || "INACTIVE" || "STARTING" || "DELETING", * // LastUpdatedAt: new Date("TIMESTAMP"), * // CreatedAt: new Date("TIMESTAMP"), * // FailureReason: "STRING_VALUE", * // LatestRecommenderUpdate: { // RecommenderUpdate * // RecommenderConfig: { * // EventsConfig: { * // EventParametersList: [ // required * // { * // EventType: "STRING_VALUE", // required * // EventValueThreshold: Number("double"), * // EventWeight: Number("double"), * // }, * // ], * // }, * // TrainingFrequency: Number("int"), * // InferenceConfig: { * // MinProvisionedTPS: Number("int"), * // }, * // IncludedColumns: { * // "": [ * // "STRING_VALUE", * // ], * // }, * // ExcludedColumns: { * // "": [ * // "STRING_VALUE", * // ], * // }, * // DiversityConfig: { * // DiversityColumns: [ * // { * // Name: "STRING_VALUE", // required * // CapType: "PERCENTAGE" || "VALUE", // required * // Target: "STRING_VALUE", // required * // }, * // ], * // }, * // }, * // Status: "PENDING" || "IN_PROGRESS" || "ACTIVE" || "FAILED" || "STOPPING" || "INACTIVE" || "STARTING" || "DELETING", * // CreatedAt: new Date("TIMESTAMP"), * // LastUpdatedAt: new Date("TIMESTAMP"), * // FailureReason: "STRING_VALUE", * // RecommenderVersionName: "STRING_VALUE", * // }, * // ActiveRecommenderVersionName: "STRING_VALUE", * // TrainingMetrics: [ // TrainingMetricsList * // { // TrainingMetrics * // Time: new Date("TIMESTAMP"), * // Metrics: { // Metrics * // "": Number("double"), * // }, * // RecommenderVersionName: "STRING_VALUE", * // }, * // ], * // Tags: { // TagMap * // "": "STRING_VALUE", * // }, * // }; * * ``` * * @param GetRecommenderCommandInput - {@link GetRecommenderCommandInput} * @returns {@link GetRecommenderCommandOutput} * @see {@link GetRecommenderCommandInput} for command's `input` shape. * @see {@link GetRecommenderCommandOutput} 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 GetRecommenderCommand extends GetRecommenderCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetRecommenderRequest; output: GetRecommenderResponse; }; sdk: { input: GetRecommenderCommandInput; output: GetRecommenderCommandOutput; }; }; }