import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { UpdateContextRequest, UpdateContextResponse } from "../models/models_5"; import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link UpdateContextCommand}. */ export interface UpdateContextCommandInput extends UpdateContextRequest { } /** * @public * * The output of {@link UpdateContextCommand}. */ export interface UpdateContextCommandOutput extends UpdateContextResponse, __MetadataBearer { } declare const UpdateContextCommand_base: { new (input: UpdateContextCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: UpdateContextCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Updates a context.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { SageMakerClient, UpdateContextCommand } from "@aws-sdk/client-sagemaker"; // ES Modules import * // const { SageMakerClient, UpdateContextCommand } = require("@aws-sdk/client-sagemaker"); // CommonJS import * const client = new SageMakerClient(config); * const input = { // UpdateContextRequest * ContextName: "STRING_VALUE", // required * Description: "STRING_VALUE", * Properties: { // LineageEntityParameters * "": "STRING_VALUE", * }, * PropertiesToRemove: [ // ListLineageEntityParameterKey * "STRING_VALUE", * ], * }; * const command = new UpdateContextCommand(input); * const response = await client.send(command); * // { // UpdateContextResponse * // ContextArn: "STRING_VALUE", * // }; * * ``` * * @param UpdateContextCommandInput - {@link UpdateContextCommandInput} * @returns {@link UpdateContextCommandOutput} * @see {@link UpdateContextCommandInput} for command's `input` shape. * @see {@link UpdateContextCommandOutput} for command's `response` shape. * @see {@link SageMakerClientResolvedConfig | config} for SageMakerClient's `config` shape. * * @throws {@link ConflictException} (client fault) *

There was a conflict when you attempted to modify a SageMaker entity such as an Experiment or Artifact.

* * @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 UpdateContextCommand extends UpdateContextCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: UpdateContextRequest; output: UpdateContextResponse; }; sdk: { input: UpdateContextCommandInput; output: UpdateContextCommandOutput; }; }; }