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