{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DerivingStrategies #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
module Amazonka.SESV2.Types.BehaviorOnMxFailure
( BehaviorOnMxFailure
( ..,
BehaviorOnMxFailure_REJECT_MESSAGE,
BehaviorOnMxFailure_USE_DEFAULT_VALUE
),
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Prelude as Prelude
newtype BehaviorOnMxFailure = BehaviorOnMxFailure'
{ BehaviorOnMxFailure -> Text
fromBehaviorOnMxFailure ::
Core.Text
}
deriving stock
( Int -> BehaviorOnMxFailure -> ShowS
[BehaviorOnMxFailure] -> ShowS
BehaviorOnMxFailure -> String
(Int -> BehaviorOnMxFailure -> ShowS)
-> (BehaviorOnMxFailure -> String)
-> ([BehaviorOnMxFailure] -> ShowS)
-> Show BehaviorOnMxFailure
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]
(Int -> ReadS BehaviorOnMxFailure)
-> ReadS [BehaviorOnMxFailure]
-> ReadPrec BehaviorOnMxFailure
-> ReadPrec [BehaviorOnMxFailure]
-> Read 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
(BehaviorOnMxFailure -> BehaviorOnMxFailure -> Bool)
-> (BehaviorOnMxFailure -> BehaviorOnMxFailure -> Bool)
-> Eq BehaviorOnMxFailure
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
Eq BehaviorOnMxFailure
-> (BehaviorOnMxFailure -> BehaviorOnMxFailure -> Ordering)
-> (BehaviorOnMxFailure -> BehaviorOnMxFailure -> Bool)
-> (BehaviorOnMxFailure -> BehaviorOnMxFailure -> Bool)
-> (BehaviorOnMxFailure -> BehaviorOnMxFailure -> Bool)
-> (BehaviorOnMxFailure -> BehaviorOnMxFailure -> Bool)
-> (BehaviorOnMxFailure
-> BehaviorOnMxFailure -> BehaviorOnMxFailure)
-> (BehaviorOnMxFailure
-> BehaviorOnMxFailure -> BehaviorOnMxFailure)
-> Ord 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
$cp1Ord :: Eq BehaviorOnMxFailure
Prelude.Ord,
(forall x. BehaviorOnMxFailure -> Rep BehaviorOnMxFailure x)
-> (forall x. Rep BehaviorOnMxFailure x -> BehaviorOnMxFailure)
-> Generic BehaviorOnMxFailure
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
( Int -> BehaviorOnMxFailure -> Int
BehaviorOnMxFailure -> Int
(Int -> BehaviorOnMxFailure -> Int)
-> (BehaviorOnMxFailure -> Int) -> Hashable BehaviorOnMxFailure
forall 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 -> ()
(BehaviorOnMxFailure -> ()) -> NFData BehaviorOnMxFailure
forall a. (a -> ()) -> NFData a
rnf :: BehaviorOnMxFailure -> ()
$crnf :: BehaviorOnMxFailure -> ()
Prelude.NFData,
Text -> Either String BehaviorOnMxFailure
(Text -> Either String BehaviorOnMxFailure)
-> FromText BehaviorOnMxFailure
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String BehaviorOnMxFailure
$cfromText :: Text -> Either String BehaviorOnMxFailure
Core.FromText,
BehaviorOnMxFailure -> Text
(BehaviorOnMxFailure -> Text) -> ToText BehaviorOnMxFailure
forall a. (a -> Text) -> ToText a
toText :: BehaviorOnMxFailure -> Text
$ctoText :: BehaviorOnMxFailure -> Text
Core.ToText,
BehaviorOnMxFailure -> ByteString
(BehaviorOnMxFailure -> ByteString)
-> ToByteString BehaviorOnMxFailure
forall a. (a -> ByteString) -> ToByteString a
toBS :: BehaviorOnMxFailure -> ByteString
$ctoBS :: BehaviorOnMxFailure -> ByteString
Core.ToByteString,
BehaviorOnMxFailure -> ByteStringBuilder
(BehaviorOnMxFailure -> ByteStringBuilder)
-> ToLog BehaviorOnMxFailure
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: BehaviorOnMxFailure -> ByteStringBuilder
$cbuild :: BehaviorOnMxFailure -> ByteStringBuilder
Core.ToLog,
HeaderName -> BehaviorOnMxFailure -> [Header]
(HeaderName -> BehaviorOnMxFailure -> [Header])
-> ToHeader BehaviorOnMxFailure
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> BehaviorOnMxFailure -> [Header]
$ctoHeader :: HeaderName -> BehaviorOnMxFailure -> [Header]
Core.ToHeader,
BehaviorOnMxFailure -> QueryString
(BehaviorOnMxFailure -> QueryString) -> ToQuery BehaviorOnMxFailure
forall a. (a -> QueryString) -> ToQuery a
toQuery :: BehaviorOnMxFailure -> QueryString
$ctoQuery :: BehaviorOnMxFailure -> QueryString
Core.ToQuery,
Value -> Parser [BehaviorOnMxFailure]
Value -> Parser BehaviorOnMxFailure
(Value -> Parser BehaviorOnMxFailure)
-> (Value -> Parser [BehaviorOnMxFailure])
-> FromJSON 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
Core.FromJSON,
FromJSONKeyFunction [BehaviorOnMxFailure]
FromJSONKeyFunction BehaviorOnMxFailure
FromJSONKeyFunction BehaviorOnMxFailure
-> FromJSONKeyFunction [BehaviorOnMxFailure]
-> FromJSONKey BehaviorOnMxFailure
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [BehaviorOnMxFailure]
$cfromJSONKeyList :: FromJSONKeyFunction [BehaviorOnMxFailure]
fromJSONKey :: FromJSONKeyFunction BehaviorOnMxFailure
$cfromJSONKey :: FromJSONKeyFunction BehaviorOnMxFailure
Core.FromJSONKey,
[BehaviorOnMxFailure] -> Encoding
[BehaviorOnMxFailure] -> Value
BehaviorOnMxFailure -> Encoding
BehaviorOnMxFailure -> Value
(BehaviorOnMxFailure -> Value)
-> (BehaviorOnMxFailure -> Encoding)
-> ([BehaviorOnMxFailure] -> Value)
-> ([BehaviorOnMxFailure] -> Encoding)
-> ToJSON BehaviorOnMxFailure
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
Core.ToJSON,
ToJSONKeyFunction [BehaviorOnMxFailure]
ToJSONKeyFunction BehaviorOnMxFailure
ToJSONKeyFunction BehaviorOnMxFailure
-> ToJSONKeyFunction [BehaviorOnMxFailure]
-> ToJSONKey BehaviorOnMxFailure
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [BehaviorOnMxFailure]
$ctoJSONKeyList :: ToJSONKeyFunction [BehaviorOnMxFailure]
toJSONKey :: ToJSONKeyFunction BehaviorOnMxFailure
$ctoJSONKey :: ToJSONKeyFunction BehaviorOnMxFailure
Core.ToJSONKey,
[Node] -> Either String BehaviorOnMxFailure
([Node] -> Either String BehaviorOnMxFailure)
-> FromXML BehaviorOnMxFailure
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String BehaviorOnMxFailure
$cparseXML :: [Node] -> Either String BehaviorOnMxFailure
Core.FromXML,
BehaviorOnMxFailure -> XML
(BehaviorOnMxFailure -> XML) -> ToXML BehaviorOnMxFailure
forall a. (a -> XML) -> ToXML a
toXML :: BehaviorOnMxFailure -> XML
$ctoXML :: BehaviorOnMxFailure -> XML
Core.ToXML
)
pattern BehaviorOnMxFailure_REJECT_MESSAGE :: BehaviorOnMxFailure
pattern $bBehaviorOnMxFailure_REJECT_MESSAGE :: BehaviorOnMxFailure
$mBehaviorOnMxFailure_REJECT_MESSAGE :: forall r. BehaviorOnMxFailure -> (Void# -> r) -> (Void# -> 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 -> (Void# -> r) -> (Void# -> r) -> r
BehaviorOnMxFailure_USE_DEFAULT_VALUE = BehaviorOnMxFailure' "USE_DEFAULT_VALUE"
{-# COMPLETE
BehaviorOnMxFailure_REJECT_MESSAGE,
BehaviorOnMxFailure_USE_DEFAULT_VALUE,
BehaviorOnMxFailure'
#-}