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¶
Arguments¶
-
ArtifactNameThe 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.
-
PropertiesA list of properties to add to the artifact.
-
MetadataPropertiesMetadata properties of the tracking entity, trial, or trial component.
-
TagsA list of tags to apply to the artifact.
Value¶
A list with the following syntax:
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"
)
)
)