Skip to content

Create Artifact

sagemaker_create_artifact R Documentation

Creates an artifact

Description

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.

Usage

sagemaker_create_artifact(ArtifactName, Source, ArtifactType,
  Properties, MetadataProperties, Tags)

Arguments

ArtifactName

The name of the artifact. Must be unique to your account in an Amazon Web Services Region.

Source

[required] The ID, ID type, and URI of the source.

ArtifactType

[required] The artifact type.

Properties

A list of properties to add to the artifact.

Tags

A list of tags to apply to the artifact.

Value

A list with the following syntax:

list(
  ArtifactArn = "string"
)

Request syntax

svc$create_artifact(
  ArtifactName = "string",
  Source = list(
    SourceUri = "string",
    SourceTypes = list(
      list(
        SourceIdType = "MD5Hash"|"S3ETag"|"S3Version"|"Custom",
        Value = "string"
      )
    )
  ),
  ArtifactType = "string",
  Properties = list(
    "string"
  ),
  MetadataProperties = list(
    CommitId = "string",
    Repository = "string",
    GeneratedBy = "string",
    ProjectId = "string"
  ),
  Tags = list(
    list(
      Key = "string",
      Value = "string"
    )
  )
)