import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DescribeRecommenderRequest, DescribeRecommenderResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link DescribeRecommenderCommand}. */ export interface DescribeRecommenderCommandInput extends DescribeRecommenderRequest { } /** * @public * * The output of {@link DescribeRecommenderCommand}. */ export interface DescribeRecommenderCommandOutput extends DescribeRecommenderResponse, __MetadataBearer { } declare const DescribeRecommenderCommand_base: { new (input: DescribeRecommenderCommandInput): import("@smithy/core/client").CommandImpl; new (input: DescribeRecommenderCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Describes the given recommender, including its status.

*

A recommender can be in one of the following states:

* *

When the status is CREATE FAILED, the response includes the * failureReason key, which describes why.

*

The modelMetrics key is null when * the recommender is being created or deleted.

*

For more information on recommenders, see CreateRecommender.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { PersonalizeClient, DescribeRecommenderCommand } from "@aws-sdk/client-personalize"; // ES Modules import * // const { PersonalizeClient, DescribeRecommenderCommand } = require("@aws-sdk/client-personalize"); // CommonJS import * // import type { PersonalizeClientConfig } from "@aws-sdk/client-personalize"; * const config = {}; // type is PersonalizeClientConfig * const client = new PersonalizeClient(config); * const input = { // DescribeRecommenderRequest * recommenderArn: "STRING_VALUE", // required * }; * const command = new DescribeRecommenderCommand(input); * const response = await client.send(command); * // { // DescribeRecommenderResponse * // recommender: { // Recommender * // recommenderArn: "STRING_VALUE", * // datasetGroupArn: "STRING_VALUE", * // name: "STRING_VALUE", * // recipeArn: "STRING_VALUE", * // recommenderConfig: { // RecommenderConfig * // itemExplorationConfig: { // HyperParameters * // "": "STRING_VALUE", * // }, * // minRecommendationRequestsPerSecond: Number("int"), * // trainingDataConfig: { // TrainingDataConfig * // excludedDatasetColumns: { // ExcludedDatasetColumns * // "": [ // ColumnNamesList * // "STRING_VALUE", * // ], * // }, * // includedDatasetColumns: { // IncludedDatasetColumns * // "": [ * // "STRING_VALUE", * // ], * // }, * // }, * // enableMetadataWithRecommendations: true || false, * // }, * // creationDateTime: new Date("TIMESTAMP"), * // lastUpdatedDateTime: new Date("TIMESTAMP"), * // status: "STRING_VALUE", * // failureReason: "STRING_VALUE", * // latestRecommenderUpdate: { // RecommenderUpdateSummary * // recommenderConfig: { * // itemExplorationConfig: { * // "": "STRING_VALUE", * // }, * // minRecommendationRequestsPerSecond: Number("int"), * // trainingDataConfig: { * // excludedDatasetColumns: { * // "": [ * // "STRING_VALUE", * // ], * // }, * // includedDatasetColumns: { * // "": [ * // "STRING_VALUE", * // ], * // }, * // }, * // enableMetadataWithRecommendations: true || false, * // }, * // creationDateTime: new Date("TIMESTAMP"), * // lastUpdatedDateTime: new Date("TIMESTAMP"), * // status: "STRING_VALUE", * // failureReason: "STRING_VALUE", * // }, * // modelMetrics: { // Metrics * // "": Number("double"), * // }, * // }, * // }; * * ``` * * @param DescribeRecommenderCommandInput - {@link DescribeRecommenderCommandInput} * @returns {@link DescribeRecommenderCommandOutput} * @see {@link DescribeRecommenderCommandInput} for command's `input` shape. * @see {@link DescribeRecommenderCommandOutput} for command's `response` shape. * @see {@link PersonalizeClientResolvedConfig | config} for PersonalizeClient's `config` shape. * * @throws {@link InvalidInputException} (client fault) *

Provide a valid value for the field or parameter.

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

Could not find the specified resource.

* * @throws {@link PersonalizeServiceException} *

Base exception class for all service exceptions from Personalize service.

* * * @public */ export declare class DescribeRecommenderCommand extends DescribeRecommenderCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DescribeRecommenderRequest; output: DescribeRecommenderResponse; }; sdk: { input: DescribeRecommenderCommandInput; output: DescribeRecommenderCommandOutput; }; }; }