{-# 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.ExecutionStatus
( ExecutionStatus
( ..,
ExecutionStatus_AVAILABLE,
ExecutionStatus_EXECUTE_COMPLETE,
ExecutionStatus_EXECUTE_FAILED,
ExecutionStatus_EXECUTE_IN_PROGRESS,
ExecutionStatus_OBSOLETE,
ExecutionStatus_UNAVAILABLE
),
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Data as Data
import qualified Amazonka.Prelude as Prelude
newtype ExecutionStatus = ExecutionStatus'
{ ExecutionStatus -> Text
fromExecutionStatus ::
Data.Text
}
deriving stock
( Int -> ExecutionStatus -> ShowS
[ExecutionStatus] -> ShowS
ExecutionStatus -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ExecutionStatus] -> ShowS
$cshowList :: [ExecutionStatus] -> ShowS
show :: ExecutionStatus -> String
$cshow :: ExecutionStatus -> String
showsPrec :: Int -> ExecutionStatus -> ShowS
$cshowsPrec :: Int -> ExecutionStatus -> ShowS
Prelude.Show,
ReadPrec [ExecutionStatus]
ReadPrec ExecutionStatus
Int -> ReadS ExecutionStatus
ReadS [ExecutionStatus]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ExecutionStatus]
$creadListPrec :: ReadPrec [ExecutionStatus]
readPrec :: ReadPrec ExecutionStatus
$creadPrec :: ReadPrec ExecutionStatus
readList :: ReadS [ExecutionStatus]
$creadList :: ReadS [ExecutionStatus]
readsPrec :: Int -> ReadS ExecutionStatus
$creadsPrec :: Int -> ReadS ExecutionStatus
Prelude.Read,
ExecutionStatus -> ExecutionStatus -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ExecutionStatus -> ExecutionStatus -> Bool
$c/= :: ExecutionStatus -> ExecutionStatus -> Bool
== :: ExecutionStatus -> ExecutionStatus -> Bool
$c== :: ExecutionStatus -> ExecutionStatus -> Bool
Prelude.Eq,
Eq ExecutionStatus
ExecutionStatus -> ExecutionStatus -> Bool
ExecutionStatus -> ExecutionStatus -> Ordering
ExecutionStatus -> ExecutionStatus -> ExecutionStatus
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 :: ExecutionStatus -> ExecutionStatus -> ExecutionStatus
$cmin :: ExecutionStatus -> ExecutionStatus -> ExecutionStatus
max :: ExecutionStatus -> ExecutionStatus -> ExecutionStatus
$cmax :: ExecutionStatus -> ExecutionStatus -> ExecutionStatus
>= :: ExecutionStatus -> ExecutionStatus -> Bool
$c>= :: ExecutionStatus -> ExecutionStatus -> Bool
> :: ExecutionStatus -> ExecutionStatus -> Bool
$c> :: ExecutionStatus -> ExecutionStatus -> Bool
<= :: ExecutionStatus -> ExecutionStatus -> Bool
$c<= :: ExecutionStatus -> ExecutionStatus -> Bool
< :: ExecutionStatus -> ExecutionStatus -> Bool
$c< :: ExecutionStatus -> ExecutionStatus -> Bool
compare :: ExecutionStatus -> ExecutionStatus -> Ordering
$ccompare :: ExecutionStatus -> ExecutionStatus -> Ordering
Prelude.Ord,
forall x. Rep ExecutionStatus x -> ExecutionStatus
forall x. ExecutionStatus -> Rep ExecutionStatus x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep ExecutionStatus x -> ExecutionStatus
$cfrom :: forall x. ExecutionStatus -> Rep ExecutionStatus x
Prelude.Generic
)
deriving newtype
( Eq ExecutionStatus
Int -> ExecutionStatus -> Int
ExecutionStatus -> Int
forall a. Eq a -> (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: ExecutionStatus -> Int
$chash :: ExecutionStatus -> Int
hashWithSalt :: Int -> ExecutionStatus -> Int
$chashWithSalt :: Int -> ExecutionStatus -> Int
Prelude.Hashable,
ExecutionStatus -> ()
forall a. (a -> ()) -> NFData a
rnf :: ExecutionStatus -> ()
$crnf :: ExecutionStatus -> ()
Prelude.NFData,
Text -> Either String ExecutionStatus
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String ExecutionStatus
$cfromText :: Text -> Either String ExecutionStatus
Data.FromText,
ExecutionStatus -> Text
forall a. (a -> Text) -> ToText a
toText :: ExecutionStatus -> Text
$ctoText :: ExecutionStatus -> Text
Data.ToText,
ExecutionStatus -> ByteString
forall a. (a -> ByteString) -> ToByteString a
toBS :: ExecutionStatus -> ByteString
$ctoBS :: ExecutionStatus -> ByteString
Data.ToByteString,
ExecutionStatus -> ByteStringBuilder
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: ExecutionStatus -> ByteStringBuilder
$cbuild :: ExecutionStatus -> ByteStringBuilder
Data.ToLog,
HeaderName -> ExecutionStatus -> [Header]
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> ExecutionStatus -> [Header]
$ctoHeader :: HeaderName -> ExecutionStatus -> [Header]
Data.ToHeader,
ExecutionStatus -> QueryString
forall a. (a -> QueryString) -> ToQuery a
toQuery :: ExecutionStatus -> QueryString
$ctoQuery :: ExecutionStatus -> QueryString
Data.ToQuery,
Value -> Parser [ExecutionStatus]
Value -> Parser ExecutionStatus
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [ExecutionStatus]
$cparseJSONList :: Value -> Parser [ExecutionStatus]
parseJSON :: Value -> Parser ExecutionStatus
$cparseJSON :: Value -> Parser ExecutionStatus
Data.FromJSON,
FromJSONKeyFunction [ExecutionStatus]
FromJSONKeyFunction ExecutionStatus
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [ExecutionStatus]
$cfromJSONKeyList :: FromJSONKeyFunction [ExecutionStatus]
fromJSONKey :: FromJSONKeyFunction ExecutionStatus
$cfromJSONKey :: FromJSONKeyFunction ExecutionStatus
Data.FromJSONKey,
[ExecutionStatus] -> Encoding
[ExecutionStatus] -> Value
ExecutionStatus -> Encoding
ExecutionStatus -> Value
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [ExecutionStatus] -> Encoding
$ctoEncodingList :: [ExecutionStatus] -> Encoding
toJSONList :: [ExecutionStatus] -> Value
$ctoJSONList :: [ExecutionStatus] -> Value
toEncoding :: ExecutionStatus -> Encoding
$ctoEncoding :: ExecutionStatus -> Encoding
toJSON :: ExecutionStatus -> Value
$ctoJSON :: ExecutionStatus -> Value
Data.ToJSON,
ToJSONKeyFunction [ExecutionStatus]
ToJSONKeyFunction ExecutionStatus
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [ExecutionStatus]
$ctoJSONKeyList :: ToJSONKeyFunction [ExecutionStatus]
toJSONKey :: ToJSONKeyFunction ExecutionStatus
$ctoJSONKey :: ToJSONKeyFunction ExecutionStatus
Data.ToJSONKey,
[Node] -> Either String ExecutionStatus
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String ExecutionStatus
$cparseXML :: [Node] -> Either String ExecutionStatus
Data.FromXML,
ExecutionStatus -> XML
forall a. (a -> XML) -> ToXML a
toXML :: ExecutionStatus -> XML
$ctoXML :: ExecutionStatus -> XML
Data.ToXML
)
pattern ExecutionStatus_AVAILABLE :: ExecutionStatus
pattern $bExecutionStatus_AVAILABLE :: ExecutionStatus
$mExecutionStatus_AVAILABLE :: forall {r}. ExecutionStatus -> ((# #) -> r) -> ((# #) -> r) -> r
ExecutionStatus_AVAILABLE = ExecutionStatus' "AVAILABLE"
pattern ExecutionStatus_EXECUTE_COMPLETE :: ExecutionStatus
pattern $bExecutionStatus_EXECUTE_COMPLETE :: ExecutionStatus
$mExecutionStatus_EXECUTE_COMPLETE :: forall {r}. ExecutionStatus -> ((# #) -> r) -> ((# #) -> r) -> r
ExecutionStatus_EXECUTE_COMPLETE = ExecutionStatus' "EXECUTE_COMPLETE"
pattern ExecutionStatus_EXECUTE_FAILED :: ExecutionStatus
pattern $bExecutionStatus_EXECUTE_FAILED :: ExecutionStatus
$mExecutionStatus_EXECUTE_FAILED :: forall {r}. ExecutionStatus -> ((# #) -> r) -> ((# #) -> r) -> r
ExecutionStatus_EXECUTE_FAILED = ExecutionStatus' "EXECUTE_FAILED"
pattern ExecutionStatus_EXECUTE_IN_PROGRESS :: ExecutionStatus
pattern $bExecutionStatus_EXECUTE_IN_PROGRESS :: ExecutionStatus
$mExecutionStatus_EXECUTE_IN_PROGRESS :: forall {r}. ExecutionStatus -> ((# #) -> r) -> ((# #) -> r) -> r
ExecutionStatus_EXECUTE_IN_PROGRESS = ExecutionStatus' "EXECUTE_IN_PROGRESS"
pattern ExecutionStatus_OBSOLETE :: ExecutionStatus
pattern $bExecutionStatus_OBSOLETE :: ExecutionStatus
$mExecutionStatus_OBSOLETE :: forall {r}. ExecutionStatus -> ((# #) -> r) -> ((# #) -> r) -> r
ExecutionStatus_OBSOLETE = ExecutionStatus' "OBSOLETE"
pattern ExecutionStatus_UNAVAILABLE :: ExecutionStatus
pattern $bExecutionStatus_UNAVAILABLE :: ExecutionStatus
$mExecutionStatus_UNAVAILABLE :: forall {r}. ExecutionStatus -> ((# #) -> r) -> ((# #) -> r) -> r
ExecutionStatus_UNAVAILABLE = ExecutionStatus' "UNAVAILABLE"
{-# COMPLETE
ExecutionStatus_AVAILABLE,
ExecutionStatus_EXECUTE_COMPLETE,
ExecutionStatus_EXECUTE_FAILED,
ExecutionStatus_EXECUTE_IN_PROGRESS,
ExecutionStatus_OBSOLETE,
ExecutionStatus_UNAVAILABLE,
ExecutionStatus'
#-}