import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { UpdateRecommenderRequest, UpdateRecommenderResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link UpdateRecommenderCommand}. */ export interface UpdateRecommenderCommandInput extends UpdateRecommenderRequest { } /** * @public * * The output of {@link UpdateRecommenderCommand}. */ export interface UpdateRecommenderCommandOutput extends UpdateRecommenderResponse, __MetadataBearer { } declare const UpdateRecommenderCommand_base: { new (input: UpdateRecommenderCommandInput): import("@smithy/core/client").CommandImpl; new (input: UpdateRecommenderCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Updates the recommender to modify the recommender configuration. * If you update the recommender to modify the columns used in training, Amazon Personalize automatically starts a full retraining of * the models backing your recommender. While the update completes, you can still get recommendations from the recommender. The recommender * uses the previous configuration until the update completes. * To track the status of this update, * use the latestRecommenderUpdate returned in the DescribeRecommender * operation. *

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { PersonalizeClient, UpdateRecommenderCommand } from "@aws-sdk/client-personalize"; // ES Modules import * // const { PersonalizeClient, UpdateRecommenderCommand } = 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 = { // UpdateRecommenderRequest * recommenderArn: "STRING_VALUE", // required * recommenderConfig: { // RecommenderConfig * itemExplorationConfig: { // HyperParameters * "": "STRING_VALUE", * }, * minRecommendationRequestsPerSecond: Number("int"), * trainingDataConfig: { // TrainingDataConfig * excludedDatasetColumns: { // ExcludedDatasetColumns * "": [ // ColumnNamesList * "STRING_VALUE", * ], * }, * includedDatasetColumns: { // IncludedDatasetColumns * "": [ * "STRING_VALUE", * ], * }, * }, * enableMetadataWithRecommendations: true || false, * }, * }; * const command = new UpdateRecommenderCommand(input); * const response = await client.send(command); * // { // UpdateRecommenderResponse * // recommenderArn: "STRING_VALUE", * // }; * * ``` * * @param UpdateRecommenderCommandInput - {@link UpdateRecommenderCommandInput} * @returns {@link UpdateRecommenderCommandOutput} * @see {@link UpdateRecommenderCommandInput} for command's `input` shape. * @see {@link UpdateRecommenderCommandOutput} 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 ResourceInUseException} (client fault) *

The specified resource is in use.

* * @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 UpdateRecommenderCommand extends UpdateRecommenderCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: UpdateRecommenderRequest; output: UpdateRecommenderResponse; }; sdk: { input: UpdateRecommenderCommandInput; output: UpdateRecommenderCommandOutput; }; }; }