{-# 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.AddonIssueCode
( AddonIssueCode
( ..,
AddonIssueCode_AccessDenied,
AddonIssueCode_AdmissionRequestDenied,
AddonIssueCode_ClusterUnreachable,
AddonIssueCode_ConfigurationConflict,
AddonIssueCode_InsufficientNumberOfReplicas,
AddonIssueCode_InternalFailure,
AddonIssueCode_K8sResourceNotFound,
AddonIssueCode_UnsupportedAddonModification
),
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Data as Data
import qualified Amazonka.Prelude as Prelude
newtype AddonIssueCode = AddonIssueCode'
{ AddonIssueCode -> Text
fromAddonIssueCode ::
Data.Text
}
deriving stock
( Int -> AddonIssueCode -> ShowS
[AddonIssueCode] -> ShowS
AddonIssueCode -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [AddonIssueCode] -> ShowS
$cshowList :: [AddonIssueCode] -> ShowS
show :: AddonIssueCode -> String
$cshow :: AddonIssueCode -> String
showsPrec :: Int -> AddonIssueCode -> ShowS
$cshowsPrec :: Int -> AddonIssueCode -> ShowS
Prelude.Show,
ReadPrec [AddonIssueCode]
ReadPrec AddonIssueCode
Int -> ReadS AddonIssueCode
ReadS [AddonIssueCode]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [AddonIssueCode]
$creadListPrec :: ReadPrec [AddonIssueCode]
readPrec :: ReadPrec AddonIssueCode
$creadPrec :: ReadPrec AddonIssueCode
readList :: ReadS [AddonIssueCode]
$creadList :: ReadS [AddonIssueCode]
readsPrec :: Int -> ReadS AddonIssueCode
$creadsPrec :: Int -> ReadS AddonIssueCode
Prelude.Read,
AddonIssueCode -> AddonIssueCode -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: AddonIssueCode -> AddonIssueCode -> Bool
$c/= :: AddonIssueCode -> AddonIssueCode -> Bool
== :: AddonIssueCode -> AddonIssueCode -> Bool
$c== :: AddonIssueCode -> AddonIssueCode -> Bool
Prelude.Eq,
Eq AddonIssueCode
AddonIssueCode -> AddonIssueCode -> Bool
AddonIssueCode -> AddonIssueCode -> Ordering
AddonIssueCode -> AddonIssueCode -> AddonIssueCode
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 :: AddonIssueCode -> AddonIssueCode -> AddonIssueCode
$cmin :: AddonIssueCode -> AddonIssueCode -> AddonIssueCode
max :: AddonIssueCode -> AddonIssueCode -> AddonIssueCode
$cmax :: AddonIssueCode -> AddonIssueCode -> AddonIssueCode
>= :: AddonIssueCode -> AddonIssueCode -> Bool
$c>= :: AddonIssueCode -> AddonIssueCode -> Bool
> :: AddonIssueCode -> AddonIssueCode -> Bool
$c> :: AddonIssueCode -> AddonIssueCode -> Bool
<= :: AddonIssueCode -> AddonIssueCode -> Bool
$c<= :: AddonIssueCode -> AddonIssueCode -> Bool
< :: AddonIssueCode -> AddonIssueCode -> Bool
$c< :: AddonIssueCode -> AddonIssueCode -> Bool
compare :: AddonIssueCode -> AddonIssueCode -> Ordering
$ccompare :: AddonIssueCode -> AddonIssueCode -> Ordering
Prelude.Ord,
forall x. Rep AddonIssueCode x -> AddonIssueCode
forall x. AddonIssueCode -> Rep AddonIssueCode x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep AddonIssueCode x -> AddonIssueCode
$cfrom :: forall x. AddonIssueCode -> Rep AddonIssueCode x
Prelude.Generic
)
deriving newtype
( Eq AddonIssueCode
Int -> AddonIssueCode -> Int
AddonIssueCode -> Int
forall a. Eq a -> (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: AddonIssueCode -> Int
$chash :: AddonIssueCode -> Int
hashWithSalt :: Int -> AddonIssueCode -> Int
$chashWithSalt :: Int -> AddonIssueCode -> Int
Prelude.Hashable,
AddonIssueCode -> ()
forall a. (a -> ()) -> NFData a
rnf :: AddonIssueCode -> ()
$crnf :: AddonIssueCode -> ()
Prelude.NFData,
Text -> Either String AddonIssueCode
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String AddonIssueCode
$cfromText :: Text -> Either String AddonIssueCode
Data.FromText,
AddonIssueCode -> Text
forall a. (a -> Text) -> ToText a
toText :: AddonIssueCode -> Text
$ctoText :: AddonIssueCode -> Text
Data.ToText,
AddonIssueCode -> ByteString
forall a. (a -> ByteString) -> ToByteString a
toBS :: AddonIssueCode -> ByteString
$ctoBS :: AddonIssueCode -> ByteString
Data.ToByteString,
AddonIssueCode -> ByteStringBuilder
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: AddonIssueCode -> ByteStringBuilder
$cbuild :: AddonIssueCode -> ByteStringBuilder
Data.ToLog,
HeaderName -> AddonIssueCode -> [Header]
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> AddonIssueCode -> [Header]
$ctoHeader :: HeaderName -> AddonIssueCode -> [Header]
Data.ToHeader,
AddonIssueCode -> QueryString
forall a. (a -> QueryString) -> ToQuery a
toQuery :: AddonIssueCode -> QueryString
$ctoQuery :: AddonIssueCode -> QueryString
Data.ToQuery,
Value -> Parser [AddonIssueCode]
Value -> Parser AddonIssueCode
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [AddonIssueCode]
$cparseJSONList :: Value -> Parser [AddonIssueCode]
parseJSON :: Value -> Parser AddonIssueCode
$cparseJSON :: Value -> Parser AddonIssueCode
Data.FromJSON,
FromJSONKeyFunction [AddonIssueCode]
FromJSONKeyFunction AddonIssueCode
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [AddonIssueCode]
$cfromJSONKeyList :: FromJSONKeyFunction [AddonIssueCode]
fromJSONKey :: FromJSONKeyFunction AddonIssueCode
$cfromJSONKey :: FromJSONKeyFunction AddonIssueCode
Data.FromJSONKey,
[AddonIssueCode] -> Encoding
[AddonIssueCode] -> Value
AddonIssueCode -> Encoding
AddonIssueCode -> Value
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [AddonIssueCode] -> Encoding
$ctoEncodingList :: [AddonIssueCode] -> Encoding
toJSONList :: [AddonIssueCode] -> Value
$ctoJSONList :: [AddonIssueCode] -> Value
toEncoding :: AddonIssueCode -> Encoding
$ctoEncoding :: AddonIssueCode -> Encoding
toJSON :: AddonIssueCode -> Value
$ctoJSON :: AddonIssueCode -> Value
Data.ToJSON,
ToJSONKeyFunction [AddonIssueCode]
ToJSONKeyFunction AddonIssueCode
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [AddonIssueCode]
$ctoJSONKeyList :: ToJSONKeyFunction [AddonIssueCode]
toJSONKey :: ToJSONKeyFunction AddonIssueCode
$ctoJSONKey :: ToJSONKeyFunction AddonIssueCode
Data.ToJSONKey,
[Node] -> Either String AddonIssueCode
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String AddonIssueCode
$cparseXML :: [Node] -> Either String AddonIssueCode
Data.FromXML,
AddonIssueCode -> XML
forall a. (a -> XML) -> ToXML a
toXML :: AddonIssueCode -> XML
$ctoXML :: AddonIssueCode -> XML
Data.ToXML
)
pattern AddonIssueCode_AccessDenied :: AddonIssueCode
pattern $bAddonIssueCode_AccessDenied :: AddonIssueCode
$mAddonIssueCode_AccessDenied :: forall {r}. AddonIssueCode -> ((# #) -> r) -> ((# #) -> r) -> r
AddonIssueCode_AccessDenied = AddonIssueCode' "AccessDenied"
pattern AddonIssueCode_AdmissionRequestDenied :: AddonIssueCode
pattern $bAddonIssueCode_AdmissionRequestDenied :: AddonIssueCode
$mAddonIssueCode_AdmissionRequestDenied :: forall {r}. AddonIssueCode -> ((# #) -> r) -> ((# #) -> r) -> r
AddonIssueCode_AdmissionRequestDenied = AddonIssueCode' "AdmissionRequestDenied"
pattern AddonIssueCode_ClusterUnreachable :: AddonIssueCode
pattern $bAddonIssueCode_ClusterUnreachable :: AddonIssueCode
$mAddonIssueCode_ClusterUnreachable :: forall {r}. AddonIssueCode -> ((# #) -> r) -> ((# #) -> r) -> r
AddonIssueCode_ClusterUnreachable = AddonIssueCode' "ClusterUnreachable"
pattern AddonIssueCode_ConfigurationConflict :: AddonIssueCode
pattern $bAddonIssueCode_ConfigurationConflict :: AddonIssueCode
$mAddonIssueCode_ConfigurationConflict :: forall {r}. AddonIssueCode -> ((# #) -> r) -> ((# #) -> r) -> r
AddonIssueCode_ConfigurationConflict = AddonIssueCode' "ConfigurationConflict"
pattern AddonIssueCode_InsufficientNumberOfReplicas :: AddonIssueCode
pattern $bAddonIssueCode_InsufficientNumberOfReplicas :: AddonIssueCode
$mAddonIssueCode_InsufficientNumberOfReplicas :: forall {r}. AddonIssueCode -> ((# #) -> r) -> ((# #) -> r) -> r
AddonIssueCode_InsufficientNumberOfReplicas = AddonIssueCode' "InsufficientNumberOfReplicas"
pattern AddonIssueCode_InternalFailure :: AddonIssueCode
pattern $bAddonIssueCode_InternalFailure :: AddonIssueCode
$mAddonIssueCode_InternalFailure :: forall {r}. AddonIssueCode -> ((# #) -> r) -> ((# #) -> r) -> r
AddonIssueCode_InternalFailure = AddonIssueCode' "InternalFailure"
pattern AddonIssueCode_K8sResourceNotFound :: AddonIssueCode
pattern $bAddonIssueCode_K8sResourceNotFound :: AddonIssueCode
$mAddonIssueCode_K8sResourceNotFound :: forall {r}. AddonIssueCode -> ((# #) -> r) -> ((# #) -> r) -> r
AddonIssueCode_K8sResourceNotFound = AddonIssueCode' "K8sResourceNotFound"
pattern AddonIssueCode_UnsupportedAddonModification :: AddonIssueCode
pattern $bAddonIssueCode_UnsupportedAddonModification :: AddonIssueCode
$mAddonIssueCode_UnsupportedAddonModification :: forall {r}. AddonIssueCode -> ((# #) -> r) -> ((# #) -> r) -> r
AddonIssueCode_UnsupportedAddonModification = AddonIssueCode' "UnsupportedAddonModification"
{-# COMPLETE
AddonIssueCode_AccessDenied,
AddonIssueCode_AdmissionRequestDenied,
AddonIssueCode_ClusterUnreachable,
AddonIssueCode_ConfigurationConflict,
AddonIssueCode_InsufficientNumberOfReplicas,
AddonIssueCode_InternalFailure,
AddonIssueCode_K8sResourceNotFound,
AddonIssueCode_UnsupportedAddonModification,
AddonIssueCode'
#-}