code: def convert_keys(original: dict) -> dict:
      """
      API Input and Output keys are formatted differently.  The EKS Hooks map
      as closely as possible to the API calls, which use camelCase variable
      names, but the Operators match python conventions and use snake_case.
      This method converts the keys of a dict which are in snake_case (input
      format) to camelCase (output format) while leaving the dict values unchanged.
  
      :param original: Dict which needs the keys converted.
      :value original: Dict
      """
      if "nodegroup_name" in original.keys():
          conversion_map = {
              "cluster_name": "clusterName",
              "cluster_role_arn": "roleArn",
              "nodegroup_subnets": "subnets",
              "subnets": "subnets",
              "nodegroup_name": "nodegroupName",
              "nodegroup_role_arn": "nodeRole",
          }
      elif "fargate_profile_name" in original.keys():
          conversion_map = {
              "cluster_name": "clusterName",
              "fargate_profile_name": "fargateProfileName",
              "subnets": "subnets",
              # The following are "duplicated" because we used the more verbose/descriptive version
              # in the CreateCluster Operator when creating a cluster alongside a Fargate profile, but
              # the more terse version in the CreateFargateProfile Operator for the sake of convenience.
              "pod_execution_role_arn": "podExecutionRoleArn",
              "fargate_pod_execution_role_arn": "podExecutionRoleArn",
              "selectors": "selectors",
              "fargate_selectors": "selectors",
          }
      else:
          conversion_map = {
              "cluster_name": "name",
              "cluster_role_arn": "roleArn",
              "resources_vpc_config": "resourcesVpcConfig",
          }
  
      return {
          conversion_map[k] if k in conversion_map else k: v
          for (k, v) in deepcopy(original).items()
      }
  
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 8 for calling a global function with example usage: convert_keys(original) and returns: unknown