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