import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { DeleteExperimentRequest, DeleteExperimentResponse } from "../models/models_2"; import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link DeleteExperimentCommand}. */ export interface DeleteExperimentCommandInput extends DeleteExperimentRequest { } /** * @public * * The output of {@link DeleteExperimentCommand}. */ export interface DeleteExperimentCommandOutput extends DeleteExperimentResponse, __MetadataBearer { } declare const DeleteExperimentCommand_base: { new (input: DeleteExperimentCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: DeleteExperimentCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Deletes an SageMaker experiment. All trials associated with the experiment must be deleted first. Use the ListTrials API to get a list of the trials associated with the experiment.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { SageMakerClient, DeleteExperimentCommand } from "@aws-sdk/client-sagemaker"; // ES Modules import * // const { SageMakerClient, DeleteExperimentCommand } = require("@aws-sdk/client-sagemaker"); // CommonJS import * const client = new SageMakerClient(config); * const input = { // DeleteExperimentRequest * ExperimentName: "STRING_VALUE", // required * }; * const command = new DeleteExperimentCommand(input); * const response = await client.send(command); * // { // DeleteExperimentResponse * // ExperimentArn: "STRING_VALUE", * // }; * * ``` * * @param DeleteExperimentCommandInput - {@link DeleteExperimentCommandInput} * @returns {@link DeleteExperimentCommandOutput} * @see {@link DeleteExperimentCommandInput} for command's `input` shape. * @see {@link DeleteExperimentCommandOutput} for command's `response` shape. * @see {@link SageMakerClientResolvedConfig | config} for SageMakerClient's `config` shape. * * @throws {@link ResourceNotFound} (client fault) *

Resource being access is not found.

* * @throws {@link SageMakerServiceException} *

Base exception class for all service exceptions from SageMaker service.

* * * @public */ export declare class DeleteExperimentCommand extends DeleteExperimentCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DeleteExperimentRequest; output: DeleteExperimentResponse; }; sdk: { input: DeleteExperimentCommandInput; output: DeleteExperimentCommandOutput; }; }; }