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