{-# 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.Personalize.Types.DatasetExportJob where
import qualified Amazonka.Core as Core
import qualified Amazonka.Lens as Lens
import Amazonka.Personalize.Types.DatasetExportJobOutput
import Amazonka.Personalize.Types.IngestionMode
import qualified Amazonka.Prelude as Prelude
data DatasetExportJob = DatasetExportJob'
{
DatasetExportJob -> Maybe Text
failureReason :: Prelude.Maybe Prelude.Text,
DatasetExportJob -> Maybe Text
status :: Prelude.Maybe Prelude.Text,
DatasetExportJob -> Maybe Text
datasetExportJobArn :: Prelude.Maybe Prelude.Text,
DatasetExportJob -> Maybe Text
datasetArn :: Prelude.Maybe Prelude.Text,
DatasetExportJob -> Maybe DatasetExportJobOutput
jobOutput :: Prelude.Maybe DatasetExportJobOutput,
DatasetExportJob -> Maybe Text
jobName :: Prelude.Maybe Prelude.Text,
DatasetExportJob -> Maybe POSIX
lastUpdatedDateTime :: Prelude.Maybe Core.POSIX,
DatasetExportJob -> Maybe IngestionMode
ingestionMode :: Prelude.Maybe IngestionMode,
DatasetExportJob -> Maybe POSIX
creationDateTime :: Prelude.Maybe Core.POSIX,
DatasetExportJob -> Maybe Text
roleArn :: Prelude.Maybe Prelude.Text
}
deriving (DatasetExportJob -> DatasetExportJob -> Bool
(DatasetExportJob -> DatasetExportJob -> Bool)
-> (DatasetExportJob -> DatasetExportJob -> Bool)
-> Eq DatasetExportJob
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DatasetExportJob -> DatasetExportJob -> Bool
$c/= :: DatasetExportJob -> DatasetExportJob -> Bool
== :: DatasetExportJob -> DatasetExportJob -> Bool
$c== :: DatasetExportJob -> DatasetExportJob -> Bool
Prelude.Eq, ReadPrec [DatasetExportJob]
ReadPrec DatasetExportJob
Int -> ReadS DatasetExportJob
ReadS [DatasetExportJob]
(Int -> ReadS DatasetExportJob)
-> ReadS [DatasetExportJob]
-> ReadPrec DatasetExportJob
-> ReadPrec [DatasetExportJob]
-> Read DatasetExportJob
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DatasetExportJob]
$creadListPrec :: ReadPrec [DatasetExportJob]
readPrec :: ReadPrec DatasetExportJob
$creadPrec :: ReadPrec DatasetExportJob
readList :: ReadS [DatasetExportJob]
$creadList :: ReadS [DatasetExportJob]
readsPrec :: Int -> ReadS DatasetExportJob
$creadsPrec :: Int -> ReadS DatasetExportJob
Prelude.Read, Int -> DatasetExportJob -> ShowS
[DatasetExportJob] -> ShowS
DatasetExportJob -> String
(Int -> DatasetExportJob -> ShowS)
-> (DatasetExportJob -> String)
-> ([DatasetExportJob] -> ShowS)
-> Show DatasetExportJob
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DatasetExportJob] -> ShowS
$cshowList :: [DatasetExportJob] -> ShowS
show :: DatasetExportJob -> String
$cshow :: DatasetExportJob -> String
showsPrec :: Int -> DatasetExportJob -> ShowS
$cshowsPrec :: Int -> DatasetExportJob -> ShowS
Prelude.Show, (forall x. DatasetExportJob -> Rep DatasetExportJob x)
-> (forall x. Rep DatasetExportJob x -> DatasetExportJob)
-> Generic DatasetExportJob
forall x. Rep DatasetExportJob x -> DatasetExportJob
forall x. DatasetExportJob -> Rep DatasetExportJob x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep DatasetExportJob x -> DatasetExportJob
$cfrom :: forall x. DatasetExportJob -> Rep DatasetExportJob x
Prelude.Generic)
newDatasetExportJob ::
DatasetExportJob
newDatasetExportJob :: DatasetExportJob
newDatasetExportJob =
DatasetExportJob' :: Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe DatasetExportJobOutput
-> Maybe Text
-> Maybe POSIX
-> Maybe IngestionMode
-> Maybe POSIX
-> Maybe Text
-> DatasetExportJob
DatasetExportJob'
{ $sel:failureReason:DatasetExportJob' :: Maybe Text
failureReason = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:status:DatasetExportJob' :: Maybe Text
status = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:datasetExportJobArn:DatasetExportJob' :: Maybe Text
datasetExportJobArn = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:datasetArn:DatasetExportJob' :: Maybe Text
datasetArn = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:jobOutput:DatasetExportJob' :: Maybe DatasetExportJobOutput
jobOutput = Maybe DatasetExportJobOutput
forall a. Maybe a
Prelude.Nothing,
$sel:jobName:DatasetExportJob' :: Maybe Text
jobName = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:lastUpdatedDateTime:DatasetExportJob' :: Maybe POSIX
lastUpdatedDateTime = Maybe POSIX
forall a. Maybe a
Prelude.Nothing,
$sel:ingestionMode:DatasetExportJob' :: Maybe IngestionMode
ingestionMode = Maybe IngestionMode
forall a. Maybe a
Prelude.Nothing,
$sel:creationDateTime:DatasetExportJob' :: Maybe POSIX
creationDateTime = Maybe POSIX
forall a. Maybe a
Prelude.Nothing,
$sel:roleArn:DatasetExportJob' :: Maybe Text
roleArn = Maybe Text
forall a. Maybe a
Prelude.Nothing
}
datasetExportJob_failureReason :: Lens.Lens' DatasetExportJob (Prelude.Maybe Prelude.Text)
datasetExportJob_failureReason :: (Maybe Text -> f (Maybe Text))
-> DatasetExportJob -> f DatasetExportJob
datasetExportJob_failureReason = (DatasetExportJob -> Maybe Text)
-> (DatasetExportJob -> Maybe Text -> DatasetExportJob)
-> Lens DatasetExportJob DatasetExportJob (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DatasetExportJob' {Maybe Text
failureReason :: Maybe Text
$sel:failureReason:DatasetExportJob' :: DatasetExportJob -> Maybe Text
failureReason} -> Maybe Text
failureReason) (\s :: DatasetExportJob
s@DatasetExportJob' {} Maybe Text
a -> DatasetExportJob
s {$sel:failureReason:DatasetExportJob' :: Maybe Text
failureReason = Maybe Text
a} :: DatasetExportJob)
datasetExportJob_status :: Lens.Lens' DatasetExportJob (Prelude.Maybe Prelude.Text)
datasetExportJob_status :: (Maybe Text -> f (Maybe Text))
-> DatasetExportJob -> f DatasetExportJob
datasetExportJob_status = (DatasetExportJob -> Maybe Text)
-> (DatasetExportJob -> Maybe Text -> DatasetExportJob)
-> Lens DatasetExportJob DatasetExportJob (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DatasetExportJob' {Maybe Text
status :: Maybe Text
$sel:status:DatasetExportJob' :: DatasetExportJob -> Maybe Text
status} -> Maybe Text
status) (\s :: DatasetExportJob
s@DatasetExportJob' {} Maybe Text
a -> DatasetExportJob
s {$sel:status:DatasetExportJob' :: Maybe Text
status = Maybe Text
a} :: DatasetExportJob)
datasetExportJob_datasetExportJobArn :: Lens.Lens' DatasetExportJob (Prelude.Maybe Prelude.Text)
datasetExportJob_datasetExportJobArn :: (Maybe Text -> f (Maybe Text))
-> DatasetExportJob -> f DatasetExportJob
datasetExportJob_datasetExportJobArn = (DatasetExportJob -> Maybe Text)
-> (DatasetExportJob -> Maybe Text -> DatasetExportJob)
-> Lens DatasetExportJob DatasetExportJob (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DatasetExportJob' {Maybe Text
datasetExportJobArn :: Maybe Text
$sel:datasetExportJobArn:DatasetExportJob' :: DatasetExportJob -> Maybe Text
datasetExportJobArn} -> Maybe Text
datasetExportJobArn) (\s :: DatasetExportJob
s@DatasetExportJob' {} Maybe Text
a -> DatasetExportJob
s {$sel:datasetExportJobArn:DatasetExportJob' :: Maybe Text
datasetExportJobArn = Maybe Text
a} :: DatasetExportJob)
datasetExportJob_datasetArn :: Lens.Lens' DatasetExportJob (Prelude.Maybe Prelude.Text)
datasetExportJob_datasetArn :: (Maybe Text -> f (Maybe Text))
-> DatasetExportJob -> f DatasetExportJob
datasetExportJob_datasetArn = (DatasetExportJob -> Maybe Text)
-> (DatasetExportJob -> Maybe Text -> DatasetExportJob)
-> Lens DatasetExportJob DatasetExportJob (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DatasetExportJob' {Maybe Text
datasetArn :: Maybe Text
$sel:datasetArn:DatasetExportJob' :: DatasetExportJob -> Maybe Text
datasetArn} -> Maybe Text
datasetArn) (\s :: DatasetExportJob
s@DatasetExportJob' {} Maybe Text
a -> DatasetExportJob
s {$sel:datasetArn:DatasetExportJob' :: Maybe Text
datasetArn = Maybe Text
a} :: DatasetExportJob)
datasetExportJob_jobOutput :: Lens.Lens' DatasetExportJob (Prelude.Maybe DatasetExportJobOutput)
datasetExportJob_jobOutput :: (Maybe DatasetExportJobOutput -> f (Maybe DatasetExportJobOutput))
-> DatasetExportJob -> f DatasetExportJob
datasetExportJob_jobOutput = (DatasetExportJob -> Maybe DatasetExportJobOutput)
-> (DatasetExportJob
-> Maybe DatasetExportJobOutput -> DatasetExportJob)
-> Lens
DatasetExportJob
DatasetExportJob
(Maybe DatasetExportJobOutput)
(Maybe DatasetExportJobOutput)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DatasetExportJob' {Maybe DatasetExportJobOutput
jobOutput :: Maybe DatasetExportJobOutput
$sel:jobOutput:DatasetExportJob' :: DatasetExportJob -> Maybe DatasetExportJobOutput
jobOutput} -> Maybe DatasetExportJobOutput
jobOutput) (\s :: DatasetExportJob
s@DatasetExportJob' {} Maybe DatasetExportJobOutput
a -> DatasetExportJob
s {$sel:jobOutput:DatasetExportJob' :: Maybe DatasetExportJobOutput
jobOutput = Maybe DatasetExportJobOutput
a} :: DatasetExportJob)
datasetExportJob_jobName :: Lens.Lens' DatasetExportJob (Prelude.Maybe Prelude.Text)
datasetExportJob_jobName :: (Maybe Text -> f (Maybe Text))
-> DatasetExportJob -> f DatasetExportJob
datasetExportJob_jobName = (DatasetExportJob -> Maybe Text)
-> (DatasetExportJob -> Maybe Text -> DatasetExportJob)
-> Lens DatasetExportJob DatasetExportJob (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DatasetExportJob' {Maybe Text
jobName :: Maybe Text
$sel:jobName:DatasetExportJob' :: DatasetExportJob -> Maybe Text
jobName} -> Maybe Text
jobName) (\s :: DatasetExportJob
s@DatasetExportJob' {} Maybe Text
a -> DatasetExportJob
s {$sel:jobName:DatasetExportJob' :: Maybe Text
jobName = Maybe Text
a} :: DatasetExportJob)
datasetExportJob_lastUpdatedDateTime :: Lens.Lens' DatasetExportJob (Prelude.Maybe Prelude.UTCTime)
datasetExportJob_lastUpdatedDateTime :: (Maybe UTCTime -> f (Maybe UTCTime))
-> DatasetExportJob -> f DatasetExportJob
datasetExportJob_lastUpdatedDateTime = (DatasetExportJob -> Maybe POSIX)
-> (DatasetExportJob -> Maybe POSIX -> DatasetExportJob)
-> Lens
DatasetExportJob DatasetExportJob (Maybe POSIX) (Maybe POSIX)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DatasetExportJob' {Maybe POSIX
lastUpdatedDateTime :: Maybe POSIX
$sel:lastUpdatedDateTime:DatasetExportJob' :: DatasetExportJob -> Maybe POSIX
lastUpdatedDateTime} -> Maybe POSIX
lastUpdatedDateTime) (\s :: DatasetExportJob
s@DatasetExportJob' {} Maybe POSIX
a -> DatasetExportJob
s {$sel:lastUpdatedDateTime:DatasetExportJob' :: Maybe POSIX
lastUpdatedDateTime = Maybe POSIX
a} :: DatasetExportJob) ((Maybe POSIX -> f (Maybe POSIX))
-> DatasetExportJob -> f DatasetExportJob)
-> ((Maybe UTCTime -> f (Maybe UTCTime))
-> Maybe POSIX -> f (Maybe POSIX))
-> (Maybe UTCTime -> f (Maybe UTCTime))
-> DatasetExportJob
-> f DatasetExportJob
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
datasetExportJob_ingestionMode :: Lens.Lens' DatasetExportJob (Prelude.Maybe IngestionMode)
datasetExportJob_ingestionMode :: (Maybe IngestionMode -> f (Maybe IngestionMode))
-> DatasetExportJob -> f DatasetExportJob
datasetExportJob_ingestionMode = (DatasetExportJob -> Maybe IngestionMode)
-> (DatasetExportJob -> Maybe IngestionMode -> DatasetExportJob)
-> Lens
DatasetExportJob
DatasetExportJob
(Maybe IngestionMode)
(Maybe IngestionMode)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DatasetExportJob' {Maybe IngestionMode
ingestionMode :: Maybe IngestionMode
$sel:ingestionMode:DatasetExportJob' :: DatasetExportJob -> Maybe IngestionMode
ingestionMode} -> Maybe IngestionMode
ingestionMode) (\s :: DatasetExportJob
s@DatasetExportJob' {} Maybe IngestionMode
a -> DatasetExportJob
s {$sel:ingestionMode:DatasetExportJob' :: Maybe IngestionMode
ingestionMode = Maybe IngestionMode
a} :: DatasetExportJob)
datasetExportJob_creationDateTime :: Lens.Lens' DatasetExportJob (Prelude.Maybe Prelude.UTCTime)
datasetExportJob_creationDateTime :: (Maybe UTCTime -> f (Maybe UTCTime))
-> DatasetExportJob -> f DatasetExportJob
datasetExportJob_creationDateTime = (DatasetExportJob -> Maybe POSIX)
-> (DatasetExportJob -> Maybe POSIX -> DatasetExportJob)
-> Lens
DatasetExportJob DatasetExportJob (Maybe POSIX) (Maybe POSIX)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DatasetExportJob' {Maybe POSIX
creationDateTime :: Maybe POSIX
$sel:creationDateTime:DatasetExportJob' :: DatasetExportJob -> Maybe POSIX
creationDateTime} -> Maybe POSIX
creationDateTime) (\s :: DatasetExportJob
s@DatasetExportJob' {} Maybe POSIX
a -> DatasetExportJob
s {$sel:creationDateTime:DatasetExportJob' :: Maybe POSIX
creationDateTime = Maybe POSIX
a} :: DatasetExportJob) ((Maybe POSIX -> f (Maybe POSIX))
-> DatasetExportJob -> f DatasetExportJob)
-> ((Maybe UTCTime -> f (Maybe UTCTime))
-> Maybe POSIX -> f (Maybe POSIX))
-> (Maybe UTCTime -> f (Maybe UTCTime))
-> DatasetExportJob
-> f DatasetExportJob
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
datasetExportJob_roleArn :: Lens.Lens' DatasetExportJob (Prelude.Maybe Prelude.Text)
datasetExportJob_roleArn :: (Maybe Text -> f (Maybe Text))
-> DatasetExportJob -> f DatasetExportJob
datasetExportJob_roleArn = (DatasetExportJob -> Maybe Text)
-> (DatasetExportJob -> Maybe Text -> DatasetExportJob)
-> Lens DatasetExportJob DatasetExportJob (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DatasetExportJob' {Maybe Text
roleArn :: Maybe Text
$sel:roleArn:DatasetExportJob' :: DatasetExportJob -> Maybe Text
roleArn} -> Maybe Text
roleArn) (\s :: DatasetExportJob
s@DatasetExportJob' {} Maybe Text
a -> DatasetExportJob
s {$sel:roleArn:DatasetExportJob' :: Maybe Text
roleArn = Maybe Text
a} :: DatasetExportJob)
instance Core.FromJSON DatasetExportJob where
parseJSON :: Value -> Parser DatasetExportJob
parseJSON =
String
-> (Object -> Parser DatasetExportJob)
-> Value
-> Parser DatasetExportJob
forall a. String -> (Object -> Parser a) -> Value -> Parser a
Core.withObject
String
"DatasetExportJob"
( \Object
x ->
Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe DatasetExportJobOutput
-> Maybe Text
-> Maybe POSIX
-> Maybe IngestionMode
-> Maybe POSIX
-> Maybe Text
-> DatasetExportJob
DatasetExportJob'
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe DatasetExportJobOutput
-> Maybe Text
-> Maybe POSIX
-> Maybe IngestionMode
-> Maybe POSIX
-> Maybe Text
-> DatasetExportJob)
-> Parser (Maybe Text)
-> Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe DatasetExportJobOutput
-> Maybe Text
-> Maybe POSIX
-> Maybe IngestionMode
-> Maybe POSIX
-> Maybe Text
-> DatasetExportJob)
forall (f :: * -> *) a b. Functor 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
"failureReason")
Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe DatasetExportJobOutput
-> Maybe Text
-> Maybe POSIX
-> Maybe IngestionMode
-> Maybe POSIX
-> Maybe Text
-> DatasetExportJob)
-> Parser (Maybe Text)
-> Parser
(Maybe Text
-> Maybe Text
-> Maybe DatasetExportJobOutput
-> Maybe Text
-> Maybe POSIX
-> Maybe IngestionMode
-> Maybe POSIX
-> Maybe Text
-> DatasetExportJob)
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
"status")
Parser
(Maybe Text
-> Maybe Text
-> Maybe DatasetExportJobOutput
-> Maybe Text
-> Maybe POSIX
-> Maybe IngestionMode
-> Maybe POSIX
-> Maybe Text
-> DatasetExportJob)
-> Parser (Maybe Text)
-> Parser
(Maybe Text
-> Maybe DatasetExportJobOutput
-> Maybe Text
-> Maybe POSIX
-> Maybe IngestionMode
-> Maybe POSIX
-> Maybe Text
-> DatasetExportJob)
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
"datasetExportJobArn")
Parser
(Maybe Text
-> Maybe DatasetExportJobOutput
-> Maybe Text
-> Maybe POSIX
-> Maybe IngestionMode
-> Maybe POSIX
-> Maybe Text
-> DatasetExportJob)
-> Parser (Maybe Text)
-> Parser
(Maybe DatasetExportJobOutput
-> Maybe Text
-> Maybe POSIX
-> Maybe IngestionMode
-> Maybe POSIX
-> Maybe Text
-> DatasetExportJob)
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
"datasetArn")
Parser
(Maybe DatasetExportJobOutput
-> Maybe Text
-> Maybe POSIX
-> Maybe IngestionMode
-> Maybe POSIX
-> Maybe Text
-> DatasetExportJob)
-> Parser (Maybe DatasetExportJobOutput)
-> Parser
(Maybe Text
-> Maybe POSIX
-> Maybe IngestionMode
-> Maybe POSIX
-> Maybe Text
-> DatasetExportJob)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe DatasetExportJobOutput)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"jobOutput")
Parser
(Maybe Text
-> Maybe POSIX
-> Maybe IngestionMode
-> Maybe POSIX
-> Maybe Text
-> DatasetExportJob)
-> Parser (Maybe Text)
-> Parser
(Maybe POSIX
-> Maybe IngestionMode
-> Maybe POSIX
-> Maybe Text
-> DatasetExportJob)
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
"jobName")
Parser
(Maybe POSIX
-> Maybe IngestionMode
-> Maybe POSIX
-> Maybe Text
-> DatasetExportJob)
-> Parser (Maybe POSIX)
-> Parser
(Maybe IngestionMode
-> Maybe POSIX -> Maybe Text -> DatasetExportJob)
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
"lastUpdatedDateTime")
Parser
(Maybe IngestionMode
-> Maybe POSIX -> Maybe Text -> DatasetExportJob)
-> Parser (Maybe IngestionMode)
-> Parser (Maybe POSIX -> Maybe Text -> DatasetExportJob)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe IngestionMode)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"ingestionMode")
Parser (Maybe POSIX -> Maybe Text -> DatasetExportJob)
-> Parser (Maybe POSIX) -> Parser (Maybe Text -> DatasetExportJob)
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
"creationDateTime")
Parser (Maybe Text -> DatasetExportJob)
-> Parser (Maybe Text) -> Parser DatasetExportJob
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
"roleArn")
)
instance Prelude.Hashable DatasetExportJob
instance Prelude.NFData DatasetExportJob