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: Return a list of artifact summaries.
  
  Args:
      source_uri (str, optional): A source URI.
      artifact_type (str, optional): An artifact type.
      created_before (datetime.datetime, optional): Return artifacts created before this
          instant.
      created_after (datetime.datetime, optional): Return artifacts created after this
          instant.
      sort_by (str, optional): Which property to sort results by.
          One of 'SourceArn', 'CreatedBefore','CreatedAfter'
      sort_order (str, optional): One of 'Ascending', or 'Descending'.
      max_results (int, optional): maximum number of artifacts to retrieve
      next_token (str, optional): token for next page of results
      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:
      collections.Iterator[ArtifactSummary]: An iterator
          over ``ArtifactSummary`` objects.
docstr_tok: ["Return","a","list","of","artifact","summaries",".","Args",":","source_uri","(","str",",","optional",")",":","A","source","URI",".","artifact_type","(","str",",","optional",")",":","An","artifact","type",".","created_before","(","datetime.datetime",",","optional",")",":","Return","artifacts","created","before","this","instant",".","created_after","(","datetime.datetime",",","optional",")",":","Return","artifacts","created","after","this","instant",".","sort_by","(","str",",","optional",")",":","Which","property","to","sort","results","by",".","One","of","'SourceArn","'",",","'CreatedBefore","'",",","'CreatedAfter'","sort_order","(","str",",","optional",")",":","One","of","'Ascending","'",",","or","'Descending","'",".","max_results","(","int",",","optional",")",":","maximum","number","of","artifacts","to","retrieve","next_token","(","str",",","optional",")",":","token","for","next","page","of","results","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",":","collections.Iterator","[","ArtifactSummary","]",":","An","iterator","over","``","ArtifactSummary","``","objects","."]
code: def list(
      cls,
      source_uri: Optional[str] = None,
      artifact_type: Optional[str] = None,
      created_before: Optional[datetime] = None,
      created_after: Optional[datetime] = None,
      sort_by: Optional[str] = None,
      sort_order: Optional[str] = None,
      max_results: Optional[int] = None,
      next_token: Optional[str] = None,
      sagemaker_session=None,
  ) -> Iterator[ArtifactSummary]:
      """Return a list of artifact summaries.
  
      Args:
          source_uri (str, optional): A source URI.
          artifact_type (str, optional): An artifact type.
          created_before (datetime.datetime, optional): Return artifacts created before this
              instant.
          created_after (datetime.datetime, optional): Return artifacts created after this
              instant.
          sort_by (str, optional): Which property to sort results by.
              One of 'SourceArn', 'CreatedBefore','CreatedAfter'
          sort_order (str, optional): One of 'Ascending', or 'Descending'.
          max_results (int, optional): maximum number of artifacts to retrieve
          next_token (str, optional): token for next page of results
          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:
          collections.Iterator[ArtifactSummary]: An iterator
              over ``ArtifactSummary`` objects.
      """
      return super(Artifact, cls)._list(
          "list_artifacts",
          _api_types.ArtifactSummary.from_boto,
          "ArtifactSummaries",
          source_uri=source_uri,
          artifact_type=artifact_type,
          created_before=created_before,
          created_after=created_after,
          sort_by=sort_by,
          sort_order=sort_order,
          max_results=max_results,
          next_token=next_token,
          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 13 for calling the Artifact obj's underlying member method code with example usage: obj.list(cls, source_uri, artifact_type, created_before, created_after, sort_by, sort_order, max_results, next_token, sagemaker_session) and returns: super