{-# 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.Prelude as Prelude
newtype Replacement = Replacement'
{ Replacement -> Text
fromReplacement ::
Core.Text
}
deriving stock
( Int -> Replacement -> ShowS
[Replacement] -> ShowS
Replacement -> String
(Int -> Replacement -> ShowS)
-> (Replacement -> String)
-> ([Replacement] -> ShowS)
-> Show Replacement
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]
(Int -> ReadS Replacement)
-> ReadS [Replacement]
-> ReadPrec Replacement
-> ReadPrec [Replacement]
-> Read 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
(Replacement -> Replacement -> Bool)
-> (Replacement -> Replacement -> Bool) -> Eq Replacement
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
Eq Replacement
-> (Replacement -> Replacement -> Ordering)
-> (Replacement -> Replacement -> Bool)
-> (Replacement -> Replacement -> Bool)
-> (Replacement -> Replacement -> Bool)
-> (Replacement -> Replacement -> Bool)
-> (Replacement -> Replacement -> Replacement)
-> (Replacement -> Replacement -> Replacement)
-> Ord 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
$cp1Ord :: Eq Replacement
Prelude.Ord,
(forall x. Replacement -> Rep Replacement x)
-> (forall x. Rep Replacement x -> Replacement)
-> Generic Replacement
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
( Int -> Replacement -> Int
Replacement -> Int
(Int -> Replacement -> Int)
-> (Replacement -> Int) -> Hashable Replacement
forall 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 -> ()
(Replacement -> ()) -> NFData Replacement
forall a. (a -> ()) -> NFData a
rnf :: Replacement -> ()
$crnf :: Replacement -> ()
Prelude.NFData,
Text -> Either String Replacement
(Text -> Either String Replacement) -> FromText Replacement
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String Replacement
$cfromText :: Text -> Either String Replacement
Core.FromText,
Replacement -> Text
(Replacement -> Text) -> ToText Replacement
forall a. (a -> Text) -> ToText a
toText :: Replacement -> Text
$ctoText :: Replacement -> Text
Core.ToText,
Replacement -> ByteString
(Replacement -> ByteString) -> ToByteString Replacement
forall a. (a -> ByteString) -> ToByteString a
toBS :: Replacement -> ByteString
$ctoBS :: Replacement -> ByteString
Core.ToByteString,
Replacement -> ByteStringBuilder
(Replacement -> ByteStringBuilder) -> ToLog Replacement
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: Replacement -> ByteStringBuilder
$cbuild :: Replacement -> ByteStringBuilder
Core.ToLog,
HeaderName -> Replacement -> [Header]
(HeaderName -> Replacement -> [Header]) -> ToHeader Replacement
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> Replacement -> [Header]
$ctoHeader :: HeaderName -> Replacement -> [Header]
Core.ToHeader,
Replacement -> QueryString
(Replacement -> QueryString) -> ToQuery Replacement
forall a. (a -> QueryString) -> ToQuery a
toQuery :: Replacement -> QueryString
$ctoQuery :: Replacement -> QueryString
Core.ToQuery,
Value -> Parser [Replacement]
Value -> Parser Replacement
(Value -> Parser Replacement)
-> (Value -> Parser [Replacement]) -> FromJSON 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
Core.FromJSON,
FromJSONKeyFunction [Replacement]
FromJSONKeyFunction Replacement
FromJSONKeyFunction Replacement
-> FromJSONKeyFunction [Replacement] -> FromJSONKey Replacement
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [Replacement]
$cfromJSONKeyList :: FromJSONKeyFunction [Replacement]
fromJSONKey :: FromJSONKeyFunction Replacement
$cfromJSONKey :: FromJSONKeyFunction Replacement
Core.FromJSONKey,
[Replacement] -> Encoding
[Replacement] -> Value
Replacement -> Encoding
Replacement -> Value
(Replacement -> Value)
-> (Replacement -> Encoding)
-> ([Replacement] -> Value)
-> ([Replacement] -> Encoding)
-> ToJSON Replacement
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
Core.ToJSON,
ToJSONKeyFunction [Replacement]
ToJSONKeyFunction Replacement
ToJSONKeyFunction Replacement
-> ToJSONKeyFunction [Replacement] -> ToJSONKey Replacement
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [Replacement]
$ctoJSONKeyList :: ToJSONKeyFunction [Replacement]
toJSONKey :: ToJSONKeyFunction Replacement
$ctoJSONKey :: ToJSONKeyFunction Replacement
Core.ToJSONKey,
[Node] -> Either String Replacement
([Node] -> Either String Replacement) -> FromXML Replacement
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String Replacement
$cparseXML :: [Node] -> Either String Replacement
Core.FromXML,
Replacement -> XML
(Replacement -> XML) -> ToXML Replacement
forall a. (a -> XML) -> ToXML a
toXML :: Replacement -> XML
$ctoXML :: Replacement -> XML
Core.ToXML
)
pattern Replacement_Conditional :: Replacement
pattern $bReplacement_Conditional :: Replacement
$mReplacement_Conditional :: forall r. Replacement -> (Void# -> r) -> (Void# -> r) -> r
Replacement_Conditional = Replacement' "Conditional"
pattern Replacement_False :: Replacement
pattern $bReplacement_False :: Replacement
$mReplacement_False :: forall r. Replacement -> (Void# -> r) -> (Void# -> r) -> r
Replacement_False = Replacement' "False"
pattern Replacement_True :: Replacement
pattern $bReplacement_True :: Replacement
$mReplacement_True :: forall r. Replacement -> (Void# -> r) -> (Void# -> r) -> r
Replacement_True = Replacement' "True"
{-# COMPLETE
Replacement_Conditional,
Replacement_False,
Replacement_True,
Replacement'
#-}