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

Deletes the specified trial. All trial components that make up the trial must be deleted first. Use the DescribeTrialComponent API to get the list of trial components.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { SageMakerClient, DeleteTrialCommand } from "@aws-sdk/client-sagemaker"; // ES Modules import * // const { SageMakerClient, DeleteTrialCommand } = require("@aws-sdk/client-sagemaker"); // CommonJS import * const client = new SageMakerClient(config); * const input = { // DeleteTrialRequest * TrialName: "STRING_VALUE", // required * }; * const command = new DeleteTrialCommand(input); * const response = await client.send(command); * // { // DeleteTrialResponse * // TrialArn: "STRING_VALUE", * // }; * * ``` * * @param DeleteTrialCommandInput - {@link DeleteTrialCommandInput} * @returns {@link DeleteTrialCommandOutput} * @see {@link DeleteTrialCommandInput} for command's `input` shape. * @see {@link DeleteTrialCommandOutput} 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 DeleteTrialCommand extends DeleteTrialCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DeleteTrialRequest; output: DeleteTrialResponse; }; sdk: { input: DeleteTrialCommandInput; output: DeleteTrialCommandOutput; }; }; }