code: def generate_fargate_profiles(
      eks_hook: EksHook,
      cluster_name: str,
      num_profiles: int,
      minimal: bool,
  ) -> list[str]:
      """
      Generates a number of EKS Fargate profiles with data and adds them to the mocked backend.
  
      :param eks_hook: An EksHook object used to call the EKS API.
      :param cluster_name: The name of the EKS Cluster to attach the nodegroups to.
      :param num_profiles: Number of Fargate profiles to generate.
      :param minimal: If True, only the required values are generated; if False all values are generated.
      :return: Returns a list of the names of the generated nodegroups.
      """
      # Generates N Fargate profiles named profile0, profile1, .., profileN
      return [
          eks_hook.create_fargate_profile(
              fargateProfileName=f"profile{count}",
              clusterName=cluster_name,
              **_input_builder(FargateProfileInputs, minimal),
          )[ResponseAttributes.FARGATE_PROFILE][
              FargateProfileAttributes.FARGATE_PROFILE_NAME
          ]
          for count in range(num_profiles)
      ]
  
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 3 for calling a global function with example usage: generate_fargate_profiles(eks_hook, cluster_name, num_profiles, minimal) and returns: unknown