import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { StopRecommenderRequest, StopRecommenderResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link StopRecommenderCommand}. */ export interface StopRecommenderCommandInput extends StopRecommenderRequest { } /** * @public * * The output of {@link StopRecommenderCommand}. */ export interface StopRecommenderCommandOutput extends StopRecommenderResponse, __MetadataBearer { } declare const StopRecommenderCommand_base: { new (input: StopRecommenderCommandInput): import("@smithy/core/client").CommandImpl; new (input: StopRecommenderCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Stops a recommender that is ACTIVE. Stopping a recommender halts billing and automatic retraining for the recommender.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { PersonalizeClient, StopRecommenderCommand } from "@aws-sdk/client-personalize"; // ES Modules import * // const { PersonalizeClient, StopRecommenderCommand } = 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 = { // StopRecommenderRequest * recommenderArn: "STRING_VALUE", // required * }; * const command = new StopRecommenderCommand(input); * const response = await client.send(command); * // { // StopRecommenderResponse * // recommenderArn: "STRING_VALUE", * // }; * * ``` * * @param StopRecommenderCommandInput - {@link StopRecommenderCommandInput} * @returns {@link StopRecommenderCommandOutput} * @see {@link StopRecommenderCommandInput} for command's `input` shape. * @see {@link StopRecommenderCommandOutput} 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 StopRecommenderCommand extends StopRecommenderCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: StopRecommenderRequest; output: StopRecommenderResponse; }; sdk: { input: StopRecommenderCommandInput; output: StopRecommenderCommandOutput; }; }; }