{-# 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.StackInstanceDetailedStatus
( StackInstanceDetailedStatus
( ..,
StackInstanceDetailedStatus_CANCELLED,
StackInstanceDetailedStatus_FAILED,
StackInstanceDetailedStatus_INOPERABLE,
StackInstanceDetailedStatus_PENDING,
StackInstanceDetailedStatus_RUNNING,
StackInstanceDetailedStatus_SUCCEEDED
),
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Data as Data
import qualified Amazonka.Prelude as Prelude
newtype StackInstanceDetailedStatus = StackInstanceDetailedStatus'
{ StackInstanceDetailedStatus -> Text
fromStackInstanceDetailedStatus ::
Data.Text
}
deriving stock
( Int -> StackInstanceDetailedStatus -> ShowS
[StackInstanceDetailedStatus] -> ShowS
StackInstanceDetailedStatus -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [StackInstanceDetailedStatus] -> ShowS
$cshowList :: [StackInstanceDetailedStatus] -> ShowS
show :: StackInstanceDetailedStatus -> String
$cshow :: StackInstanceDetailedStatus -> String
showsPrec :: Int -> StackInstanceDetailedStatus -> ShowS
$cshowsPrec :: Int -> StackInstanceDetailedStatus -> ShowS
Prelude.Show,
ReadPrec [StackInstanceDetailedStatus]
ReadPrec StackInstanceDetailedStatus
Int -> ReadS StackInstanceDetailedStatus
ReadS [StackInstanceDetailedStatus]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [StackInstanceDetailedStatus]
$creadListPrec :: ReadPrec [StackInstanceDetailedStatus]
readPrec :: ReadPrec StackInstanceDetailedStatus
$creadPrec :: ReadPrec StackInstanceDetailedStatus
readList :: ReadS [StackInstanceDetailedStatus]
$creadList :: ReadS [StackInstanceDetailedStatus]
readsPrec :: Int -> ReadS StackInstanceDetailedStatus
$creadsPrec :: Int -> ReadS StackInstanceDetailedStatus
Prelude.Read,
StackInstanceDetailedStatus -> StackInstanceDetailedStatus -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: StackInstanceDetailedStatus -> StackInstanceDetailedStatus -> Bool
$c/= :: StackInstanceDetailedStatus -> StackInstanceDetailedStatus -> Bool
== :: StackInstanceDetailedStatus -> StackInstanceDetailedStatus -> Bool
$c== :: StackInstanceDetailedStatus -> StackInstanceDetailedStatus -> Bool
Prelude.Eq,
Eq StackInstanceDetailedStatus
StackInstanceDetailedStatus -> StackInstanceDetailedStatus -> Bool
StackInstanceDetailedStatus
-> StackInstanceDetailedStatus -> Ordering
StackInstanceDetailedStatus
-> StackInstanceDetailedStatus -> StackInstanceDetailedStatus
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 :: StackInstanceDetailedStatus
-> StackInstanceDetailedStatus -> StackInstanceDetailedStatus
$cmin :: StackInstanceDetailedStatus
-> StackInstanceDetailedStatus -> StackInstanceDetailedStatus
max :: StackInstanceDetailedStatus
-> StackInstanceDetailedStatus -> StackInstanceDetailedStatus
$cmax :: StackInstanceDetailedStatus
-> StackInstanceDetailedStatus -> StackInstanceDetailedStatus
>= :: StackInstanceDetailedStatus -> StackInstanceDetailedStatus -> Bool
$c>= :: StackInstanceDetailedStatus -> StackInstanceDetailedStatus -> Bool
> :: StackInstanceDetailedStatus -> StackInstanceDetailedStatus -> Bool
$c> :: StackInstanceDetailedStatus -> StackInstanceDetailedStatus -> Bool
<= :: StackInstanceDetailedStatus -> StackInstanceDetailedStatus -> Bool
$c<= :: StackInstanceDetailedStatus -> StackInstanceDetailedStatus -> Bool
< :: StackInstanceDetailedStatus -> StackInstanceDetailedStatus -> Bool
$c< :: StackInstanceDetailedStatus -> StackInstanceDetailedStatus -> Bool
compare :: StackInstanceDetailedStatus
-> StackInstanceDetailedStatus -> Ordering
$ccompare :: StackInstanceDetailedStatus
-> StackInstanceDetailedStatus -> Ordering
Prelude.Ord,
forall x.
Rep StackInstanceDetailedStatus x -> StackInstanceDetailedStatus
forall x.
StackInstanceDetailedStatus -> Rep StackInstanceDetailedStatus x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep StackInstanceDetailedStatus x -> StackInstanceDetailedStatus
$cfrom :: forall x.
StackInstanceDetailedStatus -> Rep StackInstanceDetailedStatus x
Prelude.Generic
)
deriving newtype
( Eq StackInstanceDetailedStatus
Int -> StackInstanceDetailedStatus -> Int
StackInstanceDetailedStatus -> Int
forall a. Eq a -> (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: StackInstanceDetailedStatus -> Int
$chash :: StackInstanceDetailedStatus -> Int
hashWithSalt :: Int -> StackInstanceDetailedStatus -> Int
$chashWithSalt :: Int -> StackInstanceDetailedStatus -> Int
Prelude.Hashable,
StackInstanceDetailedStatus -> ()
forall a. (a -> ()) -> NFData a
rnf :: StackInstanceDetailedStatus -> ()
$crnf :: StackInstanceDetailedStatus -> ()
Prelude.NFData,
Text -> Either String StackInstanceDetailedStatus
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String StackInstanceDetailedStatus
$cfromText :: Text -> Either String StackInstanceDetailedStatus
Data.FromText,
StackInstanceDetailedStatus -> Text
forall a. (a -> Text) -> ToText a
toText :: StackInstanceDetailedStatus -> Text
$ctoText :: StackInstanceDetailedStatus -> Text
Data.ToText,
StackInstanceDetailedStatus -> ByteString
forall a. (a -> ByteString) -> ToByteString a
toBS :: StackInstanceDetailedStatus -> ByteString
$ctoBS :: StackInstanceDetailedStatus -> ByteString
Data.ToByteString,
StackInstanceDetailedStatus -> ByteStringBuilder
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: StackInstanceDetailedStatus -> ByteStringBuilder
$cbuild :: StackInstanceDetailedStatus -> ByteStringBuilder
Data.ToLog,
HeaderName -> StackInstanceDetailedStatus -> [Header]
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> StackInstanceDetailedStatus -> [Header]
$ctoHeader :: HeaderName -> StackInstanceDetailedStatus -> [Header]
Data.ToHeader,
StackInstanceDetailedStatus -> QueryString
forall a. (a -> QueryString) -> ToQuery a
toQuery :: StackInstanceDetailedStatus -> QueryString
$ctoQuery :: StackInstanceDetailedStatus -> QueryString
Data.ToQuery,
Value -> Parser [StackInstanceDetailedStatus]
Value -> Parser StackInstanceDetailedStatus
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [StackInstanceDetailedStatus]
$cparseJSONList :: Value -> Parser [StackInstanceDetailedStatus]
parseJSON :: Value -> Parser StackInstanceDetailedStatus
$cparseJSON :: Value -> Parser StackInstanceDetailedStatus
Data.FromJSON,
FromJSONKeyFunction [StackInstanceDetailedStatus]
FromJSONKeyFunction StackInstanceDetailedStatus
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [StackInstanceDetailedStatus]
$cfromJSONKeyList :: FromJSONKeyFunction [StackInstanceDetailedStatus]
fromJSONKey :: FromJSONKeyFunction StackInstanceDetailedStatus
$cfromJSONKey :: FromJSONKeyFunction StackInstanceDetailedStatus
Data.FromJSONKey,
[StackInstanceDetailedStatus] -> Encoding
[StackInstanceDetailedStatus] -> Value
StackInstanceDetailedStatus -> Encoding
StackInstanceDetailedStatus -> Value
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [StackInstanceDetailedStatus] -> Encoding
$ctoEncodingList :: [StackInstanceDetailedStatus] -> Encoding
toJSONList :: [StackInstanceDetailedStatus] -> Value
$ctoJSONList :: [StackInstanceDetailedStatus] -> Value
toEncoding :: StackInstanceDetailedStatus -> Encoding
$ctoEncoding :: StackInstanceDetailedStatus -> Encoding
toJSON :: StackInstanceDetailedStatus -> Value
$ctoJSON :: StackInstanceDetailedStatus -> Value
Data.ToJSON,
ToJSONKeyFunction [StackInstanceDetailedStatus]
ToJSONKeyFunction StackInstanceDetailedStatus
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [StackInstanceDetailedStatus]
$ctoJSONKeyList :: ToJSONKeyFunction [StackInstanceDetailedStatus]
toJSONKey :: ToJSONKeyFunction StackInstanceDetailedStatus
$ctoJSONKey :: ToJSONKeyFunction StackInstanceDetailedStatus
Data.ToJSONKey,
[Node] -> Either String StackInstanceDetailedStatus
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String StackInstanceDetailedStatus
$cparseXML :: [Node] -> Either String StackInstanceDetailedStatus
Data.FromXML,
StackInstanceDetailedStatus -> XML
forall a. (a -> XML) -> ToXML a
toXML :: StackInstanceDetailedStatus -> XML
$ctoXML :: StackInstanceDetailedStatus -> XML
Data.ToXML
)
pattern StackInstanceDetailedStatus_CANCELLED :: StackInstanceDetailedStatus
pattern $bStackInstanceDetailedStatus_CANCELLED :: StackInstanceDetailedStatus
$mStackInstanceDetailedStatus_CANCELLED :: forall {r}.
StackInstanceDetailedStatus -> ((# #) -> r) -> ((# #) -> r) -> r
StackInstanceDetailedStatus_CANCELLED = StackInstanceDetailedStatus' "CANCELLED"
pattern StackInstanceDetailedStatus_FAILED :: StackInstanceDetailedStatus
pattern $bStackInstanceDetailedStatus_FAILED :: StackInstanceDetailedStatus
$mStackInstanceDetailedStatus_FAILED :: forall {r}.
StackInstanceDetailedStatus -> ((# #) -> r) -> ((# #) -> r) -> r
StackInstanceDetailedStatus_FAILED = StackInstanceDetailedStatus' "FAILED"
pattern StackInstanceDetailedStatus_INOPERABLE :: StackInstanceDetailedStatus
pattern $bStackInstanceDetailedStatus_INOPERABLE :: StackInstanceDetailedStatus
$mStackInstanceDetailedStatus_INOPERABLE :: forall {r}.
StackInstanceDetailedStatus -> ((# #) -> r) -> ((# #) -> r) -> r
StackInstanceDetailedStatus_INOPERABLE = StackInstanceDetailedStatus' "INOPERABLE"
pattern StackInstanceDetailedStatus_PENDING :: StackInstanceDetailedStatus
pattern $bStackInstanceDetailedStatus_PENDING :: StackInstanceDetailedStatus
$mStackInstanceDetailedStatus_PENDING :: forall {r}.
StackInstanceDetailedStatus -> ((# #) -> r) -> ((# #) -> r) -> r
StackInstanceDetailedStatus_PENDING = StackInstanceDetailedStatus' "PENDING"
pattern StackInstanceDetailedStatus_RUNNING :: StackInstanceDetailedStatus
pattern $bStackInstanceDetailedStatus_RUNNING :: StackInstanceDetailedStatus
$mStackInstanceDetailedStatus_RUNNING :: forall {r}.
StackInstanceDetailedStatus -> ((# #) -> r) -> ((# #) -> r) -> r
StackInstanceDetailedStatus_RUNNING = StackInstanceDetailedStatus' "RUNNING"
pattern StackInstanceDetailedStatus_SUCCEEDED :: StackInstanceDetailedStatus
pattern $bStackInstanceDetailedStatus_SUCCEEDED :: StackInstanceDetailedStatus
$mStackInstanceDetailedStatus_SUCCEEDED :: forall {r}.
StackInstanceDetailedStatus -> ((# #) -> r) -> ((# #) -> r) -> r
StackInstanceDetailedStatus_SUCCEEDED = StackInstanceDetailedStatus' "SUCCEEDED"
{-# COMPLETE
StackInstanceDetailedStatus_CANCELLED,
StackInstanceDetailedStatus_FAILED,
StackInstanceDetailedStatus_INOPERABLE,
StackInstanceDetailedStatus_PENDING,
StackInstanceDetailedStatus_RUNNING,
StackInstanceDetailedStatus_SUCCEEDED,
StackInstanceDetailedStatus'
#-}