import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { CreateContextRequest, CreateContextResponse } from "../models/models_1"; import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link CreateContextCommand}. */ export interface CreateContextCommandInput extends CreateContextRequest { } /** * @public * * The output of {@link CreateContextCommand}. */ export interface CreateContextCommandOutput extends CreateContextResponse, __MetadataBearer { } declare const CreateContextCommand_base: { new (input: CreateContextCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: CreateContextCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Creates a context. A context is a lineage tracking entity that represents a logical grouping of other tracking or experiment entities. Some examples are an endpoint and a model package. For more information, see Amazon SageMaker ML Lineage Tracking.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { SageMakerClient, CreateContextCommand } from "@aws-sdk/client-sagemaker"; // ES Modules import * // const { SageMakerClient, CreateContextCommand } = require("@aws-sdk/client-sagemaker"); // CommonJS import * const client = new SageMakerClient(config); * const input = { // CreateContextRequest * ContextName: "STRING_VALUE", // required * Source: { // ContextSource * SourceUri: "STRING_VALUE", // required * SourceType: "STRING_VALUE", * SourceId: "STRING_VALUE", * }, * ContextType: "STRING_VALUE", // required * Description: "STRING_VALUE", * Properties: { // LineageEntityParameters * "": "STRING_VALUE", * }, * Tags: [ // TagList * { // Tag * Key: "STRING_VALUE", // required * Value: "STRING_VALUE", // required * }, * ], * }; * const command = new CreateContextCommand(input); * const response = await client.send(command); * // { // CreateContextResponse * // ContextArn: "STRING_VALUE", * // }; * * ``` * * @param CreateContextCommandInput - {@link CreateContextCommandInput} * @returns {@link CreateContextCommandOutput} * @see {@link CreateContextCommandInput} for command's `input` shape. * @see {@link CreateContextCommandOutput} 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 SageMakerServiceException} *

Base exception class for all service exceptions from SageMaker service.

* * * @public */ export declare class CreateContextCommand extends CreateContextCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: CreateContextRequest; output: CreateContextResponse; }; sdk: { input: CreateContextCommandInput; output: CreateContextCommandOutput; }; }; }