import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { AssociateTrialComponentRequest, AssociateTrialComponentResponse } from "../models/models_0"; import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link AssociateTrialComponentCommand}. */ export interface AssociateTrialComponentCommandInput extends AssociateTrialComponentRequest { } /** * @public * * The output of {@link AssociateTrialComponentCommand}. */ export interface AssociateTrialComponentCommandOutput extends AssociateTrialComponentResponse, __MetadataBearer { } declare const AssociateTrialComponentCommand_base: { new (input: AssociateTrialComponentCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: AssociateTrialComponentCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Associates a trial component with a trial. A trial component can be associated with multiple trials. 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, AssociateTrialComponentCommand } from "@aws-sdk/client-sagemaker"; // ES Modules import * // const { SageMakerClient, AssociateTrialComponentCommand } = require("@aws-sdk/client-sagemaker"); // CommonJS import * const client = new SageMakerClient(config); * const input = { // AssociateTrialComponentRequest * TrialComponentName: "STRING_VALUE", // required * TrialName: "STRING_VALUE", // required * }; * const command = new AssociateTrialComponentCommand(input); * const response = await client.send(command); * // { // AssociateTrialComponentResponse * // TrialComponentArn: "STRING_VALUE", * // TrialArn: "STRING_VALUE", * // }; * * ``` * * @param AssociateTrialComponentCommandInput - {@link AssociateTrialComponentCommandInput} * @returns {@link AssociateTrialComponentCommandOutput} * @see {@link AssociateTrialComponentCommandInput} for command's `input` shape. * @see {@link AssociateTrialComponentCommandOutput} for command's `response` shape. * @see {@link SageMakerClientResolvedConfig | config} for SageMakerClient's `config` shape. * * @throws {@link ResourceLimitExceeded} (client fault) *

You have exceeded an SageMaker resource limit. For example, you might have too many training jobs created.

* * @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 AssociateTrialComponentCommand extends AssociateTrialComponentCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: AssociateTrialComponentRequest; output: AssociateTrialComponentResponse; }; sdk: { input: AssociateTrialComponentCommandInput; output: AssociateTrialComponentCommandOutput; }; }; }