{-# 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.ConfigStatus
( ConfigStatus
( ..,
ConfigStatus_ACTIVE,
ConfigStatus_CREATING,
ConfigStatus_DELETING
),
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Prelude as Prelude
newtype ConfigStatus = ConfigStatus'
{ ConfigStatus -> Text
fromConfigStatus ::
Core.Text
}
deriving stock
( Int -> ConfigStatus -> ShowS
[ConfigStatus] -> ShowS
ConfigStatus -> String
(Int -> ConfigStatus -> ShowS)
-> (ConfigStatus -> String)
-> ([ConfigStatus] -> ShowS)
-> Show ConfigStatus
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ConfigStatus] -> ShowS
$cshowList :: [ConfigStatus] -> ShowS
show :: ConfigStatus -> String
$cshow :: ConfigStatus -> String
showsPrec :: Int -> ConfigStatus -> ShowS
$cshowsPrec :: Int -> ConfigStatus -> ShowS
Prelude.Show,
ReadPrec [ConfigStatus]
ReadPrec ConfigStatus
Int -> ReadS ConfigStatus
ReadS [ConfigStatus]
(Int -> ReadS ConfigStatus)
-> ReadS [ConfigStatus]
-> ReadPrec ConfigStatus
-> ReadPrec [ConfigStatus]
-> Read ConfigStatus
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ConfigStatus]
$creadListPrec :: ReadPrec [ConfigStatus]
readPrec :: ReadPrec ConfigStatus
$creadPrec :: ReadPrec ConfigStatus
readList :: ReadS [ConfigStatus]
$creadList :: ReadS [ConfigStatus]
readsPrec :: Int -> ReadS ConfigStatus
$creadsPrec :: Int -> ReadS ConfigStatus
Prelude.Read,
ConfigStatus -> ConfigStatus -> Bool
(ConfigStatus -> ConfigStatus -> Bool)
-> (ConfigStatus -> ConfigStatus -> Bool) -> Eq ConfigStatus
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ConfigStatus -> ConfigStatus -> Bool
$c/= :: ConfigStatus -> ConfigStatus -> Bool
== :: ConfigStatus -> ConfigStatus -> Bool
$c== :: ConfigStatus -> ConfigStatus -> Bool
Prelude.Eq,
Eq ConfigStatus
Eq ConfigStatus
-> (ConfigStatus -> ConfigStatus -> Ordering)
-> (ConfigStatus -> ConfigStatus -> Bool)
-> (ConfigStatus -> ConfigStatus -> Bool)
-> (ConfigStatus -> ConfigStatus -> Bool)
-> (ConfigStatus -> ConfigStatus -> Bool)
-> (ConfigStatus -> ConfigStatus -> ConfigStatus)
-> (ConfigStatus -> ConfigStatus -> ConfigStatus)
-> Ord ConfigStatus
ConfigStatus -> ConfigStatus -> Bool
ConfigStatus -> ConfigStatus -> Ordering
ConfigStatus -> ConfigStatus -> ConfigStatus
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 :: ConfigStatus -> ConfigStatus -> ConfigStatus
$cmin :: ConfigStatus -> ConfigStatus -> ConfigStatus
max :: ConfigStatus -> ConfigStatus -> ConfigStatus
$cmax :: ConfigStatus -> ConfigStatus -> ConfigStatus
>= :: ConfigStatus -> ConfigStatus -> Bool
$c>= :: ConfigStatus -> ConfigStatus -> Bool
> :: ConfigStatus -> ConfigStatus -> Bool
$c> :: ConfigStatus -> ConfigStatus -> Bool
<= :: ConfigStatus -> ConfigStatus -> Bool
$c<= :: ConfigStatus -> ConfigStatus -> Bool
< :: ConfigStatus -> ConfigStatus -> Bool
$c< :: ConfigStatus -> ConfigStatus -> Bool
compare :: ConfigStatus -> ConfigStatus -> Ordering
$ccompare :: ConfigStatus -> ConfigStatus -> Ordering
$cp1Ord :: Eq ConfigStatus
Prelude.Ord,
(forall x. ConfigStatus -> Rep ConfigStatus x)
-> (forall x. Rep ConfigStatus x -> ConfigStatus)
-> Generic ConfigStatus
forall x. Rep ConfigStatus x -> ConfigStatus
forall x. ConfigStatus -> Rep ConfigStatus x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep ConfigStatus x -> ConfigStatus
$cfrom :: forall x. ConfigStatus -> Rep ConfigStatus x
Prelude.Generic
)
deriving newtype
( Int -> ConfigStatus -> Int
ConfigStatus -> Int
(Int -> ConfigStatus -> Int)
-> (ConfigStatus -> Int) -> Hashable ConfigStatus
forall a. (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: ConfigStatus -> Int
$chash :: ConfigStatus -> Int
hashWithSalt :: Int -> ConfigStatus -> Int
$chashWithSalt :: Int -> ConfigStatus -> Int
Prelude.Hashable,
ConfigStatus -> ()
(ConfigStatus -> ()) -> NFData ConfigStatus
forall a. (a -> ()) -> NFData a
rnf :: ConfigStatus -> ()
$crnf :: ConfigStatus -> ()
Prelude.NFData,
Text -> Either String ConfigStatus
(Text -> Either String ConfigStatus) -> FromText ConfigStatus
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String ConfigStatus
$cfromText :: Text -> Either String ConfigStatus
Core.FromText,
ConfigStatus -> Text
(ConfigStatus -> Text) -> ToText ConfigStatus
forall a. (a -> Text) -> ToText a
toText :: ConfigStatus -> Text
$ctoText :: ConfigStatus -> Text
Core.ToText,
ConfigStatus -> ByteString
(ConfigStatus -> ByteString) -> ToByteString ConfigStatus
forall a. (a -> ByteString) -> ToByteString a
toBS :: ConfigStatus -> ByteString
$ctoBS :: ConfigStatus -> ByteString
Core.ToByteString,
ConfigStatus -> ByteStringBuilder
(ConfigStatus -> ByteStringBuilder) -> ToLog ConfigStatus
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: ConfigStatus -> ByteStringBuilder
$cbuild :: ConfigStatus -> ByteStringBuilder
Core.ToLog,
HeaderName -> ConfigStatus -> [Header]
(HeaderName -> ConfigStatus -> [Header]) -> ToHeader ConfigStatus
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> ConfigStatus -> [Header]
$ctoHeader :: HeaderName -> ConfigStatus -> [Header]
Core.ToHeader,
ConfigStatus -> QueryString
(ConfigStatus -> QueryString) -> ToQuery ConfigStatus
forall a. (a -> QueryString) -> ToQuery a
toQuery :: ConfigStatus -> QueryString
$ctoQuery :: ConfigStatus -> QueryString
Core.ToQuery,
Value -> Parser [ConfigStatus]
Value -> Parser ConfigStatus
(Value -> Parser ConfigStatus)
-> (Value -> Parser [ConfigStatus]) -> FromJSON ConfigStatus
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [ConfigStatus]
$cparseJSONList :: Value -> Parser [ConfigStatus]
parseJSON :: Value -> Parser ConfigStatus
$cparseJSON :: Value -> Parser ConfigStatus
Core.FromJSON,
FromJSONKeyFunction [ConfigStatus]
FromJSONKeyFunction ConfigStatus
FromJSONKeyFunction ConfigStatus
-> FromJSONKeyFunction [ConfigStatus] -> FromJSONKey ConfigStatus
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [ConfigStatus]
$cfromJSONKeyList :: FromJSONKeyFunction [ConfigStatus]
fromJSONKey :: FromJSONKeyFunction ConfigStatus
$cfromJSONKey :: FromJSONKeyFunction ConfigStatus
Core.FromJSONKey,
[ConfigStatus] -> Encoding
[ConfigStatus] -> Value
ConfigStatus -> Encoding
ConfigStatus -> Value
(ConfigStatus -> Value)
-> (ConfigStatus -> Encoding)
-> ([ConfigStatus] -> Value)
-> ([ConfigStatus] -> Encoding)
-> ToJSON ConfigStatus
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [ConfigStatus] -> Encoding
$ctoEncodingList :: [ConfigStatus] -> Encoding
toJSONList :: [ConfigStatus] -> Value
$ctoJSONList :: [ConfigStatus] -> Value
toEncoding :: ConfigStatus -> Encoding
$ctoEncoding :: ConfigStatus -> Encoding
toJSON :: ConfigStatus -> Value
$ctoJSON :: ConfigStatus -> Value
Core.ToJSON,
ToJSONKeyFunction [ConfigStatus]
ToJSONKeyFunction ConfigStatus
ToJSONKeyFunction ConfigStatus
-> ToJSONKeyFunction [ConfigStatus] -> ToJSONKey ConfigStatus
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [ConfigStatus]
$ctoJSONKeyList :: ToJSONKeyFunction [ConfigStatus]
toJSONKey :: ToJSONKeyFunction ConfigStatus
$ctoJSONKey :: ToJSONKeyFunction ConfigStatus
Core.ToJSONKey,
[Node] -> Either String ConfigStatus
([Node] -> Either String ConfigStatus) -> FromXML ConfigStatus
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String ConfigStatus
$cparseXML :: [Node] -> Either String ConfigStatus
Core.FromXML,
ConfigStatus -> XML
(ConfigStatus -> XML) -> ToXML ConfigStatus
forall a. (a -> XML) -> ToXML a
toXML :: ConfigStatus -> XML
$ctoXML :: ConfigStatus -> XML
Core.ToXML
)
pattern ConfigStatus_ACTIVE :: ConfigStatus
pattern $bConfigStatus_ACTIVE :: ConfigStatus
$mConfigStatus_ACTIVE :: forall r. ConfigStatus -> (Void# -> r) -> (Void# -> r) -> r
ConfigStatus_ACTIVE = ConfigStatus' "ACTIVE"
pattern ConfigStatus_CREATING :: ConfigStatus
pattern $bConfigStatus_CREATING :: ConfigStatus
$mConfigStatus_CREATING :: forall r. ConfigStatus -> (Void# -> r) -> (Void# -> r) -> r
ConfigStatus_CREATING = ConfigStatus' "CREATING"
pattern ConfigStatus_DELETING :: ConfigStatus
pattern $bConfigStatus_DELETING :: ConfigStatus
$mConfigStatus_DELETING :: forall r. ConfigStatus -> (Void# -> r) -> (Void# -> r) -> r
ConfigStatus_DELETING = ConfigStatus' "DELETING"
{-# COMPLETE
ConfigStatus_ACTIVE,
ConfigStatus_CREATING,
ConfigStatus_DELETING,
ConfigStatus'
#-}