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