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