{-# 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.StackStatus
( StackStatus
( ..,
StackStatus_CREATE_COMPLETE,
StackStatus_CREATE_FAILED,
StackStatus_CREATE_IN_PROGRESS,
StackStatus_DELETE_COMPLETE,
StackStatus_DELETE_FAILED,
StackStatus_DELETE_IN_PROGRESS,
StackStatus_IMPORT_COMPLETE,
StackStatus_IMPORT_IN_PROGRESS,
StackStatus_IMPORT_ROLLBACK_COMPLETE,
StackStatus_IMPORT_ROLLBACK_FAILED,
StackStatus_IMPORT_ROLLBACK_IN_PROGRESS,
StackStatus_REVIEW_IN_PROGRESS,
StackStatus_ROLLBACK_COMPLETE,
StackStatus_ROLLBACK_FAILED,
StackStatus_ROLLBACK_IN_PROGRESS,
StackStatus_UPDATE_COMPLETE,
StackStatus_UPDATE_COMPLETE_CLEANUP_IN_PROGRESS,
StackStatus_UPDATE_FAILED,
StackStatus_UPDATE_IN_PROGRESS,
StackStatus_UPDATE_ROLLBACK_COMPLETE,
StackStatus_UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS,
StackStatus_UPDATE_ROLLBACK_FAILED,
StackStatus_UPDATE_ROLLBACK_IN_PROGRESS
),
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Data as Data
import qualified Amazonka.Prelude as Prelude
newtype StackStatus = StackStatus'
{ StackStatus -> Text
fromStackStatus ::
Data.Text
}
deriving stock
( Int -> StackStatus -> ShowS
[StackStatus] -> ShowS
StackStatus -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [StackStatus] -> ShowS
$cshowList :: [StackStatus] -> ShowS
show :: StackStatus -> String
$cshow :: StackStatus -> String
showsPrec :: Int -> StackStatus -> ShowS
$cshowsPrec :: Int -> StackStatus -> ShowS
Prelude.Show,
ReadPrec [StackStatus]
ReadPrec StackStatus
Int -> ReadS StackStatus
ReadS [StackStatus]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [StackStatus]
$creadListPrec :: ReadPrec [StackStatus]
readPrec :: ReadPrec StackStatus
$creadPrec :: ReadPrec StackStatus
readList :: ReadS [StackStatus]
$creadList :: ReadS [StackStatus]
readsPrec :: Int -> ReadS StackStatus
$creadsPrec :: Int -> ReadS StackStatus
Prelude.Read,
StackStatus -> StackStatus -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: StackStatus -> StackStatus -> Bool
$c/= :: StackStatus -> StackStatus -> Bool
== :: StackStatus -> StackStatus -> Bool
$c== :: StackStatus -> StackStatus -> Bool
Prelude.Eq,
Eq StackStatus
StackStatus -> StackStatus -> Bool
StackStatus -> StackStatus -> Ordering
StackStatus -> StackStatus -> StackStatus
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 :: StackStatus -> StackStatus -> StackStatus
$cmin :: StackStatus -> StackStatus -> StackStatus
max :: StackStatus -> StackStatus -> StackStatus
$cmax :: StackStatus -> StackStatus -> StackStatus
>= :: StackStatus -> StackStatus -> Bool
$c>= :: StackStatus -> StackStatus -> Bool
> :: StackStatus -> StackStatus -> Bool
$c> :: StackStatus -> StackStatus -> Bool
<= :: StackStatus -> StackStatus -> Bool
$c<= :: StackStatus -> StackStatus -> Bool
< :: StackStatus -> StackStatus -> Bool
$c< :: StackStatus -> StackStatus -> Bool
compare :: StackStatus -> StackStatus -> Ordering
$ccompare :: StackStatus -> StackStatus -> Ordering
Prelude.Ord,
forall x. Rep StackStatus x -> StackStatus
forall x. StackStatus -> Rep StackStatus x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep StackStatus x -> StackStatus
$cfrom :: forall x. StackStatus -> Rep StackStatus x
Prelude.Generic
)
deriving newtype
( Eq StackStatus
Int -> StackStatus -> Int
StackStatus -> Int
forall a. Eq a -> (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: StackStatus -> Int
$chash :: StackStatus -> Int
hashWithSalt :: Int -> StackStatus -> Int
$chashWithSalt :: Int -> StackStatus -> Int
Prelude.Hashable,
StackStatus -> ()
forall a. (a -> ()) -> NFData a
rnf :: StackStatus -> ()
$crnf :: StackStatus -> ()
Prelude.NFData,
Text -> Either String StackStatus
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String StackStatus
$cfromText :: Text -> Either String StackStatus
Data.FromText,
StackStatus -> Text
forall a. (a -> Text) -> ToText a
toText :: StackStatus -> Text
$ctoText :: StackStatus -> Text
Data.ToText,
StackStatus -> ByteString
forall a. (a -> ByteString) -> ToByteString a
toBS :: StackStatus -> ByteString
$ctoBS :: StackStatus -> ByteString
Data.ToByteString,
StackStatus -> ByteStringBuilder
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: StackStatus -> ByteStringBuilder
$cbuild :: StackStatus -> ByteStringBuilder
Data.ToLog,
HeaderName -> StackStatus -> [Header]
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> StackStatus -> [Header]
$ctoHeader :: HeaderName -> StackStatus -> [Header]
Data.ToHeader,
StackStatus -> QueryString
forall a. (a -> QueryString) -> ToQuery a
toQuery :: StackStatus -> QueryString
$ctoQuery :: StackStatus -> QueryString
Data.ToQuery,
Value -> Parser [StackStatus]
Value -> Parser StackStatus
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [StackStatus]
$cparseJSONList :: Value -> Parser [StackStatus]
parseJSON :: Value -> Parser StackStatus
$cparseJSON :: Value -> Parser StackStatus
Data.FromJSON,
FromJSONKeyFunction [StackStatus]
FromJSONKeyFunction StackStatus
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [StackStatus]
$cfromJSONKeyList :: FromJSONKeyFunction [StackStatus]
fromJSONKey :: FromJSONKeyFunction StackStatus
$cfromJSONKey :: FromJSONKeyFunction StackStatus
Data.FromJSONKey,
[StackStatus] -> Encoding
[StackStatus] -> Value
StackStatus -> Encoding
StackStatus -> Value
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [StackStatus] -> Encoding
$ctoEncodingList :: [StackStatus] -> Encoding
toJSONList :: [StackStatus] -> Value
$ctoJSONList :: [StackStatus] -> Value
toEncoding :: StackStatus -> Encoding
$ctoEncoding :: StackStatus -> Encoding
toJSON :: StackStatus -> Value
$ctoJSON :: StackStatus -> Value
Data.ToJSON,
ToJSONKeyFunction [StackStatus]
ToJSONKeyFunction StackStatus
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [StackStatus]
$ctoJSONKeyList :: ToJSONKeyFunction [StackStatus]
toJSONKey :: ToJSONKeyFunction StackStatus
$ctoJSONKey :: ToJSONKeyFunction StackStatus
Data.ToJSONKey,
[Node] -> Either String StackStatus
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String StackStatus
$cparseXML :: [Node] -> Either String StackStatus
Data.FromXML,
StackStatus -> XML
forall a. (a -> XML) -> ToXML a
toXML :: StackStatus -> XML
$ctoXML :: StackStatus -> XML
Data.ToXML
)
pattern StackStatus_CREATE_COMPLETE :: StackStatus
pattern $bStackStatus_CREATE_COMPLETE :: StackStatus
$mStackStatus_CREATE_COMPLETE :: forall {r}. StackStatus -> ((# #) -> r) -> ((# #) -> r) -> r
StackStatus_CREATE_COMPLETE = StackStatus' "CREATE_COMPLETE"
pattern StackStatus_CREATE_FAILED :: StackStatus
pattern $bStackStatus_CREATE_FAILED :: StackStatus
$mStackStatus_CREATE_FAILED :: forall {r}. StackStatus -> ((# #) -> r) -> ((# #) -> r) -> r
StackStatus_CREATE_FAILED = StackStatus' "CREATE_FAILED"
pattern StackStatus_CREATE_IN_PROGRESS :: StackStatus
pattern $bStackStatus_CREATE_IN_PROGRESS :: StackStatus
$mStackStatus_CREATE_IN_PROGRESS :: forall {r}. StackStatus -> ((# #) -> r) -> ((# #) -> r) -> r
StackStatus_CREATE_IN_PROGRESS = StackStatus' "CREATE_IN_PROGRESS"
pattern StackStatus_DELETE_COMPLETE :: StackStatus
pattern $bStackStatus_DELETE_COMPLETE :: StackStatus
$mStackStatus_DELETE_COMPLETE :: forall {r}. StackStatus -> ((# #) -> r) -> ((# #) -> r) -> r
StackStatus_DELETE_COMPLETE = StackStatus' "DELETE_COMPLETE"
pattern StackStatus_DELETE_FAILED :: StackStatus
pattern $bStackStatus_DELETE_FAILED :: StackStatus
$mStackStatus_DELETE_FAILED :: forall {r}. StackStatus -> ((# #) -> r) -> ((# #) -> r) -> r
StackStatus_DELETE_FAILED = StackStatus' "DELETE_FAILED"
pattern StackStatus_DELETE_IN_PROGRESS :: StackStatus
pattern $bStackStatus_DELETE_IN_PROGRESS :: StackStatus
$mStackStatus_DELETE_IN_PROGRESS :: forall {r}. StackStatus -> ((# #) -> r) -> ((# #) -> r) -> r
StackStatus_DELETE_IN_PROGRESS = StackStatus' "DELETE_IN_PROGRESS"
pattern StackStatus_IMPORT_COMPLETE :: StackStatus
pattern $bStackStatus_IMPORT_COMPLETE :: StackStatus
$mStackStatus_IMPORT_COMPLETE :: forall {r}. StackStatus -> ((# #) -> r) -> ((# #) -> r) -> r
StackStatus_IMPORT_COMPLETE = StackStatus' "IMPORT_COMPLETE"
pattern StackStatus_IMPORT_IN_PROGRESS :: StackStatus
pattern $bStackStatus_IMPORT_IN_PROGRESS :: StackStatus
$mStackStatus_IMPORT_IN_PROGRESS :: forall {r}. StackStatus -> ((# #) -> r) -> ((# #) -> r) -> r
StackStatus_IMPORT_IN_PROGRESS = StackStatus' "IMPORT_IN_PROGRESS"
pattern StackStatus_IMPORT_ROLLBACK_COMPLETE :: StackStatus
pattern $bStackStatus_IMPORT_ROLLBACK_COMPLETE :: StackStatus
$mStackStatus_IMPORT_ROLLBACK_COMPLETE :: forall {r}. StackStatus -> ((# #) -> r) -> ((# #) -> r) -> r
StackStatus_IMPORT_ROLLBACK_COMPLETE = StackStatus' "IMPORT_ROLLBACK_COMPLETE"
pattern StackStatus_IMPORT_ROLLBACK_FAILED :: StackStatus
pattern $bStackStatus_IMPORT_ROLLBACK_FAILED :: StackStatus
$mStackStatus_IMPORT_ROLLBACK_FAILED :: forall {r}. StackStatus -> ((# #) -> r) -> ((# #) -> r) -> r
StackStatus_IMPORT_ROLLBACK_FAILED = StackStatus' "IMPORT_ROLLBACK_FAILED"
pattern StackStatus_IMPORT_ROLLBACK_IN_PROGRESS :: StackStatus
pattern $bStackStatus_IMPORT_ROLLBACK_IN_PROGRESS :: StackStatus
$mStackStatus_IMPORT_ROLLBACK_IN_PROGRESS :: forall {r}. StackStatus -> ((# #) -> r) -> ((# #) -> r) -> r
StackStatus_IMPORT_ROLLBACK_IN_PROGRESS = StackStatus' "IMPORT_ROLLBACK_IN_PROGRESS"
pattern StackStatus_REVIEW_IN_PROGRESS :: StackStatus
pattern $bStackStatus_REVIEW_IN_PROGRESS :: StackStatus
$mStackStatus_REVIEW_IN_PROGRESS :: forall {r}. StackStatus -> ((# #) -> r) -> ((# #) -> r) -> r
StackStatus_REVIEW_IN_PROGRESS = StackStatus' "REVIEW_IN_PROGRESS"
pattern StackStatus_ROLLBACK_COMPLETE :: StackStatus
pattern $bStackStatus_ROLLBACK_COMPLETE :: StackStatus
$mStackStatus_ROLLBACK_COMPLETE :: forall {r}. StackStatus -> ((# #) -> r) -> ((# #) -> r) -> r
StackStatus_ROLLBACK_COMPLETE = StackStatus' "ROLLBACK_COMPLETE"
pattern StackStatus_ROLLBACK_FAILED :: StackStatus
pattern $bStackStatus_ROLLBACK_FAILED :: StackStatus
$mStackStatus_ROLLBACK_FAILED :: forall {r}. StackStatus -> ((# #) -> r) -> ((# #) -> r) -> r
StackStatus_ROLLBACK_FAILED = StackStatus' "ROLLBACK_FAILED"
pattern StackStatus_ROLLBACK_IN_PROGRESS :: StackStatus
pattern $bStackStatus_ROLLBACK_IN_PROGRESS :: StackStatus
$mStackStatus_ROLLBACK_IN_PROGRESS :: forall {r}. StackStatus -> ((# #) -> r) -> ((# #) -> r) -> r
StackStatus_ROLLBACK_IN_PROGRESS = StackStatus' "ROLLBACK_IN_PROGRESS"
pattern StackStatus_UPDATE_COMPLETE :: StackStatus
pattern $bStackStatus_UPDATE_COMPLETE :: StackStatus
$mStackStatus_UPDATE_COMPLETE :: forall {r}. StackStatus -> ((# #) -> r) -> ((# #) -> r) -> r
StackStatus_UPDATE_COMPLETE = StackStatus' "UPDATE_COMPLETE"
pattern StackStatus_UPDATE_COMPLETE_CLEANUP_IN_PROGRESS :: StackStatus
pattern $bStackStatus_UPDATE_COMPLETE_CLEANUP_IN_PROGRESS :: StackStatus
$mStackStatus_UPDATE_COMPLETE_CLEANUP_IN_PROGRESS :: forall {r}. StackStatus -> ((# #) -> r) -> ((# #) -> r) -> r
StackStatus_UPDATE_COMPLETE_CLEANUP_IN_PROGRESS = StackStatus' "UPDATE_COMPLETE_CLEANUP_IN_PROGRESS"
pattern StackStatus_UPDATE_FAILED :: StackStatus
pattern $bStackStatus_UPDATE_FAILED :: StackStatus
$mStackStatus_UPDATE_FAILED :: forall {r}. StackStatus -> ((# #) -> r) -> ((# #) -> r) -> r
StackStatus_UPDATE_FAILED = StackStatus' "UPDATE_FAILED"
pattern StackStatus_UPDATE_IN_PROGRESS :: StackStatus
pattern $bStackStatus_UPDATE_IN_PROGRESS :: StackStatus
$mStackStatus_UPDATE_IN_PROGRESS :: forall {r}. StackStatus -> ((# #) -> r) -> ((# #) -> r) -> r
StackStatus_UPDATE_IN_PROGRESS = StackStatus' "UPDATE_IN_PROGRESS"
pattern StackStatus_UPDATE_ROLLBACK_COMPLETE :: StackStatus
pattern $bStackStatus_UPDATE_ROLLBACK_COMPLETE :: StackStatus
$mStackStatus_UPDATE_ROLLBACK_COMPLETE :: forall {r}. StackStatus -> ((# #) -> r) -> ((# #) -> r) -> r
StackStatus_UPDATE_ROLLBACK_COMPLETE = StackStatus' "UPDATE_ROLLBACK_COMPLETE"
pattern StackStatus_UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS :: StackStatus
pattern $bStackStatus_UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS :: StackStatus
$mStackStatus_UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS :: forall {r}. StackStatus -> ((# #) -> r) -> ((# #) -> r) -> r
StackStatus_UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS = StackStatus' "UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS"
pattern StackStatus_UPDATE_ROLLBACK_FAILED :: StackStatus
pattern $bStackStatus_UPDATE_ROLLBACK_FAILED :: StackStatus
$mStackStatus_UPDATE_ROLLBACK_FAILED :: forall {r}. StackStatus -> ((# #) -> r) -> ((# #) -> r) -> r
StackStatus_UPDATE_ROLLBACK_FAILED = StackStatus' "UPDATE_ROLLBACK_FAILED"
pattern StackStatus_UPDATE_ROLLBACK_IN_PROGRESS :: StackStatus
pattern $bStackStatus_UPDATE_ROLLBACK_IN_PROGRESS :: StackStatus
$mStackStatus_UPDATE_ROLLBACK_IN_PROGRESS :: forall {r}. StackStatus -> ((# #) -> r) -> ((# #) -> r) -> r
StackStatus_UPDATE_ROLLBACK_IN_PROGRESS = StackStatus' "UPDATE_ROLLBACK_IN_PROGRESS"
{-# COMPLETE
StackStatus_CREATE_COMPLETE,
StackStatus_CREATE_FAILED,
StackStatus_CREATE_IN_PROGRESS,
StackStatus_DELETE_COMPLETE,
StackStatus_DELETE_FAILED,
StackStatus_DELETE_IN_PROGRESS,
StackStatus_IMPORT_COMPLETE,
StackStatus_IMPORT_IN_PROGRESS,
StackStatus_IMPORT_ROLLBACK_COMPLETE,
StackStatus_IMPORT_ROLLBACK_FAILED,
StackStatus_IMPORT_ROLLBACK_IN_PROGRESS,
StackStatus_REVIEW_IN_PROGRESS,
StackStatus_ROLLBACK_COMPLETE,
StackStatus_ROLLBACK_FAILED,
StackStatus_ROLLBACK_IN_PROGRESS,
StackStatus_UPDATE_COMPLETE,
StackStatus_UPDATE_COMPLETE_CLEANUP_IN_PROGRESS,
StackStatus_UPDATE_FAILED,
StackStatus_UPDATE_IN_PROGRESS,
StackStatus_UPDATE_ROLLBACK_COMPLETE,
StackStatus_UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS,
StackStatus_UPDATE_ROLLBACK_FAILED,
StackStatus_UPDATE_ROLLBACK_IN_PROGRESS,
StackStatus'
#-}