{-# 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.Comprehend.Types.DominantLanguageDetectionJobProperties where
import Amazonka.Comprehend.Types.InputDataConfig
import Amazonka.Comprehend.Types.JobStatus
import Amazonka.Comprehend.Types.OutputDataConfig
import Amazonka.Comprehend.Types.VpcConfig
import qualified Amazonka.Core as Core
import qualified Amazonka.Core.Lens.Internal as Lens
import qualified Amazonka.Data as Data
import qualified Amazonka.Prelude as Prelude
data DominantLanguageDetectionJobProperties = DominantLanguageDetectionJobProperties'
{
DominantLanguageDetectionJobProperties -> Maybe Text
dataAccessRoleArn :: Prelude.Maybe Prelude.Text,
DominantLanguageDetectionJobProperties -> Maybe POSIX
endTime :: Prelude.Maybe Data.POSIX,
DominantLanguageDetectionJobProperties -> Maybe InputDataConfig
inputDataConfig :: Prelude.Maybe InputDataConfig,
DominantLanguageDetectionJobProperties -> Maybe Text
jobArn :: Prelude.Maybe Prelude.Text,
DominantLanguageDetectionJobProperties -> Maybe Text
jobId :: Prelude.Maybe Prelude.Text,
DominantLanguageDetectionJobProperties -> Maybe Text
jobName :: Prelude.Maybe Prelude.Text,
DominantLanguageDetectionJobProperties -> Maybe JobStatus
jobStatus :: Prelude.Maybe JobStatus,
DominantLanguageDetectionJobProperties -> Maybe Text
message :: Prelude.Maybe Prelude.Text,
DominantLanguageDetectionJobProperties -> Maybe OutputDataConfig
outputDataConfig :: Prelude.Maybe OutputDataConfig,
DominantLanguageDetectionJobProperties -> Maybe POSIX
submitTime :: Prelude.Maybe Data.POSIX,
DominantLanguageDetectionJobProperties -> Maybe Text
volumeKmsKeyId :: Prelude.Maybe Prelude.Text,
DominantLanguageDetectionJobProperties -> Maybe VpcConfig
vpcConfig :: Prelude.Maybe VpcConfig
}
deriving (DominantLanguageDetectionJobProperties
-> DominantLanguageDetectionJobProperties -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DominantLanguageDetectionJobProperties
-> DominantLanguageDetectionJobProperties -> Bool
$c/= :: DominantLanguageDetectionJobProperties
-> DominantLanguageDetectionJobProperties -> Bool
== :: DominantLanguageDetectionJobProperties
-> DominantLanguageDetectionJobProperties -> Bool
$c== :: DominantLanguageDetectionJobProperties
-> DominantLanguageDetectionJobProperties -> Bool
Prelude.Eq, ReadPrec [DominantLanguageDetectionJobProperties]
ReadPrec DominantLanguageDetectionJobProperties
Int -> ReadS DominantLanguageDetectionJobProperties
ReadS [DominantLanguageDetectionJobProperties]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DominantLanguageDetectionJobProperties]
$creadListPrec :: ReadPrec [DominantLanguageDetectionJobProperties]
readPrec :: ReadPrec DominantLanguageDetectionJobProperties
$creadPrec :: ReadPrec DominantLanguageDetectionJobProperties
readList :: ReadS [DominantLanguageDetectionJobProperties]
$creadList :: ReadS [DominantLanguageDetectionJobProperties]
readsPrec :: Int -> ReadS DominantLanguageDetectionJobProperties
$creadsPrec :: Int -> ReadS DominantLanguageDetectionJobProperties
Prelude.Read, Int -> DominantLanguageDetectionJobProperties -> ShowS
[DominantLanguageDetectionJobProperties] -> ShowS
DominantLanguageDetectionJobProperties -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DominantLanguageDetectionJobProperties] -> ShowS
$cshowList :: [DominantLanguageDetectionJobProperties] -> ShowS
show :: DominantLanguageDetectionJobProperties -> String
$cshow :: DominantLanguageDetectionJobProperties -> String
showsPrec :: Int -> DominantLanguageDetectionJobProperties -> ShowS
$cshowsPrec :: Int -> DominantLanguageDetectionJobProperties -> ShowS
Prelude.Show, forall x.
Rep DominantLanguageDetectionJobProperties x
-> DominantLanguageDetectionJobProperties
forall x.
DominantLanguageDetectionJobProperties
-> Rep DominantLanguageDetectionJobProperties x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep DominantLanguageDetectionJobProperties x
-> DominantLanguageDetectionJobProperties
$cfrom :: forall x.
DominantLanguageDetectionJobProperties
-> Rep DominantLanguageDetectionJobProperties x
Prelude.Generic)
newDominantLanguageDetectionJobProperties ::
DominantLanguageDetectionJobProperties
newDominantLanguageDetectionJobProperties :: DominantLanguageDetectionJobProperties
newDominantLanguageDetectionJobProperties =
DominantLanguageDetectionJobProperties'
{ $sel:dataAccessRoleArn:DominantLanguageDetectionJobProperties' :: Maybe Text
dataAccessRoleArn =
forall a. Maybe a
Prelude.Nothing,
$sel:endTime:DominantLanguageDetectionJobProperties' :: Maybe POSIX
endTime = forall a. Maybe a
Prelude.Nothing,
$sel:inputDataConfig:DominantLanguageDetectionJobProperties' :: Maybe InputDataConfig
inputDataConfig = forall a. Maybe a
Prelude.Nothing,
$sel:jobArn:DominantLanguageDetectionJobProperties' :: Maybe Text
jobArn = forall a. Maybe a
Prelude.Nothing,
$sel:jobId:DominantLanguageDetectionJobProperties' :: Maybe Text
jobId = forall a. Maybe a
Prelude.Nothing,
$sel:jobName:DominantLanguageDetectionJobProperties' :: Maybe Text
jobName = forall a. Maybe a
Prelude.Nothing,
$sel:jobStatus:DominantLanguageDetectionJobProperties' :: Maybe JobStatus
jobStatus = forall a. Maybe a
Prelude.Nothing,
$sel:message:DominantLanguageDetectionJobProperties' :: Maybe Text
message = forall a. Maybe a
Prelude.Nothing,
$sel:outputDataConfig:DominantLanguageDetectionJobProperties' :: Maybe OutputDataConfig
outputDataConfig = forall a. Maybe a
Prelude.Nothing,
$sel:submitTime:DominantLanguageDetectionJobProperties' :: Maybe POSIX
submitTime = forall a. Maybe a
Prelude.Nothing,
$sel:volumeKmsKeyId:DominantLanguageDetectionJobProperties' :: Maybe Text
volumeKmsKeyId = forall a. Maybe a
Prelude.Nothing,
$sel:vpcConfig:DominantLanguageDetectionJobProperties' :: Maybe VpcConfig
vpcConfig = forall a. Maybe a
Prelude.Nothing
}
dominantLanguageDetectionJobProperties_dataAccessRoleArn :: Lens.Lens' DominantLanguageDetectionJobProperties (Prelude.Maybe Prelude.Text)
dominantLanguageDetectionJobProperties_dataAccessRoleArn :: Lens' DominantLanguageDetectionJobProperties (Maybe Text)
dominantLanguageDetectionJobProperties_dataAccessRoleArn = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DominantLanguageDetectionJobProperties' {Maybe Text
dataAccessRoleArn :: Maybe Text
$sel:dataAccessRoleArn:DominantLanguageDetectionJobProperties' :: DominantLanguageDetectionJobProperties -> Maybe Text
dataAccessRoleArn} -> Maybe Text
dataAccessRoleArn) (\s :: DominantLanguageDetectionJobProperties
s@DominantLanguageDetectionJobProperties' {} Maybe Text
a -> DominantLanguageDetectionJobProperties
s {$sel:dataAccessRoleArn:DominantLanguageDetectionJobProperties' :: Maybe Text
dataAccessRoleArn = Maybe Text
a} :: DominantLanguageDetectionJobProperties)
dominantLanguageDetectionJobProperties_endTime :: Lens.Lens' DominantLanguageDetectionJobProperties (Prelude.Maybe Prelude.UTCTime)
dominantLanguageDetectionJobProperties_endTime :: Lens' DominantLanguageDetectionJobProperties (Maybe UTCTime)
dominantLanguageDetectionJobProperties_endTime = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DominantLanguageDetectionJobProperties' {Maybe POSIX
endTime :: Maybe POSIX
$sel:endTime:DominantLanguageDetectionJobProperties' :: DominantLanguageDetectionJobProperties -> Maybe POSIX
endTime} -> Maybe POSIX
endTime) (\s :: DominantLanguageDetectionJobProperties
s@DominantLanguageDetectionJobProperties' {} Maybe POSIX
a -> DominantLanguageDetectionJobProperties
s {$sel:endTime:DominantLanguageDetectionJobProperties' :: Maybe POSIX
endTime = Maybe POSIX
a} :: DominantLanguageDetectionJobProperties) forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. 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 forall (a :: Format). Iso' (Time a) UTCTime
Data._Time
dominantLanguageDetectionJobProperties_inputDataConfig :: Lens.Lens' DominantLanguageDetectionJobProperties (Prelude.Maybe InputDataConfig)
dominantLanguageDetectionJobProperties_inputDataConfig :: Lens'
DominantLanguageDetectionJobProperties (Maybe InputDataConfig)
dominantLanguageDetectionJobProperties_inputDataConfig = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DominantLanguageDetectionJobProperties' {Maybe InputDataConfig
inputDataConfig :: Maybe InputDataConfig
$sel:inputDataConfig:DominantLanguageDetectionJobProperties' :: DominantLanguageDetectionJobProperties -> Maybe InputDataConfig
inputDataConfig} -> Maybe InputDataConfig
inputDataConfig) (\s :: DominantLanguageDetectionJobProperties
s@DominantLanguageDetectionJobProperties' {} Maybe InputDataConfig
a -> DominantLanguageDetectionJobProperties
s {$sel:inputDataConfig:DominantLanguageDetectionJobProperties' :: Maybe InputDataConfig
inputDataConfig = Maybe InputDataConfig
a} :: DominantLanguageDetectionJobProperties)
dominantLanguageDetectionJobProperties_jobArn :: Lens.Lens' DominantLanguageDetectionJobProperties (Prelude.Maybe Prelude.Text)
dominantLanguageDetectionJobProperties_jobArn :: Lens' DominantLanguageDetectionJobProperties (Maybe Text)
dominantLanguageDetectionJobProperties_jobArn = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DominantLanguageDetectionJobProperties' {Maybe Text
jobArn :: Maybe Text
$sel:jobArn:DominantLanguageDetectionJobProperties' :: DominantLanguageDetectionJobProperties -> Maybe Text
jobArn} -> Maybe Text
jobArn) (\s :: DominantLanguageDetectionJobProperties
s@DominantLanguageDetectionJobProperties' {} Maybe Text
a -> DominantLanguageDetectionJobProperties
s {$sel:jobArn:DominantLanguageDetectionJobProperties' :: Maybe Text
jobArn = Maybe Text
a} :: DominantLanguageDetectionJobProperties)
dominantLanguageDetectionJobProperties_jobId :: Lens.Lens' DominantLanguageDetectionJobProperties (Prelude.Maybe Prelude.Text)
dominantLanguageDetectionJobProperties_jobId :: Lens' DominantLanguageDetectionJobProperties (Maybe Text)
dominantLanguageDetectionJobProperties_jobId = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DominantLanguageDetectionJobProperties' {Maybe Text
jobId :: Maybe Text
$sel:jobId:DominantLanguageDetectionJobProperties' :: DominantLanguageDetectionJobProperties -> Maybe Text
jobId} -> Maybe Text
jobId) (\s :: DominantLanguageDetectionJobProperties
s@DominantLanguageDetectionJobProperties' {} Maybe Text
a -> DominantLanguageDetectionJobProperties
s {$sel:jobId:DominantLanguageDetectionJobProperties' :: Maybe Text
jobId = Maybe Text
a} :: DominantLanguageDetectionJobProperties)
dominantLanguageDetectionJobProperties_jobName :: Lens.Lens' DominantLanguageDetectionJobProperties (Prelude.Maybe Prelude.Text)
dominantLanguageDetectionJobProperties_jobName :: Lens' DominantLanguageDetectionJobProperties (Maybe Text)
dominantLanguageDetectionJobProperties_jobName = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DominantLanguageDetectionJobProperties' {Maybe Text
jobName :: Maybe Text
$sel:jobName:DominantLanguageDetectionJobProperties' :: DominantLanguageDetectionJobProperties -> Maybe Text
jobName} -> Maybe Text
jobName) (\s :: DominantLanguageDetectionJobProperties
s@DominantLanguageDetectionJobProperties' {} Maybe Text
a -> DominantLanguageDetectionJobProperties
s {$sel:jobName:DominantLanguageDetectionJobProperties' :: Maybe Text
jobName = Maybe Text
a} :: DominantLanguageDetectionJobProperties)
dominantLanguageDetectionJobProperties_jobStatus :: Lens.Lens' DominantLanguageDetectionJobProperties (Prelude.Maybe JobStatus)
dominantLanguageDetectionJobProperties_jobStatus :: Lens' DominantLanguageDetectionJobProperties (Maybe JobStatus)
dominantLanguageDetectionJobProperties_jobStatus = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DominantLanguageDetectionJobProperties' {Maybe JobStatus
jobStatus :: Maybe JobStatus
$sel:jobStatus:DominantLanguageDetectionJobProperties' :: DominantLanguageDetectionJobProperties -> Maybe JobStatus
jobStatus} -> Maybe JobStatus
jobStatus) (\s :: DominantLanguageDetectionJobProperties
s@DominantLanguageDetectionJobProperties' {} Maybe JobStatus
a -> DominantLanguageDetectionJobProperties
s {$sel:jobStatus:DominantLanguageDetectionJobProperties' :: Maybe JobStatus
jobStatus = Maybe JobStatus
a} :: DominantLanguageDetectionJobProperties)
dominantLanguageDetectionJobProperties_message :: Lens.Lens' DominantLanguageDetectionJobProperties (Prelude.Maybe Prelude.Text)
dominantLanguageDetectionJobProperties_message :: Lens' DominantLanguageDetectionJobProperties (Maybe Text)
dominantLanguageDetectionJobProperties_message = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DominantLanguageDetectionJobProperties' {Maybe Text
message :: Maybe Text
$sel:message:DominantLanguageDetectionJobProperties' :: DominantLanguageDetectionJobProperties -> Maybe Text
message} -> Maybe Text
message) (\s :: DominantLanguageDetectionJobProperties
s@DominantLanguageDetectionJobProperties' {} Maybe Text
a -> DominantLanguageDetectionJobProperties
s {$sel:message:DominantLanguageDetectionJobProperties' :: Maybe Text
message = Maybe Text
a} :: DominantLanguageDetectionJobProperties)
dominantLanguageDetectionJobProperties_outputDataConfig :: Lens.Lens' DominantLanguageDetectionJobProperties (Prelude.Maybe OutputDataConfig)
dominantLanguageDetectionJobProperties_outputDataConfig :: Lens'
DominantLanguageDetectionJobProperties (Maybe OutputDataConfig)
dominantLanguageDetectionJobProperties_outputDataConfig = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DominantLanguageDetectionJobProperties' {Maybe OutputDataConfig
outputDataConfig :: Maybe OutputDataConfig
$sel:outputDataConfig:DominantLanguageDetectionJobProperties' :: DominantLanguageDetectionJobProperties -> Maybe OutputDataConfig
outputDataConfig} -> Maybe OutputDataConfig
outputDataConfig) (\s :: DominantLanguageDetectionJobProperties
s@DominantLanguageDetectionJobProperties' {} Maybe OutputDataConfig
a -> DominantLanguageDetectionJobProperties
s {$sel:outputDataConfig:DominantLanguageDetectionJobProperties' :: Maybe OutputDataConfig
outputDataConfig = Maybe OutputDataConfig
a} :: DominantLanguageDetectionJobProperties)
dominantLanguageDetectionJobProperties_submitTime :: Lens.Lens' DominantLanguageDetectionJobProperties (Prelude.Maybe Prelude.UTCTime)
dominantLanguageDetectionJobProperties_submitTime :: Lens' DominantLanguageDetectionJobProperties (Maybe UTCTime)
dominantLanguageDetectionJobProperties_submitTime = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DominantLanguageDetectionJobProperties' {Maybe POSIX
submitTime :: Maybe POSIX
$sel:submitTime:DominantLanguageDetectionJobProperties' :: DominantLanguageDetectionJobProperties -> Maybe POSIX
submitTime} -> Maybe POSIX
submitTime) (\s :: DominantLanguageDetectionJobProperties
s@DominantLanguageDetectionJobProperties' {} Maybe POSIX
a -> DominantLanguageDetectionJobProperties
s {$sel:submitTime:DominantLanguageDetectionJobProperties' :: Maybe POSIX
submitTime = Maybe POSIX
a} :: DominantLanguageDetectionJobProperties) forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. 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 forall (a :: Format). Iso' (Time a) UTCTime
Data._Time
dominantLanguageDetectionJobProperties_volumeKmsKeyId :: Lens.Lens' DominantLanguageDetectionJobProperties (Prelude.Maybe Prelude.Text)
dominantLanguageDetectionJobProperties_volumeKmsKeyId :: Lens' DominantLanguageDetectionJobProperties (Maybe Text)
dominantLanguageDetectionJobProperties_volumeKmsKeyId = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DominantLanguageDetectionJobProperties' {Maybe Text
volumeKmsKeyId :: Maybe Text
$sel:volumeKmsKeyId:DominantLanguageDetectionJobProperties' :: DominantLanguageDetectionJobProperties -> Maybe Text
volumeKmsKeyId} -> Maybe Text
volumeKmsKeyId) (\s :: DominantLanguageDetectionJobProperties
s@DominantLanguageDetectionJobProperties' {} Maybe Text
a -> DominantLanguageDetectionJobProperties
s {$sel:volumeKmsKeyId:DominantLanguageDetectionJobProperties' :: Maybe Text
volumeKmsKeyId = Maybe Text
a} :: DominantLanguageDetectionJobProperties)
dominantLanguageDetectionJobProperties_vpcConfig :: Lens.Lens' DominantLanguageDetectionJobProperties (Prelude.Maybe VpcConfig)
dominantLanguageDetectionJobProperties_vpcConfig :: Lens' DominantLanguageDetectionJobProperties (Maybe VpcConfig)
dominantLanguageDetectionJobProperties_vpcConfig = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DominantLanguageDetectionJobProperties' {Maybe VpcConfig
vpcConfig :: Maybe VpcConfig
$sel:vpcConfig:DominantLanguageDetectionJobProperties' :: DominantLanguageDetectionJobProperties -> Maybe VpcConfig
vpcConfig} -> Maybe VpcConfig
vpcConfig) (\s :: DominantLanguageDetectionJobProperties
s@DominantLanguageDetectionJobProperties' {} Maybe VpcConfig
a -> DominantLanguageDetectionJobProperties
s {$sel:vpcConfig:DominantLanguageDetectionJobProperties' :: Maybe VpcConfig
vpcConfig = Maybe VpcConfig
a} :: DominantLanguageDetectionJobProperties)
instance
Data.FromJSON
DominantLanguageDetectionJobProperties
where
parseJSON :: Value -> Parser DominantLanguageDetectionJobProperties
parseJSON =
forall a. String -> (Object -> Parser a) -> Value -> Parser a
Data.withObject
String
"DominantLanguageDetectionJobProperties"
( \Object
x ->
Maybe Text
-> Maybe POSIX
-> Maybe InputDataConfig
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe JobStatus
-> Maybe Text
-> Maybe OutputDataConfig
-> Maybe POSIX
-> Maybe Text
-> Maybe VpcConfig
-> DominantLanguageDetectionJobProperties
DominantLanguageDetectionJobProperties'
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"DataAccessRoleArn")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"EndTime")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"InputDataConfig")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"JobArn")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"JobId")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"JobName")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"JobStatus")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"Message")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"OutputDataConfig")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"SubmitTime")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"VolumeKmsKeyId")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"VpcConfig")
)
instance
Prelude.Hashable
DominantLanguageDetectionJobProperties
where
hashWithSalt :: Int -> DominantLanguageDetectionJobProperties -> Int
hashWithSalt
Int
_salt
DominantLanguageDetectionJobProperties' {Maybe Text
Maybe POSIX
Maybe InputDataConfig
Maybe JobStatus
Maybe OutputDataConfig
Maybe VpcConfig
vpcConfig :: Maybe VpcConfig
volumeKmsKeyId :: Maybe Text
submitTime :: Maybe POSIX
outputDataConfig :: Maybe OutputDataConfig
message :: Maybe Text
jobStatus :: Maybe JobStatus
jobName :: Maybe Text
jobId :: Maybe Text
jobArn :: Maybe Text
inputDataConfig :: Maybe InputDataConfig
endTime :: Maybe POSIX
dataAccessRoleArn :: Maybe Text
$sel:vpcConfig:DominantLanguageDetectionJobProperties' :: DominantLanguageDetectionJobProperties -> Maybe VpcConfig
$sel:volumeKmsKeyId:DominantLanguageDetectionJobProperties' :: DominantLanguageDetectionJobProperties -> Maybe Text
$sel:submitTime:DominantLanguageDetectionJobProperties' :: DominantLanguageDetectionJobProperties -> Maybe POSIX
$sel:outputDataConfig:DominantLanguageDetectionJobProperties' :: DominantLanguageDetectionJobProperties -> Maybe OutputDataConfig
$sel:message:DominantLanguageDetectionJobProperties' :: DominantLanguageDetectionJobProperties -> Maybe Text
$sel:jobStatus:DominantLanguageDetectionJobProperties' :: DominantLanguageDetectionJobProperties -> Maybe JobStatus
$sel:jobName:DominantLanguageDetectionJobProperties' :: DominantLanguageDetectionJobProperties -> Maybe Text
$sel:jobId:DominantLanguageDetectionJobProperties' :: DominantLanguageDetectionJobProperties -> Maybe Text
$sel:jobArn:DominantLanguageDetectionJobProperties' :: DominantLanguageDetectionJobProperties -> Maybe Text
$sel:inputDataConfig:DominantLanguageDetectionJobProperties' :: DominantLanguageDetectionJobProperties -> Maybe InputDataConfig
$sel:endTime:DominantLanguageDetectionJobProperties' :: DominantLanguageDetectionJobProperties -> Maybe POSIX
$sel:dataAccessRoleArn:DominantLanguageDetectionJobProperties' :: DominantLanguageDetectionJobProperties -> Maybe Text
..} =
Int
_salt
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
dataAccessRoleArn
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe POSIX
endTime
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe InputDataConfig
inputDataConfig
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
jobArn
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
jobId
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
jobName
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe JobStatus
jobStatus
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
message
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe OutputDataConfig
outputDataConfig
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe POSIX
submitTime
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
volumeKmsKeyId
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe VpcConfig
vpcConfig
instance
Prelude.NFData
DominantLanguageDetectionJobProperties
where
rnf :: DominantLanguageDetectionJobProperties -> ()
rnf DominantLanguageDetectionJobProperties' {Maybe Text
Maybe POSIX
Maybe InputDataConfig
Maybe JobStatus
Maybe OutputDataConfig
Maybe VpcConfig
vpcConfig :: Maybe VpcConfig
volumeKmsKeyId :: Maybe Text
submitTime :: Maybe POSIX
outputDataConfig :: Maybe OutputDataConfig
message :: Maybe Text
jobStatus :: Maybe JobStatus
jobName :: Maybe Text
jobId :: Maybe Text
jobArn :: Maybe Text
inputDataConfig :: Maybe InputDataConfig
endTime :: Maybe POSIX
dataAccessRoleArn :: Maybe Text
$sel:vpcConfig:DominantLanguageDetectionJobProperties' :: DominantLanguageDetectionJobProperties -> Maybe VpcConfig
$sel:volumeKmsKeyId:DominantLanguageDetectionJobProperties' :: DominantLanguageDetectionJobProperties -> Maybe Text
$sel:submitTime:DominantLanguageDetectionJobProperties' :: DominantLanguageDetectionJobProperties -> Maybe POSIX
$sel:outputDataConfig:DominantLanguageDetectionJobProperties' :: DominantLanguageDetectionJobProperties -> Maybe OutputDataConfig
$sel:message:DominantLanguageDetectionJobProperties' :: DominantLanguageDetectionJobProperties -> Maybe Text
$sel:jobStatus:DominantLanguageDetectionJobProperties' :: DominantLanguageDetectionJobProperties -> Maybe JobStatus
$sel:jobName:DominantLanguageDetectionJobProperties' :: DominantLanguageDetectionJobProperties -> Maybe Text
$sel:jobId:DominantLanguageDetectionJobProperties' :: DominantLanguageDetectionJobProperties -> Maybe Text
$sel:jobArn:DominantLanguageDetectionJobProperties' :: DominantLanguageDetectionJobProperties -> Maybe Text
$sel:inputDataConfig:DominantLanguageDetectionJobProperties' :: DominantLanguageDetectionJobProperties -> Maybe InputDataConfig
$sel:endTime:DominantLanguageDetectionJobProperties' :: DominantLanguageDetectionJobProperties -> Maybe POSIX
$sel:dataAccessRoleArn:DominantLanguageDetectionJobProperties' :: DominantLanguageDetectionJobProperties -> Maybe Text
..} =
forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
dataAccessRoleArn
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe POSIX
endTime
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe InputDataConfig
inputDataConfig
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
jobArn
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
jobId
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
jobName
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe JobStatus
jobStatus
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
message
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe OutputDataConfig
outputDataConfig
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe POSIX
submitTime
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
volumeKmsKeyId
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe VpcConfig
vpcConfig