create_artifact
async
¶
create_artifact(
*,
config_overrides: Optional[AsyncSageMakerClientConfig] = None,
artifact_name: Optional[ExperimentEntityName] = None,
source: Optional[ArtifactSource] = None,
artifact_type: Optional[String256] = None,
properties: Optional[ArtifactProperties] = None,
metadata_properties: Optional[MetadataProperties] = None,
tags: Optional[TagList] = None,
) -> CreateArtifactResponse
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.
Parameters:
-
artifact_name(Optional[ExperimentEntityName], default:None) –The name of the artifact. Must be unique to your account in an Amazon Web Services Region.
-
source(Optional[ArtifactSource], default:None) –The ID, ID type, and URI of the source.
-
artifact_type(Optional[String256], default:None) –The artifact type.
-
properties(Optional[ArtifactProperties], default:None) –A list of properties to add to the artifact.
-
tags(Optional[TagList], default:None) –A list of tags to apply to the artifact.
Raises:
-
ResourceLimitExceeded–You have exceeded an SageMaker resource limit. For example, you might have too many training jobs created.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_sagemaker/_services/async_sage_maker.py
3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 | |