{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DuplicateRecordFields #-}
{-# LANGUAGE NamedFieldPuns #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
{-# OPTIONS_GHC -fno-warn-unused-matches #-}
module Amazonka.VoiceId.Types.FraudsterRegistrationJobSummary where
import qualified Amazonka.Core as Core
import qualified Amazonka.Lens as Lens
import qualified Amazonka.Prelude as Prelude
import Amazonka.VoiceId.Types.FailureDetails
import Amazonka.VoiceId.Types.FraudsterRegistrationJobStatus
import Amazonka.VoiceId.Types.JobProgress
data FraudsterRegistrationJobSummary = FraudsterRegistrationJobSummary'
{
FraudsterRegistrationJobSummary -> Maybe FailureDetails
failureDetails :: Prelude.Maybe FailureDetails,
FraudsterRegistrationJobSummary -> Maybe Text
jobId :: Prelude.Maybe Prelude.Text,
FraudsterRegistrationJobSummary -> Maybe POSIX
createdAt :: Prelude.Maybe Core.POSIX,
FraudsterRegistrationJobSummary -> Maybe (Sensitive Text)
jobName :: Prelude.Maybe (Core.Sensitive Prelude.Text),
FraudsterRegistrationJobSummary -> Maybe POSIX
endedAt :: Prelude.Maybe Core.POSIX,
FraudsterRegistrationJobSummary -> Maybe JobProgress
jobProgress :: Prelude.Maybe JobProgress,
FraudsterRegistrationJobSummary -> Maybe Text
domainId :: Prelude.Maybe Prelude.Text,
FraudsterRegistrationJobSummary
-> Maybe FraudsterRegistrationJobStatus
jobStatus :: Prelude.Maybe FraudsterRegistrationJobStatus
}
deriving (FraudsterRegistrationJobSummary
-> FraudsterRegistrationJobSummary -> Bool
(FraudsterRegistrationJobSummary
-> FraudsterRegistrationJobSummary -> Bool)
-> (FraudsterRegistrationJobSummary
-> FraudsterRegistrationJobSummary -> Bool)
-> Eq FraudsterRegistrationJobSummary
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: FraudsterRegistrationJobSummary
-> FraudsterRegistrationJobSummary -> Bool
$c/= :: FraudsterRegistrationJobSummary
-> FraudsterRegistrationJobSummary -> Bool
== :: FraudsterRegistrationJobSummary
-> FraudsterRegistrationJobSummary -> Bool
$c== :: FraudsterRegistrationJobSummary
-> FraudsterRegistrationJobSummary -> Bool
Prelude.Eq, Int -> FraudsterRegistrationJobSummary -> ShowS
[FraudsterRegistrationJobSummary] -> ShowS
FraudsterRegistrationJobSummary -> String
(Int -> FraudsterRegistrationJobSummary -> ShowS)
-> (FraudsterRegistrationJobSummary -> String)
-> ([FraudsterRegistrationJobSummary] -> ShowS)
-> Show FraudsterRegistrationJobSummary
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [FraudsterRegistrationJobSummary] -> ShowS
$cshowList :: [FraudsterRegistrationJobSummary] -> ShowS
show :: FraudsterRegistrationJobSummary -> String
$cshow :: FraudsterRegistrationJobSummary -> String
showsPrec :: Int -> FraudsterRegistrationJobSummary -> ShowS
$cshowsPrec :: Int -> FraudsterRegistrationJobSummary -> ShowS
Prelude.Show, (forall x.
FraudsterRegistrationJobSummary
-> Rep FraudsterRegistrationJobSummary x)
-> (forall x.
Rep FraudsterRegistrationJobSummary x
-> FraudsterRegistrationJobSummary)
-> Generic FraudsterRegistrationJobSummary
forall x.
Rep FraudsterRegistrationJobSummary x
-> FraudsterRegistrationJobSummary
forall x.
FraudsterRegistrationJobSummary
-> Rep FraudsterRegistrationJobSummary x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep FraudsterRegistrationJobSummary x
-> FraudsterRegistrationJobSummary
$cfrom :: forall x.
FraudsterRegistrationJobSummary
-> Rep FraudsterRegistrationJobSummary x
Prelude.Generic)
newFraudsterRegistrationJobSummary ::
FraudsterRegistrationJobSummary
newFraudsterRegistrationJobSummary :: FraudsterRegistrationJobSummary
newFraudsterRegistrationJobSummary =
FraudsterRegistrationJobSummary' :: Maybe FailureDetails
-> Maybe Text
-> Maybe POSIX
-> Maybe (Sensitive Text)
-> Maybe POSIX
-> Maybe JobProgress
-> Maybe Text
-> Maybe FraudsterRegistrationJobStatus
-> FraudsterRegistrationJobSummary
FraudsterRegistrationJobSummary'
{ $sel:failureDetails:FraudsterRegistrationJobSummary' :: Maybe FailureDetails
failureDetails =
Maybe FailureDetails
forall a. Maybe a
Prelude.Nothing,
$sel:jobId:FraudsterRegistrationJobSummary' :: Maybe Text
jobId = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:createdAt:FraudsterRegistrationJobSummary' :: Maybe POSIX
createdAt = Maybe POSIX
forall a. Maybe a
Prelude.Nothing,
$sel:jobName:FraudsterRegistrationJobSummary' :: Maybe (Sensitive Text)
jobName = Maybe (Sensitive Text)
forall a. Maybe a
Prelude.Nothing,
$sel:endedAt:FraudsterRegistrationJobSummary' :: Maybe POSIX
endedAt = Maybe POSIX
forall a. Maybe a
Prelude.Nothing,
$sel:jobProgress:FraudsterRegistrationJobSummary' :: Maybe JobProgress
jobProgress = Maybe JobProgress
forall a. Maybe a
Prelude.Nothing,
$sel:domainId:FraudsterRegistrationJobSummary' :: Maybe Text
domainId = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:jobStatus:FraudsterRegistrationJobSummary' :: Maybe FraudsterRegistrationJobStatus
jobStatus = Maybe FraudsterRegistrationJobStatus
forall a. Maybe a
Prelude.Nothing
}
fraudsterRegistrationJobSummary_failureDetails :: Lens.Lens' FraudsterRegistrationJobSummary (Prelude.Maybe FailureDetails)
fraudsterRegistrationJobSummary_failureDetails :: (Maybe FailureDetails -> f (Maybe FailureDetails))
-> FraudsterRegistrationJobSummary
-> f FraudsterRegistrationJobSummary
fraudsterRegistrationJobSummary_failureDetails = (FraudsterRegistrationJobSummary -> Maybe FailureDetails)
-> (FraudsterRegistrationJobSummary
-> Maybe FailureDetails -> FraudsterRegistrationJobSummary)
-> Lens
FraudsterRegistrationJobSummary
FraudsterRegistrationJobSummary
(Maybe FailureDetails)
(Maybe FailureDetails)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\FraudsterRegistrationJobSummary' {Maybe FailureDetails
failureDetails :: Maybe FailureDetails
$sel:failureDetails:FraudsterRegistrationJobSummary' :: FraudsterRegistrationJobSummary -> Maybe FailureDetails
failureDetails} -> Maybe FailureDetails
failureDetails) (\s :: FraudsterRegistrationJobSummary
s@FraudsterRegistrationJobSummary' {} Maybe FailureDetails
a -> FraudsterRegistrationJobSummary
s {$sel:failureDetails:FraudsterRegistrationJobSummary' :: Maybe FailureDetails
failureDetails = Maybe FailureDetails
a} :: FraudsterRegistrationJobSummary)
fraudsterRegistrationJobSummary_jobId :: Lens.Lens' FraudsterRegistrationJobSummary (Prelude.Maybe Prelude.Text)
fraudsterRegistrationJobSummary_jobId :: (Maybe Text -> f (Maybe Text))
-> FraudsterRegistrationJobSummary
-> f FraudsterRegistrationJobSummary
fraudsterRegistrationJobSummary_jobId = (FraudsterRegistrationJobSummary -> Maybe Text)
-> (FraudsterRegistrationJobSummary
-> Maybe Text -> FraudsterRegistrationJobSummary)
-> Lens
FraudsterRegistrationJobSummary
FraudsterRegistrationJobSummary
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\FraudsterRegistrationJobSummary' {Maybe Text
jobId :: Maybe Text
$sel:jobId:FraudsterRegistrationJobSummary' :: FraudsterRegistrationJobSummary -> Maybe Text
jobId} -> Maybe Text
jobId) (\s :: FraudsterRegistrationJobSummary
s@FraudsterRegistrationJobSummary' {} Maybe Text
a -> FraudsterRegistrationJobSummary
s {$sel:jobId:FraudsterRegistrationJobSummary' :: Maybe Text
jobId = Maybe Text
a} :: FraudsterRegistrationJobSummary)
fraudsterRegistrationJobSummary_createdAt :: Lens.Lens' FraudsterRegistrationJobSummary (Prelude.Maybe Prelude.UTCTime)
fraudsterRegistrationJobSummary_createdAt :: (Maybe UTCTime -> f (Maybe UTCTime))
-> FraudsterRegistrationJobSummary
-> f FraudsterRegistrationJobSummary
fraudsterRegistrationJobSummary_createdAt = (FraudsterRegistrationJobSummary -> Maybe POSIX)
-> (FraudsterRegistrationJobSummary
-> Maybe POSIX -> FraudsterRegistrationJobSummary)
-> Lens
FraudsterRegistrationJobSummary
FraudsterRegistrationJobSummary
(Maybe POSIX)
(Maybe POSIX)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\FraudsterRegistrationJobSummary' {Maybe POSIX
createdAt :: Maybe POSIX
$sel:createdAt:FraudsterRegistrationJobSummary' :: FraudsterRegistrationJobSummary -> Maybe POSIX
createdAt} -> Maybe POSIX
createdAt) (\s :: FraudsterRegistrationJobSummary
s@FraudsterRegistrationJobSummary' {} Maybe POSIX
a -> FraudsterRegistrationJobSummary
s {$sel:createdAt:FraudsterRegistrationJobSummary' :: Maybe POSIX
createdAt = Maybe POSIX
a} :: FraudsterRegistrationJobSummary) ((Maybe POSIX -> f (Maybe POSIX))
-> FraudsterRegistrationJobSummary
-> f FraudsterRegistrationJobSummary)
-> ((Maybe UTCTime -> f (Maybe UTCTime))
-> Maybe POSIX -> f (Maybe POSIX))
-> (Maybe UTCTime -> f (Maybe UTCTime))
-> FraudsterRegistrationJobSummary
-> f FraudsterRegistrationJobSummary
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso POSIX POSIX UTCTime UTCTime
-> Iso (Maybe POSIX) (Maybe POSIX) (Maybe UTCTime) (Maybe UTCTime)
forall (f :: * -> *) (g :: * -> *) s t a b.
(Functor f, Functor g) =>
AnIso s t a b -> Iso (f s) (g t) (f a) (g b)
Lens.mapping AnIso POSIX POSIX UTCTime UTCTime
forall (a :: Format). Iso' (Time a) UTCTime
Core._Time
fraudsterRegistrationJobSummary_jobName :: Lens.Lens' FraudsterRegistrationJobSummary (Prelude.Maybe Prelude.Text)
fraudsterRegistrationJobSummary_jobName :: (Maybe Text -> f (Maybe Text))
-> FraudsterRegistrationJobSummary
-> f FraudsterRegistrationJobSummary
fraudsterRegistrationJobSummary_jobName = (FraudsterRegistrationJobSummary -> Maybe (Sensitive Text))
-> (FraudsterRegistrationJobSummary
-> Maybe (Sensitive Text) -> FraudsterRegistrationJobSummary)
-> Lens
FraudsterRegistrationJobSummary
FraudsterRegistrationJobSummary
(Maybe (Sensitive Text))
(Maybe (Sensitive Text))
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\FraudsterRegistrationJobSummary' {Maybe (Sensitive Text)
jobName :: Maybe (Sensitive Text)
$sel:jobName:FraudsterRegistrationJobSummary' :: FraudsterRegistrationJobSummary -> Maybe (Sensitive Text)
jobName} -> Maybe (Sensitive Text)
jobName) (\s :: FraudsterRegistrationJobSummary
s@FraudsterRegistrationJobSummary' {} Maybe (Sensitive Text)
a -> FraudsterRegistrationJobSummary
s {$sel:jobName:FraudsterRegistrationJobSummary' :: Maybe (Sensitive Text)
jobName = Maybe (Sensitive Text)
a} :: FraudsterRegistrationJobSummary) ((Maybe (Sensitive Text) -> f (Maybe (Sensitive Text)))
-> FraudsterRegistrationJobSummary
-> f FraudsterRegistrationJobSummary)
-> ((Maybe Text -> f (Maybe Text))
-> Maybe (Sensitive Text) -> f (Maybe (Sensitive Text)))
-> (Maybe Text -> f (Maybe Text))
-> FraudsterRegistrationJobSummary
-> f FraudsterRegistrationJobSummary
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso (Sensitive Text) (Sensitive Text) Text Text
-> Iso
(Maybe (Sensitive Text))
(Maybe (Sensitive Text))
(Maybe Text)
(Maybe Text)
forall (f :: * -> *) (g :: * -> *) s t a b.
(Functor f, Functor g) =>
AnIso s t a b -> Iso (f s) (g t) (f a) (g b)
Lens.mapping AnIso (Sensitive Text) (Sensitive Text) Text Text
forall a. Iso' (Sensitive a) a
Core._Sensitive
fraudsterRegistrationJobSummary_endedAt :: Lens.Lens' FraudsterRegistrationJobSummary (Prelude.Maybe Prelude.UTCTime)
fraudsterRegistrationJobSummary_endedAt :: (Maybe UTCTime -> f (Maybe UTCTime))
-> FraudsterRegistrationJobSummary
-> f FraudsterRegistrationJobSummary
fraudsterRegistrationJobSummary_endedAt = (FraudsterRegistrationJobSummary -> Maybe POSIX)
-> (FraudsterRegistrationJobSummary
-> Maybe POSIX -> FraudsterRegistrationJobSummary)
-> Lens
FraudsterRegistrationJobSummary
FraudsterRegistrationJobSummary
(Maybe POSIX)
(Maybe POSIX)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\FraudsterRegistrationJobSummary' {Maybe POSIX
endedAt :: Maybe POSIX
$sel:endedAt:FraudsterRegistrationJobSummary' :: FraudsterRegistrationJobSummary -> Maybe POSIX
endedAt} -> Maybe POSIX
endedAt) (\s :: FraudsterRegistrationJobSummary
s@FraudsterRegistrationJobSummary' {} Maybe POSIX
a -> FraudsterRegistrationJobSummary
s {$sel:endedAt:FraudsterRegistrationJobSummary' :: Maybe POSIX
endedAt = Maybe POSIX
a} :: FraudsterRegistrationJobSummary) ((Maybe POSIX -> f (Maybe POSIX))
-> FraudsterRegistrationJobSummary
-> f FraudsterRegistrationJobSummary)
-> ((Maybe UTCTime -> f (Maybe UTCTime))
-> Maybe POSIX -> f (Maybe POSIX))
-> (Maybe UTCTime -> f (Maybe UTCTime))
-> FraudsterRegistrationJobSummary
-> f FraudsterRegistrationJobSummary
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso POSIX POSIX UTCTime UTCTime
-> Iso (Maybe POSIX) (Maybe POSIX) (Maybe UTCTime) (Maybe UTCTime)
forall (f :: * -> *) (g :: * -> *) s t a b.
(Functor f, Functor g) =>
AnIso s t a b -> Iso (f s) (g t) (f a) (g b)
Lens.mapping AnIso POSIX POSIX UTCTime UTCTime
forall (a :: Format). Iso' (Time a) UTCTime
Core._Time
fraudsterRegistrationJobSummary_jobProgress :: Lens.Lens' FraudsterRegistrationJobSummary (Prelude.Maybe JobProgress)
fraudsterRegistrationJobSummary_jobProgress :: (Maybe JobProgress -> f (Maybe JobProgress))
-> FraudsterRegistrationJobSummary
-> f FraudsterRegistrationJobSummary
fraudsterRegistrationJobSummary_jobProgress = (FraudsterRegistrationJobSummary -> Maybe JobProgress)
-> (FraudsterRegistrationJobSummary
-> Maybe JobProgress -> FraudsterRegistrationJobSummary)
-> Lens
FraudsterRegistrationJobSummary
FraudsterRegistrationJobSummary
(Maybe JobProgress)
(Maybe JobProgress)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\FraudsterRegistrationJobSummary' {Maybe JobProgress
jobProgress :: Maybe JobProgress
$sel:jobProgress:FraudsterRegistrationJobSummary' :: FraudsterRegistrationJobSummary -> Maybe JobProgress
jobProgress} -> Maybe JobProgress
jobProgress) (\s :: FraudsterRegistrationJobSummary
s@FraudsterRegistrationJobSummary' {} Maybe JobProgress
a -> FraudsterRegistrationJobSummary
s {$sel:jobProgress:FraudsterRegistrationJobSummary' :: Maybe JobProgress
jobProgress = Maybe JobProgress
a} :: FraudsterRegistrationJobSummary)
fraudsterRegistrationJobSummary_domainId :: Lens.Lens' FraudsterRegistrationJobSummary (Prelude.Maybe Prelude.Text)
fraudsterRegistrationJobSummary_domainId :: (Maybe Text -> f (Maybe Text))
-> FraudsterRegistrationJobSummary
-> f FraudsterRegistrationJobSummary
fraudsterRegistrationJobSummary_domainId = (FraudsterRegistrationJobSummary -> Maybe Text)
-> (FraudsterRegistrationJobSummary
-> Maybe Text -> FraudsterRegistrationJobSummary)
-> Lens
FraudsterRegistrationJobSummary
FraudsterRegistrationJobSummary
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\FraudsterRegistrationJobSummary' {Maybe Text
domainId :: Maybe Text
$sel:domainId:FraudsterRegistrationJobSummary' :: FraudsterRegistrationJobSummary -> Maybe Text
domainId} -> Maybe Text
domainId) (\s :: FraudsterRegistrationJobSummary
s@FraudsterRegistrationJobSummary' {} Maybe Text
a -> FraudsterRegistrationJobSummary
s {$sel:domainId:FraudsterRegistrationJobSummary' :: Maybe Text
domainId = Maybe Text
a} :: FraudsterRegistrationJobSummary)
fraudsterRegistrationJobSummary_jobStatus :: Lens.Lens' FraudsterRegistrationJobSummary (Prelude.Maybe FraudsterRegistrationJobStatus)
fraudsterRegistrationJobSummary_jobStatus :: (Maybe FraudsterRegistrationJobStatus
-> f (Maybe FraudsterRegistrationJobStatus))
-> FraudsterRegistrationJobSummary
-> f FraudsterRegistrationJobSummary
fraudsterRegistrationJobSummary_jobStatus = (FraudsterRegistrationJobSummary
-> Maybe FraudsterRegistrationJobStatus)
-> (FraudsterRegistrationJobSummary
-> Maybe FraudsterRegistrationJobStatus
-> FraudsterRegistrationJobSummary)
-> Lens
FraudsterRegistrationJobSummary
FraudsterRegistrationJobSummary
(Maybe FraudsterRegistrationJobStatus)
(Maybe FraudsterRegistrationJobStatus)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\FraudsterRegistrationJobSummary' {Maybe FraudsterRegistrationJobStatus
jobStatus :: Maybe FraudsterRegistrationJobStatus
$sel:jobStatus:FraudsterRegistrationJobSummary' :: FraudsterRegistrationJobSummary
-> Maybe FraudsterRegistrationJobStatus
jobStatus} -> Maybe FraudsterRegistrationJobStatus
jobStatus) (\s :: FraudsterRegistrationJobSummary
s@FraudsterRegistrationJobSummary' {} Maybe FraudsterRegistrationJobStatus
a -> FraudsterRegistrationJobSummary
s {$sel:jobStatus:FraudsterRegistrationJobSummary' :: Maybe FraudsterRegistrationJobStatus
jobStatus = Maybe FraudsterRegistrationJobStatus
a} :: FraudsterRegistrationJobSummary)
instance
Core.FromJSON
FraudsterRegistrationJobSummary
where
parseJSON :: Value -> Parser FraudsterRegistrationJobSummary
parseJSON =
String
-> (Object -> Parser FraudsterRegistrationJobSummary)
-> Value
-> Parser FraudsterRegistrationJobSummary
forall a. String -> (Object -> Parser a) -> Value -> Parser a
Core.withObject
String
"FraudsterRegistrationJobSummary"
( \Object
x ->
Maybe FailureDetails
-> Maybe Text
-> Maybe POSIX
-> Maybe (Sensitive Text)
-> Maybe POSIX
-> Maybe JobProgress
-> Maybe Text
-> Maybe FraudsterRegistrationJobStatus
-> FraudsterRegistrationJobSummary
FraudsterRegistrationJobSummary'
(Maybe FailureDetails
-> Maybe Text
-> Maybe POSIX
-> Maybe (Sensitive Text)
-> Maybe POSIX
-> Maybe JobProgress
-> Maybe Text
-> Maybe FraudsterRegistrationJobStatus
-> FraudsterRegistrationJobSummary)
-> Parser (Maybe FailureDetails)
-> Parser
(Maybe Text
-> Maybe POSIX
-> Maybe (Sensitive Text)
-> Maybe POSIX
-> Maybe JobProgress
-> Maybe Text
-> Maybe FraudsterRegistrationJobStatus
-> FraudsterRegistrationJobSummary)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x Object -> Text -> Parser (Maybe FailureDetails)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"FailureDetails")
Parser
(Maybe Text
-> Maybe POSIX
-> Maybe (Sensitive Text)
-> Maybe POSIX
-> Maybe JobProgress
-> Maybe Text
-> Maybe FraudsterRegistrationJobStatus
-> FraudsterRegistrationJobSummary)
-> Parser (Maybe Text)
-> Parser
(Maybe POSIX
-> Maybe (Sensitive Text)
-> Maybe POSIX
-> Maybe JobProgress
-> Maybe Text
-> Maybe FraudsterRegistrationJobStatus
-> FraudsterRegistrationJobSummary)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"JobId")
Parser
(Maybe POSIX
-> Maybe (Sensitive Text)
-> Maybe POSIX
-> Maybe JobProgress
-> Maybe Text
-> Maybe FraudsterRegistrationJobStatus
-> FraudsterRegistrationJobSummary)
-> Parser (Maybe POSIX)
-> Parser
(Maybe (Sensitive Text)
-> Maybe POSIX
-> Maybe JobProgress
-> Maybe Text
-> Maybe FraudsterRegistrationJobStatus
-> FraudsterRegistrationJobSummary)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe POSIX)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"CreatedAt")
Parser
(Maybe (Sensitive Text)
-> Maybe POSIX
-> Maybe JobProgress
-> Maybe Text
-> Maybe FraudsterRegistrationJobStatus
-> FraudsterRegistrationJobSummary)
-> Parser (Maybe (Sensitive Text))
-> Parser
(Maybe POSIX
-> Maybe JobProgress
-> Maybe Text
-> Maybe FraudsterRegistrationJobStatus
-> FraudsterRegistrationJobSummary)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe (Sensitive Text))
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"JobName")
Parser
(Maybe POSIX
-> Maybe JobProgress
-> Maybe Text
-> Maybe FraudsterRegistrationJobStatus
-> FraudsterRegistrationJobSummary)
-> Parser (Maybe POSIX)
-> Parser
(Maybe JobProgress
-> Maybe Text
-> Maybe FraudsterRegistrationJobStatus
-> FraudsterRegistrationJobSummary)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe POSIX)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"EndedAt")
Parser
(Maybe JobProgress
-> Maybe Text
-> Maybe FraudsterRegistrationJobStatus
-> FraudsterRegistrationJobSummary)
-> Parser (Maybe JobProgress)
-> Parser
(Maybe Text
-> Maybe FraudsterRegistrationJobStatus
-> FraudsterRegistrationJobSummary)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe JobProgress)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"JobProgress")
Parser
(Maybe Text
-> Maybe FraudsterRegistrationJobStatus
-> FraudsterRegistrationJobSummary)
-> Parser (Maybe Text)
-> Parser
(Maybe FraudsterRegistrationJobStatus
-> FraudsterRegistrationJobSummary)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"DomainId")
Parser
(Maybe FraudsterRegistrationJobStatus
-> FraudsterRegistrationJobSummary)
-> Parser (Maybe FraudsterRegistrationJobStatus)
-> Parser FraudsterRegistrationJobSummary
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe FraudsterRegistrationJobStatus)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"JobStatus")
)
instance
Prelude.Hashable
FraudsterRegistrationJobSummary
instance
Prelude.NFData
FraudsterRegistrationJobSummary