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