import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DeleteSolutionRequest } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link DeleteSolutionCommand}. */ export interface DeleteSolutionCommandInput extends DeleteSolutionRequest { } /** * @public * * The output of {@link DeleteSolutionCommand}. */ export interface DeleteSolutionCommandOutput extends __MetadataBearer { } declare const DeleteSolutionCommand_base: { new (input: DeleteSolutionCommandInput): import("@smithy/core/client").CommandImpl; new (input: DeleteSolutionCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Deletes all versions of a solution and the Solution object itself. * Before deleting a solution, you must delete all campaigns based on * the solution. To determine what campaigns are using the solution, call * ListCampaigns and supply the Amazon Resource Name (ARN) of the solution. * You can't delete a solution if an associated SolutionVersion is in the * CREATE PENDING or IN PROGRESS state. * For more information on solutions, see CreateSolution.

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