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