{-# 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.TopicsDetectionJobProperties 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 TopicsDetectionJobProperties = TopicsDetectionJobProperties'
{
TopicsDetectionJobProperties -> Maybe Text
dataAccessRoleArn :: Prelude.Maybe Prelude.Text,
TopicsDetectionJobProperties -> Maybe POSIX
endTime :: Prelude.Maybe Data.POSIX,
TopicsDetectionJobProperties -> Maybe InputDataConfig
inputDataConfig :: Prelude.Maybe InputDataConfig,
TopicsDetectionJobProperties -> Maybe Text
jobArn :: Prelude.Maybe Prelude.Text,
TopicsDetectionJobProperties -> Maybe Text
jobId :: Prelude.Maybe Prelude.Text,
TopicsDetectionJobProperties -> Maybe Text
jobName :: Prelude.Maybe Prelude.Text,
TopicsDetectionJobProperties -> Maybe JobStatus
jobStatus :: Prelude.Maybe JobStatus,
TopicsDetectionJobProperties -> Maybe Text
message :: Prelude.Maybe Prelude.Text,
TopicsDetectionJobProperties -> Maybe Int
numberOfTopics :: Prelude.Maybe Prelude.Int,
TopicsDetectionJobProperties -> Maybe OutputDataConfig
outputDataConfig :: Prelude.Maybe OutputDataConfig,
TopicsDetectionJobProperties -> Maybe POSIX
submitTime :: Prelude.Maybe Data.POSIX,
TopicsDetectionJobProperties -> Maybe Text
volumeKmsKeyId :: Prelude.Maybe Prelude.Text,
TopicsDetectionJobProperties -> Maybe VpcConfig
vpcConfig :: Prelude.Maybe VpcConfig
}
deriving (TopicsDetectionJobProperties
-> TopicsDetectionJobProperties -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: TopicsDetectionJobProperties
-> TopicsDetectionJobProperties -> Bool
$c/= :: TopicsDetectionJobProperties
-> TopicsDetectionJobProperties -> Bool
== :: TopicsDetectionJobProperties
-> TopicsDetectionJobProperties -> Bool
$c== :: TopicsDetectionJobProperties
-> TopicsDetectionJobProperties -> Bool
Prelude.Eq, ReadPrec [TopicsDetectionJobProperties]
ReadPrec TopicsDetectionJobProperties
Int -> ReadS TopicsDetectionJobProperties
ReadS [TopicsDetectionJobProperties]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [TopicsDetectionJobProperties]
$creadListPrec :: ReadPrec [TopicsDetectionJobProperties]
readPrec :: ReadPrec TopicsDetectionJobProperties
$creadPrec :: ReadPrec TopicsDetectionJobProperties
readList :: ReadS [TopicsDetectionJobProperties]
$creadList :: ReadS [TopicsDetectionJobProperties]
readsPrec :: Int -> ReadS TopicsDetectionJobProperties
$creadsPrec :: Int -> ReadS TopicsDetectionJobProperties
Prelude.Read, Int -> TopicsDetectionJobProperties -> ShowS
[TopicsDetectionJobProperties] -> ShowS
TopicsDetectionJobProperties -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [TopicsDetectionJobProperties] -> ShowS
$cshowList :: [TopicsDetectionJobProperties] -> ShowS
show :: TopicsDetectionJobProperties -> String
$cshow :: TopicsDetectionJobProperties -> String
showsPrec :: Int -> TopicsDetectionJobProperties -> ShowS
$cshowsPrec :: Int -> TopicsDetectionJobProperties -> ShowS
Prelude.Show, forall x.
Rep TopicsDetectionJobProperties x -> TopicsDetectionJobProperties
forall x.
TopicsDetectionJobProperties -> Rep TopicsDetectionJobProperties x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep TopicsDetectionJobProperties x -> TopicsDetectionJobProperties
$cfrom :: forall x.
TopicsDetectionJobProperties -> Rep TopicsDetectionJobProperties x
Prelude.Generic)
newTopicsDetectionJobProperties ::
TopicsDetectionJobProperties
newTopicsDetectionJobProperties :: TopicsDetectionJobProperties
newTopicsDetectionJobProperties =
TopicsDetectionJobProperties'
{ $sel:dataAccessRoleArn:TopicsDetectionJobProperties' :: Maybe Text
dataAccessRoleArn =
forall a. Maybe a
Prelude.Nothing,
$sel:endTime:TopicsDetectionJobProperties' :: Maybe POSIX
endTime = forall a. Maybe a
Prelude.Nothing,
$sel:inputDataConfig:TopicsDetectionJobProperties' :: Maybe InputDataConfig
inputDataConfig = forall a. Maybe a
Prelude.Nothing,
$sel:jobArn:TopicsDetectionJobProperties' :: Maybe Text
jobArn = forall a. Maybe a
Prelude.Nothing,
$sel:jobId:TopicsDetectionJobProperties' :: Maybe Text
jobId = forall a. Maybe a
Prelude.Nothing,
$sel:jobName:TopicsDetectionJobProperties' :: Maybe Text
jobName = forall a. Maybe a
Prelude.Nothing,
$sel:jobStatus:TopicsDetectionJobProperties' :: Maybe JobStatus
jobStatus = forall a. Maybe a
Prelude.Nothing,
$sel:message:TopicsDetectionJobProperties' :: Maybe Text
message = forall a. Maybe a
Prelude.Nothing,
$sel:numberOfTopics:TopicsDetectionJobProperties' :: Maybe Int
numberOfTopics = forall a. Maybe a
Prelude.Nothing,
$sel:outputDataConfig:TopicsDetectionJobProperties' :: Maybe OutputDataConfig
outputDataConfig = forall a. Maybe a
Prelude.Nothing,
$sel:submitTime:TopicsDetectionJobProperties' :: Maybe POSIX
submitTime = forall a. Maybe a
Prelude.Nothing,
$sel:volumeKmsKeyId:TopicsDetectionJobProperties' :: Maybe Text
volumeKmsKeyId = forall a. Maybe a
Prelude.Nothing,
$sel:vpcConfig:TopicsDetectionJobProperties' :: Maybe VpcConfig
vpcConfig = forall a. Maybe a
Prelude.Nothing
}
topicsDetectionJobProperties_dataAccessRoleArn :: Lens.Lens' TopicsDetectionJobProperties (Prelude.Maybe Prelude.Text)
topicsDetectionJobProperties_dataAccessRoleArn :: Lens' TopicsDetectionJobProperties (Maybe Text)
topicsDetectionJobProperties_dataAccessRoleArn = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\TopicsDetectionJobProperties' {Maybe Text
dataAccessRoleArn :: Maybe Text
$sel:dataAccessRoleArn:TopicsDetectionJobProperties' :: TopicsDetectionJobProperties -> Maybe Text
dataAccessRoleArn} -> Maybe Text
dataAccessRoleArn) (\s :: TopicsDetectionJobProperties
s@TopicsDetectionJobProperties' {} Maybe Text
a -> TopicsDetectionJobProperties
s {$sel:dataAccessRoleArn:TopicsDetectionJobProperties' :: Maybe Text
dataAccessRoleArn = Maybe Text
a} :: TopicsDetectionJobProperties)
topicsDetectionJobProperties_endTime :: Lens.Lens' TopicsDetectionJobProperties (Prelude.Maybe Prelude.UTCTime)
topicsDetectionJobProperties_endTime :: Lens' TopicsDetectionJobProperties (Maybe UTCTime)
topicsDetectionJobProperties_endTime = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\TopicsDetectionJobProperties' {Maybe POSIX
endTime :: Maybe POSIX
$sel:endTime:TopicsDetectionJobProperties' :: TopicsDetectionJobProperties -> Maybe POSIX
endTime} -> Maybe POSIX
endTime) (\s :: TopicsDetectionJobProperties
s@TopicsDetectionJobProperties' {} Maybe POSIX
a -> TopicsDetectionJobProperties
s {$sel:endTime:TopicsDetectionJobProperties' :: Maybe POSIX
endTime = Maybe POSIX
a} :: TopicsDetectionJobProperties) 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
topicsDetectionJobProperties_inputDataConfig :: Lens.Lens' TopicsDetectionJobProperties (Prelude.Maybe InputDataConfig)
topicsDetectionJobProperties_inputDataConfig :: Lens' TopicsDetectionJobProperties (Maybe InputDataConfig)
topicsDetectionJobProperties_inputDataConfig = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\TopicsDetectionJobProperties' {Maybe InputDataConfig
inputDataConfig :: Maybe InputDataConfig
$sel:inputDataConfig:TopicsDetectionJobProperties' :: TopicsDetectionJobProperties -> Maybe InputDataConfig
inputDataConfig} -> Maybe InputDataConfig
inputDataConfig) (\s :: TopicsDetectionJobProperties
s@TopicsDetectionJobProperties' {} Maybe InputDataConfig
a -> TopicsDetectionJobProperties
s {$sel:inputDataConfig:TopicsDetectionJobProperties' :: Maybe InputDataConfig
inputDataConfig = Maybe InputDataConfig
a} :: TopicsDetectionJobProperties)
topicsDetectionJobProperties_jobArn :: Lens.Lens' TopicsDetectionJobProperties (Prelude.Maybe Prelude.Text)
topicsDetectionJobProperties_jobArn :: Lens' TopicsDetectionJobProperties (Maybe Text)
topicsDetectionJobProperties_jobArn = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\TopicsDetectionJobProperties' {Maybe Text
jobArn :: Maybe Text
$sel:jobArn:TopicsDetectionJobProperties' :: TopicsDetectionJobProperties -> Maybe Text
jobArn} -> Maybe Text
jobArn) (\s :: TopicsDetectionJobProperties
s@TopicsDetectionJobProperties' {} Maybe Text
a -> TopicsDetectionJobProperties
s {$sel:jobArn:TopicsDetectionJobProperties' :: Maybe Text
jobArn = Maybe Text
a} :: TopicsDetectionJobProperties)
topicsDetectionJobProperties_jobId :: Lens.Lens' TopicsDetectionJobProperties (Prelude.Maybe Prelude.Text)
topicsDetectionJobProperties_jobId :: Lens' TopicsDetectionJobProperties (Maybe Text)
topicsDetectionJobProperties_jobId = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\TopicsDetectionJobProperties' {Maybe Text
jobId :: Maybe Text
$sel:jobId:TopicsDetectionJobProperties' :: TopicsDetectionJobProperties -> Maybe Text
jobId} -> Maybe Text
jobId) (\s :: TopicsDetectionJobProperties
s@TopicsDetectionJobProperties' {} Maybe Text
a -> TopicsDetectionJobProperties
s {$sel:jobId:TopicsDetectionJobProperties' :: Maybe Text
jobId = Maybe Text
a} :: TopicsDetectionJobProperties)
topicsDetectionJobProperties_jobName :: Lens.Lens' TopicsDetectionJobProperties (Prelude.Maybe Prelude.Text)
topicsDetectionJobProperties_jobName :: Lens' TopicsDetectionJobProperties (Maybe Text)
topicsDetectionJobProperties_jobName = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\TopicsDetectionJobProperties' {Maybe Text
jobName :: Maybe Text
$sel:jobName:TopicsDetectionJobProperties' :: TopicsDetectionJobProperties -> Maybe Text
jobName} -> Maybe Text
jobName) (\s :: TopicsDetectionJobProperties
s@TopicsDetectionJobProperties' {} Maybe Text
a -> TopicsDetectionJobProperties
s {$sel:jobName:TopicsDetectionJobProperties' :: Maybe Text
jobName = Maybe Text
a} :: TopicsDetectionJobProperties)
topicsDetectionJobProperties_jobStatus :: Lens.Lens' TopicsDetectionJobProperties (Prelude.Maybe JobStatus)
topicsDetectionJobProperties_jobStatus :: Lens' TopicsDetectionJobProperties (Maybe JobStatus)
topicsDetectionJobProperties_jobStatus = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\TopicsDetectionJobProperties' {Maybe JobStatus
jobStatus :: Maybe JobStatus
$sel:jobStatus:TopicsDetectionJobProperties' :: TopicsDetectionJobProperties -> Maybe JobStatus
jobStatus} -> Maybe JobStatus
jobStatus) (\s :: TopicsDetectionJobProperties
s@TopicsDetectionJobProperties' {} Maybe JobStatus
a -> TopicsDetectionJobProperties
s {$sel:jobStatus:TopicsDetectionJobProperties' :: Maybe JobStatus
jobStatus = Maybe JobStatus
a} :: TopicsDetectionJobProperties)
topicsDetectionJobProperties_message :: Lens.Lens' TopicsDetectionJobProperties (Prelude.Maybe Prelude.Text)
topicsDetectionJobProperties_message :: Lens' TopicsDetectionJobProperties (Maybe Text)
topicsDetectionJobProperties_message = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\TopicsDetectionJobProperties' {Maybe Text
message :: Maybe Text
$sel:message:TopicsDetectionJobProperties' :: TopicsDetectionJobProperties -> Maybe Text
message} -> Maybe Text
message) (\s :: TopicsDetectionJobProperties
s@TopicsDetectionJobProperties' {} Maybe Text
a -> TopicsDetectionJobProperties
s {$sel:message:TopicsDetectionJobProperties' :: Maybe Text
message = Maybe Text
a} :: TopicsDetectionJobProperties)
topicsDetectionJobProperties_numberOfTopics :: Lens.Lens' TopicsDetectionJobProperties (Prelude.Maybe Prelude.Int)
topicsDetectionJobProperties_numberOfTopics :: Lens' TopicsDetectionJobProperties (Maybe Int)
topicsDetectionJobProperties_numberOfTopics = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\TopicsDetectionJobProperties' {Maybe Int
numberOfTopics :: Maybe Int
$sel:numberOfTopics:TopicsDetectionJobProperties' :: TopicsDetectionJobProperties -> Maybe Int
numberOfTopics} -> Maybe Int
numberOfTopics) (\s :: TopicsDetectionJobProperties
s@TopicsDetectionJobProperties' {} Maybe Int
a -> TopicsDetectionJobProperties
s {$sel:numberOfTopics:TopicsDetectionJobProperties' :: Maybe Int
numberOfTopics = Maybe Int
a} :: TopicsDetectionJobProperties)
topicsDetectionJobProperties_outputDataConfig :: Lens.Lens' TopicsDetectionJobProperties (Prelude.Maybe OutputDataConfig)
topicsDetectionJobProperties_outputDataConfig :: Lens' TopicsDetectionJobProperties (Maybe OutputDataConfig)
topicsDetectionJobProperties_outputDataConfig = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\TopicsDetectionJobProperties' {Maybe OutputDataConfig
outputDataConfig :: Maybe OutputDataConfig
$sel:outputDataConfig:TopicsDetectionJobProperties' :: TopicsDetectionJobProperties -> Maybe OutputDataConfig
outputDataConfig} -> Maybe OutputDataConfig
outputDataConfig) (\s :: TopicsDetectionJobProperties
s@TopicsDetectionJobProperties' {} Maybe OutputDataConfig
a -> TopicsDetectionJobProperties
s {$sel:outputDataConfig:TopicsDetectionJobProperties' :: Maybe OutputDataConfig
outputDataConfig = Maybe OutputDataConfig
a} :: TopicsDetectionJobProperties)
topicsDetectionJobProperties_submitTime :: Lens.Lens' TopicsDetectionJobProperties (Prelude.Maybe Prelude.UTCTime)
topicsDetectionJobProperties_submitTime :: Lens' TopicsDetectionJobProperties (Maybe UTCTime)
topicsDetectionJobProperties_submitTime = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\TopicsDetectionJobProperties' {Maybe POSIX
submitTime :: Maybe POSIX
$sel:submitTime:TopicsDetectionJobProperties' :: TopicsDetectionJobProperties -> Maybe POSIX
submitTime} -> Maybe POSIX
submitTime) (\s :: TopicsDetectionJobProperties
s@TopicsDetectionJobProperties' {} Maybe POSIX
a -> TopicsDetectionJobProperties
s {$sel:submitTime:TopicsDetectionJobProperties' :: Maybe POSIX
submitTime = Maybe POSIX
a} :: TopicsDetectionJobProperties) 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
topicsDetectionJobProperties_volumeKmsKeyId :: Lens.Lens' TopicsDetectionJobProperties (Prelude.Maybe Prelude.Text)
topicsDetectionJobProperties_volumeKmsKeyId :: Lens' TopicsDetectionJobProperties (Maybe Text)
topicsDetectionJobProperties_volumeKmsKeyId = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\TopicsDetectionJobProperties' {Maybe Text
volumeKmsKeyId :: Maybe Text
$sel:volumeKmsKeyId:TopicsDetectionJobProperties' :: TopicsDetectionJobProperties -> Maybe Text
volumeKmsKeyId} -> Maybe Text
volumeKmsKeyId) (\s :: TopicsDetectionJobProperties
s@TopicsDetectionJobProperties' {} Maybe Text
a -> TopicsDetectionJobProperties
s {$sel:volumeKmsKeyId:TopicsDetectionJobProperties' :: Maybe Text
volumeKmsKeyId = Maybe Text
a} :: TopicsDetectionJobProperties)
topicsDetectionJobProperties_vpcConfig :: Lens.Lens' TopicsDetectionJobProperties (Prelude.Maybe VpcConfig)
topicsDetectionJobProperties_vpcConfig :: Lens' TopicsDetectionJobProperties (Maybe VpcConfig)
topicsDetectionJobProperties_vpcConfig = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\TopicsDetectionJobProperties' {Maybe VpcConfig
vpcConfig :: Maybe VpcConfig
$sel:vpcConfig:TopicsDetectionJobProperties' :: TopicsDetectionJobProperties -> Maybe VpcConfig
vpcConfig} -> Maybe VpcConfig
vpcConfig) (\s :: TopicsDetectionJobProperties
s@TopicsDetectionJobProperties' {} Maybe VpcConfig
a -> TopicsDetectionJobProperties
s {$sel:vpcConfig:TopicsDetectionJobProperties' :: Maybe VpcConfig
vpcConfig = Maybe VpcConfig
a} :: TopicsDetectionJobProperties)
instance Data.FromJSON TopicsDetectionJobProperties where
parseJSON :: Value -> Parser TopicsDetectionJobProperties
parseJSON =
forall a. String -> (Object -> Parser a) -> Value -> Parser a
Data.withObject
String
"TopicsDetectionJobProperties"
( \Object
x ->
Maybe Text
-> Maybe POSIX
-> Maybe InputDataConfig
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe JobStatus
-> Maybe Text
-> Maybe Int
-> Maybe OutputDataConfig
-> Maybe POSIX
-> Maybe Text
-> Maybe VpcConfig
-> TopicsDetectionJobProperties
TopicsDetectionJobProperties'
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
"NumberOfTopics")
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
TopicsDetectionJobProperties
where
hashWithSalt :: Int -> TopicsDetectionJobProperties -> Int
hashWithSalt Int
_salt TopicsDetectionJobProperties' {Maybe Int
Maybe Text
Maybe POSIX
Maybe InputDataConfig
Maybe JobStatus
Maybe OutputDataConfig
Maybe VpcConfig
vpcConfig :: Maybe VpcConfig
volumeKmsKeyId :: Maybe Text
submitTime :: Maybe POSIX
outputDataConfig :: Maybe OutputDataConfig
numberOfTopics :: Maybe Int
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:TopicsDetectionJobProperties' :: TopicsDetectionJobProperties -> Maybe VpcConfig
$sel:volumeKmsKeyId:TopicsDetectionJobProperties' :: TopicsDetectionJobProperties -> Maybe Text
$sel:submitTime:TopicsDetectionJobProperties' :: TopicsDetectionJobProperties -> Maybe POSIX
$sel:outputDataConfig:TopicsDetectionJobProperties' :: TopicsDetectionJobProperties -> Maybe OutputDataConfig
$sel:numberOfTopics:TopicsDetectionJobProperties' :: TopicsDetectionJobProperties -> Maybe Int
$sel:message:TopicsDetectionJobProperties' :: TopicsDetectionJobProperties -> Maybe Text
$sel:jobStatus:TopicsDetectionJobProperties' :: TopicsDetectionJobProperties -> Maybe JobStatus
$sel:jobName:TopicsDetectionJobProperties' :: TopicsDetectionJobProperties -> Maybe Text
$sel:jobId:TopicsDetectionJobProperties' :: TopicsDetectionJobProperties -> Maybe Text
$sel:jobArn:TopicsDetectionJobProperties' :: TopicsDetectionJobProperties -> Maybe Text
$sel:inputDataConfig:TopicsDetectionJobProperties' :: TopicsDetectionJobProperties -> Maybe InputDataConfig
$sel:endTime:TopicsDetectionJobProperties' :: TopicsDetectionJobProperties -> Maybe POSIX
$sel:dataAccessRoleArn:TopicsDetectionJobProperties' :: TopicsDetectionJobProperties -> 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 Int
numberOfTopics
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 TopicsDetectionJobProperties where
rnf :: TopicsDetectionJobProperties -> ()
rnf TopicsDetectionJobProperties' {Maybe Int
Maybe Text
Maybe POSIX
Maybe InputDataConfig
Maybe JobStatus
Maybe OutputDataConfig
Maybe VpcConfig
vpcConfig :: Maybe VpcConfig
volumeKmsKeyId :: Maybe Text
submitTime :: Maybe POSIX
outputDataConfig :: Maybe OutputDataConfig
numberOfTopics :: Maybe Int
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:TopicsDetectionJobProperties' :: TopicsDetectionJobProperties -> Maybe VpcConfig
$sel:volumeKmsKeyId:TopicsDetectionJobProperties' :: TopicsDetectionJobProperties -> Maybe Text
$sel:submitTime:TopicsDetectionJobProperties' :: TopicsDetectionJobProperties -> Maybe POSIX
$sel:outputDataConfig:TopicsDetectionJobProperties' :: TopicsDetectionJobProperties -> Maybe OutputDataConfig
$sel:numberOfTopics:TopicsDetectionJobProperties' :: TopicsDetectionJobProperties -> Maybe Int
$sel:message:TopicsDetectionJobProperties' :: TopicsDetectionJobProperties -> Maybe Text
$sel:jobStatus:TopicsDetectionJobProperties' :: TopicsDetectionJobProperties -> Maybe JobStatus
$sel:jobName:TopicsDetectionJobProperties' :: TopicsDetectionJobProperties -> Maybe Text
$sel:jobId:TopicsDetectionJobProperties' :: TopicsDetectionJobProperties -> Maybe Text
$sel:jobArn:TopicsDetectionJobProperties' :: TopicsDetectionJobProperties -> Maybe Text
$sel:inputDataConfig:TopicsDetectionJobProperties' :: TopicsDetectionJobProperties -> Maybe InputDataConfig
$sel:endTime:TopicsDetectionJobProperties' :: TopicsDetectionJobProperties -> Maybe POSIX
$sel:dataAccessRoleArn:TopicsDetectionJobProperties' :: TopicsDetectionJobProperties -> 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 Int
numberOfTopics
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