import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { DisassociateTrialComponentRequest, DisassociateTrialComponentResponse } from "../models/models_3"; import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link DisassociateTrialComponentCommand}. */ export interface DisassociateTrialComponentCommandInput extends DisassociateTrialComponentRequest { } /** * @public * * The output of {@link DisassociateTrialComponentCommand}. */ export interface DisassociateTrialComponentCommandOutput extends DisassociateTrialComponentResponse, __MetadataBearer { } declare const DisassociateTrialComponentCommand_base: { new (input: DisassociateTrialComponentCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: DisassociateTrialComponentCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Disassociates a trial component from a trial. This doesn't effect other trials the component is associated with. Before you can delete a component, you must disassociate the component from all trials it is associated with. To associate a trial component with a trial, call the AssociateTrialComponent API.

To get a list of the trials a component is associated with, use the Search API. Specify ExperimentTrialComponent for the Resource parameter. The list appears in the response under Results.TrialComponent.Parents.

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