{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DerivingStrategies #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
module Amazonka.CustomerProfiles.Types.IdentityResolutionJobStatus
( IdentityResolutionJobStatus
( ..,
IdentityResolutionJobStatus_COMPLETED,
IdentityResolutionJobStatus_FAILED,
IdentityResolutionJobStatus_FIND_MATCHING,
IdentityResolutionJobStatus_MERGING,
IdentityResolutionJobStatus_PARTIAL_SUCCESS,
IdentityResolutionJobStatus_PENDING,
IdentityResolutionJobStatus_PREPROCESSING
),
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Data as Data
import qualified Amazonka.Prelude as Prelude
newtype IdentityResolutionJobStatus = IdentityResolutionJobStatus'
{ IdentityResolutionJobStatus -> Text
fromIdentityResolutionJobStatus ::
Data.Text
}
deriving stock
( Int -> IdentityResolutionJobStatus -> ShowS
[IdentityResolutionJobStatus] -> ShowS
IdentityResolutionJobStatus -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [IdentityResolutionJobStatus] -> ShowS
$cshowList :: [IdentityResolutionJobStatus] -> ShowS
show :: IdentityResolutionJobStatus -> String
$cshow :: IdentityResolutionJobStatus -> String
showsPrec :: Int -> IdentityResolutionJobStatus -> ShowS
$cshowsPrec :: Int -> IdentityResolutionJobStatus -> ShowS
Prelude.Show,
ReadPrec [IdentityResolutionJobStatus]
ReadPrec IdentityResolutionJobStatus
Int -> ReadS IdentityResolutionJobStatus
ReadS [IdentityResolutionJobStatus]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [IdentityResolutionJobStatus]
$creadListPrec :: ReadPrec [IdentityResolutionJobStatus]
readPrec :: ReadPrec IdentityResolutionJobStatus
$creadPrec :: ReadPrec IdentityResolutionJobStatus
readList :: ReadS [IdentityResolutionJobStatus]
$creadList :: ReadS [IdentityResolutionJobStatus]
readsPrec :: Int -> ReadS IdentityResolutionJobStatus
$creadsPrec :: Int -> ReadS IdentityResolutionJobStatus
Prelude.Read,
IdentityResolutionJobStatus -> IdentityResolutionJobStatus -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: IdentityResolutionJobStatus -> IdentityResolutionJobStatus -> Bool
$c/= :: IdentityResolutionJobStatus -> IdentityResolutionJobStatus -> Bool
== :: IdentityResolutionJobStatus -> IdentityResolutionJobStatus -> Bool
$c== :: IdentityResolutionJobStatus -> IdentityResolutionJobStatus -> Bool
Prelude.Eq,
Eq IdentityResolutionJobStatus
IdentityResolutionJobStatus -> IdentityResolutionJobStatus -> Bool
IdentityResolutionJobStatus
-> IdentityResolutionJobStatus -> Ordering
IdentityResolutionJobStatus
-> IdentityResolutionJobStatus -> IdentityResolutionJobStatus
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 :: IdentityResolutionJobStatus
-> IdentityResolutionJobStatus -> IdentityResolutionJobStatus
$cmin :: IdentityResolutionJobStatus
-> IdentityResolutionJobStatus -> IdentityResolutionJobStatus
max :: IdentityResolutionJobStatus
-> IdentityResolutionJobStatus -> IdentityResolutionJobStatus
$cmax :: IdentityResolutionJobStatus
-> IdentityResolutionJobStatus -> IdentityResolutionJobStatus
>= :: IdentityResolutionJobStatus -> IdentityResolutionJobStatus -> Bool
$c>= :: IdentityResolutionJobStatus -> IdentityResolutionJobStatus -> Bool
> :: IdentityResolutionJobStatus -> IdentityResolutionJobStatus -> Bool
$c> :: IdentityResolutionJobStatus -> IdentityResolutionJobStatus -> Bool
<= :: IdentityResolutionJobStatus -> IdentityResolutionJobStatus -> Bool
$c<= :: IdentityResolutionJobStatus -> IdentityResolutionJobStatus -> Bool
< :: IdentityResolutionJobStatus -> IdentityResolutionJobStatus -> Bool
$c< :: IdentityResolutionJobStatus -> IdentityResolutionJobStatus -> Bool
compare :: IdentityResolutionJobStatus
-> IdentityResolutionJobStatus -> Ordering
$ccompare :: IdentityResolutionJobStatus
-> IdentityResolutionJobStatus -> Ordering
Prelude.Ord,
forall x.
Rep IdentityResolutionJobStatus x -> IdentityResolutionJobStatus
forall x.
IdentityResolutionJobStatus -> Rep IdentityResolutionJobStatus x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep IdentityResolutionJobStatus x -> IdentityResolutionJobStatus
$cfrom :: forall x.
IdentityResolutionJobStatus -> Rep IdentityResolutionJobStatus x
Prelude.Generic
)
deriving newtype
( Eq IdentityResolutionJobStatus
Int -> IdentityResolutionJobStatus -> Int
IdentityResolutionJobStatus -> Int
forall a. Eq a -> (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: IdentityResolutionJobStatus -> Int
$chash :: IdentityResolutionJobStatus -> Int
hashWithSalt :: Int -> IdentityResolutionJobStatus -> Int
$chashWithSalt :: Int -> IdentityResolutionJobStatus -> Int
Prelude.Hashable,
IdentityResolutionJobStatus -> ()
forall a. (a -> ()) -> NFData a
rnf :: IdentityResolutionJobStatus -> ()
$crnf :: IdentityResolutionJobStatus -> ()
Prelude.NFData,
Text -> Either String IdentityResolutionJobStatus
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String IdentityResolutionJobStatus
$cfromText :: Text -> Either String IdentityResolutionJobStatus
Data.FromText,
IdentityResolutionJobStatus -> Text
forall a. (a -> Text) -> ToText a
toText :: IdentityResolutionJobStatus -> Text
$ctoText :: IdentityResolutionJobStatus -> Text
Data.ToText,
IdentityResolutionJobStatus -> ByteString
forall a. (a -> ByteString) -> ToByteString a
toBS :: IdentityResolutionJobStatus -> ByteString
$ctoBS :: IdentityResolutionJobStatus -> ByteString
Data.ToByteString,
IdentityResolutionJobStatus -> ByteStringBuilder
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: IdentityResolutionJobStatus -> ByteStringBuilder
$cbuild :: IdentityResolutionJobStatus -> ByteStringBuilder
Data.ToLog,
HeaderName -> IdentityResolutionJobStatus -> [Header]
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> IdentityResolutionJobStatus -> [Header]
$ctoHeader :: HeaderName -> IdentityResolutionJobStatus -> [Header]
Data.ToHeader,
IdentityResolutionJobStatus -> QueryString
forall a. (a -> QueryString) -> ToQuery a
toQuery :: IdentityResolutionJobStatus -> QueryString
$ctoQuery :: IdentityResolutionJobStatus -> QueryString
Data.ToQuery,
Value -> Parser [IdentityResolutionJobStatus]
Value -> Parser IdentityResolutionJobStatus
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [IdentityResolutionJobStatus]
$cparseJSONList :: Value -> Parser [IdentityResolutionJobStatus]
parseJSON :: Value -> Parser IdentityResolutionJobStatus
$cparseJSON :: Value -> Parser IdentityResolutionJobStatus
Data.FromJSON,
FromJSONKeyFunction [IdentityResolutionJobStatus]
FromJSONKeyFunction IdentityResolutionJobStatus
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [IdentityResolutionJobStatus]
$cfromJSONKeyList :: FromJSONKeyFunction [IdentityResolutionJobStatus]
fromJSONKey :: FromJSONKeyFunction IdentityResolutionJobStatus
$cfromJSONKey :: FromJSONKeyFunction IdentityResolutionJobStatus
Data.FromJSONKey,
[IdentityResolutionJobStatus] -> Encoding
[IdentityResolutionJobStatus] -> Value
IdentityResolutionJobStatus -> Encoding
IdentityResolutionJobStatus -> Value
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [IdentityResolutionJobStatus] -> Encoding
$ctoEncodingList :: [IdentityResolutionJobStatus] -> Encoding
toJSONList :: [IdentityResolutionJobStatus] -> Value
$ctoJSONList :: [IdentityResolutionJobStatus] -> Value
toEncoding :: IdentityResolutionJobStatus -> Encoding
$ctoEncoding :: IdentityResolutionJobStatus -> Encoding
toJSON :: IdentityResolutionJobStatus -> Value
$ctoJSON :: IdentityResolutionJobStatus -> Value
Data.ToJSON,
ToJSONKeyFunction [IdentityResolutionJobStatus]
ToJSONKeyFunction IdentityResolutionJobStatus
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [IdentityResolutionJobStatus]
$ctoJSONKeyList :: ToJSONKeyFunction [IdentityResolutionJobStatus]
toJSONKey :: ToJSONKeyFunction IdentityResolutionJobStatus
$ctoJSONKey :: ToJSONKeyFunction IdentityResolutionJobStatus
Data.ToJSONKey,
[Node] -> Either String IdentityResolutionJobStatus
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String IdentityResolutionJobStatus
$cparseXML :: [Node] -> Either String IdentityResolutionJobStatus
Data.FromXML,
IdentityResolutionJobStatus -> XML
forall a. (a -> XML) -> ToXML a
toXML :: IdentityResolutionJobStatus -> XML
$ctoXML :: IdentityResolutionJobStatus -> XML
Data.ToXML
)
pattern IdentityResolutionJobStatus_COMPLETED :: IdentityResolutionJobStatus
pattern $bIdentityResolutionJobStatus_COMPLETED :: IdentityResolutionJobStatus
$mIdentityResolutionJobStatus_COMPLETED :: forall {r}.
IdentityResolutionJobStatus -> ((# #) -> r) -> ((# #) -> r) -> r
IdentityResolutionJobStatus_COMPLETED = IdentityResolutionJobStatus' "COMPLETED"
pattern IdentityResolutionJobStatus_FAILED :: IdentityResolutionJobStatus
pattern $bIdentityResolutionJobStatus_FAILED :: IdentityResolutionJobStatus
$mIdentityResolutionJobStatus_FAILED :: forall {r}.
IdentityResolutionJobStatus -> ((# #) -> r) -> ((# #) -> r) -> r
IdentityResolutionJobStatus_FAILED = IdentityResolutionJobStatus' "FAILED"
pattern IdentityResolutionJobStatus_FIND_MATCHING :: IdentityResolutionJobStatus
pattern $bIdentityResolutionJobStatus_FIND_MATCHING :: IdentityResolutionJobStatus
$mIdentityResolutionJobStatus_FIND_MATCHING :: forall {r}.
IdentityResolutionJobStatus -> ((# #) -> r) -> ((# #) -> r) -> r
IdentityResolutionJobStatus_FIND_MATCHING = IdentityResolutionJobStatus' "FIND_MATCHING"
pattern IdentityResolutionJobStatus_MERGING :: IdentityResolutionJobStatus
pattern $bIdentityResolutionJobStatus_MERGING :: IdentityResolutionJobStatus
$mIdentityResolutionJobStatus_MERGING :: forall {r}.
IdentityResolutionJobStatus -> ((# #) -> r) -> ((# #) -> r) -> r
IdentityResolutionJobStatus_MERGING = IdentityResolutionJobStatus' "MERGING"
pattern IdentityResolutionJobStatus_PARTIAL_SUCCESS :: IdentityResolutionJobStatus
pattern $bIdentityResolutionJobStatus_PARTIAL_SUCCESS :: IdentityResolutionJobStatus
$mIdentityResolutionJobStatus_PARTIAL_SUCCESS :: forall {r}.
IdentityResolutionJobStatus -> ((# #) -> r) -> ((# #) -> r) -> r
IdentityResolutionJobStatus_PARTIAL_SUCCESS = IdentityResolutionJobStatus' "PARTIAL_SUCCESS"
pattern IdentityResolutionJobStatus_PENDING :: IdentityResolutionJobStatus
pattern $bIdentityResolutionJobStatus_PENDING :: IdentityResolutionJobStatus
$mIdentityResolutionJobStatus_PENDING :: forall {r}.
IdentityResolutionJobStatus -> ((# #) -> r) -> ((# #) -> r) -> r
IdentityResolutionJobStatus_PENDING = IdentityResolutionJobStatus' "PENDING"
pattern IdentityResolutionJobStatus_PREPROCESSING :: IdentityResolutionJobStatus
pattern $bIdentityResolutionJobStatus_PREPROCESSING :: IdentityResolutionJobStatus
$mIdentityResolutionJobStatus_PREPROCESSING :: forall {r}.
IdentityResolutionJobStatus -> ((# #) -> r) -> ((# #) -> r) -> r
IdentityResolutionJobStatus_PREPROCESSING = IdentityResolutionJobStatus' "PREPROCESSING"
{-# COMPLETE
IdentityResolutionJobStatus_COMPLETED,
IdentityResolutionJobStatus_FAILED,
IdentityResolutionJobStatus_FIND_MATCHING,
IdentityResolutionJobStatus_MERGING,
IdentityResolutionJobStatus_PARTIAL_SUCCESS,
IdentityResolutionJobStatus_PENDING,
IdentityResolutionJobStatus_PREPROCESSING,
IdentityResolutionJobStatus'
#-}