class_docstr: An Amazon SageMaker artifact, which is part of a SageMaker lineage.
  
  Examples:
      .. code-block:: python
  
          from sagemaker.lineage import artifact
  
          my_artifact = artifact.Artifact.create(
              artifact_name='MyArtifact',
              artifact_type='S3File',
              source_uri='s3://...')
  
          my_artifact.properties["added"] = "property"
          my_artifact.save()
  
          for artfct in artifact.Artifact.list():
              print(artfct)
  
          my_artifact.delete()
  
  Attributes:
      artifact_arn (str): The ARN of the artifact.
      artifact_name (str): The name of the artifact.
      artifact_type (str): The type of the artifact.
      source (obj): The source of the artifact with a URI and types.
      properties (dict): Dictionary of properties.
      tags (List[dict[str, str]]): A list of tags to associate with the artifact.
      creation_time (datetime): When the artifact was created.
      created_by (obj): Contextual info on which account created the artifact.
      last_modified_time (datetime): When the artifact was last modified.
      last_modified_by (obj): Contextual info on which account created the artifact.
class_docstr_tok: ["An","Amazon","SageMaker","artifact",",","which","is","part","of","a","SageMaker","lineage",".","Examples",":","..","code-block",":",":","python","from","sagemaker.lineage","import","artifact","my_artifact","=","artifact.Artifact.create","(","artifact_name='MyArtifact","'",",","artifact_type='S3File","'",",","source_uri='s3",":","\/\/","...","'",")","my_artifact.properties","[","``","added","''","]","=","``","property","''","my_artifact.save","(",")","for","artfct","in","artifact.Artifact.list","(",")",":","print","(","artfct",")","my_artifact.delete","(",")","Attributes",":","artifact_arn","(","str",")",":","The","ARN","of","the","artifact",".","artifact_name","(","str",")",":","The","name","of","the","artifact",".","artifact_type","(","str",")",":","The","type","of","the","artifact",".","source","(","obj",")",":","The","source","of","the","artifact","with","a","URI","and","types",".","properties","(","dict",")",":","Dictionary","of","properties",".","tags","(","List","[","dict","[","str",",","str","]","]",")",":","A","list","of","tags","to","associate","with","the","artifact",".","creation_time","(","datetime",")",":","When","the","artifact","was","created",".","created_by","(","obj",")",":","Contextual","info","on","which","account","created","the","artifact",".","last_modified_time","(","datetime",")",":","When","the","artifact","was","last","modified",".","last_modified_by","(","obj",")",":","Contextual","info","on","which","account","created","the","artifact","."]
docstr: Create an artifact and return an ``Artifact`` object representing it.
  
  Args:
      artifact_name (str, optional): Name of the artifact
      source_uri (str, optional): Source URI of the artifact
      source_types (list, optional): Source types
      artifact_type (str, optional): Type of the artifact
      properties (dict, optional): key/value properties
      tags (dict, optional): AWS tags for the artifact
      sagemaker_session (sagemaker.session.Session): Session object which
          manages interactions with Amazon SageMaker APIs and any other
          AWS services needed. If not specified, one is created using the
          default AWS configuration chain.
  
  Returns:
      Artifact: A SageMaker ``Artifact`` object.
docstr_tok: ["Create","an","artifact","and","return","an","``","Artifact","``","object","representing","it",".","Args",":","artifact_name","(","str",",","optional",")",":","Name","of","the","artifact","source_uri","(","str",",","optional",")",":","Source","URI","of","the","artifact","source_types","(","list",",","optional",")",":","Source","types","artifact_type","(","str",",","optional",")",":","Type","of","the","artifact","properties","(","dict",",","optional",")",":","key\/value","properties","tags","(","dict",",","optional",")",":","AWS","tags","for","the","artifact","sagemaker_session","(","sagemaker.session.Session",")",":","Session","object","which","manages","interactions","with","Amazon","SageMaker","APIs","and","any","other","AWS","services","needed",".","If","not","specified",",","one","is","created","using","the","default","AWS","configuration","chain",".","Returns",":","Artifact",":","A","SageMaker","``","Artifact","``","object","."]
code: def create(
      cls,
      artifact_name: Optional[str] = None,
      source_uri: Optional[str] = None,
      source_types: Optional[list] = None,
      artifact_type: Optional[str] = None,
      properties: Optional[dict] = None,
      tags: Optional[dict] = None,
      sagemaker_session=None,
  ) -> "Artifact":
      """Create an artifact and return an ``Artifact`` object representing it.
  
      Args:
          artifact_name (str, optional): Name of the artifact
          source_uri (str, optional): Source URI of the artifact
          source_types (list, optional): Source types
          artifact_type (str, optional): Type of the artifact
          properties (dict, optional): key/value properties
          tags (dict, optional): AWS tags for the artifact
          sagemaker_session (sagemaker.session.Session): Session object which
              manages interactions with Amazon SageMaker APIs and any other
              AWS services needed. If not specified, one is created using the
              default AWS configuration chain.
  
      Returns:
          Artifact: A SageMaker ``Artifact`` object.
      """
      return super(Artifact, cls)._construct(
          cls._boto_create_method,
          artifact_name=artifact_name,
          source=_api_types.ArtifactSource(
              source_uri=source_uri, source_types=source_types
          ),
          artifact_type=artifact_type,
          properties=properties,
          tags=tags,
          sagemaker_session=sagemaker_session,
      )
  
imports: from __future__ import absolute_import
  import logging
  import math
  from datetime import datetime
  from typing import Iterator, Union, Any, Optional, List
  from sagemaker.apiutils import _base_types, _utils
  from sagemaker.lineage import _api_types
  from sagemaker.lineage._api_types import ArtifactSource, ArtifactSummary
  from sagemaker.lineage.query import LineageQuery, LineageFilter, LineageSourceEnum, LineageEntityEnum, LineageQueryDirectionEnum
  from sagemaker.lineage._utils import _disassociate, get_resource_name_from_arn
  from sagemaker.lineage.association import Association
  from sagemaker.utils import get_module, format_tags
label_desc: Use image node_id 12 for calling the Artifact obj's underlying member method code with example usage: obj.create(cls, artifact_name, source_uri, source_types, artifact_type, properties, tags, sagemaker_session) and returns: super