{-# 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.HealthLake.Types.ImportJobProperties where
import qualified Amazonka.Core as Core
import Amazonka.HealthLake.Types.InputDataConfig
import Amazonka.HealthLake.Types.JobStatus
import Amazonka.HealthLake.Types.OutputDataConfig
import qualified Amazonka.Lens as Lens
import qualified Amazonka.Prelude as Prelude
data ImportJobProperties = ImportJobProperties'
{ ImportJobProperties -> Maybe OutputDataConfig
jobOutputDataConfig :: Prelude.Maybe OutputDataConfig,
ImportJobProperties -> Maybe Text
jobName :: Prelude.Maybe Prelude.Text,
ImportJobProperties -> Maybe POSIX
endTime :: Prelude.Maybe Core.POSIX,
ImportJobProperties -> Maybe Text
dataAccessRoleArn :: Prelude.Maybe Prelude.Text,
ImportJobProperties -> Maybe Text
message :: Prelude.Maybe Prelude.Text,
ImportJobProperties -> Text
jobId :: Prelude.Text,
ImportJobProperties -> JobStatus
jobStatus :: JobStatus,
ImportJobProperties -> POSIX
submitTime :: Core.POSIX,
ImportJobProperties -> Text
datastoreId :: Prelude.Text,
ImportJobProperties -> InputDataConfig
inputDataConfig :: InputDataConfig
}
deriving (ImportJobProperties -> ImportJobProperties -> Bool
(ImportJobProperties -> ImportJobProperties -> Bool)
-> (ImportJobProperties -> ImportJobProperties -> Bool)
-> Eq ImportJobProperties
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ImportJobProperties -> ImportJobProperties -> Bool
$c/= :: ImportJobProperties -> ImportJobProperties -> Bool
== :: ImportJobProperties -> ImportJobProperties -> Bool
$c== :: ImportJobProperties -> ImportJobProperties -> Bool
Prelude.Eq, ReadPrec [ImportJobProperties]
ReadPrec ImportJobProperties
Int -> ReadS ImportJobProperties
ReadS [ImportJobProperties]
(Int -> ReadS ImportJobProperties)
-> ReadS [ImportJobProperties]
-> ReadPrec ImportJobProperties
-> ReadPrec [ImportJobProperties]
-> Read ImportJobProperties
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ImportJobProperties]
$creadListPrec :: ReadPrec [ImportJobProperties]
readPrec :: ReadPrec ImportJobProperties
$creadPrec :: ReadPrec ImportJobProperties
readList :: ReadS [ImportJobProperties]
$creadList :: ReadS [ImportJobProperties]
readsPrec :: Int -> ReadS ImportJobProperties
$creadsPrec :: Int -> ReadS ImportJobProperties
Prelude.Read, Int -> ImportJobProperties -> ShowS
[ImportJobProperties] -> ShowS
ImportJobProperties -> String
(Int -> ImportJobProperties -> ShowS)
-> (ImportJobProperties -> String)
-> ([ImportJobProperties] -> ShowS)
-> Show ImportJobProperties
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ImportJobProperties] -> ShowS
$cshowList :: [ImportJobProperties] -> ShowS
show :: ImportJobProperties -> String
$cshow :: ImportJobProperties -> String
showsPrec :: Int -> ImportJobProperties -> ShowS
$cshowsPrec :: Int -> ImportJobProperties -> ShowS
Prelude.Show, (forall x. ImportJobProperties -> Rep ImportJobProperties x)
-> (forall x. Rep ImportJobProperties x -> ImportJobProperties)
-> Generic ImportJobProperties
forall x. Rep ImportJobProperties x -> ImportJobProperties
forall x. ImportJobProperties -> Rep ImportJobProperties x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep ImportJobProperties x -> ImportJobProperties
$cfrom :: forall x. ImportJobProperties -> Rep ImportJobProperties x
Prelude.Generic)
newImportJobProperties ::
Prelude.Text ->
JobStatus ->
Prelude.UTCTime ->
Prelude.Text ->
InputDataConfig ->
ImportJobProperties
newImportJobProperties :: Text
-> JobStatus
-> UTCTime
-> Text
-> InputDataConfig
-> ImportJobProperties
newImportJobProperties
Text
pJobId_
JobStatus
pJobStatus_
UTCTime
pSubmitTime_
Text
pDatastoreId_
InputDataConfig
pInputDataConfig_ =
ImportJobProperties' :: Maybe OutputDataConfig
-> Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Text
-> JobStatus
-> POSIX
-> Text
-> InputDataConfig
-> ImportJobProperties
ImportJobProperties'
{ $sel:jobOutputDataConfig:ImportJobProperties' :: Maybe OutputDataConfig
jobOutputDataConfig =
Maybe OutputDataConfig
forall a. Maybe a
Prelude.Nothing,
$sel:jobName:ImportJobProperties' :: Maybe Text
jobName = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:endTime:ImportJobProperties' :: Maybe POSIX
endTime = Maybe POSIX
forall a. Maybe a
Prelude.Nothing,
$sel:dataAccessRoleArn:ImportJobProperties' :: Maybe Text
dataAccessRoleArn = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:message:ImportJobProperties' :: Maybe Text
message = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:jobId:ImportJobProperties' :: Text
jobId = Text
pJobId_,
$sel:jobStatus:ImportJobProperties' :: JobStatus
jobStatus = JobStatus
pJobStatus_,
$sel:submitTime:ImportJobProperties' :: POSIX
submitTime = Tagged UTCTime (Identity UTCTime) -> Tagged POSIX (Identity POSIX)
forall (a :: Format). Iso' (Time a) UTCTime
Core._Time (Tagged UTCTime (Identity UTCTime)
-> Tagged POSIX (Identity POSIX))
-> UTCTime -> POSIX
forall t b. AReview t b -> b -> t
Lens.# UTCTime
pSubmitTime_,
$sel:datastoreId:ImportJobProperties' :: Text
datastoreId = Text
pDatastoreId_,
$sel:inputDataConfig:ImportJobProperties' :: InputDataConfig
inputDataConfig = InputDataConfig
pInputDataConfig_
}
importJobProperties_jobOutputDataConfig :: Lens.Lens' ImportJobProperties (Prelude.Maybe OutputDataConfig)
importJobProperties_jobOutputDataConfig :: (Maybe OutputDataConfig -> f (Maybe OutputDataConfig))
-> ImportJobProperties -> f ImportJobProperties
importJobProperties_jobOutputDataConfig = (ImportJobProperties -> Maybe OutputDataConfig)
-> (ImportJobProperties
-> Maybe OutputDataConfig -> ImportJobProperties)
-> Lens
ImportJobProperties
ImportJobProperties
(Maybe OutputDataConfig)
(Maybe OutputDataConfig)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ImportJobProperties' {Maybe OutputDataConfig
jobOutputDataConfig :: Maybe OutputDataConfig
$sel:jobOutputDataConfig:ImportJobProperties' :: ImportJobProperties -> Maybe OutputDataConfig
jobOutputDataConfig} -> Maybe OutputDataConfig
jobOutputDataConfig) (\s :: ImportJobProperties
s@ImportJobProperties' {} Maybe OutputDataConfig
a -> ImportJobProperties
s {$sel:jobOutputDataConfig:ImportJobProperties' :: Maybe OutputDataConfig
jobOutputDataConfig = Maybe OutputDataConfig
a} :: ImportJobProperties)
importJobProperties_jobName :: Lens.Lens' ImportJobProperties (Prelude.Maybe Prelude.Text)
importJobProperties_jobName :: (Maybe Text -> f (Maybe Text))
-> ImportJobProperties -> f ImportJobProperties
importJobProperties_jobName = (ImportJobProperties -> Maybe Text)
-> (ImportJobProperties -> Maybe Text -> ImportJobProperties)
-> Lens
ImportJobProperties ImportJobProperties (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ImportJobProperties' {Maybe Text
jobName :: Maybe Text
$sel:jobName:ImportJobProperties' :: ImportJobProperties -> Maybe Text
jobName} -> Maybe Text
jobName) (\s :: ImportJobProperties
s@ImportJobProperties' {} Maybe Text
a -> ImportJobProperties
s {$sel:jobName:ImportJobProperties' :: Maybe Text
jobName = Maybe Text
a} :: ImportJobProperties)
importJobProperties_endTime :: Lens.Lens' ImportJobProperties (Prelude.Maybe Prelude.UTCTime)
importJobProperties_endTime :: (Maybe UTCTime -> f (Maybe UTCTime))
-> ImportJobProperties -> f ImportJobProperties
importJobProperties_endTime = (ImportJobProperties -> Maybe POSIX)
-> (ImportJobProperties -> Maybe POSIX -> ImportJobProperties)
-> Lens
ImportJobProperties ImportJobProperties (Maybe POSIX) (Maybe POSIX)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ImportJobProperties' {Maybe POSIX
endTime :: Maybe POSIX
$sel:endTime:ImportJobProperties' :: ImportJobProperties -> Maybe POSIX
endTime} -> Maybe POSIX
endTime) (\s :: ImportJobProperties
s@ImportJobProperties' {} Maybe POSIX
a -> ImportJobProperties
s {$sel:endTime:ImportJobProperties' :: Maybe POSIX
endTime = Maybe POSIX
a} :: ImportJobProperties) ((Maybe POSIX -> f (Maybe POSIX))
-> ImportJobProperties -> f ImportJobProperties)
-> ((Maybe UTCTime -> f (Maybe UTCTime))
-> Maybe POSIX -> f (Maybe POSIX))
-> (Maybe UTCTime -> f (Maybe UTCTime))
-> ImportJobProperties
-> f ImportJobProperties
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
importJobProperties_dataAccessRoleArn :: Lens.Lens' ImportJobProperties (Prelude.Maybe Prelude.Text)
importJobProperties_dataAccessRoleArn :: (Maybe Text -> f (Maybe Text))
-> ImportJobProperties -> f ImportJobProperties
importJobProperties_dataAccessRoleArn = (ImportJobProperties -> Maybe Text)
-> (ImportJobProperties -> Maybe Text -> ImportJobProperties)
-> Lens
ImportJobProperties ImportJobProperties (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ImportJobProperties' {Maybe Text
dataAccessRoleArn :: Maybe Text
$sel:dataAccessRoleArn:ImportJobProperties' :: ImportJobProperties -> Maybe Text
dataAccessRoleArn} -> Maybe Text
dataAccessRoleArn) (\s :: ImportJobProperties
s@ImportJobProperties' {} Maybe Text
a -> ImportJobProperties
s {$sel:dataAccessRoleArn:ImportJobProperties' :: Maybe Text
dataAccessRoleArn = Maybe Text
a} :: ImportJobProperties)
importJobProperties_message :: Lens.Lens' ImportJobProperties (Prelude.Maybe Prelude.Text)
importJobProperties_message :: (Maybe Text -> f (Maybe Text))
-> ImportJobProperties -> f ImportJobProperties
importJobProperties_message = (ImportJobProperties -> Maybe Text)
-> (ImportJobProperties -> Maybe Text -> ImportJobProperties)
-> Lens
ImportJobProperties ImportJobProperties (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ImportJobProperties' {Maybe Text
message :: Maybe Text
$sel:message:ImportJobProperties' :: ImportJobProperties -> Maybe Text
message} -> Maybe Text
message) (\s :: ImportJobProperties
s@ImportJobProperties' {} Maybe Text
a -> ImportJobProperties
s {$sel:message:ImportJobProperties' :: Maybe Text
message = Maybe Text
a} :: ImportJobProperties)
importJobProperties_jobId :: Lens.Lens' ImportJobProperties Prelude.Text
importJobProperties_jobId :: (Text -> f Text) -> ImportJobProperties -> f ImportJobProperties
importJobProperties_jobId = (ImportJobProperties -> Text)
-> (ImportJobProperties -> Text -> ImportJobProperties)
-> Lens ImportJobProperties ImportJobProperties Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ImportJobProperties' {Text
jobId :: Text
$sel:jobId:ImportJobProperties' :: ImportJobProperties -> Text
jobId} -> Text
jobId) (\s :: ImportJobProperties
s@ImportJobProperties' {} Text
a -> ImportJobProperties
s {$sel:jobId:ImportJobProperties' :: Text
jobId = Text
a} :: ImportJobProperties)
importJobProperties_jobStatus :: Lens.Lens' ImportJobProperties JobStatus
importJobProperties_jobStatus :: (JobStatus -> f JobStatus)
-> ImportJobProperties -> f ImportJobProperties
importJobProperties_jobStatus = (ImportJobProperties -> JobStatus)
-> (ImportJobProperties -> JobStatus -> ImportJobProperties)
-> Lens ImportJobProperties ImportJobProperties JobStatus JobStatus
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ImportJobProperties' {JobStatus
jobStatus :: JobStatus
$sel:jobStatus:ImportJobProperties' :: ImportJobProperties -> JobStatus
jobStatus} -> JobStatus
jobStatus) (\s :: ImportJobProperties
s@ImportJobProperties' {} JobStatus
a -> ImportJobProperties
s {$sel:jobStatus:ImportJobProperties' :: JobStatus
jobStatus = JobStatus
a} :: ImportJobProperties)
importJobProperties_submitTime :: Lens.Lens' ImportJobProperties Prelude.UTCTime
importJobProperties_submitTime :: (UTCTime -> f UTCTime)
-> ImportJobProperties -> f ImportJobProperties
importJobProperties_submitTime = (ImportJobProperties -> POSIX)
-> (ImportJobProperties -> POSIX -> ImportJobProperties)
-> Lens ImportJobProperties ImportJobProperties POSIX POSIX
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ImportJobProperties' {POSIX
submitTime :: POSIX
$sel:submitTime:ImportJobProperties' :: ImportJobProperties -> POSIX
submitTime} -> POSIX
submitTime) (\s :: ImportJobProperties
s@ImportJobProperties' {} POSIX
a -> ImportJobProperties
s {$sel:submitTime:ImportJobProperties' :: POSIX
submitTime = POSIX
a} :: ImportJobProperties) ((POSIX -> f POSIX)
-> ImportJobProperties -> f ImportJobProperties)
-> ((UTCTime -> f UTCTime) -> POSIX -> f POSIX)
-> (UTCTime -> f UTCTime)
-> ImportJobProperties
-> f ImportJobProperties
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. (UTCTime -> f UTCTime) -> POSIX -> f POSIX
forall (a :: Format). Iso' (Time a) UTCTime
Core._Time
importJobProperties_datastoreId :: Lens.Lens' ImportJobProperties Prelude.Text
importJobProperties_datastoreId :: (Text -> f Text) -> ImportJobProperties -> f ImportJobProperties
importJobProperties_datastoreId = (ImportJobProperties -> Text)
-> (ImportJobProperties -> Text -> ImportJobProperties)
-> Lens ImportJobProperties ImportJobProperties Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ImportJobProperties' {Text
datastoreId :: Text
$sel:datastoreId:ImportJobProperties' :: ImportJobProperties -> Text
datastoreId} -> Text
datastoreId) (\s :: ImportJobProperties
s@ImportJobProperties' {} Text
a -> ImportJobProperties
s {$sel:datastoreId:ImportJobProperties' :: Text
datastoreId = Text
a} :: ImportJobProperties)
importJobProperties_inputDataConfig :: Lens.Lens' ImportJobProperties InputDataConfig
importJobProperties_inputDataConfig :: (InputDataConfig -> f InputDataConfig)
-> ImportJobProperties -> f ImportJobProperties
importJobProperties_inputDataConfig = (ImportJobProperties -> InputDataConfig)
-> (ImportJobProperties -> InputDataConfig -> ImportJobProperties)
-> Lens
ImportJobProperties
ImportJobProperties
InputDataConfig
InputDataConfig
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ImportJobProperties' {InputDataConfig
inputDataConfig :: InputDataConfig
$sel:inputDataConfig:ImportJobProperties' :: ImportJobProperties -> InputDataConfig
inputDataConfig} -> InputDataConfig
inputDataConfig) (\s :: ImportJobProperties
s@ImportJobProperties' {} InputDataConfig
a -> ImportJobProperties
s {$sel:inputDataConfig:ImportJobProperties' :: InputDataConfig
inputDataConfig = InputDataConfig
a} :: ImportJobProperties)
instance Core.FromJSON ImportJobProperties where
parseJSON :: Value -> Parser ImportJobProperties
parseJSON =
String
-> (Object -> Parser ImportJobProperties)
-> Value
-> Parser ImportJobProperties
forall a. String -> (Object -> Parser a) -> Value -> Parser a
Core.withObject
String
"ImportJobProperties"
( \Object
x ->
Maybe OutputDataConfig
-> Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Text
-> JobStatus
-> POSIX
-> Text
-> InputDataConfig
-> ImportJobProperties
ImportJobProperties'
(Maybe OutputDataConfig
-> Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Text
-> JobStatus
-> POSIX
-> Text
-> InputDataConfig
-> ImportJobProperties)
-> Parser (Maybe OutputDataConfig)
-> Parser
(Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Text
-> JobStatus
-> POSIX
-> Text
-> InputDataConfig
-> ImportJobProperties)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x Object -> Text -> Parser (Maybe OutputDataConfig)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"JobOutputDataConfig")
Parser
(Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Text
-> JobStatus
-> POSIX
-> Text
-> InputDataConfig
-> ImportJobProperties)
-> Parser (Maybe Text)
-> Parser
(Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Text
-> JobStatus
-> POSIX
-> Text
-> InputDataConfig
-> ImportJobProperties)
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 Text
-> Maybe Text
-> Text
-> JobStatus
-> POSIX
-> Text
-> InputDataConfig
-> ImportJobProperties)
-> Parser (Maybe POSIX)
-> Parser
(Maybe Text
-> Maybe Text
-> Text
-> JobStatus
-> POSIX
-> Text
-> InputDataConfig
-> ImportJobProperties)
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
"EndTime")
Parser
(Maybe Text
-> Maybe Text
-> Text
-> JobStatus
-> POSIX
-> Text
-> InputDataConfig
-> ImportJobProperties)
-> Parser (Maybe Text)
-> Parser
(Maybe Text
-> Text
-> JobStatus
-> POSIX
-> Text
-> InputDataConfig
-> ImportJobProperties)
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
"DataAccessRoleArn")
Parser
(Maybe Text
-> Text
-> JobStatus
-> POSIX
-> Text
-> InputDataConfig
-> ImportJobProperties)
-> Parser (Maybe Text)
-> Parser
(Text
-> JobStatus
-> POSIX
-> Text
-> InputDataConfig
-> ImportJobProperties)
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
"Message")
Parser
(Text
-> JobStatus
-> POSIX
-> Text
-> InputDataConfig
-> ImportJobProperties)
-> Parser Text
-> Parser
(JobStatus
-> POSIX -> Text -> InputDataConfig -> ImportJobProperties)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser Text
forall a. FromJSON a => Object -> Text -> Parser a
Core..: Text
"JobId")
Parser
(JobStatus
-> POSIX -> Text -> InputDataConfig -> ImportJobProperties)
-> Parser JobStatus
-> Parser (POSIX -> Text -> InputDataConfig -> ImportJobProperties)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser JobStatus
forall a. FromJSON a => Object -> Text -> Parser a
Core..: Text
"JobStatus")
Parser (POSIX -> Text -> InputDataConfig -> ImportJobProperties)
-> Parser POSIX
-> Parser (Text -> InputDataConfig -> ImportJobProperties)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser POSIX
forall a. FromJSON a => Object -> Text -> Parser a
Core..: Text
"SubmitTime")
Parser (Text -> InputDataConfig -> ImportJobProperties)
-> Parser Text -> Parser (InputDataConfig -> ImportJobProperties)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser Text
forall a. FromJSON a => Object -> Text -> Parser a
Core..: Text
"DatastoreId")
Parser (InputDataConfig -> ImportJobProperties)
-> Parser InputDataConfig -> Parser ImportJobProperties
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser InputDataConfig
forall a. FromJSON a => Object -> Text -> Parser a
Core..: Text
"InputDataConfig")
)
instance Prelude.Hashable ImportJobProperties
instance Prelude.NFData ImportJobProperties