{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DerivingStrategies #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
module Amazonka.EKS.Types.NodegroupIssueCode
( NodegroupIssueCode
( ..,
NodegroupIssueCode_AccessDenied,
NodegroupIssueCode_AsgInstanceLaunchFailures,
NodegroupIssueCode_AutoScalingGroupInvalidConfiguration,
NodegroupIssueCode_AutoScalingGroupNotFound,
NodegroupIssueCode_ClusterUnreachable,
NodegroupIssueCode_Ec2LaunchTemplateNotFound,
NodegroupIssueCode_Ec2LaunchTemplateVersionMismatch,
NodegroupIssueCode_Ec2SecurityGroupDeletionFailure,
NodegroupIssueCode_Ec2SecurityGroupNotFound,
NodegroupIssueCode_Ec2SubnetInvalidConfiguration,
NodegroupIssueCode_Ec2SubnetNotFound,
NodegroupIssueCode_IamInstanceProfileNotFound,
NodegroupIssueCode_IamLimitExceeded,
NodegroupIssueCode_IamNodeRoleNotFound,
NodegroupIssueCode_InstanceLimitExceeded,
NodegroupIssueCode_InsufficientFreeAddresses,
NodegroupIssueCode_InternalFailure,
NodegroupIssueCode_NodeCreationFailure
),
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Prelude as Prelude
newtype NodegroupIssueCode = NodegroupIssueCode'
{ NodegroupIssueCode -> Text
fromNodegroupIssueCode ::
Core.Text
}
deriving stock
( Int -> NodegroupIssueCode -> ShowS
[NodegroupIssueCode] -> ShowS
NodegroupIssueCode -> String
(Int -> NodegroupIssueCode -> ShowS)
-> (NodegroupIssueCode -> String)
-> ([NodegroupIssueCode] -> ShowS)
-> Show NodegroupIssueCode
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [NodegroupIssueCode] -> ShowS
$cshowList :: [NodegroupIssueCode] -> ShowS
show :: NodegroupIssueCode -> String
$cshow :: NodegroupIssueCode -> String
showsPrec :: Int -> NodegroupIssueCode -> ShowS
$cshowsPrec :: Int -> NodegroupIssueCode -> ShowS
Prelude.Show,
ReadPrec [NodegroupIssueCode]
ReadPrec NodegroupIssueCode
Int -> ReadS NodegroupIssueCode
ReadS [NodegroupIssueCode]
(Int -> ReadS NodegroupIssueCode)
-> ReadS [NodegroupIssueCode]
-> ReadPrec NodegroupIssueCode
-> ReadPrec [NodegroupIssueCode]
-> Read NodegroupIssueCode
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [NodegroupIssueCode]
$creadListPrec :: ReadPrec [NodegroupIssueCode]
readPrec :: ReadPrec NodegroupIssueCode
$creadPrec :: ReadPrec NodegroupIssueCode
readList :: ReadS [NodegroupIssueCode]
$creadList :: ReadS [NodegroupIssueCode]
readsPrec :: Int -> ReadS NodegroupIssueCode
$creadsPrec :: Int -> ReadS NodegroupIssueCode
Prelude.Read,
NodegroupIssueCode -> NodegroupIssueCode -> Bool
(NodegroupIssueCode -> NodegroupIssueCode -> Bool)
-> (NodegroupIssueCode -> NodegroupIssueCode -> Bool)
-> Eq NodegroupIssueCode
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: NodegroupIssueCode -> NodegroupIssueCode -> Bool
$c/= :: NodegroupIssueCode -> NodegroupIssueCode -> Bool
== :: NodegroupIssueCode -> NodegroupIssueCode -> Bool
$c== :: NodegroupIssueCode -> NodegroupIssueCode -> Bool
Prelude.Eq,
Eq NodegroupIssueCode
Eq NodegroupIssueCode
-> (NodegroupIssueCode -> NodegroupIssueCode -> Ordering)
-> (NodegroupIssueCode -> NodegroupIssueCode -> Bool)
-> (NodegroupIssueCode -> NodegroupIssueCode -> Bool)
-> (NodegroupIssueCode -> NodegroupIssueCode -> Bool)
-> (NodegroupIssueCode -> NodegroupIssueCode -> Bool)
-> (NodegroupIssueCode -> NodegroupIssueCode -> NodegroupIssueCode)
-> (NodegroupIssueCode -> NodegroupIssueCode -> NodegroupIssueCode)
-> Ord NodegroupIssueCode
NodegroupIssueCode -> NodegroupIssueCode -> Bool
NodegroupIssueCode -> NodegroupIssueCode -> Ordering
NodegroupIssueCode -> NodegroupIssueCode -> NodegroupIssueCode
forall a.
Eq a
-> (a -> a -> Ordering)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> a)
-> (a -> a -> a)
-> Ord a
min :: NodegroupIssueCode -> NodegroupIssueCode -> NodegroupIssueCode
$cmin :: NodegroupIssueCode -> NodegroupIssueCode -> NodegroupIssueCode
max :: NodegroupIssueCode -> NodegroupIssueCode -> NodegroupIssueCode
$cmax :: NodegroupIssueCode -> NodegroupIssueCode -> NodegroupIssueCode
>= :: NodegroupIssueCode -> NodegroupIssueCode -> Bool
$c>= :: NodegroupIssueCode -> NodegroupIssueCode -> Bool
> :: NodegroupIssueCode -> NodegroupIssueCode -> Bool
$c> :: NodegroupIssueCode -> NodegroupIssueCode -> Bool
<= :: NodegroupIssueCode -> NodegroupIssueCode -> Bool
$c<= :: NodegroupIssueCode -> NodegroupIssueCode -> Bool
< :: NodegroupIssueCode -> NodegroupIssueCode -> Bool
$c< :: NodegroupIssueCode -> NodegroupIssueCode -> Bool
compare :: NodegroupIssueCode -> NodegroupIssueCode -> Ordering
$ccompare :: NodegroupIssueCode -> NodegroupIssueCode -> Ordering
$cp1Ord :: Eq NodegroupIssueCode
Prelude.Ord,
(forall x. NodegroupIssueCode -> Rep NodegroupIssueCode x)
-> (forall x. Rep NodegroupIssueCode x -> NodegroupIssueCode)
-> Generic NodegroupIssueCode
forall x. Rep NodegroupIssueCode x -> NodegroupIssueCode
forall x. NodegroupIssueCode -> Rep NodegroupIssueCode x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep NodegroupIssueCode x -> NodegroupIssueCode
$cfrom :: forall x. NodegroupIssueCode -> Rep NodegroupIssueCode x
Prelude.Generic
)
deriving newtype
( Int -> NodegroupIssueCode -> Int
NodegroupIssueCode -> Int
(Int -> NodegroupIssueCode -> Int)
-> (NodegroupIssueCode -> Int) -> Hashable NodegroupIssueCode
forall a. (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: NodegroupIssueCode -> Int
$chash :: NodegroupIssueCode -> Int
hashWithSalt :: Int -> NodegroupIssueCode -> Int
$chashWithSalt :: Int -> NodegroupIssueCode -> Int
Prelude.Hashable,
NodegroupIssueCode -> ()
(NodegroupIssueCode -> ()) -> NFData NodegroupIssueCode
forall a. (a -> ()) -> NFData a
rnf :: NodegroupIssueCode -> ()
$crnf :: NodegroupIssueCode -> ()
Prelude.NFData,
Text -> Either String NodegroupIssueCode
(Text -> Either String NodegroupIssueCode)
-> FromText NodegroupIssueCode
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String NodegroupIssueCode
$cfromText :: Text -> Either String NodegroupIssueCode
Core.FromText,
NodegroupIssueCode -> Text
(NodegroupIssueCode -> Text) -> ToText NodegroupIssueCode
forall a. (a -> Text) -> ToText a
toText :: NodegroupIssueCode -> Text
$ctoText :: NodegroupIssueCode -> Text
Core.ToText,
NodegroupIssueCode -> ByteString
(NodegroupIssueCode -> ByteString)
-> ToByteString NodegroupIssueCode
forall a. (a -> ByteString) -> ToByteString a
toBS :: NodegroupIssueCode -> ByteString
$ctoBS :: NodegroupIssueCode -> ByteString
Core.ToByteString,
NodegroupIssueCode -> ByteStringBuilder
(NodegroupIssueCode -> ByteStringBuilder)
-> ToLog NodegroupIssueCode
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: NodegroupIssueCode -> ByteStringBuilder
$cbuild :: NodegroupIssueCode -> ByteStringBuilder
Core.ToLog,
HeaderName -> NodegroupIssueCode -> [Header]
(HeaderName -> NodegroupIssueCode -> [Header])
-> ToHeader NodegroupIssueCode
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> NodegroupIssueCode -> [Header]
$ctoHeader :: HeaderName -> NodegroupIssueCode -> [Header]
Core.ToHeader,
NodegroupIssueCode -> QueryString
(NodegroupIssueCode -> QueryString) -> ToQuery NodegroupIssueCode
forall a. (a -> QueryString) -> ToQuery a
toQuery :: NodegroupIssueCode -> QueryString
$ctoQuery :: NodegroupIssueCode -> QueryString
Core.ToQuery,
Value -> Parser [NodegroupIssueCode]
Value -> Parser NodegroupIssueCode
(Value -> Parser NodegroupIssueCode)
-> (Value -> Parser [NodegroupIssueCode])
-> FromJSON NodegroupIssueCode
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [NodegroupIssueCode]
$cparseJSONList :: Value -> Parser [NodegroupIssueCode]
parseJSON :: Value -> Parser NodegroupIssueCode
$cparseJSON :: Value -> Parser NodegroupIssueCode
Core.FromJSON,
FromJSONKeyFunction [NodegroupIssueCode]
FromJSONKeyFunction NodegroupIssueCode
FromJSONKeyFunction NodegroupIssueCode
-> FromJSONKeyFunction [NodegroupIssueCode]
-> FromJSONKey NodegroupIssueCode
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [NodegroupIssueCode]
$cfromJSONKeyList :: FromJSONKeyFunction [NodegroupIssueCode]
fromJSONKey :: FromJSONKeyFunction NodegroupIssueCode
$cfromJSONKey :: FromJSONKeyFunction NodegroupIssueCode
Core.FromJSONKey,
[NodegroupIssueCode] -> Encoding
[NodegroupIssueCode] -> Value
NodegroupIssueCode -> Encoding
NodegroupIssueCode -> Value
(NodegroupIssueCode -> Value)
-> (NodegroupIssueCode -> Encoding)
-> ([NodegroupIssueCode] -> Value)
-> ([NodegroupIssueCode] -> Encoding)
-> ToJSON NodegroupIssueCode
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [NodegroupIssueCode] -> Encoding
$ctoEncodingList :: [NodegroupIssueCode] -> Encoding
toJSONList :: [NodegroupIssueCode] -> Value
$ctoJSONList :: [NodegroupIssueCode] -> Value
toEncoding :: NodegroupIssueCode -> Encoding
$ctoEncoding :: NodegroupIssueCode -> Encoding
toJSON :: NodegroupIssueCode -> Value
$ctoJSON :: NodegroupIssueCode -> Value
Core.ToJSON,
ToJSONKeyFunction [NodegroupIssueCode]
ToJSONKeyFunction NodegroupIssueCode
ToJSONKeyFunction NodegroupIssueCode
-> ToJSONKeyFunction [NodegroupIssueCode]
-> ToJSONKey NodegroupIssueCode
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [NodegroupIssueCode]
$ctoJSONKeyList :: ToJSONKeyFunction [NodegroupIssueCode]
toJSONKey :: ToJSONKeyFunction NodegroupIssueCode
$ctoJSONKey :: ToJSONKeyFunction NodegroupIssueCode
Core.ToJSONKey,
[Node] -> Either String NodegroupIssueCode
([Node] -> Either String NodegroupIssueCode)
-> FromXML NodegroupIssueCode
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String NodegroupIssueCode
$cparseXML :: [Node] -> Either String NodegroupIssueCode
Core.FromXML,
NodegroupIssueCode -> XML
(NodegroupIssueCode -> XML) -> ToXML NodegroupIssueCode
forall a. (a -> XML) -> ToXML a
toXML :: NodegroupIssueCode -> XML
$ctoXML :: NodegroupIssueCode -> XML
Core.ToXML
)
pattern NodegroupIssueCode_AccessDenied :: NodegroupIssueCode
pattern $bNodegroupIssueCode_AccessDenied :: NodegroupIssueCode
$mNodegroupIssueCode_AccessDenied :: forall r. NodegroupIssueCode -> (Void# -> r) -> (Void# -> r) -> r
NodegroupIssueCode_AccessDenied = NodegroupIssueCode' "AccessDenied"
pattern NodegroupIssueCode_AsgInstanceLaunchFailures :: NodegroupIssueCode
pattern $bNodegroupIssueCode_AsgInstanceLaunchFailures :: NodegroupIssueCode
$mNodegroupIssueCode_AsgInstanceLaunchFailures :: forall r. NodegroupIssueCode -> (Void# -> r) -> (Void# -> r) -> r
NodegroupIssueCode_AsgInstanceLaunchFailures = NodegroupIssueCode' "AsgInstanceLaunchFailures"
pattern NodegroupIssueCode_AutoScalingGroupInvalidConfiguration :: NodegroupIssueCode
pattern $bNodegroupIssueCode_AutoScalingGroupInvalidConfiguration :: NodegroupIssueCode
$mNodegroupIssueCode_AutoScalingGroupInvalidConfiguration :: forall r. NodegroupIssueCode -> (Void# -> r) -> (Void# -> r) -> r
NodegroupIssueCode_AutoScalingGroupInvalidConfiguration = NodegroupIssueCode' "AutoScalingGroupInvalidConfiguration"
pattern NodegroupIssueCode_AutoScalingGroupNotFound :: NodegroupIssueCode
pattern $bNodegroupIssueCode_AutoScalingGroupNotFound :: NodegroupIssueCode
$mNodegroupIssueCode_AutoScalingGroupNotFound :: forall r. NodegroupIssueCode -> (Void# -> r) -> (Void# -> r) -> r
NodegroupIssueCode_AutoScalingGroupNotFound = NodegroupIssueCode' "AutoScalingGroupNotFound"
pattern NodegroupIssueCode_ClusterUnreachable :: NodegroupIssueCode
pattern $bNodegroupIssueCode_ClusterUnreachable :: NodegroupIssueCode
$mNodegroupIssueCode_ClusterUnreachable :: forall r. NodegroupIssueCode -> (Void# -> r) -> (Void# -> r) -> r
NodegroupIssueCode_ClusterUnreachable = NodegroupIssueCode' "ClusterUnreachable"
pattern NodegroupIssueCode_Ec2LaunchTemplateNotFound :: NodegroupIssueCode
pattern $bNodegroupIssueCode_Ec2LaunchTemplateNotFound :: NodegroupIssueCode
$mNodegroupIssueCode_Ec2LaunchTemplateNotFound :: forall r. NodegroupIssueCode -> (Void# -> r) -> (Void# -> r) -> r
NodegroupIssueCode_Ec2LaunchTemplateNotFound = NodegroupIssueCode' "Ec2LaunchTemplateNotFound"
pattern NodegroupIssueCode_Ec2LaunchTemplateVersionMismatch :: NodegroupIssueCode
pattern $bNodegroupIssueCode_Ec2LaunchTemplateVersionMismatch :: NodegroupIssueCode
$mNodegroupIssueCode_Ec2LaunchTemplateVersionMismatch :: forall r. NodegroupIssueCode -> (Void# -> r) -> (Void# -> r) -> r
NodegroupIssueCode_Ec2LaunchTemplateVersionMismatch = NodegroupIssueCode' "Ec2LaunchTemplateVersionMismatch"
pattern NodegroupIssueCode_Ec2SecurityGroupDeletionFailure :: NodegroupIssueCode
pattern $bNodegroupIssueCode_Ec2SecurityGroupDeletionFailure :: NodegroupIssueCode
$mNodegroupIssueCode_Ec2SecurityGroupDeletionFailure :: forall r. NodegroupIssueCode -> (Void# -> r) -> (Void# -> r) -> r
NodegroupIssueCode_Ec2SecurityGroupDeletionFailure = NodegroupIssueCode' "Ec2SecurityGroupDeletionFailure"
pattern NodegroupIssueCode_Ec2SecurityGroupNotFound :: NodegroupIssueCode
pattern $bNodegroupIssueCode_Ec2SecurityGroupNotFound :: NodegroupIssueCode
$mNodegroupIssueCode_Ec2SecurityGroupNotFound :: forall r. NodegroupIssueCode -> (Void# -> r) -> (Void# -> r) -> r
NodegroupIssueCode_Ec2SecurityGroupNotFound = NodegroupIssueCode' "Ec2SecurityGroupNotFound"
pattern NodegroupIssueCode_Ec2SubnetInvalidConfiguration :: NodegroupIssueCode
pattern $bNodegroupIssueCode_Ec2SubnetInvalidConfiguration :: NodegroupIssueCode
$mNodegroupIssueCode_Ec2SubnetInvalidConfiguration :: forall r. NodegroupIssueCode -> (Void# -> r) -> (Void# -> r) -> r
NodegroupIssueCode_Ec2SubnetInvalidConfiguration = NodegroupIssueCode' "Ec2SubnetInvalidConfiguration"
pattern NodegroupIssueCode_Ec2SubnetNotFound :: NodegroupIssueCode
pattern $bNodegroupIssueCode_Ec2SubnetNotFound :: NodegroupIssueCode
$mNodegroupIssueCode_Ec2SubnetNotFound :: forall r. NodegroupIssueCode -> (Void# -> r) -> (Void# -> r) -> r
NodegroupIssueCode_Ec2SubnetNotFound = NodegroupIssueCode' "Ec2SubnetNotFound"
pattern NodegroupIssueCode_IamInstanceProfileNotFound :: NodegroupIssueCode
pattern $bNodegroupIssueCode_IamInstanceProfileNotFound :: NodegroupIssueCode
$mNodegroupIssueCode_IamInstanceProfileNotFound :: forall r. NodegroupIssueCode -> (Void# -> r) -> (Void# -> r) -> r
NodegroupIssueCode_IamInstanceProfileNotFound = NodegroupIssueCode' "IamInstanceProfileNotFound"
pattern NodegroupIssueCode_IamLimitExceeded :: NodegroupIssueCode
pattern $bNodegroupIssueCode_IamLimitExceeded :: NodegroupIssueCode
$mNodegroupIssueCode_IamLimitExceeded :: forall r. NodegroupIssueCode -> (Void# -> r) -> (Void# -> r) -> r
NodegroupIssueCode_IamLimitExceeded = NodegroupIssueCode' "IamLimitExceeded"
pattern NodegroupIssueCode_IamNodeRoleNotFound :: NodegroupIssueCode
pattern $bNodegroupIssueCode_IamNodeRoleNotFound :: NodegroupIssueCode
$mNodegroupIssueCode_IamNodeRoleNotFound :: forall r. NodegroupIssueCode -> (Void# -> r) -> (Void# -> r) -> r
NodegroupIssueCode_IamNodeRoleNotFound = NodegroupIssueCode' "IamNodeRoleNotFound"
pattern NodegroupIssueCode_InstanceLimitExceeded :: NodegroupIssueCode
pattern $bNodegroupIssueCode_InstanceLimitExceeded :: NodegroupIssueCode
$mNodegroupIssueCode_InstanceLimitExceeded :: forall r. NodegroupIssueCode -> (Void# -> r) -> (Void# -> r) -> r
NodegroupIssueCode_InstanceLimitExceeded = NodegroupIssueCode' "InstanceLimitExceeded"
pattern NodegroupIssueCode_InsufficientFreeAddresses :: NodegroupIssueCode
pattern $bNodegroupIssueCode_InsufficientFreeAddresses :: NodegroupIssueCode
$mNodegroupIssueCode_InsufficientFreeAddresses :: forall r. NodegroupIssueCode -> (Void# -> r) -> (Void# -> r) -> r
NodegroupIssueCode_InsufficientFreeAddresses = NodegroupIssueCode' "InsufficientFreeAddresses"
pattern NodegroupIssueCode_InternalFailure :: NodegroupIssueCode
pattern $bNodegroupIssueCode_InternalFailure :: NodegroupIssueCode
$mNodegroupIssueCode_InternalFailure :: forall r. NodegroupIssueCode -> (Void# -> r) -> (Void# -> r) -> r
NodegroupIssueCode_InternalFailure = NodegroupIssueCode' "InternalFailure"
pattern NodegroupIssueCode_NodeCreationFailure :: NodegroupIssueCode
pattern $bNodegroupIssueCode_NodeCreationFailure :: NodegroupIssueCode
$mNodegroupIssueCode_NodeCreationFailure :: forall r. NodegroupIssueCode -> (Void# -> r) -> (Void# -> r) -> r
NodegroupIssueCode_NodeCreationFailure = NodegroupIssueCode' "NodeCreationFailure"
{-# COMPLETE
NodegroupIssueCode_AccessDenied,
NodegroupIssueCode_AsgInstanceLaunchFailures,
NodegroupIssueCode_AutoScalingGroupInvalidConfiguration,
NodegroupIssueCode_AutoScalingGroupNotFound,
NodegroupIssueCode_ClusterUnreachable,
NodegroupIssueCode_Ec2LaunchTemplateNotFound,
NodegroupIssueCode_Ec2LaunchTemplateVersionMismatch,
NodegroupIssueCode_Ec2SecurityGroupDeletionFailure,
NodegroupIssueCode_Ec2SecurityGroupNotFound,
NodegroupIssueCode_Ec2SubnetInvalidConfiguration,
NodegroupIssueCode_Ec2SubnetNotFound,
NodegroupIssueCode_IamInstanceProfileNotFound,
NodegroupIssueCode_IamLimitExceeded,
NodegroupIssueCode_IamNodeRoleNotFound,
NodegroupIssueCode_InstanceLimitExceeded,
NodegroupIssueCode_InsufficientFreeAddresses,
NodegroupIssueCode_InternalFailure,
NodegroupIssueCode_NodeCreationFailure,
NodegroupIssueCode'
#-}