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
2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 | |