{-# 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.EventsDetectionJobProperties where
import Amazonka.Comprehend.Types.InputDataConfig
import Amazonka.Comprehend.Types.JobStatus
import Amazonka.Comprehend.Types.LanguageCode
import Amazonka.Comprehend.Types.OutputDataConfig
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 EventsDetectionJobProperties = EventsDetectionJobProperties'
{
EventsDetectionJobProperties -> Maybe Text
dataAccessRoleArn :: Prelude.Maybe Prelude.Text,
EventsDetectionJobProperties -> Maybe POSIX
endTime :: Prelude.Maybe Data.POSIX,
EventsDetectionJobProperties -> Maybe InputDataConfig
inputDataConfig :: Prelude.Maybe InputDataConfig,
EventsDetectionJobProperties -> Maybe Text
jobArn :: Prelude.Maybe Prelude.Text,
EventsDetectionJobProperties -> Maybe Text
jobId :: Prelude.Maybe Prelude.Text,
EventsDetectionJobProperties -> Maybe Text
jobName :: Prelude.Maybe Prelude.Text,
EventsDetectionJobProperties -> Maybe JobStatus
jobStatus :: Prelude.Maybe JobStatus,
EventsDetectionJobProperties -> Maybe LanguageCode
languageCode :: Prelude.Maybe LanguageCode,
EventsDetectionJobProperties -> Maybe Text
message :: Prelude.Maybe Prelude.Text,
EventsDetectionJobProperties -> Maybe OutputDataConfig
outputDataConfig :: Prelude.Maybe OutputDataConfig,
EventsDetectionJobProperties -> Maybe POSIX
submitTime :: Prelude.Maybe Data.POSIX,
EventsDetectionJobProperties -> Maybe (NonEmpty Text)
targetEventTypes :: Prelude.Maybe (Prelude.NonEmpty Prelude.Text)
}
deriving (EventsDetectionJobProperties
-> EventsDetectionJobProperties -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: EventsDetectionJobProperties
-> EventsDetectionJobProperties -> Bool
$c/= :: EventsDetectionJobProperties
-> EventsDetectionJobProperties -> Bool
== :: EventsDetectionJobProperties
-> EventsDetectionJobProperties -> Bool
$c== :: EventsDetectionJobProperties
-> EventsDetectionJobProperties -> Bool
Prelude.Eq, ReadPrec [EventsDetectionJobProperties]
ReadPrec EventsDetectionJobProperties
Int -> ReadS EventsDetectionJobProperties
ReadS [EventsDetectionJobProperties]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [EventsDetectionJobProperties]
$creadListPrec :: ReadPrec [EventsDetectionJobProperties]
readPrec :: ReadPrec EventsDetectionJobProperties
$creadPrec :: ReadPrec EventsDetectionJobProperties
readList :: ReadS [EventsDetectionJobProperties]
$creadList :: ReadS [EventsDetectionJobProperties]
readsPrec :: Int -> ReadS EventsDetectionJobProperties
$creadsPrec :: Int -> ReadS EventsDetectionJobProperties
Prelude.Read, Int -> EventsDetectionJobProperties -> ShowS
[EventsDetectionJobProperties] -> ShowS
EventsDetectionJobProperties -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [EventsDetectionJobProperties] -> ShowS
$cshowList :: [EventsDetectionJobProperties] -> ShowS
show :: EventsDetectionJobProperties -> String
$cshow :: EventsDetectionJobProperties -> String
showsPrec :: Int -> EventsDetectionJobProperties -> ShowS
$cshowsPrec :: Int -> EventsDetectionJobProperties -> ShowS
Prelude.Show, forall x.
Rep EventsDetectionJobProperties x -> EventsDetectionJobProperties
forall x.
EventsDetectionJobProperties -> Rep EventsDetectionJobProperties x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep EventsDetectionJobProperties x -> EventsDetectionJobProperties
$cfrom :: forall x.
EventsDetectionJobProperties -> Rep EventsDetectionJobProperties x
Prelude.Generic)
newEventsDetectionJobProperties ::
EventsDetectionJobProperties
newEventsDetectionJobProperties :: EventsDetectionJobProperties
newEventsDetectionJobProperties =
EventsDetectionJobProperties'
{ $sel:dataAccessRoleArn:EventsDetectionJobProperties' :: Maybe Text
dataAccessRoleArn =
forall a. Maybe a
Prelude.Nothing,
$sel:endTime:EventsDetectionJobProperties' :: Maybe POSIX
endTime = forall a. Maybe a
Prelude.Nothing,
$sel:inputDataConfig:EventsDetectionJobProperties' :: Maybe InputDataConfig
inputDataConfig = forall a. Maybe a
Prelude.Nothing,
$sel:jobArn:EventsDetectionJobProperties' :: Maybe Text
jobArn = forall a. Maybe a
Prelude.Nothing,
$sel:jobId:EventsDetectionJobProperties' :: Maybe Text
jobId = forall a. Maybe a
Prelude.Nothing,
$sel:jobName:EventsDetectionJobProperties' :: Maybe Text
jobName = forall a. Maybe a
Prelude.Nothing,
$sel:jobStatus:EventsDetectionJobProperties' :: Maybe JobStatus
jobStatus = forall a. Maybe a
Prelude.Nothing,
$sel:languageCode:EventsDetectionJobProperties' :: Maybe LanguageCode
languageCode = forall a. Maybe a
Prelude.Nothing,
$sel:message:EventsDetectionJobProperties' :: Maybe Text
message = forall a. Maybe a
Prelude.Nothing,
$sel:outputDataConfig:EventsDetectionJobProperties' :: Maybe OutputDataConfig
outputDataConfig = forall a. Maybe a
Prelude.Nothing,
$sel:submitTime:EventsDetectionJobProperties' :: Maybe POSIX
submitTime = forall a. Maybe a
Prelude.Nothing,
$sel:targetEventTypes:EventsDetectionJobProperties' :: Maybe (NonEmpty Text)
targetEventTypes = forall a. Maybe a
Prelude.Nothing
}
eventsDetectionJobProperties_dataAccessRoleArn :: Lens.Lens' EventsDetectionJobProperties (Prelude.Maybe Prelude.Text)
eventsDetectionJobProperties_dataAccessRoleArn :: Lens' EventsDetectionJobProperties (Maybe Text)
eventsDetectionJobProperties_dataAccessRoleArn = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\EventsDetectionJobProperties' {Maybe Text
dataAccessRoleArn :: Maybe Text
$sel:dataAccessRoleArn:EventsDetectionJobProperties' :: EventsDetectionJobProperties -> Maybe Text
dataAccessRoleArn} -> Maybe Text
dataAccessRoleArn) (\s :: EventsDetectionJobProperties
s@EventsDetectionJobProperties' {} Maybe Text
a -> EventsDetectionJobProperties
s {$sel:dataAccessRoleArn:EventsDetectionJobProperties' :: Maybe Text
dataAccessRoleArn = Maybe Text
a} :: EventsDetectionJobProperties)
eventsDetectionJobProperties_endTime :: Lens.Lens' EventsDetectionJobProperties (Prelude.Maybe Prelude.UTCTime)
eventsDetectionJobProperties_endTime :: Lens' EventsDetectionJobProperties (Maybe UTCTime)
eventsDetectionJobProperties_endTime = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\EventsDetectionJobProperties' {Maybe POSIX
endTime :: Maybe POSIX
$sel:endTime:EventsDetectionJobProperties' :: EventsDetectionJobProperties -> Maybe POSIX
endTime} -> Maybe POSIX
endTime) (\s :: EventsDetectionJobProperties
s@EventsDetectionJobProperties' {} Maybe POSIX
a -> EventsDetectionJobProperties
s {$sel:endTime:EventsDetectionJobProperties' :: Maybe POSIX
endTime = Maybe POSIX
a} :: EventsDetectionJobProperties) 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
eventsDetectionJobProperties_inputDataConfig :: Lens.Lens' EventsDetectionJobProperties (Prelude.Maybe InputDataConfig)
eventsDetectionJobProperties_inputDataConfig :: Lens' EventsDetectionJobProperties (Maybe InputDataConfig)
eventsDetectionJobProperties_inputDataConfig = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\EventsDetectionJobProperties' {Maybe InputDataConfig
inputDataConfig :: Maybe InputDataConfig
$sel:inputDataConfig:EventsDetectionJobProperties' :: EventsDetectionJobProperties -> Maybe InputDataConfig
inputDataConfig} -> Maybe InputDataConfig
inputDataConfig) (\s :: EventsDetectionJobProperties
s@EventsDetectionJobProperties' {} Maybe InputDataConfig
a -> EventsDetectionJobProperties
s {$sel:inputDataConfig:EventsDetectionJobProperties' :: Maybe InputDataConfig
inputDataConfig = Maybe InputDataConfig
a} :: EventsDetectionJobProperties)
eventsDetectionJobProperties_jobArn :: Lens.Lens' EventsDetectionJobProperties (Prelude.Maybe Prelude.Text)
eventsDetectionJobProperties_jobArn :: Lens' EventsDetectionJobProperties (Maybe Text)
eventsDetectionJobProperties_jobArn = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\EventsDetectionJobProperties' {Maybe Text
jobArn :: Maybe Text
$sel:jobArn:EventsDetectionJobProperties' :: EventsDetectionJobProperties -> Maybe Text
jobArn} -> Maybe Text
jobArn) (\s :: EventsDetectionJobProperties
s@EventsDetectionJobProperties' {} Maybe Text
a -> EventsDetectionJobProperties
s {$sel:jobArn:EventsDetectionJobProperties' :: Maybe Text
jobArn = Maybe Text
a} :: EventsDetectionJobProperties)
eventsDetectionJobProperties_jobId :: Lens.Lens' EventsDetectionJobProperties (Prelude.Maybe Prelude.Text)
eventsDetectionJobProperties_jobId :: Lens' EventsDetectionJobProperties (Maybe Text)
eventsDetectionJobProperties_jobId = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\EventsDetectionJobProperties' {Maybe Text
jobId :: Maybe Text
$sel:jobId:EventsDetectionJobProperties' :: EventsDetectionJobProperties -> Maybe Text
jobId} -> Maybe Text
jobId) (\s :: EventsDetectionJobProperties
s@EventsDetectionJobProperties' {} Maybe Text
a -> EventsDetectionJobProperties
s {$sel:jobId:EventsDetectionJobProperties' :: Maybe Text
jobId = Maybe Text
a} :: EventsDetectionJobProperties)
eventsDetectionJobProperties_jobName :: Lens.Lens' EventsDetectionJobProperties (Prelude.Maybe Prelude.Text)
eventsDetectionJobProperties_jobName :: Lens' EventsDetectionJobProperties (Maybe Text)
eventsDetectionJobProperties_jobName = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\EventsDetectionJobProperties' {Maybe Text
jobName :: Maybe Text
$sel:jobName:EventsDetectionJobProperties' :: EventsDetectionJobProperties -> Maybe Text
jobName} -> Maybe Text
jobName) (\s :: EventsDetectionJobProperties
s@EventsDetectionJobProperties' {} Maybe Text
a -> EventsDetectionJobProperties
s {$sel:jobName:EventsDetectionJobProperties' :: Maybe Text
jobName = Maybe Text
a} :: EventsDetectionJobProperties)
eventsDetectionJobProperties_jobStatus :: Lens.Lens' EventsDetectionJobProperties (Prelude.Maybe JobStatus)
eventsDetectionJobProperties_jobStatus :: Lens' EventsDetectionJobProperties (Maybe JobStatus)
eventsDetectionJobProperties_jobStatus = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\EventsDetectionJobProperties' {Maybe JobStatus
jobStatus :: Maybe JobStatus
$sel:jobStatus:EventsDetectionJobProperties' :: EventsDetectionJobProperties -> Maybe JobStatus
jobStatus} -> Maybe JobStatus
jobStatus) (\s :: EventsDetectionJobProperties
s@EventsDetectionJobProperties' {} Maybe JobStatus
a -> EventsDetectionJobProperties
s {$sel:jobStatus:EventsDetectionJobProperties' :: Maybe JobStatus
jobStatus = Maybe JobStatus
a} :: EventsDetectionJobProperties)
eventsDetectionJobProperties_languageCode :: Lens.Lens' EventsDetectionJobProperties (Prelude.Maybe LanguageCode)
eventsDetectionJobProperties_languageCode :: Lens' EventsDetectionJobProperties (Maybe LanguageCode)
eventsDetectionJobProperties_languageCode = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\EventsDetectionJobProperties' {Maybe LanguageCode
languageCode :: Maybe LanguageCode
$sel:languageCode:EventsDetectionJobProperties' :: EventsDetectionJobProperties -> Maybe LanguageCode
languageCode} -> Maybe LanguageCode
languageCode) (\s :: EventsDetectionJobProperties
s@EventsDetectionJobProperties' {} Maybe LanguageCode
a -> EventsDetectionJobProperties
s {$sel:languageCode:EventsDetectionJobProperties' :: Maybe LanguageCode
languageCode = Maybe LanguageCode
a} :: EventsDetectionJobProperties)
eventsDetectionJobProperties_message :: Lens.Lens' EventsDetectionJobProperties (Prelude.Maybe Prelude.Text)
eventsDetectionJobProperties_message :: Lens' EventsDetectionJobProperties (Maybe Text)
eventsDetectionJobProperties_message = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\EventsDetectionJobProperties' {Maybe Text
message :: Maybe Text
$sel:message:EventsDetectionJobProperties' :: EventsDetectionJobProperties -> Maybe Text
message} -> Maybe Text
message) (\s :: EventsDetectionJobProperties
s@EventsDetectionJobProperties' {} Maybe Text
a -> EventsDetectionJobProperties
s {$sel:message:EventsDetectionJobProperties' :: Maybe Text
message = Maybe Text
a} :: EventsDetectionJobProperties)
eventsDetectionJobProperties_outputDataConfig :: Lens.Lens' EventsDetectionJobProperties (Prelude.Maybe OutputDataConfig)
eventsDetectionJobProperties_outputDataConfig :: Lens' EventsDetectionJobProperties (Maybe OutputDataConfig)
eventsDetectionJobProperties_outputDataConfig = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\EventsDetectionJobProperties' {Maybe OutputDataConfig
outputDataConfig :: Maybe OutputDataConfig
$sel:outputDataConfig:EventsDetectionJobProperties' :: EventsDetectionJobProperties -> Maybe OutputDataConfig
outputDataConfig} -> Maybe OutputDataConfig
outputDataConfig) (\s :: EventsDetectionJobProperties
s@EventsDetectionJobProperties' {} Maybe OutputDataConfig
a -> EventsDetectionJobProperties
s {$sel:outputDataConfig:EventsDetectionJobProperties' :: Maybe OutputDataConfig
outputDataConfig = Maybe OutputDataConfig
a} :: EventsDetectionJobProperties)
eventsDetectionJobProperties_submitTime :: Lens.Lens' EventsDetectionJobProperties (Prelude.Maybe Prelude.UTCTime)
eventsDetectionJobProperties_submitTime :: Lens' EventsDetectionJobProperties (Maybe UTCTime)
eventsDetectionJobProperties_submitTime = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\EventsDetectionJobProperties' {Maybe POSIX
submitTime :: Maybe POSIX
$sel:submitTime:EventsDetectionJobProperties' :: EventsDetectionJobProperties -> Maybe POSIX
submitTime} -> Maybe POSIX
submitTime) (\s :: EventsDetectionJobProperties
s@EventsDetectionJobProperties' {} Maybe POSIX
a -> EventsDetectionJobProperties
s {$sel:submitTime:EventsDetectionJobProperties' :: Maybe POSIX
submitTime = Maybe POSIX
a} :: EventsDetectionJobProperties) 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
eventsDetectionJobProperties_targetEventTypes :: Lens.Lens' EventsDetectionJobProperties (Prelude.Maybe (Prelude.NonEmpty Prelude.Text))
eventsDetectionJobProperties_targetEventTypes :: Lens' EventsDetectionJobProperties (Maybe (NonEmpty Text))
eventsDetectionJobProperties_targetEventTypes = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\EventsDetectionJobProperties' {Maybe (NonEmpty Text)
targetEventTypes :: Maybe (NonEmpty Text)
$sel:targetEventTypes:EventsDetectionJobProperties' :: EventsDetectionJobProperties -> Maybe (NonEmpty Text)
targetEventTypes} -> Maybe (NonEmpty Text)
targetEventTypes) (\s :: EventsDetectionJobProperties
s@EventsDetectionJobProperties' {} Maybe (NonEmpty Text)
a -> EventsDetectionJobProperties
s {$sel:targetEventTypes:EventsDetectionJobProperties' :: Maybe (NonEmpty Text)
targetEventTypes = Maybe (NonEmpty Text)
a} :: EventsDetectionJobProperties) 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 s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
instance Data.FromJSON EventsDetectionJobProperties where
parseJSON :: Value -> Parser EventsDetectionJobProperties
parseJSON =
forall a. String -> (Object -> Parser a) -> Value -> Parser a
Data.withObject
String
"EventsDetectionJobProperties"
( \Object
x ->
Maybe Text
-> Maybe POSIX
-> Maybe InputDataConfig
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe JobStatus
-> Maybe LanguageCode
-> Maybe Text
-> Maybe OutputDataConfig
-> Maybe POSIX
-> Maybe (NonEmpty Text)
-> EventsDetectionJobProperties
EventsDetectionJobProperties'
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
"LanguageCode")
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
"TargetEventTypes")
)
instance
Prelude.Hashable
EventsDetectionJobProperties
where
hashWithSalt :: Int -> EventsDetectionJobProperties -> Int
hashWithSalt Int
_salt EventsDetectionJobProperties' {Maybe (NonEmpty Text)
Maybe Text
Maybe POSIX
Maybe InputDataConfig
Maybe JobStatus
Maybe LanguageCode
Maybe OutputDataConfig
targetEventTypes :: Maybe (NonEmpty Text)
submitTime :: Maybe POSIX
outputDataConfig :: Maybe OutputDataConfig
message :: Maybe Text
languageCode :: Maybe LanguageCode
jobStatus :: Maybe JobStatus
jobName :: Maybe Text
jobId :: Maybe Text
jobArn :: Maybe Text
inputDataConfig :: Maybe InputDataConfig
endTime :: Maybe POSIX
dataAccessRoleArn :: Maybe Text
$sel:targetEventTypes:EventsDetectionJobProperties' :: EventsDetectionJobProperties -> Maybe (NonEmpty Text)
$sel:submitTime:EventsDetectionJobProperties' :: EventsDetectionJobProperties -> Maybe POSIX
$sel:outputDataConfig:EventsDetectionJobProperties' :: EventsDetectionJobProperties -> Maybe OutputDataConfig
$sel:message:EventsDetectionJobProperties' :: EventsDetectionJobProperties -> Maybe Text
$sel:languageCode:EventsDetectionJobProperties' :: EventsDetectionJobProperties -> Maybe LanguageCode
$sel:jobStatus:EventsDetectionJobProperties' :: EventsDetectionJobProperties -> Maybe JobStatus
$sel:jobName:EventsDetectionJobProperties' :: EventsDetectionJobProperties -> Maybe Text
$sel:jobId:EventsDetectionJobProperties' :: EventsDetectionJobProperties -> Maybe Text
$sel:jobArn:EventsDetectionJobProperties' :: EventsDetectionJobProperties -> Maybe Text
$sel:inputDataConfig:EventsDetectionJobProperties' :: EventsDetectionJobProperties -> Maybe InputDataConfig
$sel:endTime:EventsDetectionJobProperties' :: EventsDetectionJobProperties -> Maybe POSIX
$sel:dataAccessRoleArn:EventsDetectionJobProperties' :: EventsDetectionJobProperties -> 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 LanguageCode
languageCode
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 (NonEmpty Text)
targetEventTypes
instance Prelude.NFData EventsDetectionJobProperties where
rnf :: EventsDetectionJobProperties -> ()
rnf EventsDetectionJobProperties' {Maybe (NonEmpty Text)
Maybe Text
Maybe POSIX
Maybe InputDataConfig
Maybe JobStatus
Maybe LanguageCode
Maybe OutputDataConfig
targetEventTypes :: Maybe (NonEmpty Text)
submitTime :: Maybe POSIX
outputDataConfig :: Maybe OutputDataConfig
message :: Maybe Text
languageCode :: Maybe LanguageCode
jobStatus :: Maybe JobStatus
jobName :: Maybe Text
jobId :: Maybe Text
jobArn :: Maybe Text
inputDataConfig :: Maybe InputDataConfig
endTime :: Maybe POSIX
dataAccessRoleArn :: Maybe Text
$sel:targetEventTypes:EventsDetectionJobProperties' :: EventsDetectionJobProperties -> Maybe (NonEmpty Text)
$sel:submitTime:EventsDetectionJobProperties' :: EventsDetectionJobProperties -> Maybe POSIX
$sel:outputDataConfig:EventsDetectionJobProperties' :: EventsDetectionJobProperties -> Maybe OutputDataConfig
$sel:message:EventsDetectionJobProperties' :: EventsDetectionJobProperties -> Maybe Text
$sel:languageCode:EventsDetectionJobProperties' :: EventsDetectionJobProperties -> Maybe LanguageCode
$sel:jobStatus:EventsDetectionJobProperties' :: EventsDetectionJobProperties -> Maybe JobStatus
$sel:jobName:EventsDetectionJobProperties' :: EventsDetectionJobProperties -> Maybe Text
$sel:jobId:EventsDetectionJobProperties' :: EventsDetectionJobProperties -> Maybe Text
$sel:jobArn:EventsDetectionJobProperties' :: EventsDetectionJobProperties -> Maybe Text
$sel:inputDataConfig:EventsDetectionJobProperties' :: EventsDetectionJobProperties -> Maybe InputDataConfig
$sel:endTime:EventsDetectionJobProperties' :: EventsDetectionJobProperties -> Maybe POSIX
$sel:dataAccessRoleArn:EventsDetectionJobProperties' :: EventsDetectionJobProperties -> 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 LanguageCode
languageCode
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 (NonEmpty Text)
targetEventTypes