code: def _get_s3_client(
      addressing_style="path",
      access_key_id=None,
      secret_access_key=None,
      session_token=None,
      region_name=None,
      s3_endpoint_url=None,
  ):
      if not s3_endpoint_url:
          s3_endpoint_url = MLFLOW_S3_ENDPOINT_URL.get()
      do_verify = not MLFLOW_S3_IGNORE_TLS.get()
  
      # The valid verify argument value is None/False/path to cert bundle file, See
      # https://github.com/boto/boto3/blob/73865126cad3938ca80a2f567a1c79cb248169a7/
      # boto3/session.py#L212
      verify = None if do_verify else False
  
      # NOTE: If you need to specify this env variable, please file an issue at
      # https://github.com/mlflow/mlflow/issues so we know your use-case!
      signature_version = os.environ.get(
          "MLFLOW_EXPERIMENTAL_S3_SIGNATURE_VERSION", "s3v4"
      )
  
      # Invalidate cache every `_MAX_CACHE_SECONDS`
      timestamp = int(_get_utcnow_timestamp() / _MAX_CACHE_SECONDS)
  
      return _cached_get_s3_client(
          signature_version,
          addressing_style,
          s3_endpoint_url,
          verify,
          timestamp,
          access_key_id=access_key_id,
          secret_access_key=secret_access_key,
          session_token=session_token,
          region_name=region_name,
      )
  
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 3 for calling a global function with example usage: _get_s3_client(addressing_style, access_key_id, secret_access_key, session_token, region_name, s3_endpoint_url) and returns: _cached_get_s3_client