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