code: def _build_inputs(urls, s3_client, download_dir=None, overwrite=True):
      inputs = []
      for url, filepath in urls.items():
          bucket_name, object_path = _parse_url(url)
          if filepath is None:
              filepath = os.path.join(download_dir, object_path)
  
          if not os.path.isfile(filepath):
              inputs.append(
                  (bucket_name, object_path, filepath, s3_client)
              )
          else:
              if overwrite:
                  os.remove(filepath)
              else:
                  logger.warning(
                      "File '%s' already exists, skipping...", filepath
                  )
  
      return inputs
  
file_path: fiftyone/fiftyone/utils/aws.py
imports: import logging
  import multiprocessing.dummy
  import os
  from urllib.parse import urlparse
  import boto3
  import botocore
  import eta.core.utils
  import fiftyone.core.utils
label_desc: Use image node_id 2 for calling a global function with example usage: _build_inputs(urls, s3_client, download_dir, overwrite) and returns: inputs