{-# 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.SWF.Types.ActivityTaskScheduledEventAttributes where
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
import Amazonka.SWF.Types.ActivityType
import Amazonka.SWF.Types.TaskList
data ActivityTaskScheduledEventAttributes = ActivityTaskScheduledEventAttributes'
{
ActivityTaskScheduledEventAttributes -> Maybe Text
control :: Prelude.Maybe Prelude.Text,
ActivityTaskScheduledEventAttributes -> Maybe Text
heartbeatTimeout :: Prelude.Maybe Prelude.Text,
ActivityTaskScheduledEventAttributes -> Maybe Text
input :: Prelude.Maybe Prelude.Text,
ActivityTaskScheduledEventAttributes -> Maybe Text
scheduleToCloseTimeout :: Prelude.Maybe Prelude.Text,
ActivityTaskScheduledEventAttributes -> Maybe Text
scheduleToStartTimeout :: Prelude.Maybe Prelude.Text,
ActivityTaskScheduledEventAttributes -> Maybe Text
startToCloseTimeout :: Prelude.Maybe Prelude.Text,
ActivityTaskScheduledEventAttributes -> Maybe Text
taskPriority :: Prelude.Maybe Prelude.Text,
ActivityTaskScheduledEventAttributes -> ActivityType
activityType :: ActivityType,
ActivityTaskScheduledEventAttributes -> Text
activityId :: Prelude.Text,
ActivityTaskScheduledEventAttributes -> TaskList
taskList :: TaskList,
ActivityTaskScheduledEventAttributes -> Integer
decisionTaskCompletedEventId :: Prelude.Integer
}
deriving (ActivityTaskScheduledEventAttributes
-> ActivityTaskScheduledEventAttributes -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ActivityTaskScheduledEventAttributes
-> ActivityTaskScheduledEventAttributes -> Bool
$c/= :: ActivityTaskScheduledEventAttributes
-> ActivityTaskScheduledEventAttributes -> Bool
== :: ActivityTaskScheduledEventAttributes
-> ActivityTaskScheduledEventAttributes -> Bool
$c== :: ActivityTaskScheduledEventAttributes
-> ActivityTaskScheduledEventAttributes -> Bool
Prelude.Eq, ReadPrec [ActivityTaskScheduledEventAttributes]
ReadPrec ActivityTaskScheduledEventAttributes
Int -> ReadS ActivityTaskScheduledEventAttributes
ReadS [ActivityTaskScheduledEventAttributes]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ActivityTaskScheduledEventAttributes]
$creadListPrec :: ReadPrec [ActivityTaskScheduledEventAttributes]
readPrec :: ReadPrec ActivityTaskScheduledEventAttributes
$creadPrec :: ReadPrec ActivityTaskScheduledEventAttributes
readList :: ReadS [ActivityTaskScheduledEventAttributes]
$creadList :: ReadS [ActivityTaskScheduledEventAttributes]
readsPrec :: Int -> ReadS ActivityTaskScheduledEventAttributes
$creadsPrec :: Int -> ReadS ActivityTaskScheduledEventAttributes
Prelude.Read, Int -> ActivityTaskScheduledEventAttributes -> ShowS
[ActivityTaskScheduledEventAttributes] -> ShowS
ActivityTaskScheduledEventAttributes -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ActivityTaskScheduledEventAttributes] -> ShowS
$cshowList :: [ActivityTaskScheduledEventAttributes] -> ShowS
show :: ActivityTaskScheduledEventAttributes -> String
$cshow :: ActivityTaskScheduledEventAttributes -> String
showsPrec :: Int -> ActivityTaskScheduledEventAttributes -> ShowS
$cshowsPrec :: Int -> ActivityTaskScheduledEventAttributes -> ShowS
Prelude.Show, forall x.
Rep ActivityTaskScheduledEventAttributes x
-> ActivityTaskScheduledEventAttributes
forall x.
ActivityTaskScheduledEventAttributes
-> Rep ActivityTaskScheduledEventAttributes x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep ActivityTaskScheduledEventAttributes x
-> ActivityTaskScheduledEventAttributes
$cfrom :: forall x.
ActivityTaskScheduledEventAttributes
-> Rep ActivityTaskScheduledEventAttributes x
Prelude.Generic)
newActivityTaskScheduledEventAttributes ::
ActivityType ->
Prelude.Text ->
TaskList ->
Prelude.Integer ->
ActivityTaskScheduledEventAttributes
newActivityTaskScheduledEventAttributes :: ActivityType
-> Text
-> TaskList
-> Integer
-> ActivityTaskScheduledEventAttributes
newActivityTaskScheduledEventAttributes
ActivityType
pActivityType_
Text
pActivityId_
TaskList
pTaskList_
Integer
pDecisionTaskCompletedEventId_ =
ActivityTaskScheduledEventAttributes'
{ $sel:control:ActivityTaskScheduledEventAttributes' :: Maybe Text
control =
forall a. Maybe a
Prelude.Nothing,
$sel:heartbeatTimeout:ActivityTaskScheduledEventAttributes' :: Maybe Text
heartbeatTimeout = forall a. Maybe a
Prelude.Nothing,
$sel:input:ActivityTaskScheduledEventAttributes' :: Maybe Text
input = forall a. Maybe a
Prelude.Nothing,
$sel:scheduleToCloseTimeout:ActivityTaskScheduledEventAttributes' :: Maybe Text
scheduleToCloseTimeout =
forall a. Maybe a
Prelude.Nothing,
$sel:scheduleToStartTimeout:ActivityTaskScheduledEventAttributes' :: Maybe Text
scheduleToStartTimeout =
forall a. Maybe a
Prelude.Nothing,
$sel:startToCloseTimeout:ActivityTaskScheduledEventAttributes' :: Maybe Text
startToCloseTimeout = forall a. Maybe a
Prelude.Nothing,
$sel:taskPriority:ActivityTaskScheduledEventAttributes' :: Maybe Text
taskPriority = forall a. Maybe a
Prelude.Nothing,
$sel:activityType:ActivityTaskScheduledEventAttributes' :: ActivityType
activityType = ActivityType
pActivityType_,
$sel:activityId:ActivityTaskScheduledEventAttributes' :: Text
activityId = Text
pActivityId_,
$sel:taskList:ActivityTaskScheduledEventAttributes' :: TaskList
taskList = TaskList
pTaskList_,
$sel:decisionTaskCompletedEventId:ActivityTaskScheduledEventAttributes' :: Integer
decisionTaskCompletedEventId =
Integer
pDecisionTaskCompletedEventId_
}
activityTaskScheduledEventAttributes_control :: Lens.Lens' ActivityTaskScheduledEventAttributes (Prelude.Maybe Prelude.Text)
activityTaskScheduledEventAttributes_control :: Lens' ActivityTaskScheduledEventAttributes (Maybe Text)
activityTaskScheduledEventAttributes_control = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ActivityTaskScheduledEventAttributes' {Maybe Text
control :: Maybe Text
$sel:control:ActivityTaskScheduledEventAttributes' :: ActivityTaskScheduledEventAttributes -> Maybe Text
control} -> Maybe Text
control) (\s :: ActivityTaskScheduledEventAttributes
s@ActivityTaskScheduledEventAttributes' {} Maybe Text
a -> ActivityTaskScheduledEventAttributes
s {$sel:control:ActivityTaskScheduledEventAttributes' :: Maybe Text
control = Maybe Text
a} :: ActivityTaskScheduledEventAttributes)
activityTaskScheduledEventAttributes_heartbeatTimeout :: Lens.Lens' ActivityTaskScheduledEventAttributes (Prelude.Maybe Prelude.Text)
activityTaskScheduledEventAttributes_heartbeatTimeout :: Lens' ActivityTaskScheduledEventAttributes (Maybe Text)
activityTaskScheduledEventAttributes_heartbeatTimeout = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ActivityTaskScheduledEventAttributes' {Maybe Text
heartbeatTimeout :: Maybe Text
$sel:heartbeatTimeout:ActivityTaskScheduledEventAttributes' :: ActivityTaskScheduledEventAttributes -> Maybe Text
heartbeatTimeout} -> Maybe Text
heartbeatTimeout) (\s :: ActivityTaskScheduledEventAttributes
s@ActivityTaskScheduledEventAttributes' {} Maybe Text
a -> ActivityTaskScheduledEventAttributes
s {$sel:heartbeatTimeout:ActivityTaskScheduledEventAttributes' :: Maybe Text
heartbeatTimeout = Maybe Text
a} :: ActivityTaskScheduledEventAttributes)
activityTaskScheduledEventAttributes_input :: Lens.Lens' ActivityTaskScheduledEventAttributes (Prelude.Maybe Prelude.Text)
activityTaskScheduledEventAttributes_input :: Lens' ActivityTaskScheduledEventAttributes (Maybe Text)
activityTaskScheduledEventAttributes_input = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ActivityTaskScheduledEventAttributes' {Maybe Text
input :: Maybe Text
$sel:input:ActivityTaskScheduledEventAttributes' :: ActivityTaskScheduledEventAttributes -> Maybe Text
input} -> Maybe Text
input) (\s :: ActivityTaskScheduledEventAttributes
s@ActivityTaskScheduledEventAttributes' {} Maybe Text
a -> ActivityTaskScheduledEventAttributes
s {$sel:input:ActivityTaskScheduledEventAttributes' :: Maybe Text
input = Maybe Text
a} :: ActivityTaskScheduledEventAttributes)
activityTaskScheduledEventAttributes_scheduleToCloseTimeout :: Lens.Lens' ActivityTaskScheduledEventAttributes (Prelude.Maybe Prelude.Text)
activityTaskScheduledEventAttributes_scheduleToCloseTimeout :: Lens' ActivityTaskScheduledEventAttributes (Maybe Text)
activityTaskScheduledEventAttributes_scheduleToCloseTimeout = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ActivityTaskScheduledEventAttributes' {Maybe Text
scheduleToCloseTimeout :: Maybe Text
$sel:scheduleToCloseTimeout:ActivityTaskScheduledEventAttributes' :: ActivityTaskScheduledEventAttributes -> Maybe Text
scheduleToCloseTimeout} -> Maybe Text
scheduleToCloseTimeout) (\s :: ActivityTaskScheduledEventAttributes
s@ActivityTaskScheduledEventAttributes' {} Maybe Text
a -> ActivityTaskScheduledEventAttributes
s {$sel:scheduleToCloseTimeout:ActivityTaskScheduledEventAttributes' :: Maybe Text
scheduleToCloseTimeout = Maybe Text
a} :: ActivityTaskScheduledEventAttributes)
activityTaskScheduledEventAttributes_scheduleToStartTimeout :: Lens.Lens' ActivityTaskScheduledEventAttributes (Prelude.Maybe Prelude.Text)
activityTaskScheduledEventAttributes_scheduleToStartTimeout :: Lens' ActivityTaskScheduledEventAttributes (Maybe Text)
activityTaskScheduledEventAttributes_scheduleToStartTimeout = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ActivityTaskScheduledEventAttributes' {Maybe Text
scheduleToStartTimeout :: Maybe Text
$sel:scheduleToStartTimeout:ActivityTaskScheduledEventAttributes' :: ActivityTaskScheduledEventAttributes -> Maybe Text
scheduleToStartTimeout} -> Maybe Text
scheduleToStartTimeout) (\s :: ActivityTaskScheduledEventAttributes
s@ActivityTaskScheduledEventAttributes' {} Maybe Text
a -> ActivityTaskScheduledEventAttributes
s {$sel:scheduleToStartTimeout:ActivityTaskScheduledEventAttributes' :: Maybe Text
scheduleToStartTimeout = Maybe Text
a} :: ActivityTaskScheduledEventAttributes)
activityTaskScheduledEventAttributes_startToCloseTimeout :: Lens.Lens' ActivityTaskScheduledEventAttributes (Prelude.Maybe Prelude.Text)
activityTaskScheduledEventAttributes_startToCloseTimeout :: Lens' ActivityTaskScheduledEventAttributes (Maybe Text)
activityTaskScheduledEventAttributes_startToCloseTimeout = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ActivityTaskScheduledEventAttributes' {Maybe Text
startToCloseTimeout :: Maybe Text
$sel:startToCloseTimeout:ActivityTaskScheduledEventAttributes' :: ActivityTaskScheduledEventAttributes -> Maybe Text
startToCloseTimeout} -> Maybe Text
startToCloseTimeout) (\s :: ActivityTaskScheduledEventAttributes
s@ActivityTaskScheduledEventAttributes' {} Maybe Text
a -> ActivityTaskScheduledEventAttributes
s {$sel:startToCloseTimeout:ActivityTaskScheduledEventAttributes' :: Maybe Text
startToCloseTimeout = Maybe Text
a} :: ActivityTaskScheduledEventAttributes)
activityTaskScheduledEventAttributes_taskPriority :: Lens.Lens' ActivityTaskScheduledEventAttributes (Prelude.Maybe Prelude.Text)
activityTaskScheduledEventAttributes_taskPriority :: Lens' ActivityTaskScheduledEventAttributes (Maybe Text)
activityTaskScheduledEventAttributes_taskPriority = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ActivityTaskScheduledEventAttributes' {Maybe Text
taskPriority :: Maybe Text
$sel:taskPriority:ActivityTaskScheduledEventAttributes' :: ActivityTaskScheduledEventAttributes -> Maybe Text
taskPriority} -> Maybe Text
taskPriority) (\s :: ActivityTaskScheduledEventAttributes
s@ActivityTaskScheduledEventAttributes' {} Maybe Text
a -> ActivityTaskScheduledEventAttributes
s {$sel:taskPriority:ActivityTaskScheduledEventAttributes' :: Maybe Text
taskPriority = Maybe Text
a} :: ActivityTaskScheduledEventAttributes)
activityTaskScheduledEventAttributes_activityType :: Lens.Lens' ActivityTaskScheduledEventAttributes ActivityType
activityTaskScheduledEventAttributes_activityType :: Lens' ActivityTaskScheduledEventAttributes ActivityType
activityTaskScheduledEventAttributes_activityType = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ActivityTaskScheduledEventAttributes' {ActivityType
activityType :: ActivityType
$sel:activityType:ActivityTaskScheduledEventAttributes' :: ActivityTaskScheduledEventAttributes -> ActivityType
activityType} -> ActivityType
activityType) (\s :: ActivityTaskScheduledEventAttributes
s@ActivityTaskScheduledEventAttributes' {} ActivityType
a -> ActivityTaskScheduledEventAttributes
s {$sel:activityType:ActivityTaskScheduledEventAttributes' :: ActivityType
activityType = ActivityType
a} :: ActivityTaskScheduledEventAttributes)
activityTaskScheduledEventAttributes_activityId :: Lens.Lens' ActivityTaskScheduledEventAttributes Prelude.Text
activityTaskScheduledEventAttributes_activityId :: Lens' ActivityTaskScheduledEventAttributes Text
activityTaskScheduledEventAttributes_activityId = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ActivityTaskScheduledEventAttributes' {Text
activityId :: Text
$sel:activityId:ActivityTaskScheduledEventAttributes' :: ActivityTaskScheduledEventAttributes -> Text
activityId} -> Text
activityId) (\s :: ActivityTaskScheduledEventAttributes
s@ActivityTaskScheduledEventAttributes' {} Text
a -> ActivityTaskScheduledEventAttributes
s {$sel:activityId:ActivityTaskScheduledEventAttributes' :: Text
activityId = Text
a} :: ActivityTaskScheduledEventAttributes)
activityTaskScheduledEventAttributes_taskList :: Lens.Lens' ActivityTaskScheduledEventAttributes TaskList
activityTaskScheduledEventAttributes_taskList :: Lens' ActivityTaskScheduledEventAttributes TaskList
activityTaskScheduledEventAttributes_taskList = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ActivityTaskScheduledEventAttributes' {TaskList
taskList :: TaskList
$sel:taskList:ActivityTaskScheduledEventAttributes' :: ActivityTaskScheduledEventAttributes -> TaskList
taskList} -> TaskList
taskList) (\s :: ActivityTaskScheduledEventAttributes
s@ActivityTaskScheduledEventAttributes' {} TaskList
a -> ActivityTaskScheduledEventAttributes
s {$sel:taskList:ActivityTaskScheduledEventAttributes' :: TaskList
taskList = TaskList
a} :: ActivityTaskScheduledEventAttributes)
activityTaskScheduledEventAttributes_decisionTaskCompletedEventId :: Lens.Lens' ActivityTaskScheduledEventAttributes Prelude.Integer
activityTaskScheduledEventAttributes_decisionTaskCompletedEventId :: Lens' ActivityTaskScheduledEventAttributes Integer
activityTaskScheduledEventAttributes_decisionTaskCompletedEventId = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ActivityTaskScheduledEventAttributes' {Integer
decisionTaskCompletedEventId :: Integer
$sel:decisionTaskCompletedEventId:ActivityTaskScheduledEventAttributes' :: ActivityTaskScheduledEventAttributes -> Integer
decisionTaskCompletedEventId} -> Integer
decisionTaskCompletedEventId) (\s :: ActivityTaskScheduledEventAttributes
s@ActivityTaskScheduledEventAttributes' {} Integer
a -> ActivityTaskScheduledEventAttributes
s {$sel:decisionTaskCompletedEventId:ActivityTaskScheduledEventAttributes' :: Integer
decisionTaskCompletedEventId = Integer
a} :: ActivityTaskScheduledEventAttributes)
instance
Data.FromJSON
ActivityTaskScheduledEventAttributes
where
parseJSON :: Value -> Parser ActivityTaskScheduledEventAttributes
parseJSON =
forall a. String -> (Object -> Parser a) -> Value -> Parser a
Data.withObject
String
"ActivityTaskScheduledEventAttributes"
( \Object
x ->
Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> ActivityType
-> Text
-> TaskList
-> Integer
-> ActivityTaskScheduledEventAttributes
ActivityTaskScheduledEventAttributes'
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
"control")
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
"heartbeatTimeout")
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
"input")
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
"scheduleToCloseTimeout")
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
"scheduleToStartTimeout")
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
"startToCloseTimeout")
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
"taskPriority")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser a
Data..: Key
"activityType")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser a
Data..: Key
"activityId")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser a
Data..: Key
"taskList")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser a
Data..: Key
"decisionTaskCompletedEventId")
)
instance
Prelude.Hashable
ActivityTaskScheduledEventAttributes
where
hashWithSalt :: Int -> ActivityTaskScheduledEventAttributes -> Int
hashWithSalt
Int
_salt
ActivityTaskScheduledEventAttributes' {Integer
Maybe Text
Text
ActivityType
TaskList
decisionTaskCompletedEventId :: Integer
taskList :: TaskList
activityId :: Text
activityType :: ActivityType
taskPriority :: Maybe Text
startToCloseTimeout :: Maybe Text
scheduleToStartTimeout :: Maybe Text
scheduleToCloseTimeout :: Maybe Text
input :: Maybe Text
heartbeatTimeout :: Maybe Text
control :: Maybe Text
$sel:decisionTaskCompletedEventId:ActivityTaskScheduledEventAttributes' :: ActivityTaskScheduledEventAttributes -> Integer
$sel:taskList:ActivityTaskScheduledEventAttributes' :: ActivityTaskScheduledEventAttributes -> TaskList
$sel:activityId:ActivityTaskScheduledEventAttributes' :: ActivityTaskScheduledEventAttributes -> Text
$sel:activityType:ActivityTaskScheduledEventAttributes' :: ActivityTaskScheduledEventAttributes -> ActivityType
$sel:taskPriority:ActivityTaskScheduledEventAttributes' :: ActivityTaskScheduledEventAttributes -> Maybe Text
$sel:startToCloseTimeout:ActivityTaskScheduledEventAttributes' :: ActivityTaskScheduledEventAttributes -> Maybe Text
$sel:scheduleToStartTimeout:ActivityTaskScheduledEventAttributes' :: ActivityTaskScheduledEventAttributes -> Maybe Text
$sel:scheduleToCloseTimeout:ActivityTaskScheduledEventAttributes' :: ActivityTaskScheduledEventAttributes -> Maybe Text
$sel:input:ActivityTaskScheduledEventAttributes' :: ActivityTaskScheduledEventAttributes -> Maybe Text
$sel:heartbeatTimeout:ActivityTaskScheduledEventAttributes' :: ActivityTaskScheduledEventAttributes -> Maybe Text
$sel:control:ActivityTaskScheduledEventAttributes' :: ActivityTaskScheduledEventAttributes -> Maybe Text
..} =
Int
_salt
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
control
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
heartbeatTimeout
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
input
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
scheduleToCloseTimeout
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
scheduleToStartTimeout
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
startToCloseTimeout
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
taskPriority
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` ActivityType
activityType
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Text
activityId
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` TaskList
taskList
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Integer
decisionTaskCompletedEventId
instance
Prelude.NFData
ActivityTaskScheduledEventAttributes
where
rnf :: ActivityTaskScheduledEventAttributes -> ()
rnf ActivityTaskScheduledEventAttributes' {Integer
Maybe Text
Text
ActivityType
TaskList
decisionTaskCompletedEventId :: Integer
taskList :: TaskList
activityId :: Text
activityType :: ActivityType
taskPriority :: Maybe Text
startToCloseTimeout :: Maybe Text
scheduleToStartTimeout :: Maybe Text
scheduleToCloseTimeout :: Maybe Text
input :: Maybe Text
heartbeatTimeout :: Maybe Text
control :: Maybe Text
$sel:decisionTaskCompletedEventId:ActivityTaskScheduledEventAttributes' :: ActivityTaskScheduledEventAttributes -> Integer
$sel:taskList:ActivityTaskScheduledEventAttributes' :: ActivityTaskScheduledEventAttributes -> TaskList
$sel:activityId:ActivityTaskScheduledEventAttributes' :: ActivityTaskScheduledEventAttributes -> Text
$sel:activityType:ActivityTaskScheduledEventAttributes' :: ActivityTaskScheduledEventAttributes -> ActivityType
$sel:taskPriority:ActivityTaskScheduledEventAttributes' :: ActivityTaskScheduledEventAttributes -> Maybe Text
$sel:startToCloseTimeout:ActivityTaskScheduledEventAttributes' :: ActivityTaskScheduledEventAttributes -> Maybe Text
$sel:scheduleToStartTimeout:ActivityTaskScheduledEventAttributes' :: ActivityTaskScheduledEventAttributes -> Maybe Text
$sel:scheduleToCloseTimeout:ActivityTaskScheduledEventAttributes' :: ActivityTaskScheduledEventAttributes -> Maybe Text
$sel:input:ActivityTaskScheduledEventAttributes' :: ActivityTaskScheduledEventAttributes -> Maybe Text
$sel:heartbeatTimeout:ActivityTaskScheduledEventAttributes' :: ActivityTaskScheduledEventAttributes -> Maybe Text
$sel:control:ActivityTaskScheduledEventAttributes' :: ActivityTaskScheduledEventAttributes -> Maybe Text
..} =
forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
control
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
heartbeatTimeout
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
input
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
scheduleToCloseTimeout
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
scheduleToStartTimeout
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
startToCloseTimeout
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
taskPriority
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf ActivityType
activityType
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Text
activityId
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf TaskList
taskList
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Integer
decisionTaskCompletedEventId