code: def _input_builder(options: InputTypes, minimal: bool) -> dict:
      """
      Assembles the inputs which will be used to generate test object into a dictionary.
  
      :param options: A class containing lists of tuples to use for to create
      the cluster or nodegroup used in testing.
      :param minimal: If True, only the required values are generated; if False all values are generated.
      :return: Returns a dict containing the keys and values to be validated in testing.
      """
      values: list[tuple] = deepcopy(options.REQUIRED)  # type: ignore
      if not minimal:
          values.extend(deepcopy(options.OPTIONAL))
      return dict(values)
  
file_path: airflow/tests/providers/amazon/aws/utils/eks_test_utils.py
imports: from __future__ import annotations
  import re
  from copy import deepcopy
  from typing import TYPE_CHECKING, Pattern, Type, Union
  from ..utils.eks_test_constants import STATUS, ClusterAttributes, ClusterInputs, FargateProfileAttributes, FargateProfileInputs, NodegroupAttributes, NodegroupInputs, ResponseAttributes
label_desc: Use image node_id 6 for calling a global function with example usage: _input_builder(options, minimal) and returns: dict