import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DeleteTrialComponentRequest, DeleteTrialComponentResponse } from "../models/models_2"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link DeleteTrialComponentCommand}. */ export interface DeleteTrialComponentCommandInput extends DeleteTrialComponentRequest { } /** * @public * * The output of {@link DeleteTrialComponentCommand}. */ export interface DeleteTrialComponentCommandOutput extends DeleteTrialComponentResponse, __MetadataBearer { } declare const DeleteTrialComponentCommand_base: { new (input: DeleteTrialComponentCommandInput): import("@smithy/core/client").CommandImpl; new (input: DeleteTrialComponentCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Deletes the specified trial component. A trial component must be disassociated from all trials before the trial component can be deleted. To disassociate a trial component from a trial, call the DisassociateTrialComponent API.

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