class_docstr: Stores artifacts on Amazon S3.
class_docstr_tok: ["Stores","artifacts","on","Amazon","S3","."]
code: def __init__(
      self,
      artifact_uri,
      access_key_id=None,
      secret_access_key=None,
      session_token=None,
  ):
      super().__init__(artifact_uri)
      self._access_key_id = access_key_id
      self._secret_access_key = secret_access_key
      self._session_token = session_token
  
imports: import json
  import os
  import posixpath
  import urllib.parse
  from datetime import datetime
  from functools import lru_cache
  from mimetypes import guess_type
  from mlflow.entities import FileInfo
  from mlflow.entities.multipart_upload import CreateMultipartUploadResponse, MultipartUploadCredential
  from mlflow.environment_variables import MLFLOW_S3_ENDPOINT_URL, MLFLOW_S3_IGNORE_TLS, MLFLOW_S3_UPLOAD_EXTRA_ARGS
  from mlflow.exceptions import MlflowException
  from mlflow.store.artifact.artifact_repo import ArtifactRepository, MultipartUploadMixin
  from mlflow.utils.file_utils import relative_path_to_artifact_path
label_desc: Use image node_id 1 to create a new S3ArtifactRepository object from inherited base classes: ArtifactRepository, MultipartUploadMixin with example: obj = S3ArtifactRepository(artifact_uri, access_key_id, secret_access_key, session_token)