-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/
-- | Amazon Elastic Kubernetes Service SDK.
--
-- Derived from API version 2017-11-01 of the AWS service
-- descriptions, licensed under Apache 2.0.
--
-- The types from this library are intended to be used with
-- amazonka, which provides mechanisms for specifying AuthN/AuthZ
-- information, sending requests, and receiving responses.
--
-- It is recommended to use generic lenses or optics from packages such
-- as generic-lens or optics to modify optional fields and
-- deconstruct responses.
--
-- Generated lenses can be found in Amazonka.EKS.Lens and are
-- suitable for use with a lens package such as lens or
-- lens-family-core.
--
-- See Amazonka.EKS and the AWS documentation to get
-- started.
@package amazonka-eks
@version 2.0
module Amazonka.EKS.Types.AMITypes
newtype AMITypes
AMITypes' :: Text -> AMITypes
[fromAMITypes] :: AMITypes -> Text
pattern AMITypes_AL2_ARM_64 :: AMITypes
pattern AMITypes_AL2_x86_64 :: AMITypes
pattern AMITypes_AL2_x86_64_GPU :: AMITypes
pattern AMITypes_BOTTLEROCKET_ARM_64 :: AMITypes
pattern AMITypes_BOTTLEROCKET_ARM_64_NVIDIA :: AMITypes
pattern AMITypes_BOTTLEROCKET_x86_64 :: AMITypes
pattern AMITypes_BOTTLEROCKET_x86_64_NVIDIA :: AMITypes
pattern AMITypes_CUSTOM :: AMITypes
pattern AMITypes_WINDOWS_CORE_2019_x86_64 :: AMITypes
pattern AMITypes_WINDOWS_CORE_2022_x86_64 :: AMITypes
pattern AMITypes_WINDOWS_FULL_2019_x86_64 :: AMITypes
pattern AMITypes_WINDOWS_FULL_2022_x86_64 :: AMITypes
instance Amazonka.Data.XML.ToXML Amazonka.EKS.Types.AMITypes.AMITypes
instance Amazonka.Data.XML.FromXML Amazonka.EKS.Types.AMITypes.AMITypes
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.EKS.Types.AMITypes.AMITypes
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.EKS.Types.AMITypes.AMITypes
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.EKS.Types.AMITypes.AMITypes
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.EKS.Types.AMITypes.AMITypes
instance Amazonka.Data.Query.ToQuery Amazonka.EKS.Types.AMITypes.AMITypes
instance Amazonka.Data.Headers.ToHeader Amazonka.EKS.Types.AMITypes.AMITypes
instance Amazonka.Data.Log.ToLog Amazonka.EKS.Types.AMITypes.AMITypes
instance Amazonka.Data.ByteString.ToByteString Amazonka.EKS.Types.AMITypes.AMITypes
instance Amazonka.Data.Text.ToText Amazonka.EKS.Types.AMITypes.AMITypes
instance Amazonka.Data.Text.FromText Amazonka.EKS.Types.AMITypes.AMITypes
instance Control.DeepSeq.NFData Amazonka.EKS.Types.AMITypes.AMITypes
instance Data.Hashable.Class.Hashable Amazonka.EKS.Types.AMITypes.AMITypes
instance GHC.Generics.Generic Amazonka.EKS.Types.AMITypes.AMITypes
instance GHC.Classes.Ord Amazonka.EKS.Types.AMITypes.AMITypes
instance GHC.Classes.Eq Amazonka.EKS.Types.AMITypes.AMITypes
instance GHC.Read.Read Amazonka.EKS.Types.AMITypes.AMITypes
instance GHC.Show.Show Amazonka.EKS.Types.AMITypes.AMITypes
module Amazonka.EKS.Types.AddonIssueCode
newtype AddonIssueCode
AddonIssueCode' :: Text -> AddonIssueCode
[fromAddonIssueCode] :: AddonIssueCode -> Text
pattern AddonIssueCode_AccessDenied :: AddonIssueCode
pattern AddonIssueCode_AdmissionRequestDenied :: AddonIssueCode
pattern AddonIssueCode_ClusterUnreachable :: AddonIssueCode
pattern AddonIssueCode_ConfigurationConflict :: AddonIssueCode
pattern AddonIssueCode_InsufficientNumberOfReplicas :: AddonIssueCode
pattern AddonIssueCode_InternalFailure :: AddonIssueCode
pattern AddonIssueCode_K8sResourceNotFound :: AddonIssueCode
pattern AddonIssueCode_UnsupportedAddonModification :: AddonIssueCode
instance Amazonka.Data.XML.ToXML Amazonka.EKS.Types.AddonIssueCode.AddonIssueCode
instance Amazonka.Data.XML.FromXML Amazonka.EKS.Types.AddonIssueCode.AddonIssueCode
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.EKS.Types.AddonIssueCode.AddonIssueCode
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.EKS.Types.AddonIssueCode.AddonIssueCode
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.EKS.Types.AddonIssueCode.AddonIssueCode
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.EKS.Types.AddonIssueCode.AddonIssueCode
instance Amazonka.Data.Query.ToQuery Amazonka.EKS.Types.AddonIssueCode.AddonIssueCode
instance Amazonka.Data.Headers.ToHeader Amazonka.EKS.Types.AddonIssueCode.AddonIssueCode
instance Amazonka.Data.Log.ToLog Amazonka.EKS.Types.AddonIssueCode.AddonIssueCode
instance Amazonka.Data.ByteString.ToByteString Amazonka.EKS.Types.AddonIssueCode.AddonIssueCode
instance Amazonka.Data.Text.ToText Amazonka.EKS.Types.AddonIssueCode.AddonIssueCode
instance Amazonka.Data.Text.FromText Amazonka.EKS.Types.AddonIssueCode.AddonIssueCode
instance Control.DeepSeq.NFData Amazonka.EKS.Types.AddonIssueCode.AddonIssueCode
instance Data.Hashable.Class.Hashable Amazonka.EKS.Types.AddonIssueCode.AddonIssueCode
instance GHC.Generics.Generic Amazonka.EKS.Types.AddonIssueCode.AddonIssueCode
instance GHC.Classes.Ord Amazonka.EKS.Types.AddonIssueCode.AddonIssueCode
instance GHC.Classes.Eq Amazonka.EKS.Types.AddonIssueCode.AddonIssueCode
instance GHC.Read.Read Amazonka.EKS.Types.AddonIssueCode.AddonIssueCode
instance GHC.Show.Show Amazonka.EKS.Types.AddonIssueCode.AddonIssueCode
module Amazonka.EKS.Types.AddonIssue
-- | An issue related to an add-on.
--
-- See: newAddonIssue smart constructor.
data AddonIssue
AddonIssue' :: Maybe AddonIssueCode -> Maybe Text -> Maybe [Text] -> AddonIssue
-- | A code that describes the type of issue.
[$sel:code:AddonIssue'] :: AddonIssue -> Maybe AddonIssueCode
-- | A message that provides details about the issue and what might cause
-- it.
[$sel:message:AddonIssue'] :: AddonIssue -> Maybe Text
-- | The resource IDs of the issue.
[$sel:resourceIds:AddonIssue'] :: AddonIssue -> Maybe [Text]
-- | Create a value of AddonIssue with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:code:AddonIssue', addonIssue_code - A code that
-- describes the type of issue.
--
-- $sel:message:AddonIssue', addonIssue_message - A message
-- that provides details about the issue and what might cause it.
--
-- $sel:resourceIds:AddonIssue', addonIssue_resourceIds -
-- The resource IDs of the issue.
newAddonIssue :: AddonIssue
-- | A code that describes the type of issue.
addonIssue_code :: Lens' AddonIssue (Maybe AddonIssueCode)
-- | A message that provides details about the issue and what might cause
-- it.
addonIssue_message :: Lens' AddonIssue (Maybe Text)
-- | The resource IDs of the issue.
addonIssue_resourceIds :: Lens' AddonIssue (Maybe [Text])
instance GHC.Generics.Generic Amazonka.EKS.Types.AddonIssue.AddonIssue
instance GHC.Show.Show Amazonka.EKS.Types.AddonIssue.AddonIssue
instance GHC.Read.Read Amazonka.EKS.Types.AddonIssue.AddonIssue
instance GHC.Classes.Eq Amazonka.EKS.Types.AddonIssue.AddonIssue
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.EKS.Types.AddonIssue.AddonIssue
instance Data.Hashable.Class.Hashable Amazonka.EKS.Types.AddonIssue.AddonIssue
instance Control.DeepSeq.NFData Amazonka.EKS.Types.AddonIssue.AddonIssue
module Amazonka.EKS.Types.AddonHealth
-- | The health of the add-on.
--
-- See: newAddonHealth smart constructor.
data AddonHealth
AddonHealth' :: Maybe [AddonIssue] -> AddonHealth
-- | An object representing the health issues for an add-on.
[$sel:issues:AddonHealth'] :: AddonHealth -> Maybe [AddonIssue]
-- | Create a value of AddonHealth with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:issues:AddonHealth', addonHealth_issues - An object
-- representing the health issues for an add-on.
newAddonHealth :: AddonHealth
-- | An object representing the health issues for an add-on.
addonHealth_issues :: Lens' AddonHealth (Maybe [AddonIssue])
instance GHC.Generics.Generic Amazonka.EKS.Types.AddonHealth.AddonHealth
instance GHC.Show.Show Amazonka.EKS.Types.AddonHealth.AddonHealth
instance GHC.Read.Read Amazonka.EKS.Types.AddonHealth.AddonHealth
instance GHC.Classes.Eq Amazonka.EKS.Types.AddonHealth.AddonHealth
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.EKS.Types.AddonHealth.AddonHealth
instance Data.Hashable.Class.Hashable Amazonka.EKS.Types.AddonHealth.AddonHealth
instance Control.DeepSeq.NFData Amazonka.EKS.Types.AddonHealth.AddonHealth
module Amazonka.EKS.Types.AddonStatus
newtype AddonStatus
AddonStatus' :: Text -> AddonStatus
[fromAddonStatus] :: AddonStatus -> Text
pattern AddonStatus_ACTIVE :: AddonStatus
pattern AddonStatus_CREATE_FAILED :: AddonStatus
pattern AddonStatus_CREATING :: AddonStatus
pattern AddonStatus_DEGRADED :: AddonStatus
pattern AddonStatus_DELETE_FAILED :: AddonStatus
pattern AddonStatus_DELETING :: AddonStatus
pattern AddonStatus_UPDATE_FAILED :: AddonStatus
pattern AddonStatus_UPDATING :: AddonStatus
instance Amazonka.Data.XML.ToXML Amazonka.EKS.Types.AddonStatus.AddonStatus
instance Amazonka.Data.XML.FromXML Amazonka.EKS.Types.AddonStatus.AddonStatus
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.EKS.Types.AddonStatus.AddonStatus
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.EKS.Types.AddonStatus.AddonStatus
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.EKS.Types.AddonStatus.AddonStatus
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.EKS.Types.AddonStatus.AddonStatus
instance Amazonka.Data.Query.ToQuery Amazonka.EKS.Types.AddonStatus.AddonStatus
instance Amazonka.Data.Headers.ToHeader Amazonka.EKS.Types.AddonStatus.AddonStatus
instance Amazonka.Data.Log.ToLog Amazonka.EKS.Types.AddonStatus.AddonStatus
instance Amazonka.Data.ByteString.ToByteString Amazonka.EKS.Types.AddonStatus.AddonStatus
instance Amazonka.Data.Text.ToText Amazonka.EKS.Types.AddonStatus.AddonStatus
instance Amazonka.Data.Text.FromText Amazonka.EKS.Types.AddonStatus.AddonStatus
instance Control.DeepSeq.NFData Amazonka.EKS.Types.AddonStatus.AddonStatus
instance Data.Hashable.Class.Hashable Amazonka.EKS.Types.AddonStatus.AddonStatus
instance GHC.Generics.Generic Amazonka.EKS.Types.AddonStatus.AddonStatus
instance GHC.Classes.Ord Amazonka.EKS.Types.AddonStatus.AddonStatus
instance GHC.Classes.Eq Amazonka.EKS.Types.AddonStatus.AddonStatus
instance GHC.Read.Read Amazonka.EKS.Types.AddonStatus.AddonStatus
instance GHC.Show.Show Amazonka.EKS.Types.AddonStatus.AddonStatus
module Amazonka.EKS.Types.AutoScalingGroup
-- | An Auto Scaling group that is associated with an Amazon EKS managed
-- node group.
--
-- See: newAutoScalingGroup smart constructor.
data AutoScalingGroup
AutoScalingGroup' :: Maybe Text -> AutoScalingGroup
-- | The name of the Auto Scaling group associated with an Amazon EKS
-- managed node group.
[$sel:name:AutoScalingGroup'] :: AutoScalingGroup -> Maybe Text
-- | Create a value of AutoScalingGroup with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:name:AutoScalingGroup', autoScalingGroup_name - The
-- name of the Auto Scaling group associated with an Amazon EKS managed
-- node group.
newAutoScalingGroup :: AutoScalingGroup
-- | The name of the Auto Scaling group associated with an Amazon EKS
-- managed node group.
autoScalingGroup_name :: Lens' AutoScalingGroup (Maybe Text)
instance GHC.Generics.Generic Amazonka.EKS.Types.AutoScalingGroup.AutoScalingGroup
instance GHC.Show.Show Amazonka.EKS.Types.AutoScalingGroup.AutoScalingGroup
instance GHC.Read.Read Amazonka.EKS.Types.AutoScalingGroup.AutoScalingGroup
instance GHC.Classes.Eq Amazonka.EKS.Types.AutoScalingGroup.AutoScalingGroup
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.EKS.Types.AutoScalingGroup.AutoScalingGroup
instance Data.Hashable.Class.Hashable Amazonka.EKS.Types.AutoScalingGroup.AutoScalingGroup
instance Control.DeepSeq.NFData Amazonka.EKS.Types.AutoScalingGroup.AutoScalingGroup
module Amazonka.EKS.Types.CapacityTypes
newtype CapacityTypes
CapacityTypes' :: Text -> CapacityTypes
[fromCapacityTypes] :: CapacityTypes -> Text
pattern CapacityTypes_ON_DEMAND :: CapacityTypes
pattern CapacityTypes_SPOT :: CapacityTypes
instance Amazonka.Data.XML.ToXML Amazonka.EKS.Types.CapacityTypes.CapacityTypes
instance Amazonka.Data.XML.FromXML Amazonka.EKS.Types.CapacityTypes.CapacityTypes
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.EKS.Types.CapacityTypes.CapacityTypes
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.EKS.Types.CapacityTypes.CapacityTypes
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.EKS.Types.CapacityTypes.CapacityTypes
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.EKS.Types.CapacityTypes.CapacityTypes
instance Amazonka.Data.Query.ToQuery Amazonka.EKS.Types.CapacityTypes.CapacityTypes
instance Amazonka.Data.Headers.ToHeader Amazonka.EKS.Types.CapacityTypes.CapacityTypes
instance Amazonka.Data.Log.ToLog Amazonka.EKS.Types.CapacityTypes.CapacityTypes
instance Amazonka.Data.ByteString.ToByteString Amazonka.EKS.Types.CapacityTypes.CapacityTypes
instance Amazonka.Data.Text.ToText Amazonka.EKS.Types.CapacityTypes.CapacityTypes
instance Amazonka.Data.Text.FromText Amazonka.EKS.Types.CapacityTypes.CapacityTypes
instance Control.DeepSeq.NFData Amazonka.EKS.Types.CapacityTypes.CapacityTypes
instance Data.Hashable.Class.Hashable Amazonka.EKS.Types.CapacityTypes.CapacityTypes
instance GHC.Generics.Generic Amazonka.EKS.Types.CapacityTypes.CapacityTypes
instance GHC.Classes.Ord Amazonka.EKS.Types.CapacityTypes.CapacityTypes
instance GHC.Classes.Eq Amazonka.EKS.Types.CapacityTypes.CapacityTypes
instance GHC.Read.Read Amazonka.EKS.Types.CapacityTypes.CapacityTypes
instance GHC.Show.Show Amazonka.EKS.Types.CapacityTypes.CapacityTypes
module Amazonka.EKS.Types.Certificate
-- | An object representing the certificate-authority-data for
-- your cluster.
--
-- See: newCertificate smart constructor.
data Certificate
Certificate' :: Maybe Text -> Certificate
-- | The Base64-encoded certificate data required to communicate with your
-- cluster. Add this to the certificate-authority-data section
-- of the kubeconfig file for your cluster.
[$sel:data':Certificate'] :: Certificate -> Maybe Text
-- | Create a value of Certificate with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:data':Certificate', certificate_data - The
-- Base64-encoded certificate data required to communicate with your
-- cluster. Add this to the certificate-authority-data section
-- of the kubeconfig file for your cluster.
newCertificate :: Certificate
-- | The Base64-encoded certificate data required to communicate with your
-- cluster. Add this to the certificate-authority-data section
-- of the kubeconfig file for your cluster.
certificate_data :: Lens' Certificate (Maybe Text)
instance GHC.Generics.Generic Amazonka.EKS.Types.Certificate.Certificate
instance GHC.Show.Show Amazonka.EKS.Types.Certificate.Certificate
instance GHC.Read.Read Amazonka.EKS.Types.Certificate.Certificate
instance GHC.Classes.Eq Amazonka.EKS.Types.Certificate.Certificate
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.EKS.Types.Certificate.Certificate
instance Data.Hashable.Class.Hashable Amazonka.EKS.Types.Certificate.Certificate
instance Control.DeepSeq.NFData Amazonka.EKS.Types.Certificate.Certificate
module Amazonka.EKS.Types.ClusterIssueCode
newtype ClusterIssueCode
ClusterIssueCode' :: Text -> ClusterIssueCode
[fromClusterIssueCode] :: ClusterIssueCode -> Text
pattern ClusterIssueCode_AccessDenied :: ClusterIssueCode
pattern ClusterIssueCode_ClusterUnreachable :: ClusterIssueCode
pattern ClusterIssueCode_ConfigurationConflict :: ClusterIssueCode
pattern ClusterIssueCode_InternalFailure :: ClusterIssueCode
pattern ClusterIssueCode_ResourceLimitExceeded :: ClusterIssueCode
pattern ClusterIssueCode_ResourceNotFound :: ClusterIssueCode
instance Amazonka.Data.XML.ToXML Amazonka.EKS.Types.ClusterIssueCode.ClusterIssueCode
instance Amazonka.Data.XML.FromXML Amazonka.EKS.Types.ClusterIssueCode.ClusterIssueCode
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.EKS.Types.ClusterIssueCode.ClusterIssueCode
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.EKS.Types.ClusterIssueCode.ClusterIssueCode
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.EKS.Types.ClusterIssueCode.ClusterIssueCode
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.EKS.Types.ClusterIssueCode.ClusterIssueCode
instance Amazonka.Data.Query.ToQuery Amazonka.EKS.Types.ClusterIssueCode.ClusterIssueCode
instance Amazonka.Data.Headers.ToHeader Amazonka.EKS.Types.ClusterIssueCode.ClusterIssueCode
instance Amazonka.Data.Log.ToLog Amazonka.EKS.Types.ClusterIssueCode.ClusterIssueCode
instance Amazonka.Data.ByteString.ToByteString Amazonka.EKS.Types.ClusterIssueCode.ClusterIssueCode
instance Amazonka.Data.Text.ToText Amazonka.EKS.Types.ClusterIssueCode.ClusterIssueCode
instance Amazonka.Data.Text.FromText Amazonka.EKS.Types.ClusterIssueCode.ClusterIssueCode
instance Control.DeepSeq.NFData Amazonka.EKS.Types.ClusterIssueCode.ClusterIssueCode
instance Data.Hashable.Class.Hashable Amazonka.EKS.Types.ClusterIssueCode.ClusterIssueCode
instance GHC.Generics.Generic Amazonka.EKS.Types.ClusterIssueCode.ClusterIssueCode
instance GHC.Classes.Ord Amazonka.EKS.Types.ClusterIssueCode.ClusterIssueCode
instance GHC.Classes.Eq Amazonka.EKS.Types.ClusterIssueCode.ClusterIssueCode
instance GHC.Read.Read Amazonka.EKS.Types.ClusterIssueCode.ClusterIssueCode
instance GHC.Show.Show Amazonka.EKS.Types.ClusterIssueCode.ClusterIssueCode
module Amazonka.EKS.Types.ClusterIssue
-- | An issue with your local Amazon EKS cluster on an Amazon Web Services
-- Outpost. You can't use this API with an Amazon EKS cluster on the
-- Amazon Web Services cloud.
--
-- See: newClusterIssue smart constructor.
data ClusterIssue
ClusterIssue' :: Maybe ClusterIssueCode -> Maybe Text -> Maybe [Text] -> ClusterIssue
-- | The error code of the issue.
[$sel:code:ClusterIssue'] :: ClusterIssue -> Maybe ClusterIssueCode
-- | A description of the issue.
[$sel:message:ClusterIssue'] :: ClusterIssue -> Maybe Text
-- | The resource IDs that the issue relates to.
[$sel:resourceIds:ClusterIssue'] :: ClusterIssue -> Maybe [Text]
-- | Create a value of ClusterIssue with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:code:ClusterIssue', clusterIssue_code - The error
-- code of the issue.
--
-- $sel:message:ClusterIssue', clusterIssue_message - A
-- description of the issue.
--
-- $sel:resourceIds:ClusterIssue', clusterIssue_resourceIds
-- - The resource IDs that the issue relates to.
newClusterIssue :: ClusterIssue
-- | The error code of the issue.
clusterIssue_code :: Lens' ClusterIssue (Maybe ClusterIssueCode)
-- | A description of the issue.
clusterIssue_message :: Lens' ClusterIssue (Maybe Text)
-- | The resource IDs that the issue relates to.
clusterIssue_resourceIds :: Lens' ClusterIssue (Maybe [Text])
instance GHC.Generics.Generic Amazonka.EKS.Types.ClusterIssue.ClusterIssue
instance GHC.Show.Show Amazonka.EKS.Types.ClusterIssue.ClusterIssue
instance GHC.Read.Read Amazonka.EKS.Types.ClusterIssue.ClusterIssue
instance GHC.Classes.Eq Amazonka.EKS.Types.ClusterIssue.ClusterIssue
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.EKS.Types.ClusterIssue.ClusterIssue
instance Data.Hashable.Class.Hashable Amazonka.EKS.Types.ClusterIssue.ClusterIssue
instance Control.DeepSeq.NFData Amazonka.EKS.Types.ClusterIssue.ClusterIssue
module Amazonka.EKS.Types.ClusterHealth
-- | An object representing the health of your local Amazon EKS cluster on
-- an Amazon Web Services Outpost. You can't use this API with an Amazon
-- EKS cluster on the Amazon Web Services cloud.
--
-- See: newClusterHealth smart constructor.
data ClusterHealth
ClusterHealth' :: Maybe [ClusterIssue] -> ClusterHealth
-- | An object representing the health issues of your local Amazon EKS
-- cluster on an Amazon Web Services Outpost.
[$sel:issues:ClusterHealth'] :: ClusterHealth -> Maybe [ClusterIssue]
-- | Create a value of ClusterHealth with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:issues:ClusterHealth', clusterHealth_issues - An
-- object representing the health issues of your local Amazon EKS cluster
-- on an Amazon Web Services Outpost.
newClusterHealth :: ClusterHealth
-- | An object representing the health issues of your local Amazon EKS
-- cluster on an Amazon Web Services Outpost.
clusterHealth_issues :: Lens' ClusterHealth (Maybe [ClusterIssue])
instance GHC.Generics.Generic Amazonka.EKS.Types.ClusterHealth.ClusterHealth
instance GHC.Show.Show Amazonka.EKS.Types.ClusterHealth.ClusterHealth
instance GHC.Read.Read Amazonka.EKS.Types.ClusterHealth.ClusterHealth
instance GHC.Classes.Eq Amazonka.EKS.Types.ClusterHealth.ClusterHealth
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.EKS.Types.ClusterHealth.ClusterHealth
instance Data.Hashable.Class.Hashable Amazonka.EKS.Types.ClusterHealth.ClusterHealth
instance Control.DeepSeq.NFData Amazonka.EKS.Types.ClusterHealth.ClusterHealth
module Amazonka.EKS.Types.ClusterStatus
newtype ClusterStatus
ClusterStatus' :: Text -> ClusterStatus
[fromClusterStatus] :: ClusterStatus -> Text
pattern ClusterStatus_ACTIVE :: ClusterStatus
pattern ClusterStatus_CREATING :: ClusterStatus
pattern ClusterStatus_DELETING :: ClusterStatus
pattern ClusterStatus_FAILED :: ClusterStatus
pattern ClusterStatus_PENDING :: ClusterStatus
pattern ClusterStatus_UPDATING :: ClusterStatus
instance Amazonka.Data.XML.ToXML Amazonka.EKS.Types.ClusterStatus.ClusterStatus
instance Amazonka.Data.XML.FromXML Amazonka.EKS.Types.ClusterStatus.ClusterStatus
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.EKS.Types.ClusterStatus.ClusterStatus
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.EKS.Types.ClusterStatus.ClusterStatus
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.EKS.Types.ClusterStatus.ClusterStatus
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.EKS.Types.ClusterStatus.ClusterStatus
instance Amazonka.Data.Query.ToQuery Amazonka.EKS.Types.ClusterStatus.ClusterStatus
instance Amazonka.Data.Headers.ToHeader Amazonka.EKS.Types.ClusterStatus.ClusterStatus
instance Amazonka.Data.Log.ToLog Amazonka.EKS.Types.ClusterStatus.ClusterStatus
instance Amazonka.Data.ByteString.ToByteString Amazonka.EKS.Types.ClusterStatus.ClusterStatus
instance Amazonka.Data.Text.ToText Amazonka.EKS.Types.ClusterStatus.ClusterStatus
instance Amazonka.Data.Text.FromText Amazonka.EKS.Types.ClusterStatus.ClusterStatus
instance Control.DeepSeq.NFData Amazonka.EKS.Types.ClusterStatus.ClusterStatus
instance Data.Hashable.Class.Hashable Amazonka.EKS.Types.ClusterStatus.ClusterStatus
instance GHC.Generics.Generic Amazonka.EKS.Types.ClusterStatus.ClusterStatus
instance GHC.Classes.Ord Amazonka.EKS.Types.ClusterStatus.ClusterStatus
instance GHC.Classes.Eq Amazonka.EKS.Types.ClusterStatus.ClusterStatus
instance GHC.Read.Read Amazonka.EKS.Types.ClusterStatus.ClusterStatus
instance GHC.Show.Show Amazonka.EKS.Types.ClusterStatus.ClusterStatus
module Amazonka.EKS.Types.Compatibility
-- | Compatibility information.
--
-- See: newCompatibility smart constructor.
data Compatibility
Compatibility' :: Maybe Text -> Maybe Bool -> Maybe [Text] -> Compatibility
-- | The supported Kubernetes version of the cluster.
[$sel:clusterVersion:Compatibility'] :: Compatibility -> Maybe Text
-- | The supported default version.
[$sel:defaultVersion:Compatibility'] :: Compatibility -> Maybe Bool
-- | The supported compute platform.
[$sel:platformVersions:Compatibility'] :: Compatibility -> Maybe [Text]
-- | Create a value of Compatibility with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:clusterVersion:Compatibility',
-- compatibility_clusterVersion - The supported Kubernetes version
-- of the cluster.
--
-- $sel:defaultVersion:Compatibility',
-- compatibility_defaultVersion - The supported default version.
--
-- $sel:platformVersions:Compatibility',
-- compatibility_platformVersions - The supported compute
-- platform.
newCompatibility :: Compatibility
-- | The supported Kubernetes version of the cluster.
compatibility_clusterVersion :: Lens' Compatibility (Maybe Text)
-- | The supported default version.
compatibility_defaultVersion :: Lens' Compatibility (Maybe Bool)
-- | The supported compute platform.
compatibility_platformVersions :: Lens' Compatibility (Maybe [Text])
instance GHC.Generics.Generic Amazonka.EKS.Types.Compatibility.Compatibility
instance GHC.Show.Show Amazonka.EKS.Types.Compatibility.Compatibility
instance GHC.Read.Read Amazonka.EKS.Types.Compatibility.Compatibility
instance GHC.Classes.Eq Amazonka.EKS.Types.Compatibility.Compatibility
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.EKS.Types.Compatibility.Compatibility
instance Data.Hashable.Class.Hashable Amazonka.EKS.Types.Compatibility.Compatibility
instance Control.DeepSeq.NFData Amazonka.EKS.Types.Compatibility.Compatibility
module Amazonka.EKS.Types.AddonVersionInfo
-- | Information about an add-on version.
--
-- See: newAddonVersionInfo smart constructor.
data AddonVersionInfo
AddonVersionInfo' :: Maybe Text -> Maybe [Text] -> Maybe [Compatibility] -> Maybe Bool -> AddonVersionInfo
-- | The version of the add-on.
[$sel:addonVersion:AddonVersionInfo'] :: AddonVersionInfo -> Maybe Text
-- | The architectures that the version supports.
[$sel:architecture:AddonVersionInfo'] :: AddonVersionInfo -> Maybe [Text]
-- | An object representing the compatibilities of a version.
[$sel:compatibilities:AddonVersionInfo'] :: AddonVersionInfo -> Maybe [Compatibility]
-- | Whether the add-on requires configuration.
[$sel:requiresConfiguration:AddonVersionInfo'] :: AddonVersionInfo -> Maybe Bool
-- | Create a value of AddonVersionInfo with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:addonVersion:AddonVersionInfo',
-- addonVersionInfo_addonVersion - The version of the add-on.
--
-- $sel:architecture:AddonVersionInfo',
-- addonVersionInfo_architecture - The architectures that the
-- version supports.
--
-- $sel:compatibilities:AddonVersionInfo',
-- addonVersionInfo_compatibilities - An object representing the
-- compatibilities of a version.
--
-- $sel:requiresConfiguration:AddonVersionInfo',
-- addonVersionInfo_requiresConfiguration - Whether the add-on
-- requires configuration.
newAddonVersionInfo :: AddonVersionInfo
-- | The version of the add-on.
addonVersionInfo_addonVersion :: Lens' AddonVersionInfo (Maybe Text)
-- | The architectures that the version supports.
addonVersionInfo_architecture :: Lens' AddonVersionInfo (Maybe [Text])
-- | An object representing the compatibilities of a version.
addonVersionInfo_compatibilities :: Lens' AddonVersionInfo (Maybe [Compatibility])
-- | Whether the add-on requires configuration.
addonVersionInfo_requiresConfiguration :: Lens' AddonVersionInfo (Maybe Bool)
instance GHC.Generics.Generic Amazonka.EKS.Types.AddonVersionInfo.AddonVersionInfo
instance GHC.Show.Show Amazonka.EKS.Types.AddonVersionInfo.AddonVersionInfo
instance GHC.Read.Read Amazonka.EKS.Types.AddonVersionInfo.AddonVersionInfo
instance GHC.Classes.Eq Amazonka.EKS.Types.AddonVersionInfo.AddonVersionInfo
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.EKS.Types.AddonVersionInfo.AddonVersionInfo
instance Data.Hashable.Class.Hashable Amazonka.EKS.Types.AddonVersionInfo.AddonVersionInfo
instance Control.DeepSeq.NFData Amazonka.EKS.Types.AddonVersionInfo.AddonVersionInfo
module Amazonka.EKS.Types.ConfigStatus
newtype ConfigStatus
ConfigStatus' :: Text -> ConfigStatus
[fromConfigStatus] :: ConfigStatus -> Text
pattern ConfigStatus_ACTIVE :: ConfigStatus
pattern ConfigStatus_CREATING :: ConfigStatus
pattern ConfigStatus_DELETING :: ConfigStatus
instance Amazonka.Data.XML.ToXML Amazonka.EKS.Types.ConfigStatus.ConfigStatus
instance Amazonka.Data.XML.FromXML Amazonka.EKS.Types.ConfigStatus.ConfigStatus
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.EKS.Types.ConfigStatus.ConfigStatus
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.EKS.Types.ConfigStatus.ConfigStatus
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.EKS.Types.ConfigStatus.ConfigStatus
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.EKS.Types.ConfigStatus.ConfigStatus
instance Amazonka.Data.Query.ToQuery Amazonka.EKS.Types.ConfigStatus.ConfigStatus
instance Amazonka.Data.Headers.ToHeader Amazonka.EKS.Types.ConfigStatus.ConfigStatus
instance Amazonka.Data.Log.ToLog Amazonka.EKS.Types.ConfigStatus.ConfigStatus
instance Amazonka.Data.ByteString.ToByteString Amazonka.EKS.Types.ConfigStatus.ConfigStatus
instance Amazonka.Data.Text.ToText Amazonka.EKS.Types.ConfigStatus.ConfigStatus
instance Amazonka.Data.Text.FromText Amazonka.EKS.Types.ConfigStatus.ConfigStatus
instance Control.DeepSeq.NFData Amazonka.EKS.Types.ConfigStatus.ConfigStatus
instance Data.Hashable.Class.Hashable Amazonka.EKS.Types.ConfigStatus.ConfigStatus
instance GHC.Generics.Generic Amazonka.EKS.Types.ConfigStatus.ConfigStatus
instance GHC.Classes.Ord Amazonka.EKS.Types.ConfigStatus.ConfigStatus
instance GHC.Classes.Eq Amazonka.EKS.Types.ConfigStatus.ConfigStatus
instance GHC.Read.Read Amazonka.EKS.Types.ConfigStatus.ConfigStatus
instance GHC.Show.Show Amazonka.EKS.Types.ConfigStatus.ConfigStatus
module Amazonka.EKS.Types.ConnectorConfigProvider
newtype ConnectorConfigProvider
ConnectorConfigProvider' :: Text -> ConnectorConfigProvider
[fromConnectorConfigProvider] :: ConnectorConfigProvider -> Text
pattern ConnectorConfigProvider_AKS :: ConnectorConfigProvider
pattern ConnectorConfigProvider_ANTHOS :: ConnectorConfigProvider
pattern ConnectorConfigProvider_EC2 :: ConnectorConfigProvider
pattern ConnectorConfigProvider_EKS_ANYWHERE :: ConnectorConfigProvider
pattern ConnectorConfigProvider_GKE :: ConnectorConfigProvider
pattern ConnectorConfigProvider_OPENSHIFT :: ConnectorConfigProvider
pattern ConnectorConfigProvider_OTHER :: ConnectorConfigProvider
pattern ConnectorConfigProvider_RANCHER :: ConnectorConfigProvider
pattern ConnectorConfigProvider_TANZU :: ConnectorConfigProvider
instance Amazonka.Data.XML.ToXML Amazonka.EKS.Types.ConnectorConfigProvider.ConnectorConfigProvider
instance Amazonka.Data.XML.FromXML Amazonka.EKS.Types.ConnectorConfigProvider.ConnectorConfigProvider
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.EKS.Types.ConnectorConfigProvider.ConnectorConfigProvider
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.EKS.Types.ConnectorConfigProvider.ConnectorConfigProvider
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.EKS.Types.ConnectorConfigProvider.ConnectorConfigProvider
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.EKS.Types.ConnectorConfigProvider.ConnectorConfigProvider
instance Amazonka.Data.Query.ToQuery Amazonka.EKS.Types.ConnectorConfigProvider.ConnectorConfigProvider
instance Amazonka.Data.Headers.ToHeader Amazonka.EKS.Types.ConnectorConfigProvider.ConnectorConfigProvider
instance Amazonka.Data.Log.ToLog Amazonka.EKS.Types.ConnectorConfigProvider.ConnectorConfigProvider
instance Amazonka.Data.ByteString.ToByteString Amazonka.EKS.Types.ConnectorConfigProvider.ConnectorConfigProvider
instance Amazonka.Data.Text.ToText Amazonka.EKS.Types.ConnectorConfigProvider.ConnectorConfigProvider
instance Amazonka.Data.Text.FromText Amazonka.EKS.Types.ConnectorConfigProvider.ConnectorConfigProvider
instance Control.DeepSeq.NFData Amazonka.EKS.Types.ConnectorConfigProvider.ConnectorConfigProvider
instance Data.Hashable.Class.Hashable Amazonka.EKS.Types.ConnectorConfigProvider.ConnectorConfigProvider
instance GHC.Generics.Generic Amazonka.EKS.Types.ConnectorConfigProvider.ConnectorConfigProvider
instance GHC.Classes.Ord Amazonka.EKS.Types.ConnectorConfigProvider.ConnectorConfigProvider
instance GHC.Classes.Eq Amazonka.EKS.Types.ConnectorConfigProvider.ConnectorConfigProvider
instance GHC.Read.Read Amazonka.EKS.Types.ConnectorConfigProvider.ConnectorConfigProvider
instance GHC.Show.Show Amazonka.EKS.Types.ConnectorConfigProvider.ConnectorConfigProvider
module Amazonka.EKS.Types.ConnectorConfigRequest
-- | The configuration sent to a cluster for configuration.
--
-- See: newConnectorConfigRequest smart constructor.
data ConnectorConfigRequest
ConnectorConfigRequest' :: Text -> ConnectorConfigProvider -> ConnectorConfigRequest
-- | The Amazon Resource Name (ARN) of the role that is authorized to
-- request the connector configuration.
[$sel:roleArn:ConnectorConfigRequest'] :: ConnectorConfigRequest -> Text
-- | The cloud provider for the target cluster to connect.
[$sel:provider:ConnectorConfigRequest'] :: ConnectorConfigRequest -> ConnectorConfigProvider
-- | Create a value of ConnectorConfigRequest with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:roleArn:ConnectorConfigRequest',
-- connectorConfigRequest_roleArn - The Amazon Resource Name (ARN)
-- of the role that is authorized to request the connector configuration.
--
-- $sel:provider:ConnectorConfigRequest',
-- connectorConfigRequest_provider - The cloud provider for the
-- target cluster to connect.
newConnectorConfigRequest :: Text -> ConnectorConfigProvider -> ConnectorConfigRequest
-- | The Amazon Resource Name (ARN) of the role that is authorized to
-- request the connector configuration.
connectorConfigRequest_roleArn :: Lens' ConnectorConfigRequest Text
-- | The cloud provider for the target cluster to connect.
connectorConfigRequest_provider :: Lens' ConnectorConfigRequest ConnectorConfigProvider
instance GHC.Generics.Generic Amazonka.EKS.Types.ConnectorConfigRequest.ConnectorConfigRequest
instance GHC.Show.Show Amazonka.EKS.Types.ConnectorConfigRequest.ConnectorConfigRequest
instance GHC.Read.Read Amazonka.EKS.Types.ConnectorConfigRequest.ConnectorConfigRequest
instance GHC.Classes.Eq Amazonka.EKS.Types.ConnectorConfigRequest.ConnectorConfigRequest
instance Data.Hashable.Class.Hashable Amazonka.EKS.Types.ConnectorConfigRequest.ConnectorConfigRequest
instance Control.DeepSeq.NFData Amazonka.EKS.Types.ConnectorConfigRequest.ConnectorConfigRequest
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.EKS.Types.ConnectorConfigRequest.ConnectorConfigRequest
module Amazonka.EKS.Types.ConnectorConfigResponse
-- | The full description of your connected cluster.
--
-- See: newConnectorConfigResponse smart constructor.
data ConnectorConfigResponse
ConnectorConfigResponse' :: Maybe Text -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe Text -> ConnectorConfigResponse
-- | A unique code associated with the cluster for registration purposes.
[$sel:activationCode:ConnectorConfigResponse'] :: ConnectorConfigResponse -> Maybe Text
-- | The expiration time of the connected cluster. The cluster's YAML file
-- must be applied through the native provider.
[$sel:activationExpiry:ConnectorConfigResponse'] :: ConnectorConfigResponse -> Maybe POSIX
-- | A unique ID associated with the cluster for registration purposes.
[$sel:activationId:ConnectorConfigResponse'] :: ConnectorConfigResponse -> Maybe Text
-- | The cluster's cloud service provider.
[$sel:provider:ConnectorConfigResponse'] :: ConnectorConfigResponse -> Maybe Text
-- | The Amazon Resource Name (ARN) of the role to communicate with
-- services from the connected Kubernetes cluster.
[$sel:roleArn:ConnectorConfigResponse'] :: ConnectorConfigResponse -> Maybe Text
-- | Create a value of ConnectorConfigResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:activationCode:ConnectorConfigResponse',
-- connectorConfigResponse_activationCode - A unique code
-- associated with the cluster for registration purposes.
--
-- $sel:activationExpiry:ConnectorConfigResponse',
-- connectorConfigResponse_activationExpiry - The expiration time
-- of the connected cluster. The cluster's YAML file must be applied
-- through the native provider.
--
-- $sel:activationId:ConnectorConfigResponse',
-- connectorConfigResponse_activationId - A unique ID associated
-- with the cluster for registration purposes.
--
-- $sel:provider:ConnectorConfigResponse',
-- connectorConfigResponse_provider - The cluster's cloud service
-- provider.
--
-- $sel:roleArn:ConnectorConfigResponse',
-- connectorConfigResponse_roleArn - The Amazon Resource Name
-- (ARN) of the role to communicate with services from the connected
-- Kubernetes cluster.
newConnectorConfigResponse :: ConnectorConfigResponse
-- | A unique code associated with the cluster for registration purposes.
connectorConfigResponse_activationCode :: Lens' ConnectorConfigResponse (Maybe Text)
-- | The expiration time of the connected cluster. The cluster's YAML file
-- must be applied through the native provider.
connectorConfigResponse_activationExpiry :: Lens' ConnectorConfigResponse (Maybe UTCTime)
-- | A unique ID associated with the cluster for registration purposes.
connectorConfigResponse_activationId :: Lens' ConnectorConfigResponse (Maybe Text)
-- | The cluster's cloud service provider.
connectorConfigResponse_provider :: Lens' ConnectorConfigResponse (Maybe Text)
-- | The Amazon Resource Name (ARN) of the role to communicate with
-- services from the connected Kubernetes cluster.
connectorConfigResponse_roleArn :: Lens' ConnectorConfigResponse (Maybe Text)
instance GHC.Generics.Generic Amazonka.EKS.Types.ConnectorConfigResponse.ConnectorConfigResponse
instance GHC.Show.Show Amazonka.EKS.Types.ConnectorConfigResponse.ConnectorConfigResponse
instance GHC.Read.Read Amazonka.EKS.Types.ConnectorConfigResponse.ConnectorConfigResponse
instance GHC.Classes.Eq Amazonka.EKS.Types.ConnectorConfigResponse.ConnectorConfigResponse
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.EKS.Types.ConnectorConfigResponse.ConnectorConfigResponse
instance Data.Hashable.Class.Hashable Amazonka.EKS.Types.ConnectorConfigResponse.ConnectorConfigResponse
instance Control.DeepSeq.NFData Amazonka.EKS.Types.ConnectorConfigResponse.ConnectorConfigResponse
module Amazonka.EKS.Types.ControlPlanePlacementRequest
-- | The placement configuration for all the control plane instances of
-- your local Amazon EKS cluster on an Amazon Web Services Outpost. For
-- more information, see Capacity considerations in the Amazon
-- EKS User Guide
--
-- See: newControlPlanePlacementRequest smart constructor.
data ControlPlanePlacementRequest
ControlPlanePlacementRequest' :: Maybe Text -> ControlPlanePlacementRequest
-- | The name of the placement group for the Kubernetes control plane
-- instances. This setting can't be changed after cluster creation.
[$sel:groupName:ControlPlanePlacementRequest'] :: ControlPlanePlacementRequest -> Maybe Text
-- | Create a value of ControlPlanePlacementRequest with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:groupName:ControlPlanePlacementRequest',
-- controlPlanePlacementRequest_groupName - The name of the
-- placement group for the Kubernetes control plane instances. This
-- setting can't be changed after cluster creation.
newControlPlanePlacementRequest :: ControlPlanePlacementRequest
-- | The name of the placement group for the Kubernetes control plane
-- instances. This setting can't be changed after cluster creation.
controlPlanePlacementRequest_groupName :: Lens' ControlPlanePlacementRequest (Maybe Text)
instance GHC.Generics.Generic Amazonka.EKS.Types.ControlPlanePlacementRequest.ControlPlanePlacementRequest
instance GHC.Show.Show Amazonka.EKS.Types.ControlPlanePlacementRequest.ControlPlanePlacementRequest
instance GHC.Read.Read Amazonka.EKS.Types.ControlPlanePlacementRequest.ControlPlanePlacementRequest
instance GHC.Classes.Eq Amazonka.EKS.Types.ControlPlanePlacementRequest.ControlPlanePlacementRequest
instance Data.Hashable.Class.Hashable Amazonka.EKS.Types.ControlPlanePlacementRequest.ControlPlanePlacementRequest
instance Control.DeepSeq.NFData Amazonka.EKS.Types.ControlPlanePlacementRequest.ControlPlanePlacementRequest
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.EKS.Types.ControlPlanePlacementRequest.ControlPlanePlacementRequest
module Amazonka.EKS.Types.ControlPlanePlacementResponse
-- | The placement configuration for all the control plane instances of
-- your local Amazon EKS cluster on an Amazon Web Services Outpost. For
-- more information, see Capacity considerations in the Amazon
-- EKS User Guide.
--
-- See: newControlPlanePlacementResponse smart constructor.
data ControlPlanePlacementResponse
ControlPlanePlacementResponse' :: Maybe Text -> ControlPlanePlacementResponse
-- | The name of the placement group for the Kubernetes control plane
-- instances.
[$sel:groupName:ControlPlanePlacementResponse'] :: ControlPlanePlacementResponse -> Maybe Text
-- | Create a value of ControlPlanePlacementResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:groupName:ControlPlanePlacementResponse',
-- controlPlanePlacementResponse_groupName - The name of the
-- placement group for the Kubernetes control plane instances.
newControlPlanePlacementResponse :: ControlPlanePlacementResponse
-- | The name of the placement group for the Kubernetes control plane
-- instances.
controlPlanePlacementResponse_groupName :: Lens' ControlPlanePlacementResponse (Maybe Text)
instance GHC.Generics.Generic Amazonka.EKS.Types.ControlPlanePlacementResponse.ControlPlanePlacementResponse
instance GHC.Show.Show Amazonka.EKS.Types.ControlPlanePlacementResponse.ControlPlanePlacementResponse
instance GHC.Read.Read Amazonka.EKS.Types.ControlPlanePlacementResponse.ControlPlanePlacementResponse
instance GHC.Classes.Eq Amazonka.EKS.Types.ControlPlanePlacementResponse.ControlPlanePlacementResponse
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.EKS.Types.ControlPlanePlacementResponse.ControlPlanePlacementResponse
instance Data.Hashable.Class.Hashable Amazonka.EKS.Types.ControlPlanePlacementResponse.ControlPlanePlacementResponse
instance Control.DeepSeq.NFData Amazonka.EKS.Types.ControlPlanePlacementResponse.ControlPlanePlacementResponse
module Amazonka.EKS.Types.EKSErrorCode
newtype EKSErrorCode
EKSErrorCode' :: Text -> EKSErrorCode
[fromEKSErrorCode] :: EKSErrorCode -> Text
pattern EKSErrorCode_AccessDenied :: EKSErrorCode
pattern EKSErrorCode_AdmissionRequestDenied :: EKSErrorCode
pattern EKSErrorCode_ClusterUnreachable :: EKSErrorCode
pattern EKSErrorCode_ConfigurationConflict :: EKSErrorCode
pattern EKSErrorCode_EniLimitReached :: EKSErrorCode
pattern EKSErrorCode_InsufficientFreeAddresses :: EKSErrorCode
pattern EKSErrorCode_InsufficientNumberOfReplicas :: EKSErrorCode
pattern EKSErrorCode_IpNotAvailable :: EKSErrorCode
pattern EKSErrorCode_K8sResourceNotFound :: EKSErrorCode
pattern EKSErrorCode_NodeCreationFailure :: EKSErrorCode
pattern EKSErrorCode_OperationNotPermitted :: EKSErrorCode
pattern EKSErrorCode_PodEvictionFailure :: EKSErrorCode
pattern EKSErrorCode_SecurityGroupNotFound :: EKSErrorCode
pattern EKSErrorCode_SubnetNotFound :: EKSErrorCode
pattern EKSErrorCode_Unknown :: EKSErrorCode
pattern EKSErrorCode_UnsupportedAddonModification :: EKSErrorCode
pattern EKSErrorCode_VpcIdNotFound :: EKSErrorCode
instance Amazonka.Data.XML.ToXML Amazonka.EKS.Types.EKSErrorCode.EKSErrorCode
instance Amazonka.Data.XML.FromXML Amazonka.EKS.Types.EKSErrorCode.EKSErrorCode
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.EKS.Types.EKSErrorCode.EKSErrorCode
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.EKS.Types.EKSErrorCode.EKSErrorCode
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.EKS.Types.EKSErrorCode.EKSErrorCode
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.EKS.Types.EKSErrorCode.EKSErrorCode
instance Amazonka.Data.Query.ToQuery Amazonka.EKS.Types.EKSErrorCode.EKSErrorCode
instance Amazonka.Data.Headers.ToHeader Amazonka.EKS.Types.EKSErrorCode.EKSErrorCode
instance Amazonka.Data.Log.ToLog Amazonka.EKS.Types.EKSErrorCode.EKSErrorCode
instance Amazonka.Data.ByteString.ToByteString Amazonka.EKS.Types.EKSErrorCode.EKSErrorCode
instance Amazonka.Data.Text.ToText Amazonka.EKS.Types.EKSErrorCode.EKSErrorCode
instance Amazonka.Data.Text.FromText Amazonka.EKS.Types.EKSErrorCode.EKSErrorCode
instance Control.DeepSeq.NFData Amazonka.EKS.Types.EKSErrorCode.EKSErrorCode
instance Data.Hashable.Class.Hashable Amazonka.EKS.Types.EKSErrorCode.EKSErrorCode
instance GHC.Generics.Generic Amazonka.EKS.Types.EKSErrorCode.EKSErrorCode
instance GHC.Classes.Ord Amazonka.EKS.Types.EKSErrorCode.EKSErrorCode
instance GHC.Classes.Eq Amazonka.EKS.Types.EKSErrorCode.EKSErrorCode
instance GHC.Read.Read Amazonka.EKS.Types.EKSErrorCode.EKSErrorCode
instance GHC.Show.Show Amazonka.EKS.Types.EKSErrorCode.EKSErrorCode
module Amazonka.EKS.Types.ErrorDetail
-- | An object representing an error when an asynchronous operation fails.
--
-- See: newErrorDetail smart constructor.
data ErrorDetail
ErrorDetail' :: Maybe EKSErrorCode -> Maybe Text -> Maybe [Text] -> ErrorDetail
-- | A brief description of the error.
--
--
-- - SubnetNotFound: We couldn't find one of the subnets
-- associated with the cluster.
-- - SecurityGroupNotFound: We couldn't find one of the security
-- groups associated with the cluster.
-- - EniLimitReached: You have reached the elastic network
-- interface limit for your account.
-- - IpNotAvailable: A subnet associated with the cluster
-- doesn't have any free IP addresses.
-- - AccessDenied: You don't have permissions to perform the
-- specified operation.
-- - OperationNotPermitted: The service role associated with the
-- cluster doesn't have the required access permissions for Amazon
-- EKS.
-- - VpcIdNotFound: We couldn't find the VPC associated with the
-- cluster.
--
[$sel:errorCode:ErrorDetail'] :: ErrorDetail -> Maybe EKSErrorCode
-- | A more complete description of the error.
[$sel:errorMessage:ErrorDetail'] :: ErrorDetail -> Maybe Text
-- | An optional field that contains the resource IDs associated with the
-- error.
[$sel:resourceIds:ErrorDetail'] :: ErrorDetail -> Maybe [Text]
-- | Create a value of ErrorDetail with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:errorCode:ErrorDetail', errorDetail_errorCode - A
-- brief description of the error.
--
--
-- - SubnetNotFound: We couldn't find one of the subnets
-- associated with the cluster.
-- - SecurityGroupNotFound: We couldn't find one of the security
-- groups associated with the cluster.
-- - EniLimitReached: You have reached the elastic network
-- interface limit for your account.
-- - IpNotAvailable: A subnet associated with the cluster
-- doesn't have any free IP addresses.
-- - AccessDenied: You don't have permissions to perform the
-- specified operation.
-- - OperationNotPermitted: The service role associated with the
-- cluster doesn't have the required access permissions for Amazon
-- EKS.
-- - VpcIdNotFound: We couldn't find the VPC associated with the
-- cluster.
--
--
-- $sel:errorMessage:ErrorDetail', errorDetail_errorMessage
-- - A more complete description of the error.
--
-- $sel:resourceIds:ErrorDetail', errorDetail_resourceIds -
-- An optional field that contains the resource IDs associated with the
-- error.
newErrorDetail :: ErrorDetail
-- | A brief description of the error.
--
--
-- - SubnetNotFound: We couldn't find one of the subnets
-- associated with the cluster.
-- - SecurityGroupNotFound: We couldn't find one of the security
-- groups associated with the cluster.
-- - EniLimitReached: You have reached the elastic network
-- interface limit for your account.
-- - IpNotAvailable: A subnet associated with the cluster
-- doesn't have any free IP addresses.
-- - AccessDenied: You don't have permissions to perform the
-- specified operation.
-- - OperationNotPermitted: The service role associated with the
-- cluster doesn't have the required access permissions for Amazon
-- EKS.
-- - VpcIdNotFound: We couldn't find the VPC associated with the
-- cluster.
--
errorDetail_errorCode :: Lens' ErrorDetail (Maybe EKSErrorCode)
-- | A more complete description of the error.
errorDetail_errorMessage :: Lens' ErrorDetail (Maybe Text)
-- | An optional field that contains the resource IDs associated with the
-- error.
errorDetail_resourceIds :: Lens' ErrorDetail (Maybe [Text])
instance GHC.Generics.Generic Amazonka.EKS.Types.ErrorDetail.ErrorDetail
instance GHC.Show.Show Amazonka.EKS.Types.ErrorDetail.ErrorDetail
instance GHC.Read.Read Amazonka.EKS.Types.ErrorDetail.ErrorDetail
instance GHC.Classes.Eq Amazonka.EKS.Types.ErrorDetail.ErrorDetail
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.EKS.Types.ErrorDetail.ErrorDetail
instance Data.Hashable.Class.Hashable Amazonka.EKS.Types.ErrorDetail.ErrorDetail
instance Control.DeepSeq.NFData Amazonka.EKS.Types.ErrorDetail.ErrorDetail
module Amazonka.EKS.Types.FargateProfileSelector
-- | An object representing an Fargate profile selector.
--
-- See: newFargateProfileSelector smart constructor.
data FargateProfileSelector
FargateProfileSelector' :: Maybe (HashMap Text Text) -> Maybe Text -> FargateProfileSelector
-- | The Kubernetes labels that the selector should match. A pod must
-- contain all of the labels that are specified in the selector for it to
-- be considered a match.
[$sel:labels:FargateProfileSelector'] :: FargateProfileSelector -> Maybe (HashMap Text Text)
-- | The Kubernetes namespace that the selector should match.
[$sel:namespace:FargateProfileSelector'] :: FargateProfileSelector -> Maybe Text
-- | Create a value of FargateProfileSelector with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:labels:FargateProfileSelector',
-- fargateProfileSelector_labels - The Kubernetes labels that the
-- selector should match. A pod must contain all of the labels that are
-- specified in the selector for it to be considered a match.
--
-- $sel:namespace:FargateProfileSelector',
-- fargateProfileSelector_namespace - The Kubernetes namespace
-- that the selector should match.
newFargateProfileSelector :: FargateProfileSelector
-- | The Kubernetes labels that the selector should match. A pod must
-- contain all of the labels that are specified in the selector for it to
-- be considered a match.
fargateProfileSelector_labels :: Lens' FargateProfileSelector (Maybe (HashMap Text Text))
-- | The Kubernetes namespace that the selector should match.
fargateProfileSelector_namespace :: Lens' FargateProfileSelector (Maybe Text)
instance GHC.Generics.Generic Amazonka.EKS.Types.FargateProfileSelector.FargateProfileSelector
instance GHC.Show.Show Amazonka.EKS.Types.FargateProfileSelector.FargateProfileSelector
instance GHC.Read.Read Amazonka.EKS.Types.FargateProfileSelector.FargateProfileSelector
instance GHC.Classes.Eq Amazonka.EKS.Types.FargateProfileSelector.FargateProfileSelector
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.EKS.Types.FargateProfileSelector.FargateProfileSelector
instance Data.Hashable.Class.Hashable Amazonka.EKS.Types.FargateProfileSelector.FargateProfileSelector
instance Control.DeepSeq.NFData Amazonka.EKS.Types.FargateProfileSelector.FargateProfileSelector
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.EKS.Types.FargateProfileSelector.FargateProfileSelector
module Amazonka.EKS.Types.FargateProfileStatus
newtype FargateProfileStatus
FargateProfileStatus' :: Text -> FargateProfileStatus
[fromFargateProfileStatus] :: FargateProfileStatus -> Text
pattern FargateProfileStatus_ACTIVE :: FargateProfileStatus
pattern FargateProfileStatus_CREATE_FAILED :: FargateProfileStatus
pattern FargateProfileStatus_CREATING :: FargateProfileStatus
pattern FargateProfileStatus_DELETE_FAILED :: FargateProfileStatus
pattern FargateProfileStatus_DELETING :: FargateProfileStatus
instance Amazonka.Data.XML.ToXML Amazonka.EKS.Types.FargateProfileStatus.FargateProfileStatus
instance Amazonka.Data.XML.FromXML Amazonka.EKS.Types.FargateProfileStatus.FargateProfileStatus
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.EKS.Types.FargateProfileStatus.FargateProfileStatus
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.EKS.Types.FargateProfileStatus.FargateProfileStatus
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.EKS.Types.FargateProfileStatus.FargateProfileStatus
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.EKS.Types.FargateProfileStatus.FargateProfileStatus
instance Amazonka.Data.Query.ToQuery Amazonka.EKS.Types.FargateProfileStatus.FargateProfileStatus
instance Amazonka.Data.Headers.ToHeader Amazonka.EKS.Types.FargateProfileStatus.FargateProfileStatus
instance Amazonka.Data.Log.ToLog Amazonka.EKS.Types.FargateProfileStatus.FargateProfileStatus
instance Amazonka.Data.ByteString.ToByteString Amazonka.EKS.Types.FargateProfileStatus.FargateProfileStatus
instance Amazonka.Data.Text.ToText Amazonka.EKS.Types.FargateProfileStatus.FargateProfileStatus
instance Amazonka.Data.Text.FromText Amazonka.EKS.Types.FargateProfileStatus.FargateProfileStatus
instance Control.DeepSeq.NFData Amazonka.EKS.Types.FargateProfileStatus.FargateProfileStatus
instance Data.Hashable.Class.Hashable Amazonka.EKS.Types.FargateProfileStatus.FargateProfileStatus
instance GHC.Generics.Generic Amazonka.EKS.Types.FargateProfileStatus.FargateProfileStatus
instance GHC.Classes.Ord Amazonka.EKS.Types.FargateProfileStatus.FargateProfileStatus
instance GHC.Classes.Eq Amazonka.EKS.Types.FargateProfileStatus.FargateProfileStatus
instance GHC.Read.Read Amazonka.EKS.Types.FargateProfileStatus.FargateProfileStatus
instance GHC.Show.Show Amazonka.EKS.Types.FargateProfileStatus.FargateProfileStatus
module Amazonka.EKS.Types.FargateProfile
-- | An object representing an Fargate profile.
--
-- See: newFargateProfile smart constructor.
data FargateProfile
FargateProfile' :: Maybe Text -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe [FargateProfileSelector] -> Maybe FargateProfileStatus -> Maybe [Text] -> Maybe (HashMap Text Text) -> FargateProfile
-- | The name of the Amazon EKS cluster that the Fargate profile belongs
-- to.
[$sel:clusterName:FargateProfile'] :: FargateProfile -> Maybe Text
-- | The Unix epoch timestamp in seconds for when the Fargate profile was
-- created.
[$sel:createdAt:FargateProfile'] :: FargateProfile -> Maybe POSIX
-- | The full Amazon Resource Name (ARN) of the Fargate profile.
[$sel:fargateProfileArn:FargateProfile'] :: FargateProfile -> Maybe Text
-- | The name of the Fargate profile.
[$sel:fargateProfileName:FargateProfile'] :: FargateProfile -> Maybe Text
-- | The Amazon Resource Name (ARN) of the pod execution role to use for
-- pods that match the selectors in the Fargate profile. For more
-- information, see Pod Execution Role in the Amazon EKS User
-- Guide.
[$sel:podExecutionRoleArn:FargateProfile'] :: FargateProfile -> Maybe Text
-- | The selectors to match for pods to use this Fargate profile.
[$sel:selectors:FargateProfile'] :: FargateProfile -> Maybe [FargateProfileSelector]
-- | The current status of the Fargate profile.
[$sel:status:FargateProfile'] :: FargateProfile -> Maybe FargateProfileStatus
-- | The IDs of subnets to launch pods into.
[$sel:subnets:FargateProfile'] :: FargateProfile -> Maybe [Text]
-- | The metadata applied to the Fargate profile to assist with
-- categorization and organization. Each tag consists of a key and an
-- optional value. You define both. Fargate profile tags do not propagate
-- to any other resources associated with the Fargate profile, such as
-- the pods that are scheduled with it.
[$sel:tags:FargateProfile'] :: FargateProfile -> Maybe (HashMap Text Text)
-- | Create a value of FargateProfile with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:clusterName:FargateProfile',
-- fargateProfile_clusterName - The name of the Amazon EKS cluster
-- that the Fargate profile belongs to.
--
-- $sel:createdAt:FargateProfile', fargateProfile_createdAt
-- - The Unix epoch timestamp in seconds for when the Fargate profile was
-- created.
--
-- $sel:fargateProfileArn:FargateProfile',
-- fargateProfile_fargateProfileArn - The full Amazon Resource
-- Name (ARN) of the Fargate profile.
--
-- $sel:fargateProfileName:FargateProfile',
-- fargateProfile_fargateProfileName - The name of the Fargate
-- profile.
--
-- $sel:podExecutionRoleArn:FargateProfile',
-- fargateProfile_podExecutionRoleArn - The Amazon Resource Name
-- (ARN) of the pod execution role to use for pods that match the
-- selectors in the Fargate profile. For more information, see Pod
-- Execution Role in the Amazon EKS User Guide.
--
-- $sel:selectors:FargateProfile', fargateProfile_selectors
-- - The selectors to match for pods to use this Fargate profile.
--
-- $sel:status:FargateProfile', fargateProfile_status - The
-- current status of the Fargate profile.
--
-- $sel:subnets:FargateProfile', fargateProfile_subnets -
-- The IDs of subnets to launch pods into.
--
-- $sel:tags:FargateProfile', fargateProfile_tags - The
-- metadata applied to the Fargate profile to assist with categorization
-- and organization. Each tag consists of a key and an optional value.
-- You define both. Fargate profile tags do not propagate to any other
-- resources associated with the Fargate profile, such as the pods that
-- are scheduled with it.
newFargateProfile :: FargateProfile
-- | The name of the Amazon EKS cluster that the Fargate profile belongs
-- to.
fargateProfile_clusterName :: Lens' FargateProfile (Maybe Text)
-- | The Unix epoch timestamp in seconds for when the Fargate profile was
-- created.
fargateProfile_createdAt :: Lens' FargateProfile (Maybe UTCTime)
-- | The full Amazon Resource Name (ARN) of the Fargate profile.
fargateProfile_fargateProfileArn :: Lens' FargateProfile (Maybe Text)
-- | The name of the Fargate profile.
fargateProfile_fargateProfileName :: Lens' FargateProfile (Maybe Text)
-- | The Amazon Resource Name (ARN) of the pod execution role to use for
-- pods that match the selectors in the Fargate profile. For more
-- information, see Pod Execution Role in the Amazon EKS User
-- Guide.
fargateProfile_podExecutionRoleArn :: Lens' FargateProfile (Maybe Text)
-- | The selectors to match for pods to use this Fargate profile.
fargateProfile_selectors :: Lens' FargateProfile (Maybe [FargateProfileSelector])
-- | The current status of the Fargate profile.
fargateProfile_status :: Lens' FargateProfile (Maybe FargateProfileStatus)
-- | The IDs of subnets to launch pods into.
fargateProfile_subnets :: Lens' FargateProfile (Maybe [Text])
-- | The metadata applied to the Fargate profile to assist with
-- categorization and organization. Each tag consists of a key and an
-- optional value. You define both. Fargate profile tags do not propagate
-- to any other resources associated with the Fargate profile, such as
-- the pods that are scheduled with it.
fargateProfile_tags :: Lens' FargateProfile (Maybe (HashMap Text Text))
instance GHC.Generics.Generic Amazonka.EKS.Types.FargateProfile.FargateProfile
instance GHC.Show.Show Amazonka.EKS.Types.FargateProfile.FargateProfile
instance GHC.Read.Read Amazonka.EKS.Types.FargateProfile.FargateProfile
instance GHC.Classes.Eq Amazonka.EKS.Types.FargateProfile.FargateProfile
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.EKS.Types.FargateProfile.FargateProfile
instance Data.Hashable.Class.Hashable Amazonka.EKS.Types.FargateProfile.FargateProfile
instance Control.DeepSeq.NFData Amazonka.EKS.Types.FargateProfile.FargateProfile
module Amazonka.EKS.Types.IdentityProviderConfig
-- | An object representing an identity provider configuration.
--
-- See: newIdentityProviderConfig smart constructor.
data IdentityProviderConfig
IdentityProviderConfig' :: Text -> Text -> IdentityProviderConfig
-- | The type of the identity provider configuration. The only type
-- available is oidc.
[$sel:type':IdentityProviderConfig'] :: IdentityProviderConfig -> Text
-- | The name of the identity provider configuration.
[$sel:name:IdentityProviderConfig'] :: IdentityProviderConfig -> Text
-- | Create a value of IdentityProviderConfig with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:type':IdentityProviderConfig',
-- identityProviderConfig_type - The type of the identity provider
-- configuration. The only type available is oidc.
--
-- $sel:name:IdentityProviderConfig',
-- identityProviderConfig_name - The name of the identity provider
-- configuration.
newIdentityProviderConfig :: Text -> Text -> IdentityProviderConfig
-- | The type of the identity provider configuration. The only type
-- available is oidc.
identityProviderConfig_type :: Lens' IdentityProviderConfig Text
-- | The name of the identity provider configuration.
identityProviderConfig_name :: Lens' IdentityProviderConfig Text
instance GHC.Generics.Generic Amazonka.EKS.Types.IdentityProviderConfig.IdentityProviderConfig
instance GHC.Show.Show Amazonka.EKS.Types.IdentityProviderConfig.IdentityProviderConfig
instance GHC.Read.Read Amazonka.EKS.Types.IdentityProviderConfig.IdentityProviderConfig
instance GHC.Classes.Eq Amazonka.EKS.Types.IdentityProviderConfig.IdentityProviderConfig
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.EKS.Types.IdentityProviderConfig.IdentityProviderConfig
instance Data.Hashable.Class.Hashable Amazonka.EKS.Types.IdentityProviderConfig.IdentityProviderConfig
instance Control.DeepSeq.NFData Amazonka.EKS.Types.IdentityProviderConfig.IdentityProviderConfig
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.EKS.Types.IdentityProviderConfig.IdentityProviderConfig
module Amazonka.EKS.Types.IpFamily
newtype IpFamily
IpFamily' :: Text -> IpFamily
[fromIpFamily] :: IpFamily -> Text
pattern IpFamily_Ipv4 :: IpFamily
pattern IpFamily_Ipv6 :: IpFamily
instance Amazonka.Data.XML.ToXML Amazonka.EKS.Types.IpFamily.IpFamily
instance Amazonka.Data.XML.FromXML Amazonka.EKS.Types.IpFamily.IpFamily
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.EKS.Types.IpFamily.IpFamily
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.EKS.Types.IpFamily.IpFamily
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.EKS.Types.IpFamily.IpFamily
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.EKS.Types.IpFamily.IpFamily
instance Amazonka.Data.Query.ToQuery Amazonka.EKS.Types.IpFamily.IpFamily
instance Amazonka.Data.Headers.ToHeader Amazonka.EKS.Types.IpFamily.IpFamily
instance Amazonka.Data.Log.ToLog Amazonka.EKS.Types.IpFamily.IpFamily
instance Amazonka.Data.ByteString.ToByteString Amazonka.EKS.Types.IpFamily.IpFamily
instance Amazonka.Data.Text.ToText Amazonka.EKS.Types.IpFamily.IpFamily
instance Amazonka.Data.Text.FromText Amazonka.EKS.Types.IpFamily.IpFamily
instance Control.DeepSeq.NFData Amazonka.EKS.Types.IpFamily.IpFamily
instance Data.Hashable.Class.Hashable Amazonka.EKS.Types.IpFamily.IpFamily
instance GHC.Generics.Generic Amazonka.EKS.Types.IpFamily.IpFamily
instance GHC.Classes.Ord Amazonka.EKS.Types.IpFamily.IpFamily
instance GHC.Classes.Eq Amazonka.EKS.Types.IpFamily.IpFamily
instance GHC.Read.Read Amazonka.EKS.Types.IpFamily.IpFamily
instance GHC.Show.Show Amazonka.EKS.Types.IpFamily.IpFamily
module Amazonka.EKS.Types.KubernetesNetworkConfigRequest
-- | The Kubernetes network configuration for the cluster.
--
-- See: newKubernetesNetworkConfigRequest smart
-- constructor.
data KubernetesNetworkConfigRequest
KubernetesNetworkConfigRequest' :: Maybe IpFamily -> Maybe Text -> KubernetesNetworkConfigRequest
-- | Specify which IP family is used to assign Kubernetes pod and service
-- IP addresses. If you don't specify a value, ipv4 is used by
-- default. You can only specify an IP family when you create a cluster
-- and can't change this value once the cluster is created. If you
-- specify ipv6, the VPC and subnets that you specify for
-- cluster creation must have both IPv4 and IPv6 CIDR
-- blocks assigned to them. You can't specify ipv6 for clusters
-- in China Regions.
--
-- You can only specify ipv6 for 1.21 and later
-- clusters that use version 1.10.1 or later of the Amazon VPC
-- CNI add-on. If you specify ipv6, then ensure that your VPC
-- meets the requirements listed in the considerations listed in
-- Assigning IPv6 addresses to pods and services in the Amazon EKS
-- User Guide. Kubernetes assigns services IPv6 addresses from
-- the unique local address range (fc00::/7). You can't specify
-- a custom IPv6 CIDR block. Pod addresses are assigned from the
-- subnet's IPv6 CIDR.
[$sel:ipFamily:KubernetesNetworkConfigRequest'] :: KubernetesNetworkConfigRequest -> Maybe IpFamily
-- | Don't specify a value if you select ipv6 for ipFamily.
-- The CIDR block to assign Kubernetes service IP addresses from. If you
-- don't specify a block, Kubernetes assigns addresses from either the
-- 10.100.0.0/16 or 172.20.0.0/16 CIDR blocks. We
-- recommend that you specify a block that does not overlap with
-- resources in other networks that are peered or connected to your VPC.
-- The block must meet the following requirements:
--
--
-- - Within one of the following private IP address blocks:
-- 10.0.0.0/8, 172.16.0.0/12, or
-- 192.168.0.0/16.
-- - Doesn't overlap with any CIDR block assigned to the VPC that you
-- selected for VPC.
-- - Between /24 and /12.
--
--
-- You can only specify a custom CIDR block when you create a cluster and
-- can't change this value once the cluster is created.
[$sel:serviceIpv4Cidr:KubernetesNetworkConfigRequest'] :: KubernetesNetworkConfigRequest -> Maybe Text
-- | Create a value of KubernetesNetworkConfigRequest with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:ipFamily:KubernetesNetworkConfigRequest',
-- kubernetesNetworkConfigRequest_ipFamily - Specify which IP
-- family is used to assign Kubernetes pod and service IP addresses. If
-- you don't specify a value, ipv4 is used by default. You can
-- only specify an IP family when you create a cluster and can't change
-- this value once the cluster is created. If you specify ipv6,
-- the VPC and subnets that you specify for cluster creation must have
-- both IPv4 and IPv6 CIDR blocks assigned to them. You
-- can't specify ipv6 for clusters in China Regions.
--
-- You can only specify ipv6 for 1.21 and later
-- clusters that use version 1.10.1 or later of the Amazon VPC
-- CNI add-on. If you specify ipv6, then ensure that your VPC
-- meets the requirements listed in the considerations listed in
-- Assigning IPv6 addresses to pods and services in the Amazon EKS
-- User Guide. Kubernetes assigns services IPv6 addresses from
-- the unique local address range (fc00::/7). You can't specify
-- a custom IPv6 CIDR block. Pod addresses are assigned from the
-- subnet's IPv6 CIDR.
--
-- $sel:serviceIpv4Cidr:KubernetesNetworkConfigRequest',
-- kubernetesNetworkConfigRequest_serviceIpv4Cidr - Don't specify
-- a value if you select ipv6 for ipFamily. The CIDR
-- block to assign Kubernetes service IP addresses from. If you don't
-- specify a block, Kubernetes assigns addresses from either the
-- 10.100.0.0/16 or 172.20.0.0/16 CIDR blocks. We
-- recommend that you specify a block that does not overlap with
-- resources in other networks that are peered or connected to your VPC.
-- The block must meet the following requirements:
--
--
-- - Within one of the following private IP address blocks:
-- 10.0.0.0/8, 172.16.0.0/12, or
-- 192.168.0.0/16.
-- - Doesn't overlap with any CIDR block assigned to the VPC that you
-- selected for VPC.
-- - Between /24 and /12.
--
--
-- You can only specify a custom CIDR block when you create a cluster and
-- can't change this value once the cluster is created.
newKubernetesNetworkConfigRequest :: KubernetesNetworkConfigRequest
-- | Specify which IP family is used to assign Kubernetes pod and service
-- IP addresses. If you don't specify a value, ipv4 is used by
-- default. You can only specify an IP family when you create a cluster
-- and can't change this value once the cluster is created. If you
-- specify ipv6, the VPC and subnets that you specify for
-- cluster creation must have both IPv4 and IPv6 CIDR
-- blocks assigned to them. You can't specify ipv6 for clusters
-- in China Regions.
--
-- You can only specify ipv6 for 1.21 and later
-- clusters that use version 1.10.1 or later of the Amazon VPC
-- CNI add-on. If you specify ipv6, then ensure that your VPC
-- meets the requirements listed in the considerations listed in
-- Assigning IPv6 addresses to pods and services in the Amazon EKS
-- User Guide. Kubernetes assigns services IPv6 addresses from
-- the unique local address range (fc00::/7). You can't specify
-- a custom IPv6 CIDR block. Pod addresses are assigned from the
-- subnet's IPv6 CIDR.
kubernetesNetworkConfigRequest_ipFamily :: Lens' KubernetesNetworkConfigRequest (Maybe IpFamily)
-- | Don't specify a value if you select ipv6 for ipFamily.
-- The CIDR block to assign Kubernetes service IP addresses from. If you
-- don't specify a block, Kubernetes assigns addresses from either the
-- 10.100.0.0/16 or 172.20.0.0/16 CIDR blocks. We
-- recommend that you specify a block that does not overlap with
-- resources in other networks that are peered or connected to your VPC.
-- The block must meet the following requirements:
--
--
-- - Within one of the following private IP address blocks:
-- 10.0.0.0/8, 172.16.0.0/12, or
-- 192.168.0.0/16.
-- - Doesn't overlap with any CIDR block assigned to the VPC that you
-- selected for VPC.
-- - Between /24 and /12.
--
--
-- You can only specify a custom CIDR block when you create a cluster and
-- can't change this value once the cluster is created.
kubernetesNetworkConfigRequest_serviceIpv4Cidr :: Lens' KubernetesNetworkConfigRequest (Maybe Text)
instance GHC.Generics.Generic Amazonka.EKS.Types.KubernetesNetworkConfigRequest.KubernetesNetworkConfigRequest
instance GHC.Show.Show Amazonka.EKS.Types.KubernetesNetworkConfigRequest.KubernetesNetworkConfigRequest
instance GHC.Read.Read Amazonka.EKS.Types.KubernetesNetworkConfigRequest.KubernetesNetworkConfigRequest
instance GHC.Classes.Eq Amazonka.EKS.Types.KubernetesNetworkConfigRequest.KubernetesNetworkConfigRequest
instance Data.Hashable.Class.Hashable Amazonka.EKS.Types.KubernetesNetworkConfigRequest.KubernetesNetworkConfigRequest
instance Control.DeepSeq.NFData Amazonka.EKS.Types.KubernetesNetworkConfigRequest.KubernetesNetworkConfigRequest
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.EKS.Types.KubernetesNetworkConfigRequest.KubernetesNetworkConfigRequest
module Amazonka.EKS.Types.KubernetesNetworkConfigResponse
-- | The Kubernetes network configuration for the cluster. The response
-- contains a value for serviceIpv6Cidr or serviceIpv4Cidr,
-- but not both.
--
-- See: newKubernetesNetworkConfigResponse smart
-- constructor.
data KubernetesNetworkConfigResponse
KubernetesNetworkConfigResponse' :: Maybe IpFamily -> Maybe Text -> Maybe Text -> KubernetesNetworkConfigResponse
-- | The IP family used to assign Kubernetes pod and service IP addresses.
-- The IP family is always ipv4, unless you have a 1.21
-- or later cluster running version 1.10.1 or later of the Amazon VPC CNI
-- add-on and specified ipv6 when you created the cluster.
[$sel:ipFamily:KubernetesNetworkConfigResponse'] :: KubernetesNetworkConfigResponse -> Maybe IpFamily
-- | The CIDR block that Kubernetes pod and service IP addresses are
-- assigned from. Kubernetes assigns addresses from an IPv4 CIDR block
-- assigned to a subnet that the node is in. If you didn't specify a CIDR
-- block when you created the cluster, then Kubernetes assigns addresses
-- from either the 10.100.0.0/16 or 172.20.0.0/16 CIDR
-- blocks. If this was specified, then it was specified when the cluster
-- was created and it can't be changed.
[$sel:serviceIpv4Cidr:KubernetesNetworkConfigResponse'] :: KubernetesNetworkConfigResponse -> Maybe Text
-- | The CIDR block that Kubernetes pod and service IP addresses are
-- assigned from if you created a 1.21 or later cluster with version
-- 1.10.1 or later of the Amazon VPC CNI add-on and specified
-- ipv6 for ipFamily when you created the cluster.
-- Kubernetes assigns service addresses from the unique local address
-- range (fc00::/7) because you can't specify a custom IPv6 CIDR
-- block when you create the cluster.
[$sel:serviceIpv6Cidr:KubernetesNetworkConfigResponse'] :: KubernetesNetworkConfigResponse -> Maybe Text
-- | Create a value of KubernetesNetworkConfigResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:ipFamily:KubernetesNetworkConfigResponse',
-- kubernetesNetworkConfigResponse_ipFamily - The IP family used
-- to assign Kubernetes pod and service IP addresses. The IP family is
-- always ipv4, unless you have a 1.21 or later cluster
-- running version 1.10.1 or later of the Amazon VPC CNI add-on and
-- specified ipv6 when you created the cluster.
--
-- $sel:serviceIpv4Cidr:KubernetesNetworkConfigResponse',
-- kubernetesNetworkConfigResponse_serviceIpv4Cidr - The CIDR
-- block that Kubernetes pod and service IP addresses are assigned from.
-- Kubernetes assigns addresses from an IPv4 CIDR block assigned to a
-- subnet that the node is in. If you didn't specify a CIDR block when
-- you created the cluster, then Kubernetes assigns addresses from either
-- the 10.100.0.0/16 or 172.20.0.0/16 CIDR blocks. If
-- this was specified, then it was specified when the cluster was created
-- and it can't be changed.
--
-- $sel:serviceIpv6Cidr:KubernetesNetworkConfigResponse',
-- kubernetesNetworkConfigResponse_serviceIpv6Cidr - The CIDR
-- block that Kubernetes pod and service IP addresses are assigned from
-- if you created a 1.21 or later cluster with version 1.10.1 or later of
-- the Amazon VPC CNI add-on and specified ipv6 for
-- ipFamily when you created the cluster. Kubernetes assigns
-- service addresses from the unique local address range
-- (fc00::/7) because you can't specify a custom IPv6 CIDR block
-- when you create the cluster.
newKubernetesNetworkConfigResponse :: KubernetesNetworkConfigResponse
-- | The IP family used to assign Kubernetes pod and service IP addresses.
-- The IP family is always ipv4, unless you have a 1.21
-- or later cluster running version 1.10.1 or later of the Amazon VPC CNI
-- add-on and specified ipv6 when you created the cluster.
kubernetesNetworkConfigResponse_ipFamily :: Lens' KubernetesNetworkConfigResponse (Maybe IpFamily)
-- | The CIDR block that Kubernetes pod and service IP addresses are
-- assigned from. Kubernetes assigns addresses from an IPv4 CIDR block
-- assigned to a subnet that the node is in. If you didn't specify a CIDR
-- block when you created the cluster, then Kubernetes assigns addresses
-- from either the 10.100.0.0/16 or 172.20.0.0/16 CIDR
-- blocks. If this was specified, then it was specified when the cluster
-- was created and it can't be changed.
kubernetesNetworkConfigResponse_serviceIpv4Cidr :: Lens' KubernetesNetworkConfigResponse (Maybe Text)
-- | The CIDR block that Kubernetes pod and service IP addresses are
-- assigned from if you created a 1.21 or later cluster with version
-- 1.10.1 or later of the Amazon VPC CNI add-on and specified
-- ipv6 for ipFamily when you created the cluster.
-- Kubernetes assigns service addresses from the unique local address
-- range (fc00::/7) because you can't specify a custom IPv6 CIDR
-- block when you create the cluster.
kubernetesNetworkConfigResponse_serviceIpv6Cidr :: Lens' KubernetesNetworkConfigResponse (Maybe Text)
instance GHC.Generics.Generic Amazonka.EKS.Types.KubernetesNetworkConfigResponse.KubernetesNetworkConfigResponse
instance GHC.Show.Show Amazonka.EKS.Types.KubernetesNetworkConfigResponse.KubernetesNetworkConfigResponse
instance GHC.Read.Read Amazonka.EKS.Types.KubernetesNetworkConfigResponse.KubernetesNetworkConfigResponse
instance GHC.Classes.Eq Amazonka.EKS.Types.KubernetesNetworkConfigResponse.KubernetesNetworkConfigResponse
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.EKS.Types.KubernetesNetworkConfigResponse.KubernetesNetworkConfigResponse
instance Data.Hashable.Class.Hashable Amazonka.EKS.Types.KubernetesNetworkConfigResponse.KubernetesNetworkConfigResponse
instance Control.DeepSeq.NFData Amazonka.EKS.Types.KubernetesNetworkConfigResponse.KubernetesNetworkConfigResponse
module Amazonka.EKS.Types.LaunchTemplateSpecification
-- | An object representing a node group launch template specification. The
-- launch template can't include SubnetId ,
-- IamInstanceProfile , RequestSpotInstances ,
-- HibernationOptions , or TerminateInstances , or the node
-- group deployment or update will fail. For more information about
-- launch templates, see CreateLaunchTemplate in the Amazon EC2
-- API Reference. For more information about using launch templates with
-- Amazon EKS, see Launch template support in the Amazon EKS
-- User Guide.
--
-- You must specify either the launch template ID or the launch template
-- name in the request, but not both.
--
-- See: newLaunchTemplateSpecification smart constructor.
data LaunchTemplateSpecification
LaunchTemplateSpecification' :: Maybe Text -> Maybe Text -> Maybe Text -> LaunchTemplateSpecification
-- | The ID of the launch template.
--
-- You must specify either the launch template ID or the launch template
-- name in the request, but not both.
[$sel:id:LaunchTemplateSpecification'] :: LaunchTemplateSpecification -> Maybe Text
-- | The name of the launch template.
--
-- You must specify either the launch template name or the launch
-- template ID in the request, but not both.
[$sel:name:LaunchTemplateSpecification'] :: LaunchTemplateSpecification -> Maybe Text
-- | The version number of the launch template to use. If no version is
-- specified, then the template's default version is used.
[$sel:version:LaunchTemplateSpecification'] :: LaunchTemplateSpecification -> Maybe Text
-- | Create a value of LaunchTemplateSpecification with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:id:LaunchTemplateSpecification',
-- launchTemplateSpecification_id - The ID of the launch template.
--
-- You must specify either the launch template ID or the launch template
-- name in the request, but not both.
--
-- $sel:name:LaunchTemplateSpecification',
-- launchTemplateSpecification_name - The name of the launch
-- template.
--
-- You must specify either the launch template name or the launch
-- template ID in the request, but not both.
--
-- $sel:version:LaunchTemplateSpecification',
-- launchTemplateSpecification_version - The version number of the
-- launch template to use. If no version is specified, then the
-- template's default version is used.
newLaunchTemplateSpecification :: LaunchTemplateSpecification
-- | The ID of the launch template.
--
-- You must specify either the launch template ID or the launch template
-- name in the request, but not both.
launchTemplateSpecification_id :: Lens' LaunchTemplateSpecification (Maybe Text)
-- | The name of the launch template.
--
-- You must specify either the launch template name or the launch
-- template ID in the request, but not both.
launchTemplateSpecification_name :: Lens' LaunchTemplateSpecification (Maybe Text)
-- | The version number of the launch template to use. If no version is
-- specified, then the template's default version is used.
launchTemplateSpecification_version :: Lens' LaunchTemplateSpecification (Maybe Text)
instance GHC.Generics.Generic Amazonka.EKS.Types.LaunchTemplateSpecification.LaunchTemplateSpecification
instance GHC.Show.Show Amazonka.EKS.Types.LaunchTemplateSpecification.LaunchTemplateSpecification
instance GHC.Read.Read Amazonka.EKS.Types.LaunchTemplateSpecification.LaunchTemplateSpecification
instance GHC.Classes.Eq Amazonka.EKS.Types.LaunchTemplateSpecification.LaunchTemplateSpecification
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.EKS.Types.LaunchTemplateSpecification.LaunchTemplateSpecification
instance Data.Hashable.Class.Hashable Amazonka.EKS.Types.LaunchTemplateSpecification.LaunchTemplateSpecification
instance Control.DeepSeq.NFData Amazonka.EKS.Types.LaunchTemplateSpecification.LaunchTemplateSpecification
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.EKS.Types.LaunchTemplateSpecification.LaunchTemplateSpecification
module Amazonka.EKS.Types.LogType
newtype LogType
LogType' :: Text -> LogType
[fromLogType] :: LogType -> Text
pattern LogType_Api :: LogType
pattern LogType_Audit :: LogType
pattern LogType_Authenticator :: LogType
pattern LogType_ControllerManager :: LogType
pattern LogType_Scheduler :: LogType
instance Amazonka.Data.XML.ToXML Amazonka.EKS.Types.LogType.LogType
instance Amazonka.Data.XML.FromXML Amazonka.EKS.Types.LogType.LogType
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.EKS.Types.LogType.LogType
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.EKS.Types.LogType.LogType
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.EKS.Types.LogType.LogType
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.EKS.Types.LogType.LogType
instance Amazonka.Data.Query.ToQuery Amazonka.EKS.Types.LogType.LogType
instance Amazonka.Data.Headers.ToHeader Amazonka.EKS.Types.LogType.LogType
instance Amazonka.Data.Log.ToLog Amazonka.EKS.Types.LogType.LogType
instance Amazonka.Data.ByteString.ToByteString Amazonka.EKS.Types.LogType.LogType
instance Amazonka.Data.Text.ToText Amazonka.EKS.Types.LogType.LogType
instance Amazonka.Data.Text.FromText Amazonka.EKS.Types.LogType.LogType
instance Control.DeepSeq.NFData Amazonka.EKS.Types.LogType.LogType
instance Data.Hashable.Class.Hashable Amazonka.EKS.Types.LogType.LogType
instance GHC.Generics.Generic Amazonka.EKS.Types.LogType.LogType
instance GHC.Classes.Ord Amazonka.EKS.Types.LogType.LogType
instance GHC.Classes.Eq Amazonka.EKS.Types.LogType.LogType
instance GHC.Read.Read Amazonka.EKS.Types.LogType.LogType
instance GHC.Show.Show Amazonka.EKS.Types.LogType.LogType
module Amazonka.EKS.Types.LogSetup
-- | An object representing the enabled or disabled Kubernetes control
-- plane logs for your cluster.
--
-- See: newLogSetup smart constructor.
data LogSetup
LogSetup' :: Maybe Bool -> Maybe [LogType] -> LogSetup
-- | If a log type is enabled, that log type exports its control plane logs
-- to CloudWatch Logs. If a log type isn't enabled, that log type doesn't
-- export its control plane logs. Each individual log type can be enabled
-- or disabled independently.
[$sel:enabled:LogSetup'] :: LogSetup -> Maybe Bool
-- | The available cluster control plane log types.
[$sel:types:LogSetup'] :: LogSetup -> Maybe [LogType]
-- | Create a value of LogSetup with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:enabled:LogSetup', logSetup_enabled - If a log type
-- is enabled, that log type exports its control plane logs to CloudWatch
-- Logs. If a log type isn't enabled, that log type doesn't export its
-- control plane logs. Each individual log type can be enabled or
-- disabled independently.
--
-- $sel:types:LogSetup', logSetup_types - The available
-- cluster control plane log types.
newLogSetup :: LogSetup
-- | If a log type is enabled, that log type exports its control plane logs
-- to CloudWatch Logs. If a log type isn't enabled, that log type doesn't
-- export its control plane logs. Each individual log type can be enabled
-- or disabled independently.
logSetup_enabled :: Lens' LogSetup (Maybe Bool)
-- | The available cluster control plane log types.
logSetup_types :: Lens' LogSetup (Maybe [LogType])
instance GHC.Generics.Generic Amazonka.EKS.Types.LogSetup.LogSetup
instance GHC.Show.Show Amazonka.EKS.Types.LogSetup.LogSetup
instance GHC.Read.Read Amazonka.EKS.Types.LogSetup.LogSetup
instance GHC.Classes.Eq Amazonka.EKS.Types.LogSetup.LogSetup
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.EKS.Types.LogSetup.LogSetup
instance Data.Hashable.Class.Hashable Amazonka.EKS.Types.LogSetup.LogSetup
instance Control.DeepSeq.NFData Amazonka.EKS.Types.LogSetup.LogSetup
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.EKS.Types.LogSetup.LogSetup
module Amazonka.EKS.Types.Logging
-- | An object representing the logging configuration for resources in your
-- cluster.
--
-- See: newLogging smart constructor.
data Logging
Logging' :: Maybe [LogSetup] -> Logging
-- | The cluster control plane logging configuration for your cluster.
[$sel:clusterLogging:Logging'] :: Logging -> Maybe [LogSetup]
-- | Create a value of Logging with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:clusterLogging:Logging', logging_clusterLogging -
-- The cluster control plane logging configuration for your cluster.
newLogging :: Logging
-- | The cluster control plane logging configuration for your cluster.
logging_clusterLogging :: Lens' Logging (Maybe [LogSetup])
instance GHC.Generics.Generic Amazonka.EKS.Types.Logging.Logging
instance GHC.Show.Show Amazonka.EKS.Types.Logging.Logging
instance GHC.Read.Read Amazonka.EKS.Types.Logging.Logging
instance GHC.Classes.Eq Amazonka.EKS.Types.Logging.Logging
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.EKS.Types.Logging.Logging
instance Data.Hashable.Class.Hashable Amazonka.EKS.Types.Logging.Logging
instance Control.DeepSeq.NFData Amazonka.EKS.Types.Logging.Logging
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.EKS.Types.Logging.Logging
module Amazonka.EKS.Types.MarketplaceInformation
-- | Information about an Amazon EKS add-on from the Amazon Web Services
-- Marketplace.
--
-- See: newMarketplaceInformation smart constructor.
data MarketplaceInformation
MarketplaceInformation' :: Maybe Text -> Maybe Text -> MarketplaceInformation
-- | The product ID from the Amazon Web Services Marketplace.
[$sel:productId:MarketplaceInformation'] :: MarketplaceInformation -> Maybe Text
-- | The product URL from the Amazon Web Services Marketplace.
[$sel:productUrl:MarketplaceInformation'] :: MarketplaceInformation -> Maybe Text
-- | Create a value of MarketplaceInformation with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:productId:MarketplaceInformation',
-- marketplaceInformation_productId - The product ID from the
-- Amazon Web Services Marketplace.
--
-- $sel:productUrl:MarketplaceInformation',
-- marketplaceInformation_productUrl - The product URL from the
-- Amazon Web Services Marketplace.
newMarketplaceInformation :: MarketplaceInformation
-- | The product ID from the Amazon Web Services Marketplace.
marketplaceInformation_productId :: Lens' MarketplaceInformation (Maybe Text)
-- | The product URL from the Amazon Web Services Marketplace.
marketplaceInformation_productUrl :: Lens' MarketplaceInformation (Maybe Text)
instance GHC.Generics.Generic Amazonka.EKS.Types.MarketplaceInformation.MarketplaceInformation
instance GHC.Show.Show Amazonka.EKS.Types.MarketplaceInformation.MarketplaceInformation
instance GHC.Read.Read Amazonka.EKS.Types.MarketplaceInformation.MarketplaceInformation
instance GHC.Classes.Eq Amazonka.EKS.Types.MarketplaceInformation.MarketplaceInformation
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.EKS.Types.MarketplaceInformation.MarketplaceInformation
instance Data.Hashable.Class.Hashable Amazonka.EKS.Types.MarketplaceInformation.MarketplaceInformation
instance Control.DeepSeq.NFData Amazonka.EKS.Types.MarketplaceInformation.MarketplaceInformation
module Amazonka.EKS.Types.AddonInfo
-- | Information about an add-on.
--
-- See: newAddonInfo smart constructor.
data AddonInfo
AddonInfo' :: Maybe Text -> Maybe [AddonVersionInfo] -> Maybe MarketplaceInformation -> Maybe Text -> Maybe Text -> Maybe Text -> AddonInfo
-- | The name of the add-on.
[$sel:addonName:AddonInfo'] :: AddonInfo -> Maybe Text
-- | An object representing information about available add-on versions and
-- compatible Kubernetes versions.
[$sel:addonVersions:AddonInfo'] :: AddonInfo -> Maybe [AddonVersionInfo]
-- | Information about the add-on from the Amazon Web Services Marketplace.
[$sel:marketplaceInformation:AddonInfo'] :: AddonInfo -> Maybe MarketplaceInformation
-- | The owner of the add-on.
[$sel:owner:AddonInfo'] :: AddonInfo -> Maybe Text
-- | The publisher of the add-on.
[$sel:publisher:AddonInfo'] :: AddonInfo -> Maybe Text
-- | The type of the add-on.
[$sel:type':AddonInfo'] :: AddonInfo -> Maybe Text
-- | Create a value of AddonInfo with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:addonName:AddonInfo', addonInfo_addonName - The
-- name of the add-on.
--
-- $sel:addonVersions:AddonInfo', addonInfo_addonVersions -
-- An object representing information about available add-on versions and
-- compatible Kubernetes versions.
--
-- $sel:marketplaceInformation:AddonInfo',
-- addonInfo_marketplaceInformation - Information about the add-on
-- from the Amazon Web Services Marketplace.
--
-- $sel:owner:AddonInfo', addonInfo_owner - The owner of
-- the add-on.
--
-- $sel:publisher:AddonInfo', addonInfo_publisher - The
-- publisher of the add-on.
--
-- $sel:type':AddonInfo', addonInfo_type - The type of the
-- add-on.
newAddonInfo :: AddonInfo
-- | The name of the add-on.
addonInfo_addonName :: Lens' AddonInfo (Maybe Text)
-- | An object representing information about available add-on versions and
-- compatible Kubernetes versions.
addonInfo_addonVersions :: Lens' AddonInfo (Maybe [AddonVersionInfo])
-- | Information about the add-on from the Amazon Web Services Marketplace.
addonInfo_marketplaceInformation :: Lens' AddonInfo (Maybe MarketplaceInformation)
-- | The owner of the add-on.
addonInfo_owner :: Lens' AddonInfo (Maybe Text)
-- | The publisher of the add-on.
addonInfo_publisher :: Lens' AddonInfo (Maybe Text)
-- | The type of the add-on.
addonInfo_type :: Lens' AddonInfo (Maybe Text)
instance GHC.Generics.Generic Amazonka.EKS.Types.AddonInfo.AddonInfo
instance GHC.Show.Show Amazonka.EKS.Types.AddonInfo.AddonInfo
instance GHC.Read.Read Amazonka.EKS.Types.AddonInfo.AddonInfo
instance GHC.Classes.Eq Amazonka.EKS.Types.AddonInfo.AddonInfo
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.EKS.Types.AddonInfo.AddonInfo
instance Data.Hashable.Class.Hashable Amazonka.EKS.Types.AddonInfo.AddonInfo
instance Control.DeepSeq.NFData Amazonka.EKS.Types.AddonInfo.AddonInfo
module Amazonka.EKS.Types.Addon
-- | An Amazon EKS add-on. For more information, see Amazon EKS
-- add-ons in the Amazon EKS User Guide.
--
-- See: newAddon smart constructor.
data Addon
Addon' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe POSIX -> Maybe AddonHealth -> Maybe MarketplaceInformation -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe AddonStatus -> Maybe (HashMap Text Text) -> Addon
-- | The Amazon Resource Name (ARN) of the add-on.
[$sel:addonArn:Addon'] :: Addon -> Maybe Text
-- | The name of the add-on.
[$sel:addonName:Addon'] :: Addon -> Maybe Text
-- | The version of the add-on.
[$sel:addonVersion:Addon'] :: Addon -> Maybe Text
-- | The name of the cluster.
[$sel:clusterName:Addon'] :: Addon -> Maybe Text
-- | The configuration values that you provided.
[$sel:configurationValues:Addon'] :: Addon -> Maybe Text
-- | The date and time that the add-on was created.
[$sel:createdAt:Addon'] :: Addon -> Maybe POSIX
-- | An object that represents the health of the add-on.
[$sel:health:Addon'] :: Addon -> Maybe AddonHealth
-- | Information about an Amazon EKS add-on from the Amazon Web Services
-- Marketplace.
[$sel:marketplaceInformation:Addon'] :: Addon -> Maybe MarketplaceInformation
-- | The date and time that the add-on was last modified.
[$sel:modifiedAt:Addon'] :: Addon -> Maybe POSIX
-- | The owner of the add-on.
[$sel:owner:Addon'] :: Addon -> Maybe Text
-- | The publisher of the add-on.
[$sel:publisher:Addon'] :: Addon -> Maybe Text
-- | The Amazon Resource Name (ARN) of the IAM role that's bound to the
-- Kubernetes service account that the add-on uses.
[$sel:serviceAccountRoleArn:Addon'] :: Addon -> Maybe Text
-- | The status of the add-on.
[$sel:status:Addon'] :: Addon -> Maybe AddonStatus
-- | The metadata that you apply to the add-on to assist with
-- categorization and organization. Each tag consists of a key and an
-- optional value. You define both. Add-on tags do not propagate to any
-- other resources associated with the cluster.
[$sel:tags:Addon'] :: Addon -> Maybe (HashMap Text Text)
-- | Create a value of Addon with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:addonArn:Addon', addon_addonArn - The Amazon
-- Resource Name (ARN) of the add-on.
--
-- $sel:addonName:Addon', addon_addonName - The name of the
-- add-on.
--
-- $sel:addonVersion:Addon', addon_addonVersion - The
-- version of the add-on.
--
-- $sel:clusterName:Addon', addon_clusterName - The name of
-- the cluster.
--
-- $sel:configurationValues:Addon',
-- addon_configurationValues - The configuration values that you
-- provided.
--
-- $sel:createdAt:Addon', addon_createdAt - The date and
-- time that the add-on was created.
--
-- $sel:health:Addon', addon_health - An object that
-- represents the health of the add-on.
--
-- $sel:marketplaceInformation:Addon',
-- addon_marketplaceInformation - Information about an Amazon EKS
-- add-on from the Amazon Web Services Marketplace.
--
-- $sel:modifiedAt:Addon', addon_modifiedAt - The date and
-- time that the add-on was last modified.
--
-- $sel:owner:Addon', addon_owner - The owner of the
-- add-on.
--
-- $sel:publisher:Addon', addon_publisher - The publisher
-- of the add-on.
--
-- $sel:serviceAccountRoleArn:Addon',
-- addon_serviceAccountRoleArn - The Amazon Resource Name (ARN) of
-- the IAM role that's bound to the Kubernetes service account that the
-- add-on uses.
--
-- $sel:status:Addon', addon_status - The status of the
-- add-on.
--
-- $sel:tags:Addon', addon_tags - The metadata that you
-- apply to the add-on to assist with categorization and organization.
-- Each tag consists of a key and an optional value. You define both.
-- Add-on tags do not propagate to any other resources associated with
-- the cluster.
newAddon :: Addon
-- | The Amazon Resource Name (ARN) of the add-on.
addon_addonArn :: Lens' Addon (Maybe Text)
-- | The name of the add-on.
addon_addonName :: Lens' Addon (Maybe Text)
-- | The version of the add-on.
addon_addonVersion :: Lens' Addon (Maybe Text)
-- | The name of the cluster.
addon_clusterName :: Lens' Addon (Maybe Text)
-- | The configuration values that you provided.
addon_configurationValues :: Lens' Addon (Maybe Text)
-- | The date and time that the add-on was created.
addon_createdAt :: Lens' Addon (Maybe UTCTime)
-- | An object that represents the health of the add-on.
addon_health :: Lens' Addon (Maybe AddonHealth)
-- | Information about an Amazon EKS add-on from the Amazon Web Services
-- Marketplace.
addon_marketplaceInformation :: Lens' Addon (Maybe MarketplaceInformation)
-- | The date and time that the add-on was last modified.
addon_modifiedAt :: Lens' Addon (Maybe UTCTime)
-- | The owner of the add-on.
addon_owner :: Lens' Addon (Maybe Text)
-- | The publisher of the add-on.
addon_publisher :: Lens' Addon (Maybe Text)
-- | The Amazon Resource Name (ARN) of the IAM role that's bound to the
-- Kubernetes service account that the add-on uses.
addon_serviceAccountRoleArn :: Lens' Addon (Maybe Text)
-- | The status of the add-on.
addon_status :: Lens' Addon (Maybe AddonStatus)
-- | The metadata that you apply to the add-on to assist with
-- categorization and organization. Each tag consists of a key and an
-- optional value. You define both. Add-on tags do not propagate to any
-- other resources associated with the cluster.
addon_tags :: Lens' Addon (Maybe (HashMap Text Text))
instance GHC.Generics.Generic Amazonka.EKS.Types.Addon.Addon
instance GHC.Show.Show Amazonka.EKS.Types.Addon.Addon
instance GHC.Read.Read Amazonka.EKS.Types.Addon.Addon
instance GHC.Classes.Eq Amazonka.EKS.Types.Addon.Addon
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.EKS.Types.Addon.Addon
instance Data.Hashable.Class.Hashable Amazonka.EKS.Types.Addon.Addon
instance Control.DeepSeq.NFData Amazonka.EKS.Types.Addon.Addon
module Amazonka.EKS.Types.NodegroupIssueCode
newtype NodegroupIssueCode
NodegroupIssueCode' :: Text -> NodegroupIssueCode
[fromNodegroupIssueCode] :: NodegroupIssueCode -> Text
pattern NodegroupIssueCode_AccessDenied :: NodegroupIssueCode
pattern NodegroupIssueCode_AsgInstanceLaunchFailures :: NodegroupIssueCode
pattern NodegroupIssueCode_AutoScalingGroupInvalidConfiguration :: NodegroupIssueCode
pattern NodegroupIssueCode_AutoScalingGroupNotFound :: NodegroupIssueCode
pattern NodegroupIssueCode_ClusterUnreachable :: NodegroupIssueCode
pattern NodegroupIssueCode_Ec2LaunchTemplateNotFound :: NodegroupIssueCode
pattern NodegroupIssueCode_Ec2LaunchTemplateVersionMismatch :: NodegroupIssueCode
pattern NodegroupIssueCode_Ec2SecurityGroupDeletionFailure :: NodegroupIssueCode
pattern NodegroupIssueCode_Ec2SecurityGroupNotFound :: NodegroupIssueCode
pattern NodegroupIssueCode_Ec2SubnetInvalidConfiguration :: NodegroupIssueCode
pattern NodegroupIssueCode_Ec2SubnetMissingIpv6Assignment :: NodegroupIssueCode
pattern NodegroupIssueCode_Ec2SubnetNotFound :: NodegroupIssueCode
pattern NodegroupIssueCode_IamInstanceProfileNotFound :: NodegroupIssueCode
pattern NodegroupIssueCode_IamLimitExceeded :: NodegroupIssueCode
pattern NodegroupIssueCode_IamNodeRoleNotFound :: NodegroupIssueCode
pattern NodegroupIssueCode_InstanceLimitExceeded :: NodegroupIssueCode
pattern NodegroupIssueCode_InsufficientFreeAddresses :: NodegroupIssueCode
pattern NodegroupIssueCode_InternalFailure :: NodegroupIssueCode
pattern NodegroupIssueCode_NodeCreationFailure :: NodegroupIssueCode
instance Amazonka.Data.XML.ToXML Amazonka.EKS.Types.NodegroupIssueCode.NodegroupIssueCode
instance Amazonka.Data.XML.FromXML Amazonka.EKS.Types.NodegroupIssueCode.NodegroupIssueCode
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.EKS.Types.NodegroupIssueCode.NodegroupIssueCode
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.EKS.Types.NodegroupIssueCode.NodegroupIssueCode
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.EKS.Types.NodegroupIssueCode.NodegroupIssueCode
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.EKS.Types.NodegroupIssueCode.NodegroupIssueCode
instance Amazonka.Data.Query.ToQuery Amazonka.EKS.Types.NodegroupIssueCode.NodegroupIssueCode
instance Amazonka.Data.Headers.ToHeader Amazonka.EKS.Types.NodegroupIssueCode.NodegroupIssueCode
instance Amazonka.Data.Log.ToLog Amazonka.EKS.Types.NodegroupIssueCode.NodegroupIssueCode
instance Amazonka.Data.ByteString.ToByteString Amazonka.EKS.Types.NodegroupIssueCode.NodegroupIssueCode
instance Amazonka.Data.Text.ToText Amazonka.EKS.Types.NodegroupIssueCode.NodegroupIssueCode
instance Amazonka.Data.Text.FromText Amazonka.EKS.Types.NodegroupIssueCode.NodegroupIssueCode
instance Control.DeepSeq.NFData Amazonka.EKS.Types.NodegroupIssueCode.NodegroupIssueCode
instance Data.Hashable.Class.Hashable Amazonka.EKS.Types.NodegroupIssueCode.NodegroupIssueCode
instance GHC.Generics.Generic Amazonka.EKS.Types.NodegroupIssueCode.NodegroupIssueCode
instance GHC.Classes.Ord Amazonka.EKS.Types.NodegroupIssueCode.NodegroupIssueCode
instance GHC.Classes.Eq Amazonka.EKS.Types.NodegroupIssueCode.NodegroupIssueCode
instance GHC.Read.Read Amazonka.EKS.Types.NodegroupIssueCode.NodegroupIssueCode
instance GHC.Show.Show Amazonka.EKS.Types.NodegroupIssueCode.NodegroupIssueCode
module Amazonka.EKS.Types.Issue
-- | An object representing an issue with an Amazon EKS resource.
--
-- See: newIssue smart constructor.
data Issue
Issue' :: Maybe NodegroupIssueCode -> Maybe Text -> Maybe [Text] -> Issue
-- | A brief description of the error.
--
--
-- - AccessDenied: Amazon EKS or one or more of your managed
-- nodes is failing to authenticate or authorize with your Kubernetes
-- cluster API server.
-- - AsgInstanceLaunchFailures: Your Auto Scaling group is
-- experiencing failures while attempting to launch instances.
-- - AutoScalingGroupNotFound: We couldn't find the Auto Scaling
-- group associated with the managed node group. You may be able to
-- recreate an Auto Scaling group with the same settings to recover.
-- - ClusterUnreachable: Amazon EKS or one or more of your
-- managed nodes is unable to to communicate with your Kubernetes cluster
-- API server. This can happen if there are network disruptions or if API
-- servers are timing out processing requests.
-- - Ec2LaunchTemplateNotFound: We couldn't find the Amazon EC2
-- launch template for your managed node group. You may be able to
-- recreate a launch template with the same settings to recover.
-- - Ec2LaunchTemplateVersionMismatch: The Amazon EC2 launch
-- template version for your managed node group does not match the
-- version that Amazon EKS created. You may be able to revert to the
-- version that Amazon EKS created to recover.
-- - Ec2SecurityGroupDeletionFailure: We could not delete the
-- remote access security group for your managed node group. Remove any
-- dependencies from the security group.
-- - Ec2SecurityGroupNotFound: We couldn't find the cluster
-- security group for the cluster. You must recreate your cluster.
-- - Ec2SubnetInvalidConfiguration: One or more Amazon EC2
-- subnets specified for a node group do not automatically assign public
-- IP addresses to instances launched into it. If you want your instances
-- to be assigned a public IP address, then you need to enable the
-- auto-assign public IP address setting for the subnet. See
-- Modifying the public IPv4 addressing attribute for your subnet
-- in the Amazon VPC User Guide.
-- - IamInstanceProfileNotFound: We couldn't find the IAM
-- instance profile for your managed node group. You may be able to
-- recreate an instance profile with the same settings to recover.
-- - IamNodeRoleNotFound: We couldn't find the IAM role for your
-- managed node group. You may be able to recreate an IAM role with the
-- same settings to recover.
-- - InstanceLimitExceeded: Your Amazon Web Services account is
-- unable to launch any more instances of the specified instance type.
-- You may be able to request an Amazon EC2 instance limit increase to
-- recover.
-- - InsufficientFreeAddresses: One or more of the subnets
-- associated with your managed node group does not have enough available
-- IP addresses for new nodes.
-- - InternalFailure: These errors are usually caused by an
-- Amazon EKS server-side issue.
-- - NodeCreationFailure: Your launched instances are unable to
-- register with your Amazon EKS cluster. Common causes of this failure
-- are insufficient node IAM role permissions or lack of outbound
-- internet access for the nodes.
--
[$sel:code:Issue'] :: Issue -> Maybe NodegroupIssueCode
-- | The error message associated with the issue.
[$sel:message:Issue'] :: Issue -> Maybe Text
-- | The Amazon Web Services resources that are afflicted by this issue.
[$sel:resourceIds:Issue'] :: Issue -> Maybe [Text]
-- | Create a value of Issue with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:code:Issue', issue_code - A brief description of
-- the error.
--
--
-- - AccessDenied: Amazon EKS or one or more of your managed
-- nodes is failing to authenticate or authorize with your Kubernetes
-- cluster API server.
-- - AsgInstanceLaunchFailures: Your Auto Scaling group is
-- experiencing failures while attempting to launch instances.
-- - AutoScalingGroupNotFound: We couldn't find the Auto Scaling
-- group associated with the managed node group. You may be able to
-- recreate an Auto Scaling group with the same settings to recover.
-- - ClusterUnreachable: Amazon EKS or one or more of your
-- managed nodes is unable to to communicate with your Kubernetes cluster
-- API server. This can happen if there are network disruptions or if API
-- servers are timing out processing requests.
-- - Ec2LaunchTemplateNotFound: We couldn't find the Amazon EC2
-- launch template for your managed node group. You may be able to
-- recreate a launch template with the same settings to recover.
-- - Ec2LaunchTemplateVersionMismatch: The Amazon EC2 launch
-- template version for your managed node group does not match the
-- version that Amazon EKS created. You may be able to revert to the
-- version that Amazon EKS created to recover.
-- - Ec2SecurityGroupDeletionFailure: We could not delete the
-- remote access security group for your managed node group. Remove any
-- dependencies from the security group.
-- - Ec2SecurityGroupNotFound: We couldn't find the cluster
-- security group for the cluster. You must recreate your cluster.
-- - Ec2SubnetInvalidConfiguration: One or more Amazon EC2
-- subnets specified for a node group do not automatically assign public
-- IP addresses to instances launched into it. If you want your instances
-- to be assigned a public IP address, then you need to enable the
-- auto-assign public IP address setting for the subnet. See
-- Modifying the public IPv4 addressing attribute for your subnet
-- in the Amazon VPC User Guide.
-- - IamInstanceProfileNotFound: We couldn't find the IAM
-- instance profile for your managed node group. You may be able to
-- recreate an instance profile with the same settings to recover.
-- - IamNodeRoleNotFound: We couldn't find the IAM role for your
-- managed node group. You may be able to recreate an IAM role with the
-- same settings to recover.
-- - InstanceLimitExceeded: Your Amazon Web Services account is
-- unable to launch any more instances of the specified instance type.
-- You may be able to request an Amazon EC2 instance limit increase to
-- recover.
-- - InsufficientFreeAddresses: One or more of the subnets
-- associated with your managed node group does not have enough available
-- IP addresses for new nodes.
-- - InternalFailure: These errors are usually caused by an
-- Amazon EKS server-side issue.
-- - NodeCreationFailure: Your launched instances are unable to
-- register with your Amazon EKS cluster. Common causes of this failure
-- are insufficient node IAM role permissions or lack of outbound
-- internet access for the nodes.
--
--
-- $sel:message:Issue', issue_message - The error message
-- associated with the issue.
--
-- $sel:resourceIds:Issue', issue_resourceIds - The Amazon
-- Web Services resources that are afflicted by this issue.
newIssue :: Issue
-- | A brief description of the error.
--
--
-- - AccessDenied: Amazon EKS or one or more of your managed
-- nodes is failing to authenticate or authorize with your Kubernetes
-- cluster API server.
-- - AsgInstanceLaunchFailures: Your Auto Scaling group is
-- experiencing failures while attempting to launch instances.
-- - AutoScalingGroupNotFound: We couldn't find the Auto Scaling
-- group associated with the managed node group. You may be able to
-- recreate an Auto Scaling group with the same settings to recover.
-- - ClusterUnreachable: Amazon EKS or one or more of your
-- managed nodes is unable to to communicate with your Kubernetes cluster
-- API server. This can happen if there are network disruptions or if API
-- servers are timing out processing requests.
-- - Ec2LaunchTemplateNotFound: We couldn't find the Amazon EC2
-- launch template for your managed node group. You may be able to
-- recreate a launch template with the same settings to recover.
-- - Ec2LaunchTemplateVersionMismatch: The Amazon EC2 launch
-- template version for your managed node group does not match the
-- version that Amazon EKS created. You may be able to revert to the
-- version that Amazon EKS created to recover.
-- - Ec2SecurityGroupDeletionFailure: We could not delete the
-- remote access security group for your managed node group. Remove any
-- dependencies from the security group.
-- - Ec2SecurityGroupNotFound: We couldn't find the cluster
-- security group for the cluster. You must recreate your cluster.
-- - Ec2SubnetInvalidConfiguration: One or more Amazon EC2
-- subnets specified for a node group do not automatically assign public
-- IP addresses to instances launched into it. If you want your instances
-- to be assigned a public IP address, then you need to enable the
-- auto-assign public IP address setting for the subnet. See
-- Modifying the public IPv4 addressing attribute for your subnet
-- in the Amazon VPC User Guide.
-- - IamInstanceProfileNotFound: We couldn't find the IAM
-- instance profile for your managed node group. You may be able to
-- recreate an instance profile with the same settings to recover.
-- - IamNodeRoleNotFound: We couldn't find the IAM role for your
-- managed node group. You may be able to recreate an IAM role with the
-- same settings to recover.
-- - InstanceLimitExceeded: Your Amazon Web Services account is
-- unable to launch any more instances of the specified instance type.
-- You may be able to request an Amazon EC2 instance limit increase to
-- recover.
-- - InsufficientFreeAddresses: One or more of the subnets
-- associated with your managed node group does not have enough available
-- IP addresses for new nodes.
-- - InternalFailure: These errors are usually caused by an
-- Amazon EKS server-side issue.
-- - NodeCreationFailure: Your launched instances are unable to
-- register with your Amazon EKS cluster. Common causes of this failure
-- are insufficient node IAM role permissions or lack of outbound
-- internet access for the nodes.
--
issue_code :: Lens' Issue (Maybe NodegroupIssueCode)
-- | The error message associated with the issue.
issue_message :: Lens' Issue (Maybe Text)
-- | The Amazon Web Services resources that are afflicted by this issue.
issue_resourceIds :: Lens' Issue (Maybe [Text])
instance GHC.Generics.Generic Amazonka.EKS.Types.Issue.Issue
instance GHC.Show.Show Amazonka.EKS.Types.Issue.Issue
instance GHC.Read.Read Amazonka.EKS.Types.Issue.Issue
instance GHC.Classes.Eq Amazonka.EKS.Types.Issue.Issue
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.EKS.Types.Issue.Issue
instance Data.Hashable.Class.Hashable Amazonka.EKS.Types.Issue.Issue
instance Control.DeepSeq.NFData Amazonka.EKS.Types.Issue.Issue
module Amazonka.EKS.Types.NodegroupHealth
-- | An object representing the health status of the node group.
--
-- See: newNodegroupHealth smart constructor.
data NodegroupHealth
NodegroupHealth' :: Maybe [Issue] -> NodegroupHealth
-- | Any issues that are associated with the node group.
[$sel:issues:NodegroupHealth'] :: NodegroupHealth -> Maybe [Issue]
-- | Create a value of NodegroupHealth with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:issues:NodegroupHealth', nodegroupHealth_issues -
-- Any issues that are associated with the node group.
newNodegroupHealth :: NodegroupHealth
-- | Any issues that are associated with the node group.
nodegroupHealth_issues :: Lens' NodegroupHealth (Maybe [Issue])
instance GHC.Generics.Generic Amazonka.EKS.Types.NodegroupHealth.NodegroupHealth
instance GHC.Show.Show Amazonka.EKS.Types.NodegroupHealth.NodegroupHealth
instance GHC.Read.Read Amazonka.EKS.Types.NodegroupHealth.NodegroupHealth
instance GHC.Classes.Eq Amazonka.EKS.Types.NodegroupHealth.NodegroupHealth
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.EKS.Types.NodegroupHealth.NodegroupHealth
instance Data.Hashable.Class.Hashable Amazonka.EKS.Types.NodegroupHealth.NodegroupHealth
instance Control.DeepSeq.NFData Amazonka.EKS.Types.NodegroupHealth.NodegroupHealth
module Amazonka.EKS.Types.NodegroupResources
-- | An object representing the resources associated with the node group,
-- such as Auto Scaling groups and security groups for remote access.
--
-- See: newNodegroupResources smart constructor.
data NodegroupResources
NodegroupResources' :: Maybe [AutoScalingGroup] -> Maybe Text -> NodegroupResources
-- | The Auto Scaling groups associated with the node group.
[$sel:autoScalingGroups:NodegroupResources'] :: NodegroupResources -> Maybe [AutoScalingGroup]
-- | The remote access security group associated with the node group. This
-- security group controls SSH access to the nodes.
[$sel:remoteAccessSecurityGroup:NodegroupResources'] :: NodegroupResources -> Maybe Text
-- | Create a value of NodegroupResources with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:autoScalingGroups:NodegroupResources',
-- nodegroupResources_autoScalingGroups - The Auto Scaling groups
-- associated with the node group.
--
-- $sel:remoteAccessSecurityGroup:NodegroupResources',
-- nodegroupResources_remoteAccessSecurityGroup - The remote
-- access security group associated with the node group. This security
-- group controls SSH access to the nodes.
newNodegroupResources :: NodegroupResources
-- | The Auto Scaling groups associated with the node group.
nodegroupResources_autoScalingGroups :: Lens' NodegroupResources (Maybe [AutoScalingGroup])
-- | The remote access security group associated with the node group. This
-- security group controls SSH access to the nodes.
nodegroupResources_remoteAccessSecurityGroup :: Lens' NodegroupResources (Maybe Text)
instance GHC.Generics.Generic Amazonka.EKS.Types.NodegroupResources.NodegroupResources
instance GHC.Show.Show Amazonka.EKS.Types.NodegroupResources.NodegroupResources
instance GHC.Read.Read Amazonka.EKS.Types.NodegroupResources.NodegroupResources
instance GHC.Classes.Eq Amazonka.EKS.Types.NodegroupResources.NodegroupResources
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.EKS.Types.NodegroupResources.NodegroupResources
instance Data.Hashable.Class.Hashable Amazonka.EKS.Types.NodegroupResources.NodegroupResources
instance Control.DeepSeq.NFData Amazonka.EKS.Types.NodegroupResources.NodegroupResources
module Amazonka.EKS.Types.NodegroupScalingConfig
-- | An object representing the scaling configuration details for the Auto
-- Scaling group that is associated with your node group. When creating a
-- node group, you must specify all or none of the properties. When
-- updating a node group, you can specify any or none of the properties.
--
-- See: newNodegroupScalingConfig smart constructor.
data NodegroupScalingConfig
NodegroupScalingConfig' :: Maybe Natural -> Maybe Natural -> Maybe Natural -> NodegroupScalingConfig
-- | The current number of nodes that the managed node group should
-- maintain.
--
-- If you use Cluster Autoscaler, you shouldn't change the desiredSize
-- value directly, as this can cause the Cluster Autoscaler to suddenly
-- scale up or scale down.
--
-- Whenever this parameter changes, the number of worker nodes in the
-- node group is updated to the specified size. If this parameter is
-- given a value that is smaller than the current number of running
-- worker nodes, the necessary number of worker nodes are terminated to
-- match the given value. When using CloudFormation, no action occurs if
-- you remove this parameter from your CFN template.
--
-- This parameter can be different from minSize in some cases, such as
-- when starting with extra hosts for testing. This parameter can also be
-- different when you want to start with an estimated number of needed
-- hosts, but let Cluster Autoscaler reduce the number if there are too
-- many. When Cluster Autoscaler is used, the desiredSize parameter is
-- altered by Cluster Autoscaler (but can be out-of-date for short
-- periods of time). Cluster Autoscaler doesn't scale a managed node
-- group lower than minSize or higher than maxSize.
[$sel:desiredSize:NodegroupScalingConfig'] :: NodegroupScalingConfig -> Maybe Natural
-- | The maximum number of nodes that the managed node group can scale out
-- to. For information about the maximum number that you can specify, see
-- Amazon EKS service quotas in the Amazon EKS User Guide.
[$sel:maxSize:NodegroupScalingConfig'] :: NodegroupScalingConfig -> Maybe Natural
-- | The minimum number of nodes that the managed node group can scale in
-- to.
[$sel:minSize:NodegroupScalingConfig'] :: NodegroupScalingConfig -> Maybe Natural
-- | Create a value of NodegroupScalingConfig with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:desiredSize:NodegroupScalingConfig',
-- nodegroupScalingConfig_desiredSize - The current number of
-- nodes that the managed node group should maintain.
--
-- If you use Cluster Autoscaler, you shouldn't change the desiredSize
-- value directly, as this can cause the Cluster Autoscaler to suddenly
-- scale up or scale down.
--
-- Whenever this parameter changes, the number of worker nodes in the
-- node group is updated to the specified size. If this parameter is
-- given a value that is smaller than the current number of running
-- worker nodes, the necessary number of worker nodes are terminated to
-- match the given value. When using CloudFormation, no action occurs if
-- you remove this parameter from your CFN template.
--
-- This parameter can be different from minSize in some cases, such as
-- when starting with extra hosts for testing. This parameter can also be
-- different when you want to start with an estimated number of needed
-- hosts, but let Cluster Autoscaler reduce the number if there are too
-- many. When Cluster Autoscaler is used, the desiredSize parameter is
-- altered by Cluster Autoscaler (but can be out-of-date for short
-- periods of time). Cluster Autoscaler doesn't scale a managed node
-- group lower than minSize or higher than maxSize.
--
-- $sel:maxSize:NodegroupScalingConfig',
-- nodegroupScalingConfig_maxSize - The maximum number of nodes
-- that the managed node group can scale out to. For information about
-- the maximum number that you can specify, see Amazon EKS service
-- quotas in the Amazon EKS User Guide.
--
-- $sel:minSize:NodegroupScalingConfig',
-- nodegroupScalingConfig_minSize - The minimum number of nodes
-- that the managed node group can scale in to.
newNodegroupScalingConfig :: NodegroupScalingConfig
-- | The current number of nodes that the managed node group should
-- maintain.
--
-- If you use Cluster Autoscaler, you shouldn't change the desiredSize
-- value directly, as this can cause the Cluster Autoscaler to suddenly
-- scale up or scale down.
--
-- Whenever this parameter changes, the number of worker nodes in the
-- node group is updated to the specified size. If this parameter is
-- given a value that is smaller than the current number of running
-- worker nodes, the necessary number of worker nodes are terminated to
-- match the given value. When using CloudFormation, no action occurs if
-- you remove this parameter from your CFN template.
--
-- This parameter can be different from minSize in some cases, such as
-- when starting with extra hosts for testing. This parameter can also be
-- different when you want to start with an estimated number of needed
-- hosts, but let Cluster Autoscaler reduce the number if there are too
-- many. When Cluster Autoscaler is used, the desiredSize parameter is
-- altered by Cluster Autoscaler (but can be out-of-date for short
-- periods of time). Cluster Autoscaler doesn't scale a managed node
-- group lower than minSize or higher than maxSize.
nodegroupScalingConfig_desiredSize :: Lens' NodegroupScalingConfig (Maybe Natural)
-- | The maximum number of nodes that the managed node group can scale out
-- to. For information about the maximum number that you can specify, see
-- Amazon EKS service quotas in the Amazon EKS User Guide.
nodegroupScalingConfig_maxSize :: Lens' NodegroupScalingConfig (Maybe Natural)
-- | The minimum number of nodes that the managed node group can scale in
-- to.
nodegroupScalingConfig_minSize :: Lens' NodegroupScalingConfig (Maybe Natural)
instance GHC.Generics.Generic Amazonka.EKS.Types.NodegroupScalingConfig.NodegroupScalingConfig
instance GHC.Show.Show Amazonka.EKS.Types.NodegroupScalingConfig.NodegroupScalingConfig
instance GHC.Read.Read Amazonka.EKS.Types.NodegroupScalingConfig.NodegroupScalingConfig
instance GHC.Classes.Eq Amazonka.EKS.Types.NodegroupScalingConfig.NodegroupScalingConfig
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.EKS.Types.NodegroupScalingConfig.NodegroupScalingConfig
instance Data.Hashable.Class.Hashable Amazonka.EKS.Types.NodegroupScalingConfig.NodegroupScalingConfig
instance Control.DeepSeq.NFData Amazonka.EKS.Types.NodegroupScalingConfig.NodegroupScalingConfig
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.EKS.Types.NodegroupScalingConfig.NodegroupScalingConfig
module Amazonka.EKS.Types.NodegroupStatus
newtype NodegroupStatus
NodegroupStatus' :: Text -> NodegroupStatus
[fromNodegroupStatus] :: NodegroupStatus -> Text
pattern NodegroupStatus_ACTIVE :: NodegroupStatus
pattern NodegroupStatus_CREATE_FAILED :: NodegroupStatus
pattern NodegroupStatus_CREATING :: NodegroupStatus
pattern NodegroupStatus_DEGRADED :: NodegroupStatus
pattern NodegroupStatus_DELETE_FAILED :: NodegroupStatus
pattern NodegroupStatus_DELETING :: NodegroupStatus
pattern NodegroupStatus_UPDATING :: NodegroupStatus
instance Amazonka.Data.XML.ToXML Amazonka.EKS.Types.NodegroupStatus.NodegroupStatus
instance Amazonka.Data.XML.FromXML Amazonka.EKS.Types.NodegroupStatus.NodegroupStatus
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.EKS.Types.NodegroupStatus.NodegroupStatus
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.EKS.Types.NodegroupStatus.NodegroupStatus
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.EKS.Types.NodegroupStatus.NodegroupStatus
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.EKS.Types.NodegroupStatus.NodegroupStatus
instance Amazonka.Data.Query.ToQuery Amazonka.EKS.Types.NodegroupStatus.NodegroupStatus
instance Amazonka.Data.Headers.ToHeader Amazonka.EKS.Types.NodegroupStatus.NodegroupStatus
instance Amazonka.Data.Log.ToLog Amazonka.EKS.Types.NodegroupStatus.NodegroupStatus
instance Amazonka.Data.ByteString.ToByteString Amazonka.EKS.Types.NodegroupStatus.NodegroupStatus
instance Amazonka.Data.Text.ToText Amazonka.EKS.Types.NodegroupStatus.NodegroupStatus
instance Amazonka.Data.Text.FromText Amazonka.EKS.Types.NodegroupStatus.NodegroupStatus
instance Control.DeepSeq.NFData Amazonka.EKS.Types.NodegroupStatus.NodegroupStatus
instance Data.Hashable.Class.Hashable Amazonka.EKS.Types.NodegroupStatus.NodegroupStatus
instance GHC.Generics.Generic Amazonka.EKS.Types.NodegroupStatus.NodegroupStatus
instance GHC.Classes.Ord Amazonka.EKS.Types.NodegroupStatus.NodegroupStatus
instance GHC.Classes.Eq Amazonka.EKS.Types.NodegroupStatus.NodegroupStatus
instance GHC.Read.Read Amazonka.EKS.Types.NodegroupStatus.NodegroupStatus
instance GHC.Show.Show Amazonka.EKS.Types.NodegroupStatus.NodegroupStatus
module Amazonka.EKS.Types.NodegroupUpdateConfig
-- | The node group update configuration.
--
-- See: newNodegroupUpdateConfig smart constructor.
data NodegroupUpdateConfig
NodegroupUpdateConfig' :: Maybe Natural -> Maybe Natural -> NodegroupUpdateConfig
-- | The maximum number of nodes unavailable at once during a version
-- update. Nodes will be updated in parallel. This value or
-- maxUnavailablePercentage is required to have a value.The
-- maximum number is 100.
[$sel:maxUnavailable:NodegroupUpdateConfig'] :: NodegroupUpdateConfig -> Maybe Natural
-- | The maximum percentage of nodes unavailable during a version update.
-- This percentage of nodes will be updated in parallel, up to 100 nodes
-- at once. This value or maxUnavailable is required to have a
-- value.
[$sel:maxUnavailablePercentage:NodegroupUpdateConfig'] :: NodegroupUpdateConfig -> Maybe Natural
-- | Create a value of NodegroupUpdateConfig with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:maxUnavailable:NodegroupUpdateConfig',
-- nodegroupUpdateConfig_maxUnavailable - The maximum number of
-- nodes unavailable at once during a version update. Nodes will be
-- updated in parallel. This value or maxUnavailablePercentage
-- is required to have a value.The maximum number is 100.
--
-- $sel:maxUnavailablePercentage:NodegroupUpdateConfig',
-- nodegroupUpdateConfig_maxUnavailablePercentage - The maximum
-- percentage of nodes unavailable during a version update. This
-- percentage of nodes will be updated in parallel, up to 100 nodes at
-- once. This value or maxUnavailable is required to have a
-- value.
newNodegroupUpdateConfig :: NodegroupUpdateConfig
-- | The maximum number of nodes unavailable at once during a version
-- update. Nodes will be updated in parallel. This value or
-- maxUnavailablePercentage is required to have a value.The
-- maximum number is 100.
nodegroupUpdateConfig_maxUnavailable :: Lens' NodegroupUpdateConfig (Maybe Natural)
-- | The maximum percentage of nodes unavailable during a version update.
-- This percentage of nodes will be updated in parallel, up to 100 nodes
-- at once. This value or maxUnavailable is required to have a
-- value.
nodegroupUpdateConfig_maxUnavailablePercentage :: Lens' NodegroupUpdateConfig (Maybe Natural)
instance GHC.Generics.Generic Amazonka.EKS.Types.NodegroupUpdateConfig.NodegroupUpdateConfig
instance GHC.Show.Show Amazonka.EKS.Types.NodegroupUpdateConfig.NodegroupUpdateConfig
instance GHC.Read.Read Amazonka.EKS.Types.NodegroupUpdateConfig.NodegroupUpdateConfig
instance GHC.Classes.Eq Amazonka.EKS.Types.NodegroupUpdateConfig.NodegroupUpdateConfig
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.EKS.Types.NodegroupUpdateConfig.NodegroupUpdateConfig
instance Data.Hashable.Class.Hashable Amazonka.EKS.Types.NodegroupUpdateConfig.NodegroupUpdateConfig
instance Control.DeepSeq.NFData Amazonka.EKS.Types.NodegroupUpdateConfig.NodegroupUpdateConfig
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.EKS.Types.NodegroupUpdateConfig.NodegroupUpdateConfig
module Amazonka.EKS.Types.OIDC
-- | An object representing the OpenID Connect (OIDC) identity
-- provider information for the cluster.
--
-- See: newOIDC smart constructor.
data OIDC
OIDC' :: Maybe Text -> OIDC
-- | The issuer URL for the OIDC identity provider.
[$sel:issuer:OIDC'] :: OIDC -> Maybe Text
-- | Create a value of OIDC with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:issuer:OIDC', oidc_issuer - The issuer URL for the
-- OIDC identity provider.
newOIDC :: OIDC
-- | The issuer URL for the OIDC identity provider.
oidc_issuer :: Lens' OIDC (Maybe Text)
instance GHC.Generics.Generic Amazonka.EKS.Types.OIDC.OIDC
instance GHC.Show.Show Amazonka.EKS.Types.OIDC.OIDC
instance GHC.Read.Read Amazonka.EKS.Types.OIDC.OIDC
instance GHC.Classes.Eq Amazonka.EKS.Types.OIDC.OIDC
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.EKS.Types.OIDC.OIDC
instance Data.Hashable.Class.Hashable Amazonka.EKS.Types.OIDC.OIDC
instance Control.DeepSeq.NFData Amazonka.EKS.Types.OIDC.OIDC
module Amazonka.EKS.Types.Identity
-- | An object representing an identity provider.
--
-- See: newIdentity smart constructor.
data Identity
Identity' :: Maybe OIDC -> Identity
-- | An object representing the OpenID Connect identity provider
-- information.
[$sel:oidc:Identity'] :: Identity -> Maybe OIDC
-- | Create a value of Identity with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:oidc:Identity', identity_oidc - An object
-- representing the OpenID Connect identity provider information.
newIdentity :: Identity
-- | An object representing the OpenID Connect identity provider
-- information.
identity_oidc :: Lens' Identity (Maybe OIDC)
instance GHC.Generics.Generic Amazonka.EKS.Types.Identity.Identity
instance GHC.Show.Show Amazonka.EKS.Types.Identity.Identity
instance GHC.Read.Read Amazonka.EKS.Types.Identity.Identity
instance GHC.Classes.Eq Amazonka.EKS.Types.Identity.Identity
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.EKS.Types.Identity.Identity
instance Data.Hashable.Class.Hashable Amazonka.EKS.Types.Identity.Identity
instance Control.DeepSeq.NFData Amazonka.EKS.Types.Identity.Identity
module Amazonka.EKS.Types.OidcIdentityProviderConfig
-- | An object representing the configuration for an OpenID Connect (OIDC)
-- identity provider.
--
-- See: newOidcIdentityProviderConfig smart constructor.
data OidcIdentityProviderConfig
OidcIdentityProviderConfig' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe (HashMap Text Text) -> Maybe ConfigStatus -> Maybe (HashMap Text Text) -> Maybe Text -> Maybe Text -> OidcIdentityProviderConfig
-- | This is also known as audience. The ID of the client
-- application that makes authentication requests to the OIDC identity
-- provider.
[$sel:clientId:OidcIdentityProviderConfig'] :: OidcIdentityProviderConfig -> Maybe Text
-- | The cluster that the configuration is associated to.
[$sel:clusterName:OidcIdentityProviderConfig'] :: OidcIdentityProviderConfig -> Maybe Text
-- | The JSON web token (JWT) claim that the provider uses to return your
-- groups.
[$sel:groupsClaim:OidcIdentityProviderConfig'] :: OidcIdentityProviderConfig -> Maybe Text
-- | The prefix that is prepended to group claims to prevent clashes with
-- existing names (such as system: groups). For example, the
-- value oidc: creates group names like
-- oidc:engineering and oidc:infra. The prefix can't
-- contain system:
[$sel:groupsPrefix:OidcIdentityProviderConfig'] :: OidcIdentityProviderConfig -> Maybe Text
-- | The ARN of the configuration.
[$sel:identityProviderConfigArn:OidcIdentityProviderConfig'] :: OidcIdentityProviderConfig -> Maybe Text
-- | The name of the configuration.
[$sel:identityProviderConfigName:OidcIdentityProviderConfig'] :: OidcIdentityProviderConfig -> Maybe Text
-- | The URL of the OIDC identity provider that allows the API server to
-- discover public signing keys for verifying tokens.
[$sel:issuerUrl:OidcIdentityProviderConfig'] :: OidcIdentityProviderConfig -> Maybe Text
-- | The key-value pairs that describe required claims in the identity
-- token. If set, each claim is verified to be present in the token with
-- a matching value.
[$sel:requiredClaims:OidcIdentityProviderConfig'] :: OidcIdentityProviderConfig -> Maybe (HashMap Text Text)
-- | The status of the OIDC identity provider.
[$sel:status:OidcIdentityProviderConfig'] :: OidcIdentityProviderConfig -> Maybe ConfigStatus
-- | The metadata to apply to the provider configuration to assist with
-- categorization and organization. Each tag consists of a key and an
-- optional value. You define both.
[$sel:tags:OidcIdentityProviderConfig'] :: OidcIdentityProviderConfig -> Maybe (HashMap Text Text)
-- | The JSON Web token (JWT) claim that is used as the username.
[$sel:usernameClaim:OidcIdentityProviderConfig'] :: OidcIdentityProviderConfig -> Maybe Text
-- | The prefix that is prepended to username claims to prevent clashes
-- with existing names. The prefix can't contain system:
[$sel:usernamePrefix:OidcIdentityProviderConfig'] :: OidcIdentityProviderConfig -> Maybe Text
-- | Create a value of OidcIdentityProviderConfig with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:clientId:OidcIdentityProviderConfig',
-- oidcIdentityProviderConfig_clientId - This is also known as
-- audience. The ID of the client application that makes
-- authentication requests to the OIDC identity provider.
--
-- $sel:clusterName:OidcIdentityProviderConfig',
-- oidcIdentityProviderConfig_clusterName - The cluster that the
-- configuration is associated to.
--
-- $sel:groupsClaim:OidcIdentityProviderConfig',
-- oidcIdentityProviderConfig_groupsClaim - The JSON web token
-- (JWT) claim that the provider uses to return your groups.
--
-- $sel:groupsPrefix:OidcIdentityProviderConfig',
-- oidcIdentityProviderConfig_groupsPrefix - The prefix that is
-- prepended to group claims to prevent clashes with existing names (such
-- as system: groups). For example, the value oidc:
-- creates group names like oidc:engineering and
-- oidc:infra. The prefix can't contain system:
--
-- $sel:identityProviderConfigArn:OidcIdentityProviderConfig',
-- oidcIdentityProviderConfig_identityProviderConfigArn - The ARN
-- of the configuration.
--
-- $sel:identityProviderConfigName:OidcIdentityProviderConfig',
-- oidcIdentityProviderConfig_identityProviderConfigName - The
-- name of the configuration.
--
-- $sel:issuerUrl:OidcIdentityProviderConfig',
-- oidcIdentityProviderConfig_issuerUrl - The URL of the OIDC
-- identity provider that allows the API server to discover public
-- signing keys for verifying tokens.
--
-- $sel:requiredClaims:OidcIdentityProviderConfig',
-- oidcIdentityProviderConfig_requiredClaims - The key-value pairs
-- that describe required claims in the identity token. If set, each
-- claim is verified to be present in the token with a matching value.
--
-- $sel:status:OidcIdentityProviderConfig',
-- oidcIdentityProviderConfig_status - The status of the OIDC
-- identity provider.
--
-- $sel:tags:OidcIdentityProviderConfig',
-- oidcIdentityProviderConfig_tags - The metadata to apply to the
-- provider configuration to assist with categorization and organization.
-- Each tag consists of a key and an optional value. You define both.
--
-- $sel:usernameClaim:OidcIdentityProviderConfig',
-- oidcIdentityProviderConfig_usernameClaim - The JSON Web token
-- (JWT) claim that is used as the username.
--
-- $sel:usernamePrefix:OidcIdentityProviderConfig',
-- oidcIdentityProviderConfig_usernamePrefix - The prefix that is
-- prepended to username claims to prevent clashes with existing names.
-- The prefix can't contain system:
newOidcIdentityProviderConfig :: OidcIdentityProviderConfig
-- | This is also known as audience. The ID of the client
-- application that makes authentication requests to the OIDC identity
-- provider.
oidcIdentityProviderConfig_clientId :: Lens' OidcIdentityProviderConfig (Maybe Text)
-- | The cluster that the configuration is associated to.
oidcIdentityProviderConfig_clusterName :: Lens' OidcIdentityProviderConfig (Maybe Text)
-- | The JSON web token (JWT) claim that the provider uses to return your
-- groups.
oidcIdentityProviderConfig_groupsClaim :: Lens' OidcIdentityProviderConfig (Maybe Text)
-- | The prefix that is prepended to group claims to prevent clashes with
-- existing names (such as system: groups). For example, the
-- value oidc: creates group names like
-- oidc:engineering and oidc:infra. The prefix can't
-- contain system:
oidcIdentityProviderConfig_groupsPrefix :: Lens' OidcIdentityProviderConfig (Maybe Text)
-- | The ARN of the configuration.
oidcIdentityProviderConfig_identityProviderConfigArn :: Lens' OidcIdentityProviderConfig (Maybe Text)
-- | The name of the configuration.
oidcIdentityProviderConfig_identityProviderConfigName :: Lens' OidcIdentityProviderConfig (Maybe Text)
-- | The URL of the OIDC identity provider that allows the API server to
-- discover public signing keys for verifying tokens.
oidcIdentityProviderConfig_issuerUrl :: Lens' OidcIdentityProviderConfig (Maybe Text)
-- | The key-value pairs that describe required claims in the identity
-- token. If set, each claim is verified to be present in the token with
-- a matching value.
oidcIdentityProviderConfig_requiredClaims :: Lens' OidcIdentityProviderConfig (Maybe (HashMap Text Text))
-- | The status of the OIDC identity provider.
oidcIdentityProviderConfig_status :: Lens' OidcIdentityProviderConfig (Maybe ConfigStatus)
-- | The metadata to apply to the provider configuration to assist with
-- categorization and organization. Each tag consists of a key and an
-- optional value. You define both.
oidcIdentityProviderConfig_tags :: Lens' OidcIdentityProviderConfig (Maybe (HashMap Text Text))
-- | The JSON Web token (JWT) claim that is used as the username.
oidcIdentityProviderConfig_usernameClaim :: Lens' OidcIdentityProviderConfig (Maybe Text)
-- | The prefix that is prepended to username claims to prevent clashes
-- with existing names. The prefix can't contain system:
oidcIdentityProviderConfig_usernamePrefix :: Lens' OidcIdentityProviderConfig (Maybe Text)
instance GHC.Generics.Generic Amazonka.EKS.Types.OidcIdentityProviderConfig.OidcIdentityProviderConfig
instance GHC.Show.Show Amazonka.EKS.Types.OidcIdentityProviderConfig.OidcIdentityProviderConfig
instance GHC.Read.Read Amazonka.EKS.Types.OidcIdentityProviderConfig.OidcIdentityProviderConfig
instance GHC.Classes.Eq Amazonka.EKS.Types.OidcIdentityProviderConfig.OidcIdentityProviderConfig
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.EKS.Types.OidcIdentityProviderConfig.OidcIdentityProviderConfig
instance Data.Hashable.Class.Hashable Amazonka.EKS.Types.OidcIdentityProviderConfig.OidcIdentityProviderConfig
instance Control.DeepSeq.NFData Amazonka.EKS.Types.OidcIdentityProviderConfig.OidcIdentityProviderConfig
module Amazonka.EKS.Types.IdentityProviderConfigResponse
-- | The full description of your identity configuration.
--
-- See: newIdentityProviderConfigResponse smart
-- constructor.
data IdentityProviderConfigResponse
IdentityProviderConfigResponse' :: Maybe OidcIdentityProviderConfig -> IdentityProviderConfigResponse
-- | An object representing an OpenID Connect (OIDC) identity provider
-- configuration.
[$sel:oidc:IdentityProviderConfigResponse'] :: IdentityProviderConfigResponse -> Maybe OidcIdentityProviderConfig
-- | Create a value of IdentityProviderConfigResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:oidc:IdentityProviderConfigResponse',
-- identityProviderConfigResponse_oidc - An object representing an
-- OpenID Connect (OIDC) identity provider configuration.
newIdentityProviderConfigResponse :: IdentityProviderConfigResponse
-- | An object representing an OpenID Connect (OIDC) identity provider
-- configuration.
identityProviderConfigResponse_oidc :: Lens' IdentityProviderConfigResponse (Maybe OidcIdentityProviderConfig)
instance GHC.Generics.Generic Amazonka.EKS.Types.IdentityProviderConfigResponse.IdentityProviderConfigResponse
instance GHC.Show.Show Amazonka.EKS.Types.IdentityProviderConfigResponse.IdentityProviderConfigResponse
instance GHC.Read.Read Amazonka.EKS.Types.IdentityProviderConfigResponse.IdentityProviderConfigResponse
instance GHC.Classes.Eq Amazonka.EKS.Types.IdentityProviderConfigResponse.IdentityProviderConfigResponse
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.EKS.Types.IdentityProviderConfigResponse.IdentityProviderConfigResponse
instance Data.Hashable.Class.Hashable Amazonka.EKS.Types.IdentityProviderConfigResponse.IdentityProviderConfigResponse
instance Control.DeepSeq.NFData Amazonka.EKS.Types.IdentityProviderConfigResponse.IdentityProviderConfigResponse
module Amazonka.EKS.Types.OidcIdentityProviderConfigRequest
-- | An object representing an OpenID Connect (OIDC) configuration. Before
-- associating an OIDC identity provider to your cluster, review the
-- considerations in Authenticating users for your cluster from an
-- OpenID Connect identity provider in the Amazon EKS User
-- Guide.
--
-- See: newOidcIdentityProviderConfigRequest smart
-- constructor.
data OidcIdentityProviderConfigRequest
OidcIdentityProviderConfigRequest' :: Maybe Text -> Maybe Text -> Maybe (HashMap Text Text) -> Maybe Text -> Maybe Text -> Text -> Text -> Text -> OidcIdentityProviderConfigRequest
-- | The JWT claim that the provider uses to return your groups.
[$sel:groupsClaim:OidcIdentityProviderConfigRequest'] :: OidcIdentityProviderConfigRequest -> Maybe Text
-- | The prefix that is prepended to group claims to prevent clashes with
-- existing names (such as system: groups). For example, the
-- value oidc: will create group names like
-- oidc:engineering and oidc:infra.
[$sel:groupsPrefix:OidcIdentityProviderConfigRequest'] :: OidcIdentityProviderConfigRequest -> Maybe Text
-- | The key value pairs that describe required claims in the identity
-- token. If set, each claim is verified to be present in the token with
-- a matching value. For the maximum number of claims that you can
-- require, see Amazon EKS service quotas in the Amazon EKS
-- User Guide.
[$sel:requiredClaims:OidcIdentityProviderConfigRequest'] :: OidcIdentityProviderConfigRequest -> Maybe (HashMap Text Text)
-- | The JSON Web Token (JWT) claim to use as the username. The default is
-- sub, which is expected to be a unique identifier of the end
-- user. You can choose other claims, such as email or
-- name, depending on the OpenID identity provider. Claims other
-- than email are prefixed with the issuer URL to prevent naming
-- clashes with other plug-ins.
[$sel:usernameClaim:OidcIdentityProviderConfigRequest'] :: OidcIdentityProviderConfigRequest -> Maybe Text
-- | The prefix that is prepended to username claims to prevent clashes
-- with existing names. If you do not provide this field, and
-- username is a value other than email, the prefix
-- defaults to issuerurl#. You can use the value - to
-- disable all prefixing.
[$sel:usernamePrefix:OidcIdentityProviderConfigRequest'] :: OidcIdentityProviderConfigRequest -> Maybe Text
-- | The name of the OIDC provider configuration.
[$sel:identityProviderConfigName:OidcIdentityProviderConfigRequest'] :: OidcIdentityProviderConfigRequest -> Text
-- | The URL of the OpenID identity provider that allows the API server to
-- discover public signing keys for verifying tokens. The URL must begin
-- with https:// and should correspond to the iss claim
-- in the provider's OIDC ID tokens. Per the OIDC standard, path
-- components are allowed but query parameters are not. Typically the URL
-- consists of only a hostname, like https://server.example.org
-- or https://example.com. This URL should point to the level
-- below .well-known/openid-configuration and must be publicly
-- accessible over the internet.
[$sel:issuerUrl:OidcIdentityProviderConfigRequest'] :: OidcIdentityProviderConfigRequest -> Text
-- | This is also known as audience. The ID for the client
-- application that makes authentication requests to the OpenID identity
-- provider.
[$sel:clientId:OidcIdentityProviderConfigRequest'] :: OidcIdentityProviderConfigRequest -> Text
-- | Create a value of OidcIdentityProviderConfigRequest with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:groupsClaim:OidcIdentityProviderConfigRequest',
-- oidcIdentityProviderConfigRequest_groupsClaim - The JWT claim
-- that the provider uses to return your groups.
--
-- $sel:groupsPrefix:OidcIdentityProviderConfigRequest',
-- oidcIdentityProviderConfigRequest_groupsPrefix - The prefix
-- that is prepended to group claims to prevent clashes with existing
-- names (such as system: groups). For example, the value
-- oidc: will create group names like oidc:engineering and
-- oidc:infra.
--
-- $sel:requiredClaims:OidcIdentityProviderConfigRequest',
-- oidcIdentityProviderConfigRequest_requiredClaims - The key
-- value pairs that describe required claims in the identity token. If
-- set, each claim is verified to be present in the token with a matching
-- value. For the maximum number of claims that you can require, see
-- Amazon EKS service quotas in the Amazon EKS User Guide.
--
-- $sel:usernameClaim:OidcIdentityProviderConfigRequest',
-- oidcIdentityProviderConfigRequest_usernameClaim - The JSON Web
-- Token (JWT) claim to use as the username. The default is sub,
-- which is expected to be a unique identifier of the end user. You can
-- choose other claims, such as email or name,
-- depending on the OpenID identity provider. Claims other than
-- email are prefixed with the issuer URL to prevent naming
-- clashes with other plug-ins.
--
-- $sel:usernamePrefix:OidcIdentityProviderConfigRequest',
-- oidcIdentityProviderConfigRequest_usernamePrefix - The prefix
-- that is prepended to username claims to prevent clashes with existing
-- names. If you do not provide this field, and username is a
-- value other than email, the prefix defaults to
-- issuerurl#. You can use the value - to disable all
-- prefixing.
--
--
-- $sel:identityProviderConfigName:OidcIdentityProviderConfigRequest',
-- oidcIdentityProviderConfigRequest_identityProviderConfigName -
-- The name of the OIDC provider configuration.
--
-- $sel:issuerUrl:OidcIdentityProviderConfigRequest',
-- oidcIdentityProviderConfigRequest_issuerUrl - The URL of the
-- OpenID identity provider that allows the API server to discover public
-- signing keys for verifying tokens. The URL must begin with
-- https:// and should correspond to the iss claim in
-- the provider's OIDC ID tokens. Per the OIDC standard, path components
-- are allowed but query parameters are not. Typically the URL consists
-- of only a hostname, like https://server.example.org or
-- https://example.com. This URL should point to the level below
-- .well-known/openid-configuration and must be publicly
-- accessible over the internet.
--
-- $sel:clientId:OidcIdentityProviderConfigRequest',
-- oidcIdentityProviderConfigRequest_clientId - This is also known
-- as audience. The ID for the client application that makes
-- authentication requests to the OpenID identity provider.
newOidcIdentityProviderConfigRequest :: Text -> Text -> Text -> OidcIdentityProviderConfigRequest
-- | The JWT claim that the provider uses to return your groups.
oidcIdentityProviderConfigRequest_groupsClaim :: Lens' OidcIdentityProviderConfigRequest (Maybe Text)
-- | The prefix that is prepended to group claims to prevent clashes with
-- existing names (such as system: groups). For example, the
-- value oidc: will create group names like
-- oidc:engineering and oidc:infra.
oidcIdentityProviderConfigRequest_groupsPrefix :: Lens' OidcIdentityProviderConfigRequest (Maybe Text)
-- | The key value pairs that describe required claims in the identity
-- token. If set, each claim is verified to be present in the token with
-- a matching value. For the maximum number of claims that you can
-- require, see Amazon EKS service quotas in the Amazon EKS
-- User Guide.
oidcIdentityProviderConfigRequest_requiredClaims :: Lens' OidcIdentityProviderConfigRequest (Maybe (HashMap Text Text))
-- | The JSON Web Token (JWT) claim to use as the username. The default is
-- sub, which is expected to be a unique identifier of the end
-- user. You can choose other claims, such as email or
-- name, depending on the OpenID identity provider. Claims other
-- than email are prefixed with the issuer URL to prevent naming
-- clashes with other plug-ins.
oidcIdentityProviderConfigRequest_usernameClaim :: Lens' OidcIdentityProviderConfigRequest (Maybe Text)
-- | The prefix that is prepended to username claims to prevent clashes
-- with existing names. If you do not provide this field, and
-- username is a value other than email, the prefix
-- defaults to issuerurl#. You can use the value - to
-- disable all prefixing.
oidcIdentityProviderConfigRequest_usernamePrefix :: Lens' OidcIdentityProviderConfigRequest (Maybe Text)
-- | The name of the OIDC provider configuration.
oidcIdentityProviderConfigRequest_identityProviderConfigName :: Lens' OidcIdentityProviderConfigRequest Text
-- | The URL of the OpenID identity provider that allows the API server to
-- discover public signing keys for verifying tokens. The URL must begin
-- with https:// and should correspond to the iss claim
-- in the provider's OIDC ID tokens. Per the OIDC standard, path
-- components are allowed but query parameters are not. Typically the URL
-- consists of only a hostname, like https://server.example.org
-- or https://example.com. This URL should point to the level
-- below .well-known/openid-configuration and must be publicly
-- accessible over the internet.
oidcIdentityProviderConfigRequest_issuerUrl :: Lens' OidcIdentityProviderConfigRequest Text
-- | This is also known as audience. The ID for the client
-- application that makes authentication requests to the OpenID identity
-- provider.
oidcIdentityProviderConfigRequest_clientId :: Lens' OidcIdentityProviderConfigRequest Text
instance GHC.Generics.Generic Amazonka.EKS.Types.OidcIdentityProviderConfigRequest.OidcIdentityProviderConfigRequest
instance GHC.Show.Show Amazonka.EKS.Types.OidcIdentityProviderConfigRequest.OidcIdentityProviderConfigRequest
instance GHC.Read.Read Amazonka.EKS.Types.OidcIdentityProviderConfigRequest.OidcIdentityProviderConfigRequest
instance GHC.Classes.Eq Amazonka.EKS.Types.OidcIdentityProviderConfigRequest.OidcIdentityProviderConfigRequest
instance Data.Hashable.Class.Hashable Amazonka.EKS.Types.OidcIdentityProviderConfigRequest.OidcIdentityProviderConfigRequest
instance Control.DeepSeq.NFData Amazonka.EKS.Types.OidcIdentityProviderConfigRequest.OidcIdentityProviderConfigRequest
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.EKS.Types.OidcIdentityProviderConfigRequest.OidcIdentityProviderConfigRequest
module Amazonka.EKS.Types.OutpostConfigRequest
-- | The configuration of your local Amazon EKS cluster on an Amazon Web
-- Services Outpost. Before creating a cluster on an Outpost, review
-- Creating a local cluster on an Outpost in the Amazon EKS
-- User Guide. This API isn't available for Amazon EKS clusters on
-- the Amazon Web Services cloud.
--
-- See: newOutpostConfigRequest smart constructor.
data OutpostConfigRequest
OutpostConfigRequest' :: Maybe ControlPlanePlacementRequest -> [Text] -> Text -> OutpostConfigRequest
-- | An object representing the placement configuration for all the control
-- plane instances of your local Amazon EKS cluster on an Amazon Web
-- Services Outpost. For more information, see Capacity
-- considerations in the Amazon EKS User Guide.
[$sel:controlPlanePlacement:OutpostConfigRequest'] :: OutpostConfigRequest -> Maybe ControlPlanePlacementRequest
-- | The ARN of the Outpost that you want to use for your local Amazon EKS
-- cluster on Outposts. Only a single Outpost ARN is supported.
[$sel:outpostArns:OutpostConfigRequest'] :: OutpostConfigRequest -> [Text]
-- | The Amazon EC2 instance type that you want to use for your local
-- Amazon EKS cluster on Outposts. Choose an instance type based on the
-- number of nodes that your cluster will have. For more information, see
-- Capacity considerations in the Amazon EKS User Guide.
--
-- The instance type that you specify is used for all Kubernetes control
-- plane instances. The instance type can't be changed after cluster
-- creation. The control plane is not automatically scaled by Amazon EKS.
[$sel:controlPlaneInstanceType:OutpostConfigRequest'] :: OutpostConfigRequest -> Text
-- | Create a value of OutpostConfigRequest with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:controlPlanePlacement:OutpostConfigRequest',
-- outpostConfigRequest_controlPlanePlacement - An object
-- representing the placement configuration for all the control plane
-- instances of your local Amazon EKS cluster on an Amazon Web Services
-- Outpost. For more information, see Capacity considerations in
-- the Amazon EKS User Guide.
--
-- $sel:outpostArns:OutpostConfigRequest',
-- outpostConfigRequest_outpostArns - The ARN of the Outpost that
-- you want to use for your local Amazon EKS cluster on Outposts. Only a
-- single Outpost ARN is supported.
--
-- $sel:controlPlaneInstanceType:OutpostConfigRequest',
-- outpostConfigRequest_controlPlaneInstanceType - The Amazon EC2
-- instance type that you want to use for your local Amazon EKS cluster
-- on Outposts. Choose an instance type based on the number of nodes that
-- your cluster will have. For more information, see Capacity
-- considerations in the Amazon EKS User Guide.
--
-- The instance type that you specify is used for all Kubernetes control
-- plane instances. The instance type can't be changed after cluster
-- creation. The control plane is not automatically scaled by Amazon EKS.
newOutpostConfigRequest :: Text -> OutpostConfigRequest
-- | An object representing the placement configuration for all the control
-- plane instances of your local Amazon EKS cluster on an Amazon Web
-- Services Outpost. For more information, see Capacity
-- considerations in the Amazon EKS User Guide.
outpostConfigRequest_controlPlanePlacement :: Lens' OutpostConfigRequest (Maybe ControlPlanePlacementRequest)
-- | The ARN of the Outpost that you want to use for your local Amazon EKS
-- cluster on Outposts. Only a single Outpost ARN is supported.
outpostConfigRequest_outpostArns :: Lens' OutpostConfigRequest [Text]
-- | The Amazon EC2 instance type that you want to use for your local
-- Amazon EKS cluster on Outposts. Choose an instance type based on the
-- number of nodes that your cluster will have. For more information, see
-- Capacity considerations in the Amazon EKS User Guide.
--
-- The instance type that you specify is used for all Kubernetes control
-- plane instances. The instance type can't be changed after cluster
-- creation. The control plane is not automatically scaled by Amazon EKS.
outpostConfigRequest_controlPlaneInstanceType :: Lens' OutpostConfigRequest Text
instance GHC.Generics.Generic Amazonka.EKS.Types.OutpostConfigRequest.OutpostConfigRequest
instance GHC.Show.Show Amazonka.EKS.Types.OutpostConfigRequest.OutpostConfigRequest
instance GHC.Read.Read Amazonka.EKS.Types.OutpostConfigRequest.OutpostConfigRequest
instance GHC.Classes.Eq Amazonka.EKS.Types.OutpostConfigRequest.OutpostConfigRequest
instance Data.Hashable.Class.Hashable Amazonka.EKS.Types.OutpostConfigRequest.OutpostConfigRequest
instance Control.DeepSeq.NFData Amazonka.EKS.Types.OutpostConfigRequest.OutpostConfigRequest
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.EKS.Types.OutpostConfigRequest.OutpostConfigRequest
module Amazonka.EKS.Types.OutpostConfigResponse
-- | An object representing the configuration of your local Amazon EKS
-- cluster on an Amazon Web Services Outpost. This API isn't available
-- for Amazon EKS clusters on the Amazon Web Services cloud.
--
-- See: newOutpostConfigResponse smart constructor.
data OutpostConfigResponse
OutpostConfigResponse' :: Maybe ControlPlanePlacementResponse -> [Text] -> Text -> OutpostConfigResponse
-- | An object representing the placement configuration for all the control
-- plane instances of your local Amazon EKS cluster on an Amazon Web
-- Services Outpost. For more information, see Capacity
-- considerations in the Amazon EKS User Guide.
[$sel:controlPlanePlacement:OutpostConfigResponse'] :: OutpostConfigResponse -> Maybe ControlPlanePlacementResponse
-- | The ARN of the Outpost that you specified for use with your local
-- Amazon EKS cluster on Outposts.
[$sel:outpostArns:OutpostConfigResponse'] :: OutpostConfigResponse -> [Text]
-- | The Amazon EC2 instance type used for the control plane. The instance
-- type is the same for all control plane instances.
[$sel:controlPlaneInstanceType:OutpostConfigResponse'] :: OutpostConfigResponse -> Text
-- | Create a value of OutpostConfigResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:controlPlanePlacement:OutpostConfigResponse',
-- outpostConfigResponse_controlPlanePlacement - An object
-- representing the placement configuration for all the control plane
-- instances of your local Amazon EKS cluster on an Amazon Web Services
-- Outpost. For more information, see Capacity considerations in
-- the Amazon EKS User Guide.
--
-- $sel:outpostArns:OutpostConfigResponse',
-- outpostConfigResponse_outpostArns - The ARN of the Outpost that
-- you specified for use with your local Amazon EKS cluster on Outposts.
--
-- $sel:controlPlaneInstanceType:OutpostConfigResponse',
-- outpostConfigResponse_controlPlaneInstanceType - The Amazon EC2
-- instance type used for the control plane. The instance type is the
-- same for all control plane instances.
newOutpostConfigResponse :: Text -> OutpostConfigResponse
-- | An object representing the placement configuration for all the control
-- plane instances of your local Amazon EKS cluster on an Amazon Web
-- Services Outpost. For more information, see Capacity
-- considerations in the Amazon EKS User Guide.
outpostConfigResponse_controlPlanePlacement :: Lens' OutpostConfigResponse (Maybe ControlPlanePlacementResponse)
-- | The ARN of the Outpost that you specified for use with your local
-- Amazon EKS cluster on Outposts.
outpostConfigResponse_outpostArns :: Lens' OutpostConfigResponse [Text]
-- | The Amazon EC2 instance type used for the control plane. The instance
-- type is the same for all control plane instances.
outpostConfigResponse_controlPlaneInstanceType :: Lens' OutpostConfigResponse Text
instance GHC.Generics.Generic Amazonka.EKS.Types.OutpostConfigResponse.OutpostConfigResponse
instance GHC.Show.Show Amazonka.EKS.Types.OutpostConfigResponse.OutpostConfigResponse
instance GHC.Read.Read Amazonka.EKS.Types.OutpostConfigResponse.OutpostConfigResponse
instance GHC.Classes.Eq Amazonka.EKS.Types.OutpostConfigResponse.OutpostConfigResponse
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.EKS.Types.OutpostConfigResponse.OutpostConfigResponse
instance Data.Hashable.Class.Hashable Amazonka.EKS.Types.OutpostConfigResponse.OutpostConfigResponse
instance Control.DeepSeq.NFData Amazonka.EKS.Types.OutpostConfigResponse.OutpostConfigResponse
module Amazonka.EKS.Types.Provider
-- | Identifies the Key Management Service (KMS) key used to encrypt the
-- secrets.
--
-- See: newProvider smart constructor.
data Provider
Provider' :: Maybe Text -> Provider
-- | Amazon Resource Name (ARN) or alias of the KMS key. The KMS key must
-- be symmetric, created in the same region as the cluster, and if the
-- KMS key was created in a different account, the user must have access
-- to the KMS key. For more information, see Allowing Users in Other
-- Accounts to Use a KMS key in the Key Management Service
-- Developer Guide.
[$sel:keyArn:Provider'] :: Provider -> Maybe Text
-- | Create a value of Provider with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:keyArn:Provider', provider_keyArn - Amazon Resource
-- Name (ARN) or alias of the KMS key. The KMS key must be symmetric,
-- created in the same region as the cluster, and if the KMS key was
-- created in a different account, the user must have access to the KMS
-- key. For more information, see Allowing Users in Other Accounts to
-- Use a KMS key in the Key Management Service Developer
-- Guide.
newProvider :: Provider
-- | Amazon Resource Name (ARN) or alias of the KMS key. The KMS key must
-- be symmetric, created in the same region as the cluster, and if the
-- KMS key was created in a different account, the user must have access
-- to the KMS key. For more information, see Allowing Users in Other
-- Accounts to Use a KMS key in the Key Management Service
-- Developer Guide.
provider_keyArn :: Lens' Provider (Maybe Text)
instance GHC.Generics.Generic Amazonka.EKS.Types.Provider.Provider
instance GHC.Show.Show Amazonka.EKS.Types.Provider.Provider
instance GHC.Read.Read Amazonka.EKS.Types.Provider.Provider
instance GHC.Classes.Eq Amazonka.EKS.Types.Provider.Provider
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.EKS.Types.Provider.Provider
instance Data.Hashable.Class.Hashable Amazonka.EKS.Types.Provider.Provider
instance Control.DeepSeq.NFData Amazonka.EKS.Types.Provider.Provider
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.EKS.Types.Provider.Provider
module Amazonka.EKS.Types.EncryptionConfig
-- | The encryption configuration for the cluster.
--
-- See: newEncryptionConfig smart constructor.
data EncryptionConfig
EncryptionConfig' :: Maybe Provider -> Maybe [Text] -> EncryptionConfig
-- | Key Management Service (KMS) key. Either the ARN or the alias can be
-- used.
[$sel:provider:EncryptionConfig'] :: EncryptionConfig -> Maybe Provider
-- | Specifies the resources to be encrypted. The only supported value is
-- "secrets".
[$sel:resources:EncryptionConfig'] :: EncryptionConfig -> Maybe [Text]
-- | Create a value of EncryptionConfig with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:provider:EncryptionConfig',
-- encryptionConfig_provider - Key Management Service (KMS) key.
-- Either the ARN or the alias can be used.
--
-- $sel:resources:EncryptionConfig',
-- encryptionConfig_resources - Specifies the resources to be
-- encrypted. The only supported value is "secrets".
newEncryptionConfig :: EncryptionConfig
-- | Key Management Service (KMS) key. Either the ARN or the alias can be
-- used.
encryptionConfig_provider :: Lens' EncryptionConfig (Maybe Provider)
-- | Specifies the resources to be encrypted. The only supported value is
-- "secrets".
encryptionConfig_resources :: Lens' EncryptionConfig (Maybe [Text])
instance GHC.Generics.Generic Amazonka.EKS.Types.EncryptionConfig.EncryptionConfig
instance GHC.Show.Show Amazonka.EKS.Types.EncryptionConfig.EncryptionConfig
instance GHC.Read.Read Amazonka.EKS.Types.EncryptionConfig.EncryptionConfig
instance GHC.Classes.Eq Amazonka.EKS.Types.EncryptionConfig.EncryptionConfig
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.EKS.Types.EncryptionConfig.EncryptionConfig
instance Data.Hashable.Class.Hashable Amazonka.EKS.Types.EncryptionConfig.EncryptionConfig
instance Control.DeepSeq.NFData Amazonka.EKS.Types.EncryptionConfig.EncryptionConfig
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.EKS.Types.EncryptionConfig.EncryptionConfig
module Amazonka.EKS.Types.RemoteAccessConfig
-- | An object representing the remote access configuration for the managed
-- node group.
--
-- See: newRemoteAccessConfig smart constructor.
data RemoteAccessConfig
RemoteAccessConfig' :: Maybe Text -> Maybe [Text] -> RemoteAccessConfig
-- | The Amazon EC2 SSH key name that provides access for SSH communication
-- with the nodes in the managed node group. For more information, see
-- Amazon EC2 key pairs and Linux instances in the Amazon
-- Elastic Compute Cloud User Guide for Linux Instances. For Windows,
-- an Amazon EC2 SSH key is used to obtain the RDP password. For more
-- information, see Amazon EC2 key pairs and Windows instances in
-- the Amazon Elastic Compute Cloud User Guide for Windows
-- Instances.
[$sel:ec2SshKey:RemoteAccessConfig'] :: RemoteAccessConfig -> Maybe Text
-- | The security group IDs that are allowed SSH access (port 22) to the
-- nodes. For Windows, the port is 3389. If you specify an Amazon EC2 SSH
-- key but don't specify a source security group when you create a
-- managed node group, then the port on the nodes is opened to the
-- internet (0.0.0.0/0). For more information, see Security
-- Groups for Your VPC in the Amazon Virtual Private Cloud User
-- Guide.
[$sel:sourceSecurityGroups:RemoteAccessConfig'] :: RemoteAccessConfig -> Maybe [Text]
-- | Create a value of RemoteAccessConfig with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:ec2SshKey:RemoteAccessConfig',
-- remoteAccessConfig_ec2SshKey - The Amazon EC2 SSH key name that
-- provides access for SSH communication with the nodes in the managed
-- node group. For more information, see Amazon EC2 key pairs and
-- Linux instances in the Amazon Elastic Compute Cloud User Guide
-- for Linux Instances. For Windows, an Amazon EC2 SSH key is used to
-- obtain the RDP password. For more information, see Amazon EC2 key
-- pairs and Windows instances in the Amazon Elastic Compute Cloud
-- User Guide for Windows Instances.
--
-- $sel:sourceSecurityGroups:RemoteAccessConfig',
-- remoteAccessConfig_sourceSecurityGroups - The security group
-- IDs that are allowed SSH access (port 22) to the nodes. For Windows,
-- the port is 3389. If you specify an Amazon EC2 SSH key but don't
-- specify a source security group when you create a managed node group,
-- then the port on the nodes is opened to the internet
-- (0.0.0.0/0). For more information, see Security Groups for
-- Your VPC in the Amazon Virtual Private Cloud User Guide.
newRemoteAccessConfig :: RemoteAccessConfig
-- | The Amazon EC2 SSH key name that provides access for SSH communication
-- with the nodes in the managed node group. For more information, see
-- Amazon EC2 key pairs and Linux instances in the Amazon
-- Elastic Compute Cloud User Guide for Linux Instances. For Windows,
-- an Amazon EC2 SSH key is used to obtain the RDP password. For more
-- information, see Amazon EC2 key pairs and Windows instances in
-- the Amazon Elastic Compute Cloud User Guide for Windows
-- Instances.
remoteAccessConfig_ec2SshKey :: Lens' RemoteAccessConfig (Maybe Text)
-- | The security group IDs that are allowed SSH access (port 22) to the
-- nodes. For Windows, the port is 3389. If you specify an Amazon EC2 SSH
-- key but don't specify a source security group when you create a
-- managed node group, then the port on the nodes is opened to the
-- internet (0.0.0.0/0). For more information, see Security
-- Groups for Your VPC in the Amazon Virtual Private Cloud User
-- Guide.
remoteAccessConfig_sourceSecurityGroups :: Lens' RemoteAccessConfig (Maybe [Text])
instance GHC.Generics.Generic Amazonka.EKS.Types.RemoteAccessConfig.RemoteAccessConfig
instance GHC.Show.Show Amazonka.EKS.Types.RemoteAccessConfig.RemoteAccessConfig
instance GHC.Read.Read Amazonka.EKS.Types.RemoteAccessConfig.RemoteAccessConfig
instance GHC.Classes.Eq Amazonka.EKS.Types.RemoteAccessConfig.RemoteAccessConfig
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.EKS.Types.RemoteAccessConfig.RemoteAccessConfig
instance Data.Hashable.Class.Hashable Amazonka.EKS.Types.RemoteAccessConfig.RemoteAccessConfig
instance Control.DeepSeq.NFData Amazonka.EKS.Types.RemoteAccessConfig.RemoteAccessConfig
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.EKS.Types.RemoteAccessConfig.RemoteAccessConfig
module Amazonka.EKS.Types.ResolveConflicts
newtype ResolveConflicts
ResolveConflicts' :: Text -> ResolveConflicts
[fromResolveConflicts] :: ResolveConflicts -> Text
pattern ResolveConflicts_NONE :: ResolveConflicts
pattern ResolveConflicts_OVERWRITE :: ResolveConflicts
pattern ResolveConflicts_PRESERVE :: ResolveConflicts
instance Amazonka.Data.XML.ToXML Amazonka.EKS.Types.ResolveConflicts.ResolveConflicts
instance Amazonka.Data.XML.FromXML Amazonka.EKS.Types.ResolveConflicts.ResolveConflicts
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.EKS.Types.ResolveConflicts.ResolveConflicts
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.EKS.Types.ResolveConflicts.ResolveConflicts
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.EKS.Types.ResolveConflicts.ResolveConflicts
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.EKS.Types.ResolveConflicts.ResolveConflicts
instance Amazonka.Data.Query.ToQuery Amazonka.EKS.Types.ResolveConflicts.ResolveConflicts
instance Amazonka.Data.Headers.ToHeader Amazonka.EKS.Types.ResolveConflicts.ResolveConflicts
instance Amazonka.Data.Log.ToLog Amazonka.EKS.Types.ResolveConflicts.ResolveConflicts
instance Amazonka.Data.ByteString.ToByteString Amazonka.EKS.Types.ResolveConflicts.ResolveConflicts
instance Amazonka.Data.Text.ToText Amazonka.EKS.Types.ResolveConflicts.ResolveConflicts
instance Amazonka.Data.Text.FromText Amazonka.EKS.Types.ResolveConflicts.ResolveConflicts
instance Control.DeepSeq.NFData Amazonka.EKS.Types.ResolveConflicts.ResolveConflicts
instance Data.Hashable.Class.Hashable Amazonka.EKS.Types.ResolveConflicts.ResolveConflicts
instance GHC.Generics.Generic Amazonka.EKS.Types.ResolveConflicts.ResolveConflicts
instance GHC.Classes.Ord Amazonka.EKS.Types.ResolveConflicts.ResolveConflicts
instance GHC.Classes.Eq Amazonka.EKS.Types.ResolveConflicts.ResolveConflicts
instance GHC.Read.Read Amazonka.EKS.Types.ResolveConflicts.ResolveConflicts
instance GHC.Show.Show Amazonka.EKS.Types.ResolveConflicts.ResolveConflicts
module Amazonka.EKS.Types.TaintEffect
newtype TaintEffect
TaintEffect' :: Text -> TaintEffect
[fromTaintEffect] :: TaintEffect -> Text
pattern TaintEffect_NO_EXECUTE :: TaintEffect
pattern TaintEffect_NO_SCHEDULE :: TaintEffect
pattern TaintEffect_PREFER_NO_SCHEDULE :: TaintEffect
instance Amazonka.Data.XML.ToXML Amazonka.EKS.Types.TaintEffect.TaintEffect
instance Amazonka.Data.XML.FromXML Amazonka.EKS.Types.TaintEffect.TaintEffect
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.EKS.Types.TaintEffect.TaintEffect
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.EKS.Types.TaintEffect.TaintEffect
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.EKS.Types.TaintEffect.TaintEffect
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.EKS.Types.TaintEffect.TaintEffect
instance Amazonka.Data.Query.ToQuery Amazonka.EKS.Types.TaintEffect.TaintEffect
instance Amazonka.Data.Headers.ToHeader Amazonka.EKS.Types.TaintEffect.TaintEffect
instance Amazonka.Data.Log.ToLog Amazonka.EKS.Types.TaintEffect.TaintEffect
instance Amazonka.Data.ByteString.ToByteString Amazonka.EKS.Types.TaintEffect.TaintEffect
instance Amazonka.Data.Text.ToText Amazonka.EKS.Types.TaintEffect.TaintEffect
instance Amazonka.Data.Text.FromText Amazonka.EKS.Types.TaintEffect.TaintEffect
instance Control.DeepSeq.NFData Amazonka.EKS.Types.TaintEffect.TaintEffect
instance Data.Hashable.Class.Hashable Amazonka.EKS.Types.TaintEffect.TaintEffect
instance GHC.Generics.Generic Amazonka.EKS.Types.TaintEffect.TaintEffect
instance GHC.Classes.Ord Amazonka.EKS.Types.TaintEffect.TaintEffect
instance GHC.Classes.Eq Amazonka.EKS.Types.TaintEffect.TaintEffect
instance GHC.Read.Read Amazonka.EKS.Types.TaintEffect.TaintEffect
instance GHC.Show.Show Amazonka.EKS.Types.TaintEffect.TaintEffect
module Amazonka.EKS.Types.Taint
-- | A property that allows a node to repel a set of pods. For more
-- information, see Node taints on managed node groups.
--
-- See: newTaint smart constructor.
data Taint
Taint' :: Maybe TaintEffect -> Maybe Text -> Maybe Text -> Taint
-- | The effect of the taint.
[$sel:effect:Taint'] :: Taint -> Maybe TaintEffect
-- | The key of the taint.
[$sel:key:Taint'] :: Taint -> Maybe Text
-- | The value of the taint.
[$sel:value:Taint'] :: Taint -> Maybe Text
-- | Create a value of Taint with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:effect:Taint', taint_effect - The effect of the
-- taint.
--
-- $sel:key:Taint', taint_key - The key of the taint.
--
-- $sel:value:Taint', taint_value - The value of the taint.
newTaint :: Taint
-- | The effect of the taint.
taint_effect :: Lens' Taint (Maybe TaintEffect)
-- | The key of the taint.
taint_key :: Lens' Taint (Maybe Text)
-- | The value of the taint.
taint_value :: Lens' Taint (Maybe Text)
instance GHC.Generics.Generic Amazonka.EKS.Types.Taint.Taint
instance GHC.Show.Show Amazonka.EKS.Types.Taint.Taint
instance GHC.Read.Read Amazonka.EKS.Types.Taint.Taint
instance GHC.Classes.Eq Amazonka.EKS.Types.Taint.Taint
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.EKS.Types.Taint.Taint
instance Data.Hashable.Class.Hashable Amazonka.EKS.Types.Taint.Taint
instance Control.DeepSeq.NFData Amazonka.EKS.Types.Taint.Taint
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.EKS.Types.Taint.Taint
module Amazonka.EKS.Types.Nodegroup
-- | An object representing an Amazon EKS managed node group.
--
-- See: newNodegroup smart constructor.
data Nodegroup
Nodegroup' :: Maybe AMITypes -> Maybe CapacityTypes -> Maybe Text -> Maybe POSIX -> Maybe Int -> Maybe NodegroupHealth -> Maybe [Text] -> Maybe (HashMap Text Text) -> Maybe LaunchTemplateSpecification -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe RemoteAccessConfig -> Maybe NodegroupResources -> Maybe NodegroupScalingConfig -> Maybe NodegroupStatus -> Maybe [Text] -> Maybe (HashMap Text Text) -> Maybe [Taint] -> Maybe NodegroupUpdateConfig -> Maybe Text -> Nodegroup
-- | If the node group was deployed using a launch template with a custom
-- AMI, then this is CUSTOM. For node groups that weren't
-- deployed using a launch template, this is the AMI type that was
-- specified in the node group configuration.
[$sel:amiType:Nodegroup'] :: Nodegroup -> Maybe AMITypes
-- | The capacity type of your managed node group.
[$sel:capacityType:Nodegroup'] :: Nodegroup -> Maybe CapacityTypes
-- | The name of the cluster that the managed node group resides in.
[$sel:clusterName:Nodegroup'] :: Nodegroup -> Maybe Text
-- | The Unix epoch timestamp in seconds for when the managed node group
-- was created.
[$sel:createdAt:Nodegroup'] :: Nodegroup -> Maybe POSIX
-- | If the node group wasn't deployed with a launch template, then this is
-- the disk size in the node group configuration. If the node group was
-- deployed with a launch template, then this is null.
[$sel:diskSize:Nodegroup'] :: Nodegroup -> Maybe Int
-- | The health status of the node group. If there are issues with your
-- node group's health, they are listed here.
[$sel:health:Nodegroup'] :: Nodegroup -> Maybe NodegroupHealth
-- | If the node group wasn't deployed with a launch template, then this is
-- the instance type that is associated with the node group. If the node
-- group was deployed with a launch template, then this is null.
[$sel:instanceTypes:Nodegroup'] :: Nodegroup -> Maybe [Text]
-- | The Kubernetes labels applied to the nodes in the node group.
--
-- Only labels that are applied with the Amazon EKS API are shown here.
-- There may be other Kubernetes labels applied to the nodes in this
-- group.
[$sel:labels:Nodegroup'] :: Nodegroup -> Maybe (HashMap Text Text)
-- | If a launch template was used to create the node group, then this is
-- the launch template that was used.
[$sel:launchTemplate:Nodegroup'] :: Nodegroup -> Maybe LaunchTemplateSpecification
-- | The Unix epoch timestamp in seconds for when the managed node group
-- was last modified.
[$sel:modifiedAt:Nodegroup'] :: Nodegroup -> Maybe POSIX
-- | The IAM role associated with your node group. The Amazon EKS node
-- kubelet daemon makes calls to Amazon Web Services APIs on
-- your behalf. Nodes receive permissions for these API calls through an
-- IAM instance profile and associated policies.
[$sel:nodeRole:Nodegroup'] :: Nodegroup -> Maybe Text
-- | The Amazon Resource Name (ARN) associated with the managed node group.
[$sel:nodegroupArn:Nodegroup'] :: Nodegroup -> Maybe Text
-- | The name associated with an Amazon EKS managed node group.
[$sel:nodegroupName:Nodegroup'] :: Nodegroup -> Maybe Text
-- | If the node group was deployed using a launch template with a custom
-- AMI, then this is the AMI ID that was specified in the launch
-- template. For node groups that weren't deployed using a launch
-- template, this is the version of the Amazon EKS optimized AMI that the
-- node group was deployed with.
[$sel:releaseVersion:Nodegroup'] :: Nodegroup -> Maybe Text
-- | If the node group wasn't deployed with a launch template, then this is
-- the remote access configuration that is associated with the node
-- group. If the node group was deployed with a launch template, then
-- this is null.
[$sel:remoteAccess:Nodegroup'] :: Nodegroup -> Maybe RemoteAccessConfig
-- | The resources associated with the node group, such as Auto Scaling
-- groups and security groups for remote access.
[$sel:resources:Nodegroup'] :: Nodegroup -> Maybe NodegroupResources
-- | The scaling configuration details for the Auto Scaling group that is
-- associated with your node group.
[$sel:scalingConfig:Nodegroup'] :: Nodegroup -> Maybe NodegroupScalingConfig
-- | The current status of the managed node group.
[$sel:status:Nodegroup'] :: Nodegroup -> Maybe NodegroupStatus
-- | The subnets that were specified for the Auto Scaling group that is
-- associated with your node group.
[$sel:subnets:Nodegroup'] :: Nodegroup -> Maybe [Text]
-- | The metadata applied to the node group to assist with categorization
-- and organization. Each tag consists of a key and an optional value.
-- You define both. Node group tags do not propagate to any other
-- resources associated with the node group, such as the Amazon EC2
-- instances or subnets.
[$sel:tags:Nodegroup'] :: Nodegroup -> Maybe (HashMap Text Text)
-- | The Kubernetes taints to be applied to the nodes in the node group
-- when they are created. Effect is one of No_Schedule,
-- Prefer_No_Schedule, or No_Execute. Kubernetes taints
-- can be used together with tolerations to control how workloads are
-- scheduled to your nodes. For more information, see Node taints on
-- managed node groups.
[$sel:taints:Nodegroup'] :: Nodegroup -> Maybe [Taint]
-- | The node group update configuration.
[$sel:updateConfig:Nodegroup'] :: Nodegroup -> Maybe NodegroupUpdateConfig
-- | The Kubernetes version of the managed node group.
[$sel:version:Nodegroup'] :: Nodegroup -> Maybe Text
-- | Create a value of Nodegroup with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:amiType:Nodegroup', nodegroup_amiType - If the node
-- group was deployed using a launch template with a custom AMI, then
-- this is CUSTOM. For node groups that weren't deployed using a
-- launch template, this is the AMI type that was specified in the node
-- group configuration.
--
-- $sel:capacityType:Nodegroup', nodegroup_capacityType -
-- The capacity type of your managed node group.
--
-- $sel:clusterName:Nodegroup', nodegroup_clusterName - The
-- name of the cluster that the managed node group resides in.
--
-- $sel:createdAt:Nodegroup', nodegroup_createdAt - The
-- Unix epoch timestamp in seconds for when the managed node group was
-- created.
--
-- $sel:diskSize:Nodegroup', nodegroup_diskSize - If the
-- node group wasn't deployed with a launch template, then this is the
-- disk size in the node group configuration. If the node group was
-- deployed with a launch template, then this is null.
--
-- $sel:health:Nodegroup', nodegroup_health - The health
-- status of the node group. If there are issues with your node group's
-- health, they are listed here.
--
-- $sel:instanceTypes:Nodegroup', nodegroup_instanceTypes -
-- If the node group wasn't deployed with a launch template, then this is
-- the instance type that is associated with the node group. If the node
-- group was deployed with a launch template, then this is null.
--
-- $sel:labels:Nodegroup', nodegroup_labels - The
-- Kubernetes labels applied to the nodes in the node group.
--
-- Only labels that are applied with the Amazon EKS API are shown here.
-- There may be other Kubernetes labels applied to the nodes in this
-- group.
--
-- $sel:launchTemplate:Nodegroup', nodegroup_launchTemplate
-- - If a launch template was used to create the node group, then this is
-- the launch template that was used.
--
-- $sel:modifiedAt:Nodegroup', nodegroup_modifiedAt - The
-- Unix epoch timestamp in seconds for when the managed node group was
-- last modified.
--
-- $sel:nodeRole:Nodegroup', nodegroup_nodeRole - The IAM
-- role associated with your node group. The Amazon EKS node
-- kubelet daemon makes calls to Amazon Web Services APIs on
-- your behalf. Nodes receive permissions for these API calls through an
-- IAM instance profile and associated policies.
--
-- $sel:nodegroupArn:Nodegroup', nodegroup_nodegroupArn -
-- The Amazon Resource Name (ARN) associated with the managed node group.
--
-- $sel:nodegroupName:Nodegroup', nodegroup_nodegroupName -
-- The name associated with an Amazon EKS managed node group.
--
-- $sel:releaseVersion:Nodegroup', nodegroup_releaseVersion
-- - If the node group was deployed using a launch template with a custom
-- AMI, then this is the AMI ID that was specified in the launch
-- template. For node groups that weren't deployed using a launch
-- template, this is the version of the Amazon EKS optimized AMI that the
-- node group was deployed with.
--
-- $sel:remoteAccess:Nodegroup', nodegroup_remoteAccess -
-- If the node group wasn't deployed with a launch template, then this is
-- the remote access configuration that is associated with the node
-- group. If the node group was deployed with a launch template, then
-- this is null.
--
-- $sel:resources:Nodegroup', nodegroup_resources - The
-- resources associated with the node group, such as Auto Scaling groups
-- and security groups for remote access.
--
-- $sel:scalingConfig:Nodegroup', nodegroup_scalingConfig -
-- The scaling configuration details for the Auto Scaling group that is
-- associated with your node group.
--
-- $sel:status:Nodegroup', nodegroup_status - The current
-- status of the managed node group.
--
-- $sel:subnets:Nodegroup', nodegroup_subnets - The subnets
-- that were specified for the Auto Scaling group that is associated with
-- your node group.
--
-- $sel:tags:Nodegroup', nodegroup_tags - The metadata
-- applied to the node group to assist with categorization and
-- organization. Each tag consists of a key and an optional value. You
-- define both. Node group tags do not propagate to any other resources
-- associated with the node group, such as the Amazon EC2 instances or
-- subnets.
--
-- $sel:taints:Nodegroup', nodegroup_taints - The
-- Kubernetes taints to be applied to the nodes in the node group when
-- they are created. Effect is one of No_Schedule,
-- Prefer_No_Schedule, or No_Execute. Kubernetes taints
-- can be used together with tolerations to control how workloads are
-- scheduled to your nodes. For more information, see Node taints on
-- managed node groups.
--
-- $sel:updateConfig:Nodegroup', nodegroup_updateConfig -
-- The node group update configuration.
--
-- Nodegroup, nodegroup_version - The Kubernetes version of
-- the managed node group.
newNodegroup :: Nodegroup
-- | If the node group was deployed using a launch template with a custom
-- AMI, then this is CUSTOM. For node groups that weren't
-- deployed using a launch template, this is the AMI type that was
-- specified in the node group configuration.
nodegroup_amiType :: Lens' Nodegroup (Maybe AMITypes)
-- | The capacity type of your managed node group.
nodegroup_capacityType :: Lens' Nodegroup (Maybe CapacityTypes)
-- | The name of the cluster that the managed node group resides in.
nodegroup_clusterName :: Lens' Nodegroup (Maybe Text)
-- | The Unix epoch timestamp in seconds for when the managed node group
-- was created.
nodegroup_createdAt :: Lens' Nodegroup (Maybe UTCTime)
-- | If the node group wasn't deployed with a launch template, then this is
-- the disk size in the node group configuration. If the node group was
-- deployed with a launch template, then this is null.
nodegroup_diskSize :: Lens' Nodegroup (Maybe Int)
-- | The health status of the node group. If there are issues with your
-- node group's health, they are listed here.
nodegroup_health :: Lens' Nodegroup (Maybe NodegroupHealth)
-- | If the node group wasn't deployed with a launch template, then this is
-- the instance type that is associated with the node group. If the node
-- group was deployed with a launch template, then this is null.
nodegroup_instanceTypes :: Lens' Nodegroup (Maybe [Text])
-- | The Kubernetes labels applied to the nodes in the node group.
--
-- Only labels that are applied with the Amazon EKS API are shown here.
-- There may be other Kubernetes labels applied to the nodes in this
-- group.
nodegroup_labels :: Lens' Nodegroup (Maybe (HashMap Text Text))
-- | If a launch template was used to create the node group, then this is
-- the launch template that was used.
nodegroup_launchTemplate :: Lens' Nodegroup (Maybe LaunchTemplateSpecification)
-- | The Unix epoch timestamp in seconds for when the managed node group
-- was last modified.
nodegroup_modifiedAt :: Lens' Nodegroup (Maybe UTCTime)
-- | The IAM role associated with your node group. The Amazon EKS node
-- kubelet daemon makes calls to Amazon Web Services APIs on
-- your behalf. Nodes receive permissions for these API calls through an
-- IAM instance profile and associated policies.
nodegroup_nodeRole :: Lens' Nodegroup (Maybe Text)
-- | The Amazon Resource Name (ARN) associated with the managed node group.
nodegroup_nodegroupArn :: Lens' Nodegroup (Maybe Text)
-- | The name associated with an Amazon EKS managed node group.
nodegroup_nodegroupName :: Lens' Nodegroup (Maybe Text)
-- | If the node group was deployed using a launch template with a custom
-- AMI, then this is the AMI ID that was specified in the launch
-- template. For node groups that weren't deployed using a launch
-- template, this is the version of the Amazon EKS optimized AMI that the
-- node group was deployed with.
nodegroup_releaseVersion :: Lens' Nodegroup (Maybe Text)
-- | If the node group wasn't deployed with a launch template, then this is
-- the remote access configuration that is associated with the node
-- group. If the node group was deployed with a launch template, then
-- this is null.
nodegroup_remoteAccess :: Lens' Nodegroup (Maybe RemoteAccessConfig)
-- | The resources associated with the node group, such as Auto Scaling
-- groups and security groups for remote access.
nodegroup_resources :: Lens' Nodegroup (Maybe NodegroupResources)
-- | The scaling configuration details for the Auto Scaling group that is
-- associated with your node group.
nodegroup_scalingConfig :: Lens' Nodegroup (Maybe NodegroupScalingConfig)
-- | The current status of the managed node group.
nodegroup_status :: Lens' Nodegroup (Maybe NodegroupStatus)
-- | The subnets that were specified for the Auto Scaling group that is
-- associated with your node group.
nodegroup_subnets :: Lens' Nodegroup (Maybe [Text])
-- | The metadata applied to the node group to assist with categorization
-- and organization. Each tag consists of a key and an optional value.
-- You define both. Node group tags do not propagate to any other
-- resources associated with the node group, such as the Amazon EC2
-- instances or subnets.
nodegroup_tags :: Lens' Nodegroup (Maybe (HashMap Text Text))
-- | The Kubernetes taints to be applied to the nodes in the node group
-- when they are created. Effect is one of No_Schedule,
-- Prefer_No_Schedule, or No_Execute. Kubernetes taints
-- can be used together with tolerations to control how workloads are
-- scheduled to your nodes. For more information, see Node taints on
-- managed node groups.
nodegroup_taints :: Lens' Nodegroup (Maybe [Taint])
-- | The node group update configuration.
nodegroup_updateConfig :: Lens' Nodegroup (Maybe NodegroupUpdateConfig)
-- | The Kubernetes version of the managed node group.
nodegroup_version :: Lens' Nodegroup (Maybe Text)
instance GHC.Generics.Generic Amazonka.EKS.Types.Nodegroup.Nodegroup
instance GHC.Show.Show Amazonka.EKS.Types.Nodegroup.Nodegroup
instance GHC.Read.Read Amazonka.EKS.Types.Nodegroup.Nodegroup
instance GHC.Classes.Eq Amazonka.EKS.Types.Nodegroup.Nodegroup
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.EKS.Types.Nodegroup.Nodegroup
instance Data.Hashable.Class.Hashable Amazonka.EKS.Types.Nodegroup.Nodegroup
instance Control.DeepSeq.NFData Amazonka.EKS.Types.Nodegroup.Nodegroup
module Amazonka.EKS.Types.UpdateLabelsPayload
-- | An object representing a Kubernetes label change for a managed node
-- group.
--
-- See: newUpdateLabelsPayload smart constructor.
data UpdateLabelsPayload
UpdateLabelsPayload' :: Maybe (HashMap Text Text) -> Maybe [Text] -> UpdateLabelsPayload
-- | Kubernetes labels to be added or updated.
[$sel:addOrUpdateLabels:UpdateLabelsPayload'] :: UpdateLabelsPayload -> Maybe (HashMap Text Text)
-- | Kubernetes labels to be removed.
[$sel:removeLabels:UpdateLabelsPayload'] :: UpdateLabelsPayload -> Maybe [Text]
-- | Create a value of UpdateLabelsPayload with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:addOrUpdateLabels:UpdateLabelsPayload',
-- updateLabelsPayload_addOrUpdateLabels - Kubernetes labels to be
-- added or updated.
--
-- $sel:removeLabels:UpdateLabelsPayload',
-- updateLabelsPayload_removeLabels - Kubernetes labels to be
-- removed.
newUpdateLabelsPayload :: UpdateLabelsPayload
-- | Kubernetes labels to be added or updated.
updateLabelsPayload_addOrUpdateLabels :: Lens' UpdateLabelsPayload (Maybe (HashMap Text Text))
-- | Kubernetes labels to be removed.
updateLabelsPayload_removeLabels :: Lens' UpdateLabelsPayload (Maybe [Text])
instance GHC.Generics.Generic Amazonka.EKS.Types.UpdateLabelsPayload.UpdateLabelsPayload
instance GHC.Show.Show Amazonka.EKS.Types.UpdateLabelsPayload.UpdateLabelsPayload
instance GHC.Read.Read Amazonka.EKS.Types.UpdateLabelsPayload.UpdateLabelsPayload
instance GHC.Classes.Eq Amazonka.EKS.Types.UpdateLabelsPayload.UpdateLabelsPayload
instance Data.Hashable.Class.Hashable Amazonka.EKS.Types.UpdateLabelsPayload.UpdateLabelsPayload
instance Control.DeepSeq.NFData Amazonka.EKS.Types.UpdateLabelsPayload.UpdateLabelsPayload
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.EKS.Types.UpdateLabelsPayload.UpdateLabelsPayload
module Amazonka.EKS.Types.UpdateParamType
newtype UpdateParamType
UpdateParamType' :: Text -> UpdateParamType
[fromUpdateParamType] :: UpdateParamType -> Text
pattern UpdateParamType_AddonVersion :: UpdateParamType
pattern UpdateParamType_ClusterLogging :: UpdateParamType
pattern UpdateParamType_DesiredSize :: UpdateParamType
pattern UpdateParamType_EncryptionConfig :: UpdateParamType
pattern UpdateParamType_EndpointPrivateAccess :: UpdateParamType
pattern UpdateParamType_EndpointPublicAccess :: UpdateParamType
pattern UpdateParamType_IdentityProviderConfig :: UpdateParamType
pattern UpdateParamType_LabelsToAdd :: UpdateParamType
pattern UpdateParamType_LabelsToRemove :: UpdateParamType
pattern UpdateParamType_LaunchTemplateName :: UpdateParamType
pattern UpdateParamType_LaunchTemplateVersion :: UpdateParamType
pattern UpdateParamType_MaxSize :: UpdateParamType
pattern UpdateParamType_MaxUnavailable :: UpdateParamType
pattern UpdateParamType_MaxUnavailablePercentage :: UpdateParamType
pattern UpdateParamType_MinSize :: UpdateParamType
pattern UpdateParamType_PlatformVersion :: UpdateParamType
pattern UpdateParamType_PublicAccessCidrs :: UpdateParamType
pattern UpdateParamType_ReleaseVersion :: UpdateParamType
pattern UpdateParamType_ResolveConflicts :: UpdateParamType
pattern UpdateParamType_ServiceAccountRoleArn :: UpdateParamType
pattern UpdateParamType_TaintsToAdd :: UpdateParamType
pattern UpdateParamType_TaintsToRemove :: UpdateParamType
pattern UpdateParamType_Version :: UpdateParamType
instance Amazonka.Data.XML.ToXML Amazonka.EKS.Types.UpdateParamType.UpdateParamType
instance Amazonka.Data.XML.FromXML Amazonka.EKS.Types.UpdateParamType.UpdateParamType
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.EKS.Types.UpdateParamType.UpdateParamType
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.EKS.Types.UpdateParamType.UpdateParamType
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.EKS.Types.UpdateParamType.UpdateParamType
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.EKS.Types.UpdateParamType.UpdateParamType
instance Amazonka.Data.Query.ToQuery Amazonka.EKS.Types.UpdateParamType.UpdateParamType
instance Amazonka.Data.Headers.ToHeader Amazonka.EKS.Types.UpdateParamType.UpdateParamType
instance Amazonka.Data.Log.ToLog Amazonka.EKS.Types.UpdateParamType.UpdateParamType
instance Amazonka.Data.ByteString.ToByteString Amazonka.EKS.Types.UpdateParamType.UpdateParamType
instance Amazonka.Data.Text.ToText Amazonka.EKS.Types.UpdateParamType.UpdateParamType
instance Amazonka.Data.Text.FromText Amazonka.EKS.Types.UpdateParamType.UpdateParamType
instance Control.DeepSeq.NFData Amazonka.EKS.Types.UpdateParamType.UpdateParamType
instance Data.Hashable.Class.Hashable Amazonka.EKS.Types.UpdateParamType.UpdateParamType
instance GHC.Generics.Generic Amazonka.EKS.Types.UpdateParamType.UpdateParamType
instance GHC.Classes.Ord Amazonka.EKS.Types.UpdateParamType.UpdateParamType
instance GHC.Classes.Eq Amazonka.EKS.Types.UpdateParamType.UpdateParamType
instance GHC.Read.Read Amazonka.EKS.Types.UpdateParamType.UpdateParamType
instance GHC.Show.Show Amazonka.EKS.Types.UpdateParamType.UpdateParamType
module Amazonka.EKS.Types.UpdateParam
-- | An object representing the details of an update request.
--
-- See: newUpdateParam smart constructor.
data UpdateParam
UpdateParam' :: Maybe UpdateParamType -> Maybe Text -> UpdateParam
-- | The keys associated with an update request.
[$sel:type':UpdateParam'] :: UpdateParam -> Maybe UpdateParamType
-- | The value of the keys submitted as part of an update request.
[$sel:value:UpdateParam'] :: UpdateParam -> Maybe Text
-- | Create a value of UpdateParam with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:type':UpdateParam', updateParam_type - The keys
-- associated with an update request.
--
-- $sel:value:UpdateParam', updateParam_value - The value
-- of the keys submitted as part of an update request.
newUpdateParam :: UpdateParam
-- | The keys associated with an update request.
updateParam_type :: Lens' UpdateParam (Maybe UpdateParamType)
-- | The value of the keys submitted as part of an update request.
updateParam_value :: Lens' UpdateParam (Maybe Text)
instance GHC.Generics.Generic Amazonka.EKS.Types.UpdateParam.UpdateParam
instance GHC.Show.Show Amazonka.EKS.Types.UpdateParam.UpdateParam
instance GHC.Read.Read Amazonka.EKS.Types.UpdateParam.UpdateParam
instance GHC.Classes.Eq Amazonka.EKS.Types.UpdateParam.UpdateParam
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.EKS.Types.UpdateParam.UpdateParam
instance Data.Hashable.Class.Hashable Amazonka.EKS.Types.UpdateParam.UpdateParam
instance Control.DeepSeq.NFData Amazonka.EKS.Types.UpdateParam.UpdateParam
module Amazonka.EKS.Types.UpdateStatus
newtype UpdateStatus
UpdateStatus' :: Text -> UpdateStatus
[fromUpdateStatus] :: UpdateStatus -> Text
pattern UpdateStatus_Cancelled :: UpdateStatus
pattern UpdateStatus_Failed :: UpdateStatus
pattern UpdateStatus_InProgress :: UpdateStatus
pattern UpdateStatus_Successful :: UpdateStatus
instance Amazonka.Data.XML.ToXML Amazonka.EKS.Types.UpdateStatus.UpdateStatus
instance Amazonka.Data.XML.FromXML Amazonka.EKS.Types.UpdateStatus.UpdateStatus
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.EKS.Types.UpdateStatus.UpdateStatus
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.EKS.Types.UpdateStatus.UpdateStatus
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.EKS.Types.UpdateStatus.UpdateStatus
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.EKS.Types.UpdateStatus.UpdateStatus
instance Amazonka.Data.Query.ToQuery Amazonka.EKS.Types.UpdateStatus.UpdateStatus
instance Amazonka.Data.Headers.ToHeader Amazonka.EKS.Types.UpdateStatus.UpdateStatus
instance Amazonka.Data.Log.ToLog Amazonka.EKS.Types.UpdateStatus.UpdateStatus
instance Amazonka.Data.ByteString.ToByteString Amazonka.EKS.Types.UpdateStatus.UpdateStatus
instance Amazonka.Data.Text.ToText Amazonka.EKS.Types.UpdateStatus.UpdateStatus
instance Amazonka.Data.Text.FromText Amazonka.EKS.Types.UpdateStatus.UpdateStatus
instance Control.DeepSeq.NFData Amazonka.EKS.Types.UpdateStatus.UpdateStatus
instance Data.Hashable.Class.Hashable Amazonka.EKS.Types.UpdateStatus.UpdateStatus
instance GHC.Generics.Generic Amazonka.EKS.Types.UpdateStatus.UpdateStatus
instance GHC.Classes.Ord Amazonka.EKS.Types.UpdateStatus.UpdateStatus
instance GHC.Classes.Eq Amazonka.EKS.Types.UpdateStatus.UpdateStatus
instance GHC.Read.Read Amazonka.EKS.Types.UpdateStatus.UpdateStatus
instance GHC.Show.Show Amazonka.EKS.Types.UpdateStatus.UpdateStatus
module Amazonka.EKS.Types.UpdateTaintsPayload
-- | An object representing the details of an update to a taints payload.
-- For more information, see Node taints on managed node groups.
--
-- See: newUpdateTaintsPayload smart constructor.
data UpdateTaintsPayload
UpdateTaintsPayload' :: Maybe [Taint] -> Maybe [Taint] -> UpdateTaintsPayload
-- | Kubernetes taints to be added or updated.
[$sel:addOrUpdateTaints:UpdateTaintsPayload'] :: UpdateTaintsPayload -> Maybe [Taint]
-- | Kubernetes taints to remove.
[$sel:removeTaints:UpdateTaintsPayload'] :: UpdateTaintsPayload -> Maybe [Taint]
-- | Create a value of UpdateTaintsPayload with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:addOrUpdateTaints:UpdateTaintsPayload',
-- updateTaintsPayload_addOrUpdateTaints - Kubernetes taints to be
-- added or updated.
--
-- $sel:removeTaints:UpdateTaintsPayload',
-- updateTaintsPayload_removeTaints - Kubernetes taints to remove.
newUpdateTaintsPayload :: UpdateTaintsPayload
-- | Kubernetes taints to be added or updated.
updateTaintsPayload_addOrUpdateTaints :: Lens' UpdateTaintsPayload (Maybe [Taint])
-- | Kubernetes taints to remove.
updateTaintsPayload_removeTaints :: Lens' UpdateTaintsPayload (Maybe [Taint])
instance GHC.Generics.Generic Amazonka.EKS.Types.UpdateTaintsPayload.UpdateTaintsPayload
instance GHC.Show.Show Amazonka.EKS.Types.UpdateTaintsPayload.UpdateTaintsPayload
instance GHC.Read.Read Amazonka.EKS.Types.UpdateTaintsPayload.UpdateTaintsPayload
instance GHC.Classes.Eq Amazonka.EKS.Types.UpdateTaintsPayload.UpdateTaintsPayload
instance Data.Hashable.Class.Hashable Amazonka.EKS.Types.UpdateTaintsPayload.UpdateTaintsPayload
instance Control.DeepSeq.NFData Amazonka.EKS.Types.UpdateTaintsPayload.UpdateTaintsPayload
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.EKS.Types.UpdateTaintsPayload.UpdateTaintsPayload
module Amazonka.EKS.Types.UpdateType
newtype UpdateType
UpdateType' :: Text -> UpdateType
[fromUpdateType] :: UpdateType -> Text
pattern UpdateType_AddonUpdate :: UpdateType
pattern UpdateType_AssociateEncryptionConfig :: UpdateType
pattern UpdateType_AssociateIdentityProviderConfig :: UpdateType
pattern UpdateType_ConfigUpdate :: UpdateType
pattern UpdateType_DisassociateIdentityProviderConfig :: UpdateType
pattern UpdateType_EndpointAccessUpdate :: UpdateType
pattern UpdateType_LoggingUpdate :: UpdateType
pattern UpdateType_VersionUpdate :: UpdateType
instance Amazonka.Data.XML.ToXML Amazonka.EKS.Types.UpdateType.UpdateType
instance Amazonka.Data.XML.FromXML Amazonka.EKS.Types.UpdateType.UpdateType
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.EKS.Types.UpdateType.UpdateType
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.EKS.Types.UpdateType.UpdateType
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.EKS.Types.UpdateType.UpdateType
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.EKS.Types.UpdateType.UpdateType
instance Amazonka.Data.Query.ToQuery Amazonka.EKS.Types.UpdateType.UpdateType
instance Amazonka.Data.Headers.ToHeader Amazonka.EKS.Types.UpdateType.UpdateType
instance Amazonka.Data.Log.ToLog Amazonka.EKS.Types.UpdateType.UpdateType
instance Amazonka.Data.ByteString.ToByteString Amazonka.EKS.Types.UpdateType.UpdateType
instance Amazonka.Data.Text.ToText Amazonka.EKS.Types.UpdateType.UpdateType
instance Amazonka.Data.Text.FromText Amazonka.EKS.Types.UpdateType.UpdateType
instance Control.DeepSeq.NFData Amazonka.EKS.Types.UpdateType.UpdateType
instance Data.Hashable.Class.Hashable Amazonka.EKS.Types.UpdateType.UpdateType
instance GHC.Generics.Generic Amazonka.EKS.Types.UpdateType.UpdateType
instance GHC.Classes.Ord Amazonka.EKS.Types.UpdateType.UpdateType
instance GHC.Classes.Eq Amazonka.EKS.Types.UpdateType.UpdateType
instance GHC.Read.Read Amazonka.EKS.Types.UpdateType.UpdateType
instance GHC.Show.Show Amazonka.EKS.Types.UpdateType.UpdateType
module Amazonka.EKS.Types.Update
-- | An object representing an asynchronous update.
--
-- See: newUpdate smart constructor.
data Update
Update' :: Maybe POSIX -> Maybe [ErrorDetail] -> Maybe Text -> Maybe [UpdateParam] -> Maybe UpdateStatus -> Maybe UpdateType -> Update
-- | The Unix epoch timestamp in seconds for when the update was created.
[$sel:createdAt:Update'] :: Update -> Maybe POSIX
-- | Any errors associated with a Failed update.
[$sel:errors:Update'] :: Update -> Maybe [ErrorDetail]
-- | A UUID that is used to track the update.
[$sel:id:Update'] :: Update -> Maybe Text
-- | A key-value map that contains the parameters associated with the
-- update.
[$sel:params:Update'] :: Update -> Maybe [UpdateParam]
-- | The current status of the update.
[$sel:status:Update'] :: Update -> Maybe UpdateStatus
-- | The type of the update.
[$sel:type':Update'] :: Update -> Maybe UpdateType
-- | Create a value of Update with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:createdAt:Update', update_createdAt - The Unix
-- epoch timestamp in seconds for when the update was created.
--
-- $sel:errors:Update', update_errors - Any errors
-- associated with a Failed update.
--
-- $sel:id:Update', update_id - A UUID that is used to
-- track the update.
--
-- $sel:params:Update', update_params - A key-value map
-- that contains the parameters associated with the update.
--
-- $sel:status:Update', update_status - The current status
-- of the update.
--
-- Update, update_type - The type of the update.
newUpdate :: Update
-- | The Unix epoch timestamp in seconds for when the update was created.
update_createdAt :: Lens' Update (Maybe UTCTime)
-- | Any errors associated with a Failed update.
update_errors :: Lens' Update (Maybe [ErrorDetail])
-- | A UUID that is used to track the update.
update_id :: Lens' Update (Maybe Text)
-- | A key-value map that contains the parameters associated with the
-- update.
update_params :: Lens' Update (Maybe [UpdateParam])
-- | The current status of the update.
update_status :: Lens' Update (Maybe UpdateStatus)
-- | The type of the update.
update_type :: Lens' Update (Maybe UpdateType)
instance GHC.Generics.Generic Amazonka.EKS.Types.Update.Update
instance GHC.Show.Show Amazonka.EKS.Types.Update.Update
instance GHC.Read.Read Amazonka.EKS.Types.Update.Update
instance GHC.Classes.Eq Amazonka.EKS.Types.Update.Update
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.EKS.Types.Update.Update
instance Data.Hashable.Class.Hashable Amazonka.EKS.Types.Update.Update
instance Control.DeepSeq.NFData Amazonka.EKS.Types.Update.Update
module Amazonka.EKS.Types.VpcConfigRequest
-- | An object representing the VPC configuration to use for an Amazon EKS
-- cluster.
--
-- See: newVpcConfigRequest smart constructor.
data VpcConfigRequest
VpcConfigRequest' :: Maybe Bool -> Maybe Bool -> Maybe [Text] -> Maybe [Text] -> Maybe [Text] -> VpcConfigRequest
-- | Set this value to true to enable private access for your
-- cluster's Kubernetes API server endpoint. If you enable private
-- access, Kubernetes API requests from within your cluster's VPC use the
-- private VPC endpoint. The default value for this parameter is
-- false, which disables private access for your Kubernetes API
-- server. If you disable private access and you have nodes or Fargate
-- pods in the cluster, then ensure that publicAccessCidrs
-- includes the necessary CIDR blocks for communication with the nodes or
-- Fargate pods. For more information, see Amazon EKS cluster endpoint
-- access control in the /Amazon EKS User Guide/ .
[$sel:endpointPrivateAccess:VpcConfigRequest'] :: VpcConfigRequest -> Maybe Bool
-- | Set this value to false to disable public access to your
-- cluster's Kubernetes API server endpoint. If you disable public
-- access, your cluster's Kubernetes API server can only receive requests
-- from within the cluster VPC. The default value for this parameter is
-- true, which enables public access for your Kubernetes API
-- server. For more information, see Amazon EKS cluster endpoint
-- access control in the /Amazon EKS User Guide/ .
[$sel:endpointPublicAccess:VpcConfigRequest'] :: VpcConfigRequest -> Maybe Bool
-- | The CIDR blocks that are allowed access to your cluster's public
-- Kubernetes API server endpoint. Communication to the endpoint from
-- addresses outside of the CIDR blocks that you specify is denied. The
-- default value is 0.0.0.0/0. If you've disabled private
-- endpoint access and you have nodes or Fargate pods in the cluster,
-- then ensure that you specify the necessary CIDR blocks. For more
-- information, see Amazon EKS cluster endpoint access control in
-- the /Amazon EKS User Guide/ .
[$sel:publicAccessCidrs:VpcConfigRequest'] :: VpcConfigRequest -> Maybe [Text]
-- | Specify one or more security groups for the cross-account elastic
-- network interfaces that Amazon EKS creates to use that allow
-- communication between your nodes and the Kubernetes control plane. If
-- you don't specify any security groups, then familiarize yourself with
-- the difference between Amazon EKS defaults for clusters deployed with
-- Kubernetes. For more information, see Amazon EKS security group
-- considerations in the /Amazon EKS User Guide/ .
[$sel:securityGroupIds:VpcConfigRequest'] :: VpcConfigRequest -> Maybe [Text]
-- | Specify subnets for your Amazon EKS nodes. Amazon EKS creates
-- cross-account elastic network interfaces in these subnets to allow
-- communication between your nodes and the Kubernetes control plane.
[$sel:subnetIds:VpcConfigRequest'] :: VpcConfigRequest -> Maybe [Text]
-- | Create a value of VpcConfigRequest with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:endpointPrivateAccess:VpcConfigRequest',
-- vpcConfigRequest_endpointPrivateAccess - Set this value to
-- true to enable private access for your cluster's Kubernetes
-- API server endpoint. If you enable private access, Kubernetes API
-- requests from within your cluster's VPC use the private VPC endpoint.
-- The default value for this parameter is false, which disables
-- private access for your Kubernetes API server. If you disable private
-- access and you have nodes or Fargate pods in the cluster, then ensure
-- that publicAccessCidrs includes the necessary CIDR blocks for
-- communication with the nodes or Fargate pods. For more information,
-- see Amazon EKS cluster endpoint access control in the
-- /Amazon EKS User Guide/ .
--
-- $sel:endpointPublicAccess:VpcConfigRequest',
-- vpcConfigRequest_endpointPublicAccess - Set this value to
-- false to disable public access to your cluster's Kubernetes
-- API server endpoint. If you disable public access, your cluster's
-- Kubernetes API server can only receive requests from within the
-- cluster VPC. The default value for this parameter is true,
-- which enables public access for your Kubernetes API server. For more
-- information, see Amazon EKS cluster endpoint access control in
-- the /Amazon EKS User Guide/ .
--
-- $sel:publicAccessCidrs:VpcConfigRequest',
-- vpcConfigRequest_publicAccessCidrs - The CIDR blocks that are
-- allowed access to your cluster's public Kubernetes API server
-- endpoint. Communication to the endpoint from addresses outside of the
-- CIDR blocks that you specify is denied. The default value is
-- 0.0.0.0/0. If you've disabled private endpoint access and you
-- have nodes or Fargate pods in the cluster, then ensure that you
-- specify the necessary CIDR blocks. For more information, see Amazon
-- EKS cluster endpoint access control in the /Amazon EKS User
-- Guide/ .
--
-- $sel:securityGroupIds:VpcConfigRequest',
-- vpcConfigRequest_securityGroupIds - Specify one or more
-- security groups for the cross-account elastic network interfaces that
-- Amazon EKS creates to use that allow communication between your nodes
-- and the Kubernetes control plane. If you don't specify any security
-- groups, then familiarize yourself with the difference between Amazon
-- EKS defaults for clusters deployed with Kubernetes. For more
-- information, see Amazon EKS security group considerations in
-- the /Amazon EKS User Guide/ .
--
-- $sel:subnetIds:VpcConfigRequest',
-- vpcConfigRequest_subnetIds - Specify subnets for your Amazon
-- EKS nodes. Amazon EKS creates cross-account elastic network interfaces
-- in these subnets to allow communication between your nodes and the
-- Kubernetes control plane.
newVpcConfigRequest :: VpcConfigRequest
-- | Set this value to true to enable private access for your
-- cluster's Kubernetes API server endpoint. If you enable private
-- access, Kubernetes API requests from within your cluster's VPC use the
-- private VPC endpoint. The default value for this parameter is
-- false, which disables private access for your Kubernetes API
-- server. If you disable private access and you have nodes or Fargate
-- pods in the cluster, then ensure that publicAccessCidrs
-- includes the necessary CIDR blocks for communication with the nodes or
-- Fargate pods. For more information, see Amazon EKS cluster endpoint
-- access control in the /Amazon EKS User Guide/ .
vpcConfigRequest_endpointPrivateAccess :: Lens' VpcConfigRequest (Maybe Bool)
-- | Set this value to false to disable public access to your
-- cluster's Kubernetes API server endpoint. If you disable public
-- access, your cluster's Kubernetes API server can only receive requests
-- from within the cluster VPC. The default value for this parameter is
-- true, which enables public access for your Kubernetes API
-- server. For more information, see Amazon EKS cluster endpoint
-- access control in the /Amazon EKS User Guide/ .
vpcConfigRequest_endpointPublicAccess :: Lens' VpcConfigRequest (Maybe Bool)
-- | The CIDR blocks that are allowed access to your cluster's public
-- Kubernetes API server endpoint. Communication to the endpoint from
-- addresses outside of the CIDR blocks that you specify is denied. The
-- default value is 0.0.0.0/0. If you've disabled private
-- endpoint access and you have nodes or Fargate pods in the cluster,
-- then ensure that you specify the necessary CIDR blocks. For more
-- information, see Amazon EKS cluster endpoint access control in
-- the /Amazon EKS User Guide/ .
vpcConfigRequest_publicAccessCidrs :: Lens' VpcConfigRequest (Maybe [Text])
-- | Specify one or more security groups for the cross-account elastic
-- network interfaces that Amazon EKS creates to use that allow
-- communication between your nodes and the Kubernetes control plane. If
-- you don't specify any security groups, then familiarize yourself with
-- the difference between Amazon EKS defaults for clusters deployed with
-- Kubernetes. For more information, see Amazon EKS security group
-- considerations in the /Amazon EKS User Guide/ .
vpcConfigRequest_securityGroupIds :: Lens' VpcConfigRequest (Maybe [Text])
-- | Specify subnets for your Amazon EKS nodes. Amazon EKS creates
-- cross-account elastic network interfaces in these subnets to allow
-- communication between your nodes and the Kubernetes control plane.
vpcConfigRequest_subnetIds :: Lens' VpcConfigRequest (Maybe [Text])
instance GHC.Generics.Generic Amazonka.EKS.Types.VpcConfigRequest.VpcConfigRequest
instance GHC.Show.Show Amazonka.EKS.Types.VpcConfigRequest.VpcConfigRequest
instance GHC.Read.Read Amazonka.EKS.Types.VpcConfigRequest.VpcConfigRequest
instance GHC.Classes.Eq Amazonka.EKS.Types.VpcConfigRequest.VpcConfigRequest
instance Data.Hashable.Class.Hashable Amazonka.EKS.Types.VpcConfigRequest.VpcConfigRequest
instance Control.DeepSeq.NFData Amazonka.EKS.Types.VpcConfigRequest.VpcConfigRequest
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.EKS.Types.VpcConfigRequest.VpcConfigRequest
module Amazonka.EKS.Types.VpcConfigResponse
-- | An object representing an Amazon EKS cluster VPC configuration
-- response.
--
-- See: newVpcConfigResponse smart constructor.
data VpcConfigResponse
VpcConfigResponse' :: Maybe Text -> Maybe Bool -> Maybe Bool -> Maybe [Text] -> Maybe [Text] -> Maybe [Text] -> Maybe Text -> VpcConfigResponse
-- | The cluster security group that was created by Amazon EKS for the
-- cluster. Managed node groups use this security group for
-- control-plane-to-data-plane communication.
[$sel:clusterSecurityGroupId:VpcConfigResponse'] :: VpcConfigResponse -> Maybe Text
-- | This parameter indicates whether the Amazon EKS private API server
-- endpoint is enabled. If the Amazon EKS private API server endpoint is
-- enabled, Kubernetes API requests that originate from within your
-- cluster's VPC use the private VPC endpoint instead of traversing the
-- internet. If this value is disabled and you have nodes or Fargate pods
-- in the cluster, then ensure that publicAccessCidrs includes
-- the necessary CIDR blocks for communication with the nodes or Fargate
-- pods. For more information, see Amazon EKS cluster endpoint access
-- control in the /Amazon EKS User Guide/ .
[$sel:endpointPrivateAccess:VpcConfigResponse'] :: VpcConfigResponse -> Maybe Bool
-- | This parameter indicates whether the Amazon EKS public API server
-- endpoint is enabled. If the Amazon EKS public API server endpoint is
-- disabled, your cluster's Kubernetes API server can only receive
-- requests that originate from within the cluster VPC.
[$sel:endpointPublicAccess:VpcConfigResponse'] :: VpcConfigResponse -> Maybe Bool
-- | The CIDR blocks that are allowed access to your cluster's public
-- Kubernetes API server endpoint. Communication to the endpoint from
-- addresses outside of the listed CIDR blocks is denied. The default
-- value is 0.0.0.0/0. If you've disabled private endpoint
-- access and you have nodes or Fargate pods in the cluster, then ensure
-- that the necessary CIDR blocks are listed. For more information, see
-- Amazon EKS cluster endpoint access control in the /Amazon
-- EKS User Guide/ .
[$sel:publicAccessCidrs:VpcConfigResponse'] :: VpcConfigResponse -> Maybe [Text]
-- | The security groups associated with the cross-account elastic network
-- interfaces that are used to allow communication between your nodes and
-- the Kubernetes control plane.
[$sel:securityGroupIds:VpcConfigResponse'] :: VpcConfigResponse -> Maybe [Text]
-- | The subnets associated with your cluster.
[$sel:subnetIds:VpcConfigResponse'] :: VpcConfigResponse -> Maybe [Text]
-- | The VPC associated with your cluster.
[$sel:vpcId:VpcConfigResponse'] :: VpcConfigResponse -> Maybe Text
-- | Create a value of VpcConfigResponse with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:clusterSecurityGroupId:VpcConfigResponse',
-- vpcConfigResponse_clusterSecurityGroupId - The cluster security
-- group that was created by Amazon EKS for the cluster. Managed node
-- groups use this security group for control-plane-to-data-plane
-- communication.
--
-- $sel:endpointPrivateAccess:VpcConfigResponse',
-- vpcConfigResponse_endpointPrivateAccess - This parameter
-- indicates whether the Amazon EKS private API server endpoint is
-- enabled. If the Amazon EKS private API server endpoint is enabled,
-- Kubernetes API requests that originate from within your cluster's VPC
-- use the private VPC endpoint instead of traversing the internet. If
-- this value is disabled and you have nodes or Fargate pods in the
-- cluster, then ensure that publicAccessCidrs includes the
-- necessary CIDR blocks for communication with the nodes or Fargate
-- pods. For more information, see Amazon EKS cluster endpoint access
-- control in the /Amazon EKS User Guide/ .
--
-- $sel:endpointPublicAccess:VpcConfigResponse',
-- vpcConfigResponse_endpointPublicAccess - This parameter
-- indicates whether the Amazon EKS public API server endpoint is
-- enabled. If the Amazon EKS public API server endpoint is disabled,
-- your cluster's Kubernetes API server can only receive requests that
-- originate from within the cluster VPC.
--
-- $sel:publicAccessCidrs:VpcConfigResponse',
-- vpcConfigResponse_publicAccessCidrs - The CIDR blocks that are
-- allowed access to your cluster's public Kubernetes API server
-- endpoint. Communication to the endpoint from addresses outside of the
-- listed CIDR blocks is denied. The default value is 0.0.0.0/0.
-- If you've disabled private endpoint access and you have nodes or
-- Fargate pods in the cluster, then ensure that the necessary CIDR
-- blocks are listed. For more information, see Amazon EKS cluster
-- endpoint access control in the /Amazon EKS User Guide/ .
--
-- $sel:securityGroupIds:VpcConfigResponse',
-- vpcConfigResponse_securityGroupIds - The security groups
-- associated with the cross-account elastic network interfaces that are
-- used to allow communication between your nodes and the Kubernetes
-- control plane.
--
-- $sel:subnetIds:VpcConfigResponse',
-- vpcConfigResponse_subnetIds - The subnets associated with your
-- cluster.
--
-- $sel:vpcId:VpcConfigResponse', vpcConfigResponse_vpcId -
-- The VPC associated with your cluster.
newVpcConfigResponse :: VpcConfigResponse
-- | The cluster security group that was created by Amazon EKS for the
-- cluster. Managed node groups use this security group for
-- control-plane-to-data-plane communication.
vpcConfigResponse_clusterSecurityGroupId :: Lens' VpcConfigResponse (Maybe Text)
-- | This parameter indicates whether the Amazon EKS private API server
-- endpoint is enabled. If the Amazon EKS private API server endpoint is
-- enabled, Kubernetes API requests that originate from within your
-- cluster's VPC use the private VPC endpoint instead of traversing the
-- internet. If this value is disabled and you have nodes or Fargate pods
-- in the cluster, then ensure that publicAccessCidrs includes
-- the necessary CIDR blocks for communication with the nodes or Fargate
-- pods. For more information, see Amazon EKS cluster endpoint access
-- control in the /Amazon EKS User Guide/ .
vpcConfigResponse_endpointPrivateAccess :: Lens' VpcConfigResponse (Maybe Bool)
-- | This parameter indicates whether the Amazon EKS public API server
-- endpoint is enabled. If the Amazon EKS public API server endpoint is
-- disabled, your cluster's Kubernetes API server can only receive
-- requests that originate from within the cluster VPC.
vpcConfigResponse_endpointPublicAccess :: Lens' VpcConfigResponse (Maybe Bool)
-- | The CIDR blocks that are allowed access to your cluster's public
-- Kubernetes API server endpoint. Communication to the endpoint from
-- addresses outside of the listed CIDR blocks is denied. The default
-- value is 0.0.0.0/0. If you've disabled private endpoint
-- access and you have nodes or Fargate pods in the cluster, then ensure
-- that the necessary CIDR blocks are listed. For more information, see
-- Amazon EKS cluster endpoint access control in the /Amazon
-- EKS User Guide/ .
vpcConfigResponse_publicAccessCidrs :: Lens' VpcConfigResponse (Maybe [Text])
-- | The security groups associated with the cross-account elastic network
-- interfaces that are used to allow communication between your nodes and
-- the Kubernetes control plane.
vpcConfigResponse_securityGroupIds :: Lens' VpcConfigResponse (Maybe [Text])
-- | The subnets associated with your cluster.
vpcConfigResponse_subnetIds :: Lens' VpcConfigResponse (Maybe [Text])
-- | The VPC associated with your cluster.
vpcConfigResponse_vpcId :: Lens' VpcConfigResponse (Maybe Text)
instance GHC.Generics.Generic Amazonka.EKS.Types.VpcConfigResponse.VpcConfigResponse
instance GHC.Show.Show Amazonka.EKS.Types.VpcConfigResponse.VpcConfigResponse
instance GHC.Read.Read Amazonka.EKS.Types.VpcConfigResponse.VpcConfigResponse
instance GHC.Classes.Eq Amazonka.EKS.Types.VpcConfigResponse.VpcConfigResponse
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.EKS.Types.VpcConfigResponse.VpcConfigResponse
instance Data.Hashable.Class.Hashable Amazonka.EKS.Types.VpcConfigResponse.VpcConfigResponse
instance Control.DeepSeq.NFData Amazonka.EKS.Types.VpcConfigResponse.VpcConfigResponse
module Amazonka.EKS.Types.Cluster
-- | An object representing an Amazon EKS cluster.
--
-- See: newCluster smart constructor.
data Cluster
Cluster' :: Maybe Text -> Maybe Certificate -> Maybe Text -> Maybe ConnectorConfigResponse -> Maybe POSIX -> Maybe [EncryptionConfig] -> Maybe Text -> Maybe ClusterHealth -> Maybe Text -> Maybe Identity -> Maybe KubernetesNetworkConfigResponse -> Maybe Logging -> Maybe Text -> Maybe OutpostConfigResponse -> Maybe Text -> Maybe VpcConfigResponse -> Maybe Text -> Maybe ClusterStatus -> Maybe (HashMap Text Text) -> Maybe Text -> Cluster
-- | The Amazon Resource Name (ARN) of the cluster.
[$sel:arn:Cluster'] :: Cluster -> Maybe Text
-- | The certificate-authority-data for your cluster.
[$sel:certificateAuthority:Cluster'] :: Cluster -> Maybe Certificate
-- | Unique, case-sensitive identifier that you provide to ensure the
-- idempotency of the request.
[$sel:clientRequestToken:Cluster'] :: Cluster -> Maybe Text
-- | The configuration used to connect to a cluster for registration.
[$sel:connectorConfig:Cluster'] :: Cluster -> Maybe ConnectorConfigResponse
-- | The Unix epoch timestamp in seconds for when the cluster was created.
[$sel:createdAt:Cluster'] :: Cluster -> Maybe POSIX
-- | The encryption configuration for the cluster.
[$sel:encryptionConfig:Cluster'] :: Cluster -> Maybe [EncryptionConfig]
-- | The endpoint for your Kubernetes API server.
[$sel:endpoint:Cluster'] :: Cluster -> Maybe Text
-- | An object representing the health of your local Amazon EKS cluster on
-- an Amazon Web Services Outpost. This object isn't available for
-- clusters on the Amazon Web Services cloud.
[$sel:health:Cluster'] :: Cluster -> Maybe ClusterHealth
-- | The ID of your local Amazon EKS cluster on an Amazon Web Services
-- Outpost. This property isn't available for an Amazon EKS cluster on
-- the Amazon Web Services cloud.
[$sel:id:Cluster'] :: Cluster -> Maybe Text
-- | The identity provider information for the cluster.
[$sel:identity:Cluster'] :: Cluster -> Maybe Identity
-- | The Kubernetes network configuration for the cluster.
[$sel:kubernetesNetworkConfig:Cluster'] :: Cluster -> Maybe KubernetesNetworkConfigResponse
-- | The logging configuration for your cluster.
[$sel:logging:Cluster'] :: Cluster -> Maybe Logging
-- | The name of the cluster.
[$sel:name:Cluster'] :: Cluster -> Maybe Text
-- | An object representing the configuration of your local Amazon EKS
-- cluster on an Amazon Web Services Outpost. This object isn't available
-- for clusters on the Amazon Web Services cloud.
[$sel:outpostConfig:Cluster'] :: Cluster -> Maybe OutpostConfigResponse
-- | The platform version of your Amazon EKS cluster. For more information,
-- see Platform Versions in the /Amazon EKS User Guide/ .
[$sel:platformVersion:Cluster'] :: Cluster -> Maybe Text
-- | The VPC configuration used by the cluster control plane. Amazon EKS
-- VPC resources have specific requirements to work properly with
-- Kubernetes. For more information, see Cluster VPC
-- Considerations and Cluster Security Group Considerations in
-- the Amazon EKS User Guide.
[$sel:resourcesVpcConfig:Cluster'] :: Cluster -> Maybe VpcConfigResponse
-- | The Amazon Resource Name (ARN) of the IAM role that provides
-- permissions for the Kubernetes control plane to make calls to Amazon
-- Web Services API operations on your behalf.
[$sel:roleArn:Cluster'] :: Cluster -> Maybe Text
-- | The current status of the cluster.
[$sel:status:Cluster'] :: Cluster -> Maybe ClusterStatus
-- | The metadata that you apply to the cluster to assist with
-- categorization and organization. Each tag consists of a key and an
-- optional value. You define both. Cluster tags do not propagate to any
-- other resources associated with the cluster.
[$sel:tags:Cluster'] :: Cluster -> Maybe (HashMap Text Text)
-- | The Kubernetes server version for the cluster.
[$sel:version:Cluster'] :: Cluster -> Maybe Text
-- | Create a value of Cluster with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:arn:Cluster', cluster_arn - The Amazon Resource
-- Name (ARN) of the cluster.
--
-- $sel:certificateAuthority:Cluster',
-- cluster_certificateAuthority - The
-- certificate-authority-data for your cluster.
--
-- $sel:clientRequestToken:Cluster',
-- cluster_clientRequestToken - Unique, case-sensitive identifier
-- that you provide to ensure the idempotency of the request.
--
-- $sel:connectorConfig:Cluster', cluster_connectorConfig -
-- The configuration used to connect to a cluster for registration.
--
-- $sel:createdAt:Cluster', cluster_createdAt - The Unix
-- epoch timestamp in seconds for when the cluster was created.
--
-- $sel:encryptionConfig:Cluster', cluster_encryptionConfig
-- - The encryption configuration for the cluster.
--
-- $sel:endpoint:Cluster', cluster_endpoint - The endpoint
-- for your Kubernetes API server.
--
-- $sel:health:Cluster', cluster_health - An object
-- representing the health of your local Amazon EKS cluster on an Amazon
-- Web Services Outpost. This object isn't available for clusters on the
-- Amazon Web Services cloud.
--
-- $sel:id:Cluster', cluster_id - The ID of your local
-- Amazon EKS cluster on an Amazon Web Services Outpost. This property
-- isn't available for an Amazon EKS cluster on the Amazon Web Services
-- cloud.
--
-- $sel:identity:Cluster', cluster_identity - The identity
-- provider information for the cluster.
--
-- $sel:kubernetesNetworkConfig:Cluster',
-- cluster_kubernetesNetworkConfig - The Kubernetes network
-- configuration for the cluster.
--
-- $sel:logging:Cluster', cluster_logging - The logging
-- configuration for your cluster.
--
-- $sel:name:Cluster', cluster_name - The name of the
-- cluster.
--
-- $sel:outpostConfig:Cluster', cluster_outpostConfig - An
-- object representing the configuration of your local Amazon EKS cluster
-- on an Amazon Web Services Outpost. This object isn't available for
-- clusters on the Amazon Web Services cloud.
--
-- $sel:platformVersion:Cluster', cluster_platformVersion -
-- The platform version of your Amazon EKS cluster. For more information,
-- see Platform Versions in the /Amazon EKS User Guide/ .
--
-- $sel:resourcesVpcConfig:Cluster',
-- cluster_resourcesVpcConfig - The VPC configuration used by the
-- cluster control plane. Amazon EKS VPC resources have specific
-- requirements to work properly with Kubernetes. For more information,
-- see Cluster VPC Considerations and Cluster Security Group
-- Considerations in the Amazon EKS User Guide.
--
-- Cluster, cluster_roleArn - The Amazon Resource Name
-- (ARN) of the IAM role that provides permissions for the Kubernetes
-- control plane to make calls to Amazon Web Services API operations on
-- your behalf.
--
-- $sel:status:Cluster', cluster_status - The current
-- status of the cluster.
--
-- $sel:tags:Cluster', cluster_tags - The metadata that you
-- apply to the cluster to assist with categorization and organization.
-- Each tag consists of a key and an optional value. You define both.
-- Cluster tags do not propagate to any other resources associated with
-- the cluster.
--
-- $sel:version:Cluster', cluster_version - The Kubernetes
-- server version for the cluster.
newCluster :: Cluster
-- | The Amazon Resource Name (ARN) of the cluster.
cluster_arn :: Lens' Cluster (Maybe Text)
-- | The certificate-authority-data for your cluster.
cluster_certificateAuthority :: Lens' Cluster (Maybe Certificate)
-- | Unique, case-sensitive identifier that you provide to ensure the
-- idempotency of the request.
cluster_clientRequestToken :: Lens' Cluster (Maybe Text)
-- | The configuration used to connect to a cluster for registration.
cluster_connectorConfig :: Lens' Cluster (Maybe ConnectorConfigResponse)
-- | The Unix epoch timestamp in seconds for when the cluster was created.
cluster_createdAt :: Lens' Cluster (Maybe UTCTime)
-- | The encryption configuration for the cluster.
cluster_encryptionConfig :: Lens' Cluster (Maybe [EncryptionConfig])
-- | The endpoint for your Kubernetes API server.
cluster_endpoint :: Lens' Cluster (Maybe Text)
-- | An object representing the health of your local Amazon EKS cluster on
-- an Amazon Web Services Outpost. This object isn't available for
-- clusters on the Amazon Web Services cloud.
cluster_health :: Lens' Cluster (Maybe ClusterHealth)
-- | The ID of your local Amazon EKS cluster on an Amazon Web Services
-- Outpost. This property isn't available for an Amazon EKS cluster on
-- the Amazon Web Services cloud.
cluster_id :: Lens' Cluster (Maybe Text)
-- | The identity provider information for the cluster.
cluster_identity :: Lens' Cluster (Maybe Identity)
-- | The Kubernetes network configuration for the cluster.
cluster_kubernetesNetworkConfig :: Lens' Cluster (Maybe KubernetesNetworkConfigResponse)
-- | The logging configuration for your cluster.
cluster_logging :: Lens' Cluster (Maybe Logging)
-- | The name of the cluster.
cluster_name :: Lens' Cluster (Maybe Text)
-- | An object representing the configuration of your local Amazon EKS
-- cluster on an Amazon Web Services Outpost. This object isn't available
-- for clusters on the Amazon Web Services cloud.
cluster_outpostConfig :: Lens' Cluster (Maybe OutpostConfigResponse)
-- | The platform version of your Amazon EKS cluster. For more information,
-- see Platform Versions in the /Amazon EKS User Guide/ .
cluster_platformVersion :: Lens' Cluster (Maybe Text)
-- | The VPC configuration used by the cluster control plane. Amazon EKS
-- VPC resources have specific requirements to work properly with
-- Kubernetes. For more information, see Cluster VPC
-- Considerations and Cluster Security Group Considerations in
-- the Amazon EKS User Guide.
cluster_resourcesVpcConfig :: Lens' Cluster (Maybe VpcConfigResponse)
-- | The Amazon Resource Name (ARN) of the IAM role that provides
-- permissions for the Kubernetes control plane to make calls to Amazon
-- Web Services API operations on your behalf.
cluster_roleArn :: Lens' Cluster (Maybe Text)
-- | The current status of the cluster.
cluster_status :: Lens' Cluster (Maybe ClusterStatus)
-- | The metadata that you apply to the cluster to assist with
-- categorization and organization. Each tag consists of a key and an
-- optional value. You define both. Cluster tags do not propagate to any
-- other resources associated with the cluster.
cluster_tags :: Lens' Cluster (Maybe (HashMap Text Text))
-- | The Kubernetes server version for the cluster.
cluster_version :: Lens' Cluster (Maybe Text)
instance GHC.Generics.Generic Amazonka.EKS.Types.Cluster.Cluster
instance GHC.Show.Show Amazonka.EKS.Types.Cluster.Cluster
instance GHC.Read.Read Amazonka.EKS.Types.Cluster.Cluster
instance GHC.Classes.Eq Amazonka.EKS.Types.Cluster.Cluster
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.EKS.Types.Cluster.Cluster
instance Data.Hashable.Class.Hashable Amazonka.EKS.Types.Cluster.Cluster
instance Control.DeepSeq.NFData Amazonka.EKS.Types.Cluster.Cluster
module Amazonka.EKS.Types
-- | API version 2017-11-01 of the Amazon Elastic Kubernetes
-- Service SDK configuration.
defaultService :: Service
-- | You don't have permissions to perform the requested operation. The
-- user or role that is making the request must have at least one IAM
-- permissions policy attached that grants the required permissions. For
-- more information, see Access Management in the IAM User
-- Guide.
_AccessDeniedException :: AsError a => Fold a ServiceError
-- | This exception is thrown if the request contains a semantic error. The
-- precise meaning will depend on the API, and will be documented in the
-- error message.
_BadRequestException :: AsError a => Fold a ServiceError
-- | These errors are usually caused by a client action. Actions can
-- include using an action or resource on behalf of a user that doesn't
-- have permissions to use the action or resource or specifying an
-- identifier that is not valid.
_ClientException :: AsError a => Fold a ServiceError
-- | The specified parameter is invalid. Review the available parameters
-- for the API request.
_InvalidParameterException :: AsError a => Fold a ServiceError
-- | The request is invalid given the state of the cluster. Check the state
-- of the cluster and the associated operations.
_InvalidRequestException :: AsError a => Fold a ServiceError
-- | A service resource associated with the request could not be found.
-- Clients should not retry such requests.
_NotFoundException :: AsError a => Fold a ServiceError
-- | The specified resource is in use.
_ResourceInUseException :: AsError a => Fold a ServiceError
-- | You have encountered a service limit on the specified resource.
_ResourceLimitExceededException :: AsError a => Fold a ServiceError
-- | The specified resource could not be found. You can view your available
-- clusters with ListClusters. You can view your available managed node
-- groups with ListNodegroups. Amazon EKS clusters and node groups are
-- Region-specific.
_ResourceNotFoundException :: AsError a => Fold a ServiceError
-- | Required resources (such as service-linked roles) were created and are
-- still propagating. Retry later.
_ResourcePropagationDelayException :: AsError a => Fold a ServiceError
-- | These errors are usually caused by a server-side issue.
_ServerException :: AsError a => Fold a ServiceError
-- | The service is unavailable. Back off and retry the operation.
_ServiceUnavailableException :: AsError a => Fold a ServiceError
-- | At least one of your specified cluster subnets is in an Availability
-- Zone that does not support Amazon EKS. The exception output specifies
-- the supported Availability Zones for your account, from which you can
-- choose subnets for your cluster.
_UnsupportedAvailabilityZoneException :: AsError a => Fold a ServiceError
newtype AMITypes
AMITypes' :: Text -> AMITypes
[fromAMITypes] :: AMITypes -> Text
pattern AMITypes_AL2_ARM_64 :: AMITypes
pattern AMITypes_AL2_x86_64 :: AMITypes
pattern AMITypes_AL2_x86_64_GPU :: AMITypes
pattern AMITypes_BOTTLEROCKET_ARM_64 :: AMITypes
pattern AMITypes_BOTTLEROCKET_ARM_64_NVIDIA :: AMITypes
pattern AMITypes_BOTTLEROCKET_x86_64 :: AMITypes
pattern AMITypes_BOTTLEROCKET_x86_64_NVIDIA :: AMITypes
pattern AMITypes_CUSTOM :: AMITypes
pattern AMITypes_WINDOWS_CORE_2019_x86_64 :: AMITypes
pattern AMITypes_WINDOWS_CORE_2022_x86_64 :: AMITypes
pattern AMITypes_WINDOWS_FULL_2019_x86_64 :: AMITypes
pattern AMITypes_WINDOWS_FULL_2022_x86_64 :: AMITypes
newtype AddonIssueCode
AddonIssueCode' :: Text -> AddonIssueCode
[fromAddonIssueCode] :: AddonIssueCode -> Text
pattern AddonIssueCode_AccessDenied :: AddonIssueCode
pattern AddonIssueCode_AdmissionRequestDenied :: AddonIssueCode
pattern AddonIssueCode_ClusterUnreachable :: AddonIssueCode
pattern AddonIssueCode_ConfigurationConflict :: AddonIssueCode
pattern AddonIssueCode_InsufficientNumberOfReplicas :: AddonIssueCode
pattern AddonIssueCode_InternalFailure :: AddonIssueCode
pattern AddonIssueCode_K8sResourceNotFound :: AddonIssueCode
pattern AddonIssueCode_UnsupportedAddonModification :: AddonIssueCode
newtype AddonStatus
AddonStatus' :: Text -> AddonStatus
[fromAddonStatus] :: AddonStatus -> Text
pattern AddonStatus_ACTIVE :: AddonStatus
pattern AddonStatus_CREATE_FAILED :: AddonStatus
pattern AddonStatus_CREATING :: AddonStatus
pattern AddonStatus_DEGRADED :: AddonStatus
pattern AddonStatus_DELETE_FAILED :: AddonStatus
pattern AddonStatus_DELETING :: AddonStatus
pattern AddonStatus_UPDATE_FAILED :: AddonStatus
pattern AddonStatus_UPDATING :: AddonStatus
newtype CapacityTypes
CapacityTypes' :: Text -> CapacityTypes
[fromCapacityTypes] :: CapacityTypes -> Text
pattern CapacityTypes_ON_DEMAND :: CapacityTypes
pattern CapacityTypes_SPOT :: CapacityTypes
newtype ClusterIssueCode
ClusterIssueCode' :: Text -> ClusterIssueCode
[fromClusterIssueCode] :: ClusterIssueCode -> Text
pattern ClusterIssueCode_AccessDenied :: ClusterIssueCode
pattern ClusterIssueCode_ClusterUnreachable :: ClusterIssueCode
pattern ClusterIssueCode_ConfigurationConflict :: ClusterIssueCode
pattern ClusterIssueCode_InternalFailure :: ClusterIssueCode
pattern ClusterIssueCode_ResourceLimitExceeded :: ClusterIssueCode
pattern ClusterIssueCode_ResourceNotFound :: ClusterIssueCode
newtype ClusterStatus
ClusterStatus' :: Text -> ClusterStatus
[fromClusterStatus] :: ClusterStatus -> Text
pattern ClusterStatus_ACTIVE :: ClusterStatus
pattern ClusterStatus_CREATING :: ClusterStatus
pattern ClusterStatus_DELETING :: ClusterStatus
pattern ClusterStatus_FAILED :: ClusterStatus
pattern ClusterStatus_PENDING :: ClusterStatus
pattern ClusterStatus_UPDATING :: ClusterStatus
newtype ConfigStatus
ConfigStatus' :: Text -> ConfigStatus
[fromConfigStatus] :: ConfigStatus -> Text
pattern ConfigStatus_ACTIVE :: ConfigStatus
pattern ConfigStatus_CREATING :: ConfigStatus
pattern ConfigStatus_DELETING :: ConfigStatus
newtype ConnectorConfigProvider
ConnectorConfigProvider' :: Text -> ConnectorConfigProvider
[fromConnectorConfigProvider] :: ConnectorConfigProvider -> Text
pattern ConnectorConfigProvider_AKS :: ConnectorConfigProvider
pattern ConnectorConfigProvider_ANTHOS :: ConnectorConfigProvider
pattern ConnectorConfigProvider_EC2 :: ConnectorConfigProvider
pattern ConnectorConfigProvider_EKS_ANYWHERE :: ConnectorConfigProvider
pattern ConnectorConfigProvider_GKE :: ConnectorConfigProvider
pattern ConnectorConfigProvider_OPENSHIFT :: ConnectorConfigProvider
pattern ConnectorConfigProvider_OTHER :: ConnectorConfigProvider
pattern ConnectorConfigProvider_RANCHER :: ConnectorConfigProvider
pattern ConnectorConfigProvider_TANZU :: ConnectorConfigProvider
newtype EKSErrorCode
EKSErrorCode' :: Text -> EKSErrorCode
[fromEKSErrorCode] :: EKSErrorCode -> Text
pattern EKSErrorCode_AccessDenied :: EKSErrorCode
pattern EKSErrorCode_AdmissionRequestDenied :: EKSErrorCode
pattern EKSErrorCode_ClusterUnreachable :: EKSErrorCode
pattern EKSErrorCode_ConfigurationConflict :: EKSErrorCode
pattern EKSErrorCode_EniLimitReached :: EKSErrorCode
pattern EKSErrorCode_InsufficientFreeAddresses :: EKSErrorCode
pattern EKSErrorCode_InsufficientNumberOfReplicas :: EKSErrorCode
pattern EKSErrorCode_IpNotAvailable :: EKSErrorCode
pattern EKSErrorCode_K8sResourceNotFound :: EKSErrorCode
pattern EKSErrorCode_NodeCreationFailure :: EKSErrorCode
pattern EKSErrorCode_OperationNotPermitted :: EKSErrorCode
pattern EKSErrorCode_PodEvictionFailure :: EKSErrorCode
pattern EKSErrorCode_SecurityGroupNotFound :: EKSErrorCode
pattern EKSErrorCode_SubnetNotFound :: EKSErrorCode
pattern EKSErrorCode_Unknown :: EKSErrorCode
pattern EKSErrorCode_UnsupportedAddonModification :: EKSErrorCode
pattern EKSErrorCode_VpcIdNotFound :: EKSErrorCode
newtype FargateProfileStatus
FargateProfileStatus' :: Text -> FargateProfileStatus
[fromFargateProfileStatus] :: FargateProfileStatus -> Text
pattern FargateProfileStatus_ACTIVE :: FargateProfileStatus
pattern FargateProfileStatus_CREATE_FAILED :: FargateProfileStatus
pattern FargateProfileStatus_CREATING :: FargateProfileStatus
pattern FargateProfileStatus_DELETE_FAILED :: FargateProfileStatus
pattern FargateProfileStatus_DELETING :: FargateProfileStatus
newtype IpFamily
IpFamily' :: Text -> IpFamily
[fromIpFamily] :: IpFamily -> Text
pattern IpFamily_Ipv4 :: IpFamily
pattern IpFamily_Ipv6 :: IpFamily
newtype LogType
LogType' :: Text -> LogType
[fromLogType] :: LogType -> Text
pattern LogType_Api :: LogType
pattern LogType_Audit :: LogType
pattern LogType_Authenticator :: LogType
pattern LogType_ControllerManager :: LogType
pattern LogType_Scheduler :: LogType
newtype NodegroupIssueCode
NodegroupIssueCode' :: Text -> NodegroupIssueCode
[fromNodegroupIssueCode] :: NodegroupIssueCode -> Text
pattern NodegroupIssueCode_AccessDenied :: NodegroupIssueCode
pattern NodegroupIssueCode_AsgInstanceLaunchFailures :: NodegroupIssueCode
pattern NodegroupIssueCode_AutoScalingGroupInvalidConfiguration :: NodegroupIssueCode
pattern NodegroupIssueCode_AutoScalingGroupNotFound :: NodegroupIssueCode
pattern NodegroupIssueCode_ClusterUnreachable :: NodegroupIssueCode
pattern NodegroupIssueCode_Ec2LaunchTemplateNotFound :: NodegroupIssueCode
pattern NodegroupIssueCode_Ec2LaunchTemplateVersionMismatch :: NodegroupIssueCode
pattern NodegroupIssueCode_Ec2SecurityGroupDeletionFailure :: NodegroupIssueCode
pattern NodegroupIssueCode_Ec2SecurityGroupNotFound :: NodegroupIssueCode
pattern NodegroupIssueCode_Ec2SubnetInvalidConfiguration :: NodegroupIssueCode
pattern NodegroupIssueCode_Ec2SubnetMissingIpv6Assignment :: NodegroupIssueCode
pattern NodegroupIssueCode_Ec2SubnetNotFound :: NodegroupIssueCode
pattern NodegroupIssueCode_IamInstanceProfileNotFound :: NodegroupIssueCode
pattern NodegroupIssueCode_IamLimitExceeded :: NodegroupIssueCode
pattern NodegroupIssueCode_IamNodeRoleNotFound :: NodegroupIssueCode
pattern NodegroupIssueCode_InstanceLimitExceeded :: NodegroupIssueCode
pattern NodegroupIssueCode_InsufficientFreeAddresses :: NodegroupIssueCode
pattern NodegroupIssueCode_InternalFailure :: NodegroupIssueCode
pattern NodegroupIssueCode_NodeCreationFailure :: NodegroupIssueCode
newtype NodegroupStatus
NodegroupStatus' :: Text -> NodegroupStatus
[fromNodegroupStatus] :: NodegroupStatus -> Text
pattern NodegroupStatus_ACTIVE :: NodegroupStatus
pattern NodegroupStatus_CREATE_FAILED :: NodegroupStatus
pattern NodegroupStatus_CREATING :: NodegroupStatus
pattern NodegroupStatus_DEGRADED :: NodegroupStatus
pattern NodegroupStatus_DELETE_FAILED :: NodegroupStatus
pattern NodegroupStatus_DELETING :: NodegroupStatus
pattern NodegroupStatus_UPDATING :: NodegroupStatus
newtype ResolveConflicts
ResolveConflicts' :: Text -> ResolveConflicts
[fromResolveConflicts] :: ResolveConflicts -> Text
pattern ResolveConflicts_NONE :: ResolveConflicts
pattern ResolveConflicts_OVERWRITE :: ResolveConflicts
pattern ResolveConflicts_PRESERVE :: ResolveConflicts
newtype TaintEffect
TaintEffect' :: Text -> TaintEffect
[fromTaintEffect] :: TaintEffect -> Text
pattern TaintEffect_NO_EXECUTE :: TaintEffect
pattern TaintEffect_NO_SCHEDULE :: TaintEffect
pattern TaintEffect_PREFER_NO_SCHEDULE :: TaintEffect
newtype UpdateParamType
UpdateParamType' :: Text -> UpdateParamType
[fromUpdateParamType] :: UpdateParamType -> Text
pattern UpdateParamType_AddonVersion :: UpdateParamType
pattern UpdateParamType_ClusterLogging :: UpdateParamType
pattern UpdateParamType_DesiredSize :: UpdateParamType
pattern UpdateParamType_EncryptionConfig :: UpdateParamType
pattern UpdateParamType_EndpointPrivateAccess :: UpdateParamType
pattern UpdateParamType_EndpointPublicAccess :: UpdateParamType
pattern UpdateParamType_IdentityProviderConfig :: UpdateParamType
pattern UpdateParamType_LabelsToAdd :: UpdateParamType
pattern UpdateParamType_LabelsToRemove :: UpdateParamType
pattern UpdateParamType_LaunchTemplateName :: UpdateParamType
pattern UpdateParamType_LaunchTemplateVersion :: UpdateParamType
pattern UpdateParamType_MaxSize :: UpdateParamType
pattern UpdateParamType_MaxUnavailable :: UpdateParamType
pattern UpdateParamType_MaxUnavailablePercentage :: UpdateParamType
pattern UpdateParamType_MinSize :: UpdateParamType
pattern UpdateParamType_PlatformVersion :: UpdateParamType
pattern UpdateParamType_PublicAccessCidrs :: UpdateParamType
pattern UpdateParamType_ReleaseVersion :: UpdateParamType
pattern UpdateParamType_ResolveConflicts :: UpdateParamType
pattern UpdateParamType_ServiceAccountRoleArn :: UpdateParamType
pattern UpdateParamType_TaintsToAdd :: UpdateParamType
pattern UpdateParamType_TaintsToRemove :: UpdateParamType
pattern UpdateParamType_Version :: UpdateParamType
newtype UpdateStatus
UpdateStatus' :: Text -> UpdateStatus
[fromUpdateStatus] :: UpdateStatus -> Text
pattern UpdateStatus_Cancelled :: UpdateStatus
pattern UpdateStatus_Failed :: UpdateStatus
pattern UpdateStatus_InProgress :: UpdateStatus
pattern UpdateStatus_Successful :: UpdateStatus
newtype UpdateType
UpdateType' :: Text -> UpdateType
[fromUpdateType] :: UpdateType -> Text
pattern UpdateType_AddonUpdate :: UpdateType
pattern UpdateType_AssociateEncryptionConfig :: UpdateType
pattern UpdateType_AssociateIdentityProviderConfig :: UpdateType
pattern UpdateType_ConfigUpdate :: UpdateType
pattern UpdateType_DisassociateIdentityProviderConfig :: UpdateType
pattern UpdateType_EndpointAccessUpdate :: UpdateType
pattern UpdateType_LoggingUpdate :: UpdateType
pattern UpdateType_VersionUpdate :: UpdateType
-- | An Amazon EKS add-on. For more information, see Amazon EKS
-- add-ons in the Amazon EKS User Guide.
--
-- See: newAddon smart constructor.
data Addon
Addon' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe POSIX -> Maybe AddonHealth -> Maybe MarketplaceInformation -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe AddonStatus -> Maybe (HashMap Text Text) -> Addon
-- | The Amazon Resource Name (ARN) of the add-on.
[$sel:addonArn:Addon'] :: Addon -> Maybe Text
-- | The name of the add-on.
[$sel:addonName:Addon'] :: Addon -> Maybe Text
-- | The version of the add-on.
[$sel:addonVersion:Addon'] :: Addon -> Maybe Text
-- | The name of the cluster.
[$sel:clusterName:Addon'] :: Addon -> Maybe Text
-- | The configuration values that you provided.
[$sel:configurationValues:Addon'] :: Addon -> Maybe Text
-- | The date and time that the add-on was created.
[$sel:createdAt:Addon'] :: Addon -> Maybe POSIX
-- | An object that represents the health of the add-on.
[$sel:health:Addon'] :: Addon -> Maybe AddonHealth
-- | Information about an Amazon EKS add-on from the Amazon Web Services
-- Marketplace.
[$sel:marketplaceInformation:Addon'] :: Addon -> Maybe MarketplaceInformation
-- | The date and time that the add-on was last modified.
[$sel:modifiedAt:Addon'] :: Addon -> Maybe POSIX
-- | The owner of the add-on.
[$sel:owner:Addon'] :: Addon -> Maybe Text
-- | The publisher of the add-on.
[$sel:publisher:Addon'] :: Addon -> Maybe Text
-- | The Amazon Resource Name (ARN) of the IAM role that's bound to the
-- Kubernetes service account that the add-on uses.
[$sel:serviceAccountRoleArn:Addon'] :: Addon -> Maybe Text
-- | The status of the add-on.
[$sel:status:Addon'] :: Addon -> Maybe AddonStatus
-- | The metadata that you apply to the add-on to assist with
-- categorization and organization. Each tag consists of a key and an
-- optional value. You define both. Add-on tags do not propagate to any
-- other resources associated with the cluster.
[$sel:tags:Addon'] :: Addon -> Maybe (HashMap Text Text)
-- | Create a value of Addon with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:addonArn:Addon', addon_addonArn - The Amazon
-- Resource Name (ARN) of the add-on.
--
-- $sel:addonName:Addon', addon_addonName - The name of the
-- add-on.
--
-- $sel:addonVersion:Addon', addon_addonVersion - The
-- version of the add-on.
--
-- $sel:clusterName:Addon', addon_clusterName - The name of
-- the cluster.
--
-- $sel:configurationValues:Addon',
-- addon_configurationValues - The configuration values that you
-- provided.
--
-- $sel:createdAt:Addon', addon_createdAt - The date and
-- time that the add-on was created.
--
-- $sel:health:Addon', addon_health - An object that
-- represents the health of the add-on.
--
-- $sel:marketplaceInformation:Addon',
-- addon_marketplaceInformation - Information about an Amazon EKS
-- add-on from the Amazon Web Services Marketplace.
--
-- $sel:modifiedAt:Addon', addon_modifiedAt - The date and
-- time that the add-on was last modified.
--
-- $sel:owner:Addon', addon_owner - The owner of the
-- add-on.
--
-- $sel:publisher:Addon', addon_publisher - The publisher
-- of the add-on.
--
-- $sel:serviceAccountRoleArn:Addon',
-- addon_serviceAccountRoleArn - The Amazon Resource Name (ARN) of
-- the IAM role that's bound to the Kubernetes service account that the
-- add-on uses.
--
-- $sel:status:Addon', addon_status - The status of the
-- add-on.
--
-- $sel:tags:Addon', addon_tags - The metadata that you
-- apply to the add-on to assist with categorization and organization.
-- Each tag consists of a key and an optional value. You define both.
-- Add-on tags do not propagate to any other resources associated with
-- the cluster.
newAddon :: Addon
-- | The Amazon Resource Name (ARN) of the add-on.
addon_addonArn :: Lens' Addon (Maybe Text)
-- | The name of the add-on.
addon_addonName :: Lens' Addon (Maybe Text)
-- | The version of the add-on.
addon_addonVersion :: Lens' Addon (Maybe Text)
-- | The name of the cluster.
addon_clusterName :: Lens' Addon (Maybe Text)
-- | The configuration values that you provided.
addon_configurationValues :: Lens' Addon (Maybe Text)
-- | The date and time that the add-on was created.
addon_createdAt :: Lens' Addon (Maybe UTCTime)
-- | An object that represents the health of the add-on.
addon_health :: Lens' Addon (Maybe AddonHealth)
-- | Information about an Amazon EKS add-on from the Amazon Web Services
-- Marketplace.
addon_marketplaceInformation :: Lens' Addon (Maybe MarketplaceInformation)
-- | The date and time that the add-on was last modified.
addon_modifiedAt :: Lens' Addon (Maybe UTCTime)
-- | The owner of the add-on.
addon_owner :: Lens' Addon (Maybe Text)
-- | The publisher of the add-on.
addon_publisher :: Lens' Addon (Maybe Text)
-- | The Amazon Resource Name (ARN) of the IAM role that's bound to the
-- Kubernetes service account that the add-on uses.
addon_serviceAccountRoleArn :: Lens' Addon (Maybe Text)
-- | The status of the add-on.
addon_status :: Lens' Addon (Maybe AddonStatus)
-- | The metadata that you apply to the add-on to assist with
-- categorization and organization. Each tag consists of a key and an
-- optional value. You define both. Add-on tags do not propagate to any
-- other resources associated with the cluster.
addon_tags :: Lens' Addon (Maybe (HashMap Text Text))
-- | The health of the add-on.
--
-- See: newAddonHealth smart constructor.
data AddonHealth
AddonHealth' :: Maybe [AddonIssue] -> AddonHealth
-- | An object representing the health issues for an add-on.
[$sel:issues:AddonHealth'] :: AddonHealth -> Maybe [AddonIssue]
-- | Create a value of AddonHealth with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:issues:AddonHealth', addonHealth_issues - An object
-- representing the health issues for an add-on.
newAddonHealth :: AddonHealth
-- | An object representing the health issues for an add-on.
addonHealth_issues :: Lens' AddonHealth (Maybe [AddonIssue])
-- | Information about an add-on.
--
-- See: newAddonInfo smart constructor.
data AddonInfo
AddonInfo' :: Maybe Text -> Maybe [AddonVersionInfo] -> Maybe MarketplaceInformation -> Maybe Text -> Maybe Text -> Maybe Text -> AddonInfo
-- | The name of the add-on.
[$sel:addonName:AddonInfo'] :: AddonInfo -> Maybe Text
-- | An object representing information about available add-on versions and
-- compatible Kubernetes versions.
[$sel:addonVersions:AddonInfo'] :: AddonInfo -> Maybe [AddonVersionInfo]
-- | Information about the add-on from the Amazon Web Services Marketplace.
[$sel:marketplaceInformation:AddonInfo'] :: AddonInfo -> Maybe MarketplaceInformation
-- | The owner of the add-on.
[$sel:owner:AddonInfo'] :: AddonInfo -> Maybe Text
-- | The publisher of the add-on.
[$sel:publisher:AddonInfo'] :: AddonInfo -> Maybe Text
-- | The type of the add-on.
[$sel:type':AddonInfo'] :: AddonInfo -> Maybe Text
-- | Create a value of AddonInfo with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:addonName:AddonInfo', addonInfo_addonName - The
-- name of the add-on.
--
-- $sel:addonVersions:AddonInfo', addonInfo_addonVersions -
-- An object representing information about available add-on versions and
-- compatible Kubernetes versions.
--
-- $sel:marketplaceInformation:AddonInfo',
-- addonInfo_marketplaceInformation - Information about the add-on
-- from the Amazon Web Services Marketplace.
--
-- $sel:owner:AddonInfo', addonInfo_owner - The owner of
-- the add-on.
--
-- $sel:publisher:AddonInfo', addonInfo_publisher - The
-- publisher of the add-on.
--
-- $sel:type':AddonInfo', addonInfo_type - The type of the
-- add-on.
newAddonInfo :: AddonInfo
-- | The name of the add-on.
addonInfo_addonName :: Lens' AddonInfo (Maybe Text)
-- | An object representing information about available add-on versions and
-- compatible Kubernetes versions.
addonInfo_addonVersions :: Lens' AddonInfo (Maybe [AddonVersionInfo])
-- | Information about the add-on from the Amazon Web Services Marketplace.
addonInfo_marketplaceInformation :: Lens' AddonInfo (Maybe MarketplaceInformation)
-- | The owner of the add-on.
addonInfo_owner :: Lens' AddonInfo (Maybe Text)
-- | The publisher of the add-on.
addonInfo_publisher :: Lens' AddonInfo (Maybe Text)
-- | The type of the add-on.
addonInfo_type :: Lens' AddonInfo (Maybe Text)
-- | An issue related to an add-on.
--
-- See: newAddonIssue smart constructor.
data AddonIssue
AddonIssue' :: Maybe AddonIssueCode -> Maybe Text -> Maybe [Text] -> AddonIssue
-- | A code that describes the type of issue.
[$sel:code:AddonIssue'] :: AddonIssue -> Maybe AddonIssueCode
-- | A message that provides details about the issue and what might cause
-- it.
[$sel:message:AddonIssue'] :: AddonIssue -> Maybe Text
-- | The resource IDs of the issue.
[$sel:resourceIds:AddonIssue'] :: AddonIssue -> Maybe [Text]
-- | Create a value of AddonIssue with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:code:AddonIssue', addonIssue_code - A code that
-- describes the type of issue.
--
-- $sel:message:AddonIssue', addonIssue_message - A message
-- that provides details about the issue and what might cause it.
--
-- $sel:resourceIds:AddonIssue', addonIssue_resourceIds -
-- The resource IDs of the issue.
newAddonIssue :: AddonIssue
-- | A code that describes the type of issue.
addonIssue_code :: Lens' AddonIssue (Maybe AddonIssueCode)
-- | A message that provides details about the issue and what might cause
-- it.
addonIssue_message :: Lens' AddonIssue (Maybe Text)
-- | The resource IDs of the issue.
addonIssue_resourceIds :: Lens' AddonIssue (Maybe [Text])
-- | Information about an add-on version.
--
-- See: newAddonVersionInfo smart constructor.
data AddonVersionInfo
AddonVersionInfo' :: Maybe Text -> Maybe [Text] -> Maybe [Compatibility] -> Maybe Bool -> AddonVersionInfo
-- | The version of the add-on.
[$sel:addonVersion:AddonVersionInfo'] :: AddonVersionInfo -> Maybe Text
-- | The architectures that the version supports.
[$sel:architecture:AddonVersionInfo'] :: AddonVersionInfo -> Maybe [Text]
-- | An object representing the compatibilities of a version.
[$sel:compatibilities:AddonVersionInfo'] :: AddonVersionInfo -> Maybe [Compatibility]
-- | Whether the add-on requires configuration.
[$sel:requiresConfiguration:AddonVersionInfo'] :: AddonVersionInfo -> Maybe Bool
-- | Create a value of AddonVersionInfo with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:addonVersion:AddonVersionInfo',
-- addonVersionInfo_addonVersion - The version of the add-on.
--
-- $sel:architecture:AddonVersionInfo',
-- addonVersionInfo_architecture - The architectures that the
-- version supports.
--
-- $sel:compatibilities:AddonVersionInfo',
-- addonVersionInfo_compatibilities - An object representing the
-- compatibilities of a version.
--
-- $sel:requiresConfiguration:AddonVersionInfo',
-- addonVersionInfo_requiresConfiguration - Whether the add-on
-- requires configuration.
newAddonVersionInfo :: AddonVersionInfo
-- | The version of the add-on.
addonVersionInfo_addonVersion :: Lens' AddonVersionInfo (Maybe Text)
-- | The architectures that the version supports.
addonVersionInfo_architecture :: Lens' AddonVersionInfo (Maybe [Text])
-- | An object representing the compatibilities of a version.
addonVersionInfo_compatibilities :: Lens' AddonVersionInfo (Maybe [Compatibility])
-- | Whether the add-on requires configuration.
addonVersionInfo_requiresConfiguration :: Lens' AddonVersionInfo (Maybe Bool)
-- | An Auto Scaling group that is associated with an Amazon EKS managed
-- node group.
--
-- See: newAutoScalingGroup smart constructor.
data AutoScalingGroup
AutoScalingGroup' :: Maybe Text -> AutoScalingGroup
-- | The name of the Auto Scaling group associated with an Amazon EKS
-- managed node group.
[$sel:name:AutoScalingGroup'] :: AutoScalingGroup -> Maybe Text
-- | Create a value of AutoScalingGroup with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:name:AutoScalingGroup', autoScalingGroup_name - The
-- name of the Auto Scaling group associated with an Amazon EKS managed
-- node group.
newAutoScalingGroup :: AutoScalingGroup
-- | The name of the Auto Scaling group associated with an Amazon EKS
-- managed node group.
autoScalingGroup_name :: Lens' AutoScalingGroup (Maybe Text)
-- | An object representing the certificate-authority-data for
-- your cluster.
--
-- See: newCertificate smart constructor.
data Certificate
Certificate' :: Maybe Text -> Certificate
-- | The Base64-encoded certificate data required to communicate with your
-- cluster. Add this to the certificate-authority-data section
-- of the kubeconfig file for your cluster.
[$sel:data':Certificate'] :: Certificate -> Maybe Text
-- | Create a value of Certificate with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:data':Certificate', certificate_data - The
-- Base64-encoded certificate data required to communicate with your
-- cluster. Add this to the certificate-authority-data section
-- of the kubeconfig file for your cluster.
newCertificate :: Certificate
-- | The Base64-encoded certificate data required to communicate with your
-- cluster. Add this to the certificate-authority-data section
-- of the kubeconfig file for your cluster.
certificate_data :: Lens' Certificate (Maybe Text)
-- | An object representing an Amazon EKS cluster.
--
-- See: newCluster smart constructor.
data Cluster
Cluster' :: Maybe Text -> Maybe Certificate -> Maybe Text -> Maybe ConnectorConfigResponse -> Maybe POSIX -> Maybe [EncryptionConfig] -> Maybe Text -> Maybe ClusterHealth -> Maybe Text -> Maybe Identity -> Maybe KubernetesNetworkConfigResponse -> Maybe Logging -> Maybe Text -> Maybe OutpostConfigResponse -> Maybe Text -> Maybe VpcConfigResponse -> Maybe Text -> Maybe ClusterStatus -> Maybe (HashMap Text Text) -> Maybe Text -> Cluster
-- | The Amazon Resource Name (ARN) of the cluster.
[$sel:arn:Cluster'] :: Cluster -> Maybe Text
-- | The certificate-authority-data for your cluster.
[$sel:certificateAuthority:Cluster'] :: Cluster -> Maybe Certificate
-- | Unique, case-sensitive identifier that you provide to ensure the
-- idempotency of the request.
[$sel:clientRequestToken:Cluster'] :: Cluster -> Maybe Text
-- | The configuration used to connect to a cluster for registration.
[$sel:connectorConfig:Cluster'] :: Cluster -> Maybe ConnectorConfigResponse
-- | The Unix epoch timestamp in seconds for when the cluster was created.
[$sel:createdAt:Cluster'] :: Cluster -> Maybe POSIX
-- | The encryption configuration for the cluster.
[$sel:encryptionConfig:Cluster'] :: Cluster -> Maybe [EncryptionConfig]
-- | The endpoint for your Kubernetes API server.
[$sel:endpoint:Cluster'] :: Cluster -> Maybe Text
-- | An object representing the health of your local Amazon EKS cluster on
-- an Amazon Web Services Outpost. This object isn't available for
-- clusters on the Amazon Web Services cloud.
[$sel:health:Cluster'] :: Cluster -> Maybe ClusterHealth
-- | The ID of your local Amazon EKS cluster on an Amazon Web Services
-- Outpost. This property isn't available for an Amazon EKS cluster on
-- the Amazon Web Services cloud.
[$sel:id:Cluster'] :: Cluster -> Maybe Text
-- | The identity provider information for the cluster.
[$sel:identity:Cluster'] :: Cluster -> Maybe Identity
-- | The Kubernetes network configuration for the cluster.
[$sel:kubernetesNetworkConfig:Cluster'] :: Cluster -> Maybe KubernetesNetworkConfigResponse
-- | The logging configuration for your cluster.
[$sel:logging:Cluster'] :: Cluster -> Maybe Logging
-- | The name of the cluster.
[$sel:name:Cluster'] :: Cluster -> Maybe Text
-- | An object representing the configuration of your local Amazon EKS
-- cluster on an Amazon Web Services Outpost. This object isn't available
-- for clusters on the Amazon Web Services cloud.
[$sel:outpostConfig:Cluster'] :: Cluster -> Maybe OutpostConfigResponse
-- | The platform version of your Amazon EKS cluster. For more information,
-- see Platform Versions in the /Amazon EKS User Guide/ .
[$sel:platformVersion:Cluster'] :: Cluster -> Maybe Text
-- | The VPC configuration used by the cluster control plane. Amazon EKS
-- VPC resources have specific requirements to work properly with
-- Kubernetes. For more information, see Cluster VPC
-- Considerations and Cluster Security Group Considerations in
-- the Amazon EKS User Guide.
[$sel:resourcesVpcConfig:Cluster'] :: Cluster -> Maybe VpcConfigResponse
-- | The Amazon Resource Name (ARN) of the IAM role that provides
-- permissions for the Kubernetes control plane to make calls to Amazon
-- Web Services API operations on your behalf.
[$sel:roleArn:Cluster'] :: Cluster -> Maybe Text
-- | The current status of the cluster.
[$sel:status:Cluster'] :: Cluster -> Maybe ClusterStatus
-- | The metadata that you apply to the cluster to assist with
-- categorization and organization. Each tag consists of a key and an
-- optional value. You define both. Cluster tags do not propagate to any
-- other resources associated with the cluster.
[$sel:tags:Cluster'] :: Cluster -> Maybe (HashMap Text Text)
-- | The Kubernetes server version for the cluster.
[$sel:version:Cluster'] :: Cluster -> Maybe Text
-- | Create a value of Cluster with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:arn:Cluster', cluster_arn - The Amazon Resource
-- Name (ARN) of the cluster.
--
-- $sel:certificateAuthority:Cluster',
-- cluster_certificateAuthority - The
-- certificate-authority-data for your cluster.
--
-- $sel:clientRequestToken:Cluster',
-- cluster_clientRequestToken - Unique, case-sensitive identifier
-- that you provide to ensure the idempotency of the request.
--
-- $sel:connectorConfig:Cluster', cluster_connectorConfig -
-- The configuration used to connect to a cluster for registration.
--
-- $sel:createdAt:Cluster', cluster_createdAt - The Unix
-- epoch timestamp in seconds for when the cluster was created.
--
-- $sel:encryptionConfig:Cluster', cluster_encryptionConfig
-- - The encryption configuration for the cluster.
--
-- $sel:endpoint:Cluster', cluster_endpoint - The endpoint
-- for your Kubernetes API server.
--
-- $sel:health:Cluster', cluster_health - An object
-- representing the health of your local Amazon EKS cluster on an Amazon
-- Web Services Outpost. This object isn't available for clusters on the
-- Amazon Web Services cloud.
--
-- $sel:id:Cluster', cluster_id - The ID of your local
-- Amazon EKS cluster on an Amazon Web Services Outpost. This property
-- isn't available for an Amazon EKS cluster on the Amazon Web Services
-- cloud.
--
-- $sel:identity:Cluster', cluster_identity - The identity
-- provider information for the cluster.
--
-- $sel:kubernetesNetworkConfig:Cluster',
-- cluster_kubernetesNetworkConfig - The Kubernetes network
-- configuration for the cluster.
--
-- $sel:logging:Cluster', cluster_logging - The logging
-- configuration for your cluster.
--
-- $sel:name:Cluster', cluster_name - The name of the
-- cluster.
--
-- $sel:outpostConfig:Cluster', cluster_outpostConfig - An
-- object representing the configuration of your local Amazon EKS cluster
-- on an Amazon Web Services Outpost. This object isn't available for
-- clusters on the Amazon Web Services cloud.
--
-- $sel:platformVersion:Cluster', cluster_platformVersion -
-- The platform version of your Amazon EKS cluster. For more information,
-- see Platform Versions in the /Amazon EKS User Guide/ .
--
-- $sel:resourcesVpcConfig:Cluster',
-- cluster_resourcesVpcConfig - The VPC configuration used by the
-- cluster control plane. Amazon EKS VPC resources have specific
-- requirements to work properly with Kubernetes. For more information,
-- see Cluster VPC Considerations and Cluster Security Group
-- Considerations in the Amazon EKS User Guide.
--
-- Cluster, cluster_roleArn - The Amazon Resource Name
-- (ARN) of the IAM role that provides permissions for the Kubernetes
-- control plane to make calls to Amazon Web Services API operations on
-- your behalf.
--
-- $sel:status:Cluster', cluster_status - The current
-- status of the cluster.
--
-- $sel:tags:Cluster', cluster_tags - The metadata that you
-- apply to the cluster to assist with categorization and organization.
-- Each tag consists of a key and an optional value. You define both.
-- Cluster tags do not propagate to any other resources associated with
-- the cluster.
--
-- $sel:version:Cluster', cluster_version - The Kubernetes
-- server version for the cluster.
newCluster :: Cluster
-- | The Amazon Resource Name (ARN) of the cluster.
cluster_arn :: Lens' Cluster (Maybe Text)
-- | The certificate-authority-data for your cluster.
cluster_certificateAuthority :: Lens' Cluster (Maybe Certificate)
-- | Unique, case-sensitive identifier that you provide to ensure the
-- idempotency of the request.
cluster_clientRequestToken :: Lens' Cluster (Maybe Text)
-- | The configuration used to connect to a cluster for registration.
cluster_connectorConfig :: Lens' Cluster (Maybe ConnectorConfigResponse)
-- | The Unix epoch timestamp in seconds for when the cluster was created.
cluster_createdAt :: Lens' Cluster (Maybe UTCTime)
-- | The encryption configuration for the cluster.
cluster_encryptionConfig :: Lens' Cluster (Maybe [EncryptionConfig])
-- | The endpoint for your Kubernetes API server.
cluster_endpoint :: Lens' Cluster (Maybe Text)
-- | An object representing the health of your local Amazon EKS cluster on
-- an Amazon Web Services Outpost. This object isn't available for
-- clusters on the Amazon Web Services cloud.
cluster_health :: Lens' Cluster (Maybe ClusterHealth)
-- | The ID of your local Amazon EKS cluster on an Amazon Web Services
-- Outpost. This property isn't available for an Amazon EKS cluster on
-- the Amazon Web Services cloud.
cluster_id :: Lens' Cluster (Maybe Text)
-- | The identity provider information for the cluster.
cluster_identity :: Lens' Cluster (Maybe Identity)
-- | The Kubernetes network configuration for the cluster.
cluster_kubernetesNetworkConfig :: Lens' Cluster (Maybe KubernetesNetworkConfigResponse)
-- | The logging configuration for your cluster.
cluster_logging :: Lens' Cluster (Maybe Logging)
-- | The name of the cluster.
cluster_name :: Lens' Cluster (Maybe Text)
-- | An object representing the configuration of your local Amazon EKS
-- cluster on an Amazon Web Services Outpost. This object isn't available
-- for clusters on the Amazon Web Services cloud.
cluster_outpostConfig :: Lens' Cluster (Maybe OutpostConfigResponse)
-- | The platform version of your Amazon EKS cluster. For more information,
-- see Platform Versions in the /Amazon EKS User Guide/ .
cluster_platformVersion :: Lens' Cluster (Maybe Text)
-- | The VPC configuration used by the cluster control plane. Amazon EKS
-- VPC resources have specific requirements to work properly with
-- Kubernetes. For more information, see Cluster VPC
-- Considerations and Cluster Security Group Considerations in
-- the Amazon EKS User Guide.
cluster_resourcesVpcConfig :: Lens' Cluster (Maybe VpcConfigResponse)
-- | The Amazon Resource Name (ARN) of the IAM role that provides
-- permissions for the Kubernetes control plane to make calls to Amazon
-- Web Services API operations on your behalf.
cluster_roleArn :: Lens' Cluster (Maybe Text)
-- | The current status of the cluster.
cluster_status :: Lens' Cluster (Maybe ClusterStatus)
-- | The metadata that you apply to the cluster to assist with
-- categorization and organization. Each tag consists of a key and an
-- optional value. You define both. Cluster tags do not propagate to any
-- other resources associated with the cluster.
cluster_tags :: Lens' Cluster (Maybe (HashMap Text Text))
-- | The Kubernetes server version for the cluster.
cluster_version :: Lens' Cluster (Maybe Text)
-- | An object representing the health of your local Amazon EKS cluster on
-- an Amazon Web Services Outpost. You can't use this API with an Amazon
-- EKS cluster on the Amazon Web Services cloud.
--
-- See: newClusterHealth smart constructor.
data ClusterHealth
ClusterHealth' :: Maybe [ClusterIssue] -> ClusterHealth
-- | An object representing the health issues of your local Amazon EKS
-- cluster on an Amazon Web Services Outpost.
[$sel:issues:ClusterHealth'] :: ClusterHealth -> Maybe [ClusterIssue]
-- | Create a value of ClusterHealth with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:issues:ClusterHealth', clusterHealth_issues - An
-- object representing the health issues of your local Amazon EKS cluster
-- on an Amazon Web Services Outpost.
newClusterHealth :: ClusterHealth
-- | An object representing the health issues of your local Amazon EKS
-- cluster on an Amazon Web Services Outpost.
clusterHealth_issues :: Lens' ClusterHealth (Maybe [ClusterIssue])
-- | An issue with your local Amazon EKS cluster on an Amazon Web Services
-- Outpost. You can't use this API with an Amazon EKS cluster on the
-- Amazon Web Services cloud.
--
-- See: newClusterIssue smart constructor.
data ClusterIssue
ClusterIssue' :: Maybe ClusterIssueCode -> Maybe Text -> Maybe [Text] -> ClusterIssue
-- | The error code of the issue.
[$sel:code:ClusterIssue'] :: ClusterIssue -> Maybe ClusterIssueCode
-- | A description of the issue.
[$sel:message:ClusterIssue'] :: ClusterIssue -> Maybe Text
-- | The resource IDs that the issue relates to.
[$sel:resourceIds:ClusterIssue'] :: ClusterIssue -> Maybe [Text]
-- | Create a value of ClusterIssue with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:code:ClusterIssue', clusterIssue_code - The error
-- code of the issue.
--
-- $sel:message:ClusterIssue', clusterIssue_message - A
-- description of the issue.
--
-- $sel:resourceIds:ClusterIssue', clusterIssue_resourceIds
-- - The resource IDs that the issue relates to.
newClusterIssue :: ClusterIssue
-- | The error code of the issue.
clusterIssue_code :: Lens' ClusterIssue (Maybe ClusterIssueCode)
-- | A description of the issue.
clusterIssue_message :: Lens' ClusterIssue (Maybe Text)
-- | The resource IDs that the issue relates to.
clusterIssue_resourceIds :: Lens' ClusterIssue (Maybe [Text])
-- | Compatibility information.
--
-- See: newCompatibility smart constructor.
data Compatibility
Compatibility' :: Maybe Text -> Maybe Bool -> Maybe [Text] -> Compatibility
-- | The supported Kubernetes version of the cluster.
[$sel:clusterVersion:Compatibility'] :: Compatibility -> Maybe Text
-- | The supported default version.
[$sel:defaultVersion:Compatibility'] :: Compatibility -> Maybe Bool
-- | The supported compute platform.
[$sel:platformVersions:Compatibility'] :: Compatibility -> Maybe [Text]
-- | Create a value of Compatibility with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:clusterVersion:Compatibility',
-- compatibility_clusterVersion - The supported Kubernetes version
-- of the cluster.
--
-- $sel:defaultVersion:Compatibility',
-- compatibility_defaultVersion - The supported default version.
--
-- $sel:platformVersions:Compatibility',
-- compatibility_platformVersions - The supported compute
-- platform.
newCompatibility :: Compatibility
-- | The supported Kubernetes version of the cluster.
compatibility_clusterVersion :: Lens' Compatibility (Maybe Text)
-- | The supported default version.
compatibility_defaultVersion :: Lens' Compatibility (Maybe Bool)
-- | The supported compute platform.
compatibility_platformVersions :: Lens' Compatibility (Maybe [Text])
-- | The configuration sent to a cluster for configuration.
--
-- See: newConnectorConfigRequest smart constructor.
data ConnectorConfigRequest
ConnectorConfigRequest' :: Text -> ConnectorConfigProvider -> ConnectorConfigRequest
-- | The Amazon Resource Name (ARN) of the role that is authorized to
-- request the connector configuration.
[$sel:roleArn:ConnectorConfigRequest'] :: ConnectorConfigRequest -> Text
-- | The cloud provider for the target cluster to connect.
[$sel:provider:ConnectorConfigRequest'] :: ConnectorConfigRequest -> ConnectorConfigProvider
-- | Create a value of ConnectorConfigRequest with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:roleArn:ConnectorConfigRequest',
-- connectorConfigRequest_roleArn - The Amazon Resource Name (ARN)
-- of the role that is authorized to request the connector configuration.
--
-- $sel:provider:ConnectorConfigRequest',
-- connectorConfigRequest_provider - The cloud provider for the
-- target cluster to connect.
newConnectorConfigRequest :: Text -> ConnectorConfigProvider -> ConnectorConfigRequest
-- | The Amazon Resource Name (ARN) of the role that is authorized to
-- request the connector configuration.
connectorConfigRequest_roleArn :: Lens' ConnectorConfigRequest Text
-- | The cloud provider for the target cluster to connect.
connectorConfigRequest_provider :: Lens' ConnectorConfigRequest ConnectorConfigProvider
-- | The full description of your connected cluster.
--
-- See: newConnectorConfigResponse smart constructor.
data ConnectorConfigResponse
ConnectorConfigResponse' :: Maybe Text -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe Text -> ConnectorConfigResponse
-- | A unique code associated with the cluster for registration purposes.
[$sel:activationCode:ConnectorConfigResponse'] :: ConnectorConfigResponse -> Maybe Text
-- | The expiration time of the connected cluster. The cluster's YAML file
-- must be applied through the native provider.
[$sel:activationExpiry:ConnectorConfigResponse'] :: ConnectorConfigResponse -> Maybe POSIX
-- | A unique ID associated with the cluster for registration purposes.
[$sel:activationId:ConnectorConfigResponse'] :: ConnectorConfigResponse -> Maybe Text
-- | The cluster's cloud service provider.
[$sel:provider:ConnectorConfigResponse'] :: ConnectorConfigResponse -> Maybe Text
-- | The Amazon Resource Name (ARN) of the role to communicate with
-- services from the connected Kubernetes cluster.
[$sel:roleArn:ConnectorConfigResponse'] :: ConnectorConfigResponse -> Maybe Text
-- | Create a value of ConnectorConfigResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:activationCode:ConnectorConfigResponse',
-- connectorConfigResponse_activationCode - A unique code
-- associated with the cluster for registration purposes.
--
-- $sel:activationExpiry:ConnectorConfigResponse',
-- connectorConfigResponse_activationExpiry - The expiration time
-- of the connected cluster. The cluster's YAML file must be applied
-- through the native provider.
--
-- $sel:activationId:ConnectorConfigResponse',
-- connectorConfigResponse_activationId - A unique ID associated
-- with the cluster for registration purposes.
--
-- $sel:provider:ConnectorConfigResponse',
-- connectorConfigResponse_provider - The cluster's cloud service
-- provider.
--
-- $sel:roleArn:ConnectorConfigResponse',
-- connectorConfigResponse_roleArn - The Amazon Resource Name
-- (ARN) of the role to communicate with services from the connected
-- Kubernetes cluster.
newConnectorConfigResponse :: ConnectorConfigResponse
-- | A unique code associated with the cluster for registration purposes.
connectorConfigResponse_activationCode :: Lens' ConnectorConfigResponse (Maybe Text)
-- | The expiration time of the connected cluster. The cluster's YAML file
-- must be applied through the native provider.
connectorConfigResponse_activationExpiry :: Lens' ConnectorConfigResponse (Maybe UTCTime)
-- | A unique ID associated with the cluster for registration purposes.
connectorConfigResponse_activationId :: Lens' ConnectorConfigResponse (Maybe Text)
-- | The cluster's cloud service provider.
connectorConfigResponse_provider :: Lens' ConnectorConfigResponse (Maybe Text)
-- | The Amazon Resource Name (ARN) of the role to communicate with
-- services from the connected Kubernetes cluster.
connectorConfigResponse_roleArn :: Lens' ConnectorConfigResponse (Maybe Text)
-- | The placement configuration for all the control plane instances of
-- your local Amazon EKS cluster on an Amazon Web Services Outpost. For
-- more information, see Capacity considerations in the Amazon
-- EKS User Guide
--
-- See: newControlPlanePlacementRequest smart constructor.
data ControlPlanePlacementRequest
ControlPlanePlacementRequest' :: Maybe Text -> ControlPlanePlacementRequest
-- | The name of the placement group for the Kubernetes control plane
-- instances. This setting can't be changed after cluster creation.
[$sel:groupName:ControlPlanePlacementRequest'] :: ControlPlanePlacementRequest -> Maybe Text
-- | Create a value of ControlPlanePlacementRequest with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:groupName:ControlPlanePlacementRequest',
-- controlPlanePlacementRequest_groupName - The name of the
-- placement group for the Kubernetes control plane instances. This
-- setting can't be changed after cluster creation.
newControlPlanePlacementRequest :: ControlPlanePlacementRequest
-- | The name of the placement group for the Kubernetes control plane
-- instances. This setting can't be changed after cluster creation.
controlPlanePlacementRequest_groupName :: Lens' ControlPlanePlacementRequest (Maybe Text)
-- | The placement configuration for all the control plane instances of
-- your local Amazon EKS cluster on an Amazon Web Services Outpost. For
-- more information, see Capacity considerations in the Amazon
-- EKS User Guide.
--
-- See: newControlPlanePlacementResponse smart constructor.
data ControlPlanePlacementResponse
ControlPlanePlacementResponse' :: Maybe Text -> ControlPlanePlacementResponse
-- | The name of the placement group for the Kubernetes control plane
-- instances.
[$sel:groupName:ControlPlanePlacementResponse'] :: ControlPlanePlacementResponse -> Maybe Text
-- | Create a value of ControlPlanePlacementResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:groupName:ControlPlanePlacementResponse',
-- controlPlanePlacementResponse_groupName - The name of the
-- placement group for the Kubernetes control plane instances.
newControlPlanePlacementResponse :: ControlPlanePlacementResponse
-- | The name of the placement group for the Kubernetes control plane
-- instances.
controlPlanePlacementResponse_groupName :: Lens' ControlPlanePlacementResponse (Maybe Text)
-- | The encryption configuration for the cluster.
--
-- See: newEncryptionConfig smart constructor.
data EncryptionConfig
EncryptionConfig' :: Maybe Provider -> Maybe [Text] -> EncryptionConfig
-- | Key Management Service (KMS) key. Either the ARN or the alias can be
-- used.
[$sel:provider:EncryptionConfig'] :: EncryptionConfig -> Maybe Provider
-- | Specifies the resources to be encrypted. The only supported value is
-- "secrets".
[$sel:resources:EncryptionConfig'] :: EncryptionConfig -> Maybe [Text]
-- | Create a value of EncryptionConfig with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:provider:EncryptionConfig',
-- encryptionConfig_provider - Key Management Service (KMS) key.
-- Either the ARN or the alias can be used.
--
-- $sel:resources:EncryptionConfig',
-- encryptionConfig_resources - Specifies the resources to be
-- encrypted. The only supported value is "secrets".
newEncryptionConfig :: EncryptionConfig
-- | Key Management Service (KMS) key. Either the ARN or the alias can be
-- used.
encryptionConfig_provider :: Lens' EncryptionConfig (Maybe Provider)
-- | Specifies the resources to be encrypted. The only supported value is
-- "secrets".
encryptionConfig_resources :: Lens' EncryptionConfig (Maybe [Text])
-- | An object representing an error when an asynchronous operation fails.
--
-- See: newErrorDetail smart constructor.
data ErrorDetail
ErrorDetail' :: Maybe EKSErrorCode -> Maybe Text -> Maybe [Text] -> ErrorDetail
-- | A brief description of the error.
--
--
-- - SubnetNotFound: We couldn't find one of the subnets
-- associated with the cluster.
-- - SecurityGroupNotFound: We couldn't find one of the security
-- groups associated with the cluster.
-- - EniLimitReached: You have reached the elastic network
-- interface limit for your account.
-- - IpNotAvailable: A subnet associated with the cluster
-- doesn't have any free IP addresses.
-- - AccessDenied: You don't have permissions to perform the
-- specified operation.
-- - OperationNotPermitted: The service role associated with the
-- cluster doesn't have the required access permissions for Amazon
-- EKS.
-- - VpcIdNotFound: We couldn't find the VPC associated with the
-- cluster.
--
[$sel:errorCode:ErrorDetail'] :: ErrorDetail -> Maybe EKSErrorCode
-- | A more complete description of the error.
[$sel:errorMessage:ErrorDetail'] :: ErrorDetail -> Maybe Text
-- | An optional field that contains the resource IDs associated with the
-- error.
[$sel:resourceIds:ErrorDetail'] :: ErrorDetail -> Maybe [Text]
-- | Create a value of ErrorDetail with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:errorCode:ErrorDetail', errorDetail_errorCode - A
-- brief description of the error.
--
--
-- - SubnetNotFound: We couldn't find one of the subnets
-- associated with the cluster.
-- - SecurityGroupNotFound: We couldn't find one of the security
-- groups associated with the cluster.
-- - EniLimitReached: You have reached the elastic network
-- interface limit for your account.
-- - IpNotAvailable: A subnet associated with the cluster
-- doesn't have any free IP addresses.
-- - AccessDenied: You don't have permissions to perform the
-- specified operation.
-- - OperationNotPermitted: The service role associated with the
-- cluster doesn't have the required access permissions for Amazon
-- EKS.
-- - VpcIdNotFound: We couldn't find the VPC associated with the
-- cluster.
--
--
-- $sel:errorMessage:ErrorDetail', errorDetail_errorMessage
-- - A more complete description of the error.
--
-- $sel:resourceIds:ErrorDetail', errorDetail_resourceIds -
-- An optional field that contains the resource IDs associated with the
-- error.
newErrorDetail :: ErrorDetail
-- | A brief description of the error.
--
--
-- - SubnetNotFound: We couldn't find one of the subnets
-- associated with the cluster.
-- - SecurityGroupNotFound: We couldn't find one of the security
-- groups associated with the cluster.
-- - EniLimitReached: You have reached the elastic network
-- interface limit for your account.
-- - IpNotAvailable: A subnet associated with the cluster
-- doesn't have any free IP addresses.
-- - AccessDenied: You don't have permissions to perform the
-- specified operation.
-- - OperationNotPermitted: The service role associated with the
-- cluster doesn't have the required access permissions for Amazon
-- EKS.
-- - VpcIdNotFound: We couldn't find the VPC associated with the
-- cluster.
--
errorDetail_errorCode :: Lens' ErrorDetail (Maybe EKSErrorCode)
-- | A more complete description of the error.
errorDetail_errorMessage :: Lens' ErrorDetail (Maybe Text)
-- | An optional field that contains the resource IDs associated with the
-- error.
errorDetail_resourceIds :: Lens' ErrorDetail (Maybe [Text])
-- | An object representing an Fargate profile.
--
-- See: newFargateProfile smart constructor.
data FargateProfile
FargateProfile' :: Maybe Text -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe [FargateProfileSelector] -> Maybe FargateProfileStatus -> Maybe [Text] -> Maybe (HashMap Text Text) -> FargateProfile
-- | The name of the Amazon EKS cluster that the Fargate profile belongs
-- to.
[$sel:clusterName:FargateProfile'] :: FargateProfile -> Maybe Text
-- | The Unix epoch timestamp in seconds for when the Fargate profile was
-- created.
[$sel:createdAt:FargateProfile'] :: FargateProfile -> Maybe POSIX
-- | The full Amazon Resource Name (ARN) of the Fargate profile.
[$sel:fargateProfileArn:FargateProfile'] :: FargateProfile -> Maybe Text
-- | The name of the Fargate profile.
[$sel:fargateProfileName:FargateProfile'] :: FargateProfile -> Maybe Text
-- | The Amazon Resource Name (ARN) of the pod execution role to use for
-- pods that match the selectors in the Fargate profile. For more
-- information, see Pod Execution Role in the Amazon EKS User
-- Guide.
[$sel:podExecutionRoleArn:FargateProfile'] :: FargateProfile -> Maybe Text
-- | The selectors to match for pods to use this Fargate profile.
[$sel:selectors:FargateProfile'] :: FargateProfile -> Maybe [FargateProfileSelector]
-- | The current status of the Fargate profile.
[$sel:status:FargateProfile'] :: FargateProfile -> Maybe FargateProfileStatus
-- | The IDs of subnets to launch pods into.
[$sel:subnets:FargateProfile'] :: FargateProfile -> Maybe [Text]
-- | The metadata applied to the Fargate profile to assist with
-- categorization and organization. Each tag consists of a key and an
-- optional value. You define both. Fargate profile tags do not propagate
-- to any other resources associated with the Fargate profile, such as
-- the pods that are scheduled with it.
[$sel:tags:FargateProfile'] :: FargateProfile -> Maybe (HashMap Text Text)
-- | Create a value of FargateProfile with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:clusterName:FargateProfile',
-- fargateProfile_clusterName - The name of the Amazon EKS cluster
-- that the Fargate profile belongs to.
--
-- $sel:createdAt:FargateProfile', fargateProfile_createdAt
-- - The Unix epoch timestamp in seconds for when the Fargate profile was
-- created.
--
-- $sel:fargateProfileArn:FargateProfile',
-- fargateProfile_fargateProfileArn - The full Amazon Resource
-- Name (ARN) of the Fargate profile.
--
-- $sel:fargateProfileName:FargateProfile',
-- fargateProfile_fargateProfileName - The name of the Fargate
-- profile.
--
-- $sel:podExecutionRoleArn:FargateProfile',
-- fargateProfile_podExecutionRoleArn - The Amazon Resource Name
-- (ARN) of the pod execution role to use for pods that match the
-- selectors in the Fargate profile. For more information, see Pod
-- Execution Role in the Amazon EKS User Guide.
--
-- $sel:selectors:FargateProfile', fargateProfile_selectors
-- - The selectors to match for pods to use this Fargate profile.
--
-- $sel:status:FargateProfile', fargateProfile_status - The
-- current status of the Fargate profile.
--
-- $sel:subnets:FargateProfile', fargateProfile_subnets -
-- The IDs of subnets to launch pods into.
--
-- $sel:tags:FargateProfile', fargateProfile_tags - The
-- metadata applied to the Fargate profile to assist with categorization
-- and organization. Each tag consists of a key and an optional value.
-- You define both. Fargate profile tags do not propagate to any other
-- resources associated with the Fargate profile, such as the pods that
-- are scheduled with it.
newFargateProfile :: FargateProfile
-- | The name of the Amazon EKS cluster that the Fargate profile belongs
-- to.
fargateProfile_clusterName :: Lens' FargateProfile (Maybe Text)
-- | The Unix epoch timestamp in seconds for when the Fargate profile was
-- created.
fargateProfile_createdAt :: Lens' FargateProfile (Maybe UTCTime)
-- | The full Amazon Resource Name (ARN) of the Fargate profile.
fargateProfile_fargateProfileArn :: Lens' FargateProfile (Maybe Text)
-- | The name of the Fargate profile.
fargateProfile_fargateProfileName :: Lens' FargateProfile (Maybe Text)
-- | The Amazon Resource Name (ARN) of the pod execution role to use for
-- pods that match the selectors in the Fargate profile. For more
-- information, see Pod Execution Role in the Amazon EKS User
-- Guide.
fargateProfile_podExecutionRoleArn :: Lens' FargateProfile (Maybe Text)
-- | The selectors to match for pods to use this Fargate profile.
fargateProfile_selectors :: Lens' FargateProfile (Maybe [FargateProfileSelector])
-- | The current status of the Fargate profile.
fargateProfile_status :: Lens' FargateProfile (Maybe FargateProfileStatus)
-- | The IDs of subnets to launch pods into.
fargateProfile_subnets :: Lens' FargateProfile (Maybe [Text])
-- | The metadata applied to the Fargate profile to assist with
-- categorization and organization. Each tag consists of a key and an
-- optional value. You define both. Fargate profile tags do not propagate
-- to any other resources associated with the Fargate profile, such as
-- the pods that are scheduled with it.
fargateProfile_tags :: Lens' FargateProfile (Maybe (HashMap Text Text))
-- | An object representing an Fargate profile selector.
--
-- See: newFargateProfileSelector smart constructor.
data FargateProfileSelector
FargateProfileSelector' :: Maybe (HashMap Text Text) -> Maybe Text -> FargateProfileSelector
-- | The Kubernetes labels that the selector should match. A pod must
-- contain all of the labels that are specified in the selector for it to
-- be considered a match.
[$sel:labels:FargateProfileSelector'] :: FargateProfileSelector -> Maybe (HashMap Text Text)
-- | The Kubernetes namespace that the selector should match.
[$sel:namespace:FargateProfileSelector'] :: FargateProfileSelector -> Maybe Text
-- | Create a value of FargateProfileSelector with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:labels:FargateProfileSelector',
-- fargateProfileSelector_labels - The Kubernetes labels that the
-- selector should match. A pod must contain all of the labels that are
-- specified in the selector for it to be considered a match.
--
-- $sel:namespace:FargateProfileSelector',
-- fargateProfileSelector_namespace - The Kubernetes namespace
-- that the selector should match.
newFargateProfileSelector :: FargateProfileSelector
-- | The Kubernetes labels that the selector should match. A pod must
-- contain all of the labels that are specified in the selector for it to
-- be considered a match.
fargateProfileSelector_labels :: Lens' FargateProfileSelector (Maybe (HashMap Text Text))
-- | The Kubernetes namespace that the selector should match.
fargateProfileSelector_namespace :: Lens' FargateProfileSelector (Maybe Text)
-- | An object representing an identity provider.
--
-- See: newIdentity smart constructor.
data Identity
Identity' :: Maybe OIDC -> Identity
-- | An object representing the OpenID Connect identity provider
-- information.
[$sel:oidc:Identity'] :: Identity -> Maybe OIDC
-- | Create a value of Identity with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:oidc:Identity', identity_oidc - An object
-- representing the OpenID Connect identity provider information.
newIdentity :: Identity
-- | An object representing the OpenID Connect identity provider
-- information.
identity_oidc :: Lens' Identity (Maybe OIDC)
-- | An object representing an identity provider configuration.
--
-- See: newIdentityProviderConfig smart constructor.
data IdentityProviderConfig
IdentityProviderConfig' :: Text -> Text -> IdentityProviderConfig
-- | The type of the identity provider configuration. The only type
-- available is oidc.
[$sel:type':IdentityProviderConfig'] :: IdentityProviderConfig -> Text
-- | The name of the identity provider configuration.
[$sel:name:IdentityProviderConfig'] :: IdentityProviderConfig -> Text
-- | Create a value of IdentityProviderConfig with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:type':IdentityProviderConfig',
-- identityProviderConfig_type - The type of the identity provider
-- configuration. The only type available is oidc.
--
-- $sel:name:IdentityProviderConfig',
-- identityProviderConfig_name - The name of the identity provider
-- configuration.
newIdentityProviderConfig :: Text -> Text -> IdentityProviderConfig
-- | The type of the identity provider configuration. The only type
-- available is oidc.
identityProviderConfig_type :: Lens' IdentityProviderConfig Text
-- | The name of the identity provider configuration.
identityProviderConfig_name :: Lens' IdentityProviderConfig Text
-- | The full description of your identity configuration.
--
-- See: newIdentityProviderConfigResponse smart
-- constructor.
data IdentityProviderConfigResponse
IdentityProviderConfigResponse' :: Maybe OidcIdentityProviderConfig -> IdentityProviderConfigResponse
-- | An object representing an OpenID Connect (OIDC) identity provider
-- configuration.
[$sel:oidc:IdentityProviderConfigResponse'] :: IdentityProviderConfigResponse -> Maybe OidcIdentityProviderConfig
-- | Create a value of IdentityProviderConfigResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:oidc:IdentityProviderConfigResponse',
-- identityProviderConfigResponse_oidc - An object representing an
-- OpenID Connect (OIDC) identity provider configuration.
newIdentityProviderConfigResponse :: IdentityProviderConfigResponse
-- | An object representing an OpenID Connect (OIDC) identity provider
-- configuration.
identityProviderConfigResponse_oidc :: Lens' IdentityProviderConfigResponse (Maybe OidcIdentityProviderConfig)
-- | An object representing an issue with an Amazon EKS resource.
--
-- See: newIssue smart constructor.
data Issue
Issue' :: Maybe NodegroupIssueCode -> Maybe Text -> Maybe [Text] -> Issue
-- | A brief description of the error.
--
--
-- - AccessDenied: Amazon EKS or one or more of your managed
-- nodes is failing to authenticate or authorize with your Kubernetes
-- cluster API server.
-- - AsgInstanceLaunchFailures: Your Auto Scaling group is
-- experiencing failures while attempting to launch instances.
-- - AutoScalingGroupNotFound: We couldn't find the Auto Scaling
-- group associated with the managed node group. You may be able to
-- recreate an Auto Scaling group with the same settings to recover.
-- - ClusterUnreachable: Amazon EKS or one or more of your
-- managed nodes is unable to to communicate with your Kubernetes cluster
-- API server. This can happen if there are network disruptions or if API
-- servers are timing out processing requests.
-- - Ec2LaunchTemplateNotFound: We couldn't find the Amazon EC2
-- launch template for your managed node group. You may be able to
-- recreate a launch template with the same settings to recover.
-- - Ec2LaunchTemplateVersionMismatch: The Amazon EC2 launch
-- template version for your managed node group does not match the
-- version that Amazon EKS created. You may be able to revert to the
-- version that Amazon EKS created to recover.
-- - Ec2SecurityGroupDeletionFailure: We could not delete the
-- remote access security group for your managed node group. Remove any
-- dependencies from the security group.
-- - Ec2SecurityGroupNotFound: We couldn't find the cluster
-- security group for the cluster. You must recreate your cluster.
-- - Ec2SubnetInvalidConfiguration: One or more Amazon EC2
-- subnets specified for a node group do not automatically assign public
-- IP addresses to instances launched into it. If you want your instances
-- to be assigned a public IP address, then you need to enable the
-- auto-assign public IP address setting for the subnet. See
-- Modifying the public IPv4 addressing attribute for your subnet
-- in the Amazon VPC User Guide.
-- - IamInstanceProfileNotFound: We couldn't find the IAM
-- instance profile for your managed node group. You may be able to
-- recreate an instance profile with the same settings to recover.
-- - IamNodeRoleNotFound: We couldn't find the IAM role for your
-- managed node group. You may be able to recreate an IAM role with the
-- same settings to recover.
-- - InstanceLimitExceeded: Your Amazon Web Services account is
-- unable to launch any more instances of the specified instance type.
-- You may be able to request an Amazon EC2 instance limit increase to
-- recover.
-- - InsufficientFreeAddresses: One or more of the subnets
-- associated with your managed node group does not have enough available
-- IP addresses for new nodes.
-- - InternalFailure: These errors are usually caused by an
-- Amazon EKS server-side issue.
-- - NodeCreationFailure: Your launched instances are unable to
-- register with your Amazon EKS cluster. Common causes of this failure
-- are insufficient node IAM role permissions or lack of outbound
-- internet access for the nodes.
--
[$sel:code:Issue'] :: Issue -> Maybe NodegroupIssueCode
-- | The error message associated with the issue.
[$sel:message:Issue'] :: Issue -> Maybe Text
-- | The Amazon Web Services resources that are afflicted by this issue.
[$sel:resourceIds:Issue'] :: Issue -> Maybe [Text]
-- | Create a value of Issue with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:code:Issue', issue_code - A brief description of
-- the error.
--
--
-- - AccessDenied: Amazon EKS or one or more of your managed
-- nodes is failing to authenticate or authorize with your Kubernetes
-- cluster API server.
-- - AsgInstanceLaunchFailures: Your Auto Scaling group is
-- experiencing failures while attempting to launch instances.
-- - AutoScalingGroupNotFound: We couldn't find the Auto Scaling
-- group associated with the managed node group. You may be able to
-- recreate an Auto Scaling group with the same settings to recover.
-- - ClusterUnreachable: Amazon EKS or one or more of your
-- managed nodes is unable to to communicate with your Kubernetes cluster
-- API server. This can happen if there are network disruptions or if API
-- servers are timing out processing requests.
-- - Ec2LaunchTemplateNotFound: We couldn't find the Amazon EC2
-- launch template for your managed node group. You may be able to
-- recreate a launch template with the same settings to recover.
-- - Ec2LaunchTemplateVersionMismatch: The Amazon EC2 launch
-- template version for your managed node group does not match the
-- version that Amazon EKS created. You may be able to revert to the
-- version that Amazon EKS created to recover.
-- - Ec2SecurityGroupDeletionFailure: We could not delete the
-- remote access security group for your managed node group. Remove any
-- dependencies from the security group.
-- - Ec2SecurityGroupNotFound: We couldn't find the cluster
-- security group for the cluster. You must recreate your cluster.
-- - Ec2SubnetInvalidConfiguration: One or more Amazon EC2
-- subnets specified for a node group do not automatically assign public
-- IP addresses to instances launched into it. If you want your instances
-- to be assigned a public IP address, then you need to enable the
-- auto-assign public IP address setting for the subnet. See
-- Modifying the public IPv4 addressing attribute for your subnet
-- in the Amazon VPC User Guide.
-- - IamInstanceProfileNotFound: We couldn't find the IAM
-- instance profile for your managed node group. You may be able to
-- recreate an instance profile with the same settings to recover.
-- - IamNodeRoleNotFound: We couldn't find the IAM role for your
-- managed node group. You may be able to recreate an IAM role with the
-- same settings to recover.
-- - InstanceLimitExceeded: Your Amazon Web Services account is
-- unable to launch any more instances of the specified instance type.
-- You may be able to request an Amazon EC2 instance limit increase to
-- recover.
-- - InsufficientFreeAddresses: One or more of the subnets
-- associated with your managed node group does not have enough available
-- IP addresses for new nodes.
-- - InternalFailure: These errors are usually caused by an
-- Amazon EKS server-side issue.
-- - NodeCreationFailure: Your launched instances are unable to
-- register with your Amazon EKS cluster. Common causes of this failure
-- are insufficient node IAM role permissions or lack of outbound
-- internet access for the nodes.
--
--
-- $sel:message:Issue', issue_message - The error message
-- associated with the issue.
--
-- $sel:resourceIds:Issue', issue_resourceIds - The Amazon
-- Web Services resources that are afflicted by this issue.
newIssue :: Issue
-- | A brief description of the error.
--
--
-- - AccessDenied: Amazon EKS or one or more of your managed
-- nodes is failing to authenticate or authorize with your Kubernetes
-- cluster API server.
-- - AsgInstanceLaunchFailures: Your Auto Scaling group is
-- experiencing failures while attempting to launch instances.
-- - AutoScalingGroupNotFound: We couldn't find the Auto Scaling
-- group associated with the managed node group. You may be able to
-- recreate an Auto Scaling group with the same settings to recover.
-- - ClusterUnreachable: Amazon EKS or one or more of your
-- managed nodes is unable to to communicate with your Kubernetes cluster
-- API server. This can happen if there are network disruptions or if API
-- servers are timing out processing requests.
-- - Ec2LaunchTemplateNotFound: We couldn't find the Amazon EC2
-- launch template for your managed node group. You may be able to
-- recreate a launch template with the same settings to recover.
-- - Ec2LaunchTemplateVersionMismatch: The Amazon EC2 launch
-- template version for your managed node group does not match the
-- version that Amazon EKS created. You may be able to revert to the
-- version that Amazon EKS created to recover.
-- - Ec2SecurityGroupDeletionFailure: We could not delete the
-- remote access security group for your managed node group. Remove any
-- dependencies from the security group.
-- - Ec2SecurityGroupNotFound: We couldn't find the cluster
-- security group for the cluster. You must recreate your cluster.
-- - Ec2SubnetInvalidConfiguration: One or more Amazon EC2
-- subnets specified for a node group do not automatically assign public
-- IP addresses to instances launched into it. If you want your instances
-- to be assigned a public IP address, then you need to enable the
-- auto-assign public IP address setting for the subnet. See
-- Modifying the public IPv4 addressing attribute for your subnet
-- in the Amazon VPC User Guide.
-- - IamInstanceProfileNotFound: We couldn't find the IAM
-- instance profile for your managed node group. You may be able to
-- recreate an instance profile with the same settings to recover.
-- - IamNodeRoleNotFound: We couldn't find the IAM role for your
-- managed node group. You may be able to recreate an IAM role with the
-- same settings to recover.
-- - InstanceLimitExceeded: Your Amazon Web Services account is
-- unable to launch any more instances of the specified instance type.
-- You may be able to request an Amazon EC2 instance limit increase to
-- recover.
-- - InsufficientFreeAddresses: One or more of the subnets
-- associated with your managed node group does not have enough available
-- IP addresses for new nodes.
-- - InternalFailure: These errors are usually caused by an
-- Amazon EKS server-side issue.
-- - NodeCreationFailure: Your launched instances are unable to
-- register with your Amazon EKS cluster. Common causes of this failure
-- are insufficient node IAM role permissions or lack of outbound
-- internet access for the nodes.
--
issue_code :: Lens' Issue (Maybe NodegroupIssueCode)
-- | The error message associated with the issue.
issue_message :: Lens' Issue (Maybe Text)
-- | The Amazon Web Services resources that are afflicted by this issue.
issue_resourceIds :: Lens' Issue (Maybe [Text])
-- | The Kubernetes network configuration for the cluster.
--
-- See: newKubernetesNetworkConfigRequest smart
-- constructor.
data KubernetesNetworkConfigRequest
KubernetesNetworkConfigRequest' :: Maybe IpFamily -> Maybe Text -> KubernetesNetworkConfigRequest
-- | Specify which IP family is used to assign Kubernetes pod and service
-- IP addresses. If you don't specify a value, ipv4 is used by
-- default. You can only specify an IP family when you create a cluster
-- and can't change this value once the cluster is created. If you
-- specify ipv6, the VPC and subnets that you specify for
-- cluster creation must have both IPv4 and IPv6 CIDR
-- blocks assigned to them. You can't specify ipv6 for clusters
-- in China Regions.
--
-- You can only specify ipv6 for 1.21 and later
-- clusters that use version 1.10.1 or later of the Amazon VPC
-- CNI add-on. If you specify ipv6, then ensure that your VPC
-- meets the requirements listed in the considerations listed in
-- Assigning IPv6 addresses to pods and services in the Amazon EKS
-- User Guide. Kubernetes assigns services IPv6 addresses from
-- the unique local address range (fc00::/7). You can't specify
-- a custom IPv6 CIDR block. Pod addresses are assigned from the
-- subnet's IPv6 CIDR.
[$sel:ipFamily:KubernetesNetworkConfigRequest'] :: KubernetesNetworkConfigRequest -> Maybe IpFamily
-- | Don't specify a value if you select ipv6 for ipFamily.
-- The CIDR block to assign Kubernetes service IP addresses from. If you
-- don't specify a block, Kubernetes assigns addresses from either the
-- 10.100.0.0/16 or 172.20.0.0/16 CIDR blocks. We
-- recommend that you specify a block that does not overlap with
-- resources in other networks that are peered or connected to your VPC.
-- The block must meet the following requirements:
--
--
-- - Within one of the following private IP address blocks:
-- 10.0.0.0/8, 172.16.0.0/12, or
-- 192.168.0.0/16.
-- - Doesn't overlap with any CIDR block assigned to the VPC that you
-- selected for VPC.
-- - Between /24 and /12.
--
--
-- You can only specify a custom CIDR block when you create a cluster and
-- can't change this value once the cluster is created.
[$sel:serviceIpv4Cidr:KubernetesNetworkConfigRequest'] :: KubernetesNetworkConfigRequest -> Maybe Text
-- | Create a value of KubernetesNetworkConfigRequest with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:ipFamily:KubernetesNetworkConfigRequest',
-- kubernetesNetworkConfigRequest_ipFamily - Specify which IP
-- family is used to assign Kubernetes pod and service IP addresses. If
-- you don't specify a value, ipv4 is used by default. You can
-- only specify an IP family when you create a cluster and can't change
-- this value once the cluster is created. If you specify ipv6,
-- the VPC and subnets that you specify for cluster creation must have
-- both IPv4 and IPv6 CIDR blocks assigned to them. You
-- can't specify ipv6 for clusters in China Regions.
--
-- You can only specify ipv6 for 1.21 and later
-- clusters that use version 1.10.1 or later of the Amazon VPC
-- CNI add-on. If you specify ipv6, then ensure that your VPC
-- meets the requirements listed in the considerations listed in
-- Assigning IPv6 addresses to pods and services in the Amazon EKS
-- User Guide. Kubernetes assigns services IPv6 addresses from
-- the unique local address range (fc00::/7). You can't specify
-- a custom IPv6 CIDR block. Pod addresses are assigned from the
-- subnet's IPv6 CIDR.
--
-- $sel:serviceIpv4Cidr:KubernetesNetworkConfigRequest',
-- kubernetesNetworkConfigRequest_serviceIpv4Cidr - Don't specify
-- a value if you select ipv6 for ipFamily. The CIDR
-- block to assign Kubernetes service IP addresses from. If you don't
-- specify a block, Kubernetes assigns addresses from either the
-- 10.100.0.0/16 or 172.20.0.0/16 CIDR blocks. We
-- recommend that you specify a block that does not overlap with
-- resources in other networks that are peered or connected to your VPC.
-- The block must meet the following requirements:
--
--
-- - Within one of the following private IP address blocks:
-- 10.0.0.0/8, 172.16.0.0/12, or
-- 192.168.0.0/16.
-- - Doesn't overlap with any CIDR block assigned to the VPC that you
-- selected for VPC.
-- - Between /24 and /12.
--
--
-- You can only specify a custom CIDR block when you create a cluster and
-- can't change this value once the cluster is created.
newKubernetesNetworkConfigRequest :: KubernetesNetworkConfigRequest
-- | Specify which IP family is used to assign Kubernetes pod and service
-- IP addresses. If you don't specify a value, ipv4 is used by
-- default. You can only specify an IP family when you create a cluster
-- and can't change this value once the cluster is created. If you
-- specify ipv6, the VPC and subnets that you specify for
-- cluster creation must have both IPv4 and IPv6 CIDR
-- blocks assigned to them. You can't specify ipv6 for clusters
-- in China Regions.
--
-- You can only specify ipv6 for 1.21 and later
-- clusters that use version 1.10.1 or later of the Amazon VPC
-- CNI add-on. If you specify ipv6, then ensure that your VPC
-- meets the requirements listed in the considerations listed in
-- Assigning IPv6 addresses to pods and services in the Amazon EKS
-- User Guide. Kubernetes assigns services IPv6 addresses from
-- the unique local address range (fc00::/7). You can't specify
-- a custom IPv6 CIDR block. Pod addresses are assigned from the
-- subnet's IPv6 CIDR.
kubernetesNetworkConfigRequest_ipFamily :: Lens' KubernetesNetworkConfigRequest (Maybe IpFamily)
-- | Don't specify a value if you select ipv6 for ipFamily.
-- The CIDR block to assign Kubernetes service IP addresses from. If you
-- don't specify a block, Kubernetes assigns addresses from either the
-- 10.100.0.0/16 or 172.20.0.0/16 CIDR blocks. We
-- recommend that you specify a block that does not overlap with
-- resources in other networks that are peered or connected to your VPC.
-- The block must meet the following requirements:
--
--
-- - Within one of the following private IP address blocks:
-- 10.0.0.0/8, 172.16.0.0/12, or
-- 192.168.0.0/16.
-- - Doesn't overlap with any CIDR block assigned to the VPC that you
-- selected for VPC.
-- - Between /24 and /12.
--
--
-- You can only specify a custom CIDR block when you create a cluster and
-- can't change this value once the cluster is created.
kubernetesNetworkConfigRequest_serviceIpv4Cidr :: Lens' KubernetesNetworkConfigRequest (Maybe Text)
-- | The Kubernetes network configuration for the cluster. The response
-- contains a value for serviceIpv6Cidr or serviceIpv4Cidr,
-- but not both.
--
-- See: newKubernetesNetworkConfigResponse smart
-- constructor.
data KubernetesNetworkConfigResponse
KubernetesNetworkConfigResponse' :: Maybe IpFamily -> Maybe Text -> Maybe Text -> KubernetesNetworkConfigResponse
-- | The IP family used to assign Kubernetes pod and service IP addresses.
-- The IP family is always ipv4, unless you have a 1.21
-- or later cluster running version 1.10.1 or later of the Amazon VPC CNI
-- add-on and specified ipv6 when you created the cluster.
[$sel:ipFamily:KubernetesNetworkConfigResponse'] :: KubernetesNetworkConfigResponse -> Maybe IpFamily
-- | The CIDR block that Kubernetes pod and service IP addresses are
-- assigned from. Kubernetes assigns addresses from an IPv4 CIDR block
-- assigned to a subnet that the node is in. If you didn't specify a CIDR
-- block when you created the cluster, then Kubernetes assigns addresses
-- from either the 10.100.0.0/16 or 172.20.0.0/16 CIDR
-- blocks. If this was specified, then it was specified when the cluster
-- was created and it can't be changed.
[$sel:serviceIpv4Cidr:KubernetesNetworkConfigResponse'] :: KubernetesNetworkConfigResponse -> Maybe Text
-- | The CIDR block that Kubernetes pod and service IP addresses are
-- assigned from if you created a 1.21 or later cluster with version
-- 1.10.1 or later of the Amazon VPC CNI add-on and specified
-- ipv6 for ipFamily when you created the cluster.
-- Kubernetes assigns service addresses from the unique local address
-- range (fc00::/7) because you can't specify a custom IPv6 CIDR
-- block when you create the cluster.
[$sel:serviceIpv6Cidr:KubernetesNetworkConfigResponse'] :: KubernetesNetworkConfigResponse -> Maybe Text
-- | Create a value of KubernetesNetworkConfigResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:ipFamily:KubernetesNetworkConfigResponse',
-- kubernetesNetworkConfigResponse_ipFamily - The IP family used
-- to assign Kubernetes pod and service IP addresses. The IP family is
-- always ipv4, unless you have a 1.21 or later cluster
-- running version 1.10.1 or later of the Amazon VPC CNI add-on and
-- specified ipv6 when you created the cluster.
--
-- $sel:serviceIpv4Cidr:KubernetesNetworkConfigResponse',
-- kubernetesNetworkConfigResponse_serviceIpv4Cidr - The CIDR
-- block that Kubernetes pod and service IP addresses are assigned from.
-- Kubernetes assigns addresses from an IPv4 CIDR block assigned to a
-- subnet that the node is in. If you didn't specify a CIDR block when
-- you created the cluster, then Kubernetes assigns addresses from either
-- the 10.100.0.0/16 or 172.20.0.0/16 CIDR blocks. If
-- this was specified, then it was specified when the cluster was created
-- and it can't be changed.
--
-- $sel:serviceIpv6Cidr:KubernetesNetworkConfigResponse',
-- kubernetesNetworkConfigResponse_serviceIpv6Cidr - The CIDR
-- block that Kubernetes pod and service IP addresses are assigned from
-- if you created a 1.21 or later cluster with version 1.10.1 or later of
-- the Amazon VPC CNI add-on and specified ipv6 for
-- ipFamily when you created the cluster. Kubernetes assigns
-- service addresses from the unique local address range
-- (fc00::/7) because you can't specify a custom IPv6 CIDR block
-- when you create the cluster.
newKubernetesNetworkConfigResponse :: KubernetesNetworkConfigResponse
-- | The IP family used to assign Kubernetes pod and service IP addresses.
-- The IP family is always ipv4, unless you have a 1.21
-- or later cluster running version 1.10.1 or later of the Amazon VPC CNI
-- add-on and specified ipv6 when you created the cluster.
kubernetesNetworkConfigResponse_ipFamily :: Lens' KubernetesNetworkConfigResponse (Maybe IpFamily)
-- | The CIDR block that Kubernetes pod and service IP addresses are
-- assigned from. Kubernetes assigns addresses from an IPv4 CIDR block
-- assigned to a subnet that the node is in. If you didn't specify a CIDR
-- block when you created the cluster, then Kubernetes assigns addresses
-- from either the 10.100.0.0/16 or 172.20.0.0/16 CIDR
-- blocks. If this was specified, then it was specified when the cluster
-- was created and it can't be changed.
kubernetesNetworkConfigResponse_serviceIpv4Cidr :: Lens' KubernetesNetworkConfigResponse (Maybe Text)
-- | The CIDR block that Kubernetes pod and service IP addresses are
-- assigned from if you created a 1.21 or later cluster with version
-- 1.10.1 or later of the Amazon VPC CNI add-on and specified
-- ipv6 for ipFamily when you created the cluster.
-- Kubernetes assigns service addresses from the unique local address
-- range (fc00::/7) because you can't specify a custom IPv6 CIDR
-- block when you create the cluster.
kubernetesNetworkConfigResponse_serviceIpv6Cidr :: Lens' KubernetesNetworkConfigResponse (Maybe Text)
-- | An object representing a node group launch template specification. The
-- launch template can't include SubnetId ,
-- IamInstanceProfile , RequestSpotInstances ,
-- HibernationOptions , or TerminateInstances , or the node
-- group deployment or update will fail. For more information about
-- launch templates, see CreateLaunchTemplate in the Amazon EC2
-- API Reference. For more information about using launch templates with
-- Amazon EKS, see Launch template support in the Amazon EKS
-- User Guide.
--
-- You must specify either the launch template ID or the launch template
-- name in the request, but not both.
--
-- See: newLaunchTemplateSpecification smart constructor.
data LaunchTemplateSpecification
LaunchTemplateSpecification' :: Maybe Text -> Maybe Text -> Maybe Text -> LaunchTemplateSpecification
-- | The ID of the launch template.
--
-- You must specify either the launch template ID or the launch template
-- name in the request, but not both.
[$sel:id:LaunchTemplateSpecification'] :: LaunchTemplateSpecification -> Maybe Text
-- | The name of the launch template.
--
-- You must specify either the launch template name or the launch
-- template ID in the request, but not both.
[$sel:name:LaunchTemplateSpecification'] :: LaunchTemplateSpecification -> Maybe Text
-- | The version number of the launch template to use. If no version is
-- specified, then the template's default version is used.
[$sel:version:LaunchTemplateSpecification'] :: LaunchTemplateSpecification -> Maybe Text
-- | Create a value of LaunchTemplateSpecification with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:id:LaunchTemplateSpecification',
-- launchTemplateSpecification_id - The ID of the launch template.
--
-- You must specify either the launch template ID or the launch template
-- name in the request, but not both.
--
-- $sel:name:LaunchTemplateSpecification',
-- launchTemplateSpecification_name - The name of the launch
-- template.
--
-- You must specify either the launch template name or the launch
-- template ID in the request, but not both.
--
-- $sel:version:LaunchTemplateSpecification',
-- launchTemplateSpecification_version - The version number of the
-- launch template to use. If no version is specified, then the
-- template's default version is used.
newLaunchTemplateSpecification :: LaunchTemplateSpecification
-- | The ID of the launch template.
--
-- You must specify either the launch template ID or the launch template
-- name in the request, but not both.
launchTemplateSpecification_id :: Lens' LaunchTemplateSpecification (Maybe Text)
-- | The name of the launch template.
--
-- You must specify either the launch template name or the launch
-- template ID in the request, but not both.
launchTemplateSpecification_name :: Lens' LaunchTemplateSpecification (Maybe Text)
-- | The version number of the launch template to use. If no version is
-- specified, then the template's default version is used.
launchTemplateSpecification_version :: Lens' LaunchTemplateSpecification (Maybe Text)
-- | An object representing the enabled or disabled Kubernetes control
-- plane logs for your cluster.
--
-- See: newLogSetup smart constructor.
data LogSetup
LogSetup' :: Maybe Bool -> Maybe [LogType] -> LogSetup
-- | If a log type is enabled, that log type exports its control plane logs
-- to CloudWatch Logs. If a log type isn't enabled, that log type doesn't
-- export its control plane logs. Each individual log type can be enabled
-- or disabled independently.
[$sel:enabled:LogSetup'] :: LogSetup -> Maybe Bool
-- | The available cluster control plane log types.
[$sel:types:LogSetup'] :: LogSetup -> Maybe [LogType]
-- | Create a value of LogSetup with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:enabled:LogSetup', logSetup_enabled - If a log type
-- is enabled, that log type exports its control plane logs to CloudWatch
-- Logs. If a log type isn't enabled, that log type doesn't export its
-- control plane logs. Each individual log type can be enabled or
-- disabled independently.
--
-- $sel:types:LogSetup', logSetup_types - The available
-- cluster control plane log types.
newLogSetup :: LogSetup
-- | If a log type is enabled, that log type exports its control plane logs
-- to CloudWatch Logs. If a log type isn't enabled, that log type doesn't
-- export its control plane logs. Each individual log type can be enabled
-- or disabled independently.
logSetup_enabled :: Lens' LogSetup (Maybe Bool)
-- | The available cluster control plane log types.
logSetup_types :: Lens' LogSetup (Maybe [LogType])
-- | An object representing the logging configuration for resources in your
-- cluster.
--
-- See: newLogging smart constructor.
data Logging
Logging' :: Maybe [LogSetup] -> Logging
-- | The cluster control plane logging configuration for your cluster.
[$sel:clusterLogging:Logging'] :: Logging -> Maybe [LogSetup]
-- | Create a value of Logging with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:clusterLogging:Logging', logging_clusterLogging -
-- The cluster control plane logging configuration for your cluster.
newLogging :: Logging
-- | The cluster control plane logging configuration for your cluster.
logging_clusterLogging :: Lens' Logging (Maybe [LogSetup])
-- | Information about an Amazon EKS add-on from the Amazon Web Services
-- Marketplace.
--
-- See: newMarketplaceInformation smart constructor.
data MarketplaceInformation
MarketplaceInformation' :: Maybe Text -> Maybe Text -> MarketplaceInformation
-- | The product ID from the Amazon Web Services Marketplace.
[$sel:productId:MarketplaceInformation'] :: MarketplaceInformation -> Maybe Text
-- | The product URL from the Amazon Web Services Marketplace.
[$sel:productUrl:MarketplaceInformation'] :: MarketplaceInformation -> Maybe Text
-- | Create a value of MarketplaceInformation with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:productId:MarketplaceInformation',
-- marketplaceInformation_productId - The product ID from the
-- Amazon Web Services Marketplace.
--
-- $sel:productUrl:MarketplaceInformation',
-- marketplaceInformation_productUrl - The product URL from the
-- Amazon Web Services Marketplace.
newMarketplaceInformation :: MarketplaceInformation
-- | The product ID from the Amazon Web Services Marketplace.
marketplaceInformation_productId :: Lens' MarketplaceInformation (Maybe Text)
-- | The product URL from the Amazon Web Services Marketplace.
marketplaceInformation_productUrl :: Lens' MarketplaceInformation (Maybe Text)
-- | An object representing an Amazon EKS managed node group.
--
-- See: newNodegroup smart constructor.
data Nodegroup
Nodegroup' :: Maybe AMITypes -> Maybe CapacityTypes -> Maybe Text -> Maybe POSIX -> Maybe Int -> Maybe NodegroupHealth -> Maybe [Text] -> Maybe (HashMap Text Text) -> Maybe LaunchTemplateSpecification -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe RemoteAccessConfig -> Maybe NodegroupResources -> Maybe NodegroupScalingConfig -> Maybe NodegroupStatus -> Maybe [Text] -> Maybe (HashMap Text Text) -> Maybe [Taint] -> Maybe NodegroupUpdateConfig -> Maybe Text -> Nodegroup
-- | If the node group was deployed using a launch template with a custom
-- AMI, then this is CUSTOM. For node groups that weren't
-- deployed using a launch template, this is the AMI type that was
-- specified in the node group configuration.
[$sel:amiType:Nodegroup'] :: Nodegroup -> Maybe AMITypes
-- | The capacity type of your managed node group.
[$sel:capacityType:Nodegroup'] :: Nodegroup -> Maybe CapacityTypes
-- | The name of the cluster that the managed node group resides in.
[$sel:clusterName:Nodegroup'] :: Nodegroup -> Maybe Text
-- | The Unix epoch timestamp in seconds for when the managed node group
-- was created.
[$sel:createdAt:Nodegroup'] :: Nodegroup -> Maybe POSIX
-- | If the node group wasn't deployed with a launch template, then this is
-- the disk size in the node group configuration. If the node group was
-- deployed with a launch template, then this is null.
[$sel:diskSize:Nodegroup'] :: Nodegroup -> Maybe Int
-- | The health status of the node group. If there are issues with your
-- node group's health, they are listed here.
[$sel:health:Nodegroup'] :: Nodegroup -> Maybe NodegroupHealth
-- | If the node group wasn't deployed with a launch template, then this is
-- the instance type that is associated with the node group. If the node
-- group was deployed with a launch template, then this is null.
[$sel:instanceTypes:Nodegroup'] :: Nodegroup -> Maybe [Text]
-- | The Kubernetes labels applied to the nodes in the node group.
--
-- Only labels that are applied with the Amazon EKS API are shown here.
-- There may be other Kubernetes labels applied to the nodes in this
-- group.
[$sel:labels:Nodegroup'] :: Nodegroup -> Maybe (HashMap Text Text)
-- | If a launch template was used to create the node group, then this is
-- the launch template that was used.
[$sel:launchTemplate:Nodegroup'] :: Nodegroup -> Maybe LaunchTemplateSpecification
-- | The Unix epoch timestamp in seconds for when the managed node group
-- was last modified.
[$sel:modifiedAt:Nodegroup'] :: Nodegroup -> Maybe POSIX
-- | The IAM role associated with your node group. The Amazon EKS node
-- kubelet daemon makes calls to Amazon Web Services APIs on
-- your behalf. Nodes receive permissions for these API calls through an
-- IAM instance profile and associated policies.
[$sel:nodeRole:Nodegroup'] :: Nodegroup -> Maybe Text
-- | The Amazon Resource Name (ARN) associated with the managed node group.
[$sel:nodegroupArn:Nodegroup'] :: Nodegroup -> Maybe Text
-- | The name associated with an Amazon EKS managed node group.
[$sel:nodegroupName:Nodegroup'] :: Nodegroup -> Maybe Text
-- | If the node group was deployed using a launch template with a custom
-- AMI, then this is the AMI ID that was specified in the launch
-- template. For node groups that weren't deployed using a launch
-- template, this is the version of the Amazon EKS optimized AMI that the
-- node group was deployed with.
[$sel:releaseVersion:Nodegroup'] :: Nodegroup -> Maybe Text
-- | If the node group wasn't deployed with a launch template, then this is
-- the remote access configuration that is associated with the node
-- group. If the node group was deployed with a launch template, then
-- this is null.
[$sel:remoteAccess:Nodegroup'] :: Nodegroup -> Maybe RemoteAccessConfig
-- | The resources associated with the node group, such as Auto Scaling
-- groups and security groups for remote access.
[$sel:resources:Nodegroup'] :: Nodegroup -> Maybe NodegroupResources
-- | The scaling configuration details for the Auto Scaling group that is
-- associated with your node group.
[$sel:scalingConfig:Nodegroup'] :: Nodegroup -> Maybe NodegroupScalingConfig
-- | The current status of the managed node group.
[$sel:status:Nodegroup'] :: Nodegroup -> Maybe NodegroupStatus
-- | The subnets that were specified for the Auto Scaling group that is
-- associated with your node group.
[$sel:subnets:Nodegroup'] :: Nodegroup -> Maybe [Text]
-- | The metadata applied to the node group to assist with categorization
-- and organization. Each tag consists of a key and an optional value.
-- You define both. Node group tags do not propagate to any other
-- resources associated with the node group, such as the Amazon EC2
-- instances or subnets.
[$sel:tags:Nodegroup'] :: Nodegroup -> Maybe (HashMap Text Text)
-- | The Kubernetes taints to be applied to the nodes in the node group
-- when they are created. Effect is one of No_Schedule,
-- Prefer_No_Schedule, or No_Execute. Kubernetes taints
-- can be used together with tolerations to control how workloads are
-- scheduled to your nodes. For more information, see Node taints on
-- managed node groups.
[$sel:taints:Nodegroup'] :: Nodegroup -> Maybe [Taint]
-- | The node group update configuration.
[$sel:updateConfig:Nodegroup'] :: Nodegroup -> Maybe NodegroupUpdateConfig
-- | The Kubernetes version of the managed node group.
[$sel:version:Nodegroup'] :: Nodegroup -> Maybe Text
-- | Create a value of Nodegroup with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:amiType:Nodegroup', nodegroup_amiType - If the node
-- group was deployed using a launch template with a custom AMI, then
-- this is CUSTOM. For node groups that weren't deployed using a
-- launch template, this is the AMI type that was specified in the node
-- group configuration.
--
-- $sel:capacityType:Nodegroup', nodegroup_capacityType -
-- The capacity type of your managed node group.
--
-- $sel:clusterName:Nodegroup', nodegroup_clusterName - The
-- name of the cluster that the managed node group resides in.
--
-- $sel:createdAt:Nodegroup', nodegroup_createdAt - The
-- Unix epoch timestamp in seconds for when the managed node group was
-- created.
--
-- $sel:diskSize:Nodegroup', nodegroup_diskSize - If the
-- node group wasn't deployed with a launch template, then this is the
-- disk size in the node group configuration. If the node group was
-- deployed with a launch template, then this is null.
--
-- $sel:health:Nodegroup', nodegroup_health - The health
-- status of the node group. If there are issues with your node group's
-- health, they are listed here.
--
-- $sel:instanceTypes:Nodegroup', nodegroup_instanceTypes -
-- If the node group wasn't deployed with a launch template, then this is
-- the instance type that is associated with the node group. If the node
-- group was deployed with a launch template, then this is null.
--
-- $sel:labels:Nodegroup', nodegroup_labels - The
-- Kubernetes labels applied to the nodes in the node group.
--
-- Only labels that are applied with the Amazon EKS API are shown here.
-- There may be other Kubernetes labels applied to the nodes in this
-- group.
--
-- $sel:launchTemplate:Nodegroup', nodegroup_launchTemplate
-- - If a launch template was used to create the node group, then this is
-- the launch template that was used.
--
-- $sel:modifiedAt:Nodegroup', nodegroup_modifiedAt - The
-- Unix epoch timestamp in seconds for when the managed node group was
-- last modified.
--
-- $sel:nodeRole:Nodegroup', nodegroup_nodeRole - The IAM
-- role associated with your node group. The Amazon EKS node
-- kubelet daemon makes calls to Amazon Web Services APIs on
-- your behalf. Nodes receive permissions for these API calls through an
-- IAM instance profile and associated policies.
--
-- $sel:nodegroupArn:Nodegroup', nodegroup_nodegroupArn -
-- The Amazon Resource Name (ARN) associated with the managed node group.
--
-- $sel:nodegroupName:Nodegroup', nodegroup_nodegroupName -
-- The name associated with an Amazon EKS managed node group.
--
-- $sel:releaseVersion:Nodegroup', nodegroup_releaseVersion
-- - If the node group was deployed using a launch template with a custom
-- AMI, then this is the AMI ID that was specified in the launch
-- template. For node groups that weren't deployed using a launch
-- template, this is the version of the Amazon EKS optimized AMI that the
-- node group was deployed with.
--
-- $sel:remoteAccess:Nodegroup', nodegroup_remoteAccess -
-- If the node group wasn't deployed with a launch template, then this is
-- the remote access configuration that is associated with the node
-- group. If the node group was deployed with a launch template, then
-- this is null.
--
-- $sel:resources:Nodegroup', nodegroup_resources - The
-- resources associated with the node group, such as Auto Scaling groups
-- and security groups for remote access.
--
-- $sel:scalingConfig:Nodegroup', nodegroup_scalingConfig -
-- The scaling configuration details for the Auto Scaling group that is
-- associated with your node group.
--
-- $sel:status:Nodegroup', nodegroup_status - The current
-- status of the managed node group.
--
-- $sel:subnets:Nodegroup', nodegroup_subnets - The subnets
-- that were specified for the Auto Scaling group that is associated with
-- your node group.
--
-- $sel:tags:Nodegroup', nodegroup_tags - The metadata
-- applied to the node group to assist with categorization and
-- organization. Each tag consists of a key and an optional value. You
-- define both. Node group tags do not propagate to any other resources
-- associated with the node group, such as the Amazon EC2 instances or
-- subnets.
--
-- $sel:taints:Nodegroup', nodegroup_taints - The
-- Kubernetes taints to be applied to the nodes in the node group when
-- they are created. Effect is one of No_Schedule,
-- Prefer_No_Schedule, or No_Execute. Kubernetes taints
-- can be used together with tolerations to control how workloads are
-- scheduled to your nodes. For more information, see Node taints on
-- managed node groups.
--
-- $sel:updateConfig:Nodegroup', nodegroup_updateConfig -
-- The node group update configuration.
--
-- Nodegroup, nodegroup_version - The Kubernetes version of
-- the managed node group.
newNodegroup :: Nodegroup
-- | If the node group was deployed using a launch template with a custom
-- AMI, then this is CUSTOM. For node groups that weren't
-- deployed using a launch template, this is the AMI type that was
-- specified in the node group configuration.
nodegroup_amiType :: Lens' Nodegroup (Maybe AMITypes)
-- | The capacity type of your managed node group.
nodegroup_capacityType :: Lens' Nodegroup (Maybe CapacityTypes)
-- | The name of the cluster that the managed node group resides in.
nodegroup_clusterName :: Lens' Nodegroup (Maybe Text)
-- | The Unix epoch timestamp in seconds for when the managed node group
-- was created.
nodegroup_createdAt :: Lens' Nodegroup (Maybe UTCTime)
-- | If the node group wasn't deployed with a launch template, then this is
-- the disk size in the node group configuration. If the node group was
-- deployed with a launch template, then this is null.
nodegroup_diskSize :: Lens' Nodegroup (Maybe Int)
-- | The health status of the node group. If there are issues with your
-- node group's health, they are listed here.
nodegroup_health :: Lens' Nodegroup (Maybe NodegroupHealth)
-- | If the node group wasn't deployed with a launch template, then this is
-- the instance type that is associated with the node group. If the node
-- group was deployed with a launch template, then this is null.
nodegroup_instanceTypes :: Lens' Nodegroup (Maybe [Text])
-- | The Kubernetes labels applied to the nodes in the node group.
--
-- Only labels that are applied with the Amazon EKS API are shown here.
-- There may be other Kubernetes labels applied to the nodes in this
-- group.
nodegroup_labels :: Lens' Nodegroup (Maybe (HashMap Text Text))
-- | If a launch template was used to create the node group, then this is
-- the launch template that was used.
nodegroup_launchTemplate :: Lens' Nodegroup (Maybe LaunchTemplateSpecification)
-- | The Unix epoch timestamp in seconds for when the managed node group
-- was last modified.
nodegroup_modifiedAt :: Lens' Nodegroup (Maybe UTCTime)
-- | The IAM role associated with your node group. The Amazon EKS node
-- kubelet daemon makes calls to Amazon Web Services APIs on
-- your behalf. Nodes receive permissions for these API calls through an
-- IAM instance profile and associated policies.
nodegroup_nodeRole :: Lens' Nodegroup (Maybe Text)
-- | The Amazon Resource Name (ARN) associated with the managed node group.
nodegroup_nodegroupArn :: Lens' Nodegroup (Maybe Text)
-- | The name associated with an Amazon EKS managed node group.
nodegroup_nodegroupName :: Lens' Nodegroup (Maybe Text)
-- | If the node group was deployed using a launch template with a custom
-- AMI, then this is the AMI ID that was specified in the launch
-- template. For node groups that weren't deployed using a launch
-- template, this is the version of the Amazon EKS optimized AMI that the
-- node group was deployed with.
nodegroup_releaseVersion :: Lens' Nodegroup (Maybe Text)
-- | If the node group wasn't deployed with a launch template, then this is
-- the remote access configuration that is associated with the node
-- group. If the node group was deployed with a launch template, then
-- this is null.
nodegroup_remoteAccess :: Lens' Nodegroup (Maybe RemoteAccessConfig)
-- | The resources associated with the node group, such as Auto Scaling
-- groups and security groups for remote access.
nodegroup_resources :: Lens' Nodegroup (Maybe NodegroupResources)
-- | The scaling configuration details for the Auto Scaling group that is
-- associated with your node group.
nodegroup_scalingConfig :: Lens' Nodegroup (Maybe NodegroupScalingConfig)
-- | The current status of the managed node group.
nodegroup_status :: Lens' Nodegroup (Maybe NodegroupStatus)
-- | The subnets that were specified for the Auto Scaling group that is
-- associated with your node group.
nodegroup_subnets :: Lens' Nodegroup (Maybe [Text])
-- | The metadata applied to the node group to assist with categorization
-- and organization. Each tag consists of a key and an optional value.
-- You define both. Node group tags do not propagate to any other
-- resources associated with the node group, such as the Amazon EC2
-- instances or subnets.
nodegroup_tags :: Lens' Nodegroup (Maybe (HashMap Text Text))
-- | The Kubernetes taints to be applied to the nodes in the node group
-- when they are created. Effect is one of No_Schedule,
-- Prefer_No_Schedule, or No_Execute. Kubernetes taints
-- can be used together with tolerations to control how workloads are
-- scheduled to your nodes. For more information, see Node taints on
-- managed node groups.
nodegroup_taints :: Lens' Nodegroup (Maybe [Taint])
-- | The node group update configuration.
nodegroup_updateConfig :: Lens' Nodegroup (Maybe NodegroupUpdateConfig)
-- | The Kubernetes version of the managed node group.
nodegroup_version :: Lens' Nodegroup (Maybe Text)
-- | An object representing the health status of the node group.
--
-- See: newNodegroupHealth smart constructor.
data NodegroupHealth
NodegroupHealth' :: Maybe [Issue] -> NodegroupHealth
-- | Any issues that are associated with the node group.
[$sel:issues:NodegroupHealth'] :: NodegroupHealth -> Maybe [Issue]
-- | Create a value of NodegroupHealth with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:issues:NodegroupHealth', nodegroupHealth_issues -
-- Any issues that are associated with the node group.
newNodegroupHealth :: NodegroupHealth
-- | Any issues that are associated with the node group.
nodegroupHealth_issues :: Lens' NodegroupHealth (Maybe [Issue])
-- | An object representing the resources associated with the node group,
-- such as Auto Scaling groups and security groups for remote access.
--
-- See: newNodegroupResources smart constructor.
data NodegroupResources
NodegroupResources' :: Maybe [AutoScalingGroup] -> Maybe Text -> NodegroupResources
-- | The Auto Scaling groups associated with the node group.
[$sel:autoScalingGroups:NodegroupResources'] :: NodegroupResources -> Maybe [AutoScalingGroup]
-- | The remote access security group associated with the node group. This
-- security group controls SSH access to the nodes.
[$sel:remoteAccessSecurityGroup:NodegroupResources'] :: NodegroupResources -> Maybe Text
-- | Create a value of NodegroupResources with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:autoScalingGroups:NodegroupResources',
-- nodegroupResources_autoScalingGroups - The Auto Scaling groups
-- associated with the node group.
--
-- $sel:remoteAccessSecurityGroup:NodegroupResources',
-- nodegroupResources_remoteAccessSecurityGroup - The remote
-- access security group associated with the node group. This security
-- group controls SSH access to the nodes.
newNodegroupResources :: NodegroupResources
-- | The Auto Scaling groups associated with the node group.
nodegroupResources_autoScalingGroups :: Lens' NodegroupResources (Maybe [AutoScalingGroup])
-- | The remote access security group associated with the node group. This
-- security group controls SSH access to the nodes.
nodegroupResources_remoteAccessSecurityGroup :: Lens' NodegroupResources (Maybe Text)
-- | An object representing the scaling configuration details for the Auto
-- Scaling group that is associated with your node group. When creating a
-- node group, you must specify all or none of the properties. When
-- updating a node group, you can specify any or none of the properties.
--
-- See: newNodegroupScalingConfig smart constructor.
data NodegroupScalingConfig
NodegroupScalingConfig' :: Maybe Natural -> Maybe Natural -> Maybe Natural -> NodegroupScalingConfig
-- | The current number of nodes that the managed node group should
-- maintain.
--
-- If you use Cluster Autoscaler, you shouldn't change the desiredSize
-- value directly, as this can cause the Cluster Autoscaler to suddenly
-- scale up or scale down.
--
-- Whenever this parameter changes, the number of worker nodes in the
-- node group is updated to the specified size. If this parameter is
-- given a value that is smaller than the current number of running
-- worker nodes, the necessary number of worker nodes are terminated to
-- match the given value. When using CloudFormation, no action occurs if
-- you remove this parameter from your CFN template.
--
-- This parameter can be different from minSize in some cases, such as
-- when starting with extra hosts for testing. This parameter can also be
-- different when you want to start with an estimated number of needed
-- hosts, but let Cluster Autoscaler reduce the number if there are too
-- many. When Cluster Autoscaler is used, the desiredSize parameter is
-- altered by Cluster Autoscaler (but can be out-of-date for short
-- periods of time). Cluster Autoscaler doesn't scale a managed node
-- group lower than minSize or higher than maxSize.
[$sel:desiredSize:NodegroupScalingConfig'] :: NodegroupScalingConfig -> Maybe Natural
-- | The maximum number of nodes that the managed node group can scale out
-- to. For information about the maximum number that you can specify, see
-- Amazon EKS service quotas in the Amazon EKS User Guide.
[$sel:maxSize:NodegroupScalingConfig'] :: NodegroupScalingConfig -> Maybe Natural
-- | The minimum number of nodes that the managed node group can scale in
-- to.
[$sel:minSize:NodegroupScalingConfig'] :: NodegroupScalingConfig -> Maybe Natural
-- | Create a value of NodegroupScalingConfig with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:desiredSize:NodegroupScalingConfig',
-- nodegroupScalingConfig_desiredSize - The current number of
-- nodes that the managed node group should maintain.
--
-- If you use Cluster Autoscaler, you shouldn't change the desiredSize
-- value directly, as this can cause the Cluster Autoscaler to suddenly
-- scale up or scale down.
--
-- Whenever this parameter changes, the number of worker nodes in the
-- node group is updated to the specified size. If this parameter is
-- given a value that is smaller than the current number of running
-- worker nodes, the necessary number of worker nodes are terminated to
-- match the given value. When using CloudFormation, no action occurs if
-- you remove this parameter from your CFN template.
--
-- This parameter can be different from minSize in some cases, such as
-- when starting with extra hosts for testing. This parameter can also be
-- different when you want to start with an estimated number of needed
-- hosts, but let Cluster Autoscaler reduce the number if there are too
-- many. When Cluster Autoscaler is used, the desiredSize parameter is
-- altered by Cluster Autoscaler (but can be out-of-date for short
-- periods of time). Cluster Autoscaler doesn't scale a managed node
-- group lower than minSize or higher than maxSize.
--
-- $sel:maxSize:NodegroupScalingConfig',
-- nodegroupScalingConfig_maxSize - The maximum number of nodes
-- that the managed node group can scale out to. For information about
-- the maximum number that you can specify, see Amazon EKS service
-- quotas in the Amazon EKS User Guide.
--
-- $sel:minSize:NodegroupScalingConfig',
-- nodegroupScalingConfig_minSize - The minimum number of nodes
-- that the managed node group can scale in to.
newNodegroupScalingConfig :: NodegroupScalingConfig
-- | The current number of nodes that the managed node group should
-- maintain.
--
-- If you use Cluster Autoscaler, you shouldn't change the desiredSize
-- value directly, as this can cause the Cluster Autoscaler to suddenly
-- scale up or scale down.
--
-- Whenever this parameter changes, the number of worker nodes in the
-- node group is updated to the specified size. If this parameter is
-- given a value that is smaller than the current number of running
-- worker nodes, the necessary number of worker nodes are terminated to
-- match the given value. When using CloudFormation, no action occurs if
-- you remove this parameter from your CFN template.
--
-- This parameter can be different from minSize in some cases, such as
-- when starting with extra hosts for testing. This parameter can also be
-- different when you want to start with an estimated number of needed
-- hosts, but let Cluster Autoscaler reduce the number if there are too
-- many. When Cluster Autoscaler is used, the desiredSize parameter is
-- altered by Cluster Autoscaler (but can be out-of-date for short
-- periods of time). Cluster Autoscaler doesn't scale a managed node
-- group lower than minSize or higher than maxSize.
nodegroupScalingConfig_desiredSize :: Lens' NodegroupScalingConfig (Maybe Natural)
-- | The maximum number of nodes that the managed node group can scale out
-- to. For information about the maximum number that you can specify, see
-- Amazon EKS service quotas in the Amazon EKS User Guide.
nodegroupScalingConfig_maxSize :: Lens' NodegroupScalingConfig (Maybe Natural)
-- | The minimum number of nodes that the managed node group can scale in
-- to.
nodegroupScalingConfig_minSize :: Lens' NodegroupScalingConfig (Maybe Natural)
-- | The node group update configuration.
--
-- See: newNodegroupUpdateConfig smart constructor.
data NodegroupUpdateConfig
NodegroupUpdateConfig' :: Maybe Natural -> Maybe Natural -> NodegroupUpdateConfig
-- | The maximum number of nodes unavailable at once during a version
-- update. Nodes will be updated in parallel. This value or
-- maxUnavailablePercentage is required to have a value.The
-- maximum number is 100.
[$sel:maxUnavailable:NodegroupUpdateConfig'] :: NodegroupUpdateConfig -> Maybe Natural
-- | The maximum percentage of nodes unavailable during a version update.
-- This percentage of nodes will be updated in parallel, up to 100 nodes
-- at once. This value or maxUnavailable is required to have a
-- value.
[$sel:maxUnavailablePercentage:NodegroupUpdateConfig'] :: NodegroupUpdateConfig -> Maybe Natural
-- | Create a value of NodegroupUpdateConfig with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:maxUnavailable:NodegroupUpdateConfig',
-- nodegroupUpdateConfig_maxUnavailable - The maximum number of
-- nodes unavailable at once during a version update. Nodes will be
-- updated in parallel. This value or maxUnavailablePercentage
-- is required to have a value.The maximum number is 100.
--
-- $sel:maxUnavailablePercentage:NodegroupUpdateConfig',
-- nodegroupUpdateConfig_maxUnavailablePercentage - The maximum
-- percentage of nodes unavailable during a version update. This
-- percentage of nodes will be updated in parallel, up to 100 nodes at
-- once. This value or maxUnavailable is required to have a
-- value.
newNodegroupUpdateConfig :: NodegroupUpdateConfig
-- | The maximum number of nodes unavailable at once during a version
-- update. Nodes will be updated in parallel. This value or
-- maxUnavailablePercentage is required to have a value.The
-- maximum number is 100.
nodegroupUpdateConfig_maxUnavailable :: Lens' NodegroupUpdateConfig (Maybe Natural)
-- | The maximum percentage of nodes unavailable during a version update.
-- This percentage of nodes will be updated in parallel, up to 100 nodes
-- at once. This value or maxUnavailable is required to have a
-- value.
nodegroupUpdateConfig_maxUnavailablePercentage :: Lens' NodegroupUpdateConfig (Maybe Natural)
-- | An object representing the OpenID Connect (OIDC) identity
-- provider information for the cluster.
--
-- See: newOIDC smart constructor.
data OIDC
OIDC' :: Maybe Text -> OIDC
-- | The issuer URL for the OIDC identity provider.
[$sel:issuer:OIDC'] :: OIDC -> Maybe Text
-- | Create a value of OIDC with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:issuer:OIDC', oidc_issuer - The issuer URL for the
-- OIDC identity provider.
newOIDC :: OIDC
-- | The issuer URL for the OIDC identity provider.
oidc_issuer :: Lens' OIDC (Maybe Text)
-- | An object representing the configuration for an OpenID Connect (OIDC)
-- identity provider.
--
-- See: newOidcIdentityProviderConfig smart constructor.
data OidcIdentityProviderConfig
OidcIdentityProviderConfig' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe (HashMap Text Text) -> Maybe ConfigStatus -> Maybe (HashMap Text Text) -> Maybe Text -> Maybe Text -> OidcIdentityProviderConfig
-- | This is also known as audience. The ID of the client
-- application that makes authentication requests to the OIDC identity
-- provider.
[$sel:clientId:OidcIdentityProviderConfig'] :: OidcIdentityProviderConfig -> Maybe Text
-- | The cluster that the configuration is associated to.
[$sel:clusterName:OidcIdentityProviderConfig'] :: OidcIdentityProviderConfig -> Maybe Text
-- | The JSON web token (JWT) claim that the provider uses to return your
-- groups.
[$sel:groupsClaim:OidcIdentityProviderConfig'] :: OidcIdentityProviderConfig -> Maybe Text
-- | The prefix that is prepended to group claims to prevent clashes with
-- existing names (such as system: groups). For example, the
-- value oidc: creates group names like
-- oidc:engineering and oidc:infra. The prefix can't
-- contain system:
[$sel:groupsPrefix:OidcIdentityProviderConfig'] :: OidcIdentityProviderConfig -> Maybe Text
-- | The ARN of the configuration.
[$sel:identityProviderConfigArn:OidcIdentityProviderConfig'] :: OidcIdentityProviderConfig -> Maybe Text
-- | The name of the configuration.
[$sel:identityProviderConfigName:OidcIdentityProviderConfig'] :: OidcIdentityProviderConfig -> Maybe Text
-- | The URL of the OIDC identity provider that allows the API server to
-- discover public signing keys for verifying tokens.
[$sel:issuerUrl:OidcIdentityProviderConfig'] :: OidcIdentityProviderConfig -> Maybe Text
-- | The key-value pairs that describe required claims in the identity
-- token. If set, each claim is verified to be present in the token with
-- a matching value.
[$sel:requiredClaims:OidcIdentityProviderConfig'] :: OidcIdentityProviderConfig -> Maybe (HashMap Text Text)
-- | The status of the OIDC identity provider.
[$sel:status:OidcIdentityProviderConfig'] :: OidcIdentityProviderConfig -> Maybe ConfigStatus
-- | The metadata to apply to the provider configuration to assist with
-- categorization and organization. Each tag consists of a key and an
-- optional value. You define both.
[$sel:tags:OidcIdentityProviderConfig'] :: OidcIdentityProviderConfig -> Maybe (HashMap Text Text)
-- | The JSON Web token (JWT) claim that is used as the username.
[$sel:usernameClaim:OidcIdentityProviderConfig'] :: OidcIdentityProviderConfig -> Maybe Text
-- | The prefix that is prepended to username claims to prevent clashes
-- with existing names. The prefix can't contain system:
[$sel:usernamePrefix:OidcIdentityProviderConfig'] :: OidcIdentityProviderConfig -> Maybe Text
-- | Create a value of OidcIdentityProviderConfig with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:clientId:OidcIdentityProviderConfig',
-- oidcIdentityProviderConfig_clientId - This is also known as
-- audience. The ID of the client application that makes
-- authentication requests to the OIDC identity provider.
--
-- $sel:clusterName:OidcIdentityProviderConfig',
-- oidcIdentityProviderConfig_clusterName - The cluster that the
-- configuration is associated to.
--
-- $sel:groupsClaim:OidcIdentityProviderConfig',
-- oidcIdentityProviderConfig_groupsClaim - The JSON web token
-- (JWT) claim that the provider uses to return your groups.
--
-- $sel:groupsPrefix:OidcIdentityProviderConfig',
-- oidcIdentityProviderConfig_groupsPrefix - The prefix that is
-- prepended to group claims to prevent clashes with existing names (such
-- as system: groups). For example, the value oidc:
-- creates group names like oidc:engineering and
-- oidc:infra. The prefix can't contain system:
--
-- $sel:identityProviderConfigArn:OidcIdentityProviderConfig',
-- oidcIdentityProviderConfig_identityProviderConfigArn - The ARN
-- of the configuration.
--
-- $sel:identityProviderConfigName:OidcIdentityProviderConfig',
-- oidcIdentityProviderConfig_identityProviderConfigName - The
-- name of the configuration.
--
-- $sel:issuerUrl:OidcIdentityProviderConfig',
-- oidcIdentityProviderConfig_issuerUrl - The URL of the OIDC
-- identity provider that allows the API server to discover public
-- signing keys for verifying tokens.
--
-- $sel:requiredClaims:OidcIdentityProviderConfig',
-- oidcIdentityProviderConfig_requiredClaims - The key-value pairs
-- that describe required claims in the identity token. If set, each
-- claim is verified to be present in the token with a matching value.
--
-- $sel:status:OidcIdentityProviderConfig',
-- oidcIdentityProviderConfig_status - The status of the OIDC
-- identity provider.
--
-- $sel:tags:OidcIdentityProviderConfig',
-- oidcIdentityProviderConfig_tags - The metadata to apply to the
-- provider configuration to assist with categorization and organization.
-- Each tag consists of a key and an optional value. You define both.
--
-- $sel:usernameClaim:OidcIdentityProviderConfig',
-- oidcIdentityProviderConfig_usernameClaim - The JSON Web token
-- (JWT) claim that is used as the username.
--
-- $sel:usernamePrefix:OidcIdentityProviderConfig',
-- oidcIdentityProviderConfig_usernamePrefix - The prefix that is
-- prepended to username claims to prevent clashes with existing names.
-- The prefix can't contain system:
newOidcIdentityProviderConfig :: OidcIdentityProviderConfig
-- | This is also known as audience. The ID of the client
-- application that makes authentication requests to the OIDC identity
-- provider.
oidcIdentityProviderConfig_clientId :: Lens' OidcIdentityProviderConfig (Maybe Text)
-- | The cluster that the configuration is associated to.
oidcIdentityProviderConfig_clusterName :: Lens' OidcIdentityProviderConfig (Maybe Text)
-- | The JSON web token (JWT) claim that the provider uses to return your
-- groups.
oidcIdentityProviderConfig_groupsClaim :: Lens' OidcIdentityProviderConfig (Maybe Text)
-- | The prefix that is prepended to group claims to prevent clashes with
-- existing names (such as system: groups). For example, the
-- value oidc: creates group names like
-- oidc:engineering and oidc:infra. The prefix can't
-- contain system:
oidcIdentityProviderConfig_groupsPrefix :: Lens' OidcIdentityProviderConfig (Maybe Text)
-- | The ARN of the configuration.
oidcIdentityProviderConfig_identityProviderConfigArn :: Lens' OidcIdentityProviderConfig (Maybe Text)
-- | The name of the configuration.
oidcIdentityProviderConfig_identityProviderConfigName :: Lens' OidcIdentityProviderConfig (Maybe Text)
-- | The URL of the OIDC identity provider that allows the API server to
-- discover public signing keys for verifying tokens.
oidcIdentityProviderConfig_issuerUrl :: Lens' OidcIdentityProviderConfig (Maybe Text)
-- | The key-value pairs that describe required claims in the identity
-- token. If set, each claim is verified to be present in the token with
-- a matching value.
oidcIdentityProviderConfig_requiredClaims :: Lens' OidcIdentityProviderConfig (Maybe (HashMap Text Text))
-- | The status of the OIDC identity provider.
oidcIdentityProviderConfig_status :: Lens' OidcIdentityProviderConfig (Maybe ConfigStatus)
-- | The metadata to apply to the provider configuration to assist with
-- categorization and organization. Each tag consists of a key and an
-- optional value. You define both.
oidcIdentityProviderConfig_tags :: Lens' OidcIdentityProviderConfig (Maybe (HashMap Text Text))
-- | The JSON Web token (JWT) claim that is used as the username.
oidcIdentityProviderConfig_usernameClaim :: Lens' OidcIdentityProviderConfig (Maybe Text)
-- | The prefix that is prepended to username claims to prevent clashes
-- with existing names. The prefix can't contain system:
oidcIdentityProviderConfig_usernamePrefix :: Lens' OidcIdentityProviderConfig (Maybe Text)
-- | An object representing an OpenID Connect (OIDC) configuration. Before
-- associating an OIDC identity provider to your cluster, review the
-- considerations in Authenticating users for your cluster from an
-- OpenID Connect identity provider in the Amazon EKS User
-- Guide.
--
-- See: newOidcIdentityProviderConfigRequest smart
-- constructor.
data OidcIdentityProviderConfigRequest
OidcIdentityProviderConfigRequest' :: Maybe Text -> Maybe Text -> Maybe (HashMap Text Text) -> Maybe Text -> Maybe Text -> Text -> Text -> Text -> OidcIdentityProviderConfigRequest
-- | The JWT claim that the provider uses to return your groups.
[$sel:groupsClaim:OidcIdentityProviderConfigRequest'] :: OidcIdentityProviderConfigRequest -> Maybe Text
-- | The prefix that is prepended to group claims to prevent clashes with
-- existing names (such as system: groups). For example, the
-- value oidc: will create group names like
-- oidc:engineering and oidc:infra.
[$sel:groupsPrefix:OidcIdentityProviderConfigRequest'] :: OidcIdentityProviderConfigRequest -> Maybe Text
-- | The key value pairs that describe required claims in the identity
-- token. If set, each claim is verified to be present in the token with
-- a matching value. For the maximum number of claims that you can
-- require, see Amazon EKS service quotas in the Amazon EKS
-- User Guide.
[$sel:requiredClaims:OidcIdentityProviderConfigRequest'] :: OidcIdentityProviderConfigRequest -> Maybe (HashMap Text Text)
-- | The JSON Web Token (JWT) claim to use as the username. The default is
-- sub, which is expected to be a unique identifier of the end
-- user. You can choose other claims, such as email or
-- name, depending on the OpenID identity provider. Claims other
-- than email are prefixed with the issuer URL to prevent naming
-- clashes with other plug-ins.
[$sel:usernameClaim:OidcIdentityProviderConfigRequest'] :: OidcIdentityProviderConfigRequest -> Maybe Text
-- | The prefix that is prepended to username claims to prevent clashes
-- with existing names. If you do not provide this field, and
-- username is a value other than email, the prefix
-- defaults to issuerurl#. You can use the value - to
-- disable all prefixing.
[$sel:usernamePrefix:OidcIdentityProviderConfigRequest'] :: OidcIdentityProviderConfigRequest -> Maybe Text
-- | The name of the OIDC provider configuration.
[$sel:identityProviderConfigName:OidcIdentityProviderConfigRequest'] :: OidcIdentityProviderConfigRequest -> Text
-- | The URL of the OpenID identity provider that allows the API server to
-- discover public signing keys for verifying tokens. The URL must begin
-- with https:// and should correspond to the iss claim
-- in the provider's OIDC ID tokens. Per the OIDC standard, path
-- components are allowed but query parameters are not. Typically the URL
-- consists of only a hostname, like https://server.example.org
-- or https://example.com. This URL should point to the level
-- below .well-known/openid-configuration and must be publicly
-- accessible over the internet.
[$sel:issuerUrl:OidcIdentityProviderConfigRequest'] :: OidcIdentityProviderConfigRequest -> Text
-- | This is also known as audience. The ID for the client
-- application that makes authentication requests to the OpenID identity
-- provider.
[$sel:clientId:OidcIdentityProviderConfigRequest'] :: OidcIdentityProviderConfigRequest -> Text
-- | Create a value of OidcIdentityProviderConfigRequest with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:groupsClaim:OidcIdentityProviderConfigRequest',
-- oidcIdentityProviderConfigRequest_groupsClaim - The JWT claim
-- that the provider uses to return your groups.
--
-- $sel:groupsPrefix:OidcIdentityProviderConfigRequest',
-- oidcIdentityProviderConfigRequest_groupsPrefix - The prefix
-- that is prepended to group claims to prevent clashes with existing
-- names (such as system: groups). For example, the value
-- oidc: will create group names like oidc:engineering and
-- oidc:infra.
--
-- $sel:requiredClaims:OidcIdentityProviderConfigRequest',
-- oidcIdentityProviderConfigRequest_requiredClaims - The key
-- value pairs that describe required claims in the identity token. If
-- set, each claim is verified to be present in the token with a matching
-- value. For the maximum number of claims that you can require, see
-- Amazon EKS service quotas in the Amazon EKS User Guide.
--
-- $sel:usernameClaim:OidcIdentityProviderConfigRequest',
-- oidcIdentityProviderConfigRequest_usernameClaim - The JSON Web
-- Token (JWT) claim to use as the username. The default is sub,
-- which is expected to be a unique identifier of the end user. You can
-- choose other claims, such as email or name,
-- depending on the OpenID identity provider. Claims other than
-- email are prefixed with the issuer URL to prevent naming
-- clashes with other plug-ins.
--
-- $sel:usernamePrefix:OidcIdentityProviderConfigRequest',
-- oidcIdentityProviderConfigRequest_usernamePrefix - The prefix
-- that is prepended to username claims to prevent clashes with existing
-- names. If you do not provide this field, and username is a
-- value other than email, the prefix defaults to
-- issuerurl#. You can use the value - to disable all
-- prefixing.
--
--
-- $sel:identityProviderConfigName:OidcIdentityProviderConfigRequest',
-- oidcIdentityProviderConfigRequest_identityProviderConfigName -
-- The name of the OIDC provider configuration.
--
-- $sel:issuerUrl:OidcIdentityProviderConfigRequest',
-- oidcIdentityProviderConfigRequest_issuerUrl - The URL of the
-- OpenID identity provider that allows the API server to discover public
-- signing keys for verifying tokens. The URL must begin with
-- https:// and should correspond to the iss claim in
-- the provider's OIDC ID tokens. Per the OIDC standard, path components
-- are allowed but query parameters are not. Typically the URL consists
-- of only a hostname, like https://server.example.org or
-- https://example.com. This URL should point to the level below
-- .well-known/openid-configuration and must be publicly
-- accessible over the internet.
--
-- $sel:clientId:OidcIdentityProviderConfigRequest',
-- oidcIdentityProviderConfigRequest_clientId - This is also known
-- as audience. The ID for the client application that makes
-- authentication requests to the OpenID identity provider.
newOidcIdentityProviderConfigRequest :: Text -> Text -> Text -> OidcIdentityProviderConfigRequest
-- | The JWT claim that the provider uses to return your groups.
oidcIdentityProviderConfigRequest_groupsClaim :: Lens' OidcIdentityProviderConfigRequest (Maybe Text)
-- | The prefix that is prepended to group claims to prevent clashes with
-- existing names (such as system: groups). For example, the
-- value oidc: will create group names like
-- oidc:engineering and oidc:infra.
oidcIdentityProviderConfigRequest_groupsPrefix :: Lens' OidcIdentityProviderConfigRequest (Maybe Text)
-- | The key value pairs that describe required claims in the identity
-- token. If set, each claim is verified to be present in the token with
-- a matching value. For the maximum number of claims that you can
-- require, see Amazon EKS service quotas in the Amazon EKS
-- User Guide.
oidcIdentityProviderConfigRequest_requiredClaims :: Lens' OidcIdentityProviderConfigRequest (Maybe (HashMap Text Text))
-- | The JSON Web Token (JWT) claim to use as the username. The default is
-- sub, which is expected to be a unique identifier of the end
-- user. You can choose other claims, such as email or
-- name, depending on the OpenID identity provider. Claims other
-- than email are prefixed with the issuer URL to prevent naming
-- clashes with other plug-ins.
oidcIdentityProviderConfigRequest_usernameClaim :: Lens' OidcIdentityProviderConfigRequest (Maybe Text)
-- | The prefix that is prepended to username claims to prevent clashes
-- with existing names. If you do not provide this field, and
-- username is a value other than email, the prefix
-- defaults to issuerurl#. You can use the value - to
-- disable all prefixing.
oidcIdentityProviderConfigRequest_usernamePrefix :: Lens' OidcIdentityProviderConfigRequest (Maybe Text)
-- | The name of the OIDC provider configuration.
oidcIdentityProviderConfigRequest_identityProviderConfigName :: Lens' OidcIdentityProviderConfigRequest Text
-- | The URL of the OpenID identity provider that allows the API server to
-- discover public signing keys for verifying tokens. The URL must begin
-- with https:// and should correspond to the iss claim
-- in the provider's OIDC ID tokens. Per the OIDC standard, path
-- components are allowed but query parameters are not. Typically the URL
-- consists of only a hostname, like https://server.example.org
-- or https://example.com. This URL should point to the level
-- below .well-known/openid-configuration and must be publicly
-- accessible over the internet.
oidcIdentityProviderConfigRequest_issuerUrl :: Lens' OidcIdentityProviderConfigRequest Text
-- | This is also known as audience. The ID for the client
-- application that makes authentication requests to the OpenID identity
-- provider.
oidcIdentityProviderConfigRequest_clientId :: Lens' OidcIdentityProviderConfigRequest Text
-- | The configuration of your local Amazon EKS cluster on an Amazon Web
-- Services Outpost. Before creating a cluster on an Outpost, review
-- Creating a local cluster on an Outpost in the Amazon EKS
-- User Guide. This API isn't available for Amazon EKS clusters on
-- the Amazon Web Services cloud.
--
-- See: newOutpostConfigRequest smart constructor.
data OutpostConfigRequest
OutpostConfigRequest' :: Maybe ControlPlanePlacementRequest -> [Text] -> Text -> OutpostConfigRequest
-- | An object representing the placement configuration for all the control
-- plane instances of your local Amazon EKS cluster on an Amazon Web
-- Services Outpost. For more information, see Capacity
-- considerations in the Amazon EKS User Guide.
[$sel:controlPlanePlacement:OutpostConfigRequest'] :: OutpostConfigRequest -> Maybe ControlPlanePlacementRequest
-- | The ARN of the Outpost that you want to use for your local Amazon EKS
-- cluster on Outposts. Only a single Outpost ARN is supported.
[$sel:outpostArns:OutpostConfigRequest'] :: OutpostConfigRequest -> [Text]
-- | The Amazon EC2 instance type that you want to use for your local
-- Amazon EKS cluster on Outposts. Choose an instance type based on the
-- number of nodes that your cluster will have. For more information, see
-- Capacity considerations in the Amazon EKS User Guide.
--
-- The instance type that you specify is used for all Kubernetes control
-- plane instances. The instance type can't be changed after cluster
-- creation. The control plane is not automatically scaled by Amazon EKS.
[$sel:controlPlaneInstanceType:OutpostConfigRequest'] :: OutpostConfigRequest -> Text
-- | Create a value of OutpostConfigRequest with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:controlPlanePlacement:OutpostConfigRequest',
-- outpostConfigRequest_controlPlanePlacement - An object
-- representing the placement configuration for all the control plane
-- instances of your local Amazon EKS cluster on an Amazon Web Services
-- Outpost. For more information, see Capacity considerations in
-- the Amazon EKS User Guide.
--
-- $sel:outpostArns:OutpostConfigRequest',
-- outpostConfigRequest_outpostArns - The ARN of the Outpost that
-- you want to use for your local Amazon EKS cluster on Outposts. Only a
-- single Outpost ARN is supported.
--
-- $sel:controlPlaneInstanceType:OutpostConfigRequest',
-- outpostConfigRequest_controlPlaneInstanceType - The Amazon EC2
-- instance type that you want to use for your local Amazon EKS cluster
-- on Outposts. Choose an instance type based on the number of nodes that
-- your cluster will have. For more information, see Capacity
-- considerations in the Amazon EKS User Guide.
--
-- The instance type that you specify is used for all Kubernetes control
-- plane instances. The instance type can't be changed after cluster
-- creation. The control plane is not automatically scaled by Amazon EKS.
newOutpostConfigRequest :: Text -> OutpostConfigRequest
-- | An object representing the placement configuration for all the control
-- plane instances of your local Amazon EKS cluster on an Amazon Web
-- Services Outpost. For more information, see Capacity
-- considerations in the Amazon EKS User Guide.
outpostConfigRequest_controlPlanePlacement :: Lens' OutpostConfigRequest (Maybe ControlPlanePlacementRequest)
-- | The ARN of the Outpost that you want to use for your local Amazon EKS
-- cluster on Outposts. Only a single Outpost ARN is supported.
outpostConfigRequest_outpostArns :: Lens' OutpostConfigRequest [Text]
-- | The Amazon EC2 instance type that you want to use for your local
-- Amazon EKS cluster on Outposts. Choose an instance type based on the
-- number of nodes that your cluster will have. For more information, see
-- Capacity considerations in the Amazon EKS User Guide.
--
-- The instance type that you specify is used for all Kubernetes control
-- plane instances. The instance type can't be changed after cluster
-- creation. The control plane is not automatically scaled by Amazon EKS.
outpostConfigRequest_controlPlaneInstanceType :: Lens' OutpostConfigRequest Text
-- | An object representing the configuration of your local Amazon EKS
-- cluster on an Amazon Web Services Outpost. This API isn't available
-- for Amazon EKS clusters on the Amazon Web Services cloud.
--
-- See: newOutpostConfigResponse smart constructor.
data OutpostConfigResponse
OutpostConfigResponse' :: Maybe ControlPlanePlacementResponse -> [Text] -> Text -> OutpostConfigResponse
-- | An object representing the placement configuration for all the control
-- plane instances of your local Amazon EKS cluster on an Amazon Web
-- Services Outpost. For more information, see Capacity
-- considerations in the Amazon EKS User Guide.
[$sel:controlPlanePlacement:OutpostConfigResponse'] :: OutpostConfigResponse -> Maybe ControlPlanePlacementResponse
-- | The ARN of the Outpost that you specified for use with your local
-- Amazon EKS cluster on Outposts.
[$sel:outpostArns:OutpostConfigResponse'] :: OutpostConfigResponse -> [Text]
-- | The Amazon EC2 instance type used for the control plane. The instance
-- type is the same for all control plane instances.
[$sel:controlPlaneInstanceType:OutpostConfigResponse'] :: OutpostConfigResponse -> Text
-- | Create a value of OutpostConfigResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:controlPlanePlacement:OutpostConfigResponse',
-- outpostConfigResponse_controlPlanePlacement - An object
-- representing the placement configuration for all the control plane
-- instances of your local Amazon EKS cluster on an Amazon Web Services
-- Outpost. For more information, see Capacity considerations in
-- the Amazon EKS User Guide.
--
-- $sel:outpostArns:OutpostConfigResponse',
-- outpostConfigResponse_outpostArns - The ARN of the Outpost that
-- you specified for use with your local Amazon EKS cluster on Outposts.
--
-- $sel:controlPlaneInstanceType:OutpostConfigResponse',
-- outpostConfigResponse_controlPlaneInstanceType - The Amazon EC2
-- instance type used for the control plane. The instance type is the
-- same for all control plane instances.
newOutpostConfigResponse :: Text -> OutpostConfigResponse
-- | An object representing the placement configuration for all the control
-- plane instances of your local Amazon EKS cluster on an Amazon Web
-- Services Outpost. For more information, see Capacity
-- considerations in the Amazon EKS User Guide.
outpostConfigResponse_controlPlanePlacement :: Lens' OutpostConfigResponse (Maybe ControlPlanePlacementResponse)
-- | The ARN of the Outpost that you specified for use with your local
-- Amazon EKS cluster on Outposts.
outpostConfigResponse_outpostArns :: Lens' OutpostConfigResponse [Text]
-- | The Amazon EC2 instance type used for the control plane. The instance
-- type is the same for all control plane instances.
outpostConfigResponse_controlPlaneInstanceType :: Lens' OutpostConfigResponse Text
-- | Identifies the Key Management Service (KMS) key used to encrypt the
-- secrets.
--
-- See: newProvider smart constructor.
data Provider
Provider' :: Maybe Text -> Provider
-- | Amazon Resource Name (ARN) or alias of the KMS key. The KMS key must
-- be symmetric, created in the same region as the cluster, and if the
-- KMS key was created in a different account, the user must have access
-- to the KMS key. For more information, see Allowing Users in Other
-- Accounts to Use a KMS key in the Key Management Service
-- Developer Guide.
[$sel:keyArn:Provider'] :: Provider -> Maybe Text
-- | Create a value of Provider with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:keyArn:Provider', provider_keyArn - Amazon Resource
-- Name (ARN) or alias of the KMS key. The KMS key must be symmetric,
-- created in the same region as the cluster, and if the KMS key was
-- created in a different account, the user must have access to the KMS
-- key. For more information, see Allowing Users in Other Accounts to
-- Use a KMS key in the Key Management Service Developer
-- Guide.
newProvider :: Provider
-- | Amazon Resource Name (ARN) or alias of the KMS key. The KMS key must
-- be symmetric, created in the same region as the cluster, and if the
-- KMS key was created in a different account, the user must have access
-- to the KMS key. For more information, see Allowing Users in Other
-- Accounts to Use a KMS key in the Key Management Service
-- Developer Guide.
provider_keyArn :: Lens' Provider (Maybe Text)
-- | An object representing the remote access configuration for the managed
-- node group.
--
-- See: newRemoteAccessConfig smart constructor.
data RemoteAccessConfig
RemoteAccessConfig' :: Maybe Text -> Maybe [Text] -> RemoteAccessConfig
-- | The Amazon EC2 SSH key name that provides access for SSH communication
-- with the nodes in the managed node group. For more information, see
-- Amazon EC2 key pairs and Linux instances in the Amazon
-- Elastic Compute Cloud User Guide for Linux Instances. For Windows,
-- an Amazon EC2 SSH key is used to obtain the RDP password. For more
-- information, see Amazon EC2 key pairs and Windows instances in
-- the Amazon Elastic Compute Cloud User Guide for Windows
-- Instances.
[$sel:ec2SshKey:RemoteAccessConfig'] :: RemoteAccessConfig -> Maybe Text
-- | The security group IDs that are allowed SSH access (port 22) to the
-- nodes. For Windows, the port is 3389. If you specify an Amazon EC2 SSH
-- key but don't specify a source security group when you create a
-- managed node group, then the port on the nodes is opened to the
-- internet (0.0.0.0/0). For more information, see Security
-- Groups for Your VPC in the Amazon Virtual Private Cloud User
-- Guide.
[$sel:sourceSecurityGroups:RemoteAccessConfig'] :: RemoteAccessConfig -> Maybe [Text]
-- | Create a value of RemoteAccessConfig with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:ec2SshKey:RemoteAccessConfig',
-- remoteAccessConfig_ec2SshKey - The Amazon EC2 SSH key name that
-- provides access for SSH communication with the nodes in the managed
-- node group. For more information, see Amazon EC2 key pairs and
-- Linux instances in the Amazon Elastic Compute Cloud User Guide
-- for Linux Instances. For Windows, an Amazon EC2 SSH key is used to
-- obtain the RDP password. For more information, see Amazon EC2 key
-- pairs and Windows instances in the Amazon Elastic Compute Cloud
-- User Guide for Windows Instances.
--
-- $sel:sourceSecurityGroups:RemoteAccessConfig',
-- remoteAccessConfig_sourceSecurityGroups - The security group
-- IDs that are allowed SSH access (port 22) to the nodes. For Windows,
-- the port is 3389. If you specify an Amazon EC2 SSH key but don't
-- specify a source security group when you create a managed node group,
-- then the port on the nodes is opened to the internet
-- (0.0.0.0/0). For more information, see Security Groups for
-- Your VPC in the Amazon Virtual Private Cloud User Guide.
newRemoteAccessConfig :: RemoteAccessConfig
-- | The Amazon EC2 SSH key name that provides access for SSH communication
-- with the nodes in the managed node group. For more information, see
-- Amazon EC2 key pairs and Linux instances in the Amazon
-- Elastic Compute Cloud User Guide for Linux Instances. For Windows,
-- an Amazon EC2 SSH key is used to obtain the RDP password. For more
-- information, see Amazon EC2 key pairs and Windows instances in
-- the Amazon Elastic Compute Cloud User Guide for Windows
-- Instances.
remoteAccessConfig_ec2SshKey :: Lens' RemoteAccessConfig (Maybe Text)
-- | The security group IDs that are allowed SSH access (port 22) to the
-- nodes. For Windows, the port is 3389. If you specify an Amazon EC2 SSH
-- key but don't specify a source security group when you create a
-- managed node group, then the port on the nodes is opened to the
-- internet (0.0.0.0/0). For more information, see Security
-- Groups for Your VPC in the Amazon Virtual Private Cloud User
-- Guide.
remoteAccessConfig_sourceSecurityGroups :: Lens' RemoteAccessConfig (Maybe [Text])
-- | A property that allows a node to repel a set of pods. For more
-- information, see Node taints on managed node groups.
--
-- See: newTaint smart constructor.
data Taint
Taint' :: Maybe TaintEffect -> Maybe Text -> Maybe Text -> Taint
-- | The effect of the taint.
[$sel:effect:Taint'] :: Taint -> Maybe TaintEffect
-- | The key of the taint.
[$sel:key:Taint'] :: Taint -> Maybe Text
-- | The value of the taint.
[$sel:value:Taint'] :: Taint -> Maybe Text
-- | Create a value of Taint with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:effect:Taint', taint_effect - The effect of the
-- taint.
--
-- $sel:key:Taint', taint_key - The key of the taint.
--
-- $sel:value:Taint', taint_value - The value of the taint.
newTaint :: Taint
-- | The effect of the taint.
taint_effect :: Lens' Taint (Maybe TaintEffect)
-- | The key of the taint.
taint_key :: Lens' Taint (Maybe Text)
-- | The value of the taint.
taint_value :: Lens' Taint (Maybe Text)
-- | An object representing an asynchronous update.
--
-- See: newUpdate smart constructor.
data Update
Update' :: Maybe POSIX -> Maybe [ErrorDetail] -> Maybe Text -> Maybe [UpdateParam] -> Maybe UpdateStatus -> Maybe UpdateType -> Update
-- | The Unix epoch timestamp in seconds for when the update was created.
[$sel:createdAt:Update'] :: Update -> Maybe POSIX
-- | Any errors associated with a Failed update.
[$sel:errors:Update'] :: Update -> Maybe [ErrorDetail]
-- | A UUID that is used to track the update.
[$sel:id:Update'] :: Update -> Maybe Text
-- | A key-value map that contains the parameters associated with the
-- update.
[$sel:params:Update'] :: Update -> Maybe [UpdateParam]
-- | The current status of the update.
[$sel:status:Update'] :: Update -> Maybe UpdateStatus
-- | The type of the update.
[$sel:type':Update'] :: Update -> Maybe UpdateType
-- | Create a value of Update with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:createdAt:Update', update_createdAt - The Unix
-- epoch timestamp in seconds for when the update was created.
--
-- $sel:errors:Update', update_errors - Any errors
-- associated with a Failed update.
--
-- $sel:id:Update', update_id - A UUID that is used to
-- track the update.
--
-- $sel:params:Update', update_params - A key-value map
-- that contains the parameters associated with the update.
--
-- $sel:status:Update', update_status - The current status
-- of the update.
--
-- Update, update_type - The type of the update.
newUpdate :: Update
-- | The Unix epoch timestamp in seconds for when the update was created.
update_createdAt :: Lens' Update (Maybe UTCTime)
-- | Any errors associated with a Failed update.
update_errors :: Lens' Update (Maybe [ErrorDetail])
-- | A UUID that is used to track the update.
update_id :: Lens' Update (Maybe Text)
-- | A key-value map that contains the parameters associated with the
-- update.
update_params :: Lens' Update (Maybe [UpdateParam])
-- | The current status of the update.
update_status :: Lens' Update (Maybe UpdateStatus)
-- | The type of the update.
update_type :: Lens' Update (Maybe UpdateType)
-- | An object representing a Kubernetes label change for a managed node
-- group.
--
-- See: newUpdateLabelsPayload smart constructor.
data UpdateLabelsPayload
UpdateLabelsPayload' :: Maybe (HashMap Text Text) -> Maybe [Text] -> UpdateLabelsPayload
-- | Kubernetes labels to be added or updated.
[$sel:addOrUpdateLabels:UpdateLabelsPayload'] :: UpdateLabelsPayload -> Maybe (HashMap Text Text)
-- | Kubernetes labels to be removed.
[$sel:removeLabels:UpdateLabelsPayload'] :: UpdateLabelsPayload -> Maybe [Text]
-- | Create a value of UpdateLabelsPayload with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:addOrUpdateLabels:UpdateLabelsPayload',
-- updateLabelsPayload_addOrUpdateLabels - Kubernetes labels to be
-- added or updated.
--
-- $sel:removeLabels:UpdateLabelsPayload',
-- updateLabelsPayload_removeLabels - Kubernetes labels to be
-- removed.
newUpdateLabelsPayload :: UpdateLabelsPayload
-- | Kubernetes labels to be added or updated.
updateLabelsPayload_addOrUpdateLabels :: Lens' UpdateLabelsPayload (Maybe (HashMap Text Text))
-- | Kubernetes labels to be removed.
updateLabelsPayload_removeLabels :: Lens' UpdateLabelsPayload (Maybe [Text])
-- | An object representing the details of an update request.
--
-- See: newUpdateParam smart constructor.
data UpdateParam
UpdateParam' :: Maybe UpdateParamType -> Maybe Text -> UpdateParam
-- | The keys associated with an update request.
[$sel:type':UpdateParam'] :: UpdateParam -> Maybe UpdateParamType
-- | The value of the keys submitted as part of an update request.
[$sel:value:UpdateParam'] :: UpdateParam -> Maybe Text
-- | Create a value of UpdateParam with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:type':UpdateParam', updateParam_type - The keys
-- associated with an update request.
--
-- $sel:value:UpdateParam', updateParam_value - The value
-- of the keys submitted as part of an update request.
newUpdateParam :: UpdateParam
-- | The keys associated with an update request.
updateParam_type :: Lens' UpdateParam (Maybe UpdateParamType)
-- | The value of the keys submitted as part of an update request.
updateParam_value :: Lens' UpdateParam (Maybe Text)
-- | An object representing the details of an update to a taints payload.
-- For more information, see Node taints on managed node groups.
--
-- See: newUpdateTaintsPayload smart constructor.
data UpdateTaintsPayload
UpdateTaintsPayload' :: Maybe [Taint] -> Maybe [Taint] -> UpdateTaintsPayload
-- | Kubernetes taints to be added or updated.
[$sel:addOrUpdateTaints:UpdateTaintsPayload'] :: UpdateTaintsPayload -> Maybe [Taint]
-- | Kubernetes taints to remove.
[$sel:removeTaints:UpdateTaintsPayload'] :: UpdateTaintsPayload -> Maybe [Taint]
-- | Create a value of UpdateTaintsPayload with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:addOrUpdateTaints:UpdateTaintsPayload',
-- updateTaintsPayload_addOrUpdateTaints - Kubernetes taints to be
-- added or updated.
--
-- $sel:removeTaints:UpdateTaintsPayload',
-- updateTaintsPayload_removeTaints - Kubernetes taints to remove.
newUpdateTaintsPayload :: UpdateTaintsPayload
-- | Kubernetes taints to be added or updated.
updateTaintsPayload_addOrUpdateTaints :: Lens' UpdateTaintsPayload (Maybe [Taint])
-- | Kubernetes taints to remove.
updateTaintsPayload_removeTaints :: Lens' UpdateTaintsPayload (Maybe [Taint])
-- | An object representing the VPC configuration to use for an Amazon EKS
-- cluster.
--
-- See: newVpcConfigRequest smart constructor.
data VpcConfigRequest
VpcConfigRequest' :: Maybe Bool -> Maybe Bool -> Maybe [Text] -> Maybe [Text] -> Maybe [Text] -> VpcConfigRequest
-- | Set this value to true to enable private access for your
-- cluster's Kubernetes API server endpoint. If you enable private
-- access, Kubernetes API requests from within your cluster's VPC use the
-- private VPC endpoint. The default value for this parameter is
-- false, which disables private access for your Kubernetes API
-- server. If you disable private access and you have nodes or Fargate
-- pods in the cluster, then ensure that publicAccessCidrs
-- includes the necessary CIDR blocks for communication with the nodes or
-- Fargate pods. For more information, see Amazon EKS cluster endpoint
-- access control in the /Amazon EKS User Guide/ .
[$sel:endpointPrivateAccess:VpcConfigRequest'] :: VpcConfigRequest -> Maybe Bool
-- | Set this value to false to disable public access to your
-- cluster's Kubernetes API server endpoint. If you disable public
-- access, your cluster's Kubernetes API server can only receive requests
-- from within the cluster VPC. The default value for this parameter is
-- true, which enables public access for your Kubernetes API
-- server. For more information, see Amazon EKS cluster endpoint
-- access control in the /Amazon EKS User Guide/ .
[$sel:endpointPublicAccess:VpcConfigRequest'] :: VpcConfigRequest -> Maybe Bool
-- | The CIDR blocks that are allowed access to your cluster's public
-- Kubernetes API server endpoint. Communication to the endpoint from
-- addresses outside of the CIDR blocks that you specify is denied. The
-- default value is 0.0.0.0/0. If you've disabled private
-- endpoint access and you have nodes or Fargate pods in the cluster,
-- then ensure that you specify the necessary CIDR blocks. For more
-- information, see Amazon EKS cluster endpoint access control in
-- the /Amazon EKS User Guide/ .
[$sel:publicAccessCidrs:VpcConfigRequest'] :: VpcConfigRequest -> Maybe [Text]
-- | Specify one or more security groups for the cross-account elastic
-- network interfaces that Amazon EKS creates to use that allow
-- communication between your nodes and the Kubernetes control plane. If
-- you don't specify any security groups, then familiarize yourself with
-- the difference between Amazon EKS defaults for clusters deployed with
-- Kubernetes. For more information, see Amazon EKS security group
-- considerations in the /Amazon EKS User Guide/ .
[$sel:securityGroupIds:VpcConfigRequest'] :: VpcConfigRequest -> Maybe [Text]
-- | Specify subnets for your Amazon EKS nodes. Amazon EKS creates
-- cross-account elastic network interfaces in these subnets to allow
-- communication between your nodes and the Kubernetes control plane.
[$sel:subnetIds:VpcConfigRequest'] :: VpcConfigRequest -> Maybe [Text]
-- | Create a value of VpcConfigRequest with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:endpointPrivateAccess:VpcConfigRequest',
-- vpcConfigRequest_endpointPrivateAccess - Set this value to
-- true to enable private access for your cluster's Kubernetes
-- API server endpoint. If you enable private access, Kubernetes API
-- requests from within your cluster's VPC use the private VPC endpoint.
-- The default value for this parameter is false, which disables
-- private access for your Kubernetes API server. If you disable private
-- access and you have nodes or Fargate pods in the cluster, then ensure
-- that publicAccessCidrs includes the necessary CIDR blocks for
-- communication with the nodes or Fargate pods. For more information,
-- see Amazon EKS cluster endpoint access control in the
-- /Amazon EKS User Guide/ .
--
-- $sel:endpointPublicAccess:VpcConfigRequest',
-- vpcConfigRequest_endpointPublicAccess - Set this value to
-- false to disable public access to your cluster's Kubernetes
-- API server endpoint. If you disable public access, your cluster's
-- Kubernetes API server can only receive requests from within the
-- cluster VPC. The default value for this parameter is true,
-- which enables public access for your Kubernetes API server. For more
-- information, see Amazon EKS cluster endpoint access control in
-- the /Amazon EKS User Guide/ .
--
-- $sel:publicAccessCidrs:VpcConfigRequest',
-- vpcConfigRequest_publicAccessCidrs - The CIDR blocks that are
-- allowed access to your cluster's public Kubernetes API server
-- endpoint. Communication to the endpoint from addresses outside of the
-- CIDR blocks that you specify is denied. The default value is
-- 0.0.0.0/0. If you've disabled private endpoint access and you
-- have nodes or Fargate pods in the cluster, then ensure that you
-- specify the necessary CIDR blocks. For more information, see Amazon
-- EKS cluster endpoint access control in the /Amazon EKS User
-- Guide/ .
--
-- $sel:securityGroupIds:VpcConfigRequest',
-- vpcConfigRequest_securityGroupIds - Specify one or more
-- security groups for the cross-account elastic network interfaces that
-- Amazon EKS creates to use that allow communication between your nodes
-- and the Kubernetes control plane. If you don't specify any security
-- groups, then familiarize yourself with the difference between Amazon
-- EKS defaults for clusters deployed with Kubernetes. For more
-- information, see Amazon EKS security group considerations in
-- the /Amazon EKS User Guide/ .
--
-- $sel:subnetIds:VpcConfigRequest',
-- vpcConfigRequest_subnetIds - Specify subnets for your Amazon
-- EKS nodes. Amazon EKS creates cross-account elastic network interfaces
-- in these subnets to allow communication between your nodes and the
-- Kubernetes control plane.
newVpcConfigRequest :: VpcConfigRequest
-- | Set this value to true to enable private access for your
-- cluster's Kubernetes API server endpoint. If you enable private
-- access, Kubernetes API requests from within your cluster's VPC use the
-- private VPC endpoint. The default value for this parameter is
-- false, which disables private access for your Kubernetes API
-- server. If you disable private access and you have nodes or Fargate
-- pods in the cluster, then ensure that publicAccessCidrs
-- includes the necessary CIDR blocks for communication with the nodes or
-- Fargate pods. For more information, see Amazon EKS cluster endpoint
-- access control in the /Amazon EKS User Guide/ .
vpcConfigRequest_endpointPrivateAccess :: Lens' VpcConfigRequest (Maybe Bool)
-- | Set this value to false to disable public access to your
-- cluster's Kubernetes API server endpoint. If you disable public
-- access, your cluster's Kubernetes API server can only receive requests
-- from within the cluster VPC. The default value for this parameter is
-- true, which enables public access for your Kubernetes API
-- server. For more information, see Amazon EKS cluster endpoint
-- access control in the /Amazon EKS User Guide/ .
vpcConfigRequest_endpointPublicAccess :: Lens' VpcConfigRequest (Maybe Bool)
-- | The CIDR blocks that are allowed access to your cluster's public
-- Kubernetes API server endpoint. Communication to the endpoint from
-- addresses outside of the CIDR blocks that you specify is denied. The
-- default value is 0.0.0.0/0. If you've disabled private
-- endpoint access and you have nodes or Fargate pods in the cluster,
-- then ensure that you specify the necessary CIDR blocks. For more
-- information, see Amazon EKS cluster endpoint access control in
-- the /Amazon EKS User Guide/ .
vpcConfigRequest_publicAccessCidrs :: Lens' VpcConfigRequest (Maybe [Text])
-- | Specify one or more security groups for the cross-account elastic
-- network interfaces that Amazon EKS creates to use that allow
-- communication between your nodes and the Kubernetes control plane. If
-- you don't specify any security groups, then familiarize yourself with
-- the difference between Amazon EKS defaults for clusters deployed with
-- Kubernetes. For more information, see Amazon EKS security group
-- considerations in the /Amazon EKS User Guide/ .
vpcConfigRequest_securityGroupIds :: Lens' VpcConfigRequest (Maybe [Text])
-- | Specify subnets for your Amazon EKS nodes. Amazon EKS creates
-- cross-account elastic network interfaces in these subnets to allow
-- communication between your nodes and the Kubernetes control plane.
vpcConfigRequest_subnetIds :: Lens' VpcConfigRequest (Maybe [Text])
-- | An object representing an Amazon EKS cluster VPC configuration
-- response.
--
-- See: newVpcConfigResponse smart constructor.
data VpcConfigResponse
VpcConfigResponse' :: Maybe Text -> Maybe Bool -> Maybe Bool -> Maybe [Text] -> Maybe [Text] -> Maybe [Text] -> Maybe Text -> VpcConfigResponse
-- | The cluster security group that was created by Amazon EKS for the
-- cluster. Managed node groups use this security group for
-- control-plane-to-data-plane communication.
[$sel:clusterSecurityGroupId:VpcConfigResponse'] :: VpcConfigResponse -> Maybe Text
-- | This parameter indicates whether the Amazon EKS private API server
-- endpoint is enabled. If the Amazon EKS private API server endpoint is
-- enabled, Kubernetes API requests that originate from within your
-- cluster's VPC use the private VPC endpoint instead of traversing the
-- internet. If this value is disabled and you have nodes or Fargate pods
-- in the cluster, then ensure that publicAccessCidrs includes
-- the necessary CIDR blocks for communication with the nodes or Fargate
-- pods. For more information, see Amazon EKS cluster endpoint access
-- control in the /Amazon EKS User Guide/ .
[$sel:endpointPrivateAccess:VpcConfigResponse'] :: VpcConfigResponse -> Maybe Bool
-- | This parameter indicates whether the Amazon EKS public API server
-- endpoint is enabled. If the Amazon EKS public API server endpoint is
-- disabled, your cluster's Kubernetes API server can only receive
-- requests that originate from within the cluster VPC.
[$sel:endpointPublicAccess:VpcConfigResponse'] :: VpcConfigResponse -> Maybe Bool
-- | The CIDR blocks that are allowed access to your cluster's public
-- Kubernetes API server endpoint. Communication to the endpoint from
-- addresses outside of the listed CIDR blocks is denied. The default
-- value is 0.0.0.0/0. If you've disabled private endpoint
-- access and you have nodes or Fargate pods in the cluster, then ensure
-- that the necessary CIDR blocks are listed. For more information, see
-- Amazon EKS cluster endpoint access control in the /Amazon
-- EKS User Guide/ .
[$sel:publicAccessCidrs:VpcConfigResponse'] :: VpcConfigResponse -> Maybe [Text]
-- | The security groups associated with the cross-account elastic network
-- interfaces that are used to allow communication between your nodes and
-- the Kubernetes control plane.
[$sel:securityGroupIds:VpcConfigResponse'] :: VpcConfigResponse -> Maybe [Text]
-- | The subnets associated with your cluster.
[$sel:subnetIds:VpcConfigResponse'] :: VpcConfigResponse -> Maybe [Text]
-- | The VPC associated with your cluster.
[$sel:vpcId:VpcConfigResponse'] :: VpcConfigResponse -> Maybe Text
-- | Create a value of VpcConfigResponse with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:clusterSecurityGroupId:VpcConfigResponse',
-- vpcConfigResponse_clusterSecurityGroupId - The cluster security
-- group that was created by Amazon EKS for the cluster. Managed node
-- groups use this security group for control-plane-to-data-plane
-- communication.
--
-- $sel:endpointPrivateAccess:VpcConfigResponse',
-- vpcConfigResponse_endpointPrivateAccess - This parameter
-- indicates whether the Amazon EKS private API server endpoint is
-- enabled. If the Amazon EKS private API server endpoint is enabled,
-- Kubernetes API requests that originate from within your cluster's VPC
-- use the private VPC endpoint instead of traversing the internet. If
-- this value is disabled and you have nodes or Fargate pods in the
-- cluster, then ensure that publicAccessCidrs includes the
-- necessary CIDR blocks for communication with the nodes or Fargate
-- pods. For more information, see Amazon EKS cluster endpoint access
-- control in the /Amazon EKS User Guide/ .
--
-- $sel:endpointPublicAccess:VpcConfigResponse',
-- vpcConfigResponse_endpointPublicAccess - This parameter
-- indicates whether the Amazon EKS public API server endpoint is
-- enabled. If the Amazon EKS public API server endpoint is disabled,
-- your cluster's Kubernetes API server can only receive requests that
-- originate from within the cluster VPC.
--
-- $sel:publicAccessCidrs:VpcConfigResponse',
-- vpcConfigResponse_publicAccessCidrs - The CIDR blocks that are
-- allowed access to your cluster's public Kubernetes API server
-- endpoint. Communication to the endpoint from addresses outside of the
-- listed CIDR blocks is denied. The default value is 0.0.0.0/0.
-- If you've disabled private endpoint access and you have nodes or
-- Fargate pods in the cluster, then ensure that the necessary CIDR
-- blocks are listed. For more information, see Amazon EKS cluster
-- endpoint access control in the /Amazon EKS User Guide/ .
--
-- $sel:securityGroupIds:VpcConfigResponse',
-- vpcConfigResponse_securityGroupIds - The security groups
-- associated with the cross-account elastic network interfaces that are
-- used to allow communication between your nodes and the Kubernetes
-- control plane.
--
-- $sel:subnetIds:VpcConfigResponse',
-- vpcConfigResponse_subnetIds - The subnets associated with your
-- cluster.
--
-- $sel:vpcId:VpcConfigResponse', vpcConfigResponse_vpcId -
-- The VPC associated with your cluster.
newVpcConfigResponse :: VpcConfigResponse
-- | The cluster security group that was created by Amazon EKS for the
-- cluster. Managed node groups use this security group for
-- control-plane-to-data-plane communication.
vpcConfigResponse_clusterSecurityGroupId :: Lens' VpcConfigResponse (Maybe Text)
-- | This parameter indicates whether the Amazon EKS private API server
-- endpoint is enabled. If the Amazon EKS private API server endpoint is
-- enabled, Kubernetes API requests that originate from within your
-- cluster's VPC use the private VPC endpoint instead of traversing the
-- internet. If this value is disabled and you have nodes or Fargate pods
-- in the cluster, then ensure that publicAccessCidrs includes
-- the necessary CIDR blocks for communication with the nodes or Fargate
-- pods. For more information, see Amazon EKS cluster endpoint access
-- control in the /Amazon EKS User Guide/ .
vpcConfigResponse_endpointPrivateAccess :: Lens' VpcConfigResponse (Maybe Bool)
-- | This parameter indicates whether the Amazon EKS public API server
-- endpoint is enabled. If the Amazon EKS public API server endpoint is
-- disabled, your cluster's Kubernetes API server can only receive
-- requests that originate from within the cluster VPC.
vpcConfigResponse_endpointPublicAccess :: Lens' VpcConfigResponse (Maybe Bool)
-- | The CIDR blocks that are allowed access to your cluster's public
-- Kubernetes API server endpoint. Communication to the endpoint from
-- addresses outside of the listed CIDR blocks is denied. The default
-- value is 0.0.0.0/0. If you've disabled private endpoint
-- access and you have nodes or Fargate pods in the cluster, then ensure
-- that the necessary CIDR blocks are listed. For more information, see
-- Amazon EKS cluster endpoint access control in the /Amazon
-- EKS User Guide/ .
vpcConfigResponse_publicAccessCidrs :: Lens' VpcConfigResponse (Maybe [Text])
-- | The security groups associated with the cross-account elastic network
-- interfaces that are used to allow communication between your nodes and
-- the Kubernetes control plane.
vpcConfigResponse_securityGroupIds :: Lens' VpcConfigResponse (Maybe [Text])
-- | The subnets associated with your cluster.
vpcConfigResponse_subnetIds :: Lens' VpcConfigResponse (Maybe [Text])
-- | The VPC associated with your cluster.
vpcConfigResponse_vpcId :: Lens' VpcConfigResponse (Maybe Text)
-- | Associates the specified tags to a resource with the specified
-- resourceArn. If existing tags on a resource are not specified
-- in the request parameters, they are not changed. When a resource is
-- deleted, the tags associated with that resource are deleted as well.
-- Tags that you create for Amazon EKS resources do not propagate to any
-- other resources associated with the cluster. For example, if you tag a
-- cluster with this operation, that tag does not automatically propagate
-- to the subnets and nodes associated with the cluster.
module Amazonka.EKS.TagResource
-- | See: newTagResource smart constructor.
data TagResource
TagResource' :: Text -> HashMap Text Text -> TagResource
-- | The Amazon Resource Name (ARN) of the resource to which to add tags.
-- Currently, the supported resources are Amazon EKS clusters and managed
-- node groups.
[$sel:resourceArn:TagResource'] :: TagResource -> Text
-- | The tags to add to the resource. A tag is an array of key-value pairs.
[$sel:tags:TagResource'] :: TagResource -> HashMap Text Text
-- | Create a value of TagResource with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:resourceArn:TagResource', tagResource_resourceArn -
-- The Amazon Resource Name (ARN) of the resource to which to add tags.
-- Currently, the supported resources are Amazon EKS clusters and managed
-- node groups.
--
-- TagResource, tagResource_tags - The tags to add to the
-- resource. A tag is an array of key-value pairs.
newTagResource :: Text -> TagResource
-- | The Amazon Resource Name (ARN) of the resource to which to add tags.
-- Currently, the supported resources are Amazon EKS clusters and managed
-- node groups.
tagResource_resourceArn :: Lens' TagResource Text
-- | The tags to add to the resource. A tag is an array of key-value pairs.
tagResource_tags :: Lens' TagResource (HashMap Text Text)
-- | See: newTagResourceResponse smart constructor.
data TagResourceResponse
TagResourceResponse' :: Int -> TagResourceResponse
-- | The response's http status code.
[$sel:httpStatus:TagResourceResponse'] :: TagResourceResponse -> Int
-- | Create a value of TagResourceResponse with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:httpStatus:TagResourceResponse',
-- tagResourceResponse_httpStatus - The response's http status
-- code.
newTagResourceResponse :: Int -> TagResourceResponse
-- | The response's http status code.
tagResourceResponse_httpStatus :: Lens' TagResourceResponse Int
instance GHC.Generics.Generic Amazonka.EKS.TagResource.TagResource
instance GHC.Show.Show Amazonka.EKS.TagResource.TagResource
instance GHC.Read.Read Amazonka.EKS.TagResource.TagResource
instance GHC.Classes.Eq Amazonka.EKS.TagResource.TagResource
instance GHC.Generics.Generic Amazonka.EKS.TagResource.TagResourceResponse
instance GHC.Show.Show Amazonka.EKS.TagResource.TagResourceResponse
instance GHC.Read.Read Amazonka.EKS.TagResource.TagResourceResponse
instance GHC.Classes.Eq Amazonka.EKS.TagResource.TagResourceResponse
instance Amazonka.Types.AWSRequest Amazonka.EKS.TagResource.TagResource
instance Control.DeepSeq.NFData Amazonka.EKS.TagResource.TagResourceResponse
instance Data.Hashable.Class.Hashable Amazonka.EKS.TagResource.TagResource
instance Control.DeepSeq.NFData Amazonka.EKS.TagResource.TagResource
instance Amazonka.Data.Headers.ToHeaders Amazonka.EKS.TagResource.TagResource
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.EKS.TagResource.TagResource
instance Amazonka.Data.Path.ToPath Amazonka.EKS.TagResource.TagResource
instance Amazonka.Data.Query.ToQuery Amazonka.EKS.TagResource.TagResource
-- | Connects a Kubernetes cluster to the Amazon EKS control plane.
--
-- Any Kubernetes cluster can be connected to the Amazon EKS control
-- plane to view current information about the cluster and its nodes.
--
-- Cluster connection requires two steps. First, send a
-- RegisterClusterRequest to add it to the Amazon
-- EKS control plane.
--
-- Second, a Manifest containing the activationID and
-- activationCode must be applied to the Kubernetes cluster
-- through it's native provider to provide visibility.
--
-- After the Manifest is updated and applied, then the connected cluster
-- is visible to the Amazon EKS control plane. If the Manifest is not
-- applied within three days, then the connected cluster will no longer
-- be visible and must be deregistered. See DeregisterCluster.
module Amazonka.EKS.RegisterCluster
-- | See: newRegisterCluster smart constructor.
data RegisterCluster
RegisterCluster' :: Maybe Text -> Maybe (HashMap Text Text) -> Text -> ConnectorConfigRequest -> RegisterCluster
-- | Unique, case-sensitive identifier that you provide to ensure the
-- idempotency of the request.
[$sel:clientRequestToken:RegisterCluster'] :: RegisterCluster -> Maybe Text
-- | The metadata that you apply to the cluster to assist with
-- categorization and organization. Each tag consists of a key and an
-- optional value, both of which you define. Cluster tags do not
-- propagate to any other resources associated with the cluster.
[$sel:tags:RegisterCluster'] :: RegisterCluster -> Maybe (HashMap Text Text)
-- | Define a unique name for this cluster for your Region.
[$sel:name:RegisterCluster'] :: RegisterCluster -> Text
-- | The configuration settings required to connect the Kubernetes cluster
-- to the Amazon EKS control plane.
[$sel:connectorConfig:RegisterCluster'] :: RegisterCluster -> ConnectorConfigRequest
-- | Create a value of RegisterCluster with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- RegisterCluster, registerCluster_clientRequestToken -
-- Unique, case-sensitive identifier that you provide to ensure the
-- idempotency of the request.
--
-- RegisterCluster, registerCluster_tags - The metadata
-- that you apply to the cluster to assist with categorization and
-- organization. Each tag consists of a key and an optional value, both
-- of which you define. Cluster tags do not propagate to any other
-- resources associated with the cluster.
--
-- RegisterCluster, registerCluster_name - Define a unique
-- name for this cluster for your Region.
--
-- RegisterCluster, registerCluster_connectorConfig - The
-- configuration settings required to connect the Kubernetes cluster to
-- the Amazon EKS control plane.
newRegisterCluster :: Text -> ConnectorConfigRequest -> RegisterCluster
-- | Unique, case-sensitive identifier that you provide to ensure the
-- idempotency of the request.
registerCluster_clientRequestToken :: Lens' RegisterCluster (Maybe Text)
-- | The metadata that you apply to the cluster to assist with
-- categorization and organization. Each tag consists of a key and an
-- optional value, both of which you define. Cluster tags do not
-- propagate to any other resources associated with the cluster.
registerCluster_tags :: Lens' RegisterCluster (Maybe (HashMap Text Text))
-- | Define a unique name for this cluster for your Region.
registerCluster_name :: Lens' RegisterCluster Text
-- | The configuration settings required to connect the Kubernetes cluster
-- to the Amazon EKS control plane.
registerCluster_connectorConfig :: Lens' RegisterCluster ConnectorConfigRequest
-- | See: newRegisterClusterResponse smart constructor.
data RegisterClusterResponse
RegisterClusterResponse' :: Maybe Cluster -> Int -> RegisterClusterResponse
[$sel:cluster:RegisterClusterResponse'] :: RegisterClusterResponse -> Maybe Cluster
-- | The response's http status code.
[$sel:httpStatus:RegisterClusterResponse'] :: RegisterClusterResponse -> Int
-- | Create a value of RegisterClusterResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:cluster:RegisterClusterResponse',
-- registerClusterResponse_cluster - Undocumented member.
--
-- $sel:httpStatus:RegisterClusterResponse',
-- registerClusterResponse_httpStatus - The response's http status
-- code.
newRegisterClusterResponse :: Int -> RegisterClusterResponse
-- | Undocumented member.
registerClusterResponse_cluster :: Lens' RegisterClusterResponse (Maybe Cluster)
-- | The response's http status code.
registerClusterResponse_httpStatus :: Lens' RegisterClusterResponse Int
instance GHC.Generics.Generic Amazonka.EKS.RegisterCluster.RegisterCluster
instance GHC.Show.Show Amazonka.EKS.RegisterCluster.RegisterCluster
instance GHC.Read.Read Amazonka.EKS.RegisterCluster.RegisterCluster
instance GHC.Classes.Eq Amazonka.EKS.RegisterCluster.RegisterCluster
instance GHC.Generics.Generic Amazonka.EKS.RegisterCluster.RegisterClusterResponse
instance GHC.Show.Show Amazonka.EKS.RegisterCluster.RegisterClusterResponse
instance GHC.Read.Read Amazonka.EKS.RegisterCluster.RegisterClusterResponse
instance GHC.Classes.Eq Amazonka.EKS.RegisterCluster.RegisterClusterResponse
instance Amazonka.Types.AWSRequest Amazonka.EKS.RegisterCluster.RegisterCluster
instance Control.DeepSeq.NFData Amazonka.EKS.RegisterCluster.RegisterClusterResponse
instance Data.Hashable.Class.Hashable Amazonka.EKS.RegisterCluster.RegisterCluster
instance Control.DeepSeq.NFData Amazonka.EKS.RegisterCluster.RegisterCluster
instance Amazonka.Data.Headers.ToHeaders Amazonka.EKS.RegisterCluster.RegisterCluster
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.EKS.RegisterCluster.RegisterCluster
instance Amazonka.Data.Path.ToPath Amazonka.EKS.RegisterCluster.RegisterCluster
instance Amazonka.Data.Query.ToQuery Amazonka.EKS.RegisterCluster.RegisterCluster
-- | Lists the updates associated with an Amazon EKS cluster or managed
-- node group in your Amazon Web Services account, in the specified
-- Region.
--
-- This operation returns paginated results.
module Amazonka.EKS.ListUpdates
-- | See: newListUpdates smart constructor.
data ListUpdates
ListUpdates' :: Maybe Text -> Maybe Natural -> Maybe Text -> Maybe Text -> Text -> ListUpdates
-- | The names of the installed add-ons that have available updates.
[$sel:addonName:ListUpdates'] :: ListUpdates -> Maybe Text
-- | The maximum number of update results returned by ListUpdates
-- in paginated output. When you use this parameter, ListUpdates
-- returns only maxResults results in a single page along with a
-- nextToken response element. You can see the remaining results
-- of the initial request by sending another ListUpdates request
-- with the returned nextToken value. This value can be between
-- 1 and 100. If you don't use this parameter, ListUpdates
-- returns up to 100 results and a nextToken value if
-- applicable.
[$sel:maxResults:ListUpdates'] :: ListUpdates -> Maybe Natural
-- | The nextToken value returned from a previous paginated
-- ListUpdates request where maxResults was used and
-- the results exceeded the value of that parameter. Pagination continues
-- from the end of the previous results that returned the
-- nextToken value.
[$sel:nextToken:ListUpdates'] :: ListUpdates -> Maybe Text
-- | The name of the Amazon EKS managed node group to list updates for.
[$sel:nodegroupName:ListUpdates'] :: ListUpdates -> Maybe Text
-- | The name of the Amazon EKS cluster to list updates for.
[$sel:name:ListUpdates'] :: ListUpdates -> Text
-- | Create a value of ListUpdates with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListUpdates, listUpdates_addonName - The names of the
-- installed add-ons that have available updates.
--
-- $sel:maxResults:ListUpdates', listUpdates_maxResults -
-- The maximum number of update results returned by ListUpdates
-- in paginated output. When you use this parameter, ListUpdates
-- returns only maxResults results in a single page along with a
-- nextToken response element. You can see the remaining results
-- of the initial request by sending another ListUpdates request
-- with the returned nextToken value. This value can be between
-- 1 and 100. If you don't use this parameter, ListUpdates
-- returns up to 100 results and a nextToken value if
-- applicable.
--
-- ListUpdates, listUpdates_nextToken - The
-- nextToken value returned from a previous paginated
-- ListUpdates request where maxResults was used and
-- the results exceeded the value of that parameter. Pagination continues
-- from the end of the previous results that returned the
-- nextToken value.
--
-- ListUpdates, listUpdates_nodegroupName - The name of the
-- Amazon EKS managed node group to list updates for.
--
-- ListUpdates, listUpdates_name - The name of the Amazon
-- EKS cluster to list updates for.
newListUpdates :: Text -> ListUpdates
-- | The names of the installed add-ons that have available updates.
listUpdates_addonName :: Lens' ListUpdates (Maybe Text)
-- | The maximum number of update results returned by ListUpdates
-- in paginated output. When you use this parameter, ListUpdates
-- returns only maxResults results in a single page along with a
-- nextToken response element. You can see the remaining results
-- of the initial request by sending another ListUpdates request
-- with the returned nextToken value. This value can be between
-- 1 and 100. If you don't use this parameter, ListUpdates
-- returns up to 100 results and a nextToken value if
-- applicable.
listUpdates_maxResults :: Lens' ListUpdates (Maybe Natural)
-- | The nextToken value returned from a previous paginated
-- ListUpdates request where maxResults was used and
-- the results exceeded the value of that parameter. Pagination continues
-- from the end of the previous results that returned the
-- nextToken value.
listUpdates_nextToken :: Lens' ListUpdates (Maybe Text)
-- | The name of the Amazon EKS managed node group to list updates for.
listUpdates_nodegroupName :: Lens' ListUpdates (Maybe Text)
-- | The name of the Amazon EKS cluster to list updates for.
listUpdates_name :: Lens' ListUpdates Text
-- | See: newListUpdatesResponse smart constructor.
data ListUpdatesResponse
ListUpdatesResponse' :: Maybe Text -> Maybe [Text] -> Int -> ListUpdatesResponse
-- | The nextToken value to include in a future
-- ListUpdates request. When the results of a
-- ListUpdates request exceed maxResults, you can use
-- this value to retrieve the next page of results. This value is
-- null when there are no more results to return.
[$sel:nextToken:ListUpdatesResponse'] :: ListUpdatesResponse -> Maybe Text
-- | A list of all the updates for the specified cluster and Region.
[$sel:updateIds:ListUpdatesResponse'] :: ListUpdatesResponse -> Maybe [Text]
-- | The response's http status code.
[$sel:httpStatus:ListUpdatesResponse'] :: ListUpdatesResponse -> Int
-- | Create a value of ListUpdatesResponse with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListUpdates, listUpdatesResponse_nextToken - The
-- nextToken value to include in a future ListUpdates
-- request. When the results of a ListUpdates request exceed
-- maxResults, you can use this value to retrieve the next page
-- of results. This value is null when there are no more results
-- to return.
--
-- $sel:updateIds:ListUpdatesResponse',
-- listUpdatesResponse_updateIds - A list of all the updates for
-- the specified cluster and Region.
--
-- $sel:httpStatus:ListUpdatesResponse',
-- listUpdatesResponse_httpStatus - The response's http status
-- code.
newListUpdatesResponse :: Int -> ListUpdatesResponse
-- | The nextToken value to include in a future
-- ListUpdates request. When the results of a
-- ListUpdates request exceed maxResults, you can use
-- this value to retrieve the next page of results. This value is
-- null when there are no more results to return.
listUpdatesResponse_nextToken :: Lens' ListUpdatesResponse (Maybe Text)
-- | A list of all the updates for the specified cluster and Region.
listUpdatesResponse_updateIds :: Lens' ListUpdatesResponse (Maybe [Text])
-- | The response's http status code.
listUpdatesResponse_httpStatus :: Lens' ListUpdatesResponse Int
instance GHC.Generics.Generic Amazonka.EKS.ListUpdates.ListUpdates
instance GHC.Show.Show Amazonka.EKS.ListUpdates.ListUpdates
instance GHC.Read.Read Amazonka.EKS.ListUpdates.ListUpdates
instance GHC.Classes.Eq Amazonka.EKS.ListUpdates.ListUpdates
instance GHC.Generics.Generic Amazonka.EKS.ListUpdates.ListUpdatesResponse
instance GHC.Show.Show Amazonka.EKS.ListUpdates.ListUpdatesResponse
instance GHC.Read.Read Amazonka.EKS.ListUpdates.ListUpdatesResponse
instance GHC.Classes.Eq Amazonka.EKS.ListUpdates.ListUpdatesResponse
instance Amazonka.Types.AWSRequest Amazonka.EKS.ListUpdates.ListUpdates
instance Control.DeepSeq.NFData Amazonka.EKS.ListUpdates.ListUpdatesResponse
instance Amazonka.Pager.AWSPager Amazonka.EKS.ListUpdates.ListUpdates
instance Data.Hashable.Class.Hashable Amazonka.EKS.ListUpdates.ListUpdates
instance Control.DeepSeq.NFData Amazonka.EKS.ListUpdates.ListUpdates
instance Amazonka.Data.Headers.ToHeaders Amazonka.EKS.ListUpdates.ListUpdates
instance Amazonka.Data.Path.ToPath Amazonka.EKS.ListUpdates.ListUpdates
instance Amazonka.Data.Query.ToQuery Amazonka.EKS.ListUpdates.ListUpdates
-- | List the tags for an Amazon EKS resource.
module Amazonka.EKS.ListTagsForResource
-- | See: newListTagsForResource smart constructor.
data ListTagsForResource
ListTagsForResource' :: Text -> ListTagsForResource
-- | The Amazon Resource Name (ARN) that identifies the resource for which
-- to list the tags. Currently, the supported resources are Amazon EKS
-- clusters and managed node groups.
[$sel:resourceArn:ListTagsForResource'] :: ListTagsForResource -> Text
-- | Create a value of ListTagsForResource with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:resourceArn:ListTagsForResource',
-- listTagsForResource_resourceArn - The Amazon Resource Name
-- (ARN) that identifies the resource for which to list the tags.
-- Currently, the supported resources are Amazon EKS clusters and managed
-- node groups.
newListTagsForResource :: Text -> ListTagsForResource
-- | The Amazon Resource Name (ARN) that identifies the resource for which
-- to list the tags. Currently, the supported resources are Amazon EKS
-- clusters and managed node groups.
listTagsForResource_resourceArn :: Lens' ListTagsForResource Text
-- | See: newListTagsForResourceResponse smart constructor.
data ListTagsForResourceResponse
ListTagsForResourceResponse' :: Maybe (HashMap Text Text) -> Int -> ListTagsForResourceResponse
-- | The tags for the resource.
[$sel:tags:ListTagsForResourceResponse'] :: ListTagsForResourceResponse -> Maybe (HashMap Text Text)
-- | The response's http status code.
[$sel:httpStatus:ListTagsForResourceResponse'] :: ListTagsForResourceResponse -> Int
-- | Create a value of ListTagsForResourceResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListTagsForResourceResponse,
-- listTagsForResourceResponse_tags - The tags for the resource.
--
-- $sel:httpStatus:ListTagsForResourceResponse',
-- listTagsForResourceResponse_httpStatus - The response's http
-- status code.
newListTagsForResourceResponse :: Int -> ListTagsForResourceResponse
-- | The tags for the resource.
listTagsForResourceResponse_tags :: Lens' ListTagsForResourceResponse (Maybe (HashMap Text Text))
-- | The response's http status code.
listTagsForResourceResponse_httpStatus :: Lens' ListTagsForResourceResponse Int
instance GHC.Generics.Generic Amazonka.EKS.ListTagsForResource.ListTagsForResource
instance GHC.Show.Show Amazonka.EKS.ListTagsForResource.ListTagsForResource
instance GHC.Read.Read Amazonka.EKS.ListTagsForResource.ListTagsForResource
instance GHC.Classes.Eq Amazonka.EKS.ListTagsForResource.ListTagsForResource
instance GHC.Generics.Generic Amazonka.EKS.ListTagsForResource.ListTagsForResourceResponse
instance GHC.Show.Show Amazonka.EKS.ListTagsForResource.ListTagsForResourceResponse
instance GHC.Read.Read Amazonka.EKS.ListTagsForResource.ListTagsForResourceResponse
instance GHC.Classes.Eq Amazonka.EKS.ListTagsForResource.ListTagsForResourceResponse
instance Amazonka.Types.AWSRequest Amazonka.EKS.ListTagsForResource.ListTagsForResource
instance Control.DeepSeq.NFData Amazonka.EKS.ListTagsForResource.ListTagsForResourceResponse
instance Data.Hashable.Class.Hashable Amazonka.EKS.ListTagsForResource.ListTagsForResource
instance Control.DeepSeq.NFData Amazonka.EKS.ListTagsForResource.ListTagsForResource
instance Amazonka.Data.Headers.ToHeaders Amazonka.EKS.ListTagsForResource.ListTagsForResource
instance Amazonka.Data.Path.ToPath Amazonka.EKS.ListTagsForResource.ListTagsForResource
instance Amazonka.Data.Query.ToQuery Amazonka.EKS.ListTagsForResource.ListTagsForResource
-- | Lists the Amazon EKS managed node groups associated with the specified
-- cluster in your Amazon Web Services account in the specified Region.
-- Self-managed node groups are not listed.
--
-- This operation returns paginated results.
module Amazonka.EKS.ListNodegroups
-- | See: newListNodegroups smart constructor.
data ListNodegroups
ListNodegroups' :: Maybe Natural -> Maybe Text -> Text -> ListNodegroups
-- | The maximum number of node group results returned by
-- ListNodegroups in paginated output. When you use this
-- parameter, ListNodegroups returns only maxResults
-- results in a single page along with a nextToken response
-- element. You can see the remaining results of the initial request by
-- sending another ListNodegroups request with the returned
-- nextToken value. This value can be between 1 and 100. If you
-- don't use this parameter, ListNodegroups returns up to 100
-- results and a nextToken value if applicable.
[$sel:maxResults:ListNodegroups'] :: ListNodegroups -> Maybe Natural
-- | The nextToken value returned from a previous paginated
-- ListNodegroups request where maxResults was used and
-- the results exceeded the value of that parameter. Pagination continues
-- from the end of the previous results that returned the
-- nextToken value.
[$sel:nextToken:ListNodegroups'] :: ListNodegroups -> Maybe Text
-- | The name of the Amazon EKS cluster that you would like to list node
-- groups in.
[$sel:clusterName:ListNodegroups'] :: ListNodegroups -> Text
-- | Create a value of ListNodegroups with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:maxResults:ListNodegroups',
-- listNodegroups_maxResults - The maximum number of node group
-- results returned by ListNodegroups in paginated output. When
-- you use this parameter, ListNodegroups returns only
-- maxResults results in a single page along with a
-- nextToken response element. You can see the remaining results
-- of the initial request by sending another ListNodegroups
-- request with the returned nextToken value. This value can be
-- between 1 and 100. If you don't use this parameter,
-- ListNodegroups returns up to 100 results and a
-- nextToken value if applicable.
--
-- ListNodegroups, listNodegroups_nextToken - The
-- nextToken value returned from a previous paginated
-- ListNodegroups request where maxResults was used and
-- the results exceeded the value of that parameter. Pagination continues
-- from the end of the previous results that returned the
-- nextToken value.
--
-- ListNodegroups, listNodegroups_clusterName - The name of
-- the Amazon EKS cluster that you would like to list node groups in.
newListNodegroups :: Text -> ListNodegroups
-- | The maximum number of node group results returned by
-- ListNodegroups in paginated output. When you use this
-- parameter, ListNodegroups returns only maxResults
-- results in a single page along with a nextToken response
-- element. You can see the remaining results of the initial request by
-- sending another ListNodegroups request with the returned
-- nextToken value. This value can be between 1 and 100. If you
-- don't use this parameter, ListNodegroups returns up to 100
-- results and a nextToken value if applicable.
listNodegroups_maxResults :: Lens' ListNodegroups (Maybe Natural)
-- | The nextToken value returned from a previous paginated
-- ListNodegroups request where maxResults was used and
-- the results exceeded the value of that parameter. Pagination continues
-- from the end of the previous results that returned the
-- nextToken value.
listNodegroups_nextToken :: Lens' ListNodegroups (Maybe Text)
-- | The name of the Amazon EKS cluster that you would like to list node
-- groups in.
listNodegroups_clusterName :: Lens' ListNodegroups Text
-- | See: newListNodegroupsResponse smart constructor.
data ListNodegroupsResponse
ListNodegroupsResponse' :: Maybe Text -> Maybe [Text] -> Int -> ListNodegroupsResponse
-- | The nextToken value to include in a future
-- ListNodegroups request. When the results of a
-- ListNodegroups request exceed maxResults, you can
-- use this value to retrieve the next page of results. This value is
-- null when there are no more results to return.
[$sel:nextToken:ListNodegroupsResponse'] :: ListNodegroupsResponse -> Maybe Text
-- | A list of all of the node groups associated with the specified
-- cluster.
[$sel:nodegroups:ListNodegroupsResponse'] :: ListNodegroupsResponse -> Maybe [Text]
-- | The response's http status code.
[$sel:httpStatus:ListNodegroupsResponse'] :: ListNodegroupsResponse -> Int
-- | Create a value of ListNodegroupsResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListNodegroups, listNodegroupsResponse_nextToken - The
-- nextToken value to include in a future
-- ListNodegroups request. When the results of a
-- ListNodegroups request exceed maxResults, you can
-- use this value to retrieve the next page of results. This value is
-- null when there are no more results to return.
--
-- $sel:nodegroups:ListNodegroupsResponse',
-- listNodegroupsResponse_nodegroups - A list of all of the node
-- groups associated with the specified cluster.
--
-- $sel:httpStatus:ListNodegroupsResponse',
-- listNodegroupsResponse_httpStatus - The response's http status
-- code.
newListNodegroupsResponse :: Int -> ListNodegroupsResponse
-- | The nextToken value to include in a future
-- ListNodegroups request. When the results of a
-- ListNodegroups request exceed maxResults, you can
-- use this value to retrieve the next page of results. This value is
-- null when there are no more results to return.
listNodegroupsResponse_nextToken :: Lens' ListNodegroupsResponse (Maybe Text)
-- | A list of all of the node groups associated with the specified
-- cluster.
listNodegroupsResponse_nodegroups :: Lens' ListNodegroupsResponse (Maybe [Text])
-- | The response's http status code.
listNodegroupsResponse_httpStatus :: Lens' ListNodegroupsResponse Int
instance GHC.Generics.Generic Amazonka.EKS.ListNodegroups.ListNodegroups
instance GHC.Show.Show Amazonka.EKS.ListNodegroups.ListNodegroups
instance GHC.Read.Read Amazonka.EKS.ListNodegroups.ListNodegroups
instance GHC.Classes.Eq Amazonka.EKS.ListNodegroups.ListNodegroups
instance GHC.Generics.Generic Amazonka.EKS.ListNodegroups.ListNodegroupsResponse
instance GHC.Show.Show Amazonka.EKS.ListNodegroups.ListNodegroupsResponse
instance GHC.Read.Read Amazonka.EKS.ListNodegroups.ListNodegroupsResponse
instance GHC.Classes.Eq Amazonka.EKS.ListNodegroups.ListNodegroupsResponse
instance Amazonka.Types.AWSRequest Amazonka.EKS.ListNodegroups.ListNodegroups
instance Control.DeepSeq.NFData Amazonka.EKS.ListNodegroups.ListNodegroupsResponse
instance Amazonka.Pager.AWSPager Amazonka.EKS.ListNodegroups.ListNodegroups
instance Data.Hashable.Class.Hashable Amazonka.EKS.ListNodegroups.ListNodegroups
instance Control.DeepSeq.NFData Amazonka.EKS.ListNodegroups.ListNodegroups
instance Amazonka.Data.Headers.ToHeaders Amazonka.EKS.ListNodegroups.ListNodegroups
instance Amazonka.Data.Path.ToPath Amazonka.EKS.ListNodegroups.ListNodegroups
instance Amazonka.Data.Query.ToQuery Amazonka.EKS.ListNodegroups.ListNodegroups
-- | A list of identity provider configurations.
--
-- This operation returns paginated results.
module Amazonka.EKS.ListIdentityProviderConfigs
-- | See: newListIdentityProviderConfigs smart constructor.
data ListIdentityProviderConfigs
ListIdentityProviderConfigs' :: Maybe Natural -> Maybe Text -> Text -> ListIdentityProviderConfigs
-- | The maximum number of identity provider configurations returned by
-- ListIdentityProviderConfigs in paginated output. When you use
-- this parameter, ListIdentityProviderConfigs returns only
-- maxResults results in a single page along with a
-- nextToken response element. You can see the remaining results
-- of the initial request by sending another
-- ListIdentityProviderConfigs request with the returned
-- nextToken value. This value can be between 1 and 100. If you
-- don't use this parameter, ListIdentityProviderConfigs returns
-- up to 100 results and a nextToken value, if applicable.
[$sel:maxResults:ListIdentityProviderConfigs'] :: ListIdentityProviderConfigs -> Maybe Natural
-- | The nextToken value returned from a previous paginated
-- IdentityProviderConfigsRequest where maxResults was
-- used and the results exceeded the value of that parameter. Pagination
-- continues from the end of the previous results that returned the
-- nextToken value.
[$sel:nextToken:ListIdentityProviderConfigs'] :: ListIdentityProviderConfigs -> Maybe Text
-- | The cluster name that you want to list identity provider
-- configurations for.
[$sel:clusterName:ListIdentityProviderConfigs'] :: ListIdentityProviderConfigs -> Text
-- | Create a value of ListIdentityProviderConfigs with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:maxResults:ListIdentityProviderConfigs',
-- listIdentityProviderConfigs_maxResults - The maximum number of
-- identity provider configurations returned by
-- ListIdentityProviderConfigs in paginated output. When you use
-- this parameter, ListIdentityProviderConfigs returns only
-- maxResults results in a single page along with a
-- nextToken response element. You can see the remaining results
-- of the initial request by sending another
-- ListIdentityProviderConfigs request with the returned
-- nextToken value. This value can be between 1 and 100. If you
-- don't use this parameter, ListIdentityProviderConfigs returns
-- up to 100 results and a nextToken value, if applicable.
--
-- ListIdentityProviderConfigs,
-- listIdentityProviderConfigs_nextToken - The nextToken
-- value returned from a previous paginated
-- IdentityProviderConfigsRequest where maxResults was
-- used and the results exceeded the value of that parameter. Pagination
-- continues from the end of the previous results that returned the
-- nextToken value.
--
-- ListIdentityProviderConfigs,
-- listIdentityProviderConfigs_clusterName - The cluster name that
-- you want to list identity provider configurations for.
newListIdentityProviderConfigs :: Text -> ListIdentityProviderConfigs
-- | The maximum number of identity provider configurations returned by
-- ListIdentityProviderConfigs in paginated output. When you use
-- this parameter, ListIdentityProviderConfigs returns only
-- maxResults results in a single page along with a
-- nextToken response element. You can see the remaining results
-- of the initial request by sending another
-- ListIdentityProviderConfigs request with the returned
-- nextToken value. This value can be between 1 and 100. If you
-- don't use this parameter, ListIdentityProviderConfigs returns
-- up to 100 results and a nextToken value, if applicable.
listIdentityProviderConfigs_maxResults :: Lens' ListIdentityProviderConfigs (Maybe Natural)
-- | The nextToken value returned from a previous paginated
-- IdentityProviderConfigsRequest where maxResults was
-- used and the results exceeded the value of that parameter. Pagination
-- continues from the end of the previous results that returned the
-- nextToken value.
listIdentityProviderConfigs_nextToken :: Lens' ListIdentityProviderConfigs (Maybe Text)
-- | The cluster name that you want to list identity provider
-- configurations for.
listIdentityProviderConfigs_clusterName :: Lens' ListIdentityProviderConfigs Text
-- | See: newListIdentityProviderConfigsResponse smart
-- constructor.
data ListIdentityProviderConfigsResponse
ListIdentityProviderConfigsResponse' :: Maybe [IdentityProviderConfig] -> Maybe Text -> Int -> ListIdentityProviderConfigsResponse
-- | The identity provider configurations for the cluster.
[$sel:identityProviderConfigs:ListIdentityProviderConfigsResponse'] :: ListIdentityProviderConfigsResponse -> Maybe [IdentityProviderConfig]
-- | The nextToken value returned from a previous paginated
-- ListIdentityProviderConfigsResponse where maxResults
-- was used and the results exceeded the value of that parameter.
-- Pagination continues from the end of the previous results that
-- returned the nextToken value.
[$sel:nextToken:ListIdentityProviderConfigsResponse'] :: ListIdentityProviderConfigsResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:ListIdentityProviderConfigsResponse'] :: ListIdentityProviderConfigsResponse -> Int
-- | Create a value of ListIdentityProviderConfigsResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
--
-- $sel:identityProviderConfigs:ListIdentityProviderConfigsResponse',
-- listIdentityProviderConfigsResponse_identityProviderConfigs -
-- The identity provider configurations for the cluster.
--
-- ListIdentityProviderConfigs,
-- listIdentityProviderConfigsResponse_nextToken - The
-- nextToken value returned from a previous paginated
-- ListIdentityProviderConfigsResponse where maxResults
-- was used and the results exceeded the value of that parameter.
-- Pagination continues from the end of the previous results that
-- returned the nextToken value.
--
-- $sel:httpStatus:ListIdentityProviderConfigsResponse',
-- listIdentityProviderConfigsResponse_httpStatus - The response's
-- http status code.
newListIdentityProviderConfigsResponse :: Int -> ListIdentityProviderConfigsResponse
-- | The identity provider configurations for the cluster.
listIdentityProviderConfigsResponse_identityProviderConfigs :: Lens' ListIdentityProviderConfigsResponse (Maybe [IdentityProviderConfig])
-- | The nextToken value returned from a previous paginated
-- ListIdentityProviderConfigsResponse where maxResults
-- was used and the results exceeded the value of that parameter.
-- Pagination continues from the end of the previous results that
-- returned the nextToken value.
listIdentityProviderConfigsResponse_nextToken :: Lens' ListIdentityProviderConfigsResponse (Maybe Text)
-- | The response's http status code.
listIdentityProviderConfigsResponse_httpStatus :: Lens' ListIdentityProviderConfigsResponse Int
instance GHC.Generics.Generic Amazonka.EKS.ListIdentityProviderConfigs.ListIdentityProviderConfigs
instance GHC.Show.Show Amazonka.EKS.ListIdentityProviderConfigs.ListIdentityProviderConfigs
instance GHC.Read.Read Amazonka.EKS.ListIdentityProviderConfigs.ListIdentityProviderConfigs
instance GHC.Classes.Eq Amazonka.EKS.ListIdentityProviderConfigs.ListIdentityProviderConfigs
instance GHC.Generics.Generic Amazonka.EKS.ListIdentityProviderConfigs.ListIdentityProviderConfigsResponse
instance GHC.Show.Show Amazonka.EKS.ListIdentityProviderConfigs.ListIdentityProviderConfigsResponse
instance GHC.Read.Read Amazonka.EKS.ListIdentityProviderConfigs.ListIdentityProviderConfigsResponse
instance GHC.Classes.Eq Amazonka.EKS.ListIdentityProviderConfigs.ListIdentityProviderConfigsResponse
instance Amazonka.Types.AWSRequest Amazonka.EKS.ListIdentityProviderConfigs.ListIdentityProviderConfigs
instance Control.DeepSeq.NFData Amazonka.EKS.ListIdentityProviderConfigs.ListIdentityProviderConfigsResponse
instance Amazonka.Pager.AWSPager Amazonka.EKS.ListIdentityProviderConfigs.ListIdentityProviderConfigs
instance Data.Hashable.Class.Hashable Amazonka.EKS.ListIdentityProviderConfigs.ListIdentityProviderConfigs
instance Control.DeepSeq.NFData Amazonka.EKS.ListIdentityProviderConfigs.ListIdentityProviderConfigs
instance Amazonka.Data.Headers.ToHeaders Amazonka.EKS.ListIdentityProviderConfigs.ListIdentityProviderConfigs
instance Amazonka.Data.Path.ToPath Amazonka.EKS.ListIdentityProviderConfigs.ListIdentityProviderConfigs
instance Amazonka.Data.Query.ToQuery Amazonka.EKS.ListIdentityProviderConfigs.ListIdentityProviderConfigs
-- | Lists the Fargate profiles associated with the specified cluster in
-- your Amazon Web Services account in the specified Region.
--
-- This operation returns paginated results.
module Amazonka.EKS.ListFargateProfiles
-- | See: newListFargateProfiles smart constructor.
data ListFargateProfiles
ListFargateProfiles' :: Maybe Natural -> Maybe Text -> Text -> ListFargateProfiles
-- | The maximum number of Fargate profile results returned by
-- ListFargateProfiles in paginated output. When you use this
-- parameter, ListFargateProfiles returns only
-- maxResults results in a single page along with a
-- nextToken response element. You can see the remaining results
-- of the initial request by sending another ListFargateProfiles
-- request with the returned nextToken value. This value can be
-- between 1 and 100. If you don't use this parameter,
-- ListFargateProfiles returns up to 100 results and a
-- nextToken value if applicable.
[$sel:maxResults:ListFargateProfiles'] :: ListFargateProfiles -> Maybe Natural
-- | The nextToken value returned from a previous paginated
-- ListFargateProfiles request where maxResults was
-- used and the results exceeded the value of that parameter. Pagination
-- continues from the end of the previous results that returned the
-- nextToken value.
[$sel:nextToken:ListFargateProfiles'] :: ListFargateProfiles -> Maybe Text
-- | The name of the Amazon EKS cluster that you would like to list Fargate
-- profiles in.
[$sel:clusterName:ListFargateProfiles'] :: ListFargateProfiles -> Text
-- | Create a value of ListFargateProfiles with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:maxResults:ListFargateProfiles',
-- listFargateProfiles_maxResults - The maximum number of Fargate
-- profile results returned by ListFargateProfiles in paginated
-- output. When you use this parameter, ListFargateProfiles
-- returns only maxResults results in a single page along with a
-- nextToken response element. You can see the remaining results
-- of the initial request by sending another ListFargateProfiles
-- request with the returned nextToken value. This value can be
-- between 1 and 100. If you don't use this parameter,
-- ListFargateProfiles returns up to 100 results and a
-- nextToken value if applicable.
--
-- ListFargateProfiles, listFargateProfiles_nextToken - The
-- nextToken value returned from a previous paginated
-- ListFargateProfiles request where maxResults was
-- used and the results exceeded the value of that parameter. Pagination
-- continues from the end of the previous results that returned the
-- nextToken value.
--
-- ListFargateProfiles, listFargateProfiles_clusterName -
-- The name of the Amazon EKS cluster that you would like to list Fargate
-- profiles in.
newListFargateProfiles :: Text -> ListFargateProfiles
-- | The maximum number of Fargate profile results returned by
-- ListFargateProfiles in paginated output. When you use this
-- parameter, ListFargateProfiles returns only
-- maxResults results in a single page along with a
-- nextToken response element. You can see the remaining results
-- of the initial request by sending another ListFargateProfiles
-- request with the returned nextToken value. This value can be
-- between 1 and 100. If you don't use this parameter,
-- ListFargateProfiles returns up to 100 results and a
-- nextToken value if applicable.
listFargateProfiles_maxResults :: Lens' ListFargateProfiles (Maybe Natural)
-- | The nextToken value returned from a previous paginated
-- ListFargateProfiles request where maxResults was
-- used and the results exceeded the value of that parameter. Pagination
-- continues from the end of the previous results that returned the
-- nextToken value.
listFargateProfiles_nextToken :: Lens' ListFargateProfiles (Maybe Text)
-- | The name of the Amazon EKS cluster that you would like to list Fargate
-- profiles in.
listFargateProfiles_clusterName :: Lens' ListFargateProfiles Text
-- | See: newListFargateProfilesResponse smart constructor.
data ListFargateProfilesResponse
ListFargateProfilesResponse' :: Maybe [Text] -> Maybe Text -> Int -> ListFargateProfilesResponse
-- | A list of all of the Fargate profiles associated with the specified
-- cluster.
[$sel:fargateProfileNames:ListFargateProfilesResponse'] :: ListFargateProfilesResponse -> Maybe [Text]
-- | The nextToken value to include in a future
-- ListFargateProfiles request. When the results of a
-- ListFargateProfiles request exceed maxResults, you
-- can use this value to retrieve the next page of results. This value is
-- null when there are no more results to return.
[$sel:nextToken:ListFargateProfilesResponse'] :: ListFargateProfilesResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:ListFargateProfilesResponse'] :: ListFargateProfilesResponse -> Int
-- | Create a value of ListFargateProfilesResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:fargateProfileNames:ListFargateProfilesResponse',
-- listFargateProfilesResponse_fargateProfileNames - A list of all
-- of the Fargate profiles associated with the specified cluster.
--
-- ListFargateProfiles,
-- listFargateProfilesResponse_nextToken - The nextToken
-- value to include in a future ListFargateProfiles request.
-- When the results of a ListFargateProfiles request exceed
-- maxResults, you can use this value to retrieve the next page
-- of results. This value is null when there are no more results
-- to return.
--
-- $sel:httpStatus:ListFargateProfilesResponse',
-- listFargateProfilesResponse_httpStatus - The response's http
-- status code.
newListFargateProfilesResponse :: Int -> ListFargateProfilesResponse
-- | A list of all of the Fargate profiles associated with the specified
-- cluster.
listFargateProfilesResponse_fargateProfileNames :: Lens' ListFargateProfilesResponse (Maybe [Text])
-- | The nextToken value to include in a future
-- ListFargateProfiles request. When the results of a
-- ListFargateProfiles request exceed maxResults, you
-- can use this value to retrieve the next page of results. This value is
-- null when there are no more results to return.
listFargateProfilesResponse_nextToken :: Lens' ListFargateProfilesResponse (Maybe Text)
-- | The response's http status code.
listFargateProfilesResponse_httpStatus :: Lens' ListFargateProfilesResponse Int
instance GHC.Generics.Generic Amazonka.EKS.ListFargateProfiles.ListFargateProfiles
instance GHC.Show.Show Amazonka.EKS.ListFargateProfiles.ListFargateProfiles
instance GHC.Read.Read Amazonka.EKS.ListFargateProfiles.ListFargateProfiles
instance GHC.Classes.Eq Amazonka.EKS.ListFargateProfiles.ListFargateProfiles
instance GHC.Generics.Generic Amazonka.EKS.ListFargateProfiles.ListFargateProfilesResponse
instance GHC.Show.Show Amazonka.EKS.ListFargateProfiles.ListFargateProfilesResponse
instance GHC.Read.Read Amazonka.EKS.ListFargateProfiles.ListFargateProfilesResponse
instance GHC.Classes.Eq Amazonka.EKS.ListFargateProfiles.ListFargateProfilesResponse
instance Amazonka.Types.AWSRequest Amazonka.EKS.ListFargateProfiles.ListFargateProfiles
instance Control.DeepSeq.NFData Amazonka.EKS.ListFargateProfiles.ListFargateProfilesResponse
instance Amazonka.Pager.AWSPager Amazonka.EKS.ListFargateProfiles.ListFargateProfiles
instance Data.Hashable.Class.Hashable Amazonka.EKS.ListFargateProfiles.ListFargateProfiles
instance Control.DeepSeq.NFData Amazonka.EKS.ListFargateProfiles.ListFargateProfiles
instance Amazonka.Data.Headers.ToHeaders Amazonka.EKS.ListFargateProfiles.ListFargateProfiles
instance Amazonka.Data.Path.ToPath Amazonka.EKS.ListFargateProfiles.ListFargateProfiles
instance Amazonka.Data.Query.ToQuery Amazonka.EKS.ListFargateProfiles.ListFargateProfiles
-- | Lists the Amazon EKS clusters in your Amazon Web Services account in
-- the specified Region.
--
-- This operation returns paginated results.
module Amazonka.EKS.ListClusters
-- | See: newListClusters smart constructor.
data ListClusters
ListClusters' :: Maybe [Text] -> Maybe Natural -> Maybe Text -> ListClusters
-- | Indicates whether external clusters are included in the returned list.
-- Use 'all' to return connected clusters, or blank to return
-- only Amazon EKS clusters. 'all' must be in lowercase
-- otherwise an error occurs.
[$sel:include:ListClusters'] :: ListClusters -> Maybe [Text]
-- | The maximum number of cluster results returned by
-- ListClusters in paginated output. When you use this
-- parameter, ListClusters returns only maxResults
-- results in a single page along with a nextToken response
-- element. You can see the remaining results of the initial request by
-- sending another ListClusters request with the returned
-- nextToken value. This value can be between 1 and 100. If you
-- don't use this parameter, ListClusters returns up to 100
-- results and a nextToken value if applicable.
[$sel:maxResults:ListClusters'] :: ListClusters -> Maybe Natural
-- | The nextToken value returned from a previous paginated
-- ListClusters request where maxResults was used and
-- the results exceeded the value of that parameter. Pagination continues
-- from the end of the previous results that returned the
-- nextToken value.
--
-- This token should be treated as an opaque identifier that is used only
-- to retrieve the next items in a list and not for other programmatic
-- purposes.
[$sel:nextToken:ListClusters'] :: ListClusters -> Maybe Text
-- | Create a value of ListClusters with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:include:ListClusters', listClusters_include -
-- Indicates whether external clusters are included in the returned list.
-- Use 'all' to return connected clusters, or blank to return
-- only Amazon EKS clusters. 'all' must be in lowercase
-- otherwise an error occurs.
--
-- $sel:maxResults:ListClusters', listClusters_maxResults -
-- The maximum number of cluster results returned by
-- ListClusters in paginated output. When you use this
-- parameter, ListClusters returns only maxResults
-- results in a single page along with a nextToken response
-- element. You can see the remaining results of the initial request by
-- sending another ListClusters request with the returned
-- nextToken value. This value can be between 1 and 100. If you
-- don't use this parameter, ListClusters returns up to 100
-- results and a nextToken value if applicable.
--
-- ListClusters, listClusters_nextToken - The
-- nextToken value returned from a previous paginated
-- ListClusters request where maxResults was used and
-- the results exceeded the value of that parameter. Pagination continues
-- from the end of the previous results that returned the
-- nextToken value.
--
-- This token should be treated as an opaque identifier that is used only
-- to retrieve the next items in a list and not for other programmatic
-- purposes.
newListClusters :: ListClusters
-- | Indicates whether external clusters are included in the returned list.
-- Use 'all' to return connected clusters, or blank to return
-- only Amazon EKS clusters. 'all' must be in lowercase
-- otherwise an error occurs.
listClusters_include :: Lens' ListClusters (Maybe [Text])
-- | The maximum number of cluster results returned by
-- ListClusters in paginated output. When you use this
-- parameter, ListClusters returns only maxResults
-- results in a single page along with a nextToken response
-- element. You can see the remaining results of the initial request by
-- sending another ListClusters request with the returned
-- nextToken value. This value can be between 1 and 100. If you
-- don't use this parameter, ListClusters returns up to 100
-- results and a nextToken value if applicable.
listClusters_maxResults :: Lens' ListClusters (Maybe Natural)
-- | The nextToken value returned from a previous paginated
-- ListClusters request where maxResults was used and
-- the results exceeded the value of that parameter. Pagination continues
-- from the end of the previous results that returned the
-- nextToken value.
--
-- This token should be treated as an opaque identifier that is used only
-- to retrieve the next items in a list and not for other programmatic
-- purposes.
listClusters_nextToken :: Lens' ListClusters (Maybe Text)
-- | See: newListClustersResponse smart constructor.
data ListClustersResponse
ListClustersResponse' :: Maybe [Text] -> Maybe Text -> Int -> ListClustersResponse
-- | A list of all of the clusters for your account in the specified
-- Region.
[$sel:clusters:ListClustersResponse'] :: ListClustersResponse -> Maybe [Text]
-- | The nextToken value to include in a future
-- ListClusters request. When the results of a
-- ListClusters request exceed maxResults, you can use
-- this value to retrieve the next page of results. This value is
-- null when there are no more results to return.
[$sel:nextToken:ListClustersResponse'] :: ListClustersResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:ListClustersResponse'] :: ListClustersResponse -> Int
-- | Create a value of ListClustersResponse with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:clusters:ListClustersResponse',
-- listClustersResponse_clusters - A list of all of the clusters
-- for your account in the specified Region.
--
-- ListClusters, listClustersResponse_nextToken - The
-- nextToken value to include in a future ListClusters
-- request. When the results of a ListClusters request exceed
-- maxResults, you can use this value to retrieve the next page
-- of results. This value is null when there are no more results
-- to return.
--
-- $sel:httpStatus:ListClustersResponse',
-- listClustersResponse_httpStatus - The response's http status
-- code.
newListClustersResponse :: Int -> ListClustersResponse
-- | A list of all of the clusters for your account in the specified
-- Region.
listClustersResponse_clusters :: Lens' ListClustersResponse (Maybe [Text])
-- | The nextToken value to include in a future
-- ListClusters request. When the results of a
-- ListClusters request exceed maxResults, you can use
-- this value to retrieve the next page of results. This value is
-- null when there are no more results to return.
listClustersResponse_nextToken :: Lens' ListClustersResponse (Maybe Text)
-- | The response's http status code.
listClustersResponse_httpStatus :: Lens' ListClustersResponse Int
instance GHC.Generics.Generic Amazonka.EKS.ListClusters.ListClusters
instance GHC.Show.Show Amazonka.EKS.ListClusters.ListClusters
instance GHC.Read.Read Amazonka.EKS.ListClusters.ListClusters
instance GHC.Classes.Eq Amazonka.EKS.ListClusters.ListClusters
instance GHC.Generics.Generic Amazonka.EKS.ListClusters.ListClustersResponse
instance GHC.Show.Show Amazonka.EKS.ListClusters.ListClustersResponse
instance GHC.Read.Read Amazonka.EKS.ListClusters.ListClustersResponse
instance GHC.Classes.Eq Amazonka.EKS.ListClusters.ListClustersResponse
instance Amazonka.Types.AWSRequest Amazonka.EKS.ListClusters.ListClusters
instance Control.DeepSeq.NFData Amazonka.EKS.ListClusters.ListClustersResponse
instance Amazonka.Pager.AWSPager Amazonka.EKS.ListClusters.ListClusters
instance Data.Hashable.Class.Hashable Amazonka.EKS.ListClusters.ListClusters
instance Control.DeepSeq.NFData Amazonka.EKS.ListClusters.ListClusters
instance Amazonka.Data.Headers.ToHeaders Amazonka.EKS.ListClusters.ListClusters
instance Amazonka.Data.Path.ToPath Amazonka.EKS.ListClusters.ListClusters
instance Amazonka.Data.Query.ToQuery Amazonka.EKS.ListClusters.ListClusters
-- | Lists the available add-ons.
--
-- This operation returns paginated results.
module Amazonka.EKS.ListAddons
-- | See: newListAddons smart constructor.
data ListAddons
ListAddons' :: Maybe Natural -> Maybe Text -> Text -> ListAddons
-- | The maximum number of add-on results returned by
-- ListAddonsRequest in paginated output. When you use this
-- parameter, ListAddonsRequest returns only maxResults
-- results in a single page along with a nextToken response
-- element. You can see the remaining results of the initial request by
-- sending another ListAddonsRequest request with the returned
-- nextToken value. This value can be between 1 and 100. If you
-- don't use this parameter, ListAddonsRequest returns up to 100
-- results and a nextToken value, if applicable.
[$sel:maxResults:ListAddons'] :: ListAddons -> Maybe Natural
-- | The nextToken value returned from a previous paginated
-- ListAddonsRequest where maxResults was used and the
-- results exceeded the value of that parameter. Pagination continues
-- from the end of the previous results that returned the
-- nextToken value.
--
-- This token should be treated as an opaque identifier that is used only
-- to retrieve the next items in a list and not for other programmatic
-- purposes.
[$sel:nextToken:ListAddons'] :: ListAddons -> Maybe Text
-- | The name of the cluster.
[$sel:clusterName:ListAddons'] :: ListAddons -> Text
-- | Create a value of ListAddons with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:maxResults:ListAddons', listAddons_maxResults - The
-- maximum number of add-on results returned by
-- ListAddonsRequest in paginated output. When you use this
-- parameter, ListAddonsRequest returns only maxResults
-- results in a single page along with a nextToken response
-- element. You can see the remaining results of the initial request by
-- sending another ListAddonsRequest request with the returned
-- nextToken value. This value can be between 1 and 100. If you
-- don't use this parameter, ListAddonsRequest returns up to 100
-- results and a nextToken value, if applicable.
--
-- ListAddons, listAddons_nextToken - The
-- nextToken value returned from a previous paginated
-- ListAddonsRequest where maxResults was used and the
-- results exceeded the value of that parameter. Pagination continues
-- from the end of the previous results that returned the
-- nextToken value.
--
-- This token should be treated as an opaque identifier that is used only
-- to retrieve the next items in a list and not for other programmatic
-- purposes.
--
-- ListAddons, listAddons_clusterName - The name of the
-- cluster.
newListAddons :: Text -> ListAddons
-- | The maximum number of add-on results returned by
-- ListAddonsRequest in paginated output. When you use this
-- parameter, ListAddonsRequest returns only maxResults
-- results in a single page along with a nextToken response
-- element. You can see the remaining results of the initial request by
-- sending another ListAddonsRequest request with the returned
-- nextToken value. This value can be between 1 and 100. If you
-- don't use this parameter, ListAddonsRequest returns up to 100
-- results and a nextToken value, if applicable.
listAddons_maxResults :: Lens' ListAddons (Maybe Natural)
-- | The nextToken value returned from a previous paginated
-- ListAddonsRequest where maxResults was used and the
-- results exceeded the value of that parameter. Pagination continues
-- from the end of the previous results that returned the
-- nextToken value.
--
-- This token should be treated as an opaque identifier that is used only
-- to retrieve the next items in a list and not for other programmatic
-- purposes.
listAddons_nextToken :: Lens' ListAddons (Maybe Text)
-- | The name of the cluster.
listAddons_clusterName :: Lens' ListAddons Text
-- | See: newListAddonsResponse smart constructor.
data ListAddonsResponse
ListAddonsResponse' :: Maybe [Text] -> Maybe Text -> Int -> ListAddonsResponse
-- | A list of available add-ons.
[$sel:addons:ListAddonsResponse'] :: ListAddonsResponse -> Maybe [Text]
-- | The nextToken value returned from a previous paginated
-- ListAddonsResponse where maxResults was used and the
-- results exceeded the value of that parameter. Pagination continues
-- from the end of the previous results that returned the
-- nextToken value.
--
-- This token should be treated as an opaque identifier that is used only
-- to retrieve the next items in a list and not for other programmatic
-- purposes.
[$sel:nextToken:ListAddonsResponse'] :: ListAddonsResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:ListAddonsResponse'] :: ListAddonsResponse -> Int
-- | Create a value of ListAddonsResponse with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:addons:ListAddonsResponse',
-- listAddonsResponse_addons - A list of available add-ons.
--
-- ListAddons, listAddonsResponse_nextToken - The
-- nextToken value returned from a previous paginated
-- ListAddonsResponse where maxResults was used and the
-- results exceeded the value of that parameter. Pagination continues
-- from the end of the previous results that returned the
-- nextToken value.
--
-- This token should be treated as an opaque identifier that is used only
-- to retrieve the next items in a list and not for other programmatic
-- purposes.
--
-- $sel:httpStatus:ListAddonsResponse',
-- listAddonsResponse_httpStatus - The response's http status
-- code.
newListAddonsResponse :: Int -> ListAddonsResponse
-- | A list of available add-ons.
listAddonsResponse_addons :: Lens' ListAddonsResponse (Maybe [Text])
-- | The nextToken value returned from a previous paginated
-- ListAddonsResponse where maxResults was used and the
-- results exceeded the value of that parameter. Pagination continues
-- from the end of the previous results that returned the
-- nextToken value.
--
-- This token should be treated as an opaque identifier that is used only
-- to retrieve the next items in a list and not for other programmatic
-- purposes.
listAddonsResponse_nextToken :: Lens' ListAddonsResponse (Maybe Text)
-- | The response's http status code.
listAddonsResponse_httpStatus :: Lens' ListAddonsResponse Int
instance GHC.Generics.Generic Amazonka.EKS.ListAddons.ListAddons
instance GHC.Show.Show Amazonka.EKS.ListAddons.ListAddons
instance GHC.Read.Read Amazonka.EKS.ListAddons.ListAddons
instance GHC.Classes.Eq Amazonka.EKS.ListAddons.ListAddons
instance GHC.Generics.Generic Amazonka.EKS.ListAddons.ListAddonsResponse
instance GHC.Show.Show Amazonka.EKS.ListAddons.ListAddonsResponse
instance GHC.Read.Read Amazonka.EKS.ListAddons.ListAddonsResponse
instance GHC.Classes.Eq Amazonka.EKS.ListAddons.ListAddonsResponse
instance Amazonka.Types.AWSRequest Amazonka.EKS.ListAddons.ListAddons
instance Control.DeepSeq.NFData Amazonka.EKS.ListAddons.ListAddonsResponse
instance Amazonka.Pager.AWSPager Amazonka.EKS.ListAddons.ListAddons
instance Data.Hashable.Class.Hashable Amazonka.EKS.ListAddons.ListAddons
instance Control.DeepSeq.NFData Amazonka.EKS.ListAddons.ListAddons
instance Amazonka.Data.Headers.ToHeaders Amazonka.EKS.ListAddons.ListAddons
instance Amazonka.Data.Path.ToPath Amazonka.EKS.ListAddons.ListAddons
instance Amazonka.Data.Query.ToQuery Amazonka.EKS.ListAddons.ListAddons
-- | Disassociates an identity provider configuration from a cluster. If
-- you disassociate an identity provider from your cluster, users
-- included in the provider can no longer access the cluster. However,
-- you can still access the cluster with Amazon Web Services IAM users.
module Amazonka.EKS.DisassociateIdentityProviderConfig
-- | See: newDisassociateIdentityProviderConfig smart
-- constructor.
data DisassociateIdentityProviderConfig
DisassociateIdentityProviderConfig' :: Maybe Text -> Text -> IdentityProviderConfig -> DisassociateIdentityProviderConfig
-- | A unique, case-sensitive identifier that you provide to ensure the
-- idempotency of the request.
[$sel:clientRequestToken:DisassociateIdentityProviderConfig'] :: DisassociateIdentityProviderConfig -> Maybe Text
-- | The name of the cluster to disassociate an identity provider from.
[$sel:clusterName:DisassociateIdentityProviderConfig'] :: DisassociateIdentityProviderConfig -> Text
-- | An object representing an identity provider configuration.
[$sel:identityProviderConfig:DisassociateIdentityProviderConfig'] :: DisassociateIdentityProviderConfig -> IdentityProviderConfig
-- | Create a value of DisassociateIdentityProviderConfig with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DisassociateIdentityProviderConfig,
-- disassociateIdentityProviderConfig_clientRequestToken - A
-- unique, case-sensitive identifier that you provide to ensure the
-- idempotency of the request.
--
-- DisassociateIdentityProviderConfig,
-- disassociateIdentityProviderConfig_clusterName - The name of
-- the cluster to disassociate an identity provider from.
--
--
-- $sel:identityProviderConfig:DisassociateIdentityProviderConfig',
-- disassociateIdentityProviderConfig_identityProviderConfig - An
-- object representing an identity provider configuration.
newDisassociateIdentityProviderConfig :: Text -> IdentityProviderConfig -> DisassociateIdentityProviderConfig
-- | A unique, case-sensitive identifier that you provide to ensure the
-- idempotency of the request.
disassociateIdentityProviderConfig_clientRequestToken :: Lens' DisassociateIdentityProviderConfig (Maybe Text)
-- | The name of the cluster to disassociate an identity provider from.
disassociateIdentityProviderConfig_clusterName :: Lens' DisassociateIdentityProviderConfig Text
-- | An object representing an identity provider configuration.
disassociateIdentityProviderConfig_identityProviderConfig :: Lens' DisassociateIdentityProviderConfig IdentityProviderConfig
-- | See: newDisassociateIdentityProviderConfigResponse smart
-- constructor.
data DisassociateIdentityProviderConfigResponse
DisassociateIdentityProviderConfigResponse' :: Maybe Update -> Int -> DisassociateIdentityProviderConfigResponse
[$sel:update:DisassociateIdentityProviderConfigResponse'] :: DisassociateIdentityProviderConfigResponse -> Maybe Update
-- | The response's http status code.
[$sel:httpStatus:DisassociateIdentityProviderConfigResponse'] :: DisassociateIdentityProviderConfigResponse -> Int
-- | Create a value of DisassociateIdentityProviderConfigResponse
-- with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:update:DisassociateIdentityProviderConfigResponse',
-- disassociateIdentityProviderConfigResponse_update -
-- Undocumented member.
--
-- $sel:httpStatus:DisassociateIdentityProviderConfigResponse',
-- disassociateIdentityProviderConfigResponse_httpStatus - The
-- response's http status code.
newDisassociateIdentityProviderConfigResponse :: Int -> DisassociateIdentityProviderConfigResponse
-- | Undocumented member.
disassociateIdentityProviderConfigResponse_update :: Lens' DisassociateIdentityProviderConfigResponse (Maybe Update)
-- | The response's http status code.
disassociateIdentityProviderConfigResponse_httpStatus :: Lens' DisassociateIdentityProviderConfigResponse Int
instance GHC.Generics.Generic Amazonka.EKS.DisassociateIdentityProviderConfig.DisassociateIdentityProviderConfig
instance GHC.Show.Show Amazonka.EKS.DisassociateIdentityProviderConfig.DisassociateIdentityProviderConfig
instance GHC.Read.Read Amazonka.EKS.DisassociateIdentityProviderConfig.DisassociateIdentityProviderConfig
instance GHC.Classes.Eq Amazonka.EKS.DisassociateIdentityProviderConfig.DisassociateIdentityProviderConfig
instance GHC.Generics.Generic Amazonka.EKS.DisassociateIdentityProviderConfig.DisassociateIdentityProviderConfigResponse
instance GHC.Show.Show Amazonka.EKS.DisassociateIdentityProviderConfig.DisassociateIdentityProviderConfigResponse
instance GHC.Read.Read Amazonka.EKS.DisassociateIdentityProviderConfig.DisassociateIdentityProviderConfigResponse
instance GHC.Classes.Eq Amazonka.EKS.DisassociateIdentityProviderConfig.DisassociateIdentityProviderConfigResponse
instance Amazonka.Types.AWSRequest Amazonka.EKS.DisassociateIdentityProviderConfig.DisassociateIdentityProviderConfig
instance Control.DeepSeq.NFData Amazonka.EKS.DisassociateIdentityProviderConfig.DisassociateIdentityProviderConfigResponse
instance Data.Hashable.Class.Hashable Amazonka.EKS.DisassociateIdentityProviderConfig.DisassociateIdentityProviderConfig
instance Control.DeepSeq.NFData Amazonka.EKS.DisassociateIdentityProviderConfig.DisassociateIdentityProviderConfig
instance Amazonka.Data.Headers.ToHeaders Amazonka.EKS.DisassociateIdentityProviderConfig.DisassociateIdentityProviderConfig
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.EKS.DisassociateIdentityProviderConfig.DisassociateIdentityProviderConfig
instance Amazonka.Data.Path.ToPath Amazonka.EKS.DisassociateIdentityProviderConfig.DisassociateIdentityProviderConfig
instance Amazonka.Data.Query.ToQuery Amazonka.EKS.DisassociateIdentityProviderConfig.DisassociateIdentityProviderConfig
-- | Returns descriptive information about an update against your Amazon
-- EKS cluster or associated managed node group or Amazon EKS add-on.
--
-- When the status of the update is Succeeded, the update is
-- complete. If an update fails, the status is Failed, and an
-- error detail explains the reason for the failure.
module Amazonka.EKS.DescribeUpdate
-- | See: newDescribeUpdate smart constructor.
data DescribeUpdate
DescribeUpdate' :: Maybe Text -> Maybe Text -> Text -> Text -> DescribeUpdate
-- | The name of the add-on. The name must match one of the names returned
-- by ListAddons . This parameter is required if the update is an
-- add-on update.
[$sel:addonName:DescribeUpdate'] :: DescribeUpdate -> Maybe Text
-- | The name of the Amazon EKS node group associated with the update. This
-- parameter is required if the update is a node group update.
[$sel:nodegroupName:DescribeUpdate'] :: DescribeUpdate -> Maybe Text
-- | The name of the Amazon EKS cluster associated with the update.
[$sel:name:DescribeUpdate'] :: DescribeUpdate -> Text
-- | The ID of the update to describe.
[$sel:updateId:DescribeUpdate'] :: DescribeUpdate -> Text
-- | Create a value of DescribeUpdate with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DescribeUpdate, describeUpdate_addonName - The name of
-- the add-on. The name must match one of the names returned by
-- ListAddons . This parameter is required if the update is an
-- add-on update.
--
-- DescribeUpdate, describeUpdate_nodegroupName - The name
-- of the Amazon EKS node group associated with the update. This
-- parameter is required if the update is a node group update.
--
-- DescribeUpdate, describeUpdate_name - The name of the
-- Amazon EKS cluster associated with the update.
--
-- $sel:updateId:DescribeUpdate', describeUpdate_updateId -
-- The ID of the update to describe.
newDescribeUpdate :: Text -> Text -> DescribeUpdate
-- | The name of the add-on. The name must match one of the names returned
-- by ListAddons . This parameter is required if the update is an
-- add-on update.
describeUpdate_addonName :: Lens' DescribeUpdate (Maybe Text)
-- | The name of the Amazon EKS node group associated with the update. This
-- parameter is required if the update is a node group update.
describeUpdate_nodegroupName :: Lens' DescribeUpdate (Maybe Text)
-- | The name of the Amazon EKS cluster associated with the update.
describeUpdate_name :: Lens' DescribeUpdate Text
-- | The ID of the update to describe.
describeUpdate_updateId :: Lens' DescribeUpdate Text
-- | See: newDescribeUpdateResponse smart constructor.
data DescribeUpdateResponse
DescribeUpdateResponse' :: Maybe Update -> Int -> DescribeUpdateResponse
-- | The full description of the specified update.
[$sel:update:DescribeUpdateResponse'] :: DescribeUpdateResponse -> Maybe Update
-- | The response's http status code.
[$sel:httpStatus:DescribeUpdateResponse'] :: DescribeUpdateResponse -> Int
-- | Create a value of DescribeUpdateResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:update:DescribeUpdateResponse',
-- describeUpdateResponse_update - The full description of the
-- specified update.
--
-- $sel:httpStatus:DescribeUpdateResponse',
-- describeUpdateResponse_httpStatus - The response's http status
-- code.
newDescribeUpdateResponse :: Int -> DescribeUpdateResponse
-- | The full description of the specified update.
describeUpdateResponse_update :: Lens' DescribeUpdateResponse (Maybe Update)
-- | The response's http status code.
describeUpdateResponse_httpStatus :: Lens' DescribeUpdateResponse Int
instance GHC.Generics.Generic Amazonka.EKS.DescribeUpdate.DescribeUpdate
instance GHC.Show.Show Amazonka.EKS.DescribeUpdate.DescribeUpdate
instance GHC.Read.Read Amazonka.EKS.DescribeUpdate.DescribeUpdate
instance GHC.Classes.Eq Amazonka.EKS.DescribeUpdate.DescribeUpdate
instance GHC.Generics.Generic Amazonka.EKS.DescribeUpdate.DescribeUpdateResponse
instance GHC.Show.Show Amazonka.EKS.DescribeUpdate.DescribeUpdateResponse
instance GHC.Read.Read Amazonka.EKS.DescribeUpdate.DescribeUpdateResponse
instance GHC.Classes.Eq Amazonka.EKS.DescribeUpdate.DescribeUpdateResponse
instance Amazonka.Types.AWSRequest Amazonka.EKS.DescribeUpdate.DescribeUpdate
instance Control.DeepSeq.NFData Amazonka.EKS.DescribeUpdate.DescribeUpdateResponse
instance Data.Hashable.Class.Hashable Amazonka.EKS.DescribeUpdate.DescribeUpdate
instance Control.DeepSeq.NFData Amazonka.EKS.DescribeUpdate.DescribeUpdate
instance Amazonka.Data.Headers.ToHeaders Amazonka.EKS.DescribeUpdate.DescribeUpdate
instance Amazonka.Data.Path.ToPath Amazonka.EKS.DescribeUpdate.DescribeUpdate
instance Amazonka.Data.Query.ToQuery Amazonka.EKS.DescribeUpdate.DescribeUpdate
-- | Returns descriptive information about an Amazon EKS node group.
module Amazonka.EKS.DescribeNodegroup
-- | See: newDescribeNodegroup smart constructor.
data DescribeNodegroup
DescribeNodegroup' :: Text -> Text -> DescribeNodegroup
-- | The name of the Amazon EKS cluster associated with the node group.
[$sel:clusterName:DescribeNodegroup'] :: DescribeNodegroup -> Text
-- | The name of the node group to describe.
[$sel:nodegroupName:DescribeNodegroup'] :: DescribeNodegroup -> Text
-- | Create a value of DescribeNodegroup with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DescribeNodegroup, describeNodegroup_clusterName - The
-- name of the Amazon EKS cluster associated with the node group.
--
-- DescribeNodegroup, describeNodegroup_nodegroupName - The
-- name of the node group to describe.
newDescribeNodegroup :: Text -> Text -> DescribeNodegroup
-- | The name of the Amazon EKS cluster associated with the node group.
describeNodegroup_clusterName :: Lens' DescribeNodegroup Text
-- | The name of the node group to describe.
describeNodegroup_nodegroupName :: Lens' DescribeNodegroup Text
-- | See: newDescribeNodegroupResponse smart constructor.
data DescribeNodegroupResponse
DescribeNodegroupResponse' :: Maybe Nodegroup -> Int -> DescribeNodegroupResponse
-- | The full description of your node group.
[$sel:nodegroup:DescribeNodegroupResponse'] :: DescribeNodegroupResponse -> Maybe Nodegroup
-- | The response's http status code.
[$sel:httpStatus:DescribeNodegroupResponse'] :: DescribeNodegroupResponse -> Int
-- | Create a value of DescribeNodegroupResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:nodegroup:DescribeNodegroupResponse',
-- describeNodegroupResponse_nodegroup - The full description of
-- your node group.
--
-- $sel:httpStatus:DescribeNodegroupResponse',
-- describeNodegroupResponse_httpStatus - The response's http
-- status code.
newDescribeNodegroupResponse :: Int -> DescribeNodegroupResponse
-- | The full description of your node group.
describeNodegroupResponse_nodegroup :: Lens' DescribeNodegroupResponse (Maybe Nodegroup)
-- | The response's http status code.
describeNodegroupResponse_httpStatus :: Lens' DescribeNodegroupResponse Int
instance GHC.Generics.Generic Amazonka.EKS.DescribeNodegroup.DescribeNodegroup
instance GHC.Show.Show Amazonka.EKS.DescribeNodegroup.DescribeNodegroup
instance GHC.Read.Read Amazonka.EKS.DescribeNodegroup.DescribeNodegroup
instance GHC.Classes.Eq Amazonka.EKS.DescribeNodegroup.DescribeNodegroup
instance GHC.Generics.Generic Amazonka.EKS.DescribeNodegroup.DescribeNodegroupResponse
instance GHC.Show.Show Amazonka.EKS.DescribeNodegroup.DescribeNodegroupResponse
instance GHC.Read.Read Amazonka.EKS.DescribeNodegroup.DescribeNodegroupResponse
instance GHC.Classes.Eq Amazonka.EKS.DescribeNodegroup.DescribeNodegroupResponse
instance Amazonka.Types.AWSRequest Amazonka.EKS.DescribeNodegroup.DescribeNodegroup
instance Control.DeepSeq.NFData Amazonka.EKS.DescribeNodegroup.DescribeNodegroupResponse
instance Data.Hashable.Class.Hashable Amazonka.EKS.DescribeNodegroup.DescribeNodegroup
instance Control.DeepSeq.NFData Amazonka.EKS.DescribeNodegroup.DescribeNodegroup
instance Amazonka.Data.Headers.ToHeaders Amazonka.EKS.DescribeNodegroup.DescribeNodegroup
instance Amazonka.Data.Path.ToPath Amazonka.EKS.DescribeNodegroup.DescribeNodegroup
instance Amazonka.Data.Query.ToQuery Amazonka.EKS.DescribeNodegroup.DescribeNodegroup
-- | Returns descriptive information about an identity provider
-- configuration.
module Amazonka.EKS.DescribeIdentityProviderConfig
-- | See: newDescribeIdentityProviderConfig smart
-- constructor.
data DescribeIdentityProviderConfig
DescribeIdentityProviderConfig' :: Text -> IdentityProviderConfig -> DescribeIdentityProviderConfig
-- | The cluster name that the identity provider configuration is
-- associated to.
[$sel:clusterName:DescribeIdentityProviderConfig'] :: DescribeIdentityProviderConfig -> Text
-- | An object representing an identity provider configuration.
[$sel:identityProviderConfig:DescribeIdentityProviderConfig'] :: DescribeIdentityProviderConfig -> IdentityProviderConfig
-- | Create a value of DescribeIdentityProviderConfig with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DescribeIdentityProviderConfig,
-- describeIdentityProviderConfig_clusterName - The cluster name
-- that the identity provider configuration is associated to.
--
-- DescribeIdentityProviderConfig,
-- describeIdentityProviderConfig_identityProviderConfig - An
-- object representing an identity provider configuration.
newDescribeIdentityProviderConfig :: Text -> IdentityProviderConfig -> DescribeIdentityProviderConfig
-- | The cluster name that the identity provider configuration is
-- associated to.
describeIdentityProviderConfig_clusterName :: Lens' DescribeIdentityProviderConfig Text
-- | An object representing an identity provider configuration.
describeIdentityProviderConfig_identityProviderConfig :: Lens' DescribeIdentityProviderConfig IdentityProviderConfig
-- | See: newDescribeIdentityProviderConfigResponse smart
-- constructor.
data DescribeIdentityProviderConfigResponse
DescribeIdentityProviderConfigResponse' :: Maybe IdentityProviderConfigResponse -> Int -> DescribeIdentityProviderConfigResponse
-- | The object that represents an OpenID Connect (OIDC) identity provider
-- configuration.
[$sel:identityProviderConfig:DescribeIdentityProviderConfigResponse'] :: DescribeIdentityProviderConfigResponse -> Maybe IdentityProviderConfigResponse
-- | The response's http status code.
[$sel:httpStatus:DescribeIdentityProviderConfigResponse'] :: DescribeIdentityProviderConfigResponse -> Int
-- | Create a value of DescribeIdentityProviderConfigResponse with
-- all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DescribeIdentityProviderConfig,
-- describeIdentityProviderConfigResponse_identityProviderConfig -
-- The object that represents an OpenID Connect (OIDC) identity provider
-- configuration.
--
-- $sel:httpStatus:DescribeIdentityProviderConfigResponse',
-- describeIdentityProviderConfigResponse_httpStatus - The
-- response's http status code.
newDescribeIdentityProviderConfigResponse :: Int -> DescribeIdentityProviderConfigResponse
-- | The object that represents an OpenID Connect (OIDC) identity provider
-- configuration.
describeIdentityProviderConfigResponse_identityProviderConfig :: Lens' DescribeIdentityProviderConfigResponse (Maybe IdentityProviderConfigResponse)
-- | The response's http status code.
describeIdentityProviderConfigResponse_httpStatus :: Lens' DescribeIdentityProviderConfigResponse Int
instance GHC.Generics.Generic Amazonka.EKS.DescribeIdentityProviderConfig.DescribeIdentityProviderConfig
instance GHC.Show.Show Amazonka.EKS.DescribeIdentityProviderConfig.DescribeIdentityProviderConfig
instance GHC.Read.Read Amazonka.EKS.DescribeIdentityProviderConfig.DescribeIdentityProviderConfig
instance GHC.Classes.Eq Amazonka.EKS.DescribeIdentityProviderConfig.DescribeIdentityProviderConfig
instance GHC.Generics.Generic Amazonka.EKS.DescribeIdentityProviderConfig.DescribeIdentityProviderConfigResponse
instance GHC.Show.Show Amazonka.EKS.DescribeIdentityProviderConfig.DescribeIdentityProviderConfigResponse
instance GHC.Read.Read Amazonka.EKS.DescribeIdentityProviderConfig.DescribeIdentityProviderConfigResponse
instance GHC.Classes.Eq Amazonka.EKS.DescribeIdentityProviderConfig.DescribeIdentityProviderConfigResponse
instance Amazonka.Types.AWSRequest Amazonka.EKS.DescribeIdentityProviderConfig.DescribeIdentityProviderConfig
instance Control.DeepSeq.NFData Amazonka.EKS.DescribeIdentityProviderConfig.DescribeIdentityProviderConfigResponse
instance Data.Hashable.Class.Hashable Amazonka.EKS.DescribeIdentityProviderConfig.DescribeIdentityProviderConfig
instance Control.DeepSeq.NFData Amazonka.EKS.DescribeIdentityProviderConfig.DescribeIdentityProviderConfig
instance Amazonka.Data.Headers.ToHeaders Amazonka.EKS.DescribeIdentityProviderConfig.DescribeIdentityProviderConfig
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.EKS.DescribeIdentityProviderConfig.DescribeIdentityProviderConfig
instance Amazonka.Data.Path.ToPath Amazonka.EKS.DescribeIdentityProviderConfig.DescribeIdentityProviderConfig
instance Amazonka.Data.Query.ToQuery Amazonka.EKS.DescribeIdentityProviderConfig.DescribeIdentityProviderConfig
-- | Returns descriptive information about an Fargate profile.
module Amazonka.EKS.DescribeFargateProfile
-- | See: newDescribeFargateProfile smart constructor.
data DescribeFargateProfile
DescribeFargateProfile' :: Text -> Text -> DescribeFargateProfile
-- | The name of the Amazon EKS cluster associated with the Fargate
-- profile.
[$sel:clusterName:DescribeFargateProfile'] :: DescribeFargateProfile -> Text
-- | The name of the Fargate profile to describe.
[$sel:fargateProfileName:DescribeFargateProfile'] :: DescribeFargateProfile -> Text
-- | Create a value of DescribeFargateProfile with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DescribeFargateProfile,
-- describeFargateProfile_clusterName - The name of the Amazon EKS
-- cluster associated with the Fargate profile.
--
-- DescribeFargateProfile,
-- describeFargateProfile_fargateProfileName - The name of the
-- Fargate profile to describe.
newDescribeFargateProfile :: Text -> Text -> DescribeFargateProfile
-- | The name of the Amazon EKS cluster associated with the Fargate
-- profile.
describeFargateProfile_clusterName :: Lens' DescribeFargateProfile Text
-- | The name of the Fargate profile to describe.
describeFargateProfile_fargateProfileName :: Lens' DescribeFargateProfile Text
-- | See: newDescribeFargateProfileResponse smart
-- constructor.
data DescribeFargateProfileResponse
DescribeFargateProfileResponse' :: Maybe FargateProfile -> Int -> DescribeFargateProfileResponse
-- | The full description of your Fargate profile.
[$sel:fargateProfile:DescribeFargateProfileResponse'] :: DescribeFargateProfileResponse -> Maybe FargateProfile
-- | The response's http status code.
[$sel:httpStatus:DescribeFargateProfileResponse'] :: DescribeFargateProfileResponse -> Int
-- | Create a value of DescribeFargateProfileResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:fargateProfile:DescribeFargateProfileResponse',
-- describeFargateProfileResponse_fargateProfile - The full
-- description of your Fargate profile.
--
-- $sel:httpStatus:DescribeFargateProfileResponse',
-- describeFargateProfileResponse_httpStatus - The response's http
-- status code.
newDescribeFargateProfileResponse :: Int -> DescribeFargateProfileResponse
-- | The full description of your Fargate profile.
describeFargateProfileResponse_fargateProfile :: Lens' DescribeFargateProfileResponse (Maybe FargateProfile)
-- | The response's http status code.
describeFargateProfileResponse_httpStatus :: Lens' DescribeFargateProfileResponse Int
instance GHC.Generics.Generic Amazonka.EKS.DescribeFargateProfile.DescribeFargateProfile
instance GHC.Show.Show Amazonka.EKS.DescribeFargateProfile.DescribeFargateProfile
instance GHC.Read.Read Amazonka.EKS.DescribeFargateProfile.DescribeFargateProfile
instance GHC.Classes.Eq Amazonka.EKS.DescribeFargateProfile.DescribeFargateProfile
instance GHC.Generics.Generic Amazonka.EKS.DescribeFargateProfile.DescribeFargateProfileResponse
instance GHC.Show.Show Amazonka.EKS.DescribeFargateProfile.DescribeFargateProfileResponse
instance GHC.Read.Read Amazonka.EKS.DescribeFargateProfile.DescribeFargateProfileResponse
instance GHC.Classes.Eq Amazonka.EKS.DescribeFargateProfile.DescribeFargateProfileResponse
instance Amazonka.Types.AWSRequest Amazonka.EKS.DescribeFargateProfile.DescribeFargateProfile
instance Control.DeepSeq.NFData Amazonka.EKS.DescribeFargateProfile.DescribeFargateProfileResponse
instance Data.Hashable.Class.Hashable Amazonka.EKS.DescribeFargateProfile.DescribeFargateProfile
instance Control.DeepSeq.NFData Amazonka.EKS.DescribeFargateProfile.DescribeFargateProfile
instance Amazonka.Data.Headers.ToHeaders Amazonka.EKS.DescribeFargateProfile.DescribeFargateProfile
instance Amazonka.Data.Path.ToPath Amazonka.EKS.DescribeFargateProfile.DescribeFargateProfile
instance Amazonka.Data.Query.ToQuery Amazonka.EKS.DescribeFargateProfile.DescribeFargateProfile
-- | Returns descriptive information about an Amazon EKS cluster.
--
-- The API server endpoint and certificate authority data returned by
-- this operation are required for kubelet and kubectl
-- to communicate with your Kubernetes API server. For more information,
-- see Create a kubeconfig for Amazon EKS.
--
-- The API server endpoint and certificate authority data aren't
-- available until the cluster reaches the ACTIVE state.
module Amazonka.EKS.DescribeCluster
-- | See: newDescribeCluster smart constructor.
data DescribeCluster
DescribeCluster' :: Text -> DescribeCluster
-- | The name of the cluster to describe.
[$sel:name:DescribeCluster'] :: DescribeCluster -> Text
-- | Create a value of DescribeCluster with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DescribeCluster, describeCluster_name - The name of the
-- cluster to describe.
newDescribeCluster :: Text -> DescribeCluster
-- | The name of the cluster to describe.
describeCluster_name :: Lens' DescribeCluster Text
-- | See: newDescribeClusterResponse smart constructor.
data DescribeClusterResponse
DescribeClusterResponse' :: Maybe Cluster -> Int -> DescribeClusterResponse
-- | The full description of your specified cluster.
[$sel:cluster:DescribeClusterResponse'] :: DescribeClusterResponse -> Maybe Cluster
-- | The response's http status code.
[$sel:httpStatus:DescribeClusterResponse'] :: DescribeClusterResponse -> Int
-- | Create a value of DescribeClusterResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:cluster:DescribeClusterResponse',
-- describeClusterResponse_cluster - The full description of your
-- specified cluster.
--
-- $sel:httpStatus:DescribeClusterResponse',
-- describeClusterResponse_httpStatus - The response's http status
-- code.
newDescribeClusterResponse :: Int -> DescribeClusterResponse
-- | The full description of your specified cluster.
describeClusterResponse_cluster :: Lens' DescribeClusterResponse (Maybe Cluster)
-- | The response's http status code.
describeClusterResponse_httpStatus :: Lens' DescribeClusterResponse Int
instance GHC.Generics.Generic Amazonka.EKS.DescribeCluster.DescribeCluster
instance GHC.Show.Show Amazonka.EKS.DescribeCluster.DescribeCluster
instance GHC.Read.Read Amazonka.EKS.DescribeCluster.DescribeCluster
instance GHC.Classes.Eq Amazonka.EKS.DescribeCluster.DescribeCluster
instance GHC.Generics.Generic Amazonka.EKS.DescribeCluster.DescribeClusterResponse
instance GHC.Show.Show Amazonka.EKS.DescribeCluster.DescribeClusterResponse
instance GHC.Read.Read Amazonka.EKS.DescribeCluster.DescribeClusterResponse
instance GHC.Classes.Eq Amazonka.EKS.DescribeCluster.DescribeClusterResponse
instance Amazonka.Types.AWSRequest Amazonka.EKS.DescribeCluster.DescribeCluster
instance Control.DeepSeq.NFData Amazonka.EKS.DescribeCluster.DescribeClusterResponse
instance Data.Hashable.Class.Hashable Amazonka.EKS.DescribeCluster.DescribeCluster
instance Control.DeepSeq.NFData Amazonka.EKS.DescribeCluster.DescribeCluster
instance Amazonka.Data.Headers.ToHeaders Amazonka.EKS.DescribeCluster.DescribeCluster
instance Amazonka.Data.Path.ToPath Amazonka.EKS.DescribeCluster.DescribeCluster
instance Amazonka.Data.Query.ToQuery Amazonka.EKS.DescribeCluster.DescribeCluster
-- | Describes the versions for an add-on. Information such as the
-- Kubernetes versions that you can use the add-on with, the
-- owner, publisher, and the type of the
-- add-on are returned.
--
-- This operation returns paginated results.
module Amazonka.EKS.DescribeAddonVersions
-- | See: newDescribeAddonVersions smart constructor.
data DescribeAddonVersions
DescribeAddonVersions' :: Maybe Text -> Maybe Text -> Maybe Natural -> Maybe Text -> Maybe [Text] -> Maybe [Text] -> Maybe [Text] -> DescribeAddonVersions
-- | The name of the add-on. The name must match one of the names returned
-- by ListAddons .
[$sel:addonName:DescribeAddonVersions'] :: DescribeAddonVersions -> Maybe Text
-- | The Kubernetes versions that you can use the add-on with.
[$sel:kubernetesVersion:DescribeAddonVersions'] :: DescribeAddonVersions -> Maybe Text
-- | The maximum number of results to return.
[$sel:maxResults:DescribeAddonVersions'] :: DescribeAddonVersions -> Maybe Natural
-- | The nextToken value returned from a previous paginated
-- DescribeAddonVersionsRequest where maxResults was
-- used and the results exceeded the value of that parameter. Pagination
-- continues from the end of the previous results that returned the
-- nextToken value.
--
-- This token should be treated as an opaque identifier that is used only
-- to retrieve the next items in a list and not for other programmatic
-- purposes.
[$sel:nextToken:DescribeAddonVersions'] :: DescribeAddonVersions -> Maybe Text
-- | The owner of the add-on. For valid owners, don't specify a
-- value for this property.
[$sel:owners:DescribeAddonVersions'] :: DescribeAddonVersions -> Maybe [Text]
-- | The publisher of the add-on. For valid publishers, don't
-- specify a value for this property.
[$sel:publishers:DescribeAddonVersions'] :: DescribeAddonVersions -> Maybe [Text]
-- | The type of the add-on. For valid types, don't specify a
-- value for this property.
[$sel:types:DescribeAddonVersions'] :: DescribeAddonVersions -> Maybe [Text]
-- | Create a value of DescribeAddonVersions with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DescribeAddonVersions, describeAddonVersions_addonName -
-- The name of the add-on. The name must match one of the names returned
-- by ListAddons .
--
-- $sel:kubernetesVersion:DescribeAddonVersions',
-- describeAddonVersions_kubernetesVersion - The Kubernetes
-- versions that you can use the add-on with.
--
-- $sel:maxResults:DescribeAddonVersions',
-- describeAddonVersions_maxResults - The maximum number of
-- results to return.
--
-- DescribeAddonVersions, describeAddonVersions_nextToken -
-- The nextToken value returned from a previous paginated
-- DescribeAddonVersionsRequest where maxResults was
-- used and the results exceeded the value of that parameter. Pagination
-- continues from the end of the previous results that returned the
-- nextToken value.
--
-- This token should be treated as an opaque identifier that is used only
-- to retrieve the next items in a list and not for other programmatic
-- purposes.
--
-- $sel:owners:DescribeAddonVersions',
-- describeAddonVersions_owners - The owner of the add-on. For
-- valid owners, don't specify a value for this property.
--
-- $sel:publishers:DescribeAddonVersions',
-- describeAddonVersions_publishers - The publisher of the add-on.
-- For valid publishers, don't specify a value for this
-- property.
--
-- DescribeAddonVersions, describeAddonVersions_types - The
-- type of the add-on. For valid types, don't specify a value
-- for this property.
newDescribeAddonVersions :: DescribeAddonVersions
-- | The name of the add-on. The name must match one of the names returned
-- by ListAddons .
describeAddonVersions_addonName :: Lens' DescribeAddonVersions (Maybe Text)
-- | The Kubernetes versions that you can use the add-on with.
describeAddonVersions_kubernetesVersion :: Lens' DescribeAddonVersions (Maybe Text)
-- | The maximum number of results to return.
describeAddonVersions_maxResults :: Lens' DescribeAddonVersions (Maybe Natural)
-- | The nextToken value returned from a previous paginated
-- DescribeAddonVersionsRequest where maxResults was
-- used and the results exceeded the value of that parameter. Pagination
-- continues from the end of the previous results that returned the
-- nextToken value.
--
-- This token should be treated as an opaque identifier that is used only
-- to retrieve the next items in a list and not for other programmatic
-- purposes.
describeAddonVersions_nextToken :: Lens' DescribeAddonVersions (Maybe Text)
-- | The owner of the add-on. For valid owners, don't specify a
-- value for this property.
describeAddonVersions_owners :: Lens' DescribeAddonVersions (Maybe [Text])
-- | The publisher of the add-on. For valid publishers, don't
-- specify a value for this property.
describeAddonVersions_publishers :: Lens' DescribeAddonVersions (Maybe [Text])
-- | The type of the add-on. For valid types, don't specify a
-- value for this property.
describeAddonVersions_types :: Lens' DescribeAddonVersions (Maybe [Text])
-- | See: newDescribeAddonVersionsResponse smart constructor.
data DescribeAddonVersionsResponse
DescribeAddonVersionsResponse' :: Maybe [AddonInfo] -> Maybe Text -> Int -> DescribeAddonVersionsResponse
-- | The list of available versions with Kubernetes version compatibility
-- and other properties.
[$sel:addons:DescribeAddonVersionsResponse'] :: DescribeAddonVersionsResponse -> Maybe [AddonInfo]
-- | The nextToken value returned from a previous paginated
-- DescribeAddonVersionsResponse where maxResults was
-- used and the results exceeded the value of that parameter. Pagination
-- continues from the end of the previous results that returned the
-- nextToken value.
--
-- This token should be treated as an opaque identifier that is used only
-- to retrieve the next items in a list and not for other programmatic
-- purposes.
[$sel:nextToken:DescribeAddonVersionsResponse'] :: DescribeAddonVersionsResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:DescribeAddonVersionsResponse'] :: DescribeAddonVersionsResponse -> Int
-- | Create a value of DescribeAddonVersionsResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:addons:DescribeAddonVersionsResponse',
-- describeAddonVersionsResponse_addons - The list of available
-- versions with Kubernetes version compatibility and other properties.
--
-- DescribeAddonVersions,
-- describeAddonVersionsResponse_nextToken - The
-- nextToken value returned from a previous paginated
-- DescribeAddonVersionsResponse where maxResults was
-- used and the results exceeded the value of that parameter. Pagination
-- continues from the end of the previous results that returned the
-- nextToken value.
--
-- This token should be treated as an opaque identifier that is used only
-- to retrieve the next items in a list and not for other programmatic
-- purposes.
--
-- $sel:httpStatus:DescribeAddonVersionsResponse',
-- describeAddonVersionsResponse_httpStatus - The response's http
-- status code.
newDescribeAddonVersionsResponse :: Int -> DescribeAddonVersionsResponse
-- | The list of available versions with Kubernetes version compatibility
-- and other properties.
describeAddonVersionsResponse_addons :: Lens' DescribeAddonVersionsResponse (Maybe [AddonInfo])
-- | The nextToken value returned from a previous paginated
-- DescribeAddonVersionsResponse where maxResults was
-- used and the results exceeded the value of that parameter. Pagination
-- continues from the end of the previous results that returned the
-- nextToken value.
--
-- This token should be treated as an opaque identifier that is used only
-- to retrieve the next items in a list and not for other programmatic
-- purposes.
describeAddonVersionsResponse_nextToken :: Lens' DescribeAddonVersionsResponse (Maybe Text)
-- | The response's http status code.
describeAddonVersionsResponse_httpStatus :: Lens' DescribeAddonVersionsResponse Int
instance GHC.Generics.Generic Amazonka.EKS.DescribeAddonVersions.DescribeAddonVersions
instance GHC.Show.Show Amazonka.EKS.DescribeAddonVersions.DescribeAddonVersions
instance GHC.Read.Read Amazonka.EKS.DescribeAddonVersions.DescribeAddonVersions
instance GHC.Classes.Eq Amazonka.EKS.DescribeAddonVersions.DescribeAddonVersions
instance GHC.Generics.Generic Amazonka.EKS.DescribeAddonVersions.DescribeAddonVersionsResponse
instance GHC.Show.Show Amazonka.EKS.DescribeAddonVersions.DescribeAddonVersionsResponse
instance GHC.Read.Read Amazonka.EKS.DescribeAddonVersions.DescribeAddonVersionsResponse
instance GHC.Classes.Eq Amazonka.EKS.DescribeAddonVersions.DescribeAddonVersionsResponse
instance Amazonka.Types.AWSRequest Amazonka.EKS.DescribeAddonVersions.DescribeAddonVersions
instance Control.DeepSeq.NFData Amazonka.EKS.DescribeAddonVersions.DescribeAddonVersionsResponse
instance Amazonka.Pager.AWSPager Amazonka.EKS.DescribeAddonVersions.DescribeAddonVersions
instance Data.Hashable.Class.Hashable Amazonka.EKS.DescribeAddonVersions.DescribeAddonVersions
instance Control.DeepSeq.NFData Amazonka.EKS.DescribeAddonVersions.DescribeAddonVersions
instance Amazonka.Data.Headers.ToHeaders Amazonka.EKS.DescribeAddonVersions.DescribeAddonVersions
instance Amazonka.Data.Path.ToPath Amazonka.EKS.DescribeAddonVersions.DescribeAddonVersions
instance Amazonka.Data.Query.ToQuery Amazonka.EKS.DescribeAddonVersions.DescribeAddonVersions
-- | Returns configuration options.
module Amazonka.EKS.DescribeAddonConfiguration
-- | See: newDescribeAddonConfiguration smart constructor.
data DescribeAddonConfiguration
DescribeAddonConfiguration' :: Text -> Text -> DescribeAddonConfiguration
-- | The name of the add-on. The name must match one of the names that
-- DescribeAddonVersions returns.
[$sel:addonName:DescribeAddonConfiguration'] :: DescribeAddonConfiguration -> Text
-- | The version of the add-on. The version must match one of the versions
-- returned by DescribeAddonVersions .
[$sel:addonVersion:DescribeAddonConfiguration'] :: DescribeAddonConfiguration -> Text
-- | Create a value of DescribeAddonConfiguration with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DescribeAddonConfiguration,
-- describeAddonConfiguration_addonName - The name of the add-on.
-- The name must match one of the names that DescribeAddonVersions
-- returns.
--
-- DescribeAddonConfiguration,
-- describeAddonConfiguration_addonVersion - The version of the
-- add-on. The version must match one of the versions returned by
-- DescribeAddonVersions .
newDescribeAddonConfiguration :: Text -> Text -> DescribeAddonConfiguration
-- | The name of the add-on. The name must match one of the names that
-- DescribeAddonVersions returns.
describeAddonConfiguration_addonName :: Lens' DescribeAddonConfiguration Text
-- | The version of the add-on. The version must match one of the versions
-- returned by DescribeAddonVersions .
describeAddonConfiguration_addonVersion :: Lens' DescribeAddonConfiguration Text
-- | See: newDescribeAddonConfigurationResponse smart
-- constructor.
data DescribeAddonConfigurationResponse
DescribeAddonConfigurationResponse' :: Maybe Text -> Maybe Text -> Maybe Text -> Int -> DescribeAddonConfigurationResponse
-- | The name of the add-on.
[$sel:addonName:DescribeAddonConfigurationResponse'] :: DescribeAddonConfigurationResponse -> Maybe Text
-- | The version of the add-on. The version must match one of the versions
-- returned by DescribeAddonVersions .
[$sel:addonVersion:DescribeAddonConfigurationResponse'] :: DescribeAddonConfigurationResponse -> Maybe Text
-- | A JSON schema that's used to validate the configuration values that
-- you provide when an addon is created or updated.
[$sel:configurationSchema:DescribeAddonConfigurationResponse'] :: DescribeAddonConfigurationResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:DescribeAddonConfigurationResponse'] :: DescribeAddonConfigurationResponse -> Int
-- | Create a value of DescribeAddonConfigurationResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DescribeAddonConfiguration,
-- describeAddonConfigurationResponse_addonName - The name of the
-- add-on.
--
-- DescribeAddonConfiguration,
-- describeAddonConfigurationResponse_addonVersion - The version
-- of the add-on. The version must match one of the versions returned by
-- DescribeAddonVersions .
--
-- $sel:configurationSchema:DescribeAddonConfigurationResponse',
-- describeAddonConfigurationResponse_configurationSchema - A JSON
-- schema that's used to validate the configuration values that you
-- provide when an addon is created or updated.
--
-- $sel:httpStatus:DescribeAddonConfigurationResponse',
-- describeAddonConfigurationResponse_httpStatus - The response's
-- http status code.
newDescribeAddonConfigurationResponse :: Int -> DescribeAddonConfigurationResponse
-- | The name of the add-on.
describeAddonConfigurationResponse_addonName :: Lens' DescribeAddonConfigurationResponse (Maybe Text)
-- | The version of the add-on. The version must match one of the versions
-- returned by DescribeAddonVersions .
describeAddonConfigurationResponse_addonVersion :: Lens' DescribeAddonConfigurationResponse (Maybe Text)
-- | A JSON schema that's used to validate the configuration values that
-- you provide when an addon is created or updated.
describeAddonConfigurationResponse_configurationSchema :: Lens' DescribeAddonConfigurationResponse (Maybe Text)
-- | The response's http status code.
describeAddonConfigurationResponse_httpStatus :: Lens' DescribeAddonConfigurationResponse Int
instance GHC.Generics.Generic Amazonka.EKS.DescribeAddonConfiguration.DescribeAddonConfiguration
instance GHC.Show.Show Amazonka.EKS.DescribeAddonConfiguration.DescribeAddonConfiguration
instance GHC.Read.Read Amazonka.EKS.DescribeAddonConfiguration.DescribeAddonConfiguration
instance GHC.Classes.Eq Amazonka.EKS.DescribeAddonConfiguration.DescribeAddonConfiguration
instance GHC.Generics.Generic Amazonka.EKS.DescribeAddonConfiguration.DescribeAddonConfigurationResponse
instance GHC.Show.Show Amazonka.EKS.DescribeAddonConfiguration.DescribeAddonConfigurationResponse
instance GHC.Read.Read Amazonka.EKS.DescribeAddonConfiguration.DescribeAddonConfigurationResponse
instance GHC.Classes.Eq Amazonka.EKS.DescribeAddonConfiguration.DescribeAddonConfigurationResponse
instance Amazonka.Types.AWSRequest Amazonka.EKS.DescribeAddonConfiguration.DescribeAddonConfiguration
instance Control.DeepSeq.NFData Amazonka.EKS.DescribeAddonConfiguration.DescribeAddonConfigurationResponse
instance Data.Hashable.Class.Hashable Amazonka.EKS.DescribeAddonConfiguration.DescribeAddonConfiguration
instance Control.DeepSeq.NFData Amazonka.EKS.DescribeAddonConfiguration.DescribeAddonConfiguration
instance Amazonka.Data.Headers.ToHeaders Amazonka.EKS.DescribeAddonConfiguration.DescribeAddonConfiguration
instance Amazonka.Data.Path.ToPath Amazonka.EKS.DescribeAddonConfiguration.DescribeAddonConfiguration
instance Amazonka.Data.Query.ToQuery Amazonka.EKS.DescribeAddonConfiguration.DescribeAddonConfiguration
-- | Describes an Amazon EKS add-on.
module Amazonka.EKS.DescribeAddon
-- | See: newDescribeAddon smart constructor.
data DescribeAddon
DescribeAddon' :: Text -> Text -> DescribeAddon
-- | The name of the cluster.
[$sel:clusterName:DescribeAddon'] :: DescribeAddon -> Text
-- | The name of the add-on. The name must match one of the names returned
-- by ListAddons .
[$sel:addonName:DescribeAddon'] :: DescribeAddon -> Text
-- | Create a value of DescribeAddon with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DescribeAddon, describeAddon_clusterName - The name of
-- the cluster.
--
-- DescribeAddon, describeAddon_addonName - The name of the
-- add-on. The name must match one of the names returned by
-- ListAddons .
newDescribeAddon :: Text -> Text -> DescribeAddon
-- | The name of the cluster.
describeAddon_clusterName :: Lens' DescribeAddon Text
-- | The name of the add-on. The name must match one of the names returned
-- by ListAddons .
describeAddon_addonName :: Lens' DescribeAddon Text
-- | See: newDescribeAddonResponse smart constructor.
data DescribeAddonResponse
DescribeAddonResponse' :: Maybe Addon -> Int -> DescribeAddonResponse
[$sel:addon:DescribeAddonResponse'] :: DescribeAddonResponse -> Maybe Addon
-- | The response's http status code.
[$sel:httpStatus:DescribeAddonResponse'] :: DescribeAddonResponse -> Int
-- | Create a value of DescribeAddonResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:addon:DescribeAddonResponse',
-- describeAddonResponse_addon - Undocumented member.
--
-- $sel:httpStatus:DescribeAddonResponse',
-- describeAddonResponse_httpStatus - The response's http status
-- code.
newDescribeAddonResponse :: Int -> DescribeAddonResponse
-- | Undocumented member.
describeAddonResponse_addon :: Lens' DescribeAddonResponse (Maybe Addon)
-- | The response's http status code.
describeAddonResponse_httpStatus :: Lens' DescribeAddonResponse Int
instance GHC.Generics.Generic Amazonka.EKS.DescribeAddon.DescribeAddon
instance GHC.Show.Show Amazonka.EKS.DescribeAddon.DescribeAddon
instance GHC.Read.Read Amazonka.EKS.DescribeAddon.DescribeAddon
instance GHC.Classes.Eq Amazonka.EKS.DescribeAddon.DescribeAddon
instance GHC.Generics.Generic Amazonka.EKS.DescribeAddon.DescribeAddonResponse
instance GHC.Show.Show Amazonka.EKS.DescribeAddon.DescribeAddonResponse
instance GHC.Read.Read Amazonka.EKS.DescribeAddon.DescribeAddonResponse
instance GHC.Classes.Eq Amazonka.EKS.DescribeAddon.DescribeAddonResponse
instance Amazonka.Types.AWSRequest Amazonka.EKS.DescribeAddon.DescribeAddon
instance Control.DeepSeq.NFData Amazonka.EKS.DescribeAddon.DescribeAddonResponse
instance Data.Hashable.Class.Hashable Amazonka.EKS.DescribeAddon.DescribeAddon
instance Control.DeepSeq.NFData Amazonka.EKS.DescribeAddon.DescribeAddon
instance Amazonka.Data.Headers.ToHeaders Amazonka.EKS.DescribeAddon.DescribeAddon
instance Amazonka.Data.Path.ToPath Amazonka.EKS.DescribeAddon.DescribeAddon
instance Amazonka.Data.Query.ToQuery Amazonka.EKS.DescribeAddon.DescribeAddon
-- | Deregisters a connected cluster to remove it from the Amazon EKS
-- control plane.
module Amazonka.EKS.DeregisterCluster
-- | See: newDeregisterCluster smart constructor.
data DeregisterCluster
DeregisterCluster' :: Text -> DeregisterCluster
-- | The name of the connected cluster to deregister.
[$sel:name:DeregisterCluster'] :: DeregisterCluster -> Text
-- | Create a value of DeregisterCluster with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DeregisterCluster, deregisterCluster_name - The name of
-- the connected cluster to deregister.
newDeregisterCluster :: Text -> DeregisterCluster
-- | The name of the connected cluster to deregister.
deregisterCluster_name :: Lens' DeregisterCluster Text
-- | See: newDeregisterClusterResponse smart constructor.
data DeregisterClusterResponse
DeregisterClusterResponse' :: Maybe Cluster -> Int -> DeregisterClusterResponse
[$sel:cluster:DeregisterClusterResponse'] :: DeregisterClusterResponse -> Maybe Cluster
-- | The response's http status code.
[$sel:httpStatus:DeregisterClusterResponse'] :: DeregisterClusterResponse -> Int
-- | Create a value of DeregisterClusterResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:cluster:DeregisterClusterResponse',
-- deregisterClusterResponse_cluster - Undocumented member.
--
-- $sel:httpStatus:DeregisterClusterResponse',
-- deregisterClusterResponse_httpStatus - The response's http
-- status code.
newDeregisterClusterResponse :: Int -> DeregisterClusterResponse
-- | Undocumented member.
deregisterClusterResponse_cluster :: Lens' DeregisterClusterResponse (Maybe Cluster)
-- | The response's http status code.
deregisterClusterResponse_httpStatus :: Lens' DeregisterClusterResponse Int
instance GHC.Generics.Generic Amazonka.EKS.DeregisterCluster.DeregisterCluster
instance GHC.Show.Show Amazonka.EKS.DeregisterCluster.DeregisterCluster
instance GHC.Read.Read Amazonka.EKS.DeregisterCluster.DeregisterCluster
instance GHC.Classes.Eq Amazonka.EKS.DeregisterCluster.DeregisterCluster
instance GHC.Generics.Generic Amazonka.EKS.DeregisterCluster.DeregisterClusterResponse
instance GHC.Show.Show Amazonka.EKS.DeregisterCluster.DeregisterClusterResponse
instance GHC.Read.Read Amazonka.EKS.DeregisterCluster.DeregisterClusterResponse
instance GHC.Classes.Eq Amazonka.EKS.DeregisterCluster.DeregisterClusterResponse
instance Amazonka.Types.AWSRequest Amazonka.EKS.DeregisterCluster.DeregisterCluster
instance Control.DeepSeq.NFData Amazonka.EKS.DeregisterCluster.DeregisterClusterResponse
instance Data.Hashable.Class.Hashable Amazonka.EKS.DeregisterCluster.DeregisterCluster
instance Control.DeepSeq.NFData Amazonka.EKS.DeregisterCluster.DeregisterCluster
instance Amazonka.Data.Headers.ToHeaders Amazonka.EKS.DeregisterCluster.DeregisterCluster
instance Amazonka.Data.Path.ToPath Amazonka.EKS.DeregisterCluster.DeregisterCluster
instance Amazonka.Data.Query.ToQuery Amazonka.EKS.DeregisterCluster.DeregisterCluster
-- | Deletes an Amazon EKS node group for a cluster.
module Amazonka.EKS.DeleteNodegroup
-- | See: newDeleteNodegroup smart constructor.
data DeleteNodegroup
DeleteNodegroup' :: Text -> Text -> DeleteNodegroup
-- | The name of the Amazon EKS cluster that is associated with your node
-- group.
[$sel:clusterName:DeleteNodegroup'] :: DeleteNodegroup -> Text
-- | The name of the node group to delete.
[$sel:nodegroupName:DeleteNodegroup'] :: DeleteNodegroup -> Text
-- | Create a value of DeleteNodegroup with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DeleteNodegroup, deleteNodegroup_clusterName - The name
-- of the Amazon EKS cluster that is associated with your node group.
--
-- DeleteNodegroup, deleteNodegroup_nodegroupName - The
-- name of the node group to delete.
newDeleteNodegroup :: Text -> Text -> DeleteNodegroup
-- | The name of the Amazon EKS cluster that is associated with your node
-- group.
deleteNodegroup_clusterName :: Lens' DeleteNodegroup Text
-- | The name of the node group to delete.
deleteNodegroup_nodegroupName :: Lens' DeleteNodegroup Text
-- | See: newDeleteNodegroupResponse smart constructor.
data DeleteNodegroupResponse
DeleteNodegroupResponse' :: Maybe Nodegroup -> Int -> DeleteNodegroupResponse
-- | The full description of your deleted node group.
[$sel:nodegroup:DeleteNodegroupResponse'] :: DeleteNodegroupResponse -> Maybe Nodegroup
-- | The response's http status code.
[$sel:httpStatus:DeleteNodegroupResponse'] :: DeleteNodegroupResponse -> Int
-- | Create a value of DeleteNodegroupResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:nodegroup:DeleteNodegroupResponse',
-- deleteNodegroupResponse_nodegroup - The full description of
-- your deleted node group.
--
-- $sel:httpStatus:DeleteNodegroupResponse',
-- deleteNodegroupResponse_httpStatus - The response's http status
-- code.
newDeleteNodegroupResponse :: Int -> DeleteNodegroupResponse
-- | The full description of your deleted node group.
deleteNodegroupResponse_nodegroup :: Lens' DeleteNodegroupResponse (Maybe Nodegroup)
-- | The response's http status code.
deleteNodegroupResponse_httpStatus :: Lens' DeleteNodegroupResponse Int
instance GHC.Generics.Generic Amazonka.EKS.DeleteNodegroup.DeleteNodegroup
instance GHC.Show.Show Amazonka.EKS.DeleteNodegroup.DeleteNodegroup
instance GHC.Read.Read Amazonka.EKS.DeleteNodegroup.DeleteNodegroup
instance GHC.Classes.Eq Amazonka.EKS.DeleteNodegroup.DeleteNodegroup
instance GHC.Generics.Generic Amazonka.EKS.DeleteNodegroup.DeleteNodegroupResponse
instance GHC.Show.Show Amazonka.EKS.DeleteNodegroup.DeleteNodegroupResponse
instance GHC.Read.Read Amazonka.EKS.DeleteNodegroup.DeleteNodegroupResponse
instance GHC.Classes.Eq Amazonka.EKS.DeleteNodegroup.DeleteNodegroupResponse
instance Amazonka.Types.AWSRequest Amazonka.EKS.DeleteNodegroup.DeleteNodegroup
instance Control.DeepSeq.NFData Amazonka.EKS.DeleteNodegroup.DeleteNodegroupResponse
instance Data.Hashable.Class.Hashable Amazonka.EKS.DeleteNodegroup.DeleteNodegroup
instance Control.DeepSeq.NFData Amazonka.EKS.DeleteNodegroup.DeleteNodegroup
instance Amazonka.Data.Headers.ToHeaders Amazonka.EKS.DeleteNodegroup.DeleteNodegroup
instance Amazonka.Data.Path.ToPath Amazonka.EKS.DeleteNodegroup.DeleteNodegroup
instance Amazonka.Data.Query.ToQuery Amazonka.EKS.DeleteNodegroup.DeleteNodegroup
-- | Deletes an Fargate profile.
--
-- When you delete a Fargate profile, any pods running on Fargate that
-- were created with the profile are deleted. If those pods match another
-- Fargate profile, then they are scheduled on Fargate with that profile.
-- If they no longer match any Fargate profiles, then they are not
-- scheduled on Fargate and they may remain in a pending state.
--
-- Only one Fargate profile in a cluster can be in the DELETING
-- status at a time. You must wait for a Fargate profile to finish
-- deleting before you can delete any other profiles in that cluster.
module Amazonka.EKS.DeleteFargateProfile
-- | See: newDeleteFargateProfile smart constructor.
data DeleteFargateProfile
DeleteFargateProfile' :: Text -> Text -> DeleteFargateProfile
-- | The name of the Amazon EKS cluster associated with the Fargate profile
-- to delete.
[$sel:clusterName:DeleteFargateProfile'] :: DeleteFargateProfile -> Text
-- | The name of the Fargate profile to delete.
[$sel:fargateProfileName:DeleteFargateProfile'] :: DeleteFargateProfile -> Text
-- | Create a value of DeleteFargateProfile with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DeleteFargateProfile, deleteFargateProfile_clusterName -
-- The name of the Amazon EKS cluster associated with the Fargate profile
-- to delete.
--
-- DeleteFargateProfile,
-- deleteFargateProfile_fargateProfileName - The name of the
-- Fargate profile to delete.
newDeleteFargateProfile :: Text -> Text -> DeleteFargateProfile
-- | The name of the Amazon EKS cluster associated with the Fargate profile
-- to delete.
deleteFargateProfile_clusterName :: Lens' DeleteFargateProfile Text
-- | The name of the Fargate profile to delete.
deleteFargateProfile_fargateProfileName :: Lens' DeleteFargateProfile Text
-- | See: newDeleteFargateProfileResponse smart constructor.
data DeleteFargateProfileResponse
DeleteFargateProfileResponse' :: Maybe FargateProfile -> Int -> DeleteFargateProfileResponse
-- | The deleted Fargate profile.
[$sel:fargateProfile:DeleteFargateProfileResponse'] :: DeleteFargateProfileResponse -> Maybe FargateProfile
-- | The response's http status code.
[$sel:httpStatus:DeleteFargateProfileResponse'] :: DeleteFargateProfileResponse -> Int
-- | Create a value of DeleteFargateProfileResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:fargateProfile:DeleteFargateProfileResponse',
-- deleteFargateProfileResponse_fargateProfile - The deleted
-- Fargate profile.
--
-- $sel:httpStatus:DeleteFargateProfileResponse',
-- deleteFargateProfileResponse_httpStatus - The response's http
-- status code.
newDeleteFargateProfileResponse :: Int -> DeleteFargateProfileResponse
-- | The deleted Fargate profile.
deleteFargateProfileResponse_fargateProfile :: Lens' DeleteFargateProfileResponse (Maybe FargateProfile)
-- | The response's http status code.
deleteFargateProfileResponse_httpStatus :: Lens' DeleteFargateProfileResponse Int
instance GHC.Generics.Generic Amazonka.EKS.DeleteFargateProfile.DeleteFargateProfile
instance GHC.Show.Show Amazonka.EKS.DeleteFargateProfile.DeleteFargateProfile
instance GHC.Read.Read Amazonka.EKS.DeleteFargateProfile.DeleteFargateProfile
instance GHC.Classes.Eq Amazonka.EKS.DeleteFargateProfile.DeleteFargateProfile
instance GHC.Generics.Generic Amazonka.EKS.DeleteFargateProfile.DeleteFargateProfileResponse
instance GHC.Show.Show Amazonka.EKS.DeleteFargateProfile.DeleteFargateProfileResponse
instance GHC.Read.Read Amazonka.EKS.DeleteFargateProfile.DeleteFargateProfileResponse
instance GHC.Classes.Eq Amazonka.EKS.DeleteFargateProfile.DeleteFargateProfileResponse
instance Amazonka.Types.AWSRequest Amazonka.EKS.DeleteFargateProfile.DeleteFargateProfile
instance Control.DeepSeq.NFData Amazonka.EKS.DeleteFargateProfile.DeleteFargateProfileResponse
instance Data.Hashable.Class.Hashable Amazonka.EKS.DeleteFargateProfile.DeleteFargateProfile
instance Control.DeepSeq.NFData Amazonka.EKS.DeleteFargateProfile.DeleteFargateProfile
instance Amazonka.Data.Headers.ToHeaders Amazonka.EKS.DeleteFargateProfile.DeleteFargateProfile
instance Amazonka.Data.Path.ToPath Amazonka.EKS.DeleteFargateProfile.DeleteFargateProfile
instance Amazonka.Data.Query.ToQuery Amazonka.EKS.DeleteFargateProfile.DeleteFargateProfile
-- | Deletes the Amazon EKS cluster control plane.
--
-- If you have active services in your cluster that are associated with a
-- load balancer, you must delete those services before deleting the
-- cluster so that the load balancers are deleted properly. Otherwise,
-- you can have orphaned resources in your VPC that prevent you from
-- being able to delete the VPC. For more information, see Deleting a
-- Cluster in the Amazon EKS User Guide.
--
-- If you have managed node groups or Fargate profiles attached to the
-- cluster, you must delete them first. For more information, see
-- DeleteNodegroup and DeleteFargateProfile.
module Amazonka.EKS.DeleteCluster
-- | See: newDeleteCluster smart constructor.
data DeleteCluster
DeleteCluster' :: Text -> DeleteCluster
-- | The name of the cluster to delete.
[$sel:name:DeleteCluster'] :: DeleteCluster -> Text
-- | Create a value of DeleteCluster with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DeleteCluster, deleteCluster_name - The name of the
-- cluster to delete.
newDeleteCluster :: Text -> DeleteCluster
-- | The name of the cluster to delete.
deleteCluster_name :: Lens' DeleteCluster Text
-- | See: newDeleteClusterResponse smart constructor.
data DeleteClusterResponse
DeleteClusterResponse' :: Maybe Cluster -> Int -> DeleteClusterResponse
-- | The full description of the cluster to delete.
[$sel:cluster:DeleteClusterResponse'] :: DeleteClusterResponse -> Maybe Cluster
-- | The response's http status code.
[$sel:httpStatus:DeleteClusterResponse'] :: DeleteClusterResponse -> Int
-- | Create a value of DeleteClusterResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:cluster:DeleteClusterResponse',
-- deleteClusterResponse_cluster - The full description of the
-- cluster to delete.
--
-- $sel:httpStatus:DeleteClusterResponse',
-- deleteClusterResponse_httpStatus - The response's http status
-- code.
newDeleteClusterResponse :: Int -> DeleteClusterResponse
-- | The full description of the cluster to delete.
deleteClusterResponse_cluster :: Lens' DeleteClusterResponse (Maybe Cluster)
-- | The response's http status code.
deleteClusterResponse_httpStatus :: Lens' DeleteClusterResponse Int
instance GHC.Generics.Generic Amazonka.EKS.DeleteCluster.DeleteCluster
instance GHC.Show.Show Amazonka.EKS.DeleteCluster.DeleteCluster
instance GHC.Read.Read Amazonka.EKS.DeleteCluster.DeleteCluster
instance GHC.Classes.Eq Amazonka.EKS.DeleteCluster.DeleteCluster
instance GHC.Generics.Generic Amazonka.EKS.DeleteCluster.DeleteClusterResponse
instance GHC.Show.Show Amazonka.EKS.DeleteCluster.DeleteClusterResponse
instance GHC.Read.Read Amazonka.EKS.DeleteCluster.DeleteClusterResponse
instance GHC.Classes.Eq Amazonka.EKS.DeleteCluster.DeleteClusterResponse
instance Amazonka.Types.AWSRequest Amazonka.EKS.DeleteCluster.DeleteCluster
instance Control.DeepSeq.NFData Amazonka.EKS.DeleteCluster.DeleteClusterResponse
instance Data.Hashable.Class.Hashable Amazonka.EKS.DeleteCluster.DeleteCluster
instance Control.DeepSeq.NFData Amazonka.EKS.DeleteCluster.DeleteCluster
instance Amazonka.Data.Headers.ToHeaders Amazonka.EKS.DeleteCluster.DeleteCluster
instance Amazonka.Data.Path.ToPath Amazonka.EKS.DeleteCluster.DeleteCluster
instance Amazonka.Data.Query.ToQuery Amazonka.EKS.DeleteCluster.DeleteCluster
-- | Delete an Amazon EKS add-on.
--
-- When you remove the add-on, it will also be deleted from the cluster.
-- You can always manually start an add-on on the cluster using the
-- Kubernetes API.
module Amazonka.EKS.DeleteAddon
-- | See: newDeleteAddon smart constructor.
data DeleteAddon
DeleteAddon' :: Maybe Bool -> Text -> Text -> DeleteAddon
-- | Specifying this option preserves the add-on software on your cluster
-- but Amazon EKS stops managing any settings for the add-on. If an IAM
-- account is associated with the add-on, it isn't removed.
[$sel:preserve:DeleteAddon'] :: DeleteAddon -> Maybe Bool
-- | The name of the cluster to delete the add-on from.
[$sel:clusterName:DeleteAddon'] :: DeleteAddon -> Text
-- | The name of the add-on. The name must match one of the names returned
-- by ListAddons .
[$sel:addonName:DeleteAddon'] :: DeleteAddon -> Text
-- | Create a value of DeleteAddon with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:preserve:DeleteAddon', deleteAddon_preserve -
-- Specifying this option preserves the add-on software on your cluster
-- but Amazon EKS stops managing any settings for the add-on. If an IAM
-- account is associated with the add-on, it isn't removed.
--
-- DeleteAddon, deleteAddon_clusterName - The name of the
-- cluster to delete the add-on from.
--
-- DeleteAddon, deleteAddon_addonName - The name of the
-- add-on. The name must match one of the names returned by
-- ListAddons .
newDeleteAddon :: Text -> Text -> DeleteAddon
-- | Specifying this option preserves the add-on software on your cluster
-- but Amazon EKS stops managing any settings for the add-on. If an IAM
-- account is associated with the add-on, it isn't removed.
deleteAddon_preserve :: Lens' DeleteAddon (Maybe Bool)
-- | The name of the cluster to delete the add-on from.
deleteAddon_clusterName :: Lens' DeleteAddon Text
-- | The name of the add-on. The name must match one of the names returned
-- by ListAddons .
deleteAddon_addonName :: Lens' DeleteAddon Text
-- | See: newDeleteAddonResponse smart constructor.
data DeleteAddonResponse
DeleteAddonResponse' :: Maybe Addon -> Int -> DeleteAddonResponse
[$sel:addon:DeleteAddonResponse'] :: DeleteAddonResponse -> Maybe Addon
-- | The response's http status code.
[$sel:httpStatus:DeleteAddonResponse'] :: DeleteAddonResponse -> Int
-- | Create a value of DeleteAddonResponse with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:addon:DeleteAddonResponse',
-- deleteAddonResponse_addon - Undocumented member.
--
-- $sel:httpStatus:DeleteAddonResponse',
-- deleteAddonResponse_httpStatus - The response's http status
-- code.
newDeleteAddonResponse :: Int -> DeleteAddonResponse
-- | Undocumented member.
deleteAddonResponse_addon :: Lens' DeleteAddonResponse (Maybe Addon)
-- | The response's http status code.
deleteAddonResponse_httpStatus :: Lens' DeleteAddonResponse Int
instance GHC.Generics.Generic Amazonka.EKS.DeleteAddon.DeleteAddon
instance GHC.Show.Show Amazonka.EKS.DeleteAddon.DeleteAddon
instance GHC.Read.Read Amazonka.EKS.DeleteAddon.DeleteAddon
instance GHC.Classes.Eq Amazonka.EKS.DeleteAddon.DeleteAddon
instance GHC.Generics.Generic Amazonka.EKS.DeleteAddon.DeleteAddonResponse
instance GHC.Show.Show Amazonka.EKS.DeleteAddon.DeleteAddonResponse
instance GHC.Read.Read Amazonka.EKS.DeleteAddon.DeleteAddonResponse
instance GHC.Classes.Eq Amazonka.EKS.DeleteAddon.DeleteAddonResponse
instance Amazonka.Types.AWSRequest Amazonka.EKS.DeleteAddon.DeleteAddon
instance Control.DeepSeq.NFData Amazonka.EKS.DeleteAddon.DeleteAddonResponse
instance Data.Hashable.Class.Hashable Amazonka.EKS.DeleteAddon.DeleteAddon
instance Control.DeepSeq.NFData Amazonka.EKS.DeleteAddon.DeleteAddon
instance Amazonka.Data.Headers.ToHeaders Amazonka.EKS.DeleteAddon.DeleteAddon
instance Amazonka.Data.Path.ToPath Amazonka.EKS.DeleteAddon.DeleteAddon
instance Amazonka.Data.Query.ToQuery Amazonka.EKS.DeleteAddon.DeleteAddon
-- | Creates a managed node group for an Amazon EKS cluster. You can only
-- create a node group for your cluster that is equal to the current
-- Kubernetes version for the cluster. All node groups are created with
-- the latest AMI release version for the respective minor Kubernetes
-- version of the cluster, unless you deploy a custom AMI using a launch
-- template. For more information about using launch templates, see
-- Launch template support.
--
-- An Amazon EKS managed node group is an Amazon EC2 Auto Scaling group
-- and associated Amazon EC2 instances that are managed by Amazon Web
-- Services for an Amazon EKS cluster. For more information, see
-- Managed node groups in the Amazon EKS User Guide.
--
-- Windows AMI types are only supported for commercial Regions that
-- support Windows Amazon EKS.
module Amazonka.EKS.CreateNodegroup
-- | See: newCreateNodegroup smart constructor.
data CreateNodegroup
CreateNodegroup' :: Maybe AMITypes -> Maybe CapacityTypes -> Maybe Text -> Maybe Int -> Maybe [Text] -> Maybe (HashMap Text Text) -> Maybe LaunchTemplateSpecification -> Maybe Text -> Maybe RemoteAccessConfig -> Maybe NodegroupScalingConfig -> Maybe (HashMap Text Text) -> Maybe [Taint] -> Maybe NodegroupUpdateConfig -> Maybe Text -> Text -> Text -> [Text] -> Text -> CreateNodegroup
-- | The AMI type for your node group. If you specify
-- launchTemplate, and your launch template uses a custom AMI,
-- then don't specify amiType, or the node group deployment will
-- fail. If your launch template uses a Windows custom AMI, then add
-- eks:kube-proxy-windows to your Windows nodes rolearn
-- in the aws-auth ConfigMap. For more information
-- about using launch templates with Amazon EKS, see Launch template
-- support in the Amazon EKS User Guide.
[$sel:amiType:CreateNodegroup'] :: CreateNodegroup -> Maybe AMITypes
-- | The capacity type for your node group.
[$sel:capacityType:CreateNodegroup'] :: CreateNodegroup -> Maybe CapacityTypes
-- | Unique, case-sensitive identifier that you provide to ensure the
-- idempotency of the request.
[$sel:clientRequestToken:CreateNodegroup'] :: CreateNodegroup -> Maybe Text
-- | The root device disk size (in GiB) for your node group instances. The
-- default disk size is 20 GiB for Linux and Bottlerocket. The default
-- disk size is 50 GiB for Windows. If you specify
-- launchTemplate, then don't specify diskSize, or the
-- node group deployment will fail. For more information about using
-- launch templates with Amazon EKS, see Launch template support
-- in the Amazon EKS User Guide.
[$sel:diskSize:CreateNodegroup'] :: CreateNodegroup -> Maybe Int
-- | Specify the instance types for a node group. If you specify a GPU
-- instance type, make sure to also specify an applicable GPU AMI type
-- with the amiType parameter. If you specify
-- launchTemplate, then you can specify zero or one instance
-- type in your launch template or you can specify 0-20 instance
-- types for instanceTypes. If however, you specify an instance
-- type in your launch template and specify any
-- instanceTypes, the node group deployment will fail. If you
-- don't specify an instance type in a launch template or for
-- instanceTypes, then t3.medium is used, by default.
-- If you specify Spot for capacityType, then we
-- recommend specifying multiple values for instanceTypes. For
-- more information, see Managed node group capacity types and
-- Launch template support in the Amazon EKS User Guide.
[$sel:instanceTypes:CreateNodegroup'] :: CreateNodegroup -> Maybe [Text]
-- | The Kubernetes labels to be applied to the nodes in the node group
-- when they are created.
[$sel:labels:CreateNodegroup'] :: CreateNodegroup -> Maybe (HashMap Text Text)
-- | An object representing a node group's launch template specification.
-- If specified, then do not specify instanceTypes,
-- diskSize, or remoteAccess and make sure that the
-- launch template meets the requirements in
-- launchTemplateSpecification.
[$sel:launchTemplate:CreateNodegroup'] :: CreateNodegroup -> Maybe LaunchTemplateSpecification
-- | The AMI version of the Amazon EKS optimized AMI to use with your node
-- group. By default, the latest available AMI version for the node
-- group's current Kubernetes version is used. For information about
-- Linux versions, see Amazon EKS optimized Amazon Linux AMI
-- versions in the Amazon EKS User Guide. Amazon EKS managed
-- node groups support the November 2022 and later releases of the
-- Windows AMIs. For information about Windows versions, see Amazon
-- EKS optimized Windows AMI versions in the Amazon EKS User
-- Guide.
--
-- If you specify launchTemplate, and your launch template uses
-- a custom AMI, then don't specify releaseVersion, or the node
-- group deployment will fail. For more information about using launch
-- templates with Amazon EKS, see Launch template support in the
-- Amazon EKS User Guide.
[$sel:releaseVersion:CreateNodegroup'] :: CreateNodegroup -> Maybe Text
-- | The remote access configuration to use with your node group. For
-- Linux, the protocol is SSH. For Windows, the protocol is RDP. If you
-- specify launchTemplate, then don't specify
-- remoteAccess, or the node group deployment will fail. For
-- more information about using launch templates with Amazon EKS, see
-- Launch template support in the Amazon EKS User Guide.
[$sel:remoteAccess:CreateNodegroup'] :: CreateNodegroup -> Maybe RemoteAccessConfig
-- | The scaling configuration details for the Auto Scaling group that is
-- created for your node group.
[$sel:scalingConfig:CreateNodegroup'] :: CreateNodegroup -> Maybe NodegroupScalingConfig
-- | The metadata to apply to the node group to assist with categorization
-- and organization. Each tag consists of a key and an optional value.
-- You define both. Node group tags do not propagate to any other
-- resources associated with the node group, such as the Amazon EC2
-- instances or subnets.
[$sel:tags:CreateNodegroup'] :: CreateNodegroup -> Maybe (HashMap Text Text)
-- | The Kubernetes taints to be applied to the nodes in the node group.
-- For more information, see Node taints on managed node groups.
[$sel:taints:CreateNodegroup'] :: CreateNodegroup -> Maybe [Taint]
-- | The node group update configuration.
[$sel:updateConfig:CreateNodegroup'] :: CreateNodegroup -> Maybe NodegroupUpdateConfig
-- | The Kubernetes version to use for your managed nodes. By default, the
-- Kubernetes version of the cluster is used, and this is the only
-- accepted specified value. If you specify launchTemplate, and
-- your launch template uses a custom AMI, then don't specify
-- version, or the node group deployment will fail. For more
-- information about using launch templates with Amazon EKS, see
-- Launch template support in the Amazon EKS User Guide.
[$sel:version:CreateNodegroup'] :: CreateNodegroup -> Maybe Text
-- | The name of the cluster to create the node group in.
[$sel:clusterName:CreateNodegroup'] :: CreateNodegroup -> Text
-- | The unique name to give your node group.
[$sel:nodegroupName:CreateNodegroup'] :: CreateNodegroup -> Text
-- | The subnets to use for the Auto Scaling group that is created for your
-- node group. If you specify launchTemplate, then don't specify
-- SubnetId in your launch template, or the node group deployment
-- will fail. For more information about using launch templates with
-- Amazon EKS, see Launch template support in the Amazon EKS
-- User Guide.
[$sel:subnets:CreateNodegroup'] :: CreateNodegroup -> [Text]
-- | The Amazon Resource Name (ARN) of the IAM role to associate with your
-- node group. The Amazon EKS worker node kubelet daemon makes
-- calls to Amazon Web Services APIs on your behalf. Nodes receive
-- permissions for these API calls through an IAM instance profile and
-- associated policies. Before you can launch nodes and register them
-- into a cluster, you must create an IAM role for those nodes to use
-- when they are launched. For more information, see Amazon EKS node
-- IAM role in the /Amazon EKS User Guide/ . If you specify
-- launchTemplate, then don't specify IamInstanceProfile
-- in your launch template, or the node group deployment will fail. For
-- more information about using launch templates with Amazon EKS, see
-- Launch template support in the Amazon EKS User Guide.
[$sel:nodeRole:CreateNodegroup'] :: CreateNodegroup -> Text
-- | Create a value of CreateNodegroup with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- CreateNodegroup, createNodegroup_amiType - The AMI type
-- for your node group. If you specify launchTemplate, and your
-- launch template uses a custom AMI, then don't specify
-- amiType, or the node group deployment will fail. If your
-- launch template uses a Windows custom AMI, then add
-- eks:kube-proxy-windows to your Windows nodes rolearn
-- in the aws-auth ConfigMap. For more information
-- about using launch templates with Amazon EKS, see Launch template
-- support in the Amazon EKS User Guide.
--
-- CreateNodegroup, createNodegroup_capacityType - The
-- capacity type for your node group.
--
-- CreateNodegroup, createNodegroup_clientRequestToken -
-- Unique, case-sensitive identifier that you provide to ensure the
-- idempotency of the request.
--
-- CreateNodegroup, createNodegroup_diskSize - The root
-- device disk size (in GiB) for your node group instances. The default
-- disk size is 20 GiB for Linux and Bottlerocket. The default disk size
-- is 50 GiB for Windows. If you specify launchTemplate, then
-- don't specify diskSize, or the node group deployment will
-- fail. For more information about using launch templates with Amazon
-- EKS, see Launch template support in the Amazon EKS User
-- Guide.
--
-- CreateNodegroup, createNodegroup_instanceTypes - Specify
-- the instance types for a node group. If you specify a GPU instance
-- type, make sure to also specify an applicable GPU AMI type with the
-- amiType parameter. If you specify launchTemplate,
-- then you can specify zero or one instance type in your launch template
-- or you can specify 0-20 instance types for
-- instanceTypes. If however, you specify an instance type in
-- your launch template and specify any instanceTypes,
-- the node group deployment will fail. If you don't specify an instance
-- type in a launch template or for instanceTypes, then
-- t3.medium is used, by default. If you specify Spot
-- for capacityType, then we recommend specifying multiple
-- values for instanceTypes. For more information, see
-- Managed node group capacity types and Launch template
-- support in the Amazon EKS User Guide.
--
-- CreateNodegroup, createNodegroup_labels - The Kubernetes
-- labels to be applied to the nodes in the node group when they are
-- created.
--
-- CreateNodegroup, createNodegroup_launchTemplate - An
-- object representing a node group's launch template specification. If
-- specified, then do not specify instanceTypes,
-- diskSize, or remoteAccess and make sure that the
-- launch template meets the requirements in
-- launchTemplateSpecification.
--
-- CreateNodegroup, createNodegroup_releaseVersion - The
-- AMI version of the Amazon EKS optimized AMI to use with your node
-- group. By default, the latest available AMI version for the node
-- group's current Kubernetes version is used. For information about
-- Linux versions, see Amazon EKS optimized Amazon Linux AMI
-- versions in the Amazon EKS User Guide. Amazon EKS managed
-- node groups support the November 2022 and later releases of the
-- Windows AMIs. For information about Windows versions, see Amazon
-- EKS optimized Windows AMI versions in the Amazon EKS User
-- Guide.
--
-- If you specify launchTemplate, and your launch template uses
-- a custom AMI, then don't specify releaseVersion, or the node
-- group deployment will fail. For more information about using launch
-- templates with Amazon EKS, see Launch template support in the
-- Amazon EKS User Guide.
--
-- CreateNodegroup, createNodegroup_remoteAccess - The
-- remote access configuration to use with your node group. For Linux,
-- the protocol is SSH. For Windows, the protocol is RDP. If you specify
-- launchTemplate, then don't specify remoteAccess, or
-- the node group deployment will fail. For more information about using
-- launch templates with Amazon EKS, see Launch template support
-- in the Amazon EKS User Guide.
--
-- CreateNodegroup, createNodegroup_scalingConfig - The
-- scaling configuration details for the Auto Scaling group that is
-- created for your node group.
--
-- CreateNodegroup, createNodegroup_tags - The metadata to
-- apply to the node group to assist with categorization and
-- organization. Each tag consists of a key and an optional value. You
-- define both. Node group tags do not propagate to any other resources
-- associated with the node group, such as the Amazon EC2 instances or
-- subnets.
--
-- CreateNodegroup, createNodegroup_taints - The Kubernetes
-- taints to be applied to the nodes in the node group. For more
-- information, see Node taints on managed node groups.
--
-- CreateNodegroup, createNodegroup_updateConfig - The node
-- group update configuration.
--
-- CreateNodegroup, createNodegroup_version - The
-- Kubernetes version to use for your managed nodes. By default, the
-- Kubernetes version of the cluster is used, and this is the only
-- accepted specified value. If you specify launchTemplate, and
-- your launch template uses a custom AMI, then don't specify
-- version, or the node group deployment will fail. For more
-- information about using launch templates with Amazon EKS, see
-- Launch template support in the Amazon EKS User Guide.
--
-- CreateNodegroup, createNodegroup_clusterName - The name
-- of the cluster to create the node group in.
--
-- CreateNodegroup, createNodegroup_nodegroupName - The
-- unique name to give your node group.
--
-- CreateNodegroup, createNodegroup_subnets - The subnets
-- to use for the Auto Scaling group that is created for your node group.
-- If you specify launchTemplate, then don't specify
-- SubnetId in your launch template, or the node group deployment
-- will fail. For more information about using launch templates with
-- Amazon EKS, see Launch template support in the Amazon EKS
-- User Guide.
--
-- CreateNodegroup, createNodegroup_nodeRole - The Amazon
-- Resource Name (ARN) of the IAM role to associate with your node group.
-- The Amazon EKS worker node kubelet daemon makes calls to
-- Amazon Web Services APIs on your behalf. Nodes receive permissions for
-- these API calls through an IAM instance profile and associated
-- policies. Before you can launch nodes and register them into a
-- cluster, you must create an IAM role for those nodes to use when they
-- are launched. For more information, see Amazon EKS node IAM
-- role in the /Amazon EKS User Guide/ . If you specify
-- launchTemplate, then don't specify IamInstanceProfile
-- in your launch template, or the node group deployment will fail. For
-- more information about using launch templates with Amazon EKS, see
-- Launch template support in the Amazon EKS User Guide.
newCreateNodegroup :: Text -> Text -> Text -> CreateNodegroup
-- | The AMI type for your node group. If you specify
-- launchTemplate, and your launch template uses a custom AMI,
-- then don't specify amiType, or the node group deployment will
-- fail. If your launch template uses a Windows custom AMI, then add
-- eks:kube-proxy-windows to your Windows nodes rolearn
-- in the aws-auth ConfigMap. For more information
-- about using launch templates with Amazon EKS, see Launch template
-- support in the Amazon EKS User Guide.
createNodegroup_amiType :: Lens' CreateNodegroup (Maybe AMITypes)
-- | The capacity type for your node group.
createNodegroup_capacityType :: Lens' CreateNodegroup (Maybe CapacityTypes)
-- | Unique, case-sensitive identifier that you provide to ensure the
-- idempotency of the request.
createNodegroup_clientRequestToken :: Lens' CreateNodegroup (Maybe Text)
-- | The root device disk size (in GiB) for your node group instances. The
-- default disk size is 20 GiB for Linux and Bottlerocket. The default
-- disk size is 50 GiB for Windows. If you specify
-- launchTemplate, then don't specify diskSize, or the
-- node group deployment will fail. For more information about using
-- launch templates with Amazon EKS, see Launch template support
-- in the Amazon EKS User Guide.
createNodegroup_diskSize :: Lens' CreateNodegroup (Maybe Int)
-- | Specify the instance types for a node group. If you specify a GPU
-- instance type, make sure to also specify an applicable GPU AMI type
-- with the amiType parameter. If you specify
-- launchTemplate, then you can specify zero or one instance
-- type in your launch template or you can specify 0-20 instance
-- types for instanceTypes. If however, you specify an instance
-- type in your launch template and specify any
-- instanceTypes, the node group deployment will fail. If you
-- don't specify an instance type in a launch template or for
-- instanceTypes, then t3.medium is used, by default.
-- If you specify Spot for capacityType, then we
-- recommend specifying multiple values for instanceTypes. For
-- more information, see Managed node group capacity types and
-- Launch template support in the Amazon EKS User Guide.
createNodegroup_instanceTypes :: Lens' CreateNodegroup (Maybe [Text])
-- | The Kubernetes labels to be applied to the nodes in the node group
-- when they are created.
createNodegroup_labels :: Lens' CreateNodegroup (Maybe (HashMap Text Text))
-- | An object representing a node group's launch template specification.
-- If specified, then do not specify instanceTypes,
-- diskSize, or remoteAccess and make sure that the
-- launch template meets the requirements in
-- launchTemplateSpecification.
createNodegroup_launchTemplate :: Lens' CreateNodegroup (Maybe LaunchTemplateSpecification)
-- | The AMI version of the Amazon EKS optimized AMI to use with your node
-- group. By default, the latest available AMI version for the node
-- group's current Kubernetes version is used. For information about
-- Linux versions, see Amazon EKS optimized Amazon Linux AMI
-- versions in the Amazon EKS User Guide. Amazon EKS managed
-- node groups support the November 2022 and later releases of the
-- Windows AMIs. For information about Windows versions, see Amazon
-- EKS optimized Windows AMI versions in the Amazon EKS User
-- Guide.
--
-- If you specify launchTemplate, and your launch template uses
-- a custom AMI, then don't specify releaseVersion, or the node
-- group deployment will fail. For more information about using launch
-- templates with Amazon EKS, see Launch template support in the
-- Amazon EKS User Guide.
createNodegroup_releaseVersion :: Lens' CreateNodegroup (Maybe Text)
-- | The remote access configuration to use with your node group. For
-- Linux, the protocol is SSH. For Windows, the protocol is RDP. If you
-- specify launchTemplate, then don't specify
-- remoteAccess, or the node group deployment will fail. For
-- more information about using launch templates with Amazon EKS, see
-- Launch template support in the Amazon EKS User Guide.
createNodegroup_remoteAccess :: Lens' CreateNodegroup (Maybe RemoteAccessConfig)
-- | The scaling configuration details for the Auto Scaling group that is
-- created for your node group.
createNodegroup_scalingConfig :: Lens' CreateNodegroup (Maybe NodegroupScalingConfig)
-- | The metadata to apply to the node group to assist with categorization
-- and organization. Each tag consists of a key and an optional value.
-- You define both. Node group tags do not propagate to any other
-- resources associated with the node group, such as the Amazon EC2
-- instances or subnets.
createNodegroup_tags :: Lens' CreateNodegroup (Maybe (HashMap Text Text))
-- | The Kubernetes taints to be applied to the nodes in the node group.
-- For more information, see Node taints on managed node groups.
createNodegroup_taints :: Lens' CreateNodegroup (Maybe [Taint])
-- | The node group update configuration.
createNodegroup_updateConfig :: Lens' CreateNodegroup (Maybe NodegroupUpdateConfig)
-- | The Kubernetes version to use for your managed nodes. By default, the
-- Kubernetes version of the cluster is used, and this is the only
-- accepted specified value. If you specify launchTemplate, and
-- your launch template uses a custom AMI, then don't specify
-- version, or the node group deployment will fail. For more
-- information about using launch templates with Amazon EKS, see
-- Launch template support in the Amazon EKS User Guide.
createNodegroup_version :: Lens' CreateNodegroup (Maybe Text)
-- | The name of the cluster to create the node group in.
createNodegroup_clusterName :: Lens' CreateNodegroup Text
-- | The unique name to give your node group.
createNodegroup_nodegroupName :: Lens' CreateNodegroup Text
-- | The subnets to use for the Auto Scaling group that is created for your
-- node group. If you specify launchTemplate, then don't specify
-- SubnetId in your launch template, or the node group deployment
-- will fail. For more information about using launch templates with
-- Amazon EKS, see Launch template support in the Amazon EKS
-- User Guide.
createNodegroup_subnets :: Lens' CreateNodegroup [Text]
-- | The Amazon Resource Name (ARN) of the IAM role to associate with your
-- node group. The Amazon EKS worker node kubelet daemon makes
-- calls to Amazon Web Services APIs on your behalf. Nodes receive
-- permissions for these API calls through an IAM instance profile and
-- associated policies. Before you can launch nodes and register them
-- into a cluster, you must create an IAM role for those nodes to use
-- when they are launched. For more information, see Amazon EKS node
-- IAM role in the /Amazon EKS User Guide/ . If you specify
-- launchTemplate, then don't specify IamInstanceProfile
-- in your launch template, or the node group deployment will fail. For
-- more information about using launch templates with Amazon EKS, see
-- Launch template support in the Amazon EKS User Guide.
createNodegroup_nodeRole :: Lens' CreateNodegroup Text
-- | See: newCreateNodegroupResponse smart constructor.
data CreateNodegroupResponse
CreateNodegroupResponse' :: Maybe Nodegroup -> Int -> CreateNodegroupResponse
-- | The full description of your new node group.
[$sel:nodegroup:CreateNodegroupResponse'] :: CreateNodegroupResponse -> Maybe Nodegroup
-- | The response's http status code.
[$sel:httpStatus:CreateNodegroupResponse'] :: CreateNodegroupResponse -> Int
-- | Create a value of CreateNodegroupResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:nodegroup:CreateNodegroupResponse',
-- createNodegroupResponse_nodegroup - The full description of
-- your new node group.
--
-- $sel:httpStatus:CreateNodegroupResponse',
-- createNodegroupResponse_httpStatus - The response's http status
-- code.
newCreateNodegroupResponse :: Int -> CreateNodegroupResponse
-- | The full description of your new node group.
createNodegroupResponse_nodegroup :: Lens' CreateNodegroupResponse (Maybe Nodegroup)
-- | The response's http status code.
createNodegroupResponse_httpStatus :: Lens' CreateNodegroupResponse Int
instance GHC.Generics.Generic Amazonka.EKS.CreateNodegroup.CreateNodegroup
instance GHC.Show.Show Amazonka.EKS.CreateNodegroup.CreateNodegroup
instance GHC.Read.Read Amazonka.EKS.CreateNodegroup.CreateNodegroup
instance GHC.Classes.Eq Amazonka.EKS.CreateNodegroup.CreateNodegroup
instance GHC.Generics.Generic Amazonka.EKS.CreateNodegroup.CreateNodegroupResponse
instance GHC.Show.Show Amazonka.EKS.CreateNodegroup.CreateNodegroupResponse
instance GHC.Read.Read Amazonka.EKS.CreateNodegroup.CreateNodegroupResponse
instance GHC.Classes.Eq Amazonka.EKS.CreateNodegroup.CreateNodegroupResponse
instance Amazonka.Types.AWSRequest Amazonka.EKS.CreateNodegroup.CreateNodegroup
instance Control.DeepSeq.NFData Amazonka.EKS.CreateNodegroup.CreateNodegroupResponse
instance Data.Hashable.Class.Hashable Amazonka.EKS.CreateNodegroup.CreateNodegroup
instance Control.DeepSeq.NFData Amazonka.EKS.CreateNodegroup.CreateNodegroup
instance Amazonka.Data.Headers.ToHeaders Amazonka.EKS.CreateNodegroup.CreateNodegroup
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.EKS.CreateNodegroup.CreateNodegroup
instance Amazonka.Data.Path.ToPath Amazonka.EKS.CreateNodegroup.CreateNodegroup
instance Amazonka.Data.Query.ToQuery Amazonka.EKS.CreateNodegroup.CreateNodegroup
-- | Creates an Fargate profile for your Amazon EKS cluster. You must have
-- at least one Fargate profile in a cluster to be able to run pods on
-- Fargate.
--
-- The Fargate profile allows an administrator to declare which pods run
-- on Fargate and specify which pods run on which Fargate profile. This
-- declaration is done through the profile’s selectors. Each profile can
-- have up to five selectors that contain a namespace and labels. A
-- namespace is required for every selector. The label field consists of
-- multiple optional key-value pairs. Pods that match the selectors are
-- scheduled on Fargate. If a to-be-scheduled pod matches any of the
-- selectors in the Fargate profile, then that pod is run on Fargate.
--
-- When you create a Fargate profile, you must specify a pod execution
-- role to use with the pods that are scheduled with the profile. This
-- role is added to the cluster's Kubernetes Role Based Access
-- Control (RBAC) for authorization so that the kubelet that
-- is running on the Fargate infrastructure can register with your Amazon
-- EKS cluster so that it can appear in your cluster as a node. The pod
-- execution role also provides IAM permissions to the Fargate
-- infrastructure to allow read access to Amazon ECR image repositories.
-- For more information, see Pod Execution Role in the Amazon
-- EKS User Guide.
--
-- Fargate profiles are immutable. However, you can create a new updated
-- profile to replace an existing profile and then delete the original
-- after the updated profile has finished creating.
--
-- If any Fargate profiles in a cluster are in the DELETING
-- status, you must wait for that Fargate profile to finish deleting
-- before you can create any other profiles in that cluster.
--
-- For more information, see Fargate Profile in the Amazon EKS
-- User Guide.
module Amazonka.EKS.CreateFargateProfile
-- | See: newCreateFargateProfile smart constructor.
data CreateFargateProfile
CreateFargateProfile' :: Maybe Text -> Maybe [FargateProfileSelector] -> Maybe [Text] -> Maybe (HashMap Text Text) -> Text -> Text -> Text -> CreateFargateProfile
-- | Unique, case-sensitive identifier that you provide to ensure the
-- idempotency of the request.
[$sel:clientRequestToken:CreateFargateProfile'] :: CreateFargateProfile -> Maybe Text
-- | The selectors to match for pods to use this Fargate profile. Each
-- selector must have an associated namespace. Optionally, you can also
-- specify labels for a namespace. You may specify up to five selectors
-- in a Fargate profile.
[$sel:selectors:CreateFargateProfile'] :: CreateFargateProfile -> Maybe [FargateProfileSelector]
-- | The IDs of subnets to launch your pods into. At this time, pods
-- running on Fargate are not assigned public IP addresses, so only
-- private subnets (with no direct route to an Internet Gateway) are
-- accepted for this parameter.
[$sel:subnets:CreateFargateProfile'] :: CreateFargateProfile -> Maybe [Text]
-- | The metadata to apply to the Fargate profile to assist with
-- categorization and organization. Each tag consists of a key and an
-- optional value. You define both. Fargate profile tags do not propagate
-- to any other resources associated with the Fargate profile, such as
-- the pods that are scheduled with it.
[$sel:tags:CreateFargateProfile'] :: CreateFargateProfile -> Maybe (HashMap Text Text)
-- | The name of the Fargate profile.
[$sel:fargateProfileName:CreateFargateProfile'] :: CreateFargateProfile -> Text
-- | The name of the Amazon EKS cluster to apply the Fargate profile to.
[$sel:clusterName:CreateFargateProfile'] :: CreateFargateProfile -> Text
-- | The Amazon Resource Name (ARN) of the pod execution role to use for
-- pods that match the selectors in the Fargate profile. The pod
-- execution role allows Fargate infrastructure to register with your
-- cluster as a node, and it provides read access to Amazon ECR image
-- repositories. For more information, see Pod Execution Role in
-- the Amazon EKS User Guide.
[$sel:podExecutionRoleArn:CreateFargateProfile'] :: CreateFargateProfile -> Text
-- | Create a value of CreateFargateProfile with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- CreateFargateProfile,
-- createFargateProfile_clientRequestToken - Unique,
-- case-sensitive identifier that you provide to ensure the idempotency
-- of the request.
--
-- CreateFargateProfile, createFargateProfile_selectors -
-- The selectors to match for pods to use this Fargate profile. Each
-- selector must have an associated namespace. Optionally, you can also
-- specify labels for a namespace. You may specify up to five selectors
-- in a Fargate profile.
--
-- CreateFargateProfile, createFargateProfile_subnets - The
-- IDs of subnets to launch your pods into. At this time, pods running on
-- Fargate are not assigned public IP addresses, so only private subnets
-- (with no direct route to an Internet Gateway) are accepted for this
-- parameter.
--
-- CreateFargateProfile, createFargateProfile_tags - The
-- metadata to apply to the Fargate profile to assist with categorization
-- and organization. Each tag consists of a key and an optional value.
-- You define both. Fargate profile tags do not propagate to any other
-- resources associated with the Fargate profile, such as the pods that
-- are scheduled with it.
--
-- CreateFargateProfile,
-- createFargateProfile_fargateProfileName - The name of the
-- Fargate profile.
--
-- CreateFargateProfile, createFargateProfile_clusterName -
-- The name of the Amazon EKS cluster to apply the Fargate profile to.
--
-- CreateFargateProfile,
-- createFargateProfile_podExecutionRoleArn - The Amazon Resource
-- Name (ARN) of the pod execution role to use for pods that match the
-- selectors in the Fargate profile. The pod execution role allows
-- Fargate infrastructure to register with your cluster as a node, and it
-- provides read access to Amazon ECR image repositories. For more
-- information, see Pod Execution Role in the Amazon EKS User
-- Guide.
newCreateFargateProfile :: Text -> Text -> Text -> CreateFargateProfile
-- | Unique, case-sensitive identifier that you provide to ensure the
-- idempotency of the request.
createFargateProfile_clientRequestToken :: Lens' CreateFargateProfile (Maybe Text)
-- | The selectors to match for pods to use this Fargate profile. Each
-- selector must have an associated namespace. Optionally, you can also
-- specify labels for a namespace. You may specify up to five selectors
-- in a Fargate profile.
createFargateProfile_selectors :: Lens' CreateFargateProfile (Maybe [FargateProfileSelector])
-- | The IDs of subnets to launch your pods into. At this time, pods
-- running on Fargate are not assigned public IP addresses, so only
-- private subnets (with no direct route to an Internet Gateway) are
-- accepted for this parameter.
createFargateProfile_subnets :: Lens' CreateFargateProfile (Maybe [Text])
-- | The metadata to apply to the Fargate profile to assist with
-- categorization and organization. Each tag consists of a key and an
-- optional value. You define both. Fargate profile tags do not propagate
-- to any other resources associated with the Fargate profile, such as
-- the pods that are scheduled with it.
createFargateProfile_tags :: Lens' CreateFargateProfile (Maybe (HashMap Text Text))
-- | The name of the Fargate profile.
createFargateProfile_fargateProfileName :: Lens' CreateFargateProfile Text
-- | The name of the Amazon EKS cluster to apply the Fargate profile to.
createFargateProfile_clusterName :: Lens' CreateFargateProfile Text
-- | The Amazon Resource Name (ARN) of the pod execution role to use for
-- pods that match the selectors in the Fargate profile. The pod
-- execution role allows Fargate infrastructure to register with your
-- cluster as a node, and it provides read access to Amazon ECR image
-- repositories. For more information, see Pod Execution Role in
-- the Amazon EKS User Guide.
createFargateProfile_podExecutionRoleArn :: Lens' CreateFargateProfile Text
-- | See: newCreateFargateProfileResponse smart constructor.
data CreateFargateProfileResponse
CreateFargateProfileResponse' :: Maybe FargateProfile -> Int -> CreateFargateProfileResponse
-- | The full description of your new Fargate profile.
[$sel:fargateProfile:CreateFargateProfileResponse'] :: CreateFargateProfileResponse -> Maybe FargateProfile
-- | The response's http status code.
[$sel:httpStatus:CreateFargateProfileResponse'] :: CreateFargateProfileResponse -> Int
-- | Create a value of CreateFargateProfileResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:fargateProfile:CreateFargateProfileResponse',
-- createFargateProfileResponse_fargateProfile - The full
-- description of your new Fargate profile.
--
-- $sel:httpStatus:CreateFargateProfileResponse',
-- createFargateProfileResponse_httpStatus - The response's http
-- status code.
newCreateFargateProfileResponse :: Int -> CreateFargateProfileResponse
-- | The full description of your new Fargate profile.
createFargateProfileResponse_fargateProfile :: Lens' CreateFargateProfileResponse (Maybe FargateProfile)
-- | The response's http status code.
createFargateProfileResponse_httpStatus :: Lens' CreateFargateProfileResponse Int
instance GHC.Generics.Generic Amazonka.EKS.CreateFargateProfile.CreateFargateProfile
instance GHC.Show.Show Amazonka.EKS.CreateFargateProfile.CreateFargateProfile
instance GHC.Read.Read Amazonka.EKS.CreateFargateProfile.CreateFargateProfile
instance GHC.Classes.Eq Amazonka.EKS.CreateFargateProfile.CreateFargateProfile
instance GHC.Generics.Generic Amazonka.EKS.CreateFargateProfile.CreateFargateProfileResponse
instance GHC.Show.Show Amazonka.EKS.CreateFargateProfile.CreateFargateProfileResponse
instance GHC.Read.Read Amazonka.EKS.CreateFargateProfile.CreateFargateProfileResponse
instance GHC.Classes.Eq Amazonka.EKS.CreateFargateProfile.CreateFargateProfileResponse
instance Amazonka.Types.AWSRequest Amazonka.EKS.CreateFargateProfile.CreateFargateProfile
instance Control.DeepSeq.NFData Amazonka.EKS.CreateFargateProfile.CreateFargateProfileResponse
instance Data.Hashable.Class.Hashable Amazonka.EKS.CreateFargateProfile.CreateFargateProfile
instance Control.DeepSeq.NFData Amazonka.EKS.CreateFargateProfile.CreateFargateProfile
instance Amazonka.Data.Headers.ToHeaders Amazonka.EKS.CreateFargateProfile.CreateFargateProfile
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.EKS.CreateFargateProfile.CreateFargateProfile
instance Amazonka.Data.Path.ToPath Amazonka.EKS.CreateFargateProfile.CreateFargateProfile
instance Amazonka.Data.Query.ToQuery Amazonka.EKS.CreateFargateProfile.CreateFargateProfile
-- | Creates an Amazon EKS control plane.
--
-- The Amazon EKS control plane consists of control plane instances that
-- run the Kubernetes software, such as etcd and the API server.
-- The control plane runs in an account managed by Amazon Web Services,
-- and the Kubernetes API is exposed by the Amazon EKS API server
-- endpoint. Each Amazon EKS cluster control plane is single tenant and
-- unique. It runs on its own set of Amazon EC2 instances.
--
-- The cluster control plane is provisioned across multiple Availability
-- Zones and fronted by an Elastic Load Balancing Network Load Balancer.
-- Amazon EKS also provisions elastic network interfaces in your VPC
-- subnets to provide connectivity from the control plane instances to
-- the nodes (for example, to support kubectl exec,
-- logs, and proxy data flows).
--
-- Amazon EKS nodes run in your Amazon Web Services account and connect
-- to your cluster's control plane over the Kubernetes API server
-- endpoint and a certificate file that is created for your cluster.
--
-- In most cases, it takes several minutes to create a cluster. After you
-- create an Amazon EKS cluster, you must configure your Kubernetes
-- tooling to communicate with the API server and launch nodes into your
-- cluster. For more information, see Managing Cluster
-- Authentication and Launching Amazon EKS nodes in the
-- Amazon EKS User Guide.
module Amazonka.EKS.CreateCluster
-- | See: newCreateCluster smart constructor.
data CreateCluster
CreateCluster' :: Maybe Text -> Maybe [EncryptionConfig] -> Maybe KubernetesNetworkConfigRequest -> Maybe Logging -> Maybe OutpostConfigRequest -> Maybe (HashMap Text Text) -> Maybe Text -> Text -> Text -> VpcConfigRequest -> CreateCluster
-- | Unique, case-sensitive identifier that you provide to ensure the
-- idempotency of the request.
[$sel:clientRequestToken:CreateCluster'] :: CreateCluster -> Maybe Text
-- | The encryption configuration for the cluster.
[$sel:encryptionConfig:CreateCluster'] :: CreateCluster -> Maybe [EncryptionConfig]
-- | The Kubernetes network configuration for the cluster.
[$sel:kubernetesNetworkConfig:CreateCluster'] :: CreateCluster -> Maybe KubernetesNetworkConfigRequest
-- | Enable or disable exporting the Kubernetes control plane logs for your
-- cluster to CloudWatch Logs. By default, cluster control plane logs
-- aren't exported to CloudWatch Logs. For more information, see
-- Amazon EKS Cluster control plane logs in the /Amazon EKS
-- User Guide/ .
--
-- CloudWatch Logs ingestion, archive storage, and data scanning rates
-- apply to exported control plane logs. For more information, see
-- CloudWatch Pricing.
[$sel:logging:CreateCluster'] :: CreateCluster -> Maybe Logging
-- | An object representing the configuration of your local Amazon EKS
-- cluster on an Amazon Web Services Outpost. Before creating a local
-- cluster on an Outpost, review Local clusters for Amazon EKS on
-- Amazon Web Services Outposts in the Amazon EKS User Guide.
-- This object isn't available for creating Amazon EKS clusters on the
-- Amazon Web Services cloud.
[$sel:outpostConfig:CreateCluster'] :: CreateCluster -> Maybe OutpostConfigRequest
-- | The metadata to apply to the cluster to assist with categorization and
-- organization. Each tag consists of a key and an optional value. You
-- define both.
[$sel:tags:CreateCluster'] :: CreateCluster -> Maybe (HashMap Text Text)
-- | The desired Kubernetes version for your cluster. If you don't specify
-- a value here, the default version available in Amazon EKS is used.
--
-- The default version might not be the latest version available.
[$sel:version:CreateCluster'] :: CreateCluster -> Maybe Text
-- | The unique name to give to your cluster.
[$sel:name:CreateCluster'] :: CreateCluster -> Text
-- | The Amazon Resource Name (ARN) of the IAM role that provides
-- permissions for the Kubernetes control plane to make calls to Amazon
-- Web Services API operations on your behalf. For more information, see
-- Amazon EKS Service IAM Role in the /Amazon EKS User
-- Guide/ .
[$sel:roleArn:CreateCluster'] :: CreateCluster -> Text
-- | The VPC configuration that's used by the cluster control plane. Amazon
-- EKS VPC resources have specific requirements to work properly with
-- Kubernetes. For more information, see Cluster VPC
-- Considerations and Cluster Security Group Considerations in
-- the Amazon EKS User Guide. You must specify at least two
-- subnets. You can specify up to five security groups. However, we
-- recommend that you use a dedicated security group for your cluster
-- control plane.
[$sel:resourcesVpcConfig:CreateCluster'] :: CreateCluster -> VpcConfigRequest
-- | Create a value of CreateCluster with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- CreateCluster, createCluster_clientRequestToken -
-- Unique, case-sensitive identifier that you provide to ensure the
-- idempotency of the request.
--
-- CreateCluster, createCluster_encryptionConfig - The
-- encryption configuration for the cluster.
--
-- CreateCluster, createCluster_kubernetesNetworkConfig -
-- The Kubernetes network configuration for the cluster.
--
-- CreateCluster, createCluster_logging - Enable or disable
-- exporting the Kubernetes control plane logs for your cluster to
-- CloudWatch Logs. By default, cluster control plane logs aren't
-- exported to CloudWatch Logs. For more information, see Amazon EKS
-- Cluster control plane logs in the /Amazon EKS User Guide/ .
--
-- CloudWatch Logs ingestion, archive storage, and data scanning rates
-- apply to exported control plane logs. For more information, see
-- CloudWatch Pricing.
--
-- CreateCluster, createCluster_outpostConfig - An object
-- representing the configuration of your local Amazon EKS cluster on an
-- Amazon Web Services Outpost. Before creating a local cluster on an
-- Outpost, review Local clusters for Amazon EKS on Amazon Web
-- Services Outposts in the Amazon EKS User Guide. This object
-- isn't available for creating Amazon EKS clusters on the Amazon Web
-- Services cloud.
--
-- CreateCluster, createCluster_tags - The metadata to
-- apply to the cluster to assist with categorization and organization.
-- Each tag consists of a key and an optional value. You define both.
--
-- CreateCluster, createCluster_version - The desired
-- Kubernetes version for your cluster. If you don't specify a value
-- here, the default version available in Amazon EKS is used.
--
-- The default version might not be the latest version available.
--
-- CreateCluster, createCluster_name - The unique name to
-- give to your cluster.
--
-- CreateCluster, createCluster_roleArn - The Amazon
-- Resource Name (ARN) of the IAM role that provides permissions for the
-- Kubernetes control plane to make calls to Amazon Web Services API
-- operations on your behalf. For more information, see Amazon EKS
-- Service IAM Role in the /Amazon EKS User Guide/ .
--
-- CreateCluster, createCluster_resourcesVpcConfig - The
-- VPC configuration that's used by the cluster control plane. Amazon EKS
-- VPC resources have specific requirements to work properly with
-- Kubernetes. For more information, see Cluster VPC
-- Considerations and Cluster Security Group Considerations in
-- the Amazon EKS User Guide. You must specify at least two
-- subnets. You can specify up to five security groups. However, we
-- recommend that you use a dedicated security group for your cluster
-- control plane.
newCreateCluster :: Text -> Text -> VpcConfigRequest -> CreateCluster
-- | Unique, case-sensitive identifier that you provide to ensure the
-- idempotency of the request.
createCluster_clientRequestToken :: Lens' CreateCluster (Maybe Text)
-- | The encryption configuration for the cluster.
createCluster_encryptionConfig :: Lens' CreateCluster (Maybe [EncryptionConfig])
-- | The Kubernetes network configuration for the cluster.
createCluster_kubernetesNetworkConfig :: Lens' CreateCluster (Maybe KubernetesNetworkConfigRequest)
-- | Enable or disable exporting the Kubernetes control plane logs for your
-- cluster to CloudWatch Logs. By default, cluster control plane logs
-- aren't exported to CloudWatch Logs. For more information, see
-- Amazon EKS Cluster control plane logs in the /Amazon EKS
-- User Guide/ .
--
-- CloudWatch Logs ingestion, archive storage, and data scanning rates
-- apply to exported control plane logs. For more information, see
-- CloudWatch Pricing.
createCluster_logging :: Lens' CreateCluster (Maybe Logging)
-- | An object representing the configuration of your local Amazon EKS
-- cluster on an Amazon Web Services Outpost. Before creating a local
-- cluster on an Outpost, review Local clusters for Amazon EKS on
-- Amazon Web Services Outposts in the Amazon EKS User Guide.
-- This object isn't available for creating Amazon EKS clusters on the
-- Amazon Web Services cloud.
createCluster_outpostConfig :: Lens' CreateCluster (Maybe OutpostConfigRequest)
-- | The metadata to apply to the cluster to assist with categorization and
-- organization. Each tag consists of a key and an optional value. You
-- define both.
createCluster_tags :: Lens' CreateCluster (Maybe (HashMap Text Text))
-- | The desired Kubernetes version for your cluster. If you don't specify
-- a value here, the default version available in Amazon EKS is used.
--
-- The default version might not be the latest version available.
createCluster_version :: Lens' CreateCluster (Maybe Text)
-- | The unique name to give to your cluster.
createCluster_name :: Lens' CreateCluster Text
-- | The Amazon Resource Name (ARN) of the IAM role that provides
-- permissions for the Kubernetes control plane to make calls to Amazon
-- Web Services API operations on your behalf. For more information, see
-- Amazon EKS Service IAM Role in the /Amazon EKS User
-- Guide/ .
createCluster_roleArn :: Lens' CreateCluster Text
-- | The VPC configuration that's used by the cluster control plane. Amazon
-- EKS VPC resources have specific requirements to work properly with
-- Kubernetes. For more information, see Cluster VPC
-- Considerations and Cluster Security Group Considerations in
-- the Amazon EKS User Guide. You must specify at least two
-- subnets. You can specify up to five security groups. However, we
-- recommend that you use a dedicated security group for your cluster
-- control plane.
createCluster_resourcesVpcConfig :: Lens' CreateCluster VpcConfigRequest
-- | See: newCreateClusterResponse smart constructor.
data CreateClusterResponse
CreateClusterResponse' :: Maybe Cluster -> Int -> CreateClusterResponse
-- | The full description of your new cluster.
[$sel:cluster:CreateClusterResponse'] :: CreateClusterResponse -> Maybe Cluster
-- | The response's http status code.
[$sel:httpStatus:CreateClusterResponse'] :: CreateClusterResponse -> Int
-- | Create a value of CreateClusterResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:cluster:CreateClusterResponse',
-- createClusterResponse_cluster - The full description of your
-- new cluster.
--
-- $sel:httpStatus:CreateClusterResponse',
-- createClusterResponse_httpStatus - The response's http status
-- code.
newCreateClusterResponse :: Int -> CreateClusterResponse
-- | The full description of your new cluster.
createClusterResponse_cluster :: Lens' CreateClusterResponse (Maybe Cluster)
-- | The response's http status code.
createClusterResponse_httpStatus :: Lens' CreateClusterResponse Int
instance GHC.Generics.Generic Amazonka.EKS.CreateCluster.CreateCluster
instance GHC.Show.Show Amazonka.EKS.CreateCluster.CreateCluster
instance GHC.Read.Read Amazonka.EKS.CreateCluster.CreateCluster
instance GHC.Classes.Eq Amazonka.EKS.CreateCluster.CreateCluster
instance GHC.Generics.Generic Amazonka.EKS.CreateCluster.CreateClusterResponse
instance GHC.Show.Show Amazonka.EKS.CreateCluster.CreateClusterResponse
instance GHC.Read.Read Amazonka.EKS.CreateCluster.CreateClusterResponse
instance GHC.Classes.Eq Amazonka.EKS.CreateCluster.CreateClusterResponse
instance Amazonka.Types.AWSRequest Amazonka.EKS.CreateCluster.CreateCluster
instance Control.DeepSeq.NFData Amazonka.EKS.CreateCluster.CreateClusterResponse
instance Data.Hashable.Class.Hashable Amazonka.EKS.CreateCluster.CreateCluster
instance Control.DeepSeq.NFData Amazonka.EKS.CreateCluster.CreateCluster
instance Amazonka.Data.Headers.ToHeaders Amazonka.EKS.CreateCluster.CreateCluster
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.EKS.CreateCluster.CreateCluster
instance Amazonka.Data.Path.ToPath Amazonka.EKS.CreateCluster.CreateCluster
instance Amazonka.Data.Query.ToQuery Amazonka.EKS.CreateCluster.CreateCluster
-- | Creates an Amazon EKS add-on.
--
-- Amazon EKS add-ons help to automate the provisioning and lifecycle
-- management of common operational software for Amazon EKS clusters. For
-- more information, see Amazon EKS add-ons in the Amazon EKS
-- User Guide.
module Amazonka.EKS.CreateAddon
-- | See: newCreateAddon smart constructor.
data CreateAddon
CreateAddon' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe ResolveConflicts -> Maybe Text -> Maybe (HashMap Text Text) -> Text -> Text -> CreateAddon
-- | The version of the add-on. The version must match one of the versions
-- returned by DescribeAddonVersions .
[$sel:addonVersion:CreateAddon'] :: CreateAddon -> Maybe Text
-- | A unique, case-sensitive identifier that you provide to ensure the
-- idempotency of the request.
[$sel:clientRequestToken:CreateAddon'] :: CreateAddon -> Maybe Text
-- | The set of configuration values for the add-on that's created. The
-- values that you provide are validated against the schema in
-- DescribeAddonConfiguration .
[$sel:configurationValues:CreateAddon'] :: CreateAddon -> Maybe Text
-- | How to resolve field value conflicts for an Amazon EKS add-on.
-- Conflicts are handled based on the value you choose:
--
--
-- - None – If the self-managed version of the add-on is
-- installed on your cluster, Amazon EKS doesn't change the value.
-- Creation of the add-on might fail.
-- - Overwrite – If the self-managed version of the add-on is
-- installed on your cluster and the Amazon EKS default value is
-- different than the existing value, Amazon EKS changes the value to the
-- Amazon EKS default value.
-- - Preserve – Not supported. You can set this value when
-- updating an add-on though. For more information, see
-- UpdateAddon.
--
--
-- If you don't currently have the self-managed version of the add-on
-- installed on your cluster, the Amazon EKS add-on is installed. Amazon
-- EKS sets all values to default values, regardless of the option that
-- you specify.
[$sel:resolveConflicts:CreateAddon'] :: CreateAddon -> Maybe ResolveConflicts
-- | The Amazon Resource Name (ARN) of an existing IAM role to bind to the
-- add-on's service account. The role must be assigned the IAM
-- permissions required by the add-on. If you don't specify an existing
-- IAM role, then the add-on uses the permissions assigned to the node
-- IAM role. For more information, see Amazon EKS node IAM role in
-- the Amazon EKS User Guide.
--
-- To specify an existing IAM role, you must have an IAM OpenID Connect
-- (OIDC) provider created for your cluster. For more information, see
-- Enabling IAM roles for service accounts on your cluster in the
-- Amazon EKS User Guide.
[$sel:serviceAccountRoleArn:CreateAddon'] :: CreateAddon -> Maybe Text
-- | The metadata to apply to the cluster to assist with categorization and
-- organization. Each tag consists of a key and an optional value. You
-- define both.
[$sel:tags:CreateAddon'] :: CreateAddon -> Maybe (HashMap Text Text)
-- | The name of the cluster to create the add-on for.
[$sel:clusterName:CreateAddon'] :: CreateAddon -> Text
-- | The name of the add-on. The name must match one of the names that
-- DescribeAddonVersions returns.
[$sel:addonName:CreateAddon'] :: CreateAddon -> Text
-- | Create a value of CreateAddon with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- CreateAddon, createAddon_addonVersion - The version of
-- the add-on. The version must match one of the versions returned by
-- DescribeAddonVersions .
--
-- CreateAddon, createAddon_clientRequestToken - A unique,
-- case-sensitive identifier that you provide to ensure the idempotency
-- of the request.
--
-- CreateAddon, createAddon_configurationValues - The set
-- of configuration values for the add-on that's created. The values that
-- you provide are validated against the schema in
-- DescribeAddonConfiguration .
--
-- $sel:resolveConflicts:CreateAddon',
-- createAddon_resolveConflicts - How to resolve field value
-- conflicts for an Amazon EKS add-on. Conflicts are handled based on the
-- value you choose:
--
--
-- - None – If the self-managed version of the add-on is
-- installed on your cluster, Amazon EKS doesn't change the value.
-- Creation of the add-on might fail.
-- - Overwrite – If the self-managed version of the add-on is
-- installed on your cluster and the Amazon EKS default value is
-- different than the existing value, Amazon EKS changes the value to the
-- Amazon EKS default value.
-- - Preserve – Not supported. You can set this value when
-- updating an add-on though. For more information, see
-- UpdateAddon.
--
--
-- If you don't currently have the self-managed version of the add-on
-- installed on your cluster, the Amazon EKS add-on is installed. Amazon
-- EKS sets all values to default values, regardless of the option that
-- you specify.
--
-- CreateAddon, createAddon_serviceAccountRoleArn - The
-- Amazon Resource Name (ARN) of an existing IAM role to bind to the
-- add-on's service account. The role must be assigned the IAM
-- permissions required by the add-on. If you don't specify an existing
-- IAM role, then the add-on uses the permissions assigned to the node
-- IAM role. For more information, see Amazon EKS node IAM role in
-- the Amazon EKS User Guide.
--
-- To specify an existing IAM role, you must have an IAM OpenID Connect
-- (OIDC) provider created for your cluster. For more information, see
-- Enabling IAM roles for service accounts on your cluster in the
-- Amazon EKS User Guide.
--
-- CreateAddon, createAddon_tags - The metadata to apply to
-- the cluster to assist with categorization and organization. Each tag
-- consists of a key and an optional value. You define both.
--
-- CreateAddon, createAddon_clusterName - The name of the
-- cluster to create the add-on for.
--
-- CreateAddon, createAddon_addonName - The name of the
-- add-on. The name must match one of the names that
-- DescribeAddonVersions returns.
newCreateAddon :: Text -> Text -> CreateAddon
-- | The version of the add-on. The version must match one of the versions
-- returned by DescribeAddonVersions .
createAddon_addonVersion :: Lens' CreateAddon (Maybe Text)
-- | A unique, case-sensitive identifier that you provide to ensure the
-- idempotency of the request.
createAddon_clientRequestToken :: Lens' CreateAddon (Maybe Text)
-- | The set of configuration values for the add-on that's created. The
-- values that you provide are validated against the schema in
-- DescribeAddonConfiguration .
createAddon_configurationValues :: Lens' CreateAddon (Maybe Text)
-- | How to resolve field value conflicts for an Amazon EKS add-on.
-- Conflicts are handled based on the value you choose:
--
--
-- - None – If the self-managed version of the add-on is
-- installed on your cluster, Amazon EKS doesn't change the value.
-- Creation of the add-on might fail.
-- - Overwrite – If the self-managed version of the add-on is
-- installed on your cluster and the Amazon EKS default value is
-- different than the existing value, Amazon EKS changes the value to the
-- Amazon EKS default value.
-- - Preserve – Not supported. You can set this value when
-- updating an add-on though. For more information, see
-- UpdateAddon.
--
--
-- If you don't currently have the self-managed version of the add-on
-- installed on your cluster, the Amazon EKS add-on is installed. Amazon
-- EKS sets all values to default values, regardless of the option that
-- you specify.
createAddon_resolveConflicts :: Lens' CreateAddon (Maybe ResolveConflicts)
-- | The Amazon Resource Name (ARN) of an existing IAM role to bind to the
-- add-on's service account. The role must be assigned the IAM
-- permissions required by the add-on. If you don't specify an existing
-- IAM role, then the add-on uses the permissions assigned to the node
-- IAM role. For more information, see Amazon EKS node IAM role in
-- the Amazon EKS User Guide.
--
-- To specify an existing IAM role, you must have an IAM OpenID Connect
-- (OIDC) provider created for your cluster. For more information, see
-- Enabling IAM roles for service accounts on your cluster in the
-- Amazon EKS User Guide.
createAddon_serviceAccountRoleArn :: Lens' CreateAddon (Maybe Text)
-- | The metadata to apply to the cluster to assist with categorization and
-- organization. Each tag consists of a key and an optional value. You
-- define both.
createAddon_tags :: Lens' CreateAddon (Maybe (HashMap Text Text))
-- | The name of the cluster to create the add-on for.
createAddon_clusterName :: Lens' CreateAddon Text
-- | The name of the add-on. The name must match one of the names that
-- DescribeAddonVersions returns.
createAddon_addonName :: Lens' CreateAddon Text
-- | See: newCreateAddonResponse smart constructor.
data CreateAddonResponse
CreateAddonResponse' :: Maybe Addon -> Int -> CreateAddonResponse
[$sel:addon:CreateAddonResponse'] :: CreateAddonResponse -> Maybe Addon
-- | The response's http status code.
[$sel:httpStatus:CreateAddonResponse'] :: CreateAddonResponse -> Int
-- | Create a value of CreateAddonResponse with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:addon:CreateAddonResponse',
-- createAddonResponse_addon - Undocumented member.
--
-- $sel:httpStatus:CreateAddonResponse',
-- createAddonResponse_httpStatus - The response's http status
-- code.
newCreateAddonResponse :: Int -> CreateAddonResponse
-- | Undocumented member.
createAddonResponse_addon :: Lens' CreateAddonResponse (Maybe Addon)
-- | The response's http status code.
createAddonResponse_httpStatus :: Lens' CreateAddonResponse Int
instance GHC.Generics.Generic Amazonka.EKS.CreateAddon.CreateAddon
instance GHC.Show.Show Amazonka.EKS.CreateAddon.CreateAddon
instance GHC.Read.Read Amazonka.EKS.CreateAddon.CreateAddon
instance GHC.Classes.Eq Amazonka.EKS.CreateAddon.CreateAddon
instance GHC.Generics.Generic Amazonka.EKS.CreateAddon.CreateAddonResponse
instance GHC.Show.Show Amazonka.EKS.CreateAddon.CreateAddonResponse
instance GHC.Read.Read Amazonka.EKS.CreateAddon.CreateAddonResponse
instance GHC.Classes.Eq Amazonka.EKS.CreateAddon.CreateAddonResponse
instance Amazonka.Types.AWSRequest Amazonka.EKS.CreateAddon.CreateAddon
instance Control.DeepSeq.NFData Amazonka.EKS.CreateAddon.CreateAddonResponse
instance Data.Hashable.Class.Hashable Amazonka.EKS.CreateAddon.CreateAddon
instance Control.DeepSeq.NFData Amazonka.EKS.CreateAddon.CreateAddon
instance Amazonka.Data.Headers.ToHeaders Amazonka.EKS.CreateAddon.CreateAddon
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.EKS.CreateAddon.CreateAddon
instance Amazonka.Data.Path.ToPath Amazonka.EKS.CreateAddon.CreateAddon
instance Amazonka.Data.Query.ToQuery Amazonka.EKS.CreateAddon.CreateAddon
-- | Associate an identity provider configuration to a cluster.
--
-- If you want to authenticate identities using an identity provider, you
-- can create an identity provider configuration and associate it to your
-- cluster. After configuring authentication to your cluster you can
-- create Kubernetes roles and clusterroles to assign
-- permissions to the roles, and then bind the roles to the identities
-- using Kubernetes rolebindings and
-- clusterrolebindings. For more information see Using RBAC
-- Authorization in the Kubernetes documentation.
module Amazonka.EKS.AssociateIdentityProviderConfig
-- | See: newAssociateIdentityProviderConfig smart
-- constructor.
data AssociateIdentityProviderConfig
AssociateIdentityProviderConfig' :: Maybe Text -> Maybe (HashMap Text Text) -> Text -> OidcIdentityProviderConfigRequest -> AssociateIdentityProviderConfig
-- | Unique, case-sensitive identifier that you provide to ensure the
-- idempotency of the request.
[$sel:clientRequestToken:AssociateIdentityProviderConfig'] :: AssociateIdentityProviderConfig -> Maybe Text
-- | The metadata to apply to the configuration to assist with
-- categorization and organization. Each tag consists of a key and an
-- optional value. You define both.
[$sel:tags:AssociateIdentityProviderConfig'] :: AssociateIdentityProviderConfig -> Maybe (HashMap Text Text)
-- | The name of the cluster to associate the configuration to.
[$sel:clusterName:AssociateIdentityProviderConfig'] :: AssociateIdentityProviderConfig -> Text
-- | An object representing an OpenID Connect (OIDC) identity provider
-- configuration.
[$sel:oidc:AssociateIdentityProviderConfig'] :: AssociateIdentityProviderConfig -> OidcIdentityProviderConfigRequest
-- | Create a value of AssociateIdentityProviderConfig with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- AssociateIdentityProviderConfig,
-- associateIdentityProviderConfig_clientRequestToken - Unique,
-- case-sensitive identifier that you provide to ensure the idempotency
-- of the request.
--
-- AssociateIdentityProviderConfig,
-- associateIdentityProviderConfig_tags - The metadata to apply to
-- the configuration to assist with categorization and organization. Each
-- tag consists of a key and an optional value. You define both.
--
-- AssociateIdentityProviderConfig,
-- associateIdentityProviderConfig_clusterName - The name of the
-- cluster to associate the configuration to.
--
-- AssociateIdentityProviderConfig,
-- associateIdentityProviderConfig_oidc - An object representing
-- an OpenID Connect (OIDC) identity provider configuration.
newAssociateIdentityProviderConfig :: Text -> OidcIdentityProviderConfigRequest -> AssociateIdentityProviderConfig
-- | Unique, case-sensitive identifier that you provide to ensure the
-- idempotency of the request.
associateIdentityProviderConfig_clientRequestToken :: Lens' AssociateIdentityProviderConfig (Maybe Text)
-- | The metadata to apply to the configuration to assist with
-- categorization and organization. Each tag consists of a key and an
-- optional value. You define both.
associateIdentityProviderConfig_tags :: Lens' AssociateIdentityProviderConfig (Maybe (HashMap Text Text))
-- | The name of the cluster to associate the configuration to.
associateIdentityProviderConfig_clusterName :: Lens' AssociateIdentityProviderConfig Text
-- | An object representing an OpenID Connect (OIDC) identity provider
-- configuration.
associateIdentityProviderConfig_oidc :: Lens' AssociateIdentityProviderConfig OidcIdentityProviderConfigRequest
-- | See: newAssociateIdentityProviderConfigResponse smart
-- constructor.
data AssociateIdentityProviderConfigResponse
AssociateIdentityProviderConfigResponse' :: Maybe (HashMap Text Text) -> Maybe Update -> Int -> AssociateIdentityProviderConfigResponse
-- | The tags for the resource.
[$sel:tags:AssociateIdentityProviderConfigResponse'] :: AssociateIdentityProviderConfigResponse -> Maybe (HashMap Text Text)
[$sel:update:AssociateIdentityProviderConfigResponse'] :: AssociateIdentityProviderConfigResponse -> Maybe Update
-- | The response's http status code.
[$sel:httpStatus:AssociateIdentityProviderConfigResponse'] :: AssociateIdentityProviderConfigResponse -> Int
-- | Create a value of AssociateIdentityProviderConfigResponse with
-- all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- AssociateIdentityProviderConfig,
-- associateIdentityProviderConfigResponse_tags - The tags for the
-- resource.
--
-- $sel:update:AssociateIdentityProviderConfigResponse',
-- associateIdentityProviderConfigResponse_update - Undocumented
-- member.
--
-- $sel:httpStatus:AssociateIdentityProviderConfigResponse',
-- associateIdentityProviderConfigResponse_httpStatus - The
-- response's http status code.
newAssociateIdentityProviderConfigResponse :: Int -> AssociateIdentityProviderConfigResponse
-- | The tags for the resource.
associateIdentityProviderConfigResponse_tags :: Lens' AssociateIdentityProviderConfigResponse (Maybe (HashMap Text Text))
-- | Undocumented member.
associateIdentityProviderConfigResponse_update :: Lens' AssociateIdentityProviderConfigResponse (Maybe Update)
-- | The response's http status code.
associateIdentityProviderConfigResponse_httpStatus :: Lens' AssociateIdentityProviderConfigResponse Int
instance GHC.Generics.Generic Amazonka.EKS.AssociateIdentityProviderConfig.AssociateIdentityProviderConfig
instance GHC.Show.Show Amazonka.EKS.AssociateIdentityProviderConfig.AssociateIdentityProviderConfig
instance GHC.Read.Read Amazonka.EKS.AssociateIdentityProviderConfig.AssociateIdentityProviderConfig
instance GHC.Classes.Eq Amazonka.EKS.AssociateIdentityProviderConfig.AssociateIdentityProviderConfig
instance GHC.Generics.Generic Amazonka.EKS.AssociateIdentityProviderConfig.AssociateIdentityProviderConfigResponse
instance GHC.Show.Show Amazonka.EKS.AssociateIdentityProviderConfig.AssociateIdentityProviderConfigResponse
instance GHC.Read.Read Amazonka.EKS.AssociateIdentityProviderConfig.AssociateIdentityProviderConfigResponse
instance GHC.Classes.Eq Amazonka.EKS.AssociateIdentityProviderConfig.AssociateIdentityProviderConfigResponse
instance Amazonka.Types.AWSRequest Amazonka.EKS.AssociateIdentityProviderConfig.AssociateIdentityProviderConfig
instance Control.DeepSeq.NFData Amazonka.EKS.AssociateIdentityProviderConfig.AssociateIdentityProviderConfigResponse
instance Data.Hashable.Class.Hashable Amazonka.EKS.AssociateIdentityProviderConfig.AssociateIdentityProviderConfig
instance Control.DeepSeq.NFData Amazonka.EKS.AssociateIdentityProviderConfig.AssociateIdentityProviderConfig
instance Amazonka.Data.Headers.ToHeaders Amazonka.EKS.AssociateIdentityProviderConfig.AssociateIdentityProviderConfig
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.EKS.AssociateIdentityProviderConfig.AssociateIdentityProviderConfig
instance Amazonka.Data.Path.ToPath Amazonka.EKS.AssociateIdentityProviderConfig.AssociateIdentityProviderConfig
instance Amazonka.Data.Query.ToQuery Amazonka.EKS.AssociateIdentityProviderConfig.AssociateIdentityProviderConfig
-- | Associate encryption configuration to an existing cluster.
--
-- You can use this API to enable encryption on existing clusters which
-- do not have encryption already enabled. This allows you to implement a
-- defense-in-depth security strategy without migrating applications to
-- new Amazon EKS clusters.
module Amazonka.EKS.AssociateEncryptionConfig
-- | See: newAssociateEncryptionConfig smart constructor.
data AssociateEncryptionConfig
AssociateEncryptionConfig' :: Maybe Text -> Text -> [EncryptionConfig] -> AssociateEncryptionConfig
-- | The client request token you are using with the encryption
-- configuration.
[$sel:clientRequestToken:AssociateEncryptionConfig'] :: AssociateEncryptionConfig -> Maybe Text
-- | The name of the cluster that you are associating with encryption
-- configuration.
[$sel:clusterName:AssociateEncryptionConfig'] :: AssociateEncryptionConfig -> Text
-- | The configuration you are using for encryption.
[$sel:encryptionConfig:AssociateEncryptionConfig'] :: AssociateEncryptionConfig -> [EncryptionConfig]
-- | Create a value of AssociateEncryptionConfig with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- AssociateEncryptionConfig,
-- associateEncryptionConfig_clientRequestToken - The client
-- request token you are using with the encryption configuration.
--
-- AssociateEncryptionConfig,
-- associateEncryptionConfig_clusterName - The name of the cluster
-- that you are associating with encryption configuration.
--
-- AssociateEncryptionConfig,
-- associateEncryptionConfig_encryptionConfig - The configuration
-- you are using for encryption.
newAssociateEncryptionConfig :: Text -> AssociateEncryptionConfig
-- | The client request token you are using with the encryption
-- configuration.
associateEncryptionConfig_clientRequestToken :: Lens' AssociateEncryptionConfig (Maybe Text)
-- | The name of the cluster that you are associating with encryption
-- configuration.
associateEncryptionConfig_clusterName :: Lens' AssociateEncryptionConfig Text
-- | The configuration you are using for encryption.
associateEncryptionConfig_encryptionConfig :: Lens' AssociateEncryptionConfig [EncryptionConfig]
-- | See: newAssociateEncryptionConfigResponse smart
-- constructor.
data AssociateEncryptionConfigResponse
AssociateEncryptionConfigResponse' :: Maybe Update -> Int -> AssociateEncryptionConfigResponse
[$sel:update:AssociateEncryptionConfigResponse'] :: AssociateEncryptionConfigResponse -> Maybe Update
-- | The response's http status code.
[$sel:httpStatus:AssociateEncryptionConfigResponse'] :: AssociateEncryptionConfigResponse -> Int
-- | Create a value of AssociateEncryptionConfigResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:update:AssociateEncryptionConfigResponse',
-- associateEncryptionConfigResponse_update - Undocumented member.
--
-- $sel:httpStatus:AssociateEncryptionConfigResponse',
-- associateEncryptionConfigResponse_httpStatus - The response's
-- http status code.
newAssociateEncryptionConfigResponse :: Int -> AssociateEncryptionConfigResponse
-- | Undocumented member.
associateEncryptionConfigResponse_update :: Lens' AssociateEncryptionConfigResponse (Maybe Update)
-- | The response's http status code.
associateEncryptionConfigResponse_httpStatus :: Lens' AssociateEncryptionConfigResponse Int
instance GHC.Generics.Generic Amazonka.EKS.AssociateEncryptionConfig.AssociateEncryptionConfig
instance GHC.Show.Show Amazonka.EKS.AssociateEncryptionConfig.AssociateEncryptionConfig
instance GHC.Read.Read Amazonka.EKS.AssociateEncryptionConfig.AssociateEncryptionConfig
instance GHC.Classes.Eq Amazonka.EKS.AssociateEncryptionConfig.AssociateEncryptionConfig
instance GHC.Generics.Generic Amazonka.EKS.AssociateEncryptionConfig.AssociateEncryptionConfigResponse
instance GHC.Show.Show Amazonka.EKS.AssociateEncryptionConfig.AssociateEncryptionConfigResponse
instance GHC.Read.Read Amazonka.EKS.AssociateEncryptionConfig.AssociateEncryptionConfigResponse
instance GHC.Classes.Eq Amazonka.EKS.AssociateEncryptionConfig.AssociateEncryptionConfigResponse
instance Amazonka.Types.AWSRequest Amazonka.EKS.AssociateEncryptionConfig.AssociateEncryptionConfig
instance Control.DeepSeq.NFData Amazonka.EKS.AssociateEncryptionConfig.AssociateEncryptionConfigResponse
instance Data.Hashable.Class.Hashable Amazonka.EKS.AssociateEncryptionConfig.AssociateEncryptionConfig
instance Control.DeepSeq.NFData Amazonka.EKS.AssociateEncryptionConfig.AssociateEncryptionConfig
instance Amazonka.Data.Headers.ToHeaders Amazonka.EKS.AssociateEncryptionConfig.AssociateEncryptionConfig
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.EKS.AssociateEncryptionConfig.AssociateEncryptionConfig
instance Amazonka.Data.Path.ToPath Amazonka.EKS.AssociateEncryptionConfig.AssociateEncryptionConfig
instance Amazonka.Data.Query.ToQuery Amazonka.EKS.AssociateEncryptionConfig.AssociateEncryptionConfig
-- | Deletes specified tags from a resource.
module Amazonka.EKS.UntagResource
-- | See: newUntagResource smart constructor.
data UntagResource
UntagResource' :: Text -> NonEmpty Text -> UntagResource
-- | The Amazon Resource Name (ARN) of the resource from which to delete
-- tags. Currently, the supported resources are Amazon EKS clusters and
-- managed node groups.
[$sel:resourceArn:UntagResource'] :: UntagResource -> Text
-- | The keys of the tags to be removed.
[$sel:tagKeys:UntagResource'] :: UntagResource -> NonEmpty Text
-- | Create a value of UntagResource with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:resourceArn:UntagResource',
-- untagResource_resourceArn - The Amazon Resource Name (ARN) of
-- the resource from which to delete tags. Currently, the supported
-- resources are Amazon EKS clusters and managed node groups.
--
-- $sel:tagKeys:UntagResource', untagResource_tagKeys - The
-- keys of the tags to be removed.
newUntagResource :: Text -> NonEmpty Text -> UntagResource
-- | The Amazon Resource Name (ARN) of the resource from which to delete
-- tags. Currently, the supported resources are Amazon EKS clusters and
-- managed node groups.
untagResource_resourceArn :: Lens' UntagResource Text
-- | The keys of the tags to be removed.
untagResource_tagKeys :: Lens' UntagResource (NonEmpty Text)
-- | See: newUntagResourceResponse smart constructor.
data UntagResourceResponse
UntagResourceResponse' :: Int -> UntagResourceResponse
-- | The response's http status code.
[$sel:httpStatus:UntagResourceResponse'] :: UntagResourceResponse -> Int
-- | Create a value of UntagResourceResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:httpStatus:UntagResourceResponse',
-- untagResourceResponse_httpStatus - The response's http status
-- code.
newUntagResourceResponse :: Int -> UntagResourceResponse
-- | The response's http status code.
untagResourceResponse_httpStatus :: Lens' UntagResourceResponse Int
instance GHC.Generics.Generic Amazonka.EKS.UntagResource.UntagResource
instance GHC.Show.Show Amazonka.EKS.UntagResource.UntagResource
instance GHC.Read.Read Amazonka.EKS.UntagResource.UntagResource
instance GHC.Classes.Eq Amazonka.EKS.UntagResource.UntagResource
instance GHC.Generics.Generic Amazonka.EKS.UntagResource.UntagResourceResponse
instance GHC.Show.Show Amazonka.EKS.UntagResource.UntagResourceResponse
instance GHC.Read.Read Amazonka.EKS.UntagResource.UntagResourceResponse
instance GHC.Classes.Eq Amazonka.EKS.UntagResource.UntagResourceResponse
instance Amazonka.Types.AWSRequest Amazonka.EKS.UntagResource.UntagResource
instance Control.DeepSeq.NFData Amazonka.EKS.UntagResource.UntagResourceResponse
instance Data.Hashable.Class.Hashable Amazonka.EKS.UntagResource.UntagResource
instance Control.DeepSeq.NFData Amazonka.EKS.UntagResource.UntagResource
instance Amazonka.Data.Headers.ToHeaders Amazonka.EKS.UntagResource.UntagResource
instance Amazonka.Data.Path.ToPath Amazonka.EKS.UntagResource.UntagResource
instance Amazonka.Data.Query.ToQuery Amazonka.EKS.UntagResource.UntagResource
-- | Updates an Amazon EKS add-on.
module Amazonka.EKS.UpdateAddon
-- | See: newUpdateAddon smart constructor.
data UpdateAddon
UpdateAddon' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe ResolveConflicts -> Maybe Text -> Text -> Text -> UpdateAddon
-- | The version of the add-on. The version must match one of the versions
-- returned by DescribeAddonVersions .
[$sel:addonVersion:UpdateAddon'] :: UpdateAddon -> Maybe Text
-- | Unique, case-sensitive identifier that you provide to ensure the
-- idempotency of the request.
[$sel:clientRequestToken:UpdateAddon'] :: UpdateAddon -> Maybe Text
-- | The set of configuration values for the add-on that's created. The
-- values that you provide are validated against the schema in
-- DescribeAddonConfiguration.
[$sel:configurationValues:UpdateAddon'] :: UpdateAddon -> Maybe Text
-- | How to resolve field value conflicts for an Amazon EKS add-on if
-- you've changed a value from the Amazon EKS default value. Conflicts
-- are handled based on the option you choose:
--
--
-- - None – Amazon EKS doesn't change the value. The update
-- might fail.
-- - Overwrite – Amazon EKS overwrites the changed value back to
-- the Amazon EKS default value.
-- - Preserve – Amazon EKS preserves the value. If you choose
-- this option, we recommend that you test any field and value changes on
-- a non-production cluster before updating the add-on on your production
-- cluster.
--
[$sel:resolveConflicts:UpdateAddon'] :: UpdateAddon -> Maybe ResolveConflicts
-- | The Amazon Resource Name (ARN) of an existing IAM role to bind to the
-- add-on's service account. The role must be assigned the IAM
-- permissions required by the add-on. If you don't specify an existing
-- IAM role, then the add-on uses the permissions assigned to the node
-- IAM role. For more information, see Amazon EKS node IAM role in
-- the Amazon EKS User Guide.
--
-- To specify an existing IAM role, you must have an IAM OpenID Connect
-- (OIDC) provider created for your cluster. For more information, see
-- Enabling IAM roles for service accounts on your cluster in the
-- Amazon EKS User Guide.
[$sel:serviceAccountRoleArn:UpdateAddon'] :: UpdateAddon -> Maybe Text
-- | The name of the cluster.
[$sel:clusterName:UpdateAddon'] :: UpdateAddon -> Text
-- | The name of the add-on. The name must match one of the names returned
-- by ListAddons .
[$sel:addonName:UpdateAddon'] :: UpdateAddon -> Text
-- | Create a value of UpdateAddon with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- UpdateAddon, updateAddon_addonVersion - The version of
-- the add-on. The version must match one of the versions returned by
-- DescribeAddonVersions .
--
-- UpdateAddon, updateAddon_clientRequestToken - Unique,
-- case-sensitive identifier that you provide to ensure the idempotency
-- of the request.
--
-- UpdateAddon, updateAddon_configurationValues - The set
-- of configuration values for the add-on that's created. The values that
-- you provide are validated against the schema in
-- DescribeAddonConfiguration.
--
-- $sel:resolveConflicts:UpdateAddon',
-- updateAddon_resolveConflicts - How to resolve field value
-- conflicts for an Amazon EKS add-on if you've changed a value from the
-- Amazon EKS default value. Conflicts are handled based on the option
-- you choose:
--
--
-- - None – Amazon EKS doesn't change the value. The update
-- might fail.
-- - Overwrite – Amazon EKS overwrites the changed value back to
-- the Amazon EKS default value.
-- - Preserve – Amazon EKS preserves the value. If you choose
-- this option, we recommend that you test any field and value changes on
-- a non-production cluster before updating the add-on on your production
-- cluster.
--
--
-- UpdateAddon, updateAddon_serviceAccountRoleArn - The
-- Amazon Resource Name (ARN) of an existing IAM role to bind to the
-- add-on's service account. The role must be assigned the IAM
-- permissions required by the add-on. If you don't specify an existing
-- IAM role, then the add-on uses the permissions assigned to the node
-- IAM role. For more information, see Amazon EKS node IAM role in
-- the Amazon EKS User Guide.
--
-- To specify an existing IAM role, you must have an IAM OpenID Connect
-- (OIDC) provider created for your cluster. For more information, see
-- Enabling IAM roles for service accounts on your cluster in the
-- Amazon EKS User Guide.
--
-- UpdateAddon, updateAddon_clusterName - The name of the
-- cluster.
--
-- UpdateAddon, updateAddon_addonName - The name of the
-- add-on. The name must match one of the names returned by
-- ListAddons .
newUpdateAddon :: Text -> Text -> UpdateAddon
-- | The version of the add-on. The version must match one of the versions
-- returned by DescribeAddonVersions .
updateAddon_addonVersion :: Lens' UpdateAddon (Maybe Text)
-- | Unique, case-sensitive identifier that you provide to ensure the
-- idempotency of the request.
updateAddon_clientRequestToken :: Lens' UpdateAddon (Maybe Text)
-- | The set of configuration values for the add-on that's created. The
-- values that you provide are validated against the schema in
-- DescribeAddonConfiguration.
updateAddon_configurationValues :: Lens' UpdateAddon (Maybe Text)
-- | How to resolve field value conflicts for an Amazon EKS add-on if
-- you've changed a value from the Amazon EKS default value. Conflicts
-- are handled based on the option you choose:
--
--
-- - None – Amazon EKS doesn't change the value. The update
-- might fail.
-- - Overwrite – Amazon EKS overwrites the changed value back to
-- the Amazon EKS default value.
-- - Preserve – Amazon EKS preserves the value. If you choose
-- this option, we recommend that you test any field and value changes on
-- a non-production cluster before updating the add-on on your production
-- cluster.
--
updateAddon_resolveConflicts :: Lens' UpdateAddon (Maybe ResolveConflicts)
-- | The Amazon Resource Name (ARN) of an existing IAM role to bind to the
-- add-on's service account. The role must be assigned the IAM
-- permissions required by the add-on. If you don't specify an existing
-- IAM role, then the add-on uses the permissions assigned to the node
-- IAM role. For more information, see Amazon EKS node IAM role in
-- the Amazon EKS User Guide.
--
-- To specify an existing IAM role, you must have an IAM OpenID Connect
-- (OIDC) provider created for your cluster. For more information, see
-- Enabling IAM roles for service accounts on your cluster in the
-- Amazon EKS User Guide.
updateAddon_serviceAccountRoleArn :: Lens' UpdateAddon (Maybe Text)
-- | The name of the cluster.
updateAddon_clusterName :: Lens' UpdateAddon Text
-- | The name of the add-on. The name must match one of the names returned
-- by ListAddons .
updateAddon_addonName :: Lens' UpdateAddon Text
-- | See: newUpdateAddonResponse smart constructor.
data UpdateAddonResponse
UpdateAddonResponse' :: Maybe Update -> Int -> UpdateAddonResponse
[$sel:update:UpdateAddonResponse'] :: UpdateAddonResponse -> Maybe Update
-- | The response's http status code.
[$sel:httpStatus:UpdateAddonResponse'] :: UpdateAddonResponse -> Int
-- | Create a value of UpdateAddonResponse with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:update:UpdateAddonResponse',
-- updateAddonResponse_update - Undocumented member.
--
-- $sel:httpStatus:UpdateAddonResponse',
-- updateAddonResponse_httpStatus - The response's http status
-- code.
newUpdateAddonResponse :: Int -> UpdateAddonResponse
-- | Undocumented member.
updateAddonResponse_update :: Lens' UpdateAddonResponse (Maybe Update)
-- | The response's http status code.
updateAddonResponse_httpStatus :: Lens' UpdateAddonResponse Int
instance GHC.Generics.Generic Amazonka.EKS.UpdateAddon.UpdateAddon
instance GHC.Show.Show Amazonka.EKS.UpdateAddon.UpdateAddon
instance GHC.Read.Read Amazonka.EKS.UpdateAddon.UpdateAddon
instance GHC.Classes.Eq Amazonka.EKS.UpdateAddon.UpdateAddon
instance GHC.Generics.Generic Amazonka.EKS.UpdateAddon.UpdateAddonResponse
instance GHC.Show.Show Amazonka.EKS.UpdateAddon.UpdateAddonResponse
instance GHC.Read.Read Amazonka.EKS.UpdateAddon.UpdateAddonResponse
instance GHC.Classes.Eq Amazonka.EKS.UpdateAddon.UpdateAddonResponse
instance Amazonka.Types.AWSRequest Amazonka.EKS.UpdateAddon.UpdateAddon
instance Control.DeepSeq.NFData Amazonka.EKS.UpdateAddon.UpdateAddonResponse
instance Data.Hashable.Class.Hashable Amazonka.EKS.UpdateAddon.UpdateAddon
instance Control.DeepSeq.NFData Amazonka.EKS.UpdateAddon.UpdateAddon
instance Amazonka.Data.Headers.ToHeaders Amazonka.EKS.UpdateAddon.UpdateAddon
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.EKS.UpdateAddon.UpdateAddon
instance Amazonka.Data.Path.ToPath Amazonka.EKS.UpdateAddon.UpdateAddon
instance Amazonka.Data.Query.ToQuery Amazonka.EKS.UpdateAddon.UpdateAddon
-- | Updates an Amazon EKS cluster configuration. Your cluster continues to
-- function during the update. The response output includes an update ID
-- that you can use to track the status of your cluster update with the
-- DescribeUpdate API operation.
--
-- You can use this API operation to enable or disable exporting the
-- Kubernetes control plane logs for your cluster to CloudWatch Logs. By
-- default, cluster control plane logs aren't exported to CloudWatch
-- Logs. For more information, see Amazon EKS Cluster Control Plane
-- Logs in the /Amazon EKS User Guide/ .
--
-- CloudWatch Logs ingestion, archive storage, and data scanning rates
-- apply to exported control plane logs. For more information, see
-- CloudWatch Pricing.
--
-- You can also use this API operation to enable or disable public and
-- private access to your cluster's Kubernetes API server endpoint. By
-- default, public access is enabled, and private access is disabled. For
-- more information, see Amazon EKS cluster endpoint access
-- control in the /Amazon EKS User Guide/ .
--
-- You can't update the subnets or security group IDs for an existing
-- cluster.
--
-- Cluster updates are asynchronous, and they should finish within a few
-- minutes. During an update, the cluster status moves to
-- UPDATING (this status transition is eventually consistent).
-- When the update is complete (either Failed or
-- Successful), the cluster status moves to Active.
module Amazonka.EKS.UpdateClusterConfig
-- | See: newUpdateClusterConfig smart constructor.
data UpdateClusterConfig
UpdateClusterConfig' :: Maybe Text -> Maybe Logging -> Maybe VpcConfigRequest -> Text -> UpdateClusterConfig
-- | Unique, case-sensitive identifier that you provide to ensure the
-- idempotency of the request.
[$sel:clientRequestToken:UpdateClusterConfig'] :: UpdateClusterConfig -> Maybe Text
-- | Enable or disable exporting the Kubernetes control plane logs for your
-- cluster to CloudWatch Logs. By default, cluster control plane logs
-- aren't exported to CloudWatch Logs. For more information, see
-- Amazon EKS cluster control plane logs in the /Amazon EKS
-- User Guide/ .
--
-- CloudWatch Logs ingestion, archive storage, and data scanning rates
-- apply to exported control plane logs. For more information, see
-- CloudWatch Pricing.
[$sel:logging:UpdateClusterConfig'] :: UpdateClusterConfig -> Maybe Logging
[$sel:resourcesVpcConfig:UpdateClusterConfig'] :: UpdateClusterConfig -> Maybe VpcConfigRequest
-- | The name of the Amazon EKS cluster to update.
[$sel:name:UpdateClusterConfig'] :: UpdateClusterConfig -> Text
-- | Create a value of UpdateClusterConfig with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- UpdateClusterConfig,
-- updateClusterConfig_clientRequestToken - Unique, case-sensitive
-- identifier that you provide to ensure the idempotency of the request.
--
-- UpdateClusterConfig, updateClusterConfig_logging -
-- Enable or disable exporting the Kubernetes control plane logs for your
-- cluster to CloudWatch Logs. By default, cluster control plane logs
-- aren't exported to CloudWatch Logs. For more information, see
-- Amazon EKS cluster control plane logs in the /Amazon EKS
-- User Guide/ .
--
-- CloudWatch Logs ingestion, archive storage, and data scanning rates
-- apply to exported control plane logs. For more information, see
-- CloudWatch Pricing.
--
-- UpdateClusterConfig,
-- updateClusterConfig_resourcesVpcConfig - Undocumented member.
--
-- UpdateClusterConfig, updateClusterConfig_name - The name
-- of the Amazon EKS cluster to update.
newUpdateClusterConfig :: Text -> UpdateClusterConfig
-- | Unique, case-sensitive identifier that you provide to ensure the
-- idempotency of the request.
updateClusterConfig_clientRequestToken :: Lens' UpdateClusterConfig (Maybe Text)
-- | Enable or disable exporting the Kubernetes control plane logs for your
-- cluster to CloudWatch Logs. By default, cluster control plane logs
-- aren't exported to CloudWatch Logs. For more information, see
-- Amazon EKS cluster control plane logs in the /Amazon EKS
-- User Guide/ .
--
-- CloudWatch Logs ingestion, archive storage, and data scanning rates
-- apply to exported control plane logs. For more information, see
-- CloudWatch Pricing.
updateClusterConfig_logging :: Lens' UpdateClusterConfig (Maybe Logging)
-- | Undocumented member.
updateClusterConfig_resourcesVpcConfig :: Lens' UpdateClusterConfig (Maybe VpcConfigRequest)
-- | The name of the Amazon EKS cluster to update.
updateClusterConfig_name :: Lens' UpdateClusterConfig Text
-- | See: newUpdateClusterConfigResponse smart constructor.
data UpdateClusterConfigResponse
UpdateClusterConfigResponse' :: Maybe Update -> Int -> UpdateClusterConfigResponse
[$sel:update:UpdateClusterConfigResponse'] :: UpdateClusterConfigResponse -> Maybe Update
-- | The response's http status code.
[$sel:httpStatus:UpdateClusterConfigResponse'] :: UpdateClusterConfigResponse -> Int
-- | Create a value of UpdateClusterConfigResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:update:UpdateClusterConfigResponse',
-- updateClusterConfigResponse_update - Undocumented member.
--
-- $sel:httpStatus:UpdateClusterConfigResponse',
-- updateClusterConfigResponse_httpStatus - The response's http
-- status code.
newUpdateClusterConfigResponse :: Int -> UpdateClusterConfigResponse
-- | Undocumented member.
updateClusterConfigResponse_update :: Lens' UpdateClusterConfigResponse (Maybe Update)
-- | The response's http status code.
updateClusterConfigResponse_httpStatus :: Lens' UpdateClusterConfigResponse Int
instance GHC.Generics.Generic Amazonka.EKS.UpdateClusterConfig.UpdateClusterConfig
instance GHC.Show.Show Amazonka.EKS.UpdateClusterConfig.UpdateClusterConfig
instance GHC.Read.Read Amazonka.EKS.UpdateClusterConfig.UpdateClusterConfig
instance GHC.Classes.Eq Amazonka.EKS.UpdateClusterConfig.UpdateClusterConfig
instance GHC.Generics.Generic Amazonka.EKS.UpdateClusterConfig.UpdateClusterConfigResponse
instance GHC.Show.Show Amazonka.EKS.UpdateClusterConfig.UpdateClusterConfigResponse
instance GHC.Read.Read Amazonka.EKS.UpdateClusterConfig.UpdateClusterConfigResponse
instance GHC.Classes.Eq Amazonka.EKS.UpdateClusterConfig.UpdateClusterConfigResponse
instance Amazonka.Types.AWSRequest Amazonka.EKS.UpdateClusterConfig.UpdateClusterConfig
instance Control.DeepSeq.NFData Amazonka.EKS.UpdateClusterConfig.UpdateClusterConfigResponse
instance Data.Hashable.Class.Hashable Amazonka.EKS.UpdateClusterConfig.UpdateClusterConfig
instance Control.DeepSeq.NFData Amazonka.EKS.UpdateClusterConfig.UpdateClusterConfig
instance Amazonka.Data.Headers.ToHeaders Amazonka.EKS.UpdateClusterConfig.UpdateClusterConfig
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.EKS.UpdateClusterConfig.UpdateClusterConfig
instance Amazonka.Data.Path.ToPath Amazonka.EKS.UpdateClusterConfig.UpdateClusterConfig
instance Amazonka.Data.Query.ToQuery Amazonka.EKS.UpdateClusterConfig.UpdateClusterConfig
-- | Updates an Amazon EKS cluster to the specified Kubernetes version.
-- Your cluster continues to function during the update. The response
-- output includes an update ID that you can use to track the status of
-- your cluster update with the DescribeUpdate API operation.
--
-- Cluster updates are asynchronous, and they should finish within a few
-- minutes. During an update, the cluster status moves to
-- UPDATING (this status transition is eventually consistent).
-- When the update is complete (either Failed or
-- Successful), the cluster status moves to Active.
--
-- If your cluster has managed node groups attached to it, all of your
-- node groups’ Kubernetes versions must match the cluster’s Kubernetes
-- version in order to update the cluster to a new Kubernetes version.
module Amazonka.EKS.UpdateClusterVersion
-- | See: newUpdateClusterVersion smart constructor.
data UpdateClusterVersion
UpdateClusterVersion' :: Maybe Text -> Text -> Text -> UpdateClusterVersion
-- | Unique, case-sensitive identifier that you provide to ensure the
-- idempotency of the request.
[$sel:clientRequestToken:UpdateClusterVersion'] :: UpdateClusterVersion -> Maybe Text
-- | The name of the Amazon EKS cluster to update.
[$sel:name:UpdateClusterVersion'] :: UpdateClusterVersion -> Text
-- | The desired Kubernetes version following a successful update.
[$sel:version:UpdateClusterVersion'] :: UpdateClusterVersion -> Text
-- | Create a value of UpdateClusterVersion with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- UpdateClusterVersion,
-- updateClusterVersion_clientRequestToken - Unique,
-- case-sensitive identifier that you provide to ensure the idempotency
-- of the request.
--
-- UpdateClusterVersion, updateClusterVersion_name - The
-- name of the Amazon EKS cluster to update.
--
-- UpdateClusterVersion, updateClusterVersion_version - The
-- desired Kubernetes version following a successful update.
newUpdateClusterVersion :: Text -> Text -> UpdateClusterVersion
-- | Unique, case-sensitive identifier that you provide to ensure the
-- idempotency of the request.
updateClusterVersion_clientRequestToken :: Lens' UpdateClusterVersion (Maybe Text)
-- | The name of the Amazon EKS cluster to update.
updateClusterVersion_name :: Lens' UpdateClusterVersion Text
-- | The desired Kubernetes version following a successful update.
updateClusterVersion_version :: Lens' UpdateClusterVersion Text
-- | See: newUpdateClusterVersionResponse smart constructor.
data UpdateClusterVersionResponse
UpdateClusterVersionResponse' :: Maybe Update -> Int -> UpdateClusterVersionResponse
-- | The full description of the specified update
[$sel:update:UpdateClusterVersionResponse'] :: UpdateClusterVersionResponse -> Maybe Update
-- | The response's http status code.
[$sel:httpStatus:UpdateClusterVersionResponse'] :: UpdateClusterVersionResponse -> Int
-- | Create a value of UpdateClusterVersionResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:update:UpdateClusterVersionResponse',
-- updateClusterVersionResponse_update - The full description of
-- the specified update
--
-- $sel:httpStatus:UpdateClusterVersionResponse',
-- updateClusterVersionResponse_httpStatus - The response's http
-- status code.
newUpdateClusterVersionResponse :: Int -> UpdateClusterVersionResponse
-- | The full description of the specified update
updateClusterVersionResponse_update :: Lens' UpdateClusterVersionResponse (Maybe Update)
-- | The response's http status code.
updateClusterVersionResponse_httpStatus :: Lens' UpdateClusterVersionResponse Int
instance GHC.Generics.Generic Amazonka.EKS.UpdateClusterVersion.UpdateClusterVersion
instance GHC.Show.Show Amazonka.EKS.UpdateClusterVersion.UpdateClusterVersion
instance GHC.Read.Read Amazonka.EKS.UpdateClusterVersion.UpdateClusterVersion
instance GHC.Classes.Eq Amazonka.EKS.UpdateClusterVersion.UpdateClusterVersion
instance GHC.Generics.Generic Amazonka.EKS.UpdateClusterVersion.UpdateClusterVersionResponse
instance GHC.Show.Show Amazonka.EKS.UpdateClusterVersion.UpdateClusterVersionResponse
instance GHC.Read.Read Amazonka.EKS.UpdateClusterVersion.UpdateClusterVersionResponse
instance GHC.Classes.Eq Amazonka.EKS.UpdateClusterVersion.UpdateClusterVersionResponse
instance Amazonka.Types.AWSRequest Amazonka.EKS.UpdateClusterVersion.UpdateClusterVersion
instance Control.DeepSeq.NFData Amazonka.EKS.UpdateClusterVersion.UpdateClusterVersionResponse
instance Data.Hashable.Class.Hashable Amazonka.EKS.UpdateClusterVersion.UpdateClusterVersion
instance Control.DeepSeq.NFData Amazonka.EKS.UpdateClusterVersion.UpdateClusterVersion
instance Amazonka.Data.Headers.ToHeaders Amazonka.EKS.UpdateClusterVersion.UpdateClusterVersion
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.EKS.UpdateClusterVersion.UpdateClusterVersion
instance Amazonka.Data.Path.ToPath Amazonka.EKS.UpdateClusterVersion.UpdateClusterVersion
instance Amazonka.Data.Query.ToQuery Amazonka.EKS.UpdateClusterVersion.UpdateClusterVersion
-- | Updates an Amazon EKS managed node group configuration. Your node
-- group continues to function during the update. The response output
-- includes an update ID that you can use to track the status of your
-- node group update with the DescribeUpdate API operation. Currently you
-- can update the Kubernetes labels for a node group or the scaling
-- configuration.
module Amazonka.EKS.UpdateNodegroupConfig
-- | See: newUpdateNodegroupConfig smart constructor.
data UpdateNodegroupConfig
UpdateNodegroupConfig' :: Maybe Text -> Maybe UpdateLabelsPayload -> Maybe NodegroupScalingConfig -> Maybe UpdateTaintsPayload -> Maybe NodegroupUpdateConfig -> Text -> Text -> UpdateNodegroupConfig
-- | Unique, case-sensitive identifier that you provide to ensure the
-- idempotency of the request.
[$sel:clientRequestToken:UpdateNodegroupConfig'] :: UpdateNodegroupConfig -> Maybe Text
-- | The Kubernetes labels to be applied to the nodes in the node group
-- after the update.
[$sel:labels:UpdateNodegroupConfig'] :: UpdateNodegroupConfig -> Maybe UpdateLabelsPayload
-- | The scaling configuration details for the Auto Scaling group after the
-- update.
[$sel:scalingConfig:UpdateNodegroupConfig'] :: UpdateNodegroupConfig -> Maybe NodegroupScalingConfig
-- | The Kubernetes taints to be applied to the nodes in the node group
-- after the update. For more information, see Node taints on managed
-- node groups.
[$sel:taints:UpdateNodegroupConfig'] :: UpdateNodegroupConfig -> Maybe UpdateTaintsPayload
-- | The node group update configuration.
[$sel:updateConfig:UpdateNodegroupConfig'] :: UpdateNodegroupConfig -> Maybe NodegroupUpdateConfig
-- | The name of the Amazon EKS cluster that the managed node group resides
-- in.
[$sel:clusterName:UpdateNodegroupConfig'] :: UpdateNodegroupConfig -> Text
-- | The name of the managed node group to update.
[$sel:nodegroupName:UpdateNodegroupConfig'] :: UpdateNodegroupConfig -> Text
-- | Create a value of UpdateNodegroupConfig with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- UpdateNodegroupConfig,
-- updateNodegroupConfig_clientRequestToken - Unique,
-- case-sensitive identifier that you provide to ensure the idempotency
-- of the request.
--
-- UpdateNodegroupConfig, updateNodegroupConfig_labels -
-- The Kubernetes labels to be applied to the nodes in the node group
-- after the update.
--
-- UpdateNodegroupConfig,
-- updateNodegroupConfig_scalingConfig - The scaling configuration
-- details for the Auto Scaling group after the update.
--
-- UpdateNodegroupConfig, updateNodegroupConfig_taints -
-- The Kubernetes taints to be applied to the nodes in the node group
-- after the update. For more information, see Node taints on managed
-- node groups.
--
-- UpdateNodegroupConfig,
-- updateNodegroupConfig_updateConfig - The node group update
-- configuration.
--
-- UpdateNodegroupConfig, updateNodegroupConfig_clusterName
-- - The name of the Amazon EKS cluster that the managed node group
-- resides in.
--
-- UpdateNodegroupConfig,
-- updateNodegroupConfig_nodegroupName - The name of the managed
-- node group to update.
newUpdateNodegroupConfig :: Text -> Text -> UpdateNodegroupConfig
-- | Unique, case-sensitive identifier that you provide to ensure the
-- idempotency of the request.
updateNodegroupConfig_clientRequestToken :: Lens' UpdateNodegroupConfig (Maybe Text)
-- | The Kubernetes labels to be applied to the nodes in the node group
-- after the update.
updateNodegroupConfig_labels :: Lens' UpdateNodegroupConfig (Maybe UpdateLabelsPayload)
-- | The scaling configuration details for the Auto Scaling group after the
-- update.
updateNodegroupConfig_scalingConfig :: Lens' UpdateNodegroupConfig (Maybe NodegroupScalingConfig)
-- | The Kubernetes taints to be applied to the nodes in the node group
-- after the update. For more information, see Node taints on managed
-- node groups.
updateNodegroupConfig_taints :: Lens' UpdateNodegroupConfig (Maybe UpdateTaintsPayload)
-- | The node group update configuration.
updateNodegroupConfig_updateConfig :: Lens' UpdateNodegroupConfig (Maybe NodegroupUpdateConfig)
-- | The name of the Amazon EKS cluster that the managed node group resides
-- in.
updateNodegroupConfig_clusterName :: Lens' UpdateNodegroupConfig Text
-- | The name of the managed node group to update.
updateNodegroupConfig_nodegroupName :: Lens' UpdateNodegroupConfig Text
-- | See: newUpdateNodegroupConfigResponse smart constructor.
data UpdateNodegroupConfigResponse
UpdateNodegroupConfigResponse' :: Maybe Update -> Int -> UpdateNodegroupConfigResponse
[$sel:update:UpdateNodegroupConfigResponse'] :: UpdateNodegroupConfigResponse -> Maybe Update
-- | The response's http status code.
[$sel:httpStatus:UpdateNodegroupConfigResponse'] :: UpdateNodegroupConfigResponse -> Int
-- | Create a value of UpdateNodegroupConfigResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:update:UpdateNodegroupConfigResponse',
-- updateNodegroupConfigResponse_update - Undocumented member.
--
-- $sel:httpStatus:UpdateNodegroupConfigResponse',
-- updateNodegroupConfigResponse_httpStatus - The response's http
-- status code.
newUpdateNodegroupConfigResponse :: Int -> UpdateNodegroupConfigResponse
-- | Undocumented member.
updateNodegroupConfigResponse_update :: Lens' UpdateNodegroupConfigResponse (Maybe Update)
-- | The response's http status code.
updateNodegroupConfigResponse_httpStatus :: Lens' UpdateNodegroupConfigResponse Int
instance GHC.Generics.Generic Amazonka.EKS.UpdateNodegroupConfig.UpdateNodegroupConfig
instance GHC.Show.Show Amazonka.EKS.UpdateNodegroupConfig.UpdateNodegroupConfig
instance GHC.Read.Read Amazonka.EKS.UpdateNodegroupConfig.UpdateNodegroupConfig
instance GHC.Classes.Eq Amazonka.EKS.UpdateNodegroupConfig.UpdateNodegroupConfig
instance GHC.Generics.Generic Amazonka.EKS.UpdateNodegroupConfig.UpdateNodegroupConfigResponse
instance GHC.Show.Show Amazonka.EKS.UpdateNodegroupConfig.UpdateNodegroupConfigResponse
instance GHC.Read.Read Amazonka.EKS.UpdateNodegroupConfig.UpdateNodegroupConfigResponse
instance GHC.Classes.Eq Amazonka.EKS.UpdateNodegroupConfig.UpdateNodegroupConfigResponse
instance Amazonka.Types.AWSRequest Amazonka.EKS.UpdateNodegroupConfig.UpdateNodegroupConfig
instance Control.DeepSeq.NFData Amazonka.EKS.UpdateNodegroupConfig.UpdateNodegroupConfigResponse
instance Data.Hashable.Class.Hashable Amazonka.EKS.UpdateNodegroupConfig.UpdateNodegroupConfig
instance Control.DeepSeq.NFData Amazonka.EKS.UpdateNodegroupConfig.UpdateNodegroupConfig
instance Amazonka.Data.Headers.ToHeaders Amazonka.EKS.UpdateNodegroupConfig.UpdateNodegroupConfig
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.EKS.UpdateNodegroupConfig.UpdateNodegroupConfig
instance Amazonka.Data.Path.ToPath Amazonka.EKS.UpdateNodegroupConfig.UpdateNodegroupConfig
instance Amazonka.Data.Query.ToQuery Amazonka.EKS.UpdateNodegroupConfig.UpdateNodegroupConfig
-- | Updates the Kubernetes version or AMI version of an Amazon EKS managed
-- node group.
--
-- You can update a node group using a launch template only if the node
-- group was originally deployed with a launch template. If you need to
-- update a custom AMI in a node group that was deployed with a launch
-- template, then update your custom AMI, specify the new ID in a new
-- version of the launch template, and then update the node group to the
-- new version of the launch template.
--
-- If you update without a launch template, then you can update to the
-- latest available AMI version of a node group's current Kubernetes
-- version by not specifying a Kubernetes version in the request. You can
-- update to the latest AMI version of your cluster's current Kubernetes
-- version by specifying your cluster's Kubernetes version in the
-- request. For information about Linux versions, see Amazon EKS
-- optimized Amazon Linux AMI versions in the Amazon EKS User
-- Guide. For information about Windows versions, see Amazon EKS
-- optimized Windows AMI versions in the Amazon EKS User
-- Guide.
--
-- You cannot roll back a node group to an earlier Kubernetes version or
-- AMI version.
--
-- When a node in a managed node group is terminated due to a scaling
-- action or update, the pods in that node are drained first. Amazon EKS
-- attempts to drain the nodes gracefully and will fail if it is unable
-- to do so. You can force the update if Amazon EKS is unable to
-- drain the nodes as a result of a pod disruption budget issue.
module Amazonka.EKS.UpdateNodegroupVersion
-- | See: newUpdateNodegroupVersion smart constructor.
data UpdateNodegroupVersion
UpdateNodegroupVersion' :: Maybe Text -> Maybe Bool -> Maybe LaunchTemplateSpecification -> Maybe Text -> Maybe Text -> Text -> Text -> UpdateNodegroupVersion
-- | Unique, case-sensitive identifier that you provide to ensure the
-- idempotency of the request.
[$sel:clientRequestToken:UpdateNodegroupVersion'] :: UpdateNodegroupVersion -> Maybe Text
-- | Force the update if the existing node group's pods are unable to be
-- drained due to a pod disruption budget issue. If an update fails
-- because pods could not be drained, you can force the update after it
-- fails to terminate the old node whether or not any pods are running on
-- the node.
[$sel:force:UpdateNodegroupVersion'] :: UpdateNodegroupVersion -> Maybe Bool
-- | An object representing a node group's launch template specification.
-- You can only update a node group using a launch template if the node
-- group was originally deployed with a launch template.
[$sel:launchTemplate:UpdateNodegroupVersion'] :: UpdateNodegroupVersion -> Maybe LaunchTemplateSpecification
-- | The AMI version of the Amazon EKS optimized AMI to use for the update.
-- By default, the latest available AMI version for the node group's
-- Kubernetes version is used. For information about Linux versions, see
-- Amazon EKS optimized Amazon Linux AMI versions in the Amazon
-- EKS User Guide. Amazon EKS managed node groups support the
-- November 2022 and later releases of the Windows AMIs. For information
-- about Windows versions, see Amazon EKS optimized Windows AMI
-- versions in the Amazon EKS User Guide.
--
-- If you specify launchTemplate, and your launch template uses
-- a custom AMI, then don't specify releaseVersion, or the node
-- group update will fail. For more information about using launch
-- templates with Amazon EKS, see Launch template support in the
-- Amazon EKS User Guide.
[$sel:releaseVersion:UpdateNodegroupVersion'] :: UpdateNodegroupVersion -> Maybe Text
-- | The Kubernetes version to update to. If no version is specified, then
-- the Kubernetes version of the node group does not change. You can
-- specify the Kubernetes version of the cluster to update the node group
-- to the latest AMI version of the cluster's Kubernetes version. If you
-- specify launchTemplate, and your launch template uses a
-- custom AMI, then don't specify version, or the node group
-- update will fail. For more information about using launch templates
-- with Amazon EKS, see Launch template support in the Amazon
-- EKS User Guide.
[$sel:version:UpdateNodegroupVersion'] :: UpdateNodegroupVersion -> Maybe Text
-- | The name of the Amazon EKS cluster that is associated with the managed
-- node group to update.
[$sel:clusterName:UpdateNodegroupVersion'] :: UpdateNodegroupVersion -> Text
-- | The name of the managed node group to update.
[$sel:nodegroupName:UpdateNodegroupVersion'] :: UpdateNodegroupVersion -> Text
-- | Create a value of UpdateNodegroupVersion with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- UpdateNodegroupVersion,
-- updateNodegroupVersion_clientRequestToken - Unique,
-- case-sensitive identifier that you provide to ensure the idempotency
-- of the request.
--
-- $sel:force:UpdateNodegroupVersion',
-- updateNodegroupVersion_force - Force the update if the existing
-- node group's pods are unable to be drained due to a pod disruption
-- budget issue. If an update fails because pods could not be drained,
-- you can force the update after it fails to terminate the old node
-- whether or not any pods are running on the node.
--
-- UpdateNodegroupVersion,
-- updateNodegroupVersion_launchTemplate - An object representing
-- a node group's launch template specification. You can only update a
-- node group using a launch template if the node group was originally
-- deployed with a launch template.
--
-- UpdateNodegroupVersion,
-- updateNodegroupVersion_releaseVersion - The AMI version of the
-- Amazon EKS optimized AMI to use for the update. By default, the latest
-- available AMI version for the node group's Kubernetes version is used.
-- For information about Linux versions, see Amazon EKS optimized
-- Amazon Linux AMI versions in the Amazon EKS User Guide.
-- Amazon EKS managed node groups support the November 2022 and later
-- releases of the Windows AMIs. For information about Windows versions,
-- see Amazon EKS optimized Windows AMI versions in the Amazon
-- EKS User Guide.
--
-- If you specify launchTemplate, and your launch template uses
-- a custom AMI, then don't specify releaseVersion, or the node
-- group update will fail. For more information about using launch
-- templates with Amazon EKS, see Launch template support in the
-- Amazon EKS User Guide.
--
-- UpdateNodegroupVersion, updateNodegroupVersion_version -
-- The Kubernetes version to update to. If no version is specified, then
-- the Kubernetes version of the node group does not change. You can
-- specify the Kubernetes version of the cluster to update the node group
-- to the latest AMI version of the cluster's Kubernetes version. If you
-- specify launchTemplate, and your launch template uses a
-- custom AMI, then don't specify version, or the node group
-- update will fail. For more information about using launch templates
-- with Amazon EKS, see Launch template support in the Amazon
-- EKS User Guide.
--
-- UpdateNodegroupVersion,
-- updateNodegroupVersion_clusterName - The name of the Amazon EKS
-- cluster that is associated with the managed node group to update.
--
-- UpdateNodegroupVersion,
-- updateNodegroupVersion_nodegroupName - The name of the managed
-- node group to update.
newUpdateNodegroupVersion :: Text -> Text -> UpdateNodegroupVersion
-- | Unique, case-sensitive identifier that you provide to ensure the
-- idempotency of the request.
updateNodegroupVersion_clientRequestToken :: Lens' UpdateNodegroupVersion (Maybe Text)
-- | Force the update if the existing node group's pods are unable to be
-- drained due to a pod disruption budget issue. If an update fails
-- because pods could not be drained, you can force the update after it
-- fails to terminate the old node whether or not any pods are running on
-- the node.
updateNodegroupVersion_force :: Lens' UpdateNodegroupVersion (Maybe Bool)
-- | An object representing a node group's launch template specification.
-- You can only update a node group using a launch template if the node
-- group was originally deployed with a launch template.
updateNodegroupVersion_launchTemplate :: Lens' UpdateNodegroupVersion (Maybe LaunchTemplateSpecification)
-- | The AMI version of the Amazon EKS optimized AMI to use for the update.
-- By default, the latest available AMI version for the node group's
-- Kubernetes version is used. For information about Linux versions, see
-- Amazon EKS optimized Amazon Linux AMI versions in the Amazon
-- EKS User Guide. Amazon EKS managed node groups support the
-- November 2022 and later releases of the Windows AMIs. For information
-- about Windows versions, see Amazon EKS optimized Windows AMI
-- versions in the Amazon EKS User Guide.
--
-- If you specify launchTemplate, and your launch template uses
-- a custom AMI, then don't specify releaseVersion, or the node
-- group update will fail. For more information about using launch
-- templates with Amazon EKS, see Launch template support in the
-- Amazon EKS User Guide.
updateNodegroupVersion_releaseVersion :: Lens' UpdateNodegroupVersion (Maybe Text)
-- | The Kubernetes version to update to. If no version is specified, then
-- the Kubernetes version of the node group does not change. You can
-- specify the Kubernetes version of the cluster to update the node group
-- to the latest AMI version of the cluster's Kubernetes version. If you
-- specify launchTemplate, and your launch template uses a
-- custom AMI, then don't specify version, or the node group
-- update will fail. For more information about using launch templates
-- with Amazon EKS, see Launch template support in the Amazon
-- EKS User Guide.
updateNodegroupVersion_version :: Lens' UpdateNodegroupVersion (Maybe Text)
-- | The name of the Amazon EKS cluster that is associated with the managed
-- node group to update.
updateNodegroupVersion_clusterName :: Lens' UpdateNodegroupVersion Text
-- | The name of the managed node group to update.
updateNodegroupVersion_nodegroupName :: Lens' UpdateNodegroupVersion Text
-- | See: newUpdateNodegroupVersionResponse smart
-- constructor.
data UpdateNodegroupVersionResponse
UpdateNodegroupVersionResponse' :: Maybe Update -> Int -> UpdateNodegroupVersionResponse
[$sel:update:UpdateNodegroupVersionResponse'] :: UpdateNodegroupVersionResponse -> Maybe Update
-- | The response's http status code.
[$sel:httpStatus:UpdateNodegroupVersionResponse'] :: UpdateNodegroupVersionResponse -> Int
-- | Create a value of UpdateNodegroupVersionResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:update:UpdateNodegroupVersionResponse',
-- updateNodegroupVersionResponse_update - Undocumented member.
--
-- $sel:httpStatus:UpdateNodegroupVersionResponse',
-- updateNodegroupVersionResponse_httpStatus - The response's http
-- status code.
newUpdateNodegroupVersionResponse :: Int -> UpdateNodegroupVersionResponse
-- | Undocumented member.
updateNodegroupVersionResponse_update :: Lens' UpdateNodegroupVersionResponse (Maybe Update)
-- | The response's http status code.
updateNodegroupVersionResponse_httpStatus :: Lens' UpdateNodegroupVersionResponse Int
instance GHC.Generics.Generic Amazonka.EKS.UpdateNodegroupVersion.UpdateNodegroupVersion
instance GHC.Show.Show Amazonka.EKS.UpdateNodegroupVersion.UpdateNodegroupVersion
instance GHC.Read.Read Amazonka.EKS.UpdateNodegroupVersion.UpdateNodegroupVersion
instance GHC.Classes.Eq Amazonka.EKS.UpdateNodegroupVersion.UpdateNodegroupVersion
instance GHC.Generics.Generic Amazonka.EKS.UpdateNodegroupVersion.UpdateNodegroupVersionResponse
instance GHC.Show.Show Amazonka.EKS.UpdateNodegroupVersion.UpdateNodegroupVersionResponse
instance GHC.Read.Read Amazonka.EKS.UpdateNodegroupVersion.UpdateNodegroupVersionResponse
instance GHC.Classes.Eq Amazonka.EKS.UpdateNodegroupVersion.UpdateNodegroupVersionResponse
instance Amazonka.Types.AWSRequest Amazonka.EKS.UpdateNodegroupVersion.UpdateNodegroupVersion
instance Control.DeepSeq.NFData Amazonka.EKS.UpdateNodegroupVersion.UpdateNodegroupVersionResponse
instance Data.Hashable.Class.Hashable Amazonka.EKS.UpdateNodegroupVersion.UpdateNodegroupVersion
instance Control.DeepSeq.NFData Amazonka.EKS.UpdateNodegroupVersion.UpdateNodegroupVersion
instance Amazonka.Data.Headers.ToHeaders Amazonka.EKS.UpdateNodegroupVersion.UpdateNodegroupVersion
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.EKS.UpdateNodegroupVersion.UpdateNodegroupVersion
instance Amazonka.Data.Path.ToPath Amazonka.EKS.UpdateNodegroupVersion.UpdateNodegroupVersion
instance Amazonka.Data.Query.ToQuery Amazonka.EKS.UpdateNodegroupVersion.UpdateNodegroupVersion
module Amazonka.EKS.Lens
-- | The client request token you are using with the encryption
-- configuration.
associateEncryptionConfig_clientRequestToken :: Lens' AssociateEncryptionConfig (Maybe Text)
-- | The name of the cluster that you are associating with encryption
-- configuration.
associateEncryptionConfig_clusterName :: Lens' AssociateEncryptionConfig Text
-- | The configuration you are using for encryption.
associateEncryptionConfig_encryptionConfig :: Lens' AssociateEncryptionConfig [EncryptionConfig]
-- | Undocumented member.
associateEncryptionConfigResponse_update :: Lens' AssociateEncryptionConfigResponse (Maybe Update)
-- | The response's http status code.
associateEncryptionConfigResponse_httpStatus :: Lens' AssociateEncryptionConfigResponse Int
-- | Unique, case-sensitive identifier that you provide to ensure the
-- idempotency of the request.
associateIdentityProviderConfig_clientRequestToken :: Lens' AssociateIdentityProviderConfig (Maybe Text)
-- | The metadata to apply to the configuration to assist with
-- categorization and organization. Each tag consists of a key and an
-- optional value. You define both.
associateIdentityProviderConfig_tags :: Lens' AssociateIdentityProviderConfig (Maybe (HashMap Text Text))
-- | The name of the cluster to associate the configuration to.
associateIdentityProviderConfig_clusterName :: Lens' AssociateIdentityProviderConfig Text
-- | An object representing an OpenID Connect (OIDC) identity provider
-- configuration.
associateIdentityProviderConfig_oidc :: Lens' AssociateIdentityProviderConfig OidcIdentityProviderConfigRequest
-- | The tags for the resource.
associateIdentityProviderConfigResponse_tags :: Lens' AssociateIdentityProviderConfigResponse (Maybe (HashMap Text Text))
-- | Undocumented member.
associateIdentityProviderConfigResponse_update :: Lens' AssociateIdentityProviderConfigResponse (Maybe Update)
-- | The response's http status code.
associateIdentityProviderConfigResponse_httpStatus :: Lens' AssociateIdentityProviderConfigResponse Int
-- | The version of the add-on. The version must match one of the versions
-- returned by DescribeAddonVersions .
createAddon_addonVersion :: Lens' CreateAddon (Maybe Text)
-- | A unique, case-sensitive identifier that you provide to ensure the
-- idempotency of the request.
createAddon_clientRequestToken :: Lens' CreateAddon (Maybe Text)
-- | The set of configuration values for the add-on that's created. The
-- values that you provide are validated against the schema in
-- DescribeAddonConfiguration .
createAddon_configurationValues :: Lens' CreateAddon (Maybe Text)
-- | How to resolve field value conflicts for an Amazon EKS add-on.
-- Conflicts are handled based on the value you choose:
--
--
-- - None – If the self-managed version of the add-on is
-- installed on your cluster, Amazon EKS doesn't change the value.
-- Creation of the add-on might fail.
-- - Overwrite – If the self-managed version of the add-on is
-- installed on your cluster and the Amazon EKS default value is
-- different than the existing value, Amazon EKS changes the value to the
-- Amazon EKS default value.
-- - Preserve – Not supported. You can set this value when
-- updating an add-on though. For more information, see
-- UpdateAddon.
--
--
-- If you don't currently have the self-managed version of the add-on
-- installed on your cluster, the Amazon EKS add-on is installed. Amazon
-- EKS sets all values to default values, regardless of the option that
-- you specify.
createAddon_resolveConflicts :: Lens' CreateAddon (Maybe ResolveConflicts)
-- | The Amazon Resource Name (ARN) of an existing IAM role to bind to the
-- add-on's service account. The role must be assigned the IAM
-- permissions required by the add-on. If you don't specify an existing
-- IAM role, then the add-on uses the permissions assigned to the node
-- IAM role. For more information, see Amazon EKS node IAM role in
-- the Amazon EKS User Guide.
--
-- To specify an existing IAM role, you must have an IAM OpenID Connect
-- (OIDC) provider created for your cluster. For more information, see
-- Enabling IAM roles for service accounts on your cluster in the
-- Amazon EKS User Guide.
createAddon_serviceAccountRoleArn :: Lens' CreateAddon (Maybe Text)
-- | The metadata to apply to the cluster to assist with categorization and
-- organization. Each tag consists of a key and an optional value. You
-- define both.
createAddon_tags :: Lens' CreateAddon (Maybe (HashMap Text Text))
-- | The name of the cluster to create the add-on for.
createAddon_clusterName :: Lens' CreateAddon Text
-- | The name of the add-on. The name must match one of the names that
-- DescribeAddonVersions returns.
createAddon_addonName :: Lens' CreateAddon Text
-- | Undocumented member.
createAddonResponse_addon :: Lens' CreateAddonResponse (Maybe Addon)
-- | The response's http status code.
createAddonResponse_httpStatus :: Lens' CreateAddonResponse Int
-- | Unique, case-sensitive identifier that you provide to ensure the
-- idempotency of the request.
createCluster_clientRequestToken :: Lens' CreateCluster (Maybe Text)
-- | The encryption configuration for the cluster.
createCluster_encryptionConfig :: Lens' CreateCluster (Maybe [EncryptionConfig])
-- | The Kubernetes network configuration for the cluster.
createCluster_kubernetesNetworkConfig :: Lens' CreateCluster (Maybe KubernetesNetworkConfigRequest)
-- | Enable or disable exporting the Kubernetes control plane logs for your
-- cluster to CloudWatch Logs. By default, cluster control plane logs
-- aren't exported to CloudWatch Logs. For more information, see
-- Amazon EKS Cluster control plane logs in the /Amazon EKS
-- User Guide/ .
--
-- CloudWatch Logs ingestion, archive storage, and data scanning rates
-- apply to exported control plane logs. For more information, see
-- CloudWatch Pricing.
createCluster_logging :: Lens' CreateCluster (Maybe Logging)
-- | An object representing the configuration of your local Amazon EKS
-- cluster on an Amazon Web Services Outpost. Before creating a local
-- cluster on an Outpost, review Local clusters for Amazon EKS on
-- Amazon Web Services Outposts in the Amazon EKS User Guide.
-- This object isn't available for creating Amazon EKS clusters on the
-- Amazon Web Services cloud.
createCluster_outpostConfig :: Lens' CreateCluster (Maybe OutpostConfigRequest)
-- | The metadata to apply to the cluster to assist with categorization and
-- organization. Each tag consists of a key and an optional value. You
-- define both.
createCluster_tags :: Lens' CreateCluster (Maybe (HashMap Text Text))
-- | The desired Kubernetes version for your cluster. If you don't specify
-- a value here, the default version available in Amazon EKS is used.
--
-- The default version might not be the latest version available.
createCluster_version :: Lens' CreateCluster (Maybe Text)
-- | The unique name to give to your cluster.
createCluster_name :: Lens' CreateCluster Text
-- | The Amazon Resource Name (ARN) of the IAM role that provides
-- permissions for the Kubernetes control plane to make calls to Amazon
-- Web Services API operations on your behalf. For more information, see
-- Amazon EKS Service IAM Role in the /Amazon EKS User
-- Guide/ .
createCluster_roleArn :: Lens' CreateCluster Text
-- | The VPC configuration that's used by the cluster control plane. Amazon
-- EKS VPC resources have specific requirements to work properly with
-- Kubernetes. For more information, see Cluster VPC
-- Considerations and Cluster Security Group Considerations in
-- the Amazon EKS User Guide. You must specify at least two
-- subnets. You can specify up to five security groups. However, we
-- recommend that you use a dedicated security group for your cluster
-- control plane.
createCluster_resourcesVpcConfig :: Lens' CreateCluster VpcConfigRequest
-- | The full description of your new cluster.
createClusterResponse_cluster :: Lens' CreateClusterResponse (Maybe Cluster)
-- | The response's http status code.
createClusterResponse_httpStatus :: Lens' CreateClusterResponse Int
-- | Unique, case-sensitive identifier that you provide to ensure the
-- idempotency of the request.
createFargateProfile_clientRequestToken :: Lens' CreateFargateProfile (Maybe Text)
-- | The selectors to match for pods to use this Fargate profile. Each
-- selector must have an associated namespace. Optionally, you can also
-- specify labels for a namespace. You may specify up to five selectors
-- in a Fargate profile.
createFargateProfile_selectors :: Lens' CreateFargateProfile (Maybe [FargateProfileSelector])
-- | The IDs of subnets to launch your pods into. At this time, pods
-- running on Fargate are not assigned public IP addresses, so only
-- private subnets (with no direct route to an Internet Gateway) are
-- accepted for this parameter.
createFargateProfile_subnets :: Lens' CreateFargateProfile (Maybe [Text])
-- | The metadata to apply to the Fargate profile to assist with
-- categorization and organization. Each tag consists of a key and an
-- optional value. You define both. Fargate profile tags do not propagate
-- to any other resources associated with the Fargate profile, such as
-- the pods that are scheduled with it.
createFargateProfile_tags :: Lens' CreateFargateProfile (Maybe (HashMap Text Text))
-- | The name of the Fargate profile.
createFargateProfile_fargateProfileName :: Lens' CreateFargateProfile Text
-- | The name of the Amazon EKS cluster to apply the Fargate profile to.
createFargateProfile_clusterName :: Lens' CreateFargateProfile Text
-- | The Amazon Resource Name (ARN) of the pod execution role to use for
-- pods that match the selectors in the Fargate profile. The pod
-- execution role allows Fargate infrastructure to register with your
-- cluster as a node, and it provides read access to Amazon ECR image
-- repositories. For more information, see Pod Execution Role in
-- the Amazon EKS User Guide.
createFargateProfile_podExecutionRoleArn :: Lens' CreateFargateProfile Text
-- | The full description of your new Fargate profile.
createFargateProfileResponse_fargateProfile :: Lens' CreateFargateProfileResponse (Maybe FargateProfile)
-- | The response's http status code.
createFargateProfileResponse_httpStatus :: Lens' CreateFargateProfileResponse Int
-- | The AMI type for your node group. If you specify
-- launchTemplate, and your launch template uses a custom AMI,
-- then don't specify amiType, or the node group deployment will
-- fail. If your launch template uses a Windows custom AMI, then add
-- eks:kube-proxy-windows to your Windows nodes rolearn
-- in the aws-auth ConfigMap. For more information
-- about using launch templates with Amazon EKS, see Launch template
-- support in the Amazon EKS User Guide.
createNodegroup_amiType :: Lens' CreateNodegroup (Maybe AMITypes)
-- | The capacity type for your node group.
createNodegroup_capacityType :: Lens' CreateNodegroup (Maybe CapacityTypes)
-- | Unique, case-sensitive identifier that you provide to ensure the
-- idempotency of the request.
createNodegroup_clientRequestToken :: Lens' CreateNodegroup (Maybe Text)
-- | The root device disk size (in GiB) for your node group instances. The
-- default disk size is 20 GiB for Linux and Bottlerocket. The default
-- disk size is 50 GiB for Windows. If you specify
-- launchTemplate, then don't specify diskSize, or the
-- node group deployment will fail. For more information about using
-- launch templates with Amazon EKS, see Launch template support
-- in the Amazon EKS User Guide.
createNodegroup_diskSize :: Lens' CreateNodegroup (Maybe Int)
-- | Specify the instance types for a node group. If you specify a GPU
-- instance type, make sure to also specify an applicable GPU AMI type
-- with the amiType parameter. If you specify
-- launchTemplate, then you can specify zero or one instance
-- type in your launch template or you can specify 0-20 instance
-- types for instanceTypes. If however, you specify an instance
-- type in your launch template and specify any
-- instanceTypes, the node group deployment will fail. If you
-- don't specify an instance type in a launch template or for
-- instanceTypes, then t3.medium is used, by default.
-- If you specify Spot for capacityType, then we
-- recommend specifying multiple values for instanceTypes. For
-- more information, see Managed node group capacity types and
-- Launch template support in the Amazon EKS User Guide.
createNodegroup_instanceTypes :: Lens' CreateNodegroup (Maybe [Text])
-- | The Kubernetes labels to be applied to the nodes in the node group
-- when they are created.
createNodegroup_labels :: Lens' CreateNodegroup (Maybe (HashMap Text Text))
-- | An object representing a node group's launch template specification.
-- If specified, then do not specify instanceTypes,
-- diskSize, or remoteAccess and make sure that the
-- launch template meets the requirements in
-- launchTemplateSpecification.
createNodegroup_launchTemplate :: Lens' CreateNodegroup (Maybe LaunchTemplateSpecification)
-- | The AMI version of the Amazon EKS optimized AMI to use with your node
-- group. By default, the latest available AMI version for the node
-- group's current Kubernetes version is used. For information about
-- Linux versions, see Amazon EKS optimized Amazon Linux AMI
-- versions in the Amazon EKS User Guide. Amazon EKS managed
-- node groups support the November 2022 and later releases of the
-- Windows AMIs. For information about Windows versions, see Amazon
-- EKS optimized Windows AMI versions in the Amazon EKS User
-- Guide.
--
-- If you specify launchTemplate, and your launch template uses
-- a custom AMI, then don't specify releaseVersion, or the node
-- group deployment will fail. For more information about using launch
-- templates with Amazon EKS, see Launch template support in the
-- Amazon EKS User Guide.
createNodegroup_releaseVersion :: Lens' CreateNodegroup (Maybe Text)
-- | The remote access configuration to use with your node group. For
-- Linux, the protocol is SSH. For Windows, the protocol is RDP. If you
-- specify launchTemplate, then don't specify
-- remoteAccess, or the node group deployment will fail. For
-- more information about using launch templates with Amazon EKS, see
-- Launch template support in the Amazon EKS User Guide.
createNodegroup_remoteAccess :: Lens' CreateNodegroup (Maybe RemoteAccessConfig)
-- | The scaling configuration details for the Auto Scaling group that is
-- created for your node group.
createNodegroup_scalingConfig :: Lens' CreateNodegroup (Maybe NodegroupScalingConfig)
-- | The metadata to apply to the node group to assist with categorization
-- and organization. Each tag consists of a key and an optional value.
-- You define both. Node group tags do not propagate to any other
-- resources associated with the node group, such as the Amazon EC2
-- instances or subnets.
createNodegroup_tags :: Lens' CreateNodegroup (Maybe (HashMap Text Text))
-- | The Kubernetes taints to be applied to the nodes in the node group.
-- For more information, see Node taints on managed node groups.
createNodegroup_taints :: Lens' CreateNodegroup (Maybe [Taint])
-- | The node group update configuration.
createNodegroup_updateConfig :: Lens' CreateNodegroup (Maybe NodegroupUpdateConfig)
-- | The Kubernetes version to use for your managed nodes. By default, the
-- Kubernetes version of the cluster is used, and this is the only
-- accepted specified value. If you specify launchTemplate, and
-- your launch template uses a custom AMI, then don't specify
-- version, or the node group deployment will fail. For more
-- information about using launch templates with Amazon EKS, see
-- Launch template support in the Amazon EKS User Guide.
createNodegroup_version :: Lens' CreateNodegroup (Maybe Text)
-- | The name of the cluster to create the node group in.
createNodegroup_clusterName :: Lens' CreateNodegroup Text
-- | The unique name to give your node group.
createNodegroup_nodegroupName :: Lens' CreateNodegroup Text
-- | The subnets to use for the Auto Scaling group that is created for your
-- node group. If you specify launchTemplate, then don't specify
-- SubnetId in your launch template, or the node group deployment
-- will fail. For more information about using launch templates with
-- Amazon EKS, see Launch template support in the Amazon EKS
-- User Guide.
createNodegroup_subnets :: Lens' CreateNodegroup [Text]
-- | The Amazon Resource Name (ARN) of the IAM role to associate with your
-- node group. The Amazon EKS worker node kubelet daemon makes
-- calls to Amazon Web Services APIs on your behalf. Nodes receive
-- permissions for these API calls through an IAM instance profile and
-- associated policies. Before you can launch nodes and register them
-- into a cluster, you must create an IAM role for those nodes to use
-- when they are launched. For more information, see Amazon EKS node
-- IAM role in the /Amazon EKS User Guide/ . If you specify
-- launchTemplate, then don't specify IamInstanceProfile
-- in your launch template, or the node group deployment will fail. For
-- more information about using launch templates with Amazon EKS, see
-- Launch template support in the Amazon EKS User Guide.
createNodegroup_nodeRole :: Lens' CreateNodegroup Text
-- | The full description of your new node group.
createNodegroupResponse_nodegroup :: Lens' CreateNodegroupResponse (Maybe Nodegroup)
-- | The response's http status code.
createNodegroupResponse_httpStatus :: Lens' CreateNodegroupResponse Int
-- | Specifying this option preserves the add-on software on your cluster
-- but Amazon EKS stops managing any settings for the add-on. If an IAM
-- account is associated with the add-on, it isn't removed.
deleteAddon_preserve :: Lens' DeleteAddon (Maybe Bool)
-- | The name of the cluster to delete the add-on from.
deleteAddon_clusterName :: Lens' DeleteAddon Text
-- | The name of the add-on. The name must match one of the names returned
-- by ListAddons .
deleteAddon_addonName :: Lens' DeleteAddon Text
-- | Undocumented member.
deleteAddonResponse_addon :: Lens' DeleteAddonResponse (Maybe Addon)
-- | The response's http status code.
deleteAddonResponse_httpStatus :: Lens' DeleteAddonResponse Int
-- | The name of the cluster to delete.
deleteCluster_name :: Lens' DeleteCluster Text
-- | The full description of the cluster to delete.
deleteClusterResponse_cluster :: Lens' DeleteClusterResponse (Maybe Cluster)
-- | The response's http status code.
deleteClusterResponse_httpStatus :: Lens' DeleteClusterResponse Int
-- | The name of the Amazon EKS cluster associated with the Fargate profile
-- to delete.
deleteFargateProfile_clusterName :: Lens' DeleteFargateProfile Text
-- | The name of the Fargate profile to delete.
deleteFargateProfile_fargateProfileName :: Lens' DeleteFargateProfile Text
-- | The deleted Fargate profile.
deleteFargateProfileResponse_fargateProfile :: Lens' DeleteFargateProfileResponse (Maybe FargateProfile)
-- | The response's http status code.
deleteFargateProfileResponse_httpStatus :: Lens' DeleteFargateProfileResponse Int
-- | The name of the Amazon EKS cluster that is associated with your node
-- group.
deleteNodegroup_clusterName :: Lens' DeleteNodegroup Text
-- | The name of the node group to delete.
deleteNodegroup_nodegroupName :: Lens' DeleteNodegroup Text
-- | The full description of your deleted node group.
deleteNodegroupResponse_nodegroup :: Lens' DeleteNodegroupResponse (Maybe Nodegroup)
-- | The response's http status code.
deleteNodegroupResponse_httpStatus :: Lens' DeleteNodegroupResponse Int
-- | The name of the connected cluster to deregister.
deregisterCluster_name :: Lens' DeregisterCluster Text
-- | Undocumented member.
deregisterClusterResponse_cluster :: Lens' DeregisterClusterResponse (Maybe Cluster)
-- | The response's http status code.
deregisterClusterResponse_httpStatus :: Lens' DeregisterClusterResponse Int
-- | The name of the cluster.
describeAddon_clusterName :: Lens' DescribeAddon Text
-- | The name of the add-on. The name must match one of the names returned
-- by ListAddons .
describeAddon_addonName :: Lens' DescribeAddon Text
-- | Undocumented member.
describeAddonResponse_addon :: Lens' DescribeAddonResponse (Maybe Addon)
-- | The response's http status code.
describeAddonResponse_httpStatus :: Lens' DescribeAddonResponse Int
-- | The name of the add-on. The name must match one of the names that
-- DescribeAddonVersions returns.
describeAddonConfiguration_addonName :: Lens' DescribeAddonConfiguration Text
-- | The version of the add-on. The version must match one of the versions
-- returned by DescribeAddonVersions .
describeAddonConfiguration_addonVersion :: Lens' DescribeAddonConfiguration Text
-- | The name of the add-on.
describeAddonConfigurationResponse_addonName :: Lens' DescribeAddonConfigurationResponse (Maybe Text)
-- | The version of the add-on. The version must match one of the versions
-- returned by DescribeAddonVersions .
describeAddonConfigurationResponse_addonVersion :: Lens' DescribeAddonConfigurationResponse (Maybe Text)
-- | A JSON schema that's used to validate the configuration values that
-- you provide when an addon is created or updated.
describeAddonConfigurationResponse_configurationSchema :: Lens' DescribeAddonConfigurationResponse (Maybe Text)
-- | The response's http status code.
describeAddonConfigurationResponse_httpStatus :: Lens' DescribeAddonConfigurationResponse Int
-- | The name of the add-on. The name must match one of the names returned
-- by ListAddons .
describeAddonVersions_addonName :: Lens' DescribeAddonVersions (Maybe Text)
-- | The Kubernetes versions that you can use the add-on with.
describeAddonVersions_kubernetesVersion :: Lens' DescribeAddonVersions (Maybe Text)
-- | The maximum number of results to return.
describeAddonVersions_maxResults :: Lens' DescribeAddonVersions (Maybe Natural)
-- | The nextToken value returned from a previous paginated
-- DescribeAddonVersionsRequest where maxResults was
-- used and the results exceeded the value of that parameter. Pagination
-- continues from the end of the previous results that returned the
-- nextToken value.
--
-- This token should be treated as an opaque identifier that is used only
-- to retrieve the next items in a list and not for other programmatic
-- purposes.
describeAddonVersions_nextToken :: Lens' DescribeAddonVersions (Maybe Text)
-- | The owner of the add-on. For valid owners, don't specify a
-- value for this property.
describeAddonVersions_owners :: Lens' DescribeAddonVersions (Maybe [Text])
-- | The publisher of the add-on. For valid publishers, don't
-- specify a value for this property.
describeAddonVersions_publishers :: Lens' DescribeAddonVersions (Maybe [Text])
-- | The type of the add-on. For valid types, don't specify a
-- value for this property.
describeAddonVersions_types :: Lens' DescribeAddonVersions (Maybe [Text])
-- | The list of available versions with Kubernetes version compatibility
-- and other properties.
describeAddonVersionsResponse_addons :: Lens' DescribeAddonVersionsResponse (Maybe [AddonInfo])
-- | The nextToken value returned from a previous paginated
-- DescribeAddonVersionsResponse where maxResults was
-- used and the results exceeded the value of that parameter. Pagination
-- continues from the end of the previous results that returned the
-- nextToken value.
--
-- This token should be treated as an opaque identifier that is used only
-- to retrieve the next items in a list and not for other programmatic
-- purposes.
describeAddonVersionsResponse_nextToken :: Lens' DescribeAddonVersionsResponse (Maybe Text)
-- | The response's http status code.
describeAddonVersionsResponse_httpStatus :: Lens' DescribeAddonVersionsResponse Int
-- | The name of the cluster to describe.
describeCluster_name :: Lens' DescribeCluster Text
-- | The full description of your specified cluster.
describeClusterResponse_cluster :: Lens' DescribeClusterResponse (Maybe Cluster)
-- | The response's http status code.
describeClusterResponse_httpStatus :: Lens' DescribeClusterResponse Int
-- | The name of the Amazon EKS cluster associated with the Fargate
-- profile.
describeFargateProfile_clusterName :: Lens' DescribeFargateProfile Text
-- | The name of the Fargate profile to describe.
describeFargateProfile_fargateProfileName :: Lens' DescribeFargateProfile Text
-- | The full description of your Fargate profile.
describeFargateProfileResponse_fargateProfile :: Lens' DescribeFargateProfileResponse (Maybe FargateProfile)
-- | The response's http status code.
describeFargateProfileResponse_httpStatus :: Lens' DescribeFargateProfileResponse Int
-- | The cluster name that the identity provider configuration is
-- associated to.
describeIdentityProviderConfig_clusterName :: Lens' DescribeIdentityProviderConfig Text
-- | An object representing an identity provider configuration.
describeIdentityProviderConfig_identityProviderConfig :: Lens' DescribeIdentityProviderConfig IdentityProviderConfig
-- | The object that represents an OpenID Connect (OIDC) identity provider
-- configuration.
describeIdentityProviderConfigResponse_identityProviderConfig :: Lens' DescribeIdentityProviderConfigResponse (Maybe IdentityProviderConfigResponse)
-- | The response's http status code.
describeIdentityProviderConfigResponse_httpStatus :: Lens' DescribeIdentityProviderConfigResponse Int
-- | The name of the Amazon EKS cluster associated with the node group.
describeNodegroup_clusterName :: Lens' DescribeNodegroup Text
-- | The name of the node group to describe.
describeNodegroup_nodegroupName :: Lens' DescribeNodegroup Text
-- | The full description of your node group.
describeNodegroupResponse_nodegroup :: Lens' DescribeNodegroupResponse (Maybe Nodegroup)
-- | The response's http status code.
describeNodegroupResponse_httpStatus :: Lens' DescribeNodegroupResponse Int
-- | The name of the add-on. The name must match one of the names returned
-- by ListAddons . This parameter is required if the update is an
-- add-on update.
describeUpdate_addonName :: Lens' DescribeUpdate (Maybe Text)
-- | The name of the Amazon EKS node group associated with the update. This
-- parameter is required if the update is a node group update.
describeUpdate_nodegroupName :: Lens' DescribeUpdate (Maybe Text)
-- | The name of the Amazon EKS cluster associated with the update.
describeUpdate_name :: Lens' DescribeUpdate Text
-- | The ID of the update to describe.
describeUpdate_updateId :: Lens' DescribeUpdate Text
-- | The full description of the specified update.
describeUpdateResponse_update :: Lens' DescribeUpdateResponse (Maybe Update)
-- | The response's http status code.
describeUpdateResponse_httpStatus :: Lens' DescribeUpdateResponse Int
-- | A unique, case-sensitive identifier that you provide to ensure the
-- idempotency of the request.
disassociateIdentityProviderConfig_clientRequestToken :: Lens' DisassociateIdentityProviderConfig (Maybe Text)
-- | The name of the cluster to disassociate an identity provider from.
disassociateIdentityProviderConfig_clusterName :: Lens' DisassociateIdentityProviderConfig Text
-- | An object representing an identity provider configuration.
disassociateIdentityProviderConfig_identityProviderConfig :: Lens' DisassociateIdentityProviderConfig IdentityProviderConfig
-- | Undocumented member.
disassociateIdentityProviderConfigResponse_update :: Lens' DisassociateIdentityProviderConfigResponse (Maybe Update)
-- | The response's http status code.
disassociateIdentityProviderConfigResponse_httpStatus :: Lens' DisassociateIdentityProviderConfigResponse Int
-- | The maximum number of add-on results returned by
-- ListAddonsRequest in paginated output. When you use this
-- parameter, ListAddonsRequest returns only maxResults
-- results in a single page along with a nextToken response
-- element. You can see the remaining results of the initial request by
-- sending another ListAddonsRequest request with the returned
-- nextToken value. This value can be between 1 and 100. If you
-- don't use this parameter, ListAddonsRequest returns up to 100
-- results and a nextToken value, if applicable.
listAddons_maxResults :: Lens' ListAddons (Maybe Natural)
-- | The nextToken value returned from a previous paginated
-- ListAddonsRequest where maxResults was used and the
-- results exceeded the value of that parameter. Pagination continues
-- from the end of the previous results that returned the
-- nextToken value.
--
-- This token should be treated as an opaque identifier that is used only
-- to retrieve the next items in a list and not for other programmatic
-- purposes.
listAddons_nextToken :: Lens' ListAddons (Maybe Text)
-- | The name of the cluster.
listAddons_clusterName :: Lens' ListAddons Text
-- | A list of available add-ons.
listAddonsResponse_addons :: Lens' ListAddonsResponse (Maybe [Text])
-- | The nextToken value returned from a previous paginated
-- ListAddonsResponse where maxResults was used and the
-- results exceeded the value of that parameter. Pagination continues
-- from the end of the previous results that returned the
-- nextToken value.
--
-- This token should be treated as an opaque identifier that is used only
-- to retrieve the next items in a list and not for other programmatic
-- purposes.
listAddonsResponse_nextToken :: Lens' ListAddonsResponse (Maybe Text)
-- | The response's http status code.
listAddonsResponse_httpStatus :: Lens' ListAddonsResponse Int
-- | Indicates whether external clusters are included in the returned list.
-- Use 'all' to return connected clusters, or blank to return
-- only Amazon EKS clusters. 'all' must be in lowercase
-- otherwise an error occurs.
listClusters_include :: Lens' ListClusters (Maybe [Text])
-- | The maximum number of cluster results returned by
-- ListClusters in paginated output. When you use this
-- parameter, ListClusters returns only maxResults
-- results in a single page along with a nextToken response
-- element. You can see the remaining results of the initial request by
-- sending another ListClusters request with the returned
-- nextToken value. This value can be between 1 and 100. If you
-- don't use this parameter, ListClusters returns up to 100
-- results and a nextToken value if applicable.
listClusters_maxResults :: Lens' ListClusters (Maybe Natural)
-- | The nextToken value returned from a previous paginated
-- ListClusters request where maxResults was used and
-- the results exceeded the value of that parameter. Pagination continues
-- from the end of the previous results that returned the
-- nextToken value.
--
-- This token should be treated as an opaque identifier that is used only
-- to retrieve the next items in a list and not for other programmatic
-- purposes.
listClusters_nextToken :: Lens' ListClusters (Maybe Text)
-- | A list of all of the clusters for your account in the specified
-- Region.
listClustersResponse_clusters :: Lens' ListClustersResponse (Maybe [Text])
-- | The nextToken value to include in a future
-- ListClusters request. When the results of a
-- ListClusters request exceed maxResults, you can use
-- this value to retrieve the next page of results. This value is
-- null when there are no more results to return.
listClustersResponse_nextToken :: Lens' ListClustersResponse (Maybe Text)
-- | The response's http status code.
listClustersResponse_httpStatus :: Lens' ListClustersResponse Int
-- | The maximum number of Fargate profile results returned by
-- ListFargateProfiles in paginated output. When you use this
-- parameter, ListFargateProfiles returns only
-- maxResults results in a single page along with a
-- nextToken response element. You can see the remaining results
-- of the initial request by sending another ListFargateProfiles
-- request with the returned nextToken value. This value can be
-- between 1 and 100. If you don't use this parameter,
-- ListFargateProfiles returns up to 100 results and a
-- nextToken value if applicable.
listFargateProfiles_maxResults :: Lens' ListFargateProfiles (Maybe Natural)
-- | The nextToken value returned from a previous paginated
-- ListFargateProfiles request where maxResults was
-- used and the results exceeded the value of that parameter. Pagination
-- continues from the end of the previous results that returned the
-- nextToken value.
listFargateProfiles_nextToken :: Lens' ListFargateProfiles (Maybe Text)
-- | The name of the Amazon EKS cluster that you would like to list Fargate
-- profiles in.
listFargateProfiles_clusterName :: Lens' ListFargateProfiles Text
-- | A list of all of the Fargate profiles associated with the specified
-- cluster.
listFargateProfilesResponse_fargateProfileNames :: Lens' ListFargateProfilesResponse (Maybe [Text])
-- | The nextToken value to include in a future
-- ListFargateProfiles request. When the results of a
-- ListFargateProfiles request exceed maxResults, you
-- can use this value to retrieve the next page of results. This value is
-- null when there are no more results to return.
listFargateProfilesResponse_nextToken :: Lens' ListFargateProfilesResponse (Maybe Text)
-- | The response's http status code.
listFargateProfilesResponse_httpStatus :: Lens' ListFargateProfilesResponse Int
-- | The maximum number of identity provider configurations returned by
-- ListIdentityProviderConfigs in paginated output. When you use
-- this parameter, ListIdentityProviderConfigs returns only
-- maxResults results in a single page along with a
-- nextToken response element. You can see the remaining results
-- of the initial request by sending another
-- ListIdentityProviderConfigs request with the returned
-- nextToken value. This value can be between 1 and 100. If you
-- don't use this parameter, ListIdentityProviderConfigs returns
-- up to 100 results and a nextToken value, if applicable.
listIdentityProviderConfigs_maxResults :: Lens' ListIdentityProviderConfigs (Maybe Natural)
-- | The nextToken value returned from a previous paginated
-- IdentityProviderConfigsRequest where maxResults was
-- used and the results exceeded the value of that parameter. Pagination
-- continues from the end of the previous results that returned the
-- nextToken value.
listIdentityProviderConfigs_nextToken :: Lens' ListIdentityProviderConfigs (Maybe Text)
-- | The cluster name that you want to list identity provider
-- configurations for.
listIdentityProviderConfigs_clusterName :: Lens' ListIdentityProviderConfigs Text
-- | The identity provider configurations for the cluster.
listIdentityProviderConfigsResponse_identityProviderConfigs :: Lens' ListIdentityProviderConfigsResponse (Maybe [IdentityProviderConfig])
-- | The nextToken value returned from a previous paginated
-- ListIdentityProviderConfigsResponse where maxResults
-- was used and the results exceeded the value of that parameter.
-- Pagination continues from the end of the previous results that
-- returned the nextToken value.
listIdentityProviderConfigsResponse_nextToken :: Lens' ListIdentityProviderConfigsResponse (Maybe Text)
-- | The response's http status code.
listIdentityProviderConfigsResponse_httpStatus :: Lens' ListIdentityProviderConfigsResponse Int
-- | The maximum number of node group results returned by
-- ListNodegroups in paginated output. When you use this
-- parameter, ListNodegroups returns only maxResults
-- results in a single page along with a nextToken response
-- element. You can see the remaining results of the initial request by
-- sending another ListNodegroups request with the returned
-- nextToken value. This value can be between 1 and 100. If you
-- don't use this parameter, ListNodegroups returns up to 100
-- results and a nextToken value if applicable.
listNodegroups_maxResults :: Lens' ListNodegroups (Maybe Natural)
-- | The nextToken value returned from a previous paginated
-- ListNodegroups request where maxResults was used and
-- the results exceeded the value of that parameter. Pagination continues
-- from the end of the previous results that returned the
-- nextToken value.
listNodegroups_nextToken :: Lens' ListNodegroups (Maybe Text)
-- | The name of the Amazon EKS cluster that you would like to list node
-- groups in.
listNodegroups_clusterName :: Lens' ListNodegroups Text
-- | The nextToken value to include in a future
-- ListNodegroups request. When the results of a
-- ListNodegroups request exceed maxResults, you can
-- use this value to retrieve the next page of results. This value is
-- null when there are no more results to return.
listNodegroupsResponse_nextToken :: Lens' ListNodegroupsResponse (Maybe Text)
-- | A list of all of the node groups associated with the specified
-- cluster.
listNodegroupsResponse_nodegroups :: Lens' ListNodegroupsResponse (Maybe [Text])
-- | The response's http status code.
listNodegroupsResponse_httpStatus :: Lens' ListNodegroupsResponse Int
-- | The Amazon Resource Name (ARN) that identifies the resource for which
-- to list the tags. Currently, the supported resources are Amazon EKS
-- clusters and managed node groups.
listTagsForResource_resourceArn :: Lens' ListTagsForResource Text
-- | The tags for the resource.
listTagsForResourceResponse_tags :: Lens' ListTagsForResourceResponse (Maybe (HashMap Text Text))
-- | The response's http status code.
listTagsForResourceResponse_httpStatus :: Lens' ListTagsForResourceResponse Int
-- | The names of the installed add-ons that have available updates.
listUpdates_addonName :: Lens' ListUpdates (Maybe Text)
-- | The maximum number of update results returned by ListUpdates
-- in paginated output. When you use this parameter, ListUpdates
-- returns only maxResults results in a single page along with a
-- nextToken response element. You can see the remaining results
-- of the initial request by sending another ListUpdates request
-- with the returned nextToken value. This value can be between
-- 1 and 100. If you don't use this parameter, ListUpdates
-- returns up to 100 results and a nextToken value if
-- applicable.
listUpdates_maxResults :: Lens' ListUpdates (Maybe Natural)
-- | The nextToken value returned from a previous paginated
-- ListUpdates request where maxResults was used and
-- the results exceeded the value of that parameter. Pagination continues
-- from the end of the previous results that returned the
-- nextToken value.
listUpdates_nextToken :: Lens' ListUpdates (Maybe Text)
-- | The name of the Amazon EKS managed node group to list updates for.
listUpdates_nodegroupName :: Lens' ListUpdates (Maybe Text)
-- | The name of the Amazon EKS cluster to list updates for.
listUpdates_name :: Lens' ListUpdates Text
-- | The nextToken value to include in a future
-- ListUpdates request. When the results of a
-- ListUpdates request exceed maxResults, you can use
-- this value to retrieve the next page of results. This value is
-- null when there are no more results to return.
listUpdatesResponse_nextToken :: Lens' ListUpdatesResponse (Maybe Text)
-- | A list of all the updates for the specified cluster and Region.
listUpdatesResponse_updateIds :: Lens' ListUpdatesResponse (Maybe [Text])
-- | The response's http status code.
listUpdatesResponse_httpStatus :: Lens' ListUpdatesResponse Int
-- | Unique, case-sensitive identifier that you provide to ensure the
-- idempotency of the request.
registerCluster_clientRequestToken :: Lens' RegisterCluster (Maybe Text)
-- | The metadata that you apply to the cluster to assist with
-- categorization and organization. Each tag consists of a key and an
-- optional value, both of which you define. Cluster tags do not
-- propagate to any other resources associated with the cluster.
registerCluster_tags :: Lens' RegisterCluster (Maybe (HashMap Text Text))
-- | Define a unique name for this cluster for your Region.
registerCluster_name :: Lens' RegisterCluster Text
-- | The configuration settings required to connect the Kubernetes cluster
-- to the Amazon EKS control plane.
registerCluster_connectorConfig :: Lens' RegisterCluster ConnectorConfigRequest
-- | Undocumented member.
registerClusterResponse_cluster :: Lens' RegisterClusterResponse (Maybe Cluster)
-- | The response's http status code.
registerClusterResponse_httpStatus :: Lens' RegisterClusterResponse Int
-- | The Amazon Resource Name (ARN) of the resource to which to add tags.
-- Currently, the supported resources are Amazon EKS clusters and managed
-- node groups.
tagResource_resourceArn :: Lens' TagResource Text
-- | The tags to add to the resource. A tag is an array of key-value pairs.
tagResource_tags :: Lens' TagResource (HashMap Text Text)
-- | The response's http status code.
tagResourceResponse_httpStatus :: Lens' TagResourceResponse Int
-- | The Amazon Resource Name (ARN) of the resource from which to delete
-- tags. Currently, the supported resources are Amazon EKS clusters and
-- managed node groups.
untagResource_resourceArn :: Lens' UntagResource Text
-- | The keys of the tags to be removed.
untagResource_tagKeys :: Lens' UntagResource (NonEmpty Text)
-- | The response's http status code.
untagResourceResponse_httpStatus :: Lens' UntagResourceResponse Int
-- | The version of the add-on. The version must match one of the versions
-- returned by DescribeAddonVersions .
updateAddon_addonVersion :: Lens' UpdateAddon (Maybe Text)
-- | Unique, case-sensitive identifier that you provide to ensure the
-- idempotency of the request.
updateAddon_clientRequestToken :: Lens' UpdateAddon (Maybe Text)
-- | The set of configuration values for the add-on that's created. The
-- values that you provide are validated against the schema in
-- DescribeAddonConfiguration.
updateAddon_configurationValues :: Lens' UpdateAddon (Maybe Text)
-- | How to resolve field value conflicts for an Amazon EKS add-on if
-- you've changed a value from the Amazon EKS default value. Conflicts
-- are handled based on the option you choose:
--
--
-- - None – Amazon EKS doesn't change the value. The update
-- might fail.
-- - Overwrite – Amazon EKS overwrites the changed value back to
-- the Amazon EKS default value.
-- - Preserve – Amazon EKS preserves the value. If you choose
-- this option, we recommend that you test any field and value changes on
-- a non-production cluster before updating the add-on on your production
-- cluster.
--
updateAddon_resolveConflicts :: Lens' UpdateAddon (Maybe ResolveConflicts)
-- | The Amazon Resource Name (ARN) of an existing IAM role to bind to the
-- add-on's service account. The role must be assigned the IAM
-- permissions required by the add-on. If you don't specify an existing
-- IAM role, then the add-on uses the permissions assigned to the node
-- IAM role. For more information, see Amazon EKS node IAM role in
-- the Amazon EKS User Guide.
--
-- To specify an existing IAM role, you must have an IAM OpenID Connect
-- (OIDC) provider created for your cluster. For more information, see
-- Enabling IAM roles for service accounts on your cluster in the
-- Amazon EKS User Guide.
updateAddon_serviceAccountRoleArn :: Lens' UpdateAddon (Maybe Text)
-- | The name of the cluster.
updateAddon_clusterName :: Lens' UpdateAddon Text
-- | The name of the add-on. The name must match one of the names returned
-- by ListAddons .
updateAddon_addonName :: Lens' UpdateAddon Text
-- | Undocumented member.
updateAddonResponse_update :: Lens' UpdateAddonResponse (Maybe Update)
-- | The response's http status code.
updateAddonResponse_httpStatus :: Lens' UpdateAddonResponse Int
-- | Unique, case-sensitive identifier that you provide to ensure the
-- idempotency of the request.
updateClusterConfig_clientRequestToken :: Lens' UpdateClusterConfig (Maybe Text)
-- | Enable or disable exporting the Kubernetes control plane logs for your
-- cluster to CloudWatch Logs. By default, cluster control plane logs
-- aren't exported to CloudWatch Logs. For more information, see
-- Amazon EKS cluster control plane logs in the /Amazon EKS
-- User Guide/ .
--
-- CloudWatch Logs ingestion, archive storage, and data scanning rates
-- apply to exported control plane logs. For more information, see
-- CloudWatch Pricing.
updateClusterConfig_logging :: Lens' UpdateClusterConfig (Maybe Logging)
-- | Undocumented member.
updateClusterConfig_resourcesVpcConfig :: Lens' UpdateClusterConfig (Maybe VpcConfigRequest)
-- | The name of the Amazon EKS cluster to update.
updateClusterConfig_name :: Lens' UpdateClusterConfig Text
-- | Undocumented member.
updateClusterConfigResponse_update :: Lens' UpdateClusterConfigResponse (Maybe Update)
-- | The response's http status code.
updateClusterConfigResponse_httpStatus :: Lens' UpdateClusterConfigResponse Int
-- | Unique, case-sensitive identifier that you provide to ensure the
-- idempotency of the request.
updateClusterVersion_clientRequestToken :: Lens' UpdateClusterVersion (Maybe Text)
-- | The name of the Amazon EKS cluster to update.
updateClusterVersion_name :: Lens' UpdateClusterVersion Text
-- | The desired Kubernetes version following a successful update.
updateClusterVersion_version :: Lens' UpdateClusterVersion Text
-- | The full description of the specified update
updateClusterVersionResponse_update :: Lens' UpdateClusterVersionResponse (Maybe Update)
-- | The response's http status code.
updateClusterVersionResponse_httpStatus :: Lens' UpdateClusterVersionResponse Int
-- | Unique, case-sensitive identifier that you provide to ensure the
-- idempotency of the request.
updateNodegroupConfig_clientRequestToken :: Lens' UpdateNodegroupConfig (Maybe Text)
-- | The Kubernetes labels to be applied to the nodes in the node group
-- after the update.
updateNodegroupConfig_labels :: Lens' UpdateNodegroupConfig (Maybe UpdateLabelsPayload)
-- | The scaling configuration details for the Auto Scaling group after the
-- update.
updateNodegroupConfig_scalingConfig :: Lens' UpdateNodegroupConfig (Maybe NodegroupScalingConfig)
-- | The Kubernetes taints to be applied to the nodes in the node group
-- after the update. For more information, see Node taints on managed
-- node groups.
updateNodegroupConfig_taints :: Lens' UpdateNodegroupConfig (Maybe UpdateTaintsPayload)
-- | The node group update configuration.
updateNodegroupConfig_updateConfig :: Lens' UpdateNodegroupConfig (Maybe NodegroupUpdateConfig)
-- | The name of the Amazon EKS cluster that the managed node group resides
-- in.
updateNodegroupConfig_clusterName :: Lens' UpdateNodegroupConfig Text
-- | The name of the managed node group to update.
updateNodegroupConfig_nodegroupName :: Lens' UpdateNodegroupConfig Text
-- | Undocumented member.
updateNodegroupConfigResponse_update :: Lens' UpdateNodegroupConfigResponse (Maybe Update)
-- | The response's http status code.
updateNodegroupConfigResponse_httpStatus :: Lens' UpdateNodegroupConfigResponse Int
-- | Unique, case-sensitive identifier that you provide to ensure the
-- idempotency of the request.
updateNodegroupVersion_clientRequestToken :: Lens' UpdateNodegroupVersion (Maybe Text)
-- | Force the update if the existing node group's pods are unable to be
-- drained due to a pod disruption budget issue. If an update fails
-- because pods could not be drained, you can force the update after it
-- fails to terminate the old node whether or not any pods are running on
-- the node.
updateNodegroupVersion_force :: Lens' UpdateNodegroupVersion (Maybe Bool)
-- | An object representing a node group's launch template specification.
-- You can only update a node group using a launch template if the node
-- group was originally deployed with a launch template.
updateNodegroupVersion_launchTemplate :: Lens' UpdateNodegroupVersion (Maybe LaunchTemplateSpecification)
-- | The AMI version of the Amazon EKS optimized AMI to use for the update.
-- By default, the latest available AMI version for the node group's
-- Kubernetes version is used. For information about Linux versions, see
-- Amazon EKS optimized Amazon Linux AMI versions in the Amazon
-- EKS User Guide. Amazon EKS managed node groups support the
-- November 2022 and later releases of the Windows AMIs. For information
-- about Windows versions, see Amazon EKS optimized Windows AMI
-- versions in the Amazon EKS User Guide.
--
-- If you specify launchTemplate, and your launch template uses
-- a custom AMI, then don't specify releaseVersion, or the node
-- group update will fail. For more information about using launch
-- templates with Amazon EKS, see Launch template support in the
-- Amazon EKS User Guide.
updateNodegroupVersion_releaseVersion :: Lens' UpdateNodegroupVersion (Maybe Text)
-- | The Kubernetes version to update to. If no version is specified, then
-- the Kubernetes version of the node group does not change. You can
-- specify the Kubernetes version of the cluster to update the node group
-- to the latest AMI version of the cluster's Kubernetes version. If you
-- specify launchTemplate, and your launch template uses a
-- custom AMI, then don't specify version, or the node group
-- update will fail. For more information about using launch templates
-- with Amazon EKS, see Launch template support in the Amazon
-- EKS User Guide.
updateNodegroupVersion_version :: Lens' UpdateNodegroupVersion (Maybe Text)
-- | The name of the Amazon EKS cluster that is associated with the managed
-- node group to update.
updateNodegroupVersion_clusterName :: Lens' UpdateNodegroupVersion Text
-- | The name of the managed node group to update.
updateNodegroupVersion_nodegroupName :: Lens' UpdateNodegroupVersion Text
-- | Undocumented member.
updateNodegroupVersionResponse_update :: Lens' UpdateNodegroupVersionResponse (Maybe Update)
-- | The response's http status code.
updateNodegroupVersionResponse_httpStatus :: Lens' UpdateNodegroupVersionResponse Int
-- | The Amazon Resource Name (ARN) of the add-on.
addon_addonArn :: Lens' Addon (Maybe Text)
-- | The name of the add-on.
addon_addonName :: Lens' Addon (Maybe Text)
-- | The version of the add-on.
addon_addonVersion :: Lens' Addon (Maybe Text)
-- | The name of the cluster.
addon_clusterName :: Lens' Addon (Maybe Text)
-- | The configuration values that you provided.
addon_configurationValues :: Lens' Addon (Maybe Text)
-- | The date and time that the add-on was created.
addon_createdAt :: Lens' Addon (Maybe UTCTime)
-- | An object that represents the health of the add-on.
addon_health :: Lens' Addon (Maybe AddonHealth)
-- | Information about an Amazon EKS add-on from the Amazon Web Services
-- Marketplace.
addon_marketplaceInformation :: Lens' Addon (Maybe MarketplaceInformation)
-- | The date and time that the add-on was last modified.
addon_modifiedAt :: Lens' Addon (Maybe UTCTime)
-- | The owner of the add-on.
addon_owner :: Lens' Addon (Maybe Text)
-- | The publisher of the add-on.
addon_publisher :: Lens' Addon (Maybe Text)
-- | The Amazon Resource Name (ARN) of the IAM role that's bound to the
-- Kubernetes service account that the add-on uses.
addon_serviceAccountRoleArn :: Lens' Addon (Maybe Text)
-- | The status of the add-on.
addon_status :: Lens' Addon (Maybe AddonStatus)
-- | The metadata that you apply to the add-on to assist with
-- categorization and organization. Each tag consists of a key and an
-- optional value. You define both. Add-on tags do not propagate to any
-- other resources associated with the cluster.
addon_tags :: Lens' Addon (Maybe (HashMap Text Text))
-- | An object representing the health issues for an add-on.
addonHealth_issues :: Lens' AddonHealth (Maybe [AddonIssue])
-- | The name of the add-on.
addonInfo_addonName :: Lens' AddonInfo (Maybe Text)
-- | An object representing information about available add-on versions and
-- compatible Kubernetes versions.
addonInfo_addonVersions :: Lens' AddonInfo (Maybe [AddonVersionInfo])
-- | Information about the add-on from the Amazon Web Services Marketplace.
addonInfo_marketplaceInformation :: Lens' AddonInfo (Maybe MarketplaceInformation)
-- | The owner of the add-on.
addonInfo_owner :: Lens' AddonInfo (Maybe Text)
-- | The publisher of the add-on.
addonInfo_publisher :: Lens' AddonInfo (Maybe Text)
-- | The type of the add-on.
addonInfo_type :: Lens' AddonInfo (Maybe Text)
-- | A code that describes the type of issue.
addonIssue_code :: Lens' AddonIssue (Maybe AddonIssueCode)
-- | A message that provides details about the issue and what might cause
-- it.
addonIssue_message :: Lens' AddonIssue (Maybe Text)
-- | The resource IDs of the issue.
addonIssue_resourceIds :: Lens' AddonIssue (Maybe [Text])
-- | The version of the add-on.
addonVersionInfo_addonVersion :: Lens' AddonVersionInfo (Maybe Text)
-- | The architectures that the version supports.
addonVersionInfo_architecture :: Lens' AddonVersionInfo (Maybe [Text])
-- | An object representing the compatibilities of a version.
addonVersionInfo_compatibilities :: Lens' AddonVersionInfo (Maybe [Compatibility])
-- | Whether the add-on requires configuration.
addonVersionInfo_requiresConfiguration :: Lens' AddonVersionInfo (Maybe Bool)
-- | The name of the Auto Scaling group associated with an Amazon EKS
-- managed node group.
autoScalingGroup_name :: Lens' AutoScalingGroup (Maybe Text)
-- | The Base64-encoded certificate data required to communicate with your
-- cluster. Add this to the certificate-authority-data section
-- of the kubeconfig file for your cluster.
certificate_data :: Lens' Certificate (Maybe Text)
-- | The Amazon Resource Name (ARN) of the cluster.
cluster_arn :: Lens' Cluster (Maybe Text)
-- | The certificate-authority-data for your cluster.
cluster_certificateAuthority :: Lens' Cluster (Maybe Certificate)
-- | Unique, case-sensitive identifier that you provide to ensure the
-- idempotency of the request.
cluster_clientRequestToken :: Lens' Cluster (Maybe Text)
-- | The configuration used to connect to a cluster for registration.
cluster_connectorConfig :: Lens' Cluster (Maybe ConnectorConfigResponse)
-- | The Unix epoch timestamp in seconds for when the cluster was created.
cluster_createdAt :: Lens' Cluster (Maybe UTCTime)
-- | The encryption configuration for the cluster.
cluster_encryptionConfig :: Lens' Cluster (Maybe [EncryptionConfig])
-- | The endpoint for your Kubernetes API server.
cluster_endpoint :: Lens' Cluster (Maybe Text)
-- | An object representing the health of your local Amazon EKS cluster on
-- an Amazon Web Services Outpost. This object isn't available for
-- clusters on the Amazon Web Services cloud.
cluster_health :: Lens' Cluster (Maybe ClusterHealth)
-- | The ID of your local Amazon EKS cluster on an Amazon Web Services
-- Outpost. This property isn't available for an Amazon EKS cluster on
-- the Amazon Web Services cloud.
cluster_id :: Lens' Cluster (Maybe Text)
-- | The identity provider information for the cluster.
cluster_identity :: Lens' Cluster (Maybe Identity)
-- | The Kubernetes network configuration for the cluster.
cluster_kubernetesNetworkConfig :: Lens' Cluster (Maybe KubernetesNetworkConfigResponse)
-- | The logging configuration for your cluster.
cluster_logging :: Lens' Cluster (Maybe Logging)
-- | The name of the cluster.
cluster_name :: Lens' Cluster (Maybe Text)
-- | An object representing the configuration of your local Amazon EKS
-- cluster on an Amazon Web Services Outpost. This object isn't available
-- for clusters on the Amazon Web Services cloud.
cluster_outpostConfig :: Lens' Cluster (Maybe OutpostConfigResponse)
-- | The platform version of your Amazon EKS cluster. For more information,
-- see Platform Versions in the /Amazon EKS User Guide/ .
cluster_platformVersion :: Lens' Cluster (Maybe Text)
-- | The VPC configuration used by the cluster control plane. Amazon EKS
-- VPC resources have specific requirements to work properly with
-- Kubernetes. For more information, see Cluster VPC
-- Considerations and Cluster Security Group Considerations in
-- the Amazon EKS User Guide.
cluster_resourcesVpcConfig :: Lens' Cluster (Maybe VpcConfigResponse)
-- | The Amazon Resource Name (ARN) of the IAM role that provides
-- permissions for the Kubernetes control plane to make calls to Amazon
-- Web Services API operations on your behalf.
cluster_roleArn :: Lens' Cluster (Maybe Text)
-- | The current status of the cluster.
cluster_status :: Lens' Cluster (Maybe ClusterStatus)
-- | The metadata that you apply to the cluster to assist with
-- categorization and organization. Each tag consists of a key and an
-- optional value. You define both. Cluster tags do not propagate to any
-- other resources associated with the cluster.
cluster_tags :: Lens' Cluster (Maybe (HashMap Text Text))
-- | The Kubernetes server version for the cluster.
cluster_version :: Lens' Cluster (Maybe Text)
-- | An object representing the health issues of your local Amazon EKS
-- cluster on an Amazon Web Services Outpost.
clusterHealth_issues :: Lens' ClusterHealth (Maybe [ClusterIssue])
-- | The error code of the issue.
clusterIssue_code :: Lens' ClusterIssue (Maybe ClusterIssueCode)
-- | A description of the issue.
clusterIssue_message :: Lens' ClusterIssue (Maybe Text)
-- | The resource IDs that the issue relates to.
clusterIssue_resourceIds :: Lens' ClusterIssue (Maybe [Text])
-- | The supported Kubernetes version of the cluster.
compatibility_clusterVersion :: Lens' Compatibility (Maybe Text)
-- | The supported default version.
compatibility_defaultVersion :: Lens' Compatibility (Maybe Bool)
-- | The supported compute platform.
compatibility_platformVersions :: Lens' Compatibility (Maybe [Text])
-- | The Amazon Resource Name (ARN) of the role that is authorized to
-- request the connector configuration.
connectorConfigRequest_roleArn :: Lens' ConnectorConfigRequest Text
-- | The cloud provider for the target cluster to connect.
connectorConfigRequest_provider :: Lens' ConnectorConfigRequest ConnectorConfigProvider
-- | A unique code associated with the cluster for registration purposes.
connectorConfigResponse_activationCode :: Lens' ConnectorConfigResponse (Maybe Text)
-- | The expiration time of the connected cluster. The cluster's YAML file
-- must be applied through the native provider.
connectorConfigResponse_activationExpiry :: Lens' ConnectorConfigResponse (Maybe UTCTime)
-- | A unique ID associated with the cluster for registration purposes.
connectorConfigResponse_activationId :: Lens' ConnectorConfigResponse (Maybe Text)
-- | The cluster's cloud service provider.
connectorConfigResponse_provider :: Lens' ConnectorConfigResponse (Maybe Text)
-- | The Amazon Resource Name (ARN) of the role to communicate with
-- services from the connected Kubernetes cluster.
connectorConfigResponse_roleArn :: Lens' ConnectorConfigResponse (Maybe Text)
-- | The name of the placement group for the Kubernetes control plane
-- instances. This setting can't be changed after cluster creation.
controlPlanePlacementRequest_groupName :: Lens' ControlPlanePlacementRequest (Maybe Text)
-- | The name of the placement group for the Kubernetes control plane
-- instances.
controlPlanePlacementResponse_groupName :: Lens' ControlPlanePlacementResponse (Maybe Text)
-- | Key Management Service (KMS) key. Either the ARN or the alias can be
-- used.
encryptionConfig_provider :: Lens' EncryptionConfig (Maybe Provider)
-- | Specifies the resources to be encrypted. The only supported value is
-- "secrets".
encryptionConfig_resources :: Lens' EncryptionConfig (Maybe [Text])
-- | A brief description of the error.
--
--
-- - SubnetNotFound: We couldn't find one of the subnets
-- associated with the cluster.
-- - SecurityGroupNotFound: We couldn't find one of the security
-- groups associated with the cluster.
-- - EniLimitReached: You have reached the elastic network
-- interface limit for your account.
-- - IpNotAvailable: A subnet associated with the cluster
-- doesn't have any free IP addresses.
-- - AccessDenied: You don't have permissions to perform the
-- specified operation.
-- - OperationNotPermitted: The service role associated with the
-- cluster doesn't have the required access permissions for Amazon
-- EKS.
-- - VpcIdNotFound: We couldn't find the VPC associated with the
-- cluster.
--
errorDetail_errorCode :: Lens' ErrorDetail (Maybe EKSErrorCode)
-- | A more complete description of the error.
errorDetail_errorMessage :: Lens' ErrorDetail (Maybe Text)
-- | An optional field that contains the resource IDs associated with the
-- error.
errorDetail_resourceIds :: Lens' ErrorDetail (Maybe [Text])
-- | The name of the Amazon EKS cluster that the Fargate profile belongs
-- to.
fargateProfile_clusterName :: Lens' FargateProfile (Maybe Text)
-- | The Unix epoch timestamp in seconds for when the Fargate profile was
-- created.
fargateProfile_createdAt :: Lens' FargateProfile (Maybe UTCTime)
-- | The full Amazon Resource Name (ARN) of the Fargate profile.
fargateProfile_fargateProfileArn :: Lens' FargateProfile (Maybe Text)
-- | The name of the Fargate profile.
fargateProfile_fargateProfileName :: Lens' FargateProfile (Maybe Text)
-- | The Amazon Resource Name (ARN) of the pod execution role to use for
-- pods that match the selectors in the Fargate profile. For more
-- information, see Pod Execution Role in the Amazon EKS User
-- Guide.
fargateProfile_podExecutionRoleArn :: Lens' FargateProfile (Maybe Text)
-- | The selectors to match for pods to use this Fargate profile.
fargateProfile_selectors :: Lens' FargateProfile (Maybe [FargateProfileSelector])
-- | The current status of the Fargate profile.
fargateProfile_status :: Lens' FargateProfile (Maybe FargateProfileStatus)
-- | The IDs of subnets to launch pods into.
fargateProfile_subnets :: Lens' FargateProfile (Maybe [Text])
-- | The metadata applied to the Fargate profile to assist with
-- categorization and organization. Each tag consists of a key and an
-- optional value. You define both. Fargate profile tags do not propagate
-- to any other resources associated with the Fargate profile, such as
-- the pods that are scheduled with it.
fargateProfile_tags :: Lens' FargateProfile (Maybe (HashMap Text Text))
-- | The Kubernetes labels that the selector should match. A pod must
-- contain all of the labels that are specified in the selector for it to
-- be considered a match.
fargateProfileSelector_labels :: Lens' FargateProfileSelector (Maybe (HashMap Text Text))
-- | The Kubernetes namespace that the selector should match.
fargateProfileSelector_namespace :: Lens' FargateProfileSelector (Maybe Text)
-- | An object representing the OpenID Connect identity provider
-- information.
identity_oidc :: Lens' Identity (Maybe OIDC)
-- | The type of the identity provider configuration. The only type
-- available is oidc.
identityProviderConfig_type :: Lens' IdentityProviderConfig Text
-- | The name of the identity provider configuration.
identityProviderConfig_name :: Lens' IdentityProviderConfig Text
-- | An object representing an OpenID Connect (OIDC) identity provider
-- configuration.
identityProviderConfigResponse_oidc :: Lens' IdentityProviderConfigResponse (Maybe OidcIdentityProviderConfig)
-- | A brief description of the error.
--
--
-- - AccessDenied: Amazon EKS or one or more of your managed
-- nodes is failing to authenticate or authorize with your Kubernetes
-- cluster API server.
-- - AsgInstanceLaunchFailures: Your Auto Scaling group is
-- experiencing failures while attempting to launch instances.
-- - AutoScalingGroupNotFound: We couldn't find the Auto Scaling
-- group associated with the managed node group. You may be able to
-- recreate an Auto Scaling group with the same settings to recover.
-- - ClusterUnreachable: Amazon EKS or one or more of your
-- managed nodes is unable to to communicate with your Kubernetes cluster
-- API server. This can happen if there are network disruptions or if API
-- servers are timing out processing requests.
-- - Ec2LaunchTemplateNotFound: We couldn't find the Amazon EC2
-- launch template for your managed node group. You may be able to
-- recreate a launch template with the same settings to recover.
-- - Ec2LaunchTemplateVersionMismatch: The Amazon EC2 launch
-- template version for your managed node group does not match the
-- version that Amazon EKS created. You may be able to revert to the
-- version that Amazon EKS created to recover.
-- - Ec2SecurityGroupDeletionFailure: We could not delete the
-- remote access security group for your managed node group. Remove any
-- dependencies from the security group.
-- - Ec2SecurityGroupNotFound: We couldn't find the cluster
-- security group for the cluster. You must recreate your cluster.
-- - Ec2SubnetInvalidConfiguration: One or more Amazon EC2
-- subnets specified for a node group do not automatically assign public
-- IP addresses to instances launched into it. If you want your instances
-- to be assigned a public IP address, then you need to enable the
-- auto-assign public IP address setting for the subnet. See
-- Modifying the public IPv4 addressing attribute for your subnet
-- in the Amazon VPC User Guide.
-- - IamInstanceProfileNotFound: We couldn't find the IAM
-- instance profile for your managed node group. You may be able to
-- recreate an instance profile with the same settings to recover.
-- - IamNodeRoleNotFound: We couldn't find the IAM role for your
-- managed node group. You may be able to recreate an IAM role with the
-- same settings to recover.
-- - InstanceLimitExceeded: Your Amazon Web Services account is
-- unable to launch any more instances of the specified instance type.
-- You may be able to request an Amazon EC2 instance limit increase to
-- recover.
-- - InsufficientFreeAddresses: One or more of the subnets
-- associated with your managed node group does not have enough available
-- IP addresses for new nodes.
-- - InternalFailure: These errors are usually caused by an
-- Amazon EKS server-side issue.
-- - NodeCreationFailure: Your launched instances are unable to
-- register with your Amazon EKS cluster. Common causes of this failure
-- are insufficient node IAM role permissions or lack of outbound
-- internet access for the nodes.
--
issue_code :: Lens' Issue (Maybe NodegroupIssueCode)
-- | The error message associated with the issue.
issue_message :: Lens' Issue (Maybe Text)
-- | The Amazon Web Services resources that are afflicted by this issue.
issue_resourceIds :: Lens' Issue (Maybe [Text])
-- | Specify which IP family is used to assign Kubernetes pod and service
-- IP addresses. If you don't specify a value, ipv4 is used by
-- default. You can only specify an IP family when you create a cluster
-- and can't change this value once the cluster is created. If you
-- specify ipv6, the VPC and subnets that you specify for
-- cluster creation must have both IPv4 and IPv6 CIDR
-- blocks assigned to them. You can't specify ipv6 for clusters
-- in China Regions.
--
-- You can only specify ipv6 for 1.21 and later
-- clusters that use version 1.10.1 or later of the Amazon VPC
-- CNI add-on. If you specify ipv6, then ensure that your VPC
-- meets the requirements listed in the considerations listed in
-- Assigning IPv6 addresses to pods and services in the Amazon EKS
-- User Guide. Kubernetes assigns services IPv6 addresses from
-- the unique local address range (fc00::/7). You can't specify
-- a custom IPv6 CIDR block. Pod addresses are assigned from the
-- subnet's IPv6 CIDR.
kubernetesNetworkConfigRequest_ipFamily :: Lens' KubernetesNetworkConfigRequest (Maybe IpFamily)
-- | Don't specify a value if you select ipv6 for ipFamily.
-- The CIDR block to assign Kubernetes service IP addresses from. If you
-- don't specify a block, Kubernetes assigns addresses from either the
-- 10.100.0.0/16 or 172.20.0.0/16 CIDR blocks. We
-- recommend that you specify a block that does not overlap with
-- resources in other networks that are peered or connected to your VPC.
-- The block must meet the following requirements:
--
--
-- - Within one of the following private IP address blocks:
-- 10.0.0.0/8, 172.16.0.0/12, or
-- 192.168.0.0/16.
-- - Doesn't overlap with any CIDR block assigned to the VPC that you
-- selected for VPC.
-- - Between /24 and /12.
--
--
-- You can only specify a custom CIDR block when you create a cluster and
-- can't change this value once the cluster is created.
kubernetesNetworkConfigRequest_serviceIpv4Cidr :: Lens' KubernetesNetworkConfigRequest (Maybe Text)
-- | The IP family used to assign Kubernetes pod and service IP addresses.
-- The IP family is always ipv4, unless you have a 1.21
-- or later cluster running version 1.10.1 or later of the Amazon VPC CNI
-- add-on and specified ipv6 when you created the cluster.
kubernetesNetworkConfigResponse_ipFamily :: Lens' KubernetesNetworkConfigResponse (Maybe IpFamily)
-- | The CIDR block that Kubernetes pod and service IP addresses are
-- assigned from. Kubernetes assigns addresses from an IPv4 CIDR block
-- assigned to a subnet that the node is in. If you didn't specify a CIDR
-- block when you created the cluster, then Kubernetes assigns addresses
-- from either the 10.100.0.0/16 or 172.20.0.0/16 CIDR
-- blocks. If this was specified, then it was specified when the cluster
-- was created and it can't be changed.
kubernetesNetworkConfigResponse_serviceIpv4Cidr :: Lens' KubernetesNetworkConfigResponse (Maybe Text)
-- | The CIDR block that Kubernetes pod and service IP addresses are
-- assigned from if you created a 1.21 or later cluster with version
-- 1.10.1 or later of the Amazon VPC CNI add-on and specified
-- ipv6 for ipFamily when you created the cluster.
-- Kubernetes assigns service addresses from the unique local address
-- range (fc00::/7) because you can't specify a custom IPv6 CIDR
-- block when you create the cluster.
kubernetesNetworkConfigResponse_serviceIpv6Cidr :: Lens' KubernetesNetworkConfigResponse (Maybe Text)
-- | The ID of the launch template.
--
-- You must specify either the launch template ID or the launch template
-- name in the request, but not both.
launchTemplateSpecification_id :: Lens' LaunchTemplateSpecification (Maybe Text)
-- | The name of the launch template.
--
-- You must specify either the launch template name or the launch
-- template ID in the request, but not both.
launchTemplateSpecification_name :: Lens' LaunchTemplateSpecification (Maybe Text)
-- | The version number of the launch template to use. If no version is
-- specified, then the template's default version is used.
launchTemplateSpecification_version :: Lens' LaunchTemplateSpecification (Maybe Text)
-- | If a log type is enabled, that log type exports its control plane logs
-- to CloudWatch Logs. If a log type isn't enabled, that log type doesn't
-- export its control plane logs. Each individual log type can be enabled
-- or disabled independently.
logSetup_enabled :: Lens' LogSetup (Maybe Bool)
-- | The available cluster control plane log types.
logSetup_types :: Lens' LogSetup (Maybe [LogType])
-- | The cluster control plane logging configuration for your cluster.
logging_clusterLogging :: Lens' Logging (Maybe [LogSetup])
-- | The product ID from the Amazon Web Services Marketplace.
marketplaceInformation_productId :: Lens' MarketplaceInformation (Maybe Text)
-- | The product URL from the Amazon Web Services Marketplace.
marketplaceInformation_productUrl :: Lens' MarketplaceInformation (Maybe Text)
-- | If the node group was deployed using a launch template with a custom
-- AMI, then this is CUSTOM. For node groups that weren't
-- deployed using a launch template, this is the AMI type that was
-- specified in the node group configuration.
nodegroup_amiType :: Lens' Nodegroup (Maybe AMITypes)
-- | The capacity type of your managed node group.
nodegroup_capacityType :: Lens' Nodegroup (Maybe CapacityTypes)
-- | The name of the cluster that the managed node group resides in.
nodegroup_clusterName :: Lens' Nodegroup (Maybe Text)
-- | The Unix epoch timestamp in seconds for when the managed node group
-- was created.
nodegroup_createdAt :: Lens' Nodegroup (Maybe UTCTime)
-- | If the node group wasn't deployed with a launch template, then this is
-- the disk size in the node group configuration. If the node group was
-- deployed with a launch template, then this is null.
nodegroup_diskSize :: Lens' Nodegroup (Maybe Int)
-- | The health status of the node group. If there are issues with your
-- node group's health, they are listed here.
nodegroup_health :: Lens' Nodegroup (Maybe NodegroupHealth)
-- | If the node group wasn't deployed with a launch template, then this is
-- the instance type that is associated with the node group. If the node
-- group was deployed with a launch template, then this is null.
nodegroup_instanceTypes :: Lens' Nodegroup (Maybe [Text])
-- | The Kubernetes labels applied to the nodes in the node group.
--
-- Only labels that are applied with the Amazon EKS API are shown here.
-- There may be other Kubernetes labels applied to the nodes in this
-- group.
nodegroup_labels :: Lens' Nodegroup (Maybe (HashMap Text Text))
-- | If a launch template was used to create the node group, then this is
-- the launch template that was used.
nodegroup_launchTemplate :: Lens' Nodegroup (Maybe LaunchTemplateSpecification)
-- | The Unix epoch timestamp in seconds for when the managed node group
-- was last modified.
nodegroup_modifiedAt :: Lens' Nodegroup (Maybe UTCTime)
-- | The IAM role associated with your node group. The Amazon EKS node
-- kubelet daemon makes calls to Amazon Web Services APIs on
-- your behalf. Nodes receive permissions for these API calls through an
-- IAM instance profile and associated policies.
nodegroup_nodeRole :: Lens' Nodegroup (Maybe Text)
-- | The Amazon Resource Name (ARN) associated with the managed node group.
nodegroup_nodegroupArn :: Lens' Nodegroup (Maybe Text)
-- | The name associated with an Amazon EKS managed node group.
nodegroup_nodegroupName :: Lens' Nodegroup (Maybe Text)
-- | If the node group was deployed using a launch template with a custom
-- AMI, then this is the AMI ID that was specified in the launch
-- template. For node groups that weren't deployed using a launch
-- template, this is the version of the Amazon EKS optimized AMI that the
-- node group was deployed with.
nodegroup_releaseVersion :: Lens' Nodegroup (Maybe Text)
-- | If the node group wasn't deployed with a launch template, then this is
-- the remote access configuration that is associated with the node
-- group. If the node group was deployed with a launch template, then
-- this is null.
nodegroup_remoteAccess :: Lens' Nodegroup (Maybe RemoteAccessConfig)
-- | The resources associated with the node group, such as Auto Scaling
-- groups and security groups for remote access.
nodegroup_resources :: Lens' Nodegroup (Maybe NodegroupResources)
-- | The scaling configuration details for the Auto Scaling group that is
-- associated with your node group.
nodegroup_scalingConfig :: Lens' Nodegroup (Maybe NodegroupScalingConfig)
-- | The current status of the managed node group.
nodegroup_status :: Lens' Nodegroup (Maybe NodegroupStatus)
-- | The subnets that were specified for the Auto Scaling group that is
-- associated with your node group.
nodegroup_subnets :: Lens' Nodegroup (Maybe [Text])
-- | The metadata applied to the node group to assist with categorization
-- and organization. Each tag consists of a key and an optional value.
-- You define both. Node group tags do not propagate to any other
-- resources associated with the node group, such as the Amazon EC2
-- instances or subnets.
nodegroup_tags :: Lens' Nodegroup (Maybe (HashMap Text Text))
-- | The Kubernetes taints to be applied to the nodes in the node group
-- when they are created. Effect is one of No_Schedule,
-- Prefer_No_Schedule, or No_Execute. Kubernetes taints
-- can be used together with tolerations to control how workloads are
-- scheduled to your nodes. For more information, see Node taints on
-- managed node groups.
nodegroup_taints :: Lens' Nodegroup (Maybe [Taint])
-- | The node group update configuration.
nodegroup_updateConfig :: Lens' Nodegroup (Maybe NodegroupUpdateConfig)
-- | The Kubernetes version of the managed node group.
nodegroup_version :: Lens' Nodegroup (Maybe Text)
-- | Any issues that are associated with the node group.
nodegroupHealth_issues :: Lens' NodegroupHealth (Maybe [Issue])
-- | The Auto Scaling groups associated with the node group.
nodegroupResources_autoScalingGroups :: Lens' NodegroupResources (Maybe [AutoScalingGroup])
-- | The remote access security group associated with the node group. This
-- security group controls SSH access to the nodes.
nodegroupResources_remoteAccessSecurityGroup :: Lens' NodegroupResources (Maybe Text)
-- | The current number of nodes that the managed node group should
-- maintain.
--
-- If you use Cluster Autoscaler, you shouldn't change the desiredSize
-- value directly, as this can cause the Cluster Autoscaler to suddenly
-- scale up or scale down.
--
-- Whenever this parameter changes, the number of worker nodes in the
-- node group is updated to the specified size. If this parameter is
-- given a value that is smaller than the current number of running
-- worker nodes, the necessary number of worker nodes are terminated to
-- match the given value. When using CloudFormation, no action occurs if
-- you remove this parameter from your CFN template.
--
-- This parameter can be different from minSize in some cases, such as
-- when starting with extra hosts for testing. This parameter can also be
-- different when you want to start with an estimated number of needed
-- hosts, but let Cluster Autoscaler reduce the number if there are too
-- many. When Cluster Autoscaler is used, the desiredSize parameter is
-- altered by Cluster Autoscaler (but can be out-of-date for short
-- periods of time). Cluster Autoscaler doesn't scale a managed node
-- group lower than minSize or higher than maxSize.
nodegroupScalingConfig_desiredSize :: Lens' NodegroupScalingConfig (Maybe Natural)
-- | The maximum number of nodes that the managed node group can scale out
-- to. For information about the maximum number that you can specify, see
-- Amazon EKS service quotas in the Amazon EKS User Guide.
nodegroupScalingConfig_maxSize :: Lens' NodegroupScalingConfig (Maybe Natural)
-- | The minimum number of nodes that the managed node group can scale in
-- to.
nodegroupScalingConfig_minSize :: Lens' NodegroupScalingConfig (Maybe Natural)
-- | The maximum number of nodes unavailable at once during a version
-- update. Nodes will be updated in parallel. This value or
-- maxUnavailablePercentage is required to have a value.The
-- maximum number is 100.
nodegroupUpdateConfig_maxUnavailable :: Lens' NodegroupUpdateConfig (Maybe Natural)
-- | The maximum percentage of nodes unavailable during a version update.
-- This percentage of nodes will be updated in parallel, up to 100 nodes
-- at once. This value or maxUnavailable is required to have a
-- value.
nodegroupUpdateConfig_maxUnavailablePercentage :: Lens' NodegroupUpdateConfig (Maybe Natural)
-- | The issuer URL for the OIDC identity provider.
oidc_issuer :: Lens' OIDC (Maybe Text)
-- | This is also known as audience. The ID of the client
-- application that makes authentication requests to the OIDC identity
-- provider.
oidcIdentityProviderConfig_clientId :: Lens' OidcIdentityProviderConfig (Maybe Text)
-- | The cluster that the configuration is associated to.
oidcIdentityProviderConfig_clusterName :: Lens' OidcIdentityProviderConfig (Maybe Text)
-- | The JSON web token (JWT) claim that the provider uses to return your
-- groups.
oidcIdentityProviderConfig_groupsClaim :: Lens' OidcIdentityProviderConfig (Maybe Text)
-- | The prefix that is prepended to group claims to prevent clashes with
-- existing names (such as system: groups). For example, the
-- value oidc: creates group names like
-- oidc:engineering and oidc:infra. The prefix can't
-- contain system:
oidcIdentityProviderConfig_groupsPrefix :: Lens' OidcIdentityProviderConfig (Maybe Text)
-- | The ARN of the configuration.
oidcIdentityProviderConfig_identityProviderConfigArn :: Lens' OidcIdentityProviderConfig (Maybe Text)
-- | The name of the configuration.
oidcIdentityProviderConfig_identityProviderConfigName :: Lens' OidcIdentityProviderConfig (Maybe Text)
-- | The URL of the OIDC identity provider that allows the API server to
-- discover public signing keys for verifying tokens.
oidcIdentityProviderConfig_issuerUrl :: Lens' OidcIdentityProviderConfig (Maybe Text)
-- | The key-value pairs that describe required claims in the identity
-- token. If set, each claim is verified to be present in the token with
-- a matching value.
oidcIdentityProviderConfig_requiredClaims :: Lens' OidcIdentityProviderConfig (Maybe (HashMap Text Text))
-- | The status of the OIDC identity provider.
oidcIdentityProviderConfig_status :: Lens' OidcIdentityProviderConfig (Maybe ConfigStatus)
-- | The metadata to apply to the provider configuration to assist with
-- categorization and organization. Each tag consists of a key and an
-- optional value. You define both.
oidcIdentityProviderConfig_tags :: Lens' OidcIdentityProviderConfig (Maybe (HashMap Text Text))
-- | The JSON Web token (JWT) claim that is used as the username.
oidcIdentityProviderConfig_usernameClaim :: Lens' OidcIdentityProviderConfig (Maybe Text)
-- | The prefix that is prepended to username claims to prevent clashes
-- with existing names. The prefix can't contain system:
oidcIdentityProviderConfig_usernamePrefix :: Lens' OidcIdentityProviderConfig (Maybe Text)
-- | The JWT claim that the provider uses to return your groups.
oidcIdentityProviderConfigRequest_groupsClaim :: Lens' OidcIdentityProviderConfigRequest (Maybe Text)
-- | The prefix that is prepended to group claims to prevent clashes with
-- existing names (such as system: groups). For example, the
-- value oidc: will create group names like
-- oidc:engineering and oidc:infra.
oidcIdentityProviderConfigRequest_groupsPrefix :: Lens' OidcIdentityProviderConfigRequest (Maybe Text)
-- | The key value pairs that describe required claims in the identity
-- token. If set, each claim is verified to be present in the token with
-- a matching value. For the maximum number of claims that you can
-- require, see Amazon EKS service quotas in the Amazon EKS
-- User Guide.
oidcIdentityProviderConfigRequest_requiredClaims :: Lens' OidcIdentityProviderConfigRequest (Maybe (HashMap Text Text))
-- | The JSON Web Token (JWT) claim to use as the username. The default is
-- sub, which is expected to be a unique identifier of the end
-- user. You can choose other claims, such as email or
-- name, depending on the OpenID identity provider. Claims other
-- than email are prefixed with the issuer URL to prevent naming
-- clashes with other plug-ins.
oidcIdentityProviderConfigRequest_usernameClaim :: Lens' OidcIdentityProviderConfigRequest (Maybe Text)
-- | The prefix that is prepended to username claims to prevent clashes
-- with existing names. If you do not provide this field, and
-- username is a value other than email, the prefix
-- defaults to issuerurl#. You can use the value - to
-- disable all prefixing.
oidcIdentityProviderConfigRequest_usernamePrefix :: Lens' OidcIdentityProviderConfigRequest (Maybe Text)
-- | The name of the OIDC provider configuration.
oidcIdentityProviderConfigRequest_identityProviderConfigName :: Lens' OidcIdentityProviderConfigRequest Text
-- | The URL of the OpenID identity provider that allows the API server to
-- discover public signing keys for verifying tokens. The URL must begin
-- with https:// and should correspond to the iss claim
-- in the provider's OIDC ID tokens. Per the OIDC standard, path
-- components are allowed but query parameters are not. Typically the URL
-- consists of only a hostname, like https://server.example.org
-- or https://example.com. This URL should point to the level
-- below .well-known/openid-configuration and must be publicly
-- accessible over the internet.
oidcIdentityProviderConfigRequest_issuerUrl :: Lens' OidcIdentityProviderConfigRequest Text
-- | This is also known as audience. The ID for the client
-- application that makes authentication requests to the OpenID identity
-- provider.
oidcIdentityProviderConfigRequest_clientId :: Lens' OidcIdentityProviderConfigRequest Text
-- | An object representing the placement configuration for all the control
-- plane instances of your local Amazon EKS cluster on an Amazon Web
-- Services Outpost. For more information, see Capacity
-- considerations in the Amazon EKS User Guide.
outpostConfigRequest_controlPlanePlacement :: Lens' OutpostConfigRequest (Maybe ControlPlanePlacementRequest)
-- | The ARN of the Outpost that you want to use for your local Amazon EKS
-- cluster on Outposts. Only a single Outpost ARN is supported.
outpostConfigRequest_outpostArns :: Lens' OutpostConfigRequest [Text]
-- | The Amazon EC2 instance type that you want to use for your local
-- Amazon EKS cluster on Outposts. Choose an instance type based on the
-- number of nodes that your cluster will have. For more information, see
-- Capacity considerations in the Amazon EKS User Guide.
--
-- The instance type that you specify is used for all Kubernetes control
-- plane instances. The instance type can't be changed after cluster
-- creation. The control plane is not automatically scaled by Amazon EKS.
outpostConfigRequest_controlPlaneInstanceType :: Lens' OutpostConfigRequest Text
-- | An object representing the placement configuration for all the control
-- plane instances of your local Amazon EKS cluster on an Amazon Web
-- Services Outpost. For more information, see Capacity
-- considerations in the Amazon EKS User Guide.
outpostConfigResponse_controlPlanePlacement :: Lens' OutpostConfigResponse (Maybe ControlPlanePlacementResponse)
-- | The ARN of the Outpost that you specified for use with your local
-- Amazon EKS cluster on Outposts.
outpostConfigResponse_outpostArns :: Lens' OutpostConfigResponse [Text]
-- | The Amazon EC2 instance type used for the control plane. The instance
-- type is the same for all control plane instances.
outpostConfigResponse_controlPlaneInstanceType :: Lens' OutpostConfigResponse Text
-- | Amazon Resource Name (ARN) or alias of the KMS key. The KMS key must
-- be symmetric, created in the same region as the cluster, and if the
-- KMS key was created in a different account, the user must have access
-- to the KMS key. For more information, see Allowing Users in Other
-- Accounts to Use a KMS key in the Key Management Service
-- Developer Guide.
provider_keyArn :: Lens' Provider (Maybe Text)
-- | The Amazon EC2 SSH key name that provides access for SSH communication
-- with the nodes in the managed node group. For more information, see
-- Amazon EC2 key pairs and Linux instances in the Amazon
-- Elastic Compute Cloud User Guide for Linux Instances. For Windows,
-- an Amazon EC2 SSH key is used to obtain the RDP password. For more
-- information, see Amazon EC2 key pairs and Windows instances in
-- the Amazon Elastic Compute Cloud User Guide for Windows
-- Instances.
remoteAccessConfig_ec2SshKey :: Lens' RemoteAccessConfig (Maybe Text)
-- | The security group IDs that are allowed SSH access (port 22) to the
-- nodes. For Windows, the port is 3389. If you specify an Amazon EC2 SSH
-- key but don't specify a source security group when you create a
-- managed node group, then the port on the nodes is opened to the
-- internet (0.0.0.0/0). For more information, see Security
-- Groups for Your VPC in the Amazon Virtual Private Cloud User
-- Guide.
remoteAccessConfig_sourceSecurityGroups :: Lens' RemoteAccessConfig (Maybe [Text])
-- | The effect of the taint.
taint_effect :: Lens' Taint (Maybe TaintEffect)
-- | The key of the taint.
taint_key :: Lens' Taint (Maybe Text)
-- | The value of the taint.
taint_value :: Lens' Taint (Maybe Text)
-- | The Unix epoch timestamp in seconds for when the update was created.
update_createdAt :: Lens' Update (Maybe UTCTime)
-- | Any errors associated with a Failed update.
update_errors :: Lens' Update (Maybe [ErrorDetail])
-- | A UUID that is used to track the update.
update_id :: Lens' Update (Maybe Text)
-- | A key-value map that contains the parameters associated with the
-- update.
update_params :: Lens' Update (Maybe [UpdateParam])
-- | The current status of the update.
update_status :: Lens' Update (Maybe UpdateStatus)
-- | The type of the update.
update_type :: Lens' Update (Maybe UpdateType)
-- | Kubernetes labels to be added or updated.
updateLabelsPayload_addOrUpdateLabels :: Lens' UpdateLabelsPayload (Maybe (HashMap Text Text))
-- | Kubernetes labels to be removed.
updateLabelsPayload_removeLabels :: Lens' UpdateLabelsPayload (Maybe [Text])
-- | The keys associated with an update request.
updateParam_type :: Lens' UpdateParam (Maybe UpdateParamType)
-- | The value of the keys submitted as part of an update request.
updateParam_value :: Lens' UpdateParam (Maybe Text)
-- | Kubernetes taints to be added or updated.
updateTaintsPayload_addOrUpdateTaints :: Lens' UpdateTaintsPayload (Maybe [Taint])
-- | Kubernetes taints to remove.
updateTaintsPayload_removeTaints :: Lens' UpdateTaintsPayload (Maybe [Taint])
-- | Set this value to true to enable private access for your
-- cluster's Kubernetes API server endpoint. If you enable private
-- access, Kubernetes API requests from within your cluster's VPC use the
-- private VPC endpoint. The default value for this parameter is
-- false, which disables private access for your Kubernetes API
-- server. If you disable private access and you have nodes or Fargate
-- pods in the cluster, then ensure that publicAccessCidrs
-- includes the necessary CIDR blocks for communication with the nodes or
-- Fargate pods. For more information, see Amazon EKS cluster endpoint
-- access control in the /Amazon EKS User Guide/ .
vpcConfigRequest_endpointPrivateAccess :: Lens' VpcConfigRequest (Maybe Bool)
-- | Set this value to false to disable public access to your
-- cluster's Kubernetes API server endpoint. If you disable public
-- access, your cluster's Kubernetes API server can only receive requests
-- from within the cluster VPC. The default value for this parameter is
-- true, which enables public access for your Kubernetes API
-- server. For more information, see Amazon EKS cluster endpoint
-- access control in the /Amazon EKS User Guide/ .
vpcConfigRequest_endpointPublicAccess :: Lens' VpcConfigRequest (Maybe Bool)
-- | The CIDR blocks that are allowed access to your cluster's public
-- Kubernetes API server endpoint. Communication to the endpoint from
-- addresses outside of the CIDR blocks that you specify is denied. The
-- default value is 0.0.0.0/0. If you've disabled private
-- endpoint access and you have nodes or Fargate pods in the cluster,
-- then ensure that you specify the necessary CIDR blocks. For more
-- information, see Amazon EKS cluster endpoint access control in
-- the /Amazon EKS User Guide/ .
vpcConfigRequest_publicAccessCidrs :: Lens' VpcConfigRequest (Maybe [Text])
-- | Specify one or more security groups for the cross-account elastic
-- network interfaces that Amazon EKS creates to use that allow
-- communication between your nodes and the Kubernetes control plane. If
-- you don't specify any security groups, then familiarize yourself with
-- the difference between Amazon EKS defaults for clusters deployed with
-- Kubernetes. For more information, see Amazon EKS security group
-- considerations in the /Amazon EKS User Guide/ .
vpcConfigRequest_securityGroupIds :: Lens' VpcConfigRequest (Maybe [Text])
-- | Specify subnets for your Amazon EKS nodes. Amazon EKS creates
-- cross-account elastic network interfaces in these subnets to allow
-- communication between your nodes and the Kubernetes control plane.
vpcConfigRequest_subnetIds :: Lens' VpcConfigRequest (Maybe [Text])
-- | The cluster security group that was created by Amazon EKS for the
-- cluster. Managed node groups use this security group for
-- control-plane-to-data-plane communication.
vpcConfigResponse_clusterSecurityGroupId :: Lens' VpcConfigResponse (Maybe Text)
-- | This parameter indicates whether the Amazon EKS private API server
-- endpoint is enabled. If the Amazon EKS private API server endpoint is
-- enabled, Kubernetes API requests that originate from within your
-- cluster's VPC use the private VPC endpoint instead of traversing the
-- internet. If this value is disabled and you have nodes or Fargate pods
-- in the cluster, then ensure that publicAccessCidrs includes
-- the necessary CIDR blocks for communication with the nodes or Fargate
-- pods. For more information, see Amazon EKS cluster endpoint access
-- control in the /Amazon EKS User Guide/ .
vpcConfigResponse_endpointPrivateAccess :: Lens' VpcConfigResponse (Maybe Bool)
-- | This parameter indicates whether the Amazon EKS public API server
-- endpoint is enabled. If the Amazon EKS public API server endpoint is
-- disabled, your cluster's Kubernetes API server can only receive
-- requests that originate from within the cluster VPC.
vpcConfigResponse_endpointPublicAccess :: Lens' VpcConfigResponse (Maybe Bool)
-- | The CIDR blocks that are allowed access to your cluster's public
-- Kubernetes API server endpoint. Communication to the endpoint from
-- addresses outside of the listed CIDR blocks is denied. The default
-- value is 0.0.0.0/0. If you've disabled private endpoint
-- access and you have nodes or Fargate pods in the cluster, then ensure
-- that the necessary CIDR blocks are listed. For more information, see
-- Amazon EKS cluster endpoint access control in the /Amazon
-- EKS User Guide/ .
vpcConfigResponse_publicAccessCidrs :: Lens' VpcConfigResponse (Maybe [Text])
-- | The security groups associated with the cross-account elastic network
-- interfaces that are used to allow communication between your nodes and
-- the Kubernetes control plane.
vpcConfigResponse_securityGroupIds :: Lens' VpcConfigResponse (Maybe [Text])
-- | The subnets associated with your cluster.
vpcConfigResponse_subnetIds :: Lens' VpcConfigResponse (Maybe [Text])
-- | The VPC associated with your cluster.
vpcConfigResponse_vpcId :: Lens' VpcConfigResponse (Maybe Text)
module Amazonka.EKS.Waiters
-- | Polls DescribeAddon every 10 seconds until a successful state
-- is reached. An error is returned after 60 failed checks.
newAddonActive :: Wait DescribeAddon
-- | Polls DescribeAddon every 10 seconds until a successful state
-- is reached. An error is returned after 60 failed checks.
newAddonDeleted :: Wait DescribeAddon
-- | Polls DescribeCluster every 30 seconds until a successful state
-- is reached. An error is returned after 40 failed checks.
newClusterActive :: Wait DescribeCluster
-- | Polls DescribeCluster every 30 seconds until a successful state
-- is reached. An error is returned after 40 failed checks.
newClusterDeleted :: Wait DescribeCluster
-- | Polls DescribeFargateProfile every 10 seconds until a
-- successful state is reached. An error is returned after 60 failed
-- checks.
newFargateProfileActive :: Wait DescribeFargateProfile
-- | Polls DescribeFargateProfile every 30 seconds until a
-- successful state is reached. An error is returned after 60 failed
-- checks.
newFargateProfileDeleted :: Wait DescribeFargateProfile
-- | Polls DescribeNodegroup every 30 seconds until a successful
-- state is reached. An error is returned after 80 failed checks.
newNodegroupActive :: Wait DescribeNodegroup
-- | Polls DescribeNodegroup every 30 seconds until a successful
-- state is reached. An error is returned after 40 failed checks.
newNodegroupDeleted :: Wait DescribeNodegroup
-- | Derived from API version 2017-11-01 of the AWS service
-- descriptions, licensed under Apache 2.0.
--
-- Amazon Elastic Kubernetes Service (Amazon EKS) is a managed service
-- that makes it easy for you to run Kubernetes on Amazon Web Services
-- without needing to stand up or maintain your own Kubernetes control
-- plane. Kubernetes is an open-source system for automating the
-- deployment, scaling, and management of containerized applications.
--
-- Amazon EKS runs up-to-date versions of the open-source Kubernetes
-- software, so you can use all the existing plugins and tooling from the
-- Kubernetes community. Applications running on Amazon EKS are fully
-- compatible with applications running on any standard Kubernetes
-- environment, whether running in on-premises data centers or public
-- clouds. This means that you can easily migrate any standard Kubernetes
-- application to Amazon EKS without any code modification required.
module Amazonka.EKS
-- | API version 2017-11-01 of the Amazon Elastic Kubernetes
-- Service SDK configuration.
defaultService :: Service
-- | You don't have permissions to perform the requested operation. The
-- user or role that is making the request must have at least one IAM
-- permissions policy attached that grants the required permissions. For
-- more information, see Access Management in the IAM User
-- Guide.
_AccessDeniedException :: AsError a => Fold a ServiceError
-- | This exception is thrown if the request contains a semantic error. The
-- precise meaning will depend on the API, and will be documented in the
-- error message.
_BadRequestException :: AsError a => Fold a ServiceError
-- | These errors are usually caused by a client action. Actions can
-- include using an action or resource on behalf of a user that doesn't
-- have permissions to use the action or resource or specifying an
-- identifier that is not valid.
_ClientException :: AsError a => Fold a ServiceError
-- | The specified parameter is invalid. Review the available parameters
-- for the API request.
_InvalidParameterException :: AsError a => Fold a ServiceError
-- | The request is invalid given the state of the cluster. Check the state
-- of the cluster and the associated operations.
_InvalidRequestException :: AsError a => Fold a ServiceError
-- | A service resource associated with the request could not be found.
-- Clients should not retry such requests.
_NotFoundException :: AsError a => Fold a ServiceError
-- | The specified resource is in use.
_ResourceInUseException :: AsError a => Fold a ServiceError
-- | You have encountered a service limit on the specified resource.
_ResourceLimitExceededException :: AsError a => Fold a ServiceError
-- | The specified resource could not be found. You can view your available
-- clusters with ListClusters. You can view your available managed node
-- groups with ListNodegroups. Amazon EKS clusters and node groups are
-- Region-specific.
_ResourceNotFoundException :: AsError a => Fold a ServiceError
-- | Required resources (such as service-linked roles) were created and are
-- still propagating. Retry later.
_ResourcePropagationDelayException :: AsError a => Fold a ServiceError
-- | These errors are usually caused by a server-side issue.
_ServerException :: AsError a => Fold a ServiceError
-- | The service is unavailable. Back off and retry the operation.
_ServiceUnavailableException :: AsError a => Fold a ServiceError
-- | At least one of your specified cluster subnets is in an Availability
-- Zone that does not support Amazon EKS. The exception output specifies
-- the supported Availability Zones for your account, from which you can
-- choose subnets for your cluster.
_UnsupportedAvailabilityZoneException :: AsError a => Fold a ServiceError
-- | Polls DescribeAddon every 10 seconds until a successful state
-- is reached. An error is returned after 60 failed checks.
newAddonActive :: Wait DescribeAddon
-- | Polls DescribeAddon every 10 seconds until a successful state
-- is reached. An error is returned after 60 failed checks.
newAddonDeleted :: Wait DescribeAddon
-- | Polls DescribeCluster every 30 seconds until a successful state
-- is reached. An error is returned after 40 failed checks.
newClusterActive :: Wait DescribeCluster
-- | Polls DescribeCluster every 30 seconds until a successful state
-- is reached. An error is returned after 40 failed checks.
newClusterDeleted :: Wait DescribeCluster
-- | Polls DescribeFargateProfile every 10 seconds until a
-- successful state is reached. An error is returned after 60 failed
-- checks.
newFargateProfileActive :: Wait DescribeFargateProfile
-- | Polls DescribeFargateProfile every 30 seconds until a
-- successful state is reached. An error is returned after 60 failed
-- checks.
newFargateProfileDeleted :: Wait DescribeFargateProfile
-- | Polls DescribeNodegroup every 30 seconds until a successful
-- state is reached. An error is returned after 80 failed checks.
newNodegroupActive :: Wait DescribeNodegroup
-- | Polls DescribeNodegroup every 30 seconds until a successful
-- state is reached. An error is returned after 40 failed checks.
newNodegroupDeleted :: Wait DescribeNodegroup
-- | See: newAssociateEncryptionConfig smart constructor.
data AssociateEncryptionConfig
AssociateEncryptionConfig' :: Maybe Text -> Text -> [EncryptionConfig] -> AssociateEncryptionConfig
-- | Create a value of AssociateEncryptionConfig with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- AssociateEncryptionConfig,
-- associateEncryptionConfig_clientRequestToken - The client
-- request token you are using with the encryption configuration.
--
-- AssociateEncryptionConfig,
-- associateEncryptionConfig_clusterName - The name of the cluster
-- that you are associating with encryption configuration.
--
-- AssociateEncryptionConfig,
-- associateEncryptionConfig_encryptionConfig - The configuration
-- you are using for encryption.
newAssociateEncryptionConfig :: Text -> AssociateEncryptionConfig
-- | See: newAssociateEncryptionConfigResponse smart
-- constructor.
data AssociateEncryptionConfigResponse
AssociateEncryptionConfigResponse' :: Maybe Update -> Int -> AssociateEncryptionConfigResponse
-- | Create a value of AssociateEncryptionConfigResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:update:AssociateEncryptionConfigResponse',
-- associateEncryptionConfigResponse_update - Undocumented member.
--
-- $sel:httpStatus:AssociateEncryptionConfigResponse',
-- associateEncryptionConfigResponse_httpStatus - The response's
-- http status code.
newAssociateEncryptionConfigResponse :: Int -> AssociateEncryptionConfigResponse
-- | See: newAssociateIdentityProviderConfig smart
-- constructor.
data AssociateIdentityProviderConfig
AssociateIdentityProviderConfig' :: Maybe Text -> Maybe (HashMap Text Text) -> Text -> OidcIdentityProviderConfigRequest -> AssociateIdentityProviderConfig
-- | Create a value of AssociateIdentityProviderConfig with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- AssociateIdentityProviderConfig,
-- associateIdentityProviderConfig_clientRequestToken - Unique,
-- case-sensitive identifier that you provide to ensure the idempotency
-- of the request.
--
-- AssociateIdentityProviderConfig,
-- associateIdentityProviderConfig_tags - The metadata to apply to
-- the configuration to assist with categorization and organization. Each
-- tag consists of a key and an optional value. You define both.
--
-- AssociateIdentityProviderConfig,
-- associateIdentityProviderConfig_clusterName - The name of the
-- cluster to associate the configuration to.
--
-- AssociateIdentityProviderConfig,
-- associateIdentityProviderConfig_oidc - An object representing
-- an OpenID Connect (OIDC) identity provider configuration.
newAssociateIdentityProviderConfig :: Text -> OidcIdentityProviderConfigRequest -> AssociateIdentityProviderConfig
-- | See: newAssociateIdentityProviderConfigResponse smart
-- constructor.
data AssociateIdentityProviderConfigResponse
AssociateIdentityProviderConfigResponse' :: Maybe (HashMap Text Text) -> Maybe Update -> Int -> AssociateIdentityProviderConfigResponse
-- | Create a value of AssociateIdentityProviderConfigResponse with
-- all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- AssociateIdentityProviderConfig,
-- associateIdentityProviderConfigResponse_tags - The tags for the
-- resource.
--
-- $sel:update:AssociateIdentityProviderConfigResponse',
-- associateIdentityProviderConfigResponse_update - Undocumented
-- member.
--
-- $sel:httpStatus:AssociateIdentityProviderConfigResponse',
-- associateIdentityProviderConfigResponse_httpStatus - The
-- response's http status code.
newAssociateIdentityProviderConfigResponse :: Int -> AssociateIdentityProviderConfigResponse
-- | See: newCreateAddon smart constructor.
data CreateAddon
CreateAddon' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe ResolveConflicts -> Maybe Text -> Maybe (HashMap Text Text) -> Text -> Text -> CreateAddon
-- | Create a value of CreateAddon with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- CreateAddon, createAddon_addonVersion - The version of
-- the add-on. The version must match one of the versions returned by
-- DescribeAddonVersions .
--
-- CreateAddon, createAddon_clientRequestToken - A unique,
-- case-sensitive identifier that you provide to ensure the idempotency
-- of the request.
--
-- CreateAddon, createAddon_configurationValues - The set
-- of configuration values for the add-on that's created. The values that
-- you provide are validated against the schema in
-- DescribeAddonConfiguration .
--
-- $sel:resolveConflicts:CreateAddon',
-- createAddon_resolveConflicts - How to resolve field value
-- conflicts for an Amazon EKS add-on. Conflicts are handled based on the
-- value you choose:
--
--
-- - None – If the self-managed version of the add-on is
-- installed on your cluster, Amazon EKS doesn't change the value.
-- Creation of the add-on might fail.
-- - Overwrite – If the self-managed version of the add-on is
-- installed on your cluster and the Amazon EKS default value is
-- different than the existing value, Amazon EKS changes the value to the
-- Amazon EKS default value.
-- - Preserve – Not supported. You can set this value when
-- updating an add-on though. For more information, see
-- UpdateAddon.
--
--
-- If you don't currently have the self-managed version of the add-on
-- installed on your cluster, the Amazon EKS add-on is installed. Amazon
-- EKS sets all values to default values, regardless of the option that
-- you specify.
--
-- CreateAddon, createAddon_serviceAccountRoleArn - The
-- Amazon Resource Name (ARN) of an existing IAM role to bind to the
-- add-on's service account. The role must be assigned the IAM
-- permissions required by the add-on. If you don't specify an existing
-- IAM role, then the add-on uses the permissions assigned to the node
-- IAM role. For more information, see Amazon EKS node IAM role in
-- the Amazon EKS User Guide.
--
-- To specify an existing IAM role, you must have an IAM OpenID Connect
-- (OIDC) provider created for your cluster. For more information, see
-- Enabling IAM roles for service accounts on your cluster in the
-- Amazon EKS User Guide.
--
-- CreateAddon, createAddon_tags - The metadata to apply to
-- the cluster to assist with categorization and organization. Each tag
-- consists of a key and an optional value. You define both.
--
-- CreateAddon, createAddon_clusterName - The name of the
-- cluster to create the add-on for.
--
-- CreateAddon, createAddon_addonName - The name of the
-- add-on. The name must match one of the names that
-- DescribeAddonVersions returns.
newCreateAddon :: Text -> Text -> CreateAddon
-- | See: newCreateAddonResponse smart constructor.
data CreateAddonResponse
CreateAddonResponse' :: Maybe Addon -> Int -> CreateAddonResponse
-- | Create a value of CreateAddonResponse with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:addon:CreateAddonResponse',
-- createAddonResponse_addon - Undocumented member.
--
-- $sel:httpStatus:CreateAddonResponse',
-- createAddonResponse_httpStatus - The response's http status
-- code.
newCreateAddonResponse :: Int -> CreateAddonResponse
-- | See: newCreateCluster smart constructor.
data CreateCluster
CreateCluster' :: Maybe Text -> Maybe [EncryptionConfig] -> Maybe KubernetesNetworkConfigRequest -> Maybe Logging -> Maybe OutpostConfigRequest -> Maybe (HashMap Text Text) -> Maybe Text -> Text -> Text -> VpcConfigRequest -> CreateCluster
-- | Create a value of CreateCluster with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- CreateCluster, createCluster_clientRequestToken -
-- Unique, case-sensitive identifier that you provide to ensure the
-- idempotency of the request.
--
-- CreateCluster, createCluster_encryptionConfig - The
-- encryption configuration for the cluster.
--
-- CreateCluster, createCluster_kubernetesNetworkConfig -
-- The Kubernetes network configuration for the cluster.
--
-- CreateCluster, createCluster_logging - Enable or disable
-- exporting the Kubernetes control plane logs for your cluster to
-- CloudWatch Logs. By default, cluster control plane logs aren't
-- exported to CloudWatch Logs. For more information, see Amazon EKS
-- Cluster control plane logs in the /Amazon EKS User Guide/ .
--
-- CloudWatch Logs ingestion, archive storage, and data scanning rates
-- apply to exported control plane logs. For more information, see
-- CloudWatch Pricing.
--
-- CreateCluster, createCluster_outpostConfig - An object
-- representing the configuration of your local Amazon EKS cluster on an
-- Amazon Web Services Outpost. Before creating a local cluster on an
-- Outpost, review Local clusters for Amazon EKS on Amazon Web
-- Services Outposts in the Amazon EKS User Guide. This object
-- isn't available for creating Amazon EKS clusters on the Amazon Web
-- Services cloud.
--
-- CreateCluster, createCluster_tags - The metadata to
-- apply to the cluster to assist with categorization and organization.
-- Each tag consists of a key and an optional value. You define both.
--
-- CreateCluster, createCluster_version - The desired
-- Kubernetes version for your cluster. If you don't specify a value
-- here, the default version available in Amazon EKS is used.
--
-- The default version might not be the latest version available.
--
-- CreateCluster, createCluster_name - The unique name to
-- give to your cluster.
--
-- CreateCluster, createCluster_roleArn - The Amazon
-- Resource Name (ARN) of the IAM role that provides permissions for the
-- Kubernetes control plane to make calls to Amazon Web Services API
-- operations on your behalf. For more information, see Amazon EKS
-- Service IAM Role in the /Amazon EKS User Guide/ .
--
-- CreateCluster, createCluster_resourcesVpcConfig - The
-- VPC configuration that's used by the cluster control plane. Amazon EKS
-- VPC resources have specific requirements to work properly with
-- Kubernetes. For more information, see Cluster VPC
-- Considerations and Cluster Security Group Considerations in
-- the Amazon EKS User Guide. You must specify at least two
-- subnets. You can specify up to five security groups. However, we
-- recommend that you use a dedicated security group for your cluster
-- control plane.
newCreateCluster :: Text -> Text -> VpcConfigRequest -> CreateCluster
-- | See: newCreateClusterResponse smart constructor.
data CreateClusterResponse
CreateClusterResponse' :: Maybe Cluster -> Int -> CreateClusterResponse
-- | Create a value of CreateClusterResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:cluster:CreateClusterResponse',
-- createClusterResponse_cluster - The full description of your
-- new cluster.
--
-- $sel:httpStatus:CreateClusterResponse',
-- createClusterResponse_httpStatus - The response's http status
-- code.
newCreateClusterResponse :: Int -> CreateClusterResponse
-- | See: newCreateFargateProfile smart constructor.
data CreateFargateProfile
CreateFargateProfile' :: Maybe Text -> Maybe [FargateProfileSelector] -> Maybe [Text] -> Maybe (HashMap Text Text) -> Text -> Text -> Text -> CreateFargateProfile
-- | Create a value of CreateFargateProfile with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- CreateFargateProfile,
-- createFargateProfile_clientRequestToken - Unique,
-- case-sensitive identifier that you provide to ensure the idempotency
-- of the request.
--
-- CreateFargateProfile, createFargateProfile_selectors -
-- The selectors to match for pods to use this Fargate profile. Each
-- selector must have an associated namespace. Optionally, you can also
-- specify labels for a namespace. You may specify up to five selectors
-- in a Fargate profile.
--
-- CreateFargateProfile, createFargateProfile_subnets - The
-- IDs of subnets to launch your pods into. At this time, pods running on
-- Fargate are not assigned public IP addresses, so only private subnets
-- (with no direct route to an Internet Gateway) are accepted for this
-- parameter.
--
-- CreateFargateProfile, createFargateProfile_tags - The
-- metadata to apply to the Fargate profile to assist with categorization
-- and organization. Each tag consists of a key and an optional value.
-- You define both. Fargate profile tags do not propagate to any other
-- resources associated with the Fargate profile, such as the pods that
-- are scheduled with it.
--
-- CreateFargateProfile,
-- createFargateProfile_fargateProfileName - The name of the
-- Fargate profile.
--
-- CreateFargateProfile, createFargateProfile_clusterName -
-- The name of the Amazon EKS cluster to apply the Fargate profile to.
--
-- CreateFargateProfile,
-- createFargateProfile_podExecutionRoleArn - The Amazon Resource
-- Name (ARN) of the pod execution role to use for pods that match the
-- selectors in the Fargate profile. The pod execution role allows
-- Fargate infrastructure to register with your cluster as a node, and it
-- provides read access to Amazon ECR image repositories. For more
-- information, see Pod Execution Role in the Amazon EKS User
-- Guide.
newCreateFargateProfile :: Text -> Text -> Text -> CreateFargateProfile
-- | See: newCreateFargateProfileResponse smart constructor.
data CreateFargateProfileResponse
CreateFargateProfileResponse' :: Maybe FargateProfile -> Int -> CreateFargateProfileResponse
-- | Create a value of CreateFargateProfileResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:fargateProfile:CreateFargateProfileResponse',
-- createFargateProfileResponse_fargateProfile - The full
-- description of your new Fargate profile.
--
-- $sel:httpStatus:CreateFargateProfileResponse',
-- createFargateProfileResponse_httpStatus - The response's http
-- status code.
newCreateFargateProfileResponse :: Int -> CreateFargateProfileResponse
-- | See: newCreateNodegroup smart constructor.
data CreateNodegroup
CreateNodegroup' :: Maybe AMITypes -> Maybe CapacityTypes -> Maybe Text -> Maybe Int -> Maybe [Text] -> Maybe (HashMap Text Text) -> Maybe LaunchTemplateSpecification -> Maybe Text -> Maybe RemoteAccessConfig -> Maybe NodegroupScalingConfig -> Maybe (HashMap Text Text) -> Maybe [Taint] -> Maybe NodegroupUpdateConfig -> Maybe Text -> Text -> Text -> [Text] -> Text -> CreateNodegroup
-- | Create a value of CreateNodegroup with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- CreateNodegroup, createNodegroup_amiType - The AMI type
-- for your node group. If you specify launchTemplate, and your
-- launch template uses a custom AMI, then don't specify
-- amiType, or the node group deployment will fail. If your
-- launch template uses a Windows custom AMI, then add
-- eks:kube-proxy-windows to your Windows nodes rolearn
-- in the aws-auth ConfigMap. For more information
-- about using launch templates with Amazon EKS, see Launch template
-- support in the Amazon EKS User Guide.
--
-- CreateNodegroup, createNodegroup_capacityType - The
-- capacity type for your node group.
--
-- CreateNodegroup, createNodegroup_clientRequestToken -
-- Unique, case-sensitive identifier that you provide to ensure the
-- idempotency of the request.
--
-- CreateNodegroup, createNodegroup_diskSize - The root
-- device disk size (in GiB) for your node group instances. The default
-- disk size is 20 GiB for Linux and Bottlerocket. The default disk size
-- is 50 GiB for Windows. If you specify launchTemplate, then
-- don't specify diskSize, or the node group deployment will
-- fail. For more information about using launch templates with Amazon
-- EKS, see Launch template support in the Amazon EKS User
-- Guide.
--
-- CreateNodegroup, createNodegroup_instanceTypes - Specify
-- the instance types for a node group. If you specify a GPU instance
-- type, make sure to also specify an applicable GPU AMI type with the
-- amiType parameter. If you specify launchTemplate,
-- then you can specify zero or one instance type in your launch template
-- or you can specify 0-20 instance types for
-- instanceTypes. If however, you specify an instance type in
-- your launch template and specify any instanceTypes,
-- the node group deployment will fail. If you don't specify an instance
-- type in a launch template or for instanceTypes, then
-- t3.medium is used, by default. If you specify Spot
-- for capacityType, then we recommend specifying multiple
-- values for instanceTypes. For more information, see
-- Managed node group capacity types and Launch template
-- support in the Amazon EKS User Guide.
--
-- CreateNodegroup, createNodegroup_labels - The Kubernetes
-- labels to be applied to the nodes in the node group when they are
-- created.
--
-- CreateNodegroup, createNodegroup_launchTemplate - An
-- object representing a node group's launch template specification. If
-- specified, then do not specify instanceTypes,
-- diskSize, or remoteAccess and make sure that the
-- launch template meets the requirements in
-- launchTemplateSpecification.
--
-- CreateNodegroup, createNodegroup_releaseVersion - The
-- AMI version of the Amazon EKS optimized AMI to use with your node
-- group. By default, the latest available AMI version for the node
-- group's current Kubernetes version is used. For information about
-- Linux versions, see Amazon EKS optimized Amazon Linux AMI
-- versions in the Amazon EKS User Guide. Amazon EKS managed
-- node groups support the November 2022 and later releases of the
-- Windows AMIs. For information about Windows versions, see Amazon
-- EKS optimized Windows AMI versions in the Amazon EKS User
-- Guide.
--
-- If you specify launchTemplate, and your launch template uses
-- a custom AMI, then don't specify releaseVersion, or the node
-- group deployment will fail. For more information about using launch
-- templates with Amazon EKS, see Launch template support in the
-- Amazon EKS User Guide.
--
-- CreateNodegroup, createNodegroup_remoteAccess - The
-- remote access configuration to use with your node group. For Linux,
-- the protocol is SSH. For Windows, the protocol is RDP. If you specify
-- launchTemplate, then don't specify remoteAccess, or
-- the node group deployment will fail. For more information about using
-- launch templates with Amazon EKS, see Launch template support
-- in the Amazon EKS User Guide.
--
-- CreateNodegroup, createNodegroup_scalingConfig - The
-- scaling configuration details for the Auto Scaling group that is
-- created for your node group.
--
-- CreateNodegroup, createNodegroup_tags - The metadata to
-- apply to the node group to assist with categorization and
-- organization. Each tag consists of a key and an optional value. You
-- define both. Node group tags do not propagate to any other resources
-- associated with the node group, such as the Amazon EC2 instances or
-- subnets.
--
-- CreateNodegroup, createNodegroup_taints - The Kubernetes
-- taints to be applied to the nodes in the node group. For more
-- information, see Node taints on managed node groups.
--
-- CreateNodegroup, createNodegroup_updateConfig - The node
-- group update configuration.
--
-- CreateNodegroup, createNodegroup_version - The
-- Kubernetes version to use for your managed nodes. By default, the
-- Kubernetes version of the cluster is used, and this is the only
-- accepted specified value. If you specify launchTemplate, and
-- your launch template uses a custom AMI, then don't specify
-- version, or the node group deployment will fail. For more
-- information about using launch templates with Amazon EKS, see
-- Launch template support in the Amazon EKS User Guide.
--
-- CreateNodegroup, createNodegroup_clusterName - The name
-- of the cluster to create the node group in.
--
-- CreateNodegroup, createNodegroup_nodegroupName - The
-- unique name to give your node group.
--
-- CreateNodegroup, createNodegroup_subnets - The subnets
-- to use for the Auto Scaling group that is created for your node group.
-- If you specify launchTemplate, then don't specify
-- SubnetId in your launch template, or the node group deployment
-- will fail. For more information about using launch templates with
-- Amazon EKS, see Launch template support in the Amazon EKS
-- User Guide.
--
-- CreateNodegroup, createNodegroup_nodeRole - The Amazon
-- Resource Name (ARN) of the IAM role to associate with your node group.
-- The Amazon EKS worker node kubelet daemon makes calls to
-- Amazon Web Services APIs on your behalf. Nodes receive permissions for
-- these API calls through an IAM instance profile and associated
-- policies. Before you can launch nodes and register them into a
-- cluster, you must create an IAM role for those nodes to use when they
-- are launched. For more information, see Amazon EKS node IAM
-- role in the /Amazon EKS User Guide/ . If you specify
-- launchTemplate, then don't specify IamInstanceProfile
-- in your launch template, or the node group deployment will fail. For
-- more information about using launch templates with Amazon EKS, see
-- Launch template support in the Amazon EKS User Guide.
newCreateNodegroup :: Text -> Text -> Text -> CreateNodegroup
-- | See: newCreateNodegroupResponse smart constructor.
data CreateNodegroupResponse
CreateNodegroupResponse' :: Maybe Nodegroup -> Int -> CreateNodegroupResponse
-- | Create a value of CreateNodegroupResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:nodegroup:CreateNodegroupResponse',
-- createNodegroupResponse_nodegroup - The full description of
-- your new node group.
--
-- $sel:httpStatus:CreateNodegroupResponse',
-- createNodegroupResponse_httpStatus - The response's http status
-- code.
newCreateNodegroupResponse :: Int -> CreateNodegroupResponse
-- | See: newDeleteAddon smart constructor.
data DeleteAddon
DeleteAddon' :: Maybe Bool -> Text -> Text -> DeleteAddon
-- | Create a value of DeleteAddon with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:preserve:DeleteAddon', deleteAddon_preserve -
-- Specifying this option preserves the add-on software on your cluster
-- but Amazon EKS stops managing any settings for the add-on. If an IAM
-- account is associated with the add-on, it isn't removed.
--
-- DeleteAddon, deleteAddon_clusterName - The name of the
-- cluster to delete the add-on from.
--
-- DeleteAddon, deleteAddon_addonName - The name of the
-- add-on. The name must match one of the names returned by
-- ListAddons .
newDeleteAddon :: Text -> Text -> DeleteAddon
-- | See: newDeleteAddonResponse smart constructor.
data DeleteAddonResponse
DeleteAddonResponse' :: Maybe Addon -> Int -> DeleteAddonResponse
-- | Create a value of DeleteAddonResponse with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:addon:DeleteAddonResponse',
-- deleteAddonResponse_addon - Undocumented member.
--
-- $sel:httpStatus:DeleteAddonResponse',
-- deleteAddonResponse_httpStatus - The response's http status
-- code.
newDeleteAddonResponse :: Int -> DeleteAddonResponse
-- | See: newDeleteCluster smart constructor.
data DeleteCluster
DeleteCluster' :: Text -> DeleteCluster
-- | Create a value of DeleteCluster with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DeleteCluster, deleteCluster_name - The name of the
-- cluster to delete.
newDeleteCluster :: Text -> DeleteCluster
-- | See: newDeleteClusterResponse smart constructor.
data DeleteClusterResponse
DeleteClusterResponse' :: Maybe Cluster -> Int -> DeleteClusterResponse
-- | Create a value of DeleteClusterResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:cluster:DeleteClusterResponse',
-- deleteClusterResponse_cluster - The full description of the
-- cluster to delete.
--
-- $sel:httpStatus:DeleteClusterResponse',
-- deleteClusterResponse_httpStatus - The response's http status
-- code.
newDeleteClusterResponse :: Int -> DeleteClusterResponse
-- | See: newDeleteFargateProfile smart constructor.
data DeleteFargateProfile
DeleteFargateProfile' :: Text -> Text -> DeleteFargateProfile
-- | Create a value of DeleteFargateProfile with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DeleteFargateProfile, deleteFargateProfile_clusterName -
-- The name of the Amazon EKS cluster associated with the Fargate profile
-- to delete.
--
-- DeleteFargateProfile,
-- deleteFargateProfile_fargateProfileName - The name of the
-- Fargate profile to delete.
newDeleteFargateProfile :: Text -> Text -> DeleteFargateProfile
-- | See: newDeleteFargateProfileResponse smart constructor.
data DeleteFargateProfileResponse
DeleteFargateProfileResponse' :: Maybe FargateProfile -> Int -> DeleteFargateProfileResponse
-- | Create a value of DeleteFargateProfileResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:fargateProfile:DeleteFargateProfileResponse',
-- deleteFargateProfileResponse_fargateProfile - The deleted
-- Fargate profile.
--
-- $sel:httpStatus:DeleteFargateProfileResponse',
-- deleteFargateProfileResponse_httpStatus - The response's http
-- status code.
newDeleteFargateProfileResponse :: Int -> DeleteFargateProfileResponse
-- | See: newDeleteNodegroup smart constructor.
data DeleteNodegroup
DeleteNodegroup' :: Text -> Text -> DeleteNodegroup
-- | Create a value of DeleteNodegroup with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DeleteNodegroup, deleteNodegroup_clusterName - The name
-- of the Amazon EKS cluster that is associated with your node group.
--
-- DeleteNodegroup, deleteNodegroup_nodegroupName - The
-- name of the node group to delete.
newDeleteNodegroup :: Text -> Text -> DeleteNodegroup
-- | See: newDeleteNodegroupResponse smart constructor.
data DeleteNodegroupResponse
DeleteNodegroupResponse' :: Maybe Nodegroup -> Int -> DeleteNodegroupResponse
-- | Create a value of DeleteNodegroupResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:nodegroup:DeleteNodegroupResponse',
-- deleteNodegroupResponse_nodegroup - The full description of
-- your deleted node group.
--
-- $sel:httpStatus:DeleteNodegroupResponse',
-- deleteNodegroupResponse_httpStatus - The response's http status
-- code.
newDeleteNodegroupResponse :: Int -> DeleteNodegroupResponse
-- | See: newDeregisterCluster smart constructor.
data DeregisterCluster
DeregisterCluster' :: Text -> DeregisterCluster
-- | Create a value of DeregisterCluster with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DeregisterCluster, deregisterCluster_name - The name of
-- the connected cluster to deregister.
newDeregisterCluster :: Text -> DeregisterCluster
-- | See: newDeregisterClusterResponse smart constructor.
data DeregisterClusterResponse
DeregisterClusterResponse' :: Maybe Cluster -> Int -> DeregisterClusterResponse
-- | Create a value of DeregisterClusterResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:cluster:DeregisterClusterResponse',
-- deregisterClusterResponse_cluster - Undocumented member.
--
-- $sel:httpStatus:DeregisterClusterResponse',
-- deregisterClusterResponse_httpStatus - The response's http
-- status code.
newDeregisterClusterResponse :: Int -> DeregisterClusterResponse
-- | See: newDescribeAddon smart constructor.
data DescribeAddon
DescribeAddon' :: Text -> Text -> DescribeAddon
-- | Create a value of DescribeAddon with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DescribeAddon, describeAddon_clusterName - The name of
-- the cluster.
--
-- DescribeAddon, describeAddon_addonName - The name of the
-- add-on. The name must match one of the names returned by
-- ListAddons .
newDescribeAddon :: Text -> Text -> DescribeAddon
-- | See: newDescribeAddonResponse smart constructor.
data DescribeAddonResponse
DescribeAddonResponse' :: Maybe Addon -> Int -> DescribeAddonResponse
-- | Create a value of DescribeAddonResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:addon:DescribeAddonResponse',
-- describeAddonResponse_addon - Undocumented member.
--
-- $sel:httpStatus:DescribeAddonResponse',
-- describeAddonResponse_httpStatus - The response's http status
-- code.
newDescribeAddonResponse :: Int -> DescribeAddonResponse
-- | See: newDescribeAddonConfiguration smart constructor.
data DescribeAddonConfiguration
DescribeAddonConfiguration' :: Text -> Text -> DescribeAddonConfiguration
-- | Create a value of DescribeAddonConfiguration with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DescribeAddonConfiguration,
-- describeAddonConfiguration_addonName - The name of the add-on.
-- The name must match one of the names that DescribeAddonVersions
-- returns.
--
-- DescribeAddonConfiguration,
-- describeAddonConfiguration_addonVersion - The version of the
-- add-on. The version must match one of the versions returned by
-- DescribeAddonVersions .
newDescribeAddonConfiguration :: Text -> Text -> DescribeAddonConfiguration
-- | See: newDescribeAddonConfigurationResponse smart
-- constructor.
data DescribeAddonConfigurationResponse
DescribeAddonConfigurationResponse' :: Maybe Text -> Maybe Text -> Maybe Text -> Int -> DescribeAddonConfigurationResponse
-- | Create a value of DescribeAddonConfigurationResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DescribeAddonConfiguration,
-- describeAddonConfigurationResponse_addonName - The name of the
-- add-on.
--
-- DescribeAddonConfiguration,
-- describeAddonConfigurationResponse_addonVersion - The version
-- of the add-on. The version must match one of the versions returned by
-- DescribeAddonVersions .
--
-- $sel:configurationSchema:DescribeAddonConfigurationResponse',
-- describeAddonConfigurationResponse_configurationSchema - A JSON
-- schema that's used to validate the configuration values that you
-- provide when an addon is created or updated.
--
-- $sel:httpStatus:DescribeAddonConfigurationResponse',
-- describeAddonConfigurationResponse_httpStatus - The response's
-- http status code.
newDescribeAddonConfigurationResponse :: Int -> DescribeAddonConfigurationResponse
-- | See: newDescribeAddonVersions smart constructor.
data DescribeAddonVersions
DescribeAddonVersions' :: Maybe Text -> Maybe Text -> Maybe Natural -> Maybe Text -> Maybe [Text] -> Maybe [Text] -> Maybe [Text] -> DescribeAddonVersions
-- | Create a value of DescribeAddonVersions with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DescribeAddonVersions, describeAddonVersions_addonName -
-- The name of the add-on. The name must match one of the names returned
-- by ListAddons .
--
-- $sel:kubernetesVersion:DescribeAddonVersions',
-- describeAddonVersions_kubernetesVersion - The Kubernetes
-- versions that you can use the add-on with.
--
-- $sel:maxResults:DescribeAddonVersions',
-- describeAddonVersions_maxResults - The maximum number of
-- results to return.
--
-- DescribeAddonVersions, describeAddonVersions_nextToken -
-- The nextToken value returned from a previous paginated
-- DescribeAddonVersionsRequest where maxResults was
-- used and the results exceeded the value of that parameter. Pagination
-- continues from the end of the previous results that returned the
-- nextToken value.
--
-- This token should be treated as an opaque identifier that is used only
-- to retrieve the next items in a list and not for other programmatic
-- purposes.
--
-- $sel:owners:DescribeAddonVersions',
-- describeAddonVersions_owners - The owner of the add-on. For
-- valid owners, don't specify a value for this property.
--
-- $sel:publishers:DescribeAddonVersions',
-- describeAddonVersions_publishers - The publisher of the add-on.
-- For valid publishers, don't specify a value for this
-- property.
--
-- DescribeAddonVersions, describeAddonVersions_types - The
-- type of the add-on. For valid types, don't specify a value
-- for this property.
newDescribeAddonVersions :: DescribeAddonVersions
-- | See: newDescribeAddonVersionsResponse smart constructor.
data DescribeAddonVersionsResponse
DescribeAddonVersionsResponse' :: Maybe [AddonInfo] -> Maybe Text -> Int -> DescribeAddonVersionsResponse
-- | Create a value of DescribeAddonVersionsResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:addons:DescribeAddonVersionsResponse',
-- describeAddonVersionsResponse_addons - The list of available
-- versions with Kubernetes version compatibility and other properties.
--
-- DescribeAddonVersions,
-- describeAddonVersionsResponse_nextToken - The
-- nextToken value returned from a previous paginated
-- DescribeAddonVersionsResponse where maxResults was
-- used and the results exceeded the value of that parameter. Pagination
-- continues from the end of the previous results that returned the
-- nextToken value.
--
-- This token should be treated as an opaque identifier that is used only
-- to retrieve the next items in a list and not for other programmatic
-- purposes.
--
-- $sel:httpStatus:DescribeAddonVersionsResponse',
-- describeAddonVersionsResponse_httpStatus - The response's http
-- status code.
newDescribeAddonVersionsResponse :: Int -> DescribeAddonVersionsResponse
-- | See: newDescribeCluster smart constructor.
data DescribeCluster
DescribeCluster' :: Text -> DescribeCluster
-- | Create a value of DescribeCluster with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DescribeCluster, describeCluster_name - The name of the
-- cluster to describe.
newDescribeCluster :: Text -> DescribeCluster
-- | See: newDescribeClusterResponse smart constructor.
data DescribeClusterResponse
DescribeClusterResponse' :: Maybe Cluster -> Int -> DescribeClusterResponse
-- | Create a value of DescribeClusterResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:cluster:DescribeClusterResponse',
-- describeClusterResponse_cluster - The full description of your
-- specified cluster.
--
-- $sel:httpStatus:DescribeClusterResponse',
-- describeClusterResponse_httpStatus - The response's http status
-- code.
newDescribeClusterResponse :: Int -> DescribeClusterResponse
-- | See: newDescribeFargateProfile smart constructor.
data DescribeFargateProfile
DescribeFargateProfile' :: Text -> Text -> DescribeFargateProfile
-- | Create a value of DescribeFargateProfile with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DescribeFargateProfile,
-- describeFargateProfile_clusterName - The name of the Amazon EKS
-- cluster associated with the Fargate profile.
--
-- DescribeFargateProfile,
-- describeFargateProfile_fargateProfileName - The name of the
-- Fargate profile to describe.
newDescribeFargateProfile :: Text -> Text -> DescribeFargateProfile
-- | See: newDescribeFargateProfileResponse smart
-- constructor.
data DescribeFargateProfileResponse
DescribeFargateProfileResponse' :: Maybe FargateProfile -> Int -> DescribeFargateProfileResponse
-- | Create a value of DescribeFargateProfileResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:fargateProfile:DescribeFargateProfileResponse',
-- describeFargateProfileResponse_fargateProfile - The full
-- description of your Fargate profile.
--
-- $sel:httpStatus:DescribeFargateProfileResponse',
-- describeFargateProfileResponse_httpStatus - The response's http
-- status code.
newDescribeFargateProfileResponse :: Int -> DescribeFargateProfileResponse
-- | See: newDescribeIdentityProviderConfig smart
-- constructor.
data DescribeIdentityProviderConfig
DescribeIdentityProviderConfig' :: Text -> IdentityProviderConfig -> DescribeIdentityProviderConfig
-- | Create a value of DescribeIdentityProviderConfig with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DescribeIdentityProviderConfig,
-- describeIdentityProviderConfig_clusterName - The cluster name
-- that the identity provider configuration is associated to.
--
-- DescribeIdentityProviderConfig,
-- describeIdentityProviderConfig_identityProviderConfig - An
-- object representing an identity provider configuration.
newDescribeIdentityProviderConfig :: Text -> IdentityProviderConfig -> DescribeIdentityProviderConfig
-- | See: newDescribeIdentityProviderConfigResponse smart
-- constructor.
data DescribeIdentityProviderConfigResponse
DescribeIdentityProviderConfigResponse' :: Maybe IdentityProviderConfigResponse -> Int -> DescribeIdentityProviderConfigResponse
-- | Create a value of DescribeIdentityProviderConfigResponse with
-- all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DescribeIdentityProviderConfig,
-- describeIdentityProviderConfigResponse_identityProviderConfig -
-- The object that represents an OpenID Connect (OIDC) identity provider
-- configuration.
--
-- $sel:httpStatus:DescribeIdentityProviderConfigResponse',
-- describeIdentityProviderConfigResponse_httpStatus - The
-- response's http status code.
newDescribeIdentityProviderConfigResponse :: Int -> DescribeIdentityProviderConfigResponse
-- | See: newDescribeNodegroup smart constructor.
data DescribeNodegroup
DescribeNodegroup' :: Text -> Text -> DescribeNodegroup
-- | Create a value of DescribeNodegroup with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DescribeNodegroup, describeNodegroup_clusterName - The
-- name of the Amazon EKS cluster associated with the node group.
--
-- DescribeNodegroup, describeNodegroup_nodegroupName - The
-- name of the node group to describe.
newDescribeNodegroup :: Text -> Text -> DescribeNodegroup
-- | See: newDescribeNodegroupResponse smart constructor.
data DescribeNodegroupResponse
DescribeNodegroupResponse' :: Maybe Nodegroup -> Int -> DescribeNodegroupResponse
-- | Create a value of DescribeNodegroupResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:nodegroup:DescribeNodegroupResponse',
-- describeNodegroupResponse_nodegroup - The full description of
-- your node group.
--
-- $sel:httpStatus:DescribeNodegroupResponse',
-- describeNodegroupResponse_httpStatus - The response's http
-- status code.
newDescribeNodegroupResponse :: Int -> DescribeNodegroupResponse
-- | See: newDescribeUpdate smart constructor.
data DescribeUpdate
DescribeUpdate' :: Maybe Text -> Maybe Text -> Text -> Text -> DescribeUpdate
-- | Create a value of DescribeUpdate with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DescribeUpdate, describeUpdate_addonName - The name of
-- the add-on. The name must match one of the names returned by
-- ListAddons . This parameter is required if the update is an
-- add-on update.
--
-- DescribeUpdate, describeUpdate_nodegroupName - The name
-- of the Amazon EKS node group associated with the update. This
-- parameter is required if the update is a node group update.
--
-- DescribeUpdate, describeUpdate_name - The name of the
-- Amazon EKS cluster associated with the update.
--
-- $sel:updateId:DescribeUpdate', describeUpdate_updateId -
-- The ID of the update to describe.
newDescribeUpdate :: Text -> Text -> DescribeUpdate
-- | See: newDescribeUpdateResponse smart constructor.
data DescribeUpdateResponse
DescribeUpdateResponse' :: Maybe Update -> Int -> DescribeUpdateResponse
-- | Create a value of DescribeUpdateResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:update:DescribeUpdateResponse',
-- describeUpdateResponse_update - The full description of the
-- specified update.
--
-- $sel:httpStatus:DescribeUpdateResponse',
-- describeUpdateResponse_httpStatus - The response's http status
-- code.
newDescribeUpdateResponse :: Int -> DescribeUpdateResponse
-- | See: newDisassociateIdentityProviderConfig smart
-- constructor.
data DisassociateIdentityProviderConfig
DisassociateIdentityProviderConfig' :: Maybe Text -> Text -> IdentityProviderConfig -> DisassociateIdentityProviderConfig
-- | Create a value of DisassociateIdentityProviderConfig with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DisassociateIdentityProviderConfig,
-- disassociateIdentityProviderConfig_clientRequestToken - A
-- unique, case-sensitive identifier that you provide to ensure the
-- idempotency of the request.
--
-- DisassociateIdentityProviderConfig,
-- disassociateIdentityProviderConfig_clusterName - The name of
-- the cluster to disassociate an identity provider from.
--
--
-- $sel:identityProviderConfig:DisassociateIdentityProviderConfig',
-- disassociateIdentityProviderConfig_identityProviderConfig - An
-- object representing an identity provider configuration.
newDisassociateIdentityProviderConfig :: Text -> IdentityProviderConfig -> DisassociateIdentityProviderConfig
-- | See: newDisassociateIdentityProviderConfigResponse smart
-- constructor.
data DisassociateIdentityProviderConfigResponse
DisassociateIdentityProviderConfigResponse' :: Maybe Update -> Int -> DisassociateIdentityProviderConfigResponse
-- | Create a value of DisassociateIdentityProviderConfigResponse
-- with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:update:DisassociateIdentityProviderConfigResponse',
-- disassociateIdentityProviderConfigResponse_update -
-- Undocumented member.
--
-- $sel:httpStatus:DisassociateIdentityProviderConfigResponse',
-- disassociateIdentityProviderConfigResponse_httpStatus - The
-- response's http status code.
newDisassociateIdentityProviderConfigResponse :: Int -> DisassociateIdentityProviderConfigResponse
-- | See: newListAddons smart constructor.
data ListAddons
ListAddons' :: Maybe Natural -> Maybe Text -> Text -> ListAddons
-- | Create a value of ListAddons with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:maxResults:ListAddons', listAddons_maxResults - The
-- maximum number of add-on results returned by
-- ListAddonsRequest in paginated output. When you use this
-- parameter, ListAddonsRequest returns only maxResults
-- results in a single page along with a nextToken response
-- element. You can see the remaining results of the initial request by
-- sending another ListAddonsRequest request with the returned
-- nextToken value. This value can be between 1 and 100. If you
-- don't use this parameter, ListAddonsRequest returns up to 100
-- results and a nextToken value, if applicable.
--
-- ListAddons, listAddons_nextToken - The
-- nextToken value returned from a previous paginated
-- ListAddonsRequest where maxResults was used and the
-- results exceeded the value of that parameter. Pagination continues
-- from the end of the previous results that returned the
-- nextToken value.
--
-- This token should be treated as an opaque identifier that is used only
-- to retrieve the next items in a list and not for other programmatic
-- purposes.
--
-- ListAddons, listAddons_clusterName - The name of the
-- cluster.
newListAddons :: Text -> ListAddons
-- | See: newListAddonsResponse smart constructor.
data ListAddonsResponse
ListAddonsResponse' :: Maybe [Text] -> Maybe Text -> Int -> ListAddonsResponse
-- | Create a value of ListAddonsResponse with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:addons:ListAddonsResponse',
-- listAddonsResponse_addons - A list of available add-ons.
--
-- ListAddons, listAddonsResponse_nextToken - The
-- nextToken value returned from a previous paginated
-- ListAddonsResponse where maxResults was used and the
-- results exceeded the value of that parameter. Pagination continues
-- from the end of the previous results that returned the
-- nextToken value.
--
-- This token should be treated as an opaque identifier that is used only
-- to retrieve the next items in a list and not for other programmatic
-- purposes.
--
-- $sel:httpStatus:ListAddonsResponse',
-- listAddonsResponse_httpStatus - The response's http status
-- code.
newListAddonsResponse :: Int -> ListAddonsResponse
-- | See: newListClusters smart constructor.
data ListClusters
ListClusters' :: Maybe [Text] -> Maybe Natural -> Maybe Text -> ListClusters
-- | Create a value of ListClusters with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:include:ListClusters', listClusters_include -
-- Indicates whether external clusters are included in the returned list.
-- Use 'all' to return connected clusters, or blank to return
-- only Amazon EKS clusters. 'all' must be in lowercase
-- otherwise an error occurs.
--
-- $sel:maxResults:ListClusters', listClusters_maxResults -
-- The maximum number of cluster results returned by
-- ListClusters in paginated output. When you use this
-- parameter, ListClusters returns only maxResults
-- results in a single page along with a nextToken response
-- element. You can see the remaining results of the initial request by
-- sending another ListClusters request with the returned
-- nextToken value. This value can be between 1 and 100. If you
-- don't use this parameter, ListClusters returns up to 100
-- results and a nextToken value if applicable.
--
-- ListClusters, listClusters_nextToken - The
-- nextToken value returned from a previous paginated
-- ListClusters request where maxResults was used and
-- the results exceeded the value of that parameter. Pagination continues
-- from the end of the previous results that returned the
-- nextToken value.
--
-- This token should be treated as an opaque identifier that is used only
-- to retrieve the next items in a list and not for other programmatic
-- purposes.
newListClusters :: ListClusters
-- | See: newListClustersResponse smart constructor.
data ListClustersResponse
ListClustersResponse' :: Maybe [Text] -> Maybe Text -> Int -> ListClustersResponse
-- | Create a value of ListClustersResponse with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:clusters:ListClustersResponse',
-- listClustersResponse_clusters - A list of all of the clusters
-- for your account in the specified Region.
--
-- ListClusters, listClustersResponse_nextToken - The
-- nextToken value to include in a future ListClusters
-- request. When the results of a ListClusters request exceed
-- maxResults, you can use this value to retrieve the next page
-- of results. This value is null when there are no more results
-- to return.
--
-- $sel:httpStatus:ListClustersResponse',
-- listClustersResponse_httpStatus - The response's http status
-- code.
newListClustersResponse :: Int -> ListClustersResponse
-- | See: newListFargateProfiles smart constructor.
data ListFargateProfiles
ListFargateProfiles' :: Maybe Natural -> Maybe Text -> Text -> ListFargateProfiles
-- | Create a value of ListFargateProfiles with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:maxResults:ListFargateProfiles',
-- listFargateProfiles_maxResults - The maximum number of Fargate
-- profile results returned by ListFargateProfiles in paginated
-- output. When you use this parameter, ListFargateProfiles
-- returns only maxResults results in a single page along with a
-- nextToken response element. You can see the remaining results
-- of the initial request by sending another ListFargateProfiles
-- request with the returned nextToken value. This value can be
-- between 1 and 100. If you don't use this parameter,
-- ListFargateProfiles returns up to 100 results and a
-- nextToken value if applicable.
--
-- ListFargateProfiles, listFargateProfiles_nextToken - The
-- nextToken value returned from a previous paginated
-- ListFargateProfiles request where maxResults was
-- used and the results exceeded the value of that parameter. Pagination
-- continues from the end of the previous results that returned the
-- nextToken value.
--
-- ListFargateProfiles, listFargateProfiles_clusterName -
-- The name of the Amazon EKS cluster that you would like to list Fargate
-- profiles in.
newListFargateProfiles :: Text -> ListFargateProfiles
-- | See: newListFargateProfilesResponse smart constructor.
data ListFargateProfilesResponse
ListFargateProfilesResponse' :: Maybe [Text] -> Maybe Text -> Int -> ListFargateProfilesResponse
-- | Create a value of ListFargateProfilesResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:fargateProfileNames:ListFargateProfilesResponse',
-- listFargateProfilesResponse_fargateProfileNames - A list of all
-- of the Fargate profiles associated with the specified cluster.
--
-- ListFargateProfiles,
-- listFargateProfilesResponse_nextToken - The nextToken
-- value to include in a future ListFargateProfiles request.
-- When the results of a ListFargateProfiles request exceed
-- maxResults, you can use this value to retrieve the next page
-- of results. This value is null when there are no more results
-- to return.
--
-- $sel:httpStatus:ListFargateProfilesResponse',
-- listFargateProfilesResponse_httpStatus - The response's http
-- status code.
newListFargateProfilesResponse :: Int -> ListFargateProfilesResponse
-- | See: newListIdentityProviderConfigs smart constructor.
data ListIdentityProviderConfigs
ListIdentityProviderConfigs' :: Maybe Natural -> Maybe Text -> Text -> ListIdentityProviderConfigs
-- | Create a value of ListIdentityProviderConfigs with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:maxResults:ListIdentityProviderConfigs',
-- listIdentityProviderConfigs_maxResults - The maximum number of
-- identity provider configurations returned by
-- ListIdentityProviderConfigs in paginated output. When you use
-- this parameter, ListIdentityProviderConfigs returns only
-- maxResults results in a single page along with a
-- nextToken response element. You can see the remaining results
-- of the initial request by sending another
-- ListIdentityProviderConfigs request with the returned
-- nextToken value. This value can be between 1 and 100. If you
-- don't use this parameter, ListIdentityProviderConfigs returns
-- up to 100 results and a nextToken value, if applicable.
--
-- ListIdentityProviderConfigs,
-- listIdentityProviderConfigs_nextToken - The nextToken
-- value returned from a previous paginated
-- IdentityProviderConfigsRequest where maxResults was
-- used and the results exceeded the value of that parameter. Pagination
-- continues from the end of the previous results that returned the
-- nextToken value.
--
-- ListIdentityProviderConfigs,
-- listIdentityProviderConfigs_clusterName - The cluster name that
-- you want to list identity provider configurations for.
newListIdentityProviderConfigs :: Text -> ListIdentityProviderConfigs
-- | See: newListIdentityProviderConfigsResponse smart
-- constructor.
data ListIdentityProviderConfigsResponse
ListIdentityProviderConfigsResponse' :: Maybe [IdentityProviderConfig] -> Maybe Text -> Int -> ListIdentityProviderConfigsResponse
-- | Create a value of ListIdentityProviderConfigsResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
--
-- $sel:identityProviderConfigs:ListIdentityProviderConfigsResponse',
-- listIdentityProviderConfigsResponse_identityProviderConfigs -
-- The identity provider configurations for the cluster.
--
-- ListIdentityProviderConfigs,
-- listIdentityProviderConfigsResponse_nextToken - The
-- nextToken value returned from a previous paginated
-- ListIdentityProviderConfigsResponse where maxResults
-- was used and the results exceeded the value of that parameter.
-- Pagination continues from the end of the previous results that
-- returned the nextToken value.
--
-- $sel:httpStatus:ListIdentityProviderConfigsResponse',
-- listIdentityProviderConfigsResponse_httpStatus - The response's
-- http status code.
newListIdentityProviderConfigsResponse :: Int -> ListIdentityProviderConfigsResponse
-- | See: newListNodegroups smart constructor.
data ListNodegroups
ListNodegroups' :: Maybe Natural -> Maybe Text -> Text -> ListNodegroups
-- | Create a value of ListNodegroups with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:maxResults:ListNodegroups',
-- listNodegroups_maxResults - The maximum number of node group
-- results returned by ListNodegroups in paginated output. When
-- you use this parameter, ListNodegroups returns only
-- maxResults results in a single page along with a
-- nextToken response element. You can see the remaining results
-- of the initial request by sending another ListNodegroups
-- request with the returned nextToken value. This value can be
-- between 1 and 100. If you don't use this parameter,
-- ListNodegroups returns up to 100 results and a
-- nextToken value if applicable.
--
-- ListNodegroups, listNodegroups_nextToken - The
-- nextToken value returned from a previous paginated
-- ListNodegroups request where maxResults was used and
-- the results exceeded the value of that parameter. Pagination continues
-- from the end of the previous results that returned the
-- nextToken value.
--
-- ListNodegroups, listNodegroups_clusterName - The name of
-- the Amazon EKS cluster that you would like to list node groups in.
newListNodegroups :: Text -> ListNodegroups
-- | See: newListNodegroupsResponse smart constructor.
data ListNodegroupsResponse
ListNodegroupsResponse' :: Maybe Text -> Maybe [Text] -> Int -> ListNodegroupsResponse
-- | Create a value of ListNodegroupsResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListNodegroups, listNodegroupsResponse_nextToken - The
-- nextToken value to include in a future
-- ListNodegroups request. When the results of a
-- ListNodegroups request exceed maxResults, you can
-- use this value to retrieve the next page of results. This value is
-- null when there are no more results to return.
--
-- $sel:nodegroups:ListNodegroupsResponse',
-- listNodegroupsResponse_nodegroups - A list of all of the node
-- groups associated with the specified cluster.
--
-- $sel:httpStatus:ListNodegroupsResponse',
-- listNodegroupsResponse_httpStatus - The response's http status
-- code.
newListNodegroupsResponse :: Int -> ListNodegroupsResponse
-- | See: newListTagsForResource smart constructor.
data ListTagsForResource
ListTagsForResource' :: Text -> ListTagsForResource
-- | Create a value of ListTagsForResource with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:resourceArn:ListTagsForResource',
-- listTagsForResource_resourceArn - The Amazon Resource Name
-- (ARN) that identifies the resource for which to list the tags.
-- Currently, the supported resources are Amazon EKS clusters and managed
-- node groups.
newListTagsForResource :: Text -> ListTagsForResource
-- | See: newListTagsForResourceResponse smart constructor.
data ListTagsForResourceResponse
ListTagsForResourceResponse' :: Maybe (HashMap Text Text) -> Int -> ListTagsForResourceResponse
-- | Create a value of ListTagsForResourceResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListTagsForResourceResponse,
-- listTagsForResourceResponse_tags - The tags for the resource.
--
-- $sel:httpStatus:ListTagsForResourceResponse',
-- listTagsForResourceResponse_httpStatus - The response's http
-- status code.
newListTagsForResourceResponse :: Int -> ListTagsForResourceResponse
-- | See: newListUpdates smart constructor.
data ListUpdates
ListUpdates' :: Maybe Text -> Maybe Natural -> Maybe Text -> Maybe Text -> Text -> ListUpdates
-- | Create a value of ListUpdates with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListUpdates, listUpdates_addonName - The names of the
-- installed add-ons that have available updates.
--
-- $sel:maxResults:ListUpdates', listUpdates_maxResults -
-- The maximum number of update results returned by ListUpdates
-- in paginated output. When you use this parameter, ListUpdates
-- returns only maxResults results in a single page along with a
-- nextToken response element. You can see the remaining results
-- of the initial request by sending another ListUpdates request
-- with the returned nextToken value. This value can be between
-- 1 and 100. If you don't use this parameter, ListUpdates
-- returns up to 100 results and a nextToken value if
-- applicable.
--
-- ListUpdates, listUpdates_nextToken - The
-- nextToken value returned from a previous paginated
-- ListUpdates request where maxResults was used and
-- the results exceeded the value of that parameter. Pagination continues
-- from the end of the previous results that returned the
-- nextToken value.
--
-- ListUpdates, listUpdates_nodegroupName - The name of the
-- Amazon EKS managed node group to list updates for.
--
-- ListUpdates, listUpdates_name - The name of the Amazon
-- EKS cluster to list updates for.
newListUpdates :: Text -> ListUpdates
-- | See: newListUpdatesResponse smart constructor.
data ListUpdatesResponse
ListUpdatesResponse' :: Maybe Text -> Maybe [Text] -> Int -> ListUpdatesResponse
-- | Create a value of ListUpdatesResponse with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListUpdates, listUpdatesResponse_nextToken - The
-- nextToken value to include in a future ListUpdates
-- request. When the results of a ListUpdates request exceed
-- maxResults, you can use this value to retrieve the next page
-- of results. This value is null when there are no more results
-- to return.
--
-- $sel:updateIds:ListUpdatesResponse',
-- listUpdatesResponse_updateIds - A list of all the updates for
-- the specified cluster and Region.
--
-- $sel:httpStatus:ListUpdatesResponse',
-- listUpdatesResponse_httpStatus - The response's http status
-- code.
newListUpdatesResponse :: Int -> ListUpdatesResponse
-- | See: newRegisterCluster smart constructor.
data RegisterCluster
RegisterCluster' :: Maybe Text -> Maybe (HashMap Text Text) -> Text -> ConnectorConfigRequest -> RegisterCluster
-- | Create a value of RegisterCluster with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- RegisterCluster, registerCluster_clientRequestToken -
-- Unique, case-sensitive identifier that you provide to ensure the
-- idempotency of the request.
--
-- RegisterCluster, registerCluster_tags - The metadata
-- that you apply to the cluster to assist with categorization and
-- organization. Each tag consists of a key and an optional value, both
-- of which you define. Cluster tags do not propagate to any other
-- resources associated with the cluster.
--
-- RegisterCluster, registerCluster_name - Define a unique
-- name for this cluster for your Region.
--
-- RegisterCluster, registerCluster_connectorConfig - The
-- configuration settings required to connect the Kubernetes cluster to
-- the Amazon EKS control plane.
newRegisterCluster :: Text -> ConnectorConfigRequest -> RegisterCluster
-- | See: newRegisterClusterResponse smart constructor.
data RegisterClusterResponse
RegisterClusterResponse' :: Maybe Cluster -> Int -> RegisterClusterResponse
-- | Create a value of RegisterClusterResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:cluster:RegisterClusterResponse',
-- registerClusterResponse_cluster - Undocumented member.
--
-- $sel:httpStatus:RegisterClusterResponse',
-- registerClusterResponse_httpStatus - The response's http status
-- code.
newRegisterClusterResponse :: Int -> RegisterClusterResponse
-- | See: newTagResource smart constructor.
data TagResource
TagResource' :: Text -> HashMap Text Text -> TagResource
-- | Create a value of TagResource with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:resourceArn:TagResource', tagResource_resourceArn -
-- The Amazon Resource Name (ARN) of the resource to which to add tags.
-- Currently, the supported resources are Amazon EKS clusters and managed
-- node groups.
--
-- TagResource, tagResource_tags - The tags to add to the
-- resource. A tag is an array of key-value pairs.
newTagResource :: Text -> TagResource
-- | See: newTagResourceResponse smart constructor.
data TagResourceResponse
TagResourceResponse' :: Int -> TagResourceResponse
-- | Create a value of TagResourceResponse with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:httpStatus:TagResourceResponse',
-- tagResourceResponse_httpStatus - The response's http status
-- code.
newTagResourceResponse :: Int -> TagResourceResponse
-- | See: newUntagResource smart constructor.
data UntagResource
UntagResource' :: Text -> NonEmpty Text -> UntagResource
-- | Create a value of UntagResource with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:resourceArn:UntagResource',
-- untagResource_resourceArn - The Amazon Resource Name (ARN) of
-- the resource from which to delete tags. Currently, the supported
-- resources are Amazon EKS clusters and managed node groups.
--
-- $sel:tagKeys:UntagResource', untagResource_tagKeys - The
-- keys of the tags to be removed.
newUntagResource :: Text -> NonEmpty Text -> UntagResource
-- | See: newUntagResourceResponse smart constructor.
data UntagResourceResponse
UntagResourceResponse' :: Int -> UntagResourceResponse
-- | Create a value of UntagResourceResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:httpStatus:UntagResourceResponse',
-- untagResourceResponse_httpStatus - The response's http status
-- code.
newUntagResourceResponse :: Int -> UntagResourceResponse
-- | See: newUpdateAddon smart constructor.
data UpdateAddon
UpdateAddon' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe ResolveConflicts -> Maybe Text -> Text -> Text -> UpdateAddon
-- | Create a value of UpdateAddon with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- UpdateAddon, updateAddon_addonVersion - The version of
-- the add-on. The version must match one of the versions returned by
-- DescribeAddonVersions .
--
-- UpdateAddon, updateAddon_clientRequestToken - Unique,
-- case-sensitive identifier that you provide to ensure the idempotency
-- of the request.
--
-- UpdateAddon, updateAddon_configurationValues - The set
-- of configuration values for the add-on that's created. The values that
-- you provide are validated against the schema in
-- DescribeAddonConfiguration.
--
-- $sel:resolveConflicts:UpdateAddon',
-- updateAddon_resolveConflicts - How to resolve field value
-- conflicts for an Amazon EKS add-on if you've changed a value from the
-- Amazon EKS default value. Conflicts are handled based on the option
-- you choose:
--
--
-- - None – Amazon EKS doesn't change the value. The update
-- might fail.
-- - Overwrite – Amazon EKS overwrites the changed value back to
-- the Amazon EKS default value.
-- - Preserve – Amazon EKS preserves the value. If you choose
-- this option, we recommend that you test any field and value changes on
-- a non-production cluster before updating the add-on on your production
-- cluster.
--
--
-- UpdateAddon, updateAddon_serviceAccountRoleArn - The
-- Amazon Resource Name (ARN) of an existing IAM role to bind to the
-- add-on's service account. The role must be assigned the IAM
-- permissions required by the add-on. If you don't specify an existing
-- IAM role, then the add-on uses the permissions assigned to the node
-- IAM role. For more information, see Amazon EKS node IAM role in
-- the Amazon EKS User Guide.
--
-- To specify an existing IAM role, you must have an IAM OpenID Connect
-- (OIDC) provider created for your cluster. For more information, see
-- Enabling IAM roles for service accounts on your cluster in the
-- Amazon EKS User Guide.
--
-- UpdateAddon, updateAddon_clusterName - The name of the
-- cluster.
--
-- UpdateAddon, updateAddon_addonName - The name of the
-- add-on. The name must match one of the names returned by
-- ListAddons .
newUpdateAddon :: Text -> Text -> UpdateAddon
-- | See: newUpdateAddonResponse smart constructor.
data UpdateAddonResponse
UpdateAddonResponse' :: Maybe Update -> Int -> UpdateAddonResponse
-- | Create a value of UpdateAddonResponse with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:update:UpdateAddonResponse',
-- updateAddonResponse_update - Undocumented member.
--
-- $sel:httpStatus:UpdateAddonResponse',
-- updateAddonResponse_httpStatus - The response's http status
-- code.
newUpdateAddonResponse :: Int -> UpdateAddonResponse
-- | See: newUpdateClusterConfig smart constructor.
data UpdateClusterConfig
UpdateClusterConfig' :: Maybe Text -> Maybe Logging -> Maybe VpcConfigRequest -> Text -> UpdateClusterConfig
-- | Create a value of UpdateClusterConfig with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- UpdateClusterConfig,
-- updateClusterConfig_clientRequestToken - Unique, case-sensitive
-- identifier that you provide to ensure the idempotency of the request.
--
-- UpdateClusterConfig, updateClusterConfig_logging -
-- Enable or disable exporting the Kubernetes control plane logs for your
-- cluster to CloudWatch Logs. By default, cluster control plane logs
-- aren't exported to CloudWatch Logs. For more information, see
-- Amazon EKS cluster control plane logs in the /Amazon EKS
-- User Guide/ .
--
-- CloudWatch Logs ingestion, archive storage, and data scanning rates
-- apply to exported control plane logs. For more information, see
-- CloudWatch Pricing.
--
-- UpdateClusterConfig,
-- updateClusterConfig_resourcesVpcConfig - Undocumented member.
--
-- UpdateClusterConfig, updateClusterConfig_name - The name
-- of the Amazon EKS cluster to update.
newUpdateClusterConfig :: Text -> UpdateClusterConfig
-- | See: newUpdateClusterConfigResponse smart constructor.
data UpdateClusterConfigResponse
UpdateClusterConfigResponse' :: Maybe Update -> Int -> UpdateClusterConfigResponse
-- | Create a value of UpdateClusterConfigResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:update:UpdateClusterConfigResponse',
-- updateClusterConfigResponse_update - Undocumented member.
--
-- $sel:httpStatus:UpdateClusterConfigResponse',
-- updateClusterConfigResponse_httpStatus - The response's http
-- status code.
newUpdateClusterConfigResponse :: Int -> UpdateClusterConfigResponse
-- | See: newUpdateClusterVersion smart constructor.
data UpdateClusterVersion
UpdateClusterVersion' :: Maybe Text -> Text -> Text -> UpdateClusterVersion
-- | Create a value of UpdateClusterVersion with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- UpdateClusterVersion,
-- updateClusterVersion_clientRequestToken - Unique,
-- case-sensitive identifier that you provide to ensure the idempotency
-- of the request.
--
-- UpdateClusterVersion, updateClusterVersion_name - The
-- name of the Amazon EKS cluster to update.
--
-- UpdateClusterVersion, updateClusterVersion_version - The
-- desired Kubernetes version following a successful update.
newUpdateClusterVersion :: Text -> Text -> UpdateClusterVersion
-- | See: newUpdateClusterVersionResponse smart constructor.
data UpdateClusterVersionResponse
UpdateClusterVersionResponse' :: Maybe Update -> Int -> UpdateClusterVersionResponse
-- | Create a value of UpdateClusterVersionResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:update:UpdateClusterVersionResponse',
-- updateClusterVersionResponse_update - The full description of
-- the specified update
--
-- $sel:httpStatus:UpdateClusterVersionResponse',
-- updateClusterVersionResponse_httpStatus - The response's http
-- status code.
newUpdateClusterVersionResponse :: Int -> UpdateClusterVersionResponse
-- | See: newUpdateNodegroupConfig smart constructor.
data UpdateNodegroupConfig
UpdateNodegroupConfig' :: Maybe Text -> Maybe UpdateLabelsPayload -> Maybe NodegroupScalingConfig -> Maybe UpdateTaintsPayload -> Maybe NodegroupUpdateConfig -> Text -> Text -> UpdateNodegroupConfig
-- | Create a value of UpdateNodegroupConfig with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- UpdateNodegroupConfig,
-- updateNodegroupConfig_clientRequestToken - Unique,
-- case-sensitive identifier that you provide to ensure the idempotency
-- of the request.
--
-- UpdateNodegroupConfig, updateNodegroupConfig_labels -
-- The Kubernetes labels to be applied to the nodes in the node group
-- after the update.
--
-- UpdateNodegroupConfig,
-- updateNodegroupConfig_scalingConfig - The scaling configuration
-- details for the Auto Scaling group after the update.
--
-- UpdateNodegroupConfig, updateNodegroupConfig_taints -
-- The Kubernetes taints to be applied to the nodes in the node group
-- after the update. For more information, see Node taints on managed
-- node groups.
--
-- UpdateNodegroupConfig,
-- updateNodegroupConfig_updateConfig - The node group update
-- configuration.
--
-- UpdateNodegroupConfig, updateNodegroupConfig_clusterName
-- - The name of the Amazon EKS cluster that the managed node group
-- resides in.
--
-- UpdateNodegroupConfig,
-- updateNodegroupConfig_nodegroupName - The name of the managed
-- node group to update.
newUpdateNodegroupConfig :: Text -> Text -> UpdateNodegroupConfig
-- | See: newUpdateNodegroupConfigResponse smart constructor.
data UpdateNodegroupConfigResponse
UpdateNodegroupConfigResponse' :: Maybe Update -> Int -> UpdateNodegroupConfigResponse
-- | Create a value of UpdateNodegroupConfigResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:update:UpdateNodegroupConfigResponse',
-- updateNodegroupConfigResponse_update - Undocumented member.
--
-- $sel:httpStatus:UpdateNodegroupConfigResponse',
-- updateNodegroupConfigResponse_httpStatus - The response's http
-- status code.
newUpdateNodegroupConfigResponse :: Int -> UpdateNodegroupConfigResponse
-- | See: newUpdateNodegroupVersion smart constructor.
data UpdateNodegroupVersion
UpdateNodegroupVersion' :: Maybe Text -> Maybe Bool -> Maybe LaunchTemplateSpecification -> Maybe Text -> Maybe Text -> Text -> Text -> UpdateNodegroupVersion
-- | Create a value of UpdateNodegroupVersion with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- UpdateNodegroupVersion,
-- updateNodegroupVersion_clientRequestToken - Unique,
-- case-sensitive identifier that you provide to ensure the idempotency
-- of the request.
--
-- $sel:force:UpdateNodegroupVersion',
-- updateNodegroupVersion_force - Force the update if the existing
-- node group's pods are unable to be drained due to a pod disruption
-- budget issue. If an update fails because pods could not be drained,
-- you can force the update after it fails to terminate the old node
-- whether or not any pods are running on the node.
--
-- UpdateNodegroupVersion,
-- updateNodegroupVersion_launchTemplate - An object representing
-- a node group's launch template specification. You can only update a
-- node group using a launch template if the node group was originally
-- deployed with a launch template.
--
-- UpdateNodegroupVersion,
-- updateNodegroupVersion_releaseVersion - The AMI version of the
-- Amazon EKS optimized AMI to use for the update. By default, the latest
-- available AMI version for the node group's Kubernetes version is used.
-- For information about Linux versions, see Amazon EKS optimized
-- Amazon Linux AMI versions in the Amazon EKS User Guide.
-- Amazon EKS managed node groups support the November 2022 and later
-- releases of the Windows AMIs. For information about Windows versions,
-- see Amazon EKS optimized Windows AMI versions in the Amazon
-- EKS User Guide.
--
-- If you specify launchTemplate, and your launch template uses
-- a custom AMI, then don't specify releaseVersion, or the node
-- group update will fail. For more information about using launch
-- templates with Amazon EKS, see Launch template support in the
-- Amazon EKS User Guide.
--
-- UpdateNodegroupVersion, updateNodegroupVersion_version -
-- The Kubernetes version to update to. If no version is specified, then
-- the Kubernetes version of the node group does not change. You can
-- specify the Kubernetes version of the cluster to update the node group
-- to the latest AMI version of the cluster's Kubernetes version. If you
-- specify launchTemplate, and your launch template uses a
-- custom AMI, then don't specify version, or the node group
-- update will fail. For more information about using launch templates
-- with Amazon EKS, see Launch template support in the Amazon
-- EKS User Guide.
--
-- UpdateNodegroupVersion,
-- updateNodegroupVersion_clusterName - The name of the Amazon EKS
-- cluster that is associated with the managed node group to update.
--
-- UpdateNodegroupVersion,
-- updateNodegroupVersion_nodegroupName - The name of the managed
-- node group to update.
newUpdateNodegroupVersion :: Text -> Text -> UpdateNodegroupVersion
-- | See: newUpdateNodegroupVersionResponse smart
-- constructor.
data UpdateNodegroupVersionResponse
UpdateNodegroupVersionResponse' :: Maybe Update -> Int -> UpdateNodegroupVersionResponse
-- | Create a value of UpdateNodegroupVersionResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:update:UpdateNodegroupVersionResponse',
-- updateNodegroupVersionResponse_update - Undocumented member.
--
-- $sel:httpStatus:UpdateNodegroupVersionResponse',
-- updateNodegroupVersionResponse_httpStatus - The response's http
-- status code.
newUpdateNodegroupVersionResponse :: Int -> UpdateNodegroupVersionResponse
newtype AMITypes
AMITypes' :: Text -> AMITypes
[fromAMITypes] :: AMITypes -> Text
pattern AMITypes_AL2_ARM_64 :: AMITypes
pattern AMITypes_AL2_x86_64 :: AMITypes
pattern AMITypes_AL2_x86_64_GPU :: AMITypes
pattern AMITypes_BOTTLEROCKET_ARM_64 :: AMITypes
pattern AMITypes_BOTTLEROCKET_ARM_64_NVIDIA :: AMITypes
pattern AMITypes_BOTTLEROCKET_x86_64 :: AMITypes
pattern AMITypes_BOTTLEROCKET_x86_64_NVIDIA :: AMITypes
pattern AMITypes_CUSTOM :: AMITypes
pattern AMITypes_WINDOWS_CORE_2019_x86_64 :: AMITypes
pattern AMITypes_WINDOWS_CORE_2022_x86_64 :: AMITypes
pattern AMITypes_WINDOWS_FULL_2019_x86_64 :: AMITypes
pattern AMITypes_WINDOWS_FULL_2022_x86_64 :: AMITypes
newtype AddonIssueCode
AddonIssueCode' :: Text -> AddonIssueCode
[fromAddonIssueCode] :: AddonIssueCode -> Text
pattern AddonIssueCode_AccessDenied :: AddonIssueCode
pattern AddonIssueCode_AdmissionRequestDenied :: AddonIssueCode
pattern AddonIssueCode_ClusterUnreachable :: AddonIssueCode
pattern AddonIssueCode_ConfigurationConflict :: AddonIssueCode
pattern AddonIssueCode_InsufficientNumberOfReplicas :: AddonIssueCode
pattern AddonIssueCode_InternalFailure :: AddonIssueCode
pattern AddonIssueCode_K8sResourceNotFound :: AddonIssueCode
pattern AddonIssueCode_UnsupportedAddonModification :: AddonIssueCode
newtype AddonStatus
AddonStatus' :: Text -> AddonStatus
[fromAddonStatus] :: AddonStatus -> Text
pattern AddonStatus_ACTIVE :: AddonStatus
pattern AddonStatus_CREATE_FAILED :: AddonStatus
pattern AddonStatus_CREATING :: AddonStatus
pattern AddonStatus_DEGRADED :: AddonStatus
pattern AddonStatus_DELETE_FAILED :: AddonStatus
pattern AddonStatus_DELETING :: AddonStatus
pattern AddonStatus_UPDATE_FAILED :: AddonStatus
pattern AddonStatus_UPDATING :: AddonStatus
newtype CapacityTypes
CapacityTypes' :: Text -> CapacityTypes
[fromCapacityTypes] :: CapacityTypes -> Text
pattern CapacityTypes_ON_DEMAND :: CapacityTypes
pattern CapacityTypes_SPOT :: CapacityTypes
newtype ClusterIssueCode
ClusterIssueCode' :: Text -> ClusterIssueCode
[fromClusterIssueCode] :: ClusterIssueCode -> Text
pattern ClusterIssueCode_AccessDenied :: ClusterIssueCode
pattern ClusterIssueCode_ClusterUnreachable :: ClusterIssueCode
pattern ClusterIssueCode_ConfigurationConflict :: ClusterIssueCode
pattern ClusterIssueCode_InternalFailure :: ClusterIssueCode
pattern ClusterIssueCode_ResourceLimitExceeded :: ClusterIssueCode
pattern ClusterIssueCode_ResourceNotFound :: ClusterIssueCode
newtype ClusterStatus
ClusterStatus' :: Text -> ClusterStatus
[fromClusterStatus] :: ClusterStatus -> Text
pattern ClusterStatus_ACTIVE :: ClusterStatus
pattern ClusterStatus_CREATING :: ClusterStatus
pattern ClusterStatus_DELETING :: ClusterStatus
pattern ClusterStatus_FAILED :: ClusterStatus
pattern ClusterStatus_PENDING :: ClusterStatus
pattern ClusterStatus_UPDATING :: ClusterStatus
newtype ConfigStatus
ConfigStatus' :: Text -> ConfigStatus
[fromConfigStatus] :: ConfigStatus -> Text
pattern ConfigStatus_ACTIVE :: ConfigStatus
pattern ConfigStatus_CREATING :: ConfigStatus
pattern ConfigStatus_DELETING :: ConfigStatus
newtype ConnectorConfigProvider
ConnectorConfigProvider' :: Text -> ConnectorConfigProvider
[fromConnectorConfigProvider] :: ConnectorConfigProvider -> Text
pattern ConnectorConfigProvider_AKS :: ConnectorConfigProvider
pattern ConnectorConfigProvider_ANTHOS :: ConnectorConfigProvider
pattern ConnectorConfigProvider_EC2 :: ConnectorConfigProvider
pattern ConnectorConfigProvider_EKS_ANYWHERE :: ConnectorConfigProvider
pattern ConnectorConfigProvider_GKE :: ConnectorConfigProvider
pattern ConnectorConfigProvider_OPENSHIFT :: ConnectorConfigProvider
pattern ConnectorConfigProvider_OTHER :: ConnectorConfigProvider
pattern ConnectorConfigProvider_RANCHER :: ConnectorConfigProvider
pattern ConnectorConfigProvider_TANZU :: ConnectorConfigProvider
newtype EKSErrorCode
EKSErrorCode' :: Text -> EKSErrorCode
[fromEKSErrorCode] :: EKSErrorCode -> Text
pattern EKSErrorCode_AccessDenied :: EKSErrorCode
pattern EKSErrorCode_AdmissionRequestDenied :: EKSErrorCode
pattern EKSErrorCode_ClusterUnreachable :: EKSErrorCode
pattern EKSErrorCode_ConfigurationConflict :: EKSErrorCode
pattern EKSErrorCode_EniLimitReached :: EKSErrorCode
pattern EKSErrorCode_InsufficientFreeAddresses :: EKSErrorCode
pattern EKSErrorCode_InsufficientNumberOfReplicas :: EKSErrorCode
pattern EKSErrorCode_IpNotAvailable :: EKSErrorCode
pattern EKSErrorCode_K8sResourceNotFound :: EKSErrorCode
pattern EKSErrorCode_NodeCreationFailure :: EKSErrorCode
pattern EKSErrorCode_OperationNotPermitted :: EKSErrorCode
pattern EKSErrorCode_PodEvictionFailure :: EKSErrorCode
pattern EKSErrorCode_SecurityGroupNotFound :: EKSErrorCode
pattern EKSErrorCode_SubnetNotFound :: EKSErrorCode
pattern EKSErrorCode_Unknown :: EKSErrorCode
pattern EKSErrorCode_UnsupportedAddonModification :: EKSErrorCode
pattern EKSErrorCode_VpcIdNotFound :: EKSErrorCode
newtype FargateProfileStatus
FargateProfileStatus' :: Text -> FargateProfileStatus
[fromFargateProfileStatus] :: FargateProfileStatus -> Text
pattern FargateProfileStatus_ACTIVE :: FargateProfileStatus
pattern FargateProfileStatus_CREATE_FAILED :: FargateProfileStatus
pattern FargateProfileStatus_CREATING :: FargateProfileStatus
pattern FargateProfileStatus_DELETE_FAILED :: FargateProfileStatus
pattern FargateProfileStatus_DELETING :: FargateProfileStatus
newtype IpFamily
IpFamily' :: Text -> IpFamily
[fromIpFamily] :: IpFamily -> Text
pattern IpFamily_Ipv4 :: IpFamily
pattern IpFamily_Ipv6 :: IpFamily
newtype LogType
LogType' :: Text -> LogType
[fromLogType] :: LogType -> Text
pattern LogType_Api :: LogType
pattern LogType_Audit :: LogType
pattern LogType_Authenticator :: LogType
pattern LogType_ControllerManager :: LogType
pattern LogType_Scheduler :: LogType
newtype NodegroupIssueCode
NodegroupIssueCode' :: Text -> NodegroupIssueCode
[fromNodegroupIssueCode] :: NodegroupIssueCode -> Text
pattern NodegroupIssueCode_AccessDenied :: NodegroupIssueCode
pattern NodegroupIssueCode_AsgInstanceLaunchFailures :: NodegroupIssueCode
pattern NodegroupIssueCode_AutoScalingGroupInvalidConfiguration :: NodegroupIssueCode
pattern NodegroupIssueCode_AutoScalingGroupNotFound :: NodegroupIssueCode
pattern NodegroupIssueCode_ClusterUnreachable :: NodegroupIssueCode
pattern NodegroupIssueCode_Ec2LaunchTemplateNotFound :: NodegroupIssueCode
pattern NodegroupIssueCode_Ec2LaunchTemplateVersionMismatch :: NodegroupIssueCode
pattern NodegroupIssueCode_Ec2SecurityGroupDeletionFailure :: NodegroupIssueCode
pattern NodegroupIssueCode_Ec2SecurityGroupNotFound :: NodegroupIssueCode
pattern NodegroupIssueCode_Ec2SubnetInvalidConfiguration :: NodegroupIssueCode
pattern NodegroupIssueCode_Ec2SubnetMissingIpv6Assignment :: NodegroupIssueCode
pattern NodegroupIssueCode_Ec2SubnetNotFound :: NodegroupIssueCode
pattern NodegroupIssueCode_IamInstanceProfileNotFound :: NodegroupIssueCode
pattern NodegroupIssueCode_IamLimitExceeded :: NodegroupIssueCode
pattern NodegroupIssueCode_IamNodeRoleNotFound :: NodegroupIssueCode
pattern NodegroupIssueCode_InstanceLimitExceeded :: NodegroupIssueCode
pattern NodegroupIssueCode_InsufficientFreeAddresses :: NodegroupIssueCode
pattern NodegroupIssueCode_InternalFailure :: NodegroupIssueCode
pattern NodegroupIssueCode_NodeCreationFailure :: NodegroupIssueCode
newtype NodegroupStatus
NodegroupStatus' :: Text -> NodegroupStatus
[fromNodegroupStatus] :: NodegroupStatus -> Text
pattern NodegroupStatus_ACTIVE :: NodegroupStatus
pattern NodegroupStatus_CREATE_FAILED :: NodegroupStatus
pattern NodegroupStatus_CREATING :: NodegroupStatus
pattern NodegroupStatus_DEGRADED :: NodegroupStatus
pattern NodegroupStatus_DELETE_FAILED :: NodegroupStatus
pattern NodegroupStatus_DELETING :: NodegroupStatus
pattern NodegroupStatus_UPDATING :: NodegroupStatus
newtype ResolveConflicts
ResolveConflicts' :: Text -> ResolveConflicts
[fromResolveConflicts] :: ResolveConflicts -> Text
pattern ResolveConflicts_NONE :: ResolveConflicts
pattern ResolveConflicts_OVERWRITE :: ResolveConflicts
pattern ResolveConflicts_PRESERVE :: ResolveConflicts
newtype TaintEffect
TaintEffect' :: Text -> TaintEffect
[fromTaintEffect] :: TaintEffect -> Text
pattern TaintEffect_NO_EXECUTE :: TaintEffect
pattern TaintEffect_NO_SCHEDULE :: TaintEffect
pattern TaintEffect_PREFER_NO_SCHEDULE :: TaintEffect
newtype UpdateParamType
UpdateParamType' :: Text -> UpdateParamType
[fromUpdateParamType] :: UpdateParamType -> Text
pattern UpdateParamType_AddonVersion :: UpdateParamType
pattern UpdateParamType_ClusterLogging :: UpdateParamType
pattern UpdateParamType_DesiredSize :: UpdateParamType
pattern UpdateParamType_EncryptionConfig :: UpdateParamType
pattern UpdateParamType_EndpointPrivateAccess :: UpdateParamType
pattern UpdateParamType_EndpointPublicAccess :: UpdateParamType
pattern UpdateParamType_IdentityProviderConfig :: UpdateParamType
pattern UpdateParamType_LabelsToAdd :: UpdateParamType
pattern UpdateParamType_LabelsToRemove :: UpdateParamType
pattern UpdateParamType_LaunchTemplateName :: UpdateParamType
pattern UpdateParamType_LaunchTemplateVersion :: UpdateParamType
pattern UpdateParamType_MaxSize :: UpdateParamType
pattern UpdateParamType_MaxUnavailable :: UpdateParamType
pattern UpdateParamType_MaxUnavailablePercentage :: UpdateParamType
pattern UpdateParamType_MinSize :: UpdateParamType
pattern UpdateParamType_PlatformVersion :: UpdateParamType
pattern UpdateParamType_PublicAccessCidrs :: UpdateParamType
pattern UpdateParamType_ReleaseVersion :: UpdateParamType
pattern UpdateParamType_ResolveConflicts :: UpdateParamType
pattern UpdateParamType_ServiceAccountRoleArn :: UpdateParamType
pattern UpdateParamType_TaintsToAdd :: UpdateParamType
pattern UpdateParamType_TaintsToRemove :: UpdateParamType
pattern UpdateParamType_Version :: UpdateParamType
newtype UpdateStatus
UpdateStatus' :: Text -> UpdateStatus
[fromUpdateStatus] :: UpdateStatus -> Text
pattern UpdateStatus_Cancelled :: UpdateStatus
pattern UpdateStatus_Failed :: UpdateStatus
pattern UpdateStatus_InProgress :: UpdateStatus
pattern UpdateStatus_Successful :: UpdateStatus
newtype UpdateType
UpdateType' :: Text -> UpdateType
[fromUpdateType] :: UpdateType -> Text
pattern UpdateType_AddonUpdate :: UpdateType
pattern UpdateType_AssociateEncryptionConfig :: UpdateType
pattern UpdateType_AssociateIdentityProviderConfig :: UpdateType
pattern UpdateType_ConfigUpdate :: UpdateType
pattern UpdateType_DisassociateIdentityProviderConfig :: UpdateType
pattern UpdateType_EndpointAccessUpdate :: UpdateType
pattern UpdateType_LoggingUpdate :: UpdateType
pattern UpdateType_VersionUpdate :: UpdateType
-- | An Amazon EKS add-on. For more information, see Amazon EKS
-- add-ons in the Amazon EKS User Guide.
--
-- See: newAddon smart constructor.
data Addon
Addon' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe POSIX -> Maybe AddonHealth -> Maybe MarketplaceInformation -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe AddonStatus -> Maybe (HashMap Text Text) -> Addon
-- | Create a value of Addon with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:addonArn:Addon', addon_addonArn - The Amazon
-- Resource Name (ARN) of the add-on.
--
-- $sel:addonName:Addon', addon_addonName - The name of the
-- add-on.
--
-- $sel:addonVersion:Addon', addon_addonVersion - The
-- version of the add-on.
--
-- $sel:clusterName:Addon', addon_clusterName - The name of
-- the cluster.
--
-- $sel:configurationValues:Addon',
-- addon_configurationValues - The configuration values that you
-- provided.
--
-- $sel:createdAt:Addon', addon_createdAt - The date and
-- time that the add-on was created.
--
-- $sel:health:Addon', addon_health - An object that
-- represents the health of the add-on.
--
-- $sel:marketplaceInformation:Addon',
-- addon_marketplaceInformation - Information about an Amazon EKS
-- add-on from the Amazon Web Services Marketplace.
--
-- $sel:modifiedAt:Addon', addon_modifiedAt - The date and
-- time that the add-on was last modified.
--
-- $sel:owner:Addon', addon_owner - The owner of the
-- add-on.
--
-- $sel:publisher:Addon', addon_publisher - The publisher
-- of the add-on.
--
-- $sel:serviceAccountRoleArn:Addon',
-- addon_serviceAccountRoleArn - The Amazon Resource Name (ARN) of
-- the IAM role that's bound to the Kubernetes service account that the
-- add-on uses.
--
-- $sel:status:Addon', addon_status - The status of the
-- add-on.
--
-- $sel:tags:Addon', addon_tags - The metadata that you
-- apply to the add-on to assist with categorization and organization.
-- Each tag consists of a key and an optional value. You define both.
-- Add-on tags do not propagate to any other resources associated with
-- the cluster.
newAddon :: Addon
-- | The health of the add-on.
--
-- See: newAddonHealth smart constructor.
data AddonHealth
AddonHealth' :: Maybe [AddonIssue] -> AddonHealth
-- | Create a value of AddonHealth with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:issues:AddonHealth', addonHealth_issues - An object
-- representing the health issues for an add-on.
newAddonHealth :: AddonHealth
-- | Information about an add-on.
--
-- See: newAddonInfo smart constructor.
data AddonInfo
AddonInfo' :: Maybe Text -> Maybe [AddonVersionInfo] -> Maybe MarketplaceInformation -> Maybe Text -> Maybe Text -> Maybe Text -> AddonInfo
-- | Create a value of AddonInfo with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:addonName:AddonInfo', addonInfo_addonName - The
-- name of the add-on.
--
-- $sel:addonVersions:AddonInfo', addonInfo_addonVersions -
-- An object representing information about available add-on versions and
-- compatible Kubernetes versions.
--
-- $sel:marketplaceInformation:AddonInfo',
-- addonInfo_marketplaceInformation - Information about the add-on
-- from the Amazon Web Services Marketplace.
--
-- $sel:owner:AddonInfo', addonInfo_owner - The owner of
-- the add-on.
--
-- $sel:publisher:AddonInfo', addonInfo_publisher - The
-- publisher of the add-on.
--
-- $sel:type':AddonInfo', addonInfo_type - The type of the
-- add-on.
newAddonInfo :: AddonInfo
-- | An issue related to an add-on.
--
-- See: newAddonIssue smart constructor.
data AddonIssue
AddonIssue' :: Maybe AddonIssueCode -> Maybe Text -> Maybe [Text] -> AddonIssue
-- | Create a value of AddonIssue with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:code:AddonIssue', addonIssue_code - A code that
-- describes the type of issue.
--
-- $sel:message:AddonIssue', addonIssue_message - A message
-- that provides details about the issue and what might cause it.
--
-- $sel:resourceIds:AddonIssue', addonIssue_resourceIds -
-- The resource IDs of the issue.
newAddonIssue :: AddonIssue
-- | Information about an add-on version.
--
-- See: newAddonVersionInfo smart constructor.
data AddonVersionInfo
AddonVersionInfo' :: Maybe Text -> Maybe [Text] -> Maybe [Compatibility] -> Maybe Bool -> AddonVersionInfo
-- | Create a value of AddonVersionInfo with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:addonVersion:AddonVersionInfo',
-- addonVersionInfo_addonVersion - The version of the add-on.
--
-- $sel:architecture:AddonVersionInfo',
-- addonVersionInfo_architecture - The architectures that the
-- version supports.
--
-- $sel:compatibilities:AddonVersionInfo',
-- addonVersionInfo_compatibilities - An object representing the
-- compatibilities of a version.
--
-- $sel:requiresConfiguration:AddonVersionInfo',
-- addonVersionInfo_requiresConfiguration - Whether the add-on
-- requires configuration.
newAddonVersionInfo :: AddonVersionInfo
-- | An Auto Scaling group that is associated with an Amazon EKS managed
-- node group.
--
-- See: newAutoScalingGroup smart constructor.
data AutoScalingGroup
AutoScalingGroup' :: Maybe Text -> AutoScalingGroup
-- | Create a value of AutoScalingGroup with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:name:AutoScalingGroup', autoScalingGroup_name - The
-- name of the Auto Scaling group associated with an Amazon EKS managed
-- node group.
newAutoScalingGroup :: AutoScalingGroup
-- | An object representing the certificate-authority-data for
-- your cluster.
--
-- See: newCertificate smart constructor.
data Certificate
Certificate' :: Maybe Text -> Certificate
-- | Create a value of Certificate with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:data':Certificate', certificate_data - The
-- Base64-encoded certificate data required to communicate with your
-- cluster. Add this to the certificate-authority-data section
-- of the kubeconfig file for your cluster.
newCertificate :: Certificate
-- | An object representing an Amazon EKS cluster.
--
-- See: newCluster smart constructor.
data Cluster
Cluster' :: Maybe Text -> Maybe Certificate -> Maybe Text -> Maybe ConnectorConfigResponse -> Maybe POSIX -> Maybe [EncryptionConfig] -> Maybe Text -> Maybe ClusterHealth -> Maybe Text -> Maybe Identity -> Maybe KubernetesNetworkConfigResponse -> Maybe Logging -> Maybe Text -> Maybe OutpostConfigResponse -> Maybe Text -> Maybe VpcConfigResponse -> Maybe Text -> Maybe ClusterStatus -> Maybe (HashMap Text Text) -> Maybe Text -> Cluster
-- | Create a value of Cluster with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:arn:Cluster', cluster_arn - The Amazon Resource
-- Name (ARN) of the cluster.
--
-- $sel:certificateAuthority:Cluster',
-- cluster_certificateAuthority - The
-- certificate-authority-data for your cluster.
--
-- $sel:clientRequestToken:Cluster',
-- cluster_clientRequestToken - Unique, case-sensitive identifier
-- that you provide to ensure the idempotency of the request.
--
-- $sel:connectorConfig:Cluster', cluster_connectorConfig -
-- The configuration used to connect to a cluster for registration.
--
-- $sel:createdAt:Cluster', cluster_createdAt - The Unix
-- epoch timestamp in seconds for when the cluster was created.
--
-- $sel:encryptionConfig:Cluster', cluster_encryptionConfig
-- - The encryption configuration for the cluster.
--
-- $sel:endpoint:Cluster', cluster_endpoint - The endpoint
-- for your Kubernetes API server.
--
-- $sel:health:Cluster', cluster_health - An object
-- representing the health of your local Amazon EKS cluster on an Amazon
-- Web Services Outpost. This object isn't available for clusters on the
-- Amazon Web Services cloud.
--
-- $sel:id:Cluster', cluster_id - The ID of your local
-- Amazon EKS cluster on an Amazon Web Services Outpost. This property
-- isn't available for an Amazon EKS cluster on the Amazon Web Services
-- cloud.
--
-- $sel:identity:Cluster', cluster_identity - The identity
-- provider information for the cluster.
--
-- $sel:kubernetesNetworkConfig:Cluster',
-- cluster_kubernetesNetworkConfig - The Kubernetes network
-- configuration for the cluster.
--
-- $sel:logging:Cluster', cluster_logging - The logging
-- configuration for your cluster.
--
-- $sel:name:Cluster', cluster_name - The name of the
-- cluster.
--
-- $sel:outpostConfig:Cluster', cluster_outpostConfig - An
-- object representing the configuration of your local Amazon EKS cluster
-- on an Amazon Web Services Outpost. This object isn't available for
-- clusters on the Amazon Web Services cloud.
--
-- $sel:platformVersion:Cluster', cluster_platformVersion -
-- The platform version of your Amazon EKS cluster. For more information,
-- see Platform Versions in the /Amazon EKS User Guide/ .
--
-- $sel:resourcesVpcConfig:Cluster',
-- cluster_resourcesVpcConfig - The VPC configuration used by the
-- cluster control plane. Amazon EKS VPC resources have specific
-- requirements to work properly with Kubernetes. For more information,
-- see Cluster VPC Considerations and Cluster Security Group
-- Considerations in the Amazon EKS User Guide.
--
-- Cluster, cluster_roleArn - The Amazon Resource Name
-- (ARN) of the IAM role that provides permissions for the Kubernetes
-- control plane to make calls to Amazon Web Services API operations on
-- your behalf.
--
-- $sel:status:Cluster', cluster_status - The current
-- status of the cluster.
--
-- $sel:tags:Cluster', cluster_tags - The metadata that you
-- apply to the cluster to assist with categorization and organization.
-- Each tag consists of a key and an optional value. You define both.
-- Cluster tags do not propagate to any other resources associated with
-- the cluster.
--
-- $sel:version:Cluster', cluster_version - The Kubernetes
-- server version for the cluster.
newCluster :: Cluster
-- | An object representing the health of your local Amazon EKS cluster on
-- an Amazon Web Services Outpost. You can't use this API with an Amazon
-- EKS cluster on the Amazon Web Services cloud.
--
-- See: newClusterHealth smart constructor.
data ClusterHealth
ClusterHealth' :: Maybe [ClusterIssue] -> ClusterHealth
-- | Create a value of ClusterHealth with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:issues:ClusterHealth', clusterHealth_issues - An
-- object representing the health issues of your local Amazon EKS cluster
-- on an Amazon Web Services Outpost.
newClusterHealth :: ClusterHealth
-- | An issue with your local Amazon EKS cluster on an Amazon Web Services
-- Outpost. You can't use this API with an Amazon EKS cluster on the
-- Amazon Web Services cloud.
--
-- See: newClusterIssue smart constructor.
data ClusterIssue
ClusterIssue' :: Maybe ClusterIssueCode -> Maybe Text -> Maybe [Text] -> ClusterIssue
-- | Create a value of ClusterIssue with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:code:ClusterIssue', clusterIssue_code - The error
-- code of the issue.
--
-- $sel:message:ClusterIssue', clusterIssue_message - A
-- description of the issue.
--
-- $sel:resourceIds:ClusterIssue', clusterIssue_resourceIds
-- - The resource IDs that the issue relates to.
newClusterIssue :: ClusterIssue
-- | Compatibility information.
--
-- See: newCompatibility smart constructor.
data Compatibility
Compatibility' :: Maybe Text -> Maybe Bool -> Maybe [Text] -> Compatibility
-- | Create a value of Compatibility with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:clusterVersion:Compatibility',
-- compatibility_clusterVersion - The supported Kubernetes version
-- of the cluster.
--
-- $sel:defaultVersion:Compatibility',
-- compatibility_defaultVersion - The supported default version.
--
-- $sel:platformVersions:Compatibility',
-- compatibility_platformVersions - The supported compute
-- platform.
newCompatibility :: Compatibility
-- | The configuration sent to a cluster for configuration.
--
-- See: newConnectorConfigRequest smart constructor.
data ConnectorConfigRequest
ConnectorConfigRequest' :: Text -> ConnectorConfigProvider -> ConnectorConfigRequest
-- | Create a value of ConnectorConfigRequest with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:roleArn:ConnectorConfigRequest',
-- connectorConfigRequest_roleArn - The Amazon Resource Name (ARN)
-- of the role that is authorized to request the connector configuration.
--
-- $sel:provider:ConnectorConfigRequest',
-- connectorConfigRequest_provider - The cloud provider for the
-- target cluster to connect.
newConnectorConfigRequest :: Text -> ConnectorConfigProvider -> ConnectorConfigRequest
-- | The full description of your connected cluster.
--
-- See: newConnectorConfigResponse smart constructor.
data ConnectorConfigResponse
ConnectorConfigResponse' :: Maybe Text -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe Text -> ConnectorConfigResponse
-- | Create a value of ConnectorConfigResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:activationCode:ConnectorConfigResponse',
-- connectorConfigResponse_activationCode - A unique code
-- associated with the cluster for registration purposes.
--
-- $sel:activationExpiry:ConnectorConfigResponse',
-- connectorConfigResponse_activationExpiry - The expiration time
-- of the connected cluster. The cluster's YAML file must be applied
-- through the native provider.
--
-- $sel:activationId:ConnectorConfigResponse',
-- connectorConfigResponse_activationId - A unique ID associated
-- with the cluster for registration purposes.
--
-- $sel:provider:ConnectorConfigResponse',
-- connectorConfigResponse_provider - The cluster's cloud service
-- provider.
--
-- $sel:roleArn:ConnectorConfigResponse',
-- connectorConfigResponse_roleArn - The Amazon Resource Name
-- (ARN) of the role to communicate with services from the connected
-- Kubernetes cluster.
newConnectorConfigResponse :: ConnectorConfigResponse
-- | The placement configuration for all the control plane instances of
-- your local Amazon EKS cluster on an Amazon Web Services Outpost. For
-- more information, see Capacity considerations in the Amazon
-- EKS User Guide
--
-- See: newControlPlanePlacementRequest smart constructor.
data ControlPlanePlacementRequest
ControlPlanePlacementRequest' :: Maybe Text -> ControlPlanePlacementRequest
-- | Create a value of ControlPlanePlacementRequest with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:groupName:ControlPlanePlacementRequest',
-- controlPlanePlacementRequest_groupName - The name of the
-- placement group for the Kubernetes control plane instances. This
-- setting can't be changed after cluster creation.
newControlPlanePlacementRequest :: ControlPlanePlacementRequest
-- | The placement configuration for all the control plane instances of
-- your local Amazon EKS cluster on an Amazon Web Services Outpost. For
-- more information, see Capacity considerations in the Amazon
-- EKS User Guide.
--
-- See: newControlPlanePlacementResponse smart constructor.
data ControlPlanePlacementResponse
ControlPlanePlacementResponse' :: Maybe Text -> ControlPlanePlacementResponse
-- | Create a value of ControlPlanePlacementResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:groupName:ControlPlanePlacementResponse',
-- controlPlanePlacementResponse_groupName - The name of the
-- placement group for the Kubernetes control plane instances.
newControlPlanePlacementResponse :: ControlPlanePlacementResponse
-- | The encryption configuration for the cluster.
--
-- See: newEncryptionConfig smart constructor.
data EncryptionConfig
EncryptionConfig' :: Maybe Provider -> Maybe [Text] -> EncryptionConfig
-- | Create a value of EncryptionConfig with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:provider:EncryptionConfig',
-- encryptionConfig_provider - Key Management Service (KMS) key.
-- Either the ARN or the alias can be used.
--
-- $sel:resources:EncryptionConfig',
-- encryptionConfig_resources - Specifies the resources to be
-- encrypted. The only supported value is "secrets".
newEncryptionConfig :: EncryptionConfig
-- | An object representing an error when an asynchronous operation fails.
--
-- See: newErrorDetail smart constructor.
data ErrorDetail
ErrorDetail' :: Maybe EKSErrorCode -> Maybe Text -> Maybe [Text] -> ErrorDetail
-- | Create a value of ErrorDetail with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:errorCode:ErrorDetail', errorDetail_errorCode - A
-- brief description of the error.
--
--
-- - SubnetNotFound: We couldn't find one of the subnets
-- associated with the cluster.
-- - SecurityGroupNotFound: We couldn't find one of the security
-- groups associated with the cluster.
-- - EniLimitReached: You have reached the elastic network
-- interface limit for your account.
-- - IpNotAvailable: A subnet associated with the cluster
-- doesn't have any free IP addresses.
-- - AccessDenied: You don't have permissions to perform the
-- specified operation.
-- - OperationNotPermitted: The service role associated with the
-- cluster doesn't have the required access permissions for Amazon
-- EKS.
-- - VpcIdNotFound: We couldn't find the VPC associated with the
-- cluster.
--
--
-- $sel:errorMessage:ErrorDetail', errorDetail_errorMessage
-- - A more complete description of the error.
--
-- $sel:resourceIds:ErrorDetail', errorDetail_resourceIds -
-- An optional field that contains the resource IDs associated with the
-- error.
newErrorDetail :: ErrorDetail
-- | An object representing an Fargate profile.
--
-- See: newFargateProfile smart constructor.
data FargateProfile
FargateProfile' :: Maybe Text -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe [FargateProfileSelector] -> Maybe FargateProfileStatus -> Maybe [Text] -> Maybe (HashMap Text Text) -> FargateProfile
-- | Create a value of FargateProfile with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:clusterName:FargateProfile',
-- fargateProfile_clusterName - The name of the Amazon EKS cluster
-- that the Fargate profile belongs to.
--
-- $sel:createdAt:FargateProfile', fargateProfile_createdAt
-- - The Unix epoch timestamp in seconds for when the Fargate profile was
-- created.
--
-- $sel:fargateProfileArn:FargateProfile',
-- fargateProfile_fargateProfileArn - The full Amazon Resource
-- Name (ARN) of the Fargate profile.
--
-- $sel:fargateProfileName:FargateProfile',
-- fargateProfile_fargateProfileName - The name of the Fargate
-- profile.
--
-- $sel:podExecutionRoleArn:FargateProfile',
-- fargateProfile_podExecutionRoleArn - The Amazon Resource Name
-- (ARN) of the pod execution role to use for pods that match the
-- selectors in the Fargate profile. For more information, see Pod
-- Execution Role in the Amazon EKS User Guide.
--
-- $sel:selectors:FargateProfile', fargateProfile_selectors
-- - The selectors to match for pods to use this Fargate profile.
--
-- $sel:status:FargateProfile', fargateProfile_status - The
-- current status of the Fargate profile.
--
-- $sel:subnets:FargateProfile', fargateProfile_subnets -
-- The IDs of subnets to launch pods into.
--
-- $sel:tags:FargateProfile', fargateProfile_tags - The
-- metadata applied to the Fargate profile to assist with categorization
-- and organization. Each tag consists of a key and an optional value.
-- You define both. Fargate profile tags do not propagate to any other
-- resources associated with the Fargate profile, such as the pods that
-- are scheduled with it.
newFargateProfile :: FargateProfile
-- | An object representing an Fargate profile selector.
--
-- See: newFargateProfileSelector smart constructor.
data FargateProfileSelector
FargateProfileSelector' :: Maybe (HashMap Text Text) -> Maybe Text -> FargateProfileSelector
-- | Create a value of FargateProfileSelector with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:labels:FargateProfileSelector',
-- fargateProfileSelector_labels - The Kubernetes labels that the
-- selector should match. A pod must contain all of the labels that are
-- specified in the selector for it to be considered a match.
--
-- $sel:namespace:FargateProfileSelector',
-- fargateProfileSelector_namespace - The Kubernetes namespace
-- that the selector should match.
newFargateProfileSelector :: FargateProfileSelector
-- | An object representing an identity provider.
--
-- See: newIdentity smart constructor.
data Identity
Identity' :: Maybe OIDC -> Identity
-- | Create a value of Identity with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:oidc:Identity', identity_oidc - An object
-- representing the OpenID Connect identity provider information.
newIdentity :: Identity
-- | An object representing an identity provider configuration.
--
-- See: newIdentityProviderConfig smart constructor.
data IdentityProviderConfig
IdentityProviderConfig' :: Text -> Text -> IdentityProviderConfig
-- | Create a value of IdentityProviderConfig with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:type':IdentityProviderConfig',
-- identityProviderConfig_type - The type of the identity provider
-- configuration. The only type available is oidc.
--
-- $sel:name:IdentityProviderConfig',
-- identityProviderConfig_name - The name of the identity provider
-- configuration.
newIdentityProviderConfig :: Text -> Text -> IdentityProviderConfig
-- | The full description of your identity configuration.
--
-- See: newIdentityProviderConfigResponse smart
-- constructor.
data IdentityProviderConfigResponse
IdentityProviderConfigResponse' :: Maybe OidcIdentityProviderConfig -> IdentityProviderConfigResponse
-- | Create a value of IdentityProviderConfigResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:oidc:IdentityProviderConfigResponse',
-- identityProviderConfigResponse_oidc - An object representing an
-- OpenID Connect (OIDC) identity provider configuration.
newIdentityProviderConfigResponse :: IdentityProviderConfigResponse
-- | An object representing an issue with an Amazon EKS resource.
--
-- See: newIssue smart constructor.
data Issue
Issue' :: Maybe NodegroupIssueCode -> Maybe Text -> Maybe [Text] -> Issue
-- | Create a value of Issue with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:code:Issue', issue_code - A brief description of
-- the error.
--
--
-- - AccessDenied: Amazon EKS or one or more of your managed
-- nodes is failing to authenticate or authorize with your Kubernetes
-- cluster API server.
-- - AsgInstanceLaunchFailures: Your Auto Scaling group is
-- experiencing failures while attempting to launch instances.
-- - AutoScalingGroupNotFound: We couldn't find the Auto Scaling
-- group associated with the managed node group. You may be able to
-- recreate an Auto Scaling group with the same settings to recover.
-- - ClusterUnreachable: Amazon EKS or one or more of your
-- managed nodes is unable to to communicate with your Kubernetes cluster
-- API server. This can happen if there are network disruptions or if API
-- servers are timing out processing requests.
-- - Ec2LaunchTemplateNotFound: We couldn't find the Amazon EC2
-- launch template for your managed node group. You may be able to
-- recreate a launch template with the same settings to recover.
-- - Ec2LaunchTemplateVersionMismatch: The Amazon EC2 launch
-- template version for your managed node group does not match the
-- version that Amazon EKS created. You may be able to revert to the
-- version that Amazon EKS created to recover.
-- - Ec2SecurityGroupDeletionFailure: We could not delete the
-- remote access security group for your managed node group. Remove any
-- dependencies from the security group.
-- - Ec2SecurityGroupNotFound: We couldn't find the cluster
-- security group for the cluster. You must recreate your cluster.
-- - Ec2SubnetInvalidConfiguration: One or more Amazon EC2
-- subnets specified for a node group do not automatically assign public
-- IP addresses to instances launched into it. If you want your instances
-- to be assigned a public IP address, then you need to enable the
-- auto-assign public IP address setting for the subnet. See
-- Modifying the public IPv4 addressing attribute for your subnet
-- in the Amazon VPC User Guide.
-- - IamInstanceProfileNotFound: We couldn't find the IAM
-- instance profile for your managed node group. You may be able to
-- recreate an instance profile with the same settings to recover.
-- - IamNodeRoleNotFound: We couldn't find the IAM role for your
-- managed node group. You may be able to recreate an IAM role with the
-- same settings to recover.
-- - InstanceLimitExceeded: Your Amazon Web Services account is
-- unable to launch any more instances of the specified instance type.
-- You may be able to request an Amazon EC2 instance limit increase to
-- recover.
-- - InsufficientFreeAddresses: One or more of the subnets
-- associated with your managed node group does not have enough available
-- IP addresses for new nodes.
-- - InternalFailure: These errors are usually caused by an
-- Amazon EKS server-side issue.
-- - NodeCreationFailure: Your launched instances are unable to
-- register with your Amazon EKS cluster. Common causes of this failure
-- are insufficient node IAM role permissions or lack of outbound
-- internet access for the nodes.
--
--
-- $sel:message:Issue', issue_message - The error message
-- associated with the issue.
--
-- $sel:resourceIds:Issue', issue_resourceIds - The Amazon
-- Web Services resources that are afflicted by this issue.
newIssue :: Issue
-- | The Kubernetes network configuration for the cluster.
--
-- See: newKubernetesNetworkConfigRequest smart
-- constructor.
data KubernetesNetworkConfigRequest
KubernetesNetworkConfigRequest' :: Maybe IpFamily -> Maybe Text -> KubernetesNetworkConfigRequest
-- | Create a value of KubernetesNetworkConfigRequest with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:ipFamily:KubernetesNetworkConfigRequest',
-- kubernetesNetworkConfigRequest_ipFamily - Specify which IP
-- family is used to assign Kubernetes pod and service IP addresses. If
-- you don't specify a value, ipv4 is used by default. You can
-- only specify an IP family when you create a cluster and can't change
-- this value once the cluster is created. If you specify ipv6,
-- the VPC and subnets that you specify for cluster creation must have
-- both IPv4 and IPv6 CIDR blocks assigned to them. You
-- can't specify ipv6 for clusters in China Regions.
--
-- You can only specify ipv6 for 1.21 and later
-- clusters that use version 1.10.1 or later of the Amazon VPC
-- CNI add-on. If you specify ipv6, then ensure that your VPC
-- meets the requirements listed in the considerations listed in
-- Assigning IPv6 addresses to pods and services in the Amazon EKS
-- User Guide. Kubernetes assigns services IPv6 addresses from
-- the unique local address range (fc00::/7). You can't specify
-- a custom IPv6 CIDR block. Pod addresses are assigned from the
-- subnet's IPv6 CIDR.
--
-- $sel:serviceIpv4Cidr:KubernetesNetworkConfigRequest',
-- kubernetesNetworkConfigRequest_serviceIpv4Cidr - Don't specify
-- a value if you select ipv6 for ipFamily. The CIDR
-- block to assign Kubernetes service IP addresses from. If you don't
-- specify a block, Kubernetes assigns addresses from either the
-- 10.100.0.0/16 or 172.20.0.0/16 CIDR blocks. We
-- recommend that you specify a block that does not overlap with
-- resources in other networks that are peered or connected to your VPC.
-- The block must meet the following requirements:
--
--
-- - Within one of the following private IP address blocks:
-- 10.0.0.0/8, 172.16.0.0/12, or
-- 192.168.0.0/16.
-- - Doesn't overlap with any CIDR block assigned to the VPC that you
-- selected for VPC.
-- - Between /24 and /12.
--
--
-- You can only specify a custom CIDR block when you create a cluster and
-- can't change this value once the cluster is created.
newKubernetesNetworkConfigRequest :: KubernetesNetworkConfigRequest
-- | The Kubernetes network configuration for the cluster. The response
-- contains a value for serviceIpv6Cidr or serviceIpv4Cidr,
-- but not both.
--
-- See: newKubernetesNetworkConfigResponse smart
-- constructor.
data KubernetesNetworkConfigResponse
KubernetesNetworkConfigResponse' :: Maybe IpFamily -> Maybe Text -> Maybe Text -> KubernetesNetworkConfigResponse
-- | Create a value of KubernetesNetworkConfigResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:ipFamily:KubernetesNetworkConfigResponse',
-- kubernetesNetworkConfigResponse_ipFamily - The IP family used
-- to assign Kubernetes pod and service IP addresses. The IP family is
-- always ipv4, unless you have a 1.21 or later cluster
-- running version 1.10.1 or later of the Amazon VPC CNI add-on and
-- specified ipv6 when you created the cluster.
--
-- $sel:serviceIpv4Cidr:KubernetesNetworkConfigResponse',
-- kubernetesNetworkConfigResponse_serviceIpv4Cidr - The CIDR
-- block that Kubernetes pod and service IP addresses are assigned from.
-- Kubernetes assigns addresses from an IPv4 CIDR block assigned to a
-- subnet that the node is in. If you didn't specify a CIDR block when
-- you created the cluster, then Kubernetes assigns addresses from either
-- the 10.100.0.0/16 or 172.20.0.0/16 CIDR blocks. If
-- this was specified, then it was specified when the cluster was created
-- and it can't be changed.
--
-- $sel:serviceIpv6Cidr:KubernetesNetworkConfigResponse',
-- kubernetesNetworkConfigResponse_serviceIpv6Cidr - The CIDR
-- block that Kubernetes pod and service IP addresses are assigned from
-- if you created a 1.21 or later cluster with version 1.10.1 or later of
-- the Amazon VPC CNI add-on and specified ipv6 for
-- ipFamily when you created the cluster. Kubernetes assigns
-- service addresses from the unique local address range
-- (fc00::/7) because you can't specify a custom IPv6 CIDR block
-- when you create the cluster.
newKubernetesNetworkConfigResponse :: KubernetesNetworkConfigResponse
-- | An object representing a node group launch template specification. The
-- launch template can't include SubnetId ,
-- IamInstanceProfile , RequestSpotInstances ,
-- HibernationOptions , or TerminateInstances , or the node
-- group deployment or update will fail. For more information about
-- launch templates, see CreateLaunchTemplate in the Amazon EC2
-- API Reference. For more information about using launch templates with
-- Amazon EKS, see Launch template support in the Amazon EKS
-- User Guide.
--
-- You must specify either the launch template ID or the launch template
-- name in the request, but not both.
--
-- See: newLaunchTemplateSpecification smart constructor.
data LaunchTemplateSpecification
LaunchTemplateSpecification' :: Maybe Text -> Maybe Text -> Maybe Text -> LaunchTemplateSpecification
-- | Create a value of LaunchTemplateSpecification with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:id:LaunchTemplateSpecification',
-- launchTemplateSpecification_id - The ID of the launch template.
--
-- You must specify either the launch template ID or the launch template
-- name in the request, but not both.
--
-- $sel:name:LaunchTemplateSpecification',
-- launchTemplateSpecification_name - The name of the launch
-- template.
--
-- You must specify either the launch template name or the launch
-- template ID in the request, but not both.
--
-- $sel:version:LaunchTemplateSpecification',
-- launchTemplateSpecification_version - The version number of the
-- launch template to use. If no version is specified, then the
-- template's default version is used.
newLaunchTemplateSpecification :: LaunchTemplateSpecification
-- | An object representing the enabled or disabled Kubernetes control
-- plane logs for your cluster.
--
-- See: newLogSetup smart constructor.
data LogSetup
LogSetup' :: Maybe Bool -> Maybe [LogType] -> LogSetup
-- | Create a value of LogSetup with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:enabled:LogSetup', logSetup_enabled - If a log type
-- is enabled, that log type exports its control plane logs to CloudWatch
-- Logs. If a log type isn't enabled, that log type doesn't export its
-- control plane logs. Each individual log type can be enabled or
-- disabled independently.
--
-- $sel:types:LogSetup', logSetup_types - The available
-- cluster control plane log types.
newLogSetup :: LogSetup
-- | An object representing the logging configuration for resources in your
-- cluster.
--
-- See: newLogging smart constructor.
data Logging
Logging' :: Maybe [LogSetup] -> Logging
-- | Create a value of Logging with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:clusterLogging:Logging', logging_clusterLogging -
-- The cluster control plane logging configuration for your cluster.
newLogging :: Logging
-- | Information about an Amazon EKS add-on from the Amazon Web Services
-- Marketplace.
--
-- See: newMarketplaceInformation smart constructor.
data MarketplaceInformation
MarketplaceInformation' :: Maybe Text -> Maybe Text -> MarketplaceInformation
-- | Create a value of MarketplaceInformation with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:productId:MarketplaceInformation',
-- marketplaceInformation_productId - The product ID from the
-- Amazon Web Services Marketplace.
--
-- $sel:productUrl:MarketplaceInformation',
-- marketplaceInformation_productUrl - The product URL from the
-- Amazon Web Services Marketplace.
newMarketplaceInformation :: MarketplaceInformation
-- | An object representing an Amazon EKS managed node group.
--
-- See: newNodegroup smart constructor.
data Nodegroup
Nodegroup' :: Maybe AMITypes -> Maybe CapacityTypes -> Maybe Text -> Maybe POSIX -> Maybe Int -> Maybe NodegroupHealth -> Maybe [Text] -> Maybe (HashMap Text Text) -> Maybe LaunchTemplateSpecification -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe RemoteAccessConfig -> Maybe NodegroupResources -> Maybe NodegroupScalingConfig -> Maybe NodegroupStatus -> Maybe [Text] -> Maybe (HashMap Text Text) -> Maybe [Taint] -> Maybe NodegroupUpdateConfig -> Maybe Text -> Nodegroup
-- | Create a value of Nodegroup with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:amiType:Nodegroup', nodegroup_amiType - If the node
-- group was deployed using a launch template with a custom AMI, then
-- this is CUSTOM. For node groups that weren't deployed using a
-- launch template, this is the AMI type that was specified in the node
-- group configuration.
--
-- $sel:capacityType:Nodegroup', nodegroup_capacityType -
-- The capacity type of your managed node group.
--
-- $sel:clusterName:Nodegroup', nodegroup_clusterName - The
-- name of the cluster that the managed node group resides in.
--
-- $sel:createdAt:Nodegroup', nodegroup_createdAt - The
-- Unix epoch timestamp in seconds for when the managed node group was
-- created.
--
-- $sel:diskSize:Nodegroup', nodegroup_diskSize - If the
-- node group wasn't deployed with a launch template, then this is the
-- disk size in the node group configuration. If the node group was
-- deployed with a launch template, then this is null.
--
-- $sel:health:Nodegroup', nodegroup_health - The health
-- status of the node group. If there are issues with your node group's
-- health, they are listed here.
--
-- $sel:instanceTypes:Nodegroup', nodegroup_instanceTypes -
-- If the node group wasn't deployed with a launch template, then this is
-- the instance type that is associated with the node group. If the node
-- group was deployed with a launch template, then this is null.
--
-- $sel:labels:Nodegroup', nodegroup_labels - The
-- Kubernetes labels applied to the nodes in the node group.
--
-- Only labels that are applied with the Amazon EKS API are shown here.
-- There may be other Kubernetes labels applied to the nodes in this
-- group.
--
-- $sel:launchTemplate:Nodegroup', nodegroup_launchTemplate
-- - If a launch template was used to create the node group, then this is
-- the launch template that was used.
--
-- $sel:modifiedAt:Nodegroup', nodegroup_modifiedAt - The
-- Unix epoch timestamp in seconds for when the managed node group was
-- last modified.
--
-- $sel:nodeRole:Nodegroup', nodegroup_nodeRole - The IAM
-- role associated with your node group. The Amazon EKS node
-- kubelet daemon makes calls to Amazon Web Services APIs on
-- your behalf. Nodes receive permissions for these API calls through an
-- IAM instance profile and associated policies.
--
-- $sel:nodegroupArn:Nodegroup', nodegroup_nodegroupArn -
-- The Amazon Resource Name (ARN) associated with the managed node group.
--
-- $sel:nodegroupName:Nodegroup', nodegroup_nodegroupName -
-- The name associated with an Amazon EKS managed node group.
--
-- $sel:releaseVersion:Nodegroup', nodegroup_releaseVersion
-- - If the node group was deployed using a launch template with a custom
-- AMI, then this is the AMI ID that was specified in the launch
-- template. For node groups that weren't deployed using a launch
-- template, this is the version of the Amazon EKS optimized AMI that the
-- node group was deployed with.
--
-- $sel:remoteAccess:Nodegroup', nodegroup_remoteAccess -
-- If the node group wasn't deployed with a launch template, then this is
-- the remote access configuration that is associated with the node
-- group. If the node group was deployed with a launch template, then
-- this is null.
--
-- $sel:resources:Nodegroup', nodegroup_resources - The
-- resources associated with the node group, such as Auto Scaling groups
-- and security groups for remote access.
--
-- $sel:scalingConfig:Nodegroup', nodegroup_scalingConfig -
-- The scaling configuration details for the Auto Scaling group that is
-- associated with your node group.
--
-- $sel:status:Nodegroup', nodegroup_status - The current
-- status of the managed node group.
--
-- $sel:subnets:Nodegroup', nodegroup_subnets - The subnets
-- that were specified for the Auto Scaling group that is associated with
-- your node group.
--
-- $sel:tags:Nodegroup', nodegroup_tags - The metadata
-- applied to the node group to assist with categorization and
-- organization. Each tag consists of a key and an optional value. You
-- define both. Node group tags do not propagate to any other resources
-- associated with the node group, such as the Amazon EC2 instances or
-- subnets.
--
-- $sel:taints:Nodegroup', nodegroup_taints - The
-- Kubernetes taints to be applied to the nodes in the node group when
-- they are created. Effect is one of No_Schedule,
-- Prefer_No_Schedule, or No_Execute. Kubernetes taints
-- can be used together with tolerations to control how workloads are
-- scheduled to your nodes. For more information, see Node taints on
-- managed node groups.
--
-- $sel:updateConfig:Nodegroup', nodegroup_updateConfig -
-- The node group update configuration.
--
-- Nodegroup, nodegroup_version - The Kubernetes version of
-- the managed node group.
newNodegroup :: Nodegroup
-- | An object representing the health status of the node group.
--
-- See: newNodegroupHealth smart constructor.
data NodegroupHealth
NodegroupHealth' :: Maybe [Issue] -> NodegroupHealth
-- | Create a value of NodegroupHealth with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:issues:NodegroupHealth', nodegroupHealth_issues -
-- Any issues that are associated with the node group.
newNodegroupHealth :: NodegroupHealth
-- | An object representing the resources associated with the node group,
-- such as Auto Scaling groups and security groups for remote access.
--
-- See: newNodegroupResources smart constructor.
data NodegroupResources
NodegroupResources' :: Maybe [AutoScalingGroup] -> Maybe Text -> NodegroupResources
-- | Create a value of NodegroupResources with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:autoScalingGroups:NodegroupResources',
-- nodegroupResources_autoScalingGroups - The Auto Scaling groups
-- associated with the node group.
--
-- $sel:remoteAccessSecurityGroup:NodegroupResources',
-- nodegroupResources_remoteAccessSecurityGroup - The remote
-- access security group associated with the node group. This security
-- group controls SSH access to the nodes.
newNodegroupResources :: NodegroupResources
-- | An object representing the scaling configuration details for the Auto
-- Scaling group that is associated with your node group. When creating a
-- node group, you must specify all or none of the properties. When
-- updating a node group, you can specify any or none of the properties.
--
-- See: newNodegroupScalingConfig smart constructor.
data NodegroupScalingConfig
NodegroupScalingConfig' :: Maybe Natural -> Maybe Natural -> Maybe Natural -> NodegroupScalingConfig
-- | Create a value of NodegroupScalingConfig with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:desiredSize:NodegroupScalingConfig',
-- nodegroupScalingConfig_desiredSize - The current number of
-- nodes that the managed node group should maintain.
--
-- If you use Cluster Autoscaler, you shouldn't change the desiredSize
-- value directly, as this can cause the Cluster Autoscaler to suddenly
-- scale up or scale down.
--
-- Whenever this parameter changes, the number of worker nodes in the
-- node group is updated to the specified size. If this parameter is
-- given a value that is smaller than the current number of running
-- worker nodes, the necessary number of worker nodes are terminated to
-- match the given value. When using CloudFormation, no action occurs if
-- you remove this parameter from your CFN template.
--
-- This parameter can be different from minSize in some cases, such as
-- when starting with extra hosts for testing. This parameter can also be
-- different when you want to start with an estimated number of needed
-- hosts, but let Cluster Autoscaler reduce the number if there are too
-- many. When Cluster Autoscaler is used, the desiredSize parameter is
-- altered by Cluster Autoscaler (but can be out-of-date for short
-- periods of time). Cluster Autoscaler doesn't scale a managed node
-- group lower than minSize or higher than maxSize.
--
-- $sel:maxSize:NodegroupScalingConfig',
-- nodegroupScalingConfig_maxSize - The maximum number of nodes
-- that the managed node group can scale out to. For information about
-- the maximum number that you can specify, see Amazon EKS service
-- quotas in the Amazon EKS User Guide.
--
-- $sel:minSize:NodegroupScalingConfig',
-- nodegroupScalingConfig_minSize - The minimum number of nodes
-- that the managed node group can scale in to.
newNodegroupScalingConfig :: NodegroupScalingConfig
-- | The node group update configuration.
--
-- See: newNodegroupUpdateConfig smart constructor.
data NodegroupUpdateConfig
NodegroupUpdateConfig' :: Maybe Natural -> Maybe Natural -> NodegroupUpdateConfig
-- | Create a value of NodegroupUpdateConfig with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:maxUnavailable:NodegroupUpdateConfig',
-- nodegroupUpdateConfig_maxUnavailable - The maximum number of
-- nodes unavailable at once during a version update. Nodes will be
-- updated in parallel. This value or maxUnavailablePercentage
-- is required to have a value.The maximum number is 100.
--
-- $sel:maxUnavailablePercentage:NodegroupUpdateConfig',
-- nodegroupUpdateConfig_maxUnavailablePercentage - The maximum
-- percentage of nodes unavailable during a version update. This
-- percentage of nodes will be updated in parallel, up to 100 nodes at
-- once. This value or maxUnavailable is required to have a
-- value.
newNodegroupUpdateConfig :: NodegroupUpdateConfig
-- | An object representing the OpenID Connect (OIDC) identity
-- provider information for the cluster.
--
-- See: newOIDC smart constructor.
data OIDC
OIDC' :: Maybe Text -> OIDC
-- | Create a value of OIDC with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:issuer:OIDC', oidc_issuer - The issuer URL for the
-- OIDC identity provider.
newOIDC :: OIDC
-- | An object representing the configuration for an OpenID Connect (OIDC)
-- identity provider.
--
-- See: newOidcIdentityProviderConfig smart constructor.
data OidcIdentityProviderConfig
OidcIdentityProviderConfig' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe (HashMap Text Text) -> Maybe ConfigStatus -> Maybe (HashMap Text Text) -> Maybe Text -> Maybe Text -> OidcIdentityProviderConfig
-- | Create a value of OidcIdentityProviderConfig with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:clientId:OidcIdentityProviderConfig',
-- oidcIdentityProviderConfig_clientId - This is also known as
-- audience. The ID of the client application that makes
-- authentication requests to the OIDC identity provider.
--
-- $sel:clusterName:OidcIdentityProviderConfig',
-- oidcIdentityProviderConfig_clusterName - The cluster that the
-- configuration is associated to.
--
-- $sel:groupsClaim:OidcIdentityProviderConfig',
-- oidcIdentityProviderConfig_groupsClaim - The JSON web token
-- (JWT) claim that the provider uses to return your groups.
--
-- $sel:groupsPrefix:OidcIdentityProviderConfig',
-- oidcIdentityProviderConfig_groupsPrefix - The prefix that is
-- prepended to group claims to prevent clashes with existing names (such
-- as system: groups). For example, the value oidc:
-- creates group names like oidc:engineering and
-- oidc:infra. The prefix can't contain system:
--
-- $sel:identityProviderConfigArn:OidcIdentityProviderConfig',
-- oidcIdentityProviderConfig_identityProviderConfigArn - The ARN
-- of the configuration.
--
-- $sel:identityProviderConfigName:OidcIdentityProviderConfig',
-- oidcIdentityProviderConfig_identityProviderConfigName - The
-- name of the configuration.
--
-- $sel:issuerUrl:OidcIdentityProviderConfig',
-- oidcIdentityProviderConfig_issuerUrl - The URL of the OIDC
-- identity provider that allows the API server to discover public
-- signing keys for verifying tokens.
--
-- $sel:requiredClaims:OidcIdentityProviderConfig',
-- oidcIdentityProviderConfig_requiredClaims - The key-value pairs
-- that describe required claims in the identity token. If set, each
-- claim is verified to be present in the token with a matching value.
--
-- $sel:status:OidcIdentityProviderConfig',
-- oidcIdentityProviderConfig_status - The status of the OIDC
-- identity provider.
--
-- $sel:tags:OidcIdentityProviderConfig',
-- oidcIdentityProviderConfig_tags - The metadata to apply to the
-- provider configuration to assist with categorization and organization.
-- Each tag consists of a key and an optional value. You define both.
--
-- $sel:usernameClaim:OidcIdentityProviderConfig',
-- oidcIdentityProviderConfig_usernameClaim - The JSON Web token
-- (JWT) claim that is used as the username.
--
-- $sel:usernamePrefix:OidcIdentityProviderConfig',
-- oidcIdentityProviderConfig_usernamePrefix - The prefix that is
-- prepended to username claims to prevent clashes with existing names.
-- The prefix can't contain system:
newOidcIdentityProviderConfig :: OidcIdentityProviderConfig
-- | An object representing an OpenID Connect (OIDC) configuration. Before
-- associating an OIDC identity provider to your cluster, review the
-- considerations in Authenticating users for your cluster from an
-- OpenID Connect identity provider in the Amazon EKS User
-- Guide.
--
-- See: newOidcIdentityProviderConfigRequest smart
-- constructor.
data OidcIdentityProviderConfigRequest
OidcIdentityProviderConfigRequest' :: Maybe Text -> Maybe Text -> Maybe (HashMap Text Text) -> Maybe Text -> Maybe Text -> Text -> Text -> Text -> OidcIdentityProviderConfigRequest
-- | Create a value of OidcIdentityProviderConfigRequest with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:groupsClaim:OidcIdentityProviderConfigRequest',
-- oidcIdentityProviderConfigRequest_groupsClaim - The JWT claim
-- that the provider uses to return your groups.
--
-- $sel:groupsPrefix:OidcIdentityProviderConfigRequest',
-- oidcIdentityProviderConfigRequest_groupsPrefix - The prefix
-- that is prepended to group claims to prevent clashes with existing
-- names (such as system: groups). For example, the value
-- oidc: will create group names like oidc:engineering and
-- oidc:infra.
--
-- $sel:requiredClaims:OidcIdentityProviderConfigRequest',
-- oidcIdentityProviderConfigRequest_requiredClaims - The key
-- value pairs that describe required claims in the identity token. If
-- set, each claim is verified to be present in the token with a matching
-- value. For the maximum number of claims that you can require, see
-- Amazon EKS service quotas in the Amazon EKS User Guide.
--
-- $sel:usernameClaim:OidcIdentityProviderConfigRequest',
-- oidcIdentityProviderConfigRequest_usernameClaim - The JSON Web
-- Token (JWT) claim to use as the username. The default is sub,
-- which is expected to be a unique identifier of the end user. You can
-- choose other claims, such as email or name,
-- depending on the OpenID identity provider. Claims other than
-- email are prefixed with the issuer URL to prevent naming
-- clashes with other plug-ins.
--
-- $sel:usernamePrefix:OidcIdentityProviderConfigRequest',
-- oidcIdentityProviderConfigRequest_usernamePrefix - The prefix
-- that is prepended to username claims to prevent clashes with existing
-- names. If you do not provide this field, and username is a
-- value other than email, the prefix defaults to
-- issuerurl#. You can use the value - to disable all
-- prefixing.
--
--
-- $sel:identityProviderConfigName:OidcIdentityProviderConfigRequest',
-- oidcIdentityProviderConfigRequest_identityProviderConfigName -
-- The name of the OIDC provider configuration.
--
-- $sel:issuerUrl:OidcIdentityProviderConfigRequest',
-- oidcIdentityProviderConfigRequest_issuerUrl - The URL of the
-- OpenID identity provider that allows the API server to discover public
-- signing keys for verifying tokens. The URL must begin with
-- https:// and should correspond to the iss claim in
-- the provider's OIDC ID tokens. Per the OIDC standard, path components
-- are allowed but query parameters are not. Typically the URL consists
-- of only a hostname, like https://server.example.org or
-- https://example.com. This URL should point to the level below
-- .well-known/openid-configuration and must be publicly
-- accessible over the internet.
--
-- $sel:clientId:OidcIdentityProviderConfigRequest',
-- oidcIdentityProviderConfigRequest_clientId - This is also known
-- as audience. The ID for the client application that makes
-- authentication requests to the OpenID identity provider.
newOidcIdentityProviderConfigRequest :: Text -> Text -> Text -> OidcIdentityProviderConfigRequest
-- | The configuration of your local Amazon EKS cluster on an Amazon Web
-- Services Outpost. Before creating a cluster on an Outpost, review
-- Creating a local cluster on an Outpost in the Amazon EKS
-- User Guide. This API isn't available for Amazon EKS clusters on
-- the Amazon Web Services cloud.
--
-- See: newOutpostConfigRequest smart constructor.
data OutpostConfigRequest
OutpostConfigRequest' :: Maybe ControlPlanePlacementRequest -> [Text] -> Text -> OutpostConfigRequest
-- | Create a value of OutpostConfigRequest with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:controlPlanePlacement:OutpostConfigRequest',
-- outpostConfigRequest_controlPlanePlacement - An object
-- representing the placement configuration for all the control plane
-- instances of your local Amazon EKS cluster on an Amazon Web Services
-- Outpost. For more information, see Capacity considerations in
-- the Amazon EKS User Guide.
--
-- $sel:outpostArns:OutpostConfigRequest',
-- outpostConfigRequest_outpostArns - The ARN of the Outpost that
-- you want to use for your local Amazon EKS cluster on Outposts. Only a
-- single Outpost ARN is supported.
--
-- $sel:controlPlaneInstanceType:OutpostConfigRequest',
-- outpostConfigRequest_controlPlaneInstanceType - The Amazon EC2
-- instance type that you want to use for your local Amazon EKS cluster
-- on Outposts. Choose an instance type based on the number of nodes that
-- your cluster will have. For more information, see Capacity
-- considerations in the Amazon EKS User Guide.
--
-- The instance type that you specify is used for all Kubernetes control
-- plane instances. The instance type can't be changed after cluster
-- creation. The control plane is not automatically scaled by Amazon EKS.
newOutpostConfigRequest :: Text -> OutpostConfigRequest
-- | An object representing the configuration of your local Amazon EKS
-- cluster on an Amazon Web Services Outpost. This API isn't available
-- for Amazon EKS clusters on the Amazon Web Services cloud.
--
-- See: newOutpostConfigResponse smart constructor.
data OutpostConfigResponse
OutpostConfigResponse' :: Maybe ControlPlanePlacementResponse -> [Text] -> Text -> OutpostConfigResponse
-- | Create a value of OutpostConfigResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:controlPlanePlacement:OutpostConfigResponse',
-- outpostConfigResponse_controlPlanePlacement - An object
-- representing the placement configuration for all the control plane
-- instances of your local Amazon EKS cluster on an Amazon Web Services
-- Outpost. For more information, see Capacity considerations in
-- the Amazon EKS User Guide.
--
-- $sel:outpostArns:OutpostConfigResponse',
-- outpostConfigResponse_outpostArns - The ARN of the Outpost that
-- you specified for use with your local Amazon EKS cluster on Outposts.
--
-- $sel:controlPlaneInstanceType:OutpostConfigResponse',
-- outpostConfigResponse_controlPlaneInstanceType - The Amazon EC2
-- instance type used for the control plane. The instance type is the
-- same for all control plane instances.
newOutpostConfigResponse :: Text -> OutpostConfigResponse
-- | Identifies the Key Management Service (KMS) key used to encrypt the
-- secrets.
--
-- See: newProvider smart constructor.
data Provider
Provider' :: Maybe Text -> Provider
-- | Create a value of Provider with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:keyArn:Provider', provider_keyArn - Amazon Resource
-- Name (ARN) or alias of the KMS key. The KMS key must be symmetric,
-- created in the same region as the cluster, and if the KMS key was
-- created in a different account, the user must have access to the KMS
-- key. For more information, see Allowing Users in Other Accounts to
-- Use a KMS key in the Key Management Service Developer
-- Guide.
newProvider :: Provider
-- | An object representing the remote access configuration for the managed
-- node group.
--
-- See: newRemoteAccessConfig smart constructor.
data RemoteAccessConfig
RemoteAccessConfig' :: Maybe Text -> Maybe [Text] -> RemoteAccessConfig
-- | Create a value of RemoteAccessConfig with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:ec2SshKey:RemoteAccessConfig',
-- remoteAccessConfig_ec2SshKey - The Amazon EC2 SSH key name that
-- provides access for SSH communication with the nodes in the managed
-- node group. For more information, see Amazon EC2 key pairs and
-- Linux instances in the Amazon Elastic Compute Cloud User Guide
-- for Linux Instances. For Windows, an Amazon EC2 SSH key is used to
-- obtain the RDP password. For more information, see Amazon EC2 key
-- pairs and Windows instances in the Amazon Elastic Compute Cloud
-- User Guide for Windows Instances.
--
-- $sel:sourceSecurityGroups:RemoteAccessConfig',
-- remoteAccessConfig_sourceSecurityGroups - The security group
-- IDs that are allowed SSH access (port 22) to the nodes. For Windows,
-- the port is 3389. If you specify an Amazon EC2 SSH key but don't
-- specify a source security group when you create a managed node group,
-- then the port on the nodes is opened to the internet
-- (0.0.0.0/0). For more information, see Security Groups for
-- Your VPC in the Amazon Virtual Private Cloud User Guide.
newRemoteAccessConfig :: RemoteAccessConfig
-- | A property that allows a node to repel a set of pods. For more
-- information, see Node taints on managed node groups.
--
-- See: newTaint smart constructor.
data Taint
Taint' :: Maybe TaintEffect -> Maybe Text -> Maybe Text -> Taint
-- | Create a value of Taint with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:effect:Taint', taint_effect - The effect of the
-- taint.
--
-- $sel:key:Taint', taint_key - The key of the taint.
--
-- $sel:value:Taint', taint_value - The value of the taint.
newTaint :: Taint
-- | An object representing an asynchronous update.
--
-- See: newUpdate smart constructor.
data Update
Update' :: Maybe POSIX -> Maybe [ErrorDetail] -> Maybe Text -> Maybe [UpdateParam] -> Maybe UpdateStatus -> Maybe UpdateType -> Update
-- | Create a value of Update with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:createdAt:Update', update_createdAt - The Unix
-- epoch timestamp in seconds for when the update was created.
--
-- $sel:errors:Update', update_errors - Any errors
-- associated with a Failed update.
--
-- $sel:id:Update', update_id - A UUID that is used to
-- track the update.
--
-- $sel:params:Update', update_params - A key-value map
-- that contains the parameters associated with the update.
--
-- $sel:status:Update', update_status - The current status
-- of the update.
--
-- Update, update_type - The type of the update.
newUpdate :: Update
-- | An object representing a Kubernetes label change for a managed node
-- group.
--
-- See: newUpdateLabelsPayload smart constructor.
data UpdateLabelsPayload
UpdateLabelsPayload' :: Maybe (HashMap Text Text) -> Maybe [Text] -> UpdateLabelsPayload
-- | Create a value of UpdateLabelsPayload with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:addOrUpdateLabels:UpdateLabelsPayload',
-- updateLabelsPayload_addOrUpdateLabels - Kubernetes labels to be
-- added or updated.
--
-- $sel:removeLabels:UpdateLabelsPayload',
-- updateLabelsPayload_removeLabels - Kubernetes labels to be
-- removed.
newUpdateLabelsPayload :: UpdateLabelsPayload
-- | An object representing the details of an update request.
--
-- See: newUpdateParam smart constructor.
data UpdateParam
UpdateParam' :: Maybe UpdateParamType -> Maybe Text -> UpdateParam
-- | Create a value of UpdateParam with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:type':UpdateParam', updateParam_type - The keys
-- associated with an update request.
--
-- $sel:value:UpdateParam', updateParam_value - The value
-- of the keys submitted as part of an update request.
newUpdateParam :: UpdateParam
-- | An object representing the details of an update to a taints payload.
-- For more information, see Node taints on managed node groups.
--
-- See: newUpdateTaintsPayload smart constructor.
data UpdateTaintsPayload
UpdateTaintsPayload' :: Maybe [Taint] -> Maybe [Taint] -> UpdateTaintsPayload
-- | Create a value of UpdateTaintsPayload with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:addOrUpdateTaints:UpdateTaintsPayload',
-- updateTaintsPayload_addOrUpdateTaints - Kubernetes taints to be
-- added or updated.
--
-- $sel:removeTaints:UpdateTaintsPayload',
-- updateTaintsPayload_removeTaints - Kubernetes taints to remove.
newUpdateTaintsPayload :: UpdateTaintsPayload
-- | An object representing the VPC configuration to use for an Amazon EKS
-- cluster.
--
-- See: newVpcConfigRequest smart constructor.
data VpcConfigRequest
VpcConfigRequest' :: Maybe Bool -> Maybe Bool -> Maybe [Text] -> Maybe [Text] -> Maybe [Text] -> VpcConfigRequest
-- | Create a value of VpcConfigRequest with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:endpointPrivateAccess:VpcConfigRequest',
-- vpcConfigRequest_endpointPrivateAccess - Set this value to
-- true to enable private access for your cluster's Kubernetes
-- API server endpoint. If you enable private access, Kubernetes API
-- requests from within your cluster's VPC use the private VPC endpoint.
-- The default value for this parameter is false, which disables
-- private access for your Kubernetes API server. If you disable private
-- access and you have nodes or Fargate pods in the cluster, then ensure
-- that publicAccessCidrs includes the necessary CIDR blocks for
-- communication with the nodes or Fargate pods. For more information,
-- see Amazon EKS cluster endpoint access control in the
-- /Amazon EKS User Guide/ .
--
-- $sel:endpointPublicAccess:VpcConfigRequest',
-- vpcConfigRequest_endpointPublicAccess - Set this value to
-- false to disable public access to your cluster's Kubernetes
-- API server endpoint. If you disable public access, your cluster's
-- Kubernetes API server can only receive requests from within the
-- cluster VPC. The default value for this parameter is true,
-- which enables public access for your Kubernetes API server. For more
-- information, see Amazon EKS cluster endpoint access control in
-- the /Amazon EKS User Guide/ .
--
-- $sel:publicAccessCidrs:VpcConfigRequest',
-- vpcConfigRequest_publicAccessCidrs - The CIDR blocks that are
-- allowed access to your cluster's public Kubernetes API server
-- endpoint. Communication to the endpoint from addresses outside of the
-- CIDR blocks that you specify is denied. The default value is
-- 0.0.0.0/0. If you've disabled private endpoint access and you
-- have nodes or Fargate pods in the cluster, then ensure that you
-- specify the necessary CIDR blocks. For more information, see Amazon
-- EKS cluster endpoint access control in the /Amazon EKS User
-- Guide/ .
--
-- $sel:securityGroupIds:VpcConfigRequest',
-- vpcConfigRequest_securityGroupIds - Specify one or more
-- security groups for the cross-account elastic network interfaces that
-- Amazon EKS creates to use that allow communication between your nodes
-- and the Kubernetes control plane. If you don't specify any security
-- groups, then familiarize yourself with the difference between Amazon
-- EKS defaults for clusters deployed with Kubernetes. For more
-- information, see Amazon EKS security group considerations in
-- the /Amazon EKS User Guide/ .
--
-- $sel:subnetIds:VpcConfigRequest',
-- vpcConfigRequest_subnetIds - Specify subnets for your Amazon
-- EKS nodes. Amazon EKS creates cross-account elastic network interfaces
-- in these subnets to allow communication between your nodes and the
-- Kubernetes control plane.
newVpcConfigRequest :: VpcConfigRequest
-- | An object representing an Amazon EKS cluster VPC configuration
-- response.
--
-- See: newVpcConfigResponse smart constructor.
data VpcConfigResponse
VpcConfigResponse' :: Maybe Text -> Maybe Bool -> Maybe Bool -> Maybe [Text] -> Maybe [Text] -> Maybe [Text] -> Maybe Text -> VpcConfigResponse
-- | Create a value of VpcConfigResponse with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:clusterSecurityGroupId:VpcConfigResponse',
-- vpcConfigResponse_clusterSecurityGroupId - The cluster security
-- group that was created by Amazon EKS for the cluster. Managed node
-- groups use this security group for control-plane-to-data-plane
-- communication.
--
-- $sel:endpointPrivateAccess:VpcConfigResponse',
-- vpcConfigResponse_endpointPrivateAccess - This parameter
-- indicates whether the Amazon EKS private API server endpoint is
-- enabled. If the Amazon EKS private API server endpoint is enabled,
-- Kubernetes API requests that originate from within your cluster's VPC
-- use the private VPC endpoint instead of traversing the internet. If
-- this value is disabled and you have nodes or Fargate pods in the
-- cluster, then ensure that publicAccessCidrs includes the
-- necessary CIDR blocks for communication with the nodes or Fargate
-- pods. For more information, see Amazon EKS cluster endpoint access
-- control in the /Amazon EKS User Guide/ .
--
-- $sel:endpointPublicAccess:VpcConfigResponse',
-- vpcConfigResponse_endpointPublicAccess - This parameter
-- indicates whether the Amazon EKS public API server endpoint is
-- enabled. If the Amazon EKS public API server endpoint is disabled,
-- your cluster's Kubernetes API server can only receive requests that
-- originate from within the cluster VPC.
--
-- $sel:publicAccessCidrs:VpcConfigResponse',
-- vpcConfigResponse_publicAccessCidrs - The CIDR blocks that are
-- allowed access to your cluster's public Kubernetes API server
-- endpoint. Communication to the endpoint from addresses outside of the
-- listed CIDR blocks is denied. The default value is 0.0.0.0/0.
-- If you've disabled private endpoint access and you have nodes or
-- Fargate pods in the cluster, then ensure that the necessary CIDR
-- blocks are listed. For more information, see Amazon EKS cluster
-- endpoint access control in the /Amazon EKS User Guide/ .
--
-- $sel:securityGroupIds:VpcConfigResponse',
-- vpcConfigResponse_securityGroupIds - The security groups
-- associated with the cross-account elastic network interfaces that are
-- used to allow communication between your nodes and the Kubernetes
-- control plane.
--
-- $sel:subnetIds:VpcConfigResponse',
-- vpcConfigResponse_subnetIds - The subnets associated with your
-- cluster.
--
-- $sel:vpcId:VpcConfigResponse', vpcConfigResponse_vpcId -
-- The VPC associated with your cluster.
newVpcConfigResponse :: VpcConfigResponse