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

Creates an artifact. An artifact is a lineage tracking entity that represents a URI addressable object or data. Some examples are the S3 URI of a dataset and the ECR registry path of an image. 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, CreateArtifactCommand } from "@aws-sdk/client-sagemaker"; // ES Modules import * // const { SageMakerClient, CreateArtifactCommand } = require("@aws-sdk/client-sagemaker"); // CommonJS import * const client = new SageMakerClient(config); * const input = { // CreateArtifactRequest * ArtifactName: "STRING_VALUE", * Source: { // ArtifactSource * SourceUri: "STRING_VALUE", // required * SourceTypes: [ // ArtifactSourceTypes * { // ArtifactSourceType * SourceIdType: "MD5Hash" || "S3ETag" || "S3Version" || "Custom", // required * Value: "STRING_VALUE", // required * }, * ], * }, * ArtifactType: "STRING_VALUE", // required * Properties: { // ArtifactProperties * "": "STRING_VALUE", * }, * MetadataProperties: { // MetadataProperties * CommitId: "STRING_VALUE", * Repository: "STRING_VALUE", * GeneratedBy: "STRING_VALUE", * ProjectId: "STRING_VALUE", * }, * Tags: [ // TagList * { // Tag * Key: "STRING_VALUE", // required * Value: "STRING_VALUE", // required * }, * ], * }; * const command = new CreateArtifactCommand(input); * const response = await client.send(command); * // { // CreateArtifactResponse * // ArtifactArn: "STRING_VALUE", * // }; * * ``` * * @param CreateArtifactCommandInput - {@link CreateArtifactCommandInput} * @returns {@link CreateArtifactCommandOutput} * @see {@link CreateArtifactCommandInput} for command's `input` shape. * @see {@link CreateArtifactCommandOutput} 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 CreateArtifactCommand extends CreateArtifactCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: CreateArtifactRequest; output: CreateArtifactResponse; }; sdk: { input: CreateArtifactCommandInput; output: CreateArtifactCommandOutput; }; }; }