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