code: def _get_local_path_to_download_objs(
      s3_objs: List[str], prefix: str, local_path: str
  ) -> List[str]:
      """
      Get a list of paths to download s3 objects to.
      The paths will mirror the structure of the s3 folder (prefix)
  
      Parameters
      ----------
      s3_objs: List[str]
          List of objects needed to be downloaded.
          This list should be contents of a folder in s3
      prefix: str
          The prefix of the s3 folder to download
      local_path: str
          The local path to download contents to
  
      Returns
      -------
      List[str]
         The local paths of all the objects to be downloaded to
      """
      for obj in s3_objs:
          if obj.endswith("/"):
              raise ValueError(f"Folders are not supported: {obj}")
          elif prefix != "" and not obj.startswith(prefix):
              raise ValueError(
                  f'S3 object is missing expected prefix! Object: "{obj}" | prefix: "{prefix}"'
              )
          elif obj == "":
              raise ValueError(
                  f"Cannot have empty path for an s3 object!"
              )
  
      # find the local path to download objs to
      local_obj_paths = [
          os.path.normpath(
              os.path.join(local_path, os.path.relpath(obj, prefix))
          )
          for obj in s3_objs
      ]
      return local_obj_paths
  
file_path: autogluon/common/src/autogluon/common/utils/s3_utils.py
imports: import logging
  import os
  import pathlib
  import shutil
  from typing import Dict, List, Optional, Tuple, Union
  from tqdm import tqdm
  from ..loaders.load_s3 import list_bucket_prefix_suffix_contains_s3
label_desc: Use image node_id 13 for calling a global function with example usage: _get_local_path_to_download_objs(s3_objs, prefix, local_path) and returns: local_obj_paths