code: def get_transport_params(profile_name):
      boto3 = import_or_raise("boto3", BOTO3_ERR_MSG)
      UNSIGNED = import_or_raise("botocore", BOTOCORE_ERR_MSG).UNSIGNED
      Config = import_or_raise(
          "botocore.config", BOTOCORE_ERR_MSG
      ).Config
  
      if isinstance(profile_name, str):
          session = boto3.Session(profile_name=profile_name)
          transport_params = {"client": session.client("s3")}
      elif (
          profile_name is False
          or boto3.Session().get_credentials() is None
      ):
          session = boto3.Session()
          client = session.client(
              "s3", config=Config(signature_version=UNSIGNED)
          )
          transport_params = {"client": client}
      else:
          transport_params = None
      return transport_params
  
imports: import json
  import shutil
  from featuretools.utils.gen_utils import import_or_raise
label_desc: Use image node_id 3 for calling a global function with example usage: get_transport_params(profile_name) and returns: transport_params