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