import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { UpdateSolutionRequest, UpdateSolutionResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link UpdateSolutionCommand}. */ export interface UpdateSolutionCommandInput extends UpdateSolutionRequest { } /** * @public * * The output of {@link UpdateSolutionCommand}. */ export interface UpdateSolutionCommandOutput extends UpdateSolutionResponse, __MetadataBearer { } declare const UpdateSolutionCommand_base: { new (input: UpdateSolutionCommandInput): import("@smithy/core/client").CommandImpl; new (input: UpdateSolutionCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Updates an Amazon Personalize solution to use a different automatic training configuration. When you update a solution, * you can change whether the solution uses * automatic training, and you can change the training frequency. For more information about updating a solution, see * Updating a solution.

*

A solution update can be in one of the * following states:

*

CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED

*

To get the status of a solution update, call the * DescribeSolution API operation and find the status * in the latestSolutionUpdate.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { PersonalizeClient, UpdateSolutionCommand } from "@aws-sdk/client-personalize"; // ES Modules import * // const { PersonalizeClient, UpdateSolutionCommand } = 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 = { // UpdateSolutionRequest * solutionArn: "STRING_VALUE", // required * performAutoTraining: true || false, * performIncrementalUpdate: true || false, * solutionUpdateConfig: { // SolutionUpdateConfig * autoTrainingConfig: { // AutoTrainingConfig * schedulingExpression: "STRING_VALUE", * }, * eventsConfig: { // EventsConfig * eventParametersList: [ // EventParametersList * { // EventParameters * eventType: "STRING_VALUE", * eventValueThreshold: Number("double"), * weight: Number("double"), * }, * ], * }, * }, * }; * const command = new UpdateSolutionCommand(input); * const response = await client.send(command); * // { // UpdateSolutionResponse * // solutionArn: "STRING_VALUE", * // }; * * ``` * * @param UpdateSolutionCommandInput - {@link UpdateSolutionCommandInput} * @returns {@link UpdateSolutionCommandOutput} * @see {@link UpdateSolutionCommandInput} for command's `input` shape. * @see {@link UpdateSolutionCommandOutput} 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 LimitExceededException} (client fault) *

The limit on the number of requests per second has been exceeded.

* * @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 UpdateSolutionCommand extends UpdateSolutionCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: UpdateSolutionRequest; output: UpdateSolutionResponse; }; sdk: { input: UpdateSolutionCommandInput; output: UpdateSolutionCommandOutput; }; }; }