{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DerivingStrategies #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
module Amazonka.PinpointEmail.Types.BehaviorOnMxFailure
( BehaviorOnMxFailure
( ..,
BehaviorOnMxFailure_REJECT_MESSAGE,
BehaviorOnMxFailure_USE_DEFAULT_VALUE
),
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Data as Data
import qualified Amazonka.Prelude as Prelude
newtype BehaviorOnMxFailure = BehaviorOnMxFailure'
{ BehaviorOnMxFailure -> Text
fromBehaviorOnMxFailure ::
Data.Text
}
deriving stock
( Int -> BehaviorOnMxFailure -> ShowS
[BehaviorOnMxFailure] -> ShowS
BehaviorOnMxFailure -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [BehaviorOnMxFailure] -> ShowS
$cshowList :: [BehaviorOnMxFailure] -> ShowS
show :: BehaviorOnMxFailure -> String
$cshow :: BehaviorOnMxFailure -> String
showsPrec :: Int -> BehaviorOnMxFailure -> ShowS
$cshowsPrec :: Int -> BehaviorOnMxFailure -> ShowS
Prelude.Show,
ReadPrec [BehaviorOnMxFailure]
ReadPrec BehaviorOnMxFailure
Int -> ReadS BehaviorOnMxFailure
ReadS [BehaviorOnMxFailure]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [BehaviorOnMxFailure]
$creadListPrec :: ReadPrec [BehaviorOnMxFailure]
readPrec :: ReadPrec BehaviorOnMxFailure
$creadPrec :: ReadPrec BehaviorOnMxFailure
readList :: ReadS [BehaviorOnMxFailure]
$creadList :: ReadS [BehaviorOnMxFailure]
readsPrec :: Int -> ReadS BehaviorOnMxFailure
$creadsPrec :: Int -> ReadS BehaviorOnMxFailure
Prelude.Read,
BehaviorOnMxFailure -> BehaviorOnMxFailure -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: BehaviorOnMxFailure -> BehaviorOnMxFailure -> Bool
$c/= :: BehaviorOnMxFailure -> BehaviorOnMxFailure -> Bool
== :: BehaviorOnMxFailure -> BehaviorOnMxFailure -> Bool
$c== :: BehaviorOnMxFailure -> BehaviorOnMxFailure -> Bool
Prelude.Eq,
Eq BehaviorOnMxFailure
BehaviorOnMxFailure -> BehaviorOnMxFailure -> Bool
BehaviorOnMxFailure -> BehaviorOnMxFailure -> Ordering
BehaviorOnMxFailure -> BehaviorOnMxFailure -> BehaviorOnMxFailure
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 :: BehaviorOnMxFailure -> BehaviorOnMxFailure -> BehaviorOnMxFailure
$cmin :: BehaviorOnMxFailure -> BehaviorOnMxFailure -> BehaviorOnMxFailure
max :: BehaviorOnMxFailure -> BehaviorOnMxFailure -> BehaviorOnMxFailure
$cmax :: BehaviorOnMxFailure -> BehaviorOnMxFailure -> BehaviorOnMxFailure
>= :: BehaviorOnMxFailure -> BehaviorOnMxFailure -> Bool
$c>= :: BehaviorOnMxFailure -> BehaviorOnMxFailure -> Bool
> :: BehaviorOnMxFailure -> BehaviorOnMxFailure -> Bool
$c> :: BehaviorOnMxFailure -> BehaviorOnMxFailure -> Bool
<= :: BehaviorOnMxFailure -> BehaviorOnMxFailure -> Bool
$c<= :: BehaviorOnMxFailure -> BehaviorOnMxFailure -> Bool
< :: BehaviorOnMxFailure -> BehaviorOnMxFailure -> Bool
$c< :: BehaviorOnMxFailure -> BehaviorOnMxFailure -> Bool
compare :: BehaviorOnMxFailure -> BehaviorOnMxFailure -> Ordering
$ccompare :: BehaviorOnMxFailure -> BehaviorOnMxFailure -> Ordering
Prelude.Ord,
forall x. Rep BehaviorOnMxFailure x -> BehaviorOnMxFailure
forall x. BehaviorOnMxFailure -> Rep BehaviorOnMxFailure x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep BehaviorOnMxFailure x -> BehaviorOnMxFailure
$cfrom :: forall x. BehaviorOnMxFailure -> Rep BehaviorOnMxFailure x
Prelude.Generic
)
deriving newtype
( Eq BehaviorOnMxFailure
Int -> BehaviorOnMxFailure -> Int
BehaviorOnMxFailure -> Int
forall a. Eq a -> (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: BehaviorOnMxFailure -> Int
$chash :: BehaviorOnMxFailure -> Int
hashWithSalt :: Int -> BehaviorOnMxFailure -> Int
$chashWithSalt :: Int -> BehaviorOnMxFailure -> Int
Prelude.Hashable,
BehaviorOnMxFailure -> ()
forall a. (a -> ()) -> NFData a
rnf :: BehaviorOnMxFailure -> ()
$crnf :: BehaviorOnMxFailure -> ()
Prelude.NFData,
Text -> Either String BehaviorOnMxFailure
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String BehaviorOnMxFailure
$cfromText :: Text -> Either String BehaviorOnMxFailure
Data.FromText,
BehaviorOnMxFailure -> Text
forall a. (a -> Text) -> ToText a
toText :: BehaviorOnMxFailure -> Text
$ctoText :: BehaviorOnMxFailure -> Text
Data.ToText,
BehaviorOnMxFailure -> ByteString
forall a. (a -> ByteString) -> ToByteString a
toBS :: BehaviorOnMxFailure -> ByteString
$ctoBS :: BehaviorOnMxFailure -> ByteString
Data.ToByteString,
BehaviorOnMxFailure -> ByteStringBuilder
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: BehaviorOnMxFailure -> ByteStringBuilder
$cbuild :: BehaviorOnMxFailure -> ByteStringBuilder
Data.ToLog,
HeaderName -> BehaviorOnMxFailure -> [Header]
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> BehaviorOnMxFailure -> [Header]
$ctoHeader :: HeaderName -> BehaviorOnMxFailure -> [Header]
Data.ToHeader,
BehaviorOnMxFailure -> QueryString
forall a. (a -> QueryString) -> ToQuery a
toQuery :: BehaviorOnMxFailure -> QueryString
$ctoQuery :: BehaviorOnMxFailure -> QueryString
Data.ToQuery,
Value -> Parser [BehaviorOnMxFailure]
Value -> Parser BehaviorOnMxFailure
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [BehaviorOnMxFailure]
$cparseJSONList :: Value -> Parser [BehaviorOnMxFailure]
parseJSON :: Value -> Parser BehaviorOnMxFailure
$cparseJSON :: Value -> Parser BehaviorOnMxFailure
Data.FromJSON,
FromJSONKeyFunction [BehaviorOnMxFailure]
FromJSONKeyFunction BehaviorOnMxFailure
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [BehaviorOnMxFailure]
$cfromJSONKeyList :: FromJSONKeyFunction [BehaviorOnMxFailure]
fromJSONKey :: FromJSONKeyFunction BehaviorOnMxFailure
$cfromJSONKey :: FromJSONKeyFunction BehaviorOnMxFailure
Data.FromJSONKey,
[BehaviorOnMxFailure] -> Encoding
[BehaviorOnMxFailure] -> Value
BehaviorOnMxFailure -> Encoding
BehaviorOnMxFailure -> Value
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [BehaviorOnMxFailure] -> Encoding
$ctoEncodingList :: [BehaviorOnMxFailure] -> Encoding
toJSONList :: [BehaviorOnMxFailure] -> Value
$ctoJSONList :: [BehaviorOnMxFailure] -> Value
toEncoding :: BehaviorOnMxFailure -> Encoding
$ctoEncoding :: BehaviorOnMxFailure -> Encoding
toJSON :: BehaviorOnMxFailure -> Value
$ctoJSON :: BehaviorOnMxFailure -> Value
Data.ToJSON,
ToJSONKeyFunction [BehaviorOnMxFailure]
ToJSONKeyFunction BehaviorOnMxFailure
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [BehaviorOnMxFailure]
$ctoJSONKeyList :: ToJSONKeyFunction [BehaviorOnMxFailure]
toJSONKey :: ToJSONKeyFunction BehaviorOnMxFailure
$ctoJSONKey :: ToJSONKeyFunction BehaviorOnMxFailure
Data.ToJSONKey,
[Node] -> Either String BehaviorOnMxFailure
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String BehaviorOnMxFailure
$cparseXML :: [Node] -> Either String BehaviorOnMxFailure
Data.FromXML,
BehaviorOnMxFailure -> XML
forall a. (a -> XML) -> ToXML a
toXML :: BehaviorOnMxFailure -> XML
$ctoXML :: BehaviorOnMxFailure -> XML
Data.ToXML
)
pattern BehaviorOnMxFailure_REJECT_MESSAGE :: BehaviorOnMxFailure
pattern $bBehaviorOnMxFailure_REJECT_MESSAGE :: BehaviorOnMxFailure
$mBehaviorOnMxFailure_REJECT_MESSAGE :: forall {r}.
BehaviorOnMxFailure -> ((# #) -> r) -> ((# #) -> r) -> r
BehaviorOnMxFailure_REJECT_MESSAGE = BehaviorOnMxFailure' "REJECT_MESSAGE"
pattern BehaviorOnMxFailure_USE_DEFAULT_VALUE :: BehaviorOnMxFailure
pattern $bBehaviorOnMxFailure_USE_DEFAULT_VALUE :: BehaviorOnMxFailure
$mBehaviorOnMxFailure_USE_DEFAULT_VALUE :: forall {r}.
BehaviorOnMxFailure -> ((# #) -> r) -> ((# #) -> r) -> r
BehaviorOnMxFailure_USE_DEFAULT_VALUE = BehaviorOnMxFailure' "USE_DEFAULT_VALUE"
{-# COMPLETE
BehaviorOnMxFailure_REJECT_MESSAGE,
BehaviorOnMxFailure_USE_DEFAULT_VALUE,
BehaviorOnMxFailure'
#-}