{-# 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.ChangeSetStatus
( ChangeSetStatus
( ..,
ChangeSetStatus_CREATE_COMPLETE,
ChangeSetStatus_CREATE_IN_PROGRESS,
ChangeSetStatus_CREATE_PENDING,
ChangeSetStatus_DELETE_COMPLETE,
ChangeSetStatus_DELETE_FAILED,
ChangeSetStatus_DELETE_IN_PROGRESS,
ChangeSetStatus_DELETE_PENDING,
ChangeSetStatus_FAILED
),
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Data as Data
import qualified Amazonka.Prelude as Prelude
newtype ChangeSetStatus = ChangeSetStatus'
{ ChangeSetStatus -> Text
fromChangeSetStatus ::
Data.Text
}
deriving stock
( Int -> ChangeSetStatus -> ShowS
[ChangeSetStatus] -> ShowS
ChangeSetStatus -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ChangeSetStatus] -> ShowS
$cshowList :: [ChangeSetStatus] -> ShowS
show :: ChangeSetStatus -> String
$cshow :: ChangeSetStatus -> String
showsPrec :: Int -> ChangeSetStatus -> ShowS
$cshowsPrec :: Int -> ChangeSetStatus -> ShowS
Prelude.Show,
ReadPrec [ChangeSetStatus]
ReadPrec ChangeSetStatus
Int -> ReadS ChangeSetStatus
ReadS [ChangeSetStatus]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ChangeSetStatus]
$creadListPrec :: ReadPrec [ChangeSetStatus]
readPrec :: ReadPrec ChangeSetStatus
$creadPrec :: ReadPrec ChangeSetStatus
readList :: ReadS [ChangeSetStatus]
$creadList :: ReadS [ChangeSetStatus]
readsPrec :: Int -> ReadS ChangeSetStatus
$creadsPrec :: Int -> ReadS ChangeSetStatus
Prelude.Read,
ChangeSetStatus -> ChangeSetStatus -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ChangeSetStatus -> ChangeSetStatus -> Bool
$c/= :: ChangeSetStatus -> ChangeSetStatus -> Bool
== :: ChangeSetStatus -> ChangeSetStatus -> Bool
$c== :: ChangeSetStatus -> ChangeSetStatus -> Bool
Prelude.Eq,
Eq ChangeSetStatus
ChangeSetStatus -> ChangeSetStatus -> Bool
ChangeSetStatus -> ChangeSetStatus -> Ordering
ChangeSetStatus -> ChangeSetStatus -> ChangeSetStatus
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 :: ChangeSetStatus -> ChangeSetStatus -> ChangeSetStatus
$cmin :: ChangeSetStatus -> ChangeSetStatus -> ChangeSetStatus
max :: ChangeSetStatus -> ChangeSetStatus -> ChangeSetStatus
$cmax :: ChangeSetStatus -> ChangeSetStatus -> ChangeSetStatus
>= :: ChangeSetStatus -> ChangeSetStatus -> Bool
$c>= :: ChangeSetStatus -> ChangeSetStatus -> Bool
> :: ChangeSetStatus -> ChangeSetStatus -> Bool
$c> :: ChangeSetStatus -> ChangeSetStatus -> Bool
<= :: ChangeSetStatus -> ChangeSetStatus -> Bool
$c<= :: ChangeSetStatus -> ChangeSetStatus -> Bool
< :: ChangeSetStatus -> ChangeSetStatus -> Bool
$c< :: ChangeSetStatus -> ChangeSetStatus -> Bool
compare :: ChangeSetStatus -> ChangeSetStatus -> Ordering
$ccompare :: ChangeSetStatus -> ChangeSetStatus -> Ordering
Prelude.Ord,
forall x. Rep ChangeSetStatus x -> ChangeSetStatus
forall x. ChangeSetStatus -> Rep ChangeSetStatus x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep ChangeSetStatus x -> ChangeSetStatus
$cfrom :: forall x. ChangeSetStatus -> Rep ChangeSetStatus x
Prelude.Generic
)
deriving newtype
( Eq ChangeSetStatus
Int -> ChangeSetStatus -> Int
ChangeSetStatus -> Int
forall a. Eq a -> (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: ChangeSetStatus -> Int
$chash :: ChangeSetStatus -> Int
hashWithSalt :: Int -> ChangeSetStatus -> Int
$chashWithSalt :: Int -> ChangeSetStatus -> Int
Prelude.Hashable,
ChangeSetStatus -> ()
forall a. (a -> ()) -> NFData a
rnf :: ChangeSetStatus -> ()
$crnf :: ChangeSetStatus -> ()
Prelude.NFData,
Text -> Either String ChangeSetStatus
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String ChangeSetStatus
$cfromText :: Text -> Either String ChangeSetStatus
Data.FromText,
ChangeSetStatus -> Text
forall a. (a -> Text) -> ToText a
toText :: ChangeSetStatus -> Text
$ctoText :: ChangeSetStatus -> Text
Data.ToText,
ChangeSetStatus -> ByteString
forall a. (a -> ByteString) -> ToByteString a
toBS :: ChangeSetStatus -> ByteString
$ctoBS :: ChangeSetStatus -> ByteString
Data.ToByteString,
ChangeSetStatus -> ByteStringBuilder
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: ChangeSetStatus -> ByteStringBuilder
$cbuild :: ChangeSetStatus -> ByteStringBuilder
Data.ToLog,
HeaderName -> ChangeSetStatus -> [Header]
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> ChangeSetStatus -> [Header]
$ctoHeader :: HeaderName -> ChangeSetStatus -> [Header]
Data.ToHeader,
ChangeSetStatus -> QueryString
forall a. (a -> QueryString) -> ToQuery a
toQuery :: ChangeSetStatus -> QueryString
$ctoQuery :: ChangeSetStatus -> QueryString
Data.ToQuery,
Value -> Parser [ChangeSetStatus]
Value -> Parser ChangeSetStatus
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [ChangeSetStatus]
$cparseJSONList :: Value -> Parser [ChangeSetStatus]
parseJSON :: Value -> Parser ChangeSetStatus
$cparseJSON :: Value -> Parser ChangeSetStatus
Data.FromJSON,
FromJSONKeyFunction [ChangeSetStatus]
FromJSONKeyFunction ChangeSetStatus
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [ChangeSetStatus]
$cfromJSONKeyList :: FromJSONKeyFunction [ChangeSetStatus]
fromJSONKey :: FromJSONKeyFunction ChangeSetStatus
$cfromJSONKey :: FromJSONKeyFunction ChangeSetStatus
Data.FromJSONKey,
[ChangeSetStatus] -> Encoding
[ChangeSetStatus] -> Value
ChangeSetStatus -> Encoding
ChangeSetStatus -> Value
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [ChangeSetStatus] -> Encoding
$ctoEncodingList :: [ChangeSetStatus] -> Encoding
toJSONList :: [ChangeSetStatus] -> Value
$ctoJSONList :: [ChangeSetStatus] -> Value
toEncoding :: ChangeSetStatus -> Encoding
$ctoEncoding :: ChangeSetStatus -> Encoding
toJSON :: ChangeSetStatus -> Value
$ctoJSON :: ChangeSetStatus -> Value
Data.ToJSON,
ToJSONKeyFunction [ChangeSetStatus]
ToJSONKeyFunction ChangeSetStatus
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [ChangeSetStatus]
$ctoJSONKeyList :: ToJSONKeyFunction [ChangeSetStatus]
toJSONKey :: ToJSONKeyFunction ChangeSetStatus
$ctoJSONKey :: ToJSONKeyFunction ChangeSetStatus
Data.ToJSONKey,
[Node] -> Either String ChangeSetStatus
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String ChangeSetStatus
$cparseXML :: [Node] -> Either String ChangeSetStatus
Data.FromXML,
ChangeSetStatus -> XML
forall a. (a -> XML) -> ToXML a
toXML :: ChangeSetStatus -> XML
$ctoXML :: ChangeSetStatus -> XML
Data.ToXML
)
pattern ChangeSetStatus_CREATE_COMPLETE :: ChangeSetStatus
pattern $bChangeSetStatus_CREATE_COMPLETE :: ChangeSetStatus
$mChangeSetStatus_CREATE_COMPLETE :: forall {r}. ChangeSetStatus -> ((# #) -> r) -> ((# #) -> r) -> r
ChangeSetStatus_CREATE_COMPLETE = ChangeSetStatus' "CREATE_COMPLETE"
pattern ChangeSetStatus_CREATE_IN_PROGRESS :: ChangeSetStatus
pattern $bChangeSetStatus_CREATE_IN_PROGRESS :: ChangeSetStatus
$mChangeSetStatus_CREATE_IN_PROGRESS :: forall {r}. ChangeSetStatus -> ((# #) -> r) -> ((# #) -> r) -> r
ChangeSetStatus_CREATE_IN_PROGRESS = ChangeSetStatus' "CREATE_IN_PROGRESS"
pattern ChangeSetStatus_CREATE_PENDING :: ChangeSetStatus
pattern $bChangeSetStatus_CREATE_PENDING :: ChangeSetStatus
$mChangeSetStatus_CREATE_PENDING :: forall {r}. ChangeSetStatus -> ((# #) -> r) -> ((# #) -> r) -> r
ChangeSetStatus_CREATE_PENDING = ChangeSetStatus' "CREATE_PENDING"
pattern ChangeSetStatus_DELETE_COMPLETE :: ChangeSetStatus
pattern $bChangeSetStatus_DELETE_COMPLETE :: ChangeSetStatus
$mChangeSetStatus_DELETE_COMPLETE :: forall {r}. ChangeSetStatus -> ((# #) -> r) -> ((# #) -> r) -> r
ChangeSetStatus_DELETE_COMPLETE = ChangeSetStatus' "DELETE_COMPLETE"
pattern ChangeSetStatus_DELETE_FAILED :: ChangeSetStatus
pattern $bChangeSetStatus_DELETE_FAILED :: ChangeSetStatus
$mChangeSetStatus_DELETE_FAILED :: forall {r}. ChangeSetStatus -> ((# #) -> r) -> ((# #) -> r) -> r
ChangeSetStatus_DELETE_FAILED = ChangeSetStatus' "DELETE_FAILED"
pattern ChangeSetStatus_DELETE_IN_PROGRESS :: ChangeSetStatus
pattern $bChangeSetStatus_DELETE_IN_PROGRESS :: ChangeSetStatus
$mChangeSetStatus_DELETE_IN_PROGRESS :: forall {r}. ChangeSetStatus -> ((# #) -> r) -> ((# #) -> r) -> r
ChangeSetStatus_DELETE_IN_PROGRESS = ChangeSetStatus' "DELETE_IN_PROGRESS"
pattern ChangeSetStatus_DELETE_PENDING :: ChangeSetStatus
pattern $bChangeSetStatus_DELETE_PENDING :: ChangeSetStatus
$mChangeSetStatus_DELETE_PENDING :: forall {r}. ChangeSetStatus -> ((# #) -> r) -> ((# #) -> r) -> r
ChangeSetStatus_DELETE_PENDING = ChangeSetStatus' "DELETE_PENDING"
pattern ChangeSetStatus_FAILED :: ChangeSetStatus
pattern $bChangeSetStatus_FAILED :: ChangeSetStatus
$mChangeSetStatus_FAILED :: forall {r}. ChangeSetStatus -> ((# #) -> r) -> ((# #) -> r) -> r
ChangeSetStatus_FAILED = ChangeSetStatus' "FAILED"
{-# COMPLETE
ChangeSetStatus_CREATE_COMPLETE,
ChangeSetStatus_CREATE_IN_PROGRESS,
ChangeSetStatus_CREATE_PENDING,
ChangeSetStatus_DELETE_COMPLETE,
ChangeSetStatus_DELETE_FAILED,
ChangeSetStatus_DELETE_IN_PROGRESS,
ChangeSetStatus_DELETE_PENDING,
ChangeSetStatus_FAILED,
ChangeSetStatus'
#-}