code: def get_params(
      stack_name: str, boto3_session: boto3.session.Session
  ) -> Dict[str, str]:
      cfn = boto3_session.client("cloudformation")
      response = cfn.describe_stacks(StackName=stack_name)
      response_dict = {}
      params = response["Stacks"][0]["Parameters"]
      for param_obj in params:
          k = param_obj["ParameterKey"]
          v = param_obj["ParameterValue"]
          response_dict[k] = v
      return response_dict
  
imports: import sys
  import threading
  import time
  from typing import Any, Callable, Dict, List, Optional, Tuple
  import boto3
  import tqdm
  from botocore.exceptions import ClientError, WaiterError
  from determined.deploy.aws import constants
label_desc: Use image node_id 12 for calling a global function with example usage: get_params(stack_name, boto3_session) and returns: response_dict