{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DerivingStrategies #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
module Amazonka.ECS.Types.StabilityStatus
( StabilityStatus
( ..,
StabilityStatus_STABILIZING,
StabilityStatus_STEADY_STATE
),
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Prelude as Prelude
newtype StabilityStatus = StabilityStatus'
{ StabilityStatus -> Text
fromStabilityStatus ::
Core.Text
}
deriving stock
( Int -> StabilityStatus -> ShowS
[StabilityStatus] -> ShowS
StabilityStatus -> String
(Int -> StabilityStatus -> ShowS)
-> (StabilityStatus -> String)
-> ([StabilityStatus] -> ShowS)
-> Show StabilityStatus
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [StabilityStatus] -> ShowS
$cshowList :: [StabilityStatus] -> ShowS
show :: StabilityStatus -> String
$cshow :: StabilityStatus -> String
showsPrec :: Int -> StabilityStatus -> ShowS
$cshowsPrec :: Int -> StabilityStatus -> ShowS
Prelude.Show,
ReadPrec [StabilityStatus]
ReadPrec StabilityStatus
Int -> ReadS StabilityStatus
ReadS [StabilityStatus]
(Int -> ReadS StabilityStatus)
-> ReadS [StabilityStatus]
-> ReadPrec StabilityStatus
-> ReadPrec [StabilityStatus]
-> Read StabilityStatus
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [StabilityStatus]
$creadListPrec :: ReadPrec [StabilityStatus]
readPrec :: ReadPrec StabilityStatus
$creadPrec :: ReadPrec StabilityStatus
readList :: ReadS [StabilityStatus]
$creadList :: ReadS [StabilityStatus]
readsPrec :: Int -> ReadS StabilityStatus
$creadsPrec :: Int -> ReadS StabilityStatus
Prelude.Read,
StabilityStatus -> StabilityStatus -> Bool
(StabilityStatus -> StabilityStatus -> Bool)
-> (StabilityStatus -> StabilityStatus -> Bool)
-> Eq StabilityStatus
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: StabilityStatus -> StabilityStatus -> Bool
$c/= :: StabilityStatus -> StabilityStatus -> Bool
== :: StabilityStatus -> StabilityStatus -> Bool
$c== :: StabilityStatus -> StabilityStatus -> Bool
Prelude.Eq,
Eq StabilityStatus
Eq StabilityStatus
-> (StabilityStatus -> StabilityStatus -> Ordering)
-> (StabilityStatus -> StabilityStatus -> Bool)
-> (StabilityStatus -> StabilityStatus -> Bool)
-> (StabilityStatus -> StabilityStatus -> Bool)
-> (StabilityStatus -> StabilityStatus -> Bool)
-> (StabilityStatus -> StabilityStatus -> StabilityStatus)
-> (StabilityStatus -> StabilityStatus -> StabilityStatus)
-> Ord StabilityStatus
StabilityStatus -> StabilityStatus -> Bool
StabilityStatus -> StabilityStatus -> Ordering
StabilityStatus -> StabilityStatus -> StabilityStatus
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 :: StabilityStatus -> StabilityStatus -> StabilityStatus
$cmin :: StabilityStatus -> StabilityStatus -> StabilityStatus
max :: StabilityStatus -> StabilityStatus -> StabilityStatus
$cmax :: StabilityStatus -> StabilityStatus -> StabilityStatus
>= :: StabilityStatus -> StabilityStatus -> Bool
$c>= :: StabilityStatus -> StabilityStatus -> Bool
> :: StabilityStatus -> StabilityStatus -> Bool
$c> :: StabilityStatus -> StabilityStatus -> Bool
<= :: StabilityStatus -> StabilityStatus -> Bool
$c<= :: StabilityStatus -> StabilityStatus -> Bool
< :: StabilityStatus -> StabilityStatus -> Bool
$c< :: StabilityStatus -> StabilityStatus -> Bool
compare :: StabilityStatus -> StabilityStatus -> Ordering
$ccompare :: StabilityStatus -> StabilityStatus -> Ordering
$cp1Ord :: Eq StabilityStatus
Prelude.Ord,
(forall x. StabilityStatus -> Rep StabilityStatus x)
-> (forall x. Rep StabilityStatus x -> StabilityStatus)
-> Generic StabilityStatus
forall x. Rep StabilityStatus x -> StabilityStatus
forall x. StabilityStatus -> Rep StabilityStatus x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep StabilityStatus x -> StabilityStatus
$cfrom :: forall x. StabilityStatus -> Rep StabilityStatus x
Prelude.Generic
)
deriving newtype
( Int -> StabilityStatus -> Int
StabilityStatus -> Int
(Int -> StabilityStatus -> Int)
-> (StabilityStatus -> Int) -> Hashable StabilityStatus
forall a. (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: StabilityStatus -> Int
$chash :: StabilityStatus -> Int
hashWithSalt :: Int -> StabilityStatus -> Int
$chashWithSalt :: Int -> StabilityStatus -> Int
Prelude.Hashable,
StabilityStatus -> ()
(StabilityStatus -> ()) -> NFData StabilityStatus
forall a. (a -> ()) -> NFData a
rnf :: StabilityStatus -> ()
$crnf :: StabilityStatus -> ()
Prelude.NFData,
Text -> Either String StabilityStatus
(Text -> Either String StabilityStatus) -> FromText StabilityStatus
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String StabilityStatus
$cfromText :: Text -> Either String StabilityStatus
Core.FromText,
StabilityStatus -> Text
(StabilityStatus -> Text) -> ToText StabilityStatus
forall a. (a -> Text) -> ToText a
toText :: StabilityStatus -> Text
$ctoText :: StabilityStatus -> Text
Core.ToText,
StabilityStatus -> ByteString
(StabilityStatus -> ByteString) -> ToByteString StabilityStatus
forall a. (a -> ByteString) -> ToByteString a
toBS :: StabilityStatus -> ByteString
$ctoBS :: StabilityStatus -> ByteString
Core.ToByteString,
StabilityStatus -> ByteStringBuilder
(StabilityStatus -> ByteStringBuilder) -> ToLog StabilityStatus
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: StabilityStatus -> ByteStringBuilder
$cbuild :: StabilityStatus -> ByteStringBuilder
Core.ToLog,
HeaderName -> StabilityStatus -> [Header]
(HeaderName -> StabilityStatus -> [Header])
-> ToHeader StabilityStatus
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> StabilityStatus -> [Header]
$ctoHeader :: HeaderName -> StabilityStatus -> [Header]
Core.ToHeader,
StabilityStatus -> QueryString
(StabilityStatus -> QueryString) -> ToQuery StabilityStatus
forall a. (a -> QueryString) -> ToQuery a
toQuery :: StabilityStatus -> QueryString
$ctoQuery :: StabilityStatus -> QueryString
Core.ToQuery,
Value -> Parser [StabilityStatus]
Value -> Parser StabilityStatus
(Value -> Parser StabilityStatus)
-> (Value -> Parser [StabilityStatus]) -> FromJSON StabilityStatus
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [StabilityStatus]
$cparseJSONList :: Value -> Parser [StabilityStatus]
parseJSON :: Value -> Parser StabilityStatus
$cparseJSON :: Value -> Parser StabilityStatus
Core.FromJSON,
FromJSONKeyFunction [StabilityStatus]
FromJSONKeyFunction StabilityStatus
FromJSONKeyFunction StabilityStatus
-> FromJSONKeyFunction [StabilityStatus]
-> FromJSONKey StabilityStatus
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [StabilityStatus]
$cfromJSONKeyList :: FromJSONKeyFunction [StabilityStatus]
fromJSONKey :: FromJSONKeyFunction StabilityStatus
$cfromJSONKey :: FromJSONKeyFunction StabilityStatus
Core.FromJSONKey,
[StabilityStatus] -> Encoding
[StabilityStatus] -> Value
StabilityStatus -> Encoding
StabilityStatus -> Value
(StabilityStatus -> Value)
-> (StabilityStatus -> Encoding)
-> ([StabilityStatus] -> Value)
-> ([StabilityStatus] -> Encoding)
-> ToJSON StabilityStatus
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [StabilityStatus] -> Encoding
$ctoEncodingList :: [StabilityStatus] -> Encoding
toJSONList :: [StabilityStatus] -> Value
$ctoJSONList :: [StabilityStatus] -> Value
toEncoding :: StabilityStatus -> Encoding
$ctoEncoding :: StabilityStatus -> Encoding
toJSON :: StabilityStatus -> Value
$ctoJSON :: StabilityStatus -> Value
Core.ToJSON,
ToJSONKeyFunction [StabilityStatus]
ToJSONKeyFunction StabilityStatus
ToJSONKeyFunction StabilityStatus
-> ToJSONKeyFunction [StabilityStatus] -> ToJSONKey StabilityStatus
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [StabilityStatus]
$ctoJSONKeyList :: ToJSONKeyFunction [StabilityStatus]
toJSONKey :: ToJSONKeyFunction StabilityStatus
$ctoJSONKey :: ToJSONKeyFunction StabilityStatus
Core.ToJSONKey,
[Node] -> Either String StabilityStatus
([Node] -> Either String StabilityStatus)
-> FromXML StabilityStatus
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String StabilityStatus
$cparseXML :: [Node] -> Either String StabilityStatus
Core.FromXML,
StabilityStatus -> XML
(StabilityStatus -> XML) -> ToXML StabilityStatus
forall a. (a -> XML) -> ToXML a
toXML :: StabilityStatus -> XML
$ctoXML :: StabilityStatus -> XML
Core.ToXML
)
pattern StabilityStatus_STABILIZING :: StabilityStatus
pattern $bStabilityStatus_STABILIZING :: StabilityStatus
$mStabilityStatus_STABILIZING :: forall r. StabilityStatus -> (Void# -> r) -> (Void# -> r) -> r
StabilityStatus_STABILIZING = StabilityStatus' "STABILIZING"
pattern StabilityStatus_STEADY_STATE :: StabilityStatus
pattern $bStabilityStatus_STEADY_STATE :: StabilityStatus
$mStabilityStatus_STEADY_STATE :: forall r. StabilityStatus -> (Void# -> r) -> (Void# -> r) -> r
StabilityStatus_STEADY_STATE = StabilityStatus' "STEADY_STATE"
{-# COMPLETE
StabilityStatus_STABILIZING,
StabilityStatus_STEADY_STATE,
StabilityStatus'
#-}