class_docstr: Interact with Amazon Elastic Kubernetes Service (EKS).
  
  Provide thin wrapper around :external+boto3:py:class:`boto3.client("eks") <EKS.Client>`.
  
  Additional arguments (such as ``aws_conn_id``) may be specified and
  are passed down to the underlying AwsBaseHook.
  
  .. seealso::
      - :class:`airflow.providers.amazon.aws.hooks.base_aws.AwsBaseHook`
class_docstr_tok: ["Interact","with","Amazon","Elastic","Kubernetes","Service","(","EKS",")",".","Provide","thin","wrapper","around",":","external+boto3",":","py",":","class",":","`","boto3.client","(","``","eks","''",")","<","EKS.Client",">","`",".","Additional","arguments","(","such","as","``","aws_conn_id","``",")","may","be","specified","and","are","passed","down","to","the","underlying","AwsBaseHook",".","..","seealso",":",":","-",":","class",":","`","airflow.providers.amazon.aws.hooks.base_aws.AwsBaseHook","`"]
docstr: Create an AWS Fargate profile for an Amazon EKS cluster.
  
  .. seealso::
      - :external+boto3:py:meth:`EKS.Client.create_fargate_profile`
  
  :param clusterName: The name of the Amazon EKS cluster to apply the Fargate profile to.
  :param fargateProfileName: The name of the Fargate profile.
  :param podExecutionRoleArn: The Amazon Resource Name (ARN) of the pod execution role to
      use for pods that match the selectors in the Fargate profile.
  :param selectors: The selectors to match for pods to use this Fargate profile.
  :return: Returns descriptive information about the created Fargate profile.
docstr_tok: ["Create","an","AWS","Fargate","profile","for","an","Amazon","EKS","cluster",".","..","seealso",":",":","-",":","external+boto3",":","py",":","meth",":","`","EKS.Client.create_fargate_profile","`",":","param","clusterName",":","The","name","of","the","Amazon","EKS","cluster","to","apply","the","Fargate","profile","to",".",":","param","fargateProfileName",":","The","name","of","the","Fargate","profile",".",":","param","podExecutionRoleArn",":","The","Amazon","Resource","Name","(","ARN",")","of","the","pod","execution","role","to","use","for","pods","that","match","the","selectors","in","the","Fargate","profile",".",":","param","selectors",":","The","selectors","to","match","for","pods","to","use","this","Fargate","profile",".",":","return",":","Returns","descriptive","information","about","the","created","Fargate","profile","."]
code: def create_fargate_profile(
      self,
      clusterName: str,
      fargateProfileName: str | None,
      podExecutionRoleArn: str | None,
      selectors: list,
      **kwargs,
  ) -> dict:
      """
      Create an AWS Fargate profile for an Amazon EKS cluster.
  
      .. seealso::
          - :external+boto3:py:meth:`EKS.Client.create_fargate_profile`
  
      :param clusterName: The name of the Amazon EKS cluster to apply the Fargate profile to.
      :param fargateProfileName: The name of the Fargate profile.
      :param podExecutionRoleArn: The Amazon Resource Name (ARN) of the pod execution role to
          use for pods that match the selectors in the Fargate profile.
      :param selectors: The selectors to match for pods to use this Fargate profile.
      :return: Returns descriptive information about the created Fargate profile.
      """
      eks_client = self.conn
  
      response = eks_client.create_fargate_profile(
          clusterName=clusterName,
          fargateProfileName=fargateProfileName,
          podExecutionRoleArn=podExecutionRoleArn,
          selectors=selectors,
          **kwargs,
      )
  
      self.log.info(
          "Created AWS Fargate profile with the name %s for Amazon EKS cluster %s.",
          response.get("fargateProfile").get("fargateProfileName"),
          response.get("fargateProfile").get("clusterName"),
      )
      return response
  
imports: from __future__ import annotations
  import base64
  import json
  import sys
  import tempfile
  from contextlib import contextmanager
  from enum import Enum
  from functools import partial
  from typing import Callable, Generator
  from botocore.exceptions import ClientError
  from botocore.signers import RequestSigner
  from airflow.providers.amazon.aws.hooks.base_aws import AwsBaseHook
  from airflow.utils import yaml
  from airflow.utils.json import AirflowJsonEncoder
label_desc: Use image node_id 4 for calling the EksHook obj's underlying member method code with example usage: obj.create_fargate_profile(clusterName, fargateProfileName, podExecutionRoleArn, selectors) and returns: response