{-# 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.StartChildWorkflowExecutionInitiatedEventAttributes where
import qualified Amazonka.Core as Core
import qualified Amazonka.Lens as Lens
import qualified Amazonka.Prelude as Prelude
import Amazonka.SWF.Types.ChildPolicy
import Amazonka.SWF.Types.TaskList
import Amazonka.SWF.Types.WorkflowType
data StartChildWorkflowExecutionInitiatedEventAttributes = StartChildWorkflowExecutionInitiatedEventAttributes'
{
StartChildWorkflowExecutionInitiatedEventAttributes -> Maybe Text
control :: Prelude.Maybe Prelude.Text,
StartChildWorkflowExecutionInitiatedEventAttributes -> Maybe [Text]
tagList :: Prelude.Maybe [Prelude.Text],
StartChildWorkflowExecutionInitiatedEventAttributes -> Maybe Text
taskStartToCloseTimeout :: Prelude.Maybe Prelude.Text,
StartChildWorkflowExecutionInitiatedEventAttributes -> Maybe Text
lambdaRole :: Prelude.Maybe Prelude.Text,
StartChildWorkflowExecutionInitiatedEventAttributes -> Maybe Text
input :: Prelude.Maybe Prelude.Text,
StartChildWorkflowExecutionInitiatedEventAttributes -> Maybe Text
executionStartToCloseTimeout :: Prelude.Maybe Prelude.Text,
StartChildWorkflowExecutionInitiatedEventAttributes -> Maybe Text
taskPriority :: Prelude.Maybe Prelude.Text,
StartChildWorkflowExecutionInitiatedEventAttributes -> Text
workflowId :: Prelude.Text,
StartChildWorkflowExecutionInitiatedEventAttributes -> WorkflowType
workflowType :: WorkflowType,
StartChildWorkflowExecutionInitiatedEventAttributes -> TaskList
taskList :: TaskList,
StartChildWorkflowExecutionInitiatedEventAttributes -> Integer
decisionTaskCompletedEventId :: Prelude.Integer,
StartChildWorkflowExecutionInitiatedEventAttributes -> ChildPolicy
childPolicy :: ChildPolicy
}
deriving (StartChildWorkflowExecutionInitiatedEventAttributes
-> StartChildWorkflowExecutionInitiatedEventAttributes -> Bool
(StartChildWorkflowExecutionInitiatedEventAttributes
-> StartChildWorkflowExecutionInitiatedEventAttributes -> Bool)
-> (StartChildWorkflowExecutionInitiatedEventAttributes
-> StartChildWorkflowExecutionInitiatedEventAttributes -> Bool)
-> Eq StartChildWorkflowExecutionInitiatedEventAttributes
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: StartChildWorkflowExecutionInitiatedEventAttributes
-> StartChildWorkflowExecutionInitiatedEventAttributes -> Bool
$c/= :: StartChildWorkflowExecutionInitiatedEventAttributes
-> StartChildWorkflowExecutionInitiatedEventAttributes -> Bool
== :: StartChildWorkflowExecutionInitiatedEventAttributes
-> StartChildWorkflowExecutionInitiatedEventAttributes -> Bool
$c== :: StartChildWorkflowExecutionInitiatedEventAttributes
-> StartChildWorkflowExecutionInitiatedEventAttributes -> Bool
Prelude.Eq, ReadPrec [StartChildWorkflowExecutionInitiatedEventAttributes]
ReadPrec StartChildWorkflowExecutionInitiatedEventAttributes
Int -> ReadS StartChildWorkflowExecutionInitiatedEventAttributes
ReadS [StartChildWorkflowExecutionInitiatedEventAttributes]
(Int -> ReadS StartChildWorkflowExecutionInitiatedEventAttributes)
-> ReadS [StartChildWorkflowExecutionInitiatedEventAttributes]
-> ReadPrec StartChildWorkflowExecutionInitiatedEventAttributes
-> ReadPrec [StartChildWorkflowExecutionInitiatedEventAttributes]
-> Read StartChildWorkflowExecutionInitiatedEventAttributes
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [StartChildWorkflowExecutionInitiatedEventAttributes]
$creadListPrec :: ReadPrec [StartChildWorkflowExecutionInitiatedEventAttributes]
readPrec :: ReadPrec StartChildWorkflowExecutionInitiatedEventAttributes
$creadPrec :: ReadPrec StartChildWorkflowExecutionInitiatedEventAttributes
readList :: ReadS [StartChildWorkflowExecutionInitiatedEventAttributes]
$creadList :: ReadS [StartChildWorkflowExecutionInitiatedEventAttributes]
readsPrec :: Int -> ReadS StartChildWorkflowExecutionInitiatedEventAttributes
$creadsPrec :: Int -> ReadS StartChildWorkflowExecutionInitiatedEventAttributes
Prelude.Read, Int -> StartChildWorkflowExecutionInitiatedEventAttributes -> ShowS
[StartChildWorkflowExecutionInitiatedEventAttributes] -> ShowS
StartChildWorkflowExecutionInitiatedEventAttributes -> String
(Int
-> StartChildWorkflowExecutionInitiatedEventAttributes -> ShowS)
-> (StartChildWorkflowExecutionInitiatedEventAttributes -> String)
-> ([StartChildWorkflowExecutionInitiatedEventAttributes] -> ShowS)
-> Show StartChildWorkflowExecutionInitiatedEventAttributes
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [StartChildWorkflowExecutionInitiatedEventAttributes] -> ShowS
$cshowList :: [StartChildWorkflowExecutionInitiatedEventAttributes] -> ShowS
show :: StartChildWorkflowExecutionInitiatedEventAttributes -> String
$cshow :: StartChildWorkflowExecutionInitiatedEventAttributes -> String
showsPrec :: Int -> StartChildWorkflowExecutionInitiatedEventAttributes -> ShowS
$cshowsPrec :: Int -> StartChildWorkflowExecutionInitiatedEventAttributes -> ShowS
Prelude.Show, (forall x.
StartChildWorkflowExecutionInitiatedEventAttributes
-> Rep StartChildWorkflowExecutionInitiatedEventAttributes x)
-> (forall x.
Rep StartChildWorkflowExecutionInitiatedEventAttributes x
-> StartChildWorkflowExecutionInitiatedEventAttributes)
-> Generic StartChildWorkflowExecutionInitiatedEventAttributes
forall x.
Rep StartChildWorkflowExecutionInitiatedEventAttributes x
-> StartChildWorkflowExecutionInitiatedEventAttributes
forall x.
StartChildWorkflowExecutionInitiatedEventAttributes
-> Rep StartChildWorkflowExecutionInitiatedEventAttributes x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep StartChildWorkflowExecutionInitiatedEventAttributes x
-> StartChildWorkflowExecutionInitiatedEventAttributes
$cfrom :: forall x.
StartChildWorkflowExecutionInitiatedEventAttributes
-> Rep StartChildWorkflowExecutionInitiatedEventAttributes x
Prelude.Generic)
newStartChildWorkflowExecutionInitiatedEventAttributes ::
Prelude.Text ->
WorkflowType ->
TaskList ->
Prelude.Integer ->
ChildPolicy ->
StartChildWorkflowExecutionInitiatedEventAttributes
newStartChildWorkflowExecutionInitiatedEventAttributes :: Text
-> WorkflowType
-> TaskList
-> Integer
-> ChildPolicy
-> StartChildWorkflowExecutionInitiatedEventAttributes
newStartChildWorkflowExecutionInitiatedEventAttributes
Text
pWorkflowId_
WorkflowType
pWorkflowType_
TaskList
pTaskList_
Integer
pDecisionTaskCompletedEventId_
ChildPolicy
pChildPolicy_ =
StartChildWorkflowExecutionInitiatedEventAttributes' :: Maybe Text
-> Maybe [Text]
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Text
-> WorkflowType
-> TaskList
-> Integer
-> ChildPolicy
-> StartChildWorkflowExecutionInitiatedEventAttributes
StartChildWorkflowExecutionInitiatedEventAttributes'
{ $sel:control:StartChildWorkflowExecutionInitiatedEventAttributes' :: Maybe Text
control =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:tagList:StartChildWorkflowExecutionInitiatedEventAttributes' :: Maybe [Text]
tagList =
Maybe [Text]
forall a. Maybe a
Prelude.Nothing,
$sel:taskStartToCloseTimeout:StartChildWorkflowExecutionInitiatedEventAttributes' :: Maybe Text
taskStartToCloseTimeout =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:lambdaRole:StartChildWorkflowExecutionInitiatedEventAttributes' :: Maybe Text
lambdaRole =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:input:StartChildWorkflowExecutionInitiatedEventAttributes' :: Maybe Text
input =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:executionStartToCloseTimeout:StartChildWorkflowExecutionInitiatedEventAttributes' :: Maybe Text
executionStartToCloseTimeout =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:taskPriority:StartChildWorkflowExecutionInitiatedEventAttributes' :: Maybe Text
taskPriority =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:workflowId:StartChildWorkflowExecutionInitiatedEventAttributes' :: Text
workflowId =
Text
pWorkflowId_,
$sel:workflowType:StartChildWorkflowExecutionInitiatedEventAttributes' :: WorkflowType
workflowType =
WorkflowType
pWorkflowType_,
$sel:taskList:StartChildWorkflowExecutionInitiatedEventAttributes' :: TaskList
taskList = TaskList
pTaskList_,
$sel:decisionTaskCompletedEventId:StartChildWorkflowExecutionInitiatedEventAttributes' :: Integer
decisionTaskCompletedEventId =
Integer
pDecisionTaskCompletedEventId_,
$sel:childPolicy:StartChildWorkflowExecutionInitiatedEventAttributes' :: ChildPolicy
childPolicy =
ChildPolicy
pChildPolicy_
}
startChildWorkflowExecutionInitiatedEventAttributes_control :: Lens.Lens' StartChildWorkflowExecutionInitiatedEventAttributes (Prelude.Maybe Prelude.Text)
startChildWorkflowExecutionInitiatedEventAttributes_control :: (Maybe Text -> f (Maybe Text))
-> StartChildWorkflowExecutionInitiatedEventAttributes
-> f StartChildWorkflowExecutionInitiatedEventAttributes
startChildWorkflowExecutionInitiatedEventAttributes_control = (StartChildWorkflowExecutionInitiatedEventAttributes -> Maybe Text)
-> (StartChildWorkflowExecutionInitiatedEventAttributes
-> Maybe Text
-> StartChildWorkflowExecutionInitiatedEventAttributes)
-> Lens
StartChildWorkflowExecutionInitiatedEventAttributes
StartChildWorkflowExecutionInitiatedEventAttributes
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\StartChildWorkflowExecutionInitiatedEventAttributes' {Maybe Text
control :: Maybe Text
$sel:control:StartChildWorkflowExecutionInitiatedEventAttributes' :: StartChildWorkflowExecutionInitiatedEventAttributes -> Maybe Text
control} -> Maybe Text
control) (\s :: StartChildWorkflowExecutionInitiatedEventAttributes
s@StartChildWorkflowExecutionInitiatedEventAttributes' {} Maybe Text
a -> StartChildWorkflowExecutionInitiatedEventAttributes
s {$sel:control:StartChildWorkflowExecutionInitiatedEventAttributes' :: Maybe Text
control = Maybe Text
a} :: StartChildWorkflowExecutionInitiatedEventAttributes)
startChildWorkflowExecutionInitiatedEventAttributes_tagList :: Lens.Lens' StartChildWorkflowExecutionInitiatedEventAttributes (Prelude.Maybe [Prelude.Text])
startChildWorkflowExecutionInitiatedEventAttributes_tagList :: (Maybe [Text] -> f (Maybe [Text]))
-> StartChildWorkflowExecutionInitiatedEventAttributes
-> f StartChildWorkflowExecutionInitiatedEventAttributes
startChildWorkflowExecutionInitiatedEventAttributes_tagList = (StartChildWorkflowExecutionInitiatedEventAttributes
-> Maybe [Text])
-> (StartChildWorkflowExecutionInitiatedEventAttributes
-> Maybe [Text]
-> StartChildWorkflowExecutionInitiatedEventAttributes)
-> Lens
StartChildWorkflowExecutionInitiatedEventAttributes
StartChildWorkflowExecutionInitiatedEventAttributes
(Maybe [Text])
(Maybe [Text])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\StartChildWorkflowExecutionInitiatedEventAttributes' {Maybe [Text]
tagList :: Maybe [Text]
$sel:tagList:StartChildWorkflowExecutionInitiatedEventAttributes' :: StartChildWorkflowExecutionInitiatedEventAttributes -> Maybe [Text]
tagList} -> Maybe [Text]
tagList) (\s :: StartChildWorkflowExecutionInitiatedEventAttributes
s@StartChildWorkflowExecutionInitiatedEventAttributes' {} Maybe [Text]
a -> StartChildWorkflowExecutionInitiatedEventAttributes
s {$sel:tagList:StartChildWorkflowExecutionInitiatedEventAttributes' :: Maybe [Text]
tagList = Maybe [Text]
a} :: StartChildWorkflowExecutionInitiatedEventAttributes) ((Maybe [Text] -> f (Maybe [Text]))
-> StartChildWorkflowExecutionInitiatedEventAttributes
-> f StartChildWorkflowExecutionInitiatedEventAttributes)
-> ((Maybe [Text] -> f (Maybe [Text]))
-> Maybe [Text] -> f (Maybe [Text]))
-> (Maybe [Text] -> f (Maybe [Text]))
-> StartChildWorkflowExecutionInitiatedEventAttributes
-> f StartChildWorkflowExecutionInitiatedEventAttributes
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso [Text] [Text] [Text] [Text]
-> Iso (Maybe [Text]) (Maybe [Text]) (Maybe [Text]) (Maybe [Text])
forall (f :: * -> *) (g :: * -> *) s t a b.
(Functor f, Functor g) =>
AnIso s t a b -> Iso (f s) (g t) (f a) (g b)
Lens.mapping AnIso [Text] [Text] [Text] [Text]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
startChildWorkflowExecutionInitiatedEventAttributes_taskStartToCloseTimeout :: Lens.Lens' StartChildWorkflowExecutionInitiatedEventAttributes (Prelude.Maybe Prelude.Text)
startChildWorkflowExecutionInitiatedEventAttributes_taskStartToCloseTimeout :: (Maybe Text -> f (Maybe Text))
-> StartChildWorkflowExecutionInitiatedEventAttributes
-> f StartChildWorkflowExecutionInitiatedEventAttributes
startChildWorkflowExecutionInitiatedEventAttributes_taskStartToCloseTimeout = (StartChildWorkflowExecutionInitiatedEventAttributes -> Maybe Text)
-> (StartChildWorkflowExecutionInitiatedEventAttributes
-> Maybe Text
-> StartChildWorkflowExecutionInitiatedEventAttributes)
-> Lens
StartChildWorkflowExecutionInitiatedEventAttributes
StartChildWorkflowExecutionInitiatedEventAttributes
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\StartChildWorkflowExecutionInitiatedEventAttributes' {Maybe Text
taskStartToCloseTimeout :: Maybe Text
$sel:taskStartToCloseTimeout:StartChildWorkflowExecutionInitiatedEventAttributes' :: StartChildWorkflowExecutionInitiatedEventAttributes -> Maybe Text
taskStartToCloseTimeout} -> Maybe Text
taskStartToCloseTimeout) (\s :: StartChildWorkflowExecutionInitiatedEventAttributes
s@StartChildWorkflowExecutionInitiatedEventAttributes' {} Maybe Text
a -> StartChildWorkflowExecutionInitiatedEventAttributes
s {$sel:taskStartToCloseTimeout:StartChildWorkflowExecutionInitiatedEventAttributes' :: Maybe Text
taskStartToCloseTimeout = Maybe Text
a} :: StartChildWorkflowExecutionInitiatedEventAttributes)
startChildWorkflowExecutionInitiatedEventAttributes_lambdaRole :: Lens.Lens' StartChildWorkflowExecutionInitiatedEventAttributes (Prelude.Maybe Prelude.Text)
startChildWorkflowExecutionInitiatedEventAttributes_lambdaRole :: (Maybe Text -> f (Maybe Text))
-> StartChildWorkflowExecutionInitiatedEventAttributes
-> f StartChildWorkflowExecutionInitiatedEventAttributes
startChildWorkflowExecutionInitiatedEventAttributes_lambdaRole = (StartChildWorkflowExecutionInitiatedEventAttributes -> Maybe Text)
-> (StartChildWorkflowExecutionInitiatedEventAttributes
-> Maybe Text
-> StartChildWorkflowExecutionInitiatedEventAttributes)
-> Lens
StartChildWorkflowExecutionInitiatedEventAttributes
StartChildWorkflowExecutionInitiatedEventAttributes
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\StartChildWorkflowExecutionInitiatedEventAttributes' {Maybe Text
lambdaRole :: Maybe Text
$sel:lambdaRole:StartChildWorkflowExecutionInitiatedEventAttributes' :: StartChildWorkflowExecutionInitiatedEventAttributes -> Maybe Text
lambdaRole} -> Maybe Text
lambdaRole) (\s :: StartChildWorkflowExecutionInitiatedEventAttributes
s@StartChildWorkflowExecutionInitiatedEventAttributes' {} Maybe Text
a -> StartChildWorkflowExecutionInitiatedEventAttributes
s {$sel:lambdaRole:StartChildWorkflowExecutionInitiatedEventAttributes' :: Maybe Text
lambdaRole = Maybe Text
a} :: StartChildWorkflowExecutionInitiatedEventAttributes)
startChildWorkflowExecutionInitiatedEventAttributes_input :: Lens.Lens' StartChildWorkflowExecutionInitiatedEventAttributes (Prelude.Maybe Prelude.Text)
startChildWorkflowExecutionInitiatedEventAttributes_input :: (Maybe Text -> f (Maybe Text))
-> StartChildWorkflowExecutionInitiatedEventAttributes
-> f StartChildWorkflowExecutionInitiatedEventAttributes
startChildWorkflowExecutionInitiatedEventAttributes_input = (StartChildWorkflowExecutionInitiatedEventAttributes -> Maybe Text)
-> (StartChildWorkflowExecutionInitiatedEventAttributes
-> Maybe Text
-> StartChildWorkflowExecutionInitiatedEventAttributes)
-> Lens
StartChildWorkflowExecutionInitiatedEventAttributes
StartChildWorkflowExecutionInitiatedEventAttributes
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\StartChildWorkflowExecutionInitiatedEventAttributes' {Maybe Text
input :: Maybe Text
$sel:input:StartChildWorkflowExecutionInitiatedEventAttributes' :: StartChildWorkflowExecutionInitiatedEventAttributes -> Maybe Text
input} -> Maybe Text
input) (\s :: StartChildWorkflowExecutionInitiatedEventAttributes
s@StartChildWorkflowExecutionInitiatedEventAttributes' {} Maybe Text
a -> StartChildWorkflowExecutionInitiatedEventAttributes
s {$sel:input:StartChildWorkflowExecutionInitiatedEventAttributes' :: Maybe Text
input = Maybe Text
a} :: StartChildWorkflowExecutionInitiatedEventAttributes)
startChildWorkflowExecutionInitiatedEventAttributes_executionStartToCloseTimeout :: Lens.Lens' StartChildWorkflowExecutionInitiatedEventAttributes (Prelude.Maybe Prelude.Text)
startChildWorkflowExecutionInitiatedEventAttributes_executionStartToCloseTimeout :: (Maybe Text -> f (Maybe Text))
-> StartChildWorkflowExecutionInitiatedEventAttributes
-> f StartChildWorkflowExecutionInitiatedEventAttributes
startChildWorkflowExecutionInitiatedEventAttributes_executionStartToCloseTimeout = (StartChildWorkflowExecutionInitiatedEventAttributes -> Maybe Text)
-> (StartChildWorkflowExecutionInitiatedEventAttributes
-> Maybe Text
-> StartChildWorkflowExecutionInitiatedEventAttributes)
-> Lens
StartChildWorkflowExecutionInitiatedEventAttributes
StartChildWorkflowExecutionInitiatedEventAttributes
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\StartChildWorkflowExecutionInitiatedEventAttributes' {Maybe Text
executionStartToCloseTimeout :: Maybe Text
$sel:executionStartToCloseTimeout:StartChildWorkflowExecutionInitiatedEventAttributes' :: StartChildWorkflowExecutionInitiatedEventAttributes -> Maybe Text
executionStartToCloseTimeout} -> Maybe Text
executionStartToCloseTimeout) (\s :: StartChildWorkflowExecutionInitiatedEventAttributes
s@StartChildWorkflowExecutionInitiatedEventAttributes' {} Maybe Text
a -> StartChildWorkflowExecutionInitiatedEventAttributes
s {$sel:executionStartToCloseTimeout:StartChildWorkflowExecutionInitiatedEventAttributes' :: Maybe Text
executionStartToCloseTimeout = Maybe Text
a} :: StartChildWorkflowExecutionInitiatedEventAttributes)
startChildWorkflowExecutionInitiatedEventAttributes_taskPriority :: Lens.Lens' StartChildWorkflowExecutionInitiatedEventAttributes (Prelude.Maybe Prelude.Text)
startChildWorkflowExecutionInitiatedEventAttributes_taskPriority :: (Maybe Text -> f (Maybe Text))
-> StartChildWorkflowExecutionInitiatedEventAttributes
-> f StartChildWorkflowExecutionInitiatedEventAttributes
startChildWorkflowExecutionInitiatedEventAttributes_taskPriority = (StartChildWorkflowExecutionInitiatedEventAttributes -> Maybe Text)
-> (StartChildWorkflowExecutionInitiatedEventAttributes
-> Maybe Text
-> StartChildWorkflowExecutionInitiatedEventAttributes)
-> Lens
StartChildWorkflowExecutionInitiatedEventAttributes
StartChildWorkflowExecutionInitiatedEventAttributes
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\StartChildWorkflowExecutionInitiatedEventAttributes' {Maybe Text
taskPriority :: Maybe Text
$sel:taskPriority:StartChildWorkflowExecutionInitiatedEventAttributes' :: StartChildWorkflowExecutionInitiatedEventAttributes -> Maybe Text
taskPriority} -> Maybe Text
taskPriority) (\s :: StartChildWorkflowExecutionInitiatedEventAttributes
s@StartChildWorkflowExecutionInitiatedEventAttributes' {} Maybe Text
a -> StartChildWorkflowExecutionInitiatedEventAttributes
s {$sel:taskPriority:StartChildWorkflowExecutionInitiatedEventAttributes' :: Maybe Text
taskPriority = Maybe Text
a} :: StartChildWorkflowExecutionInitiatedEventAttributes)
startChildWorkflowExecutionInitiatedEventAttributes_workflowId :: Lens.Lens' StartChildWorkflowExecutionInitiatedEventAttributes Prelude.Text
startChildWorkflowExecutionInitiatedEventAttributes_workflowId :: (Text -> f Text)
-> StartChildWorkflowExecutionInitiatedEventAttributes
-> f StartChildWorkflowExecutionInitiatedEventAttributes
startChildWorkflowExecutionInitiatedEventAttributes_workflowId = (StartChildWorkflowExecutionInitiatedEventAttributes -> Text)
-> (StartChildWorkflowExecutionInitiatedEventAttributes
-> Text -> StartChildWorkflowExecutionInitiatedEventAttributes)
-> Lens
StartChildWorkflowExecutionInitiatedEventAttributes
StartChildWorkflowExecutionInitiatedEventAttributes
Text
Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\StartChildWorkflowExecutionInitiatedEventAttributes' {Text
workflowId :: Text
$sel:workflowId:StartChildWorkflowExecutionInitiatedEventAttributes' :: StartChildWorkflowExecutionInitiatedEventAttributes -> Text
workflowId} -> Text
workflowId) (\s :: StartChildWorkflowExecutionInitiatedEventAttributes
s@StartChildWorkflowExecutionInitiatedEventAttributes' {} Text
a -> StartChildWorkflowExecutionInitiatedEventAttributes
s {$sel:workflowId:StartChildWorkflowExecutionInitiatedEventAttributes' :: Text
workflowId = Text
a} :: StartChildWorkflowExecutionInitiatedEventAttributes)
startChildWorkflowExecutionInitiatedEventAttributes_workflowType :: Lens.Lens' StartChildWorkflowExecutionInitiatedEventAttributes WorkflowType
startChildWorkflowExecutionInitiatedEventAttributes_workflowType :: (WorkflowType -> f WorkflowType)
-> StartChildWorkflowExecutionInitiatedEventAttributes
-> f StartChildWorkflowExecutionInitiatedEventAttributes
startChildWorkflowExecutionInitiatedEventAttributes_workflowType = (StartChildWorkflowExecutionInitiatedEventAttributes
-> WorkflowType)
-> (StartChildWorkflowExecutionInitiatedEventAttributes
-> WorkflowType
-> StartChildWorkflowExecutionInitiatedEventAttributes)
-> Lens
StartChildWorkflowExecutionInitiatedEventAttributes
StartChildWorkflowExecutionInitiatedEventAttributes
WorkflowType
WorkflowType
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\StartChildWorkflowExecutionInitiatedEventAttributes' {WorkflowType
workflowType :: WorkflowType
$sel:workflowType:StartChildWorkflowExecutionInitiatedEventAttributes' :: StartChildWorkflowExecutionInitiatedEventAttributes -> WorkflowType
workflowType} -> WorkflowType
workflowType) (\s :: StartChildWorkflowExecutionInitiatedEventAttributes
s@StartChildWorkflowExecutionInitiatedEventAttributes' {} WorkflowType
a -> StartChildWorkflowExecutionInitiatedEventAttributes
s {$sel:workflowType:StartChildWorkflowExecutionInitiatedEventAttributes' :: WorkflowType
workflowType = WorkflowType
a} :: StartChildWorkflowExecutionInitiatedEventAttributes)
startChildWorkflowExecutionInitiatedEventAttributes_taskList :: Lens.Lens' StartChildWorkflowExecutionInitiatedEventAttributes TaskList
startChildWorkflowExecutionInitiatedEventAttributes_taskList :: (TaskList -> f TaskList)
-> StartChildWorkflowExecutionInitiatedEventAttributes
-> f StartChildWorkflowExecutionInitiatedEventAttributes
startChildWorkflowExecutionInitiatedEventAttributes_taskList = (StartChildWorkflowExecutionInitiatedEventAttributes -> TaskList)
-> (StartChildWorkflowExecutionInitiatedEventAttributes
-> TaskList -> StartChildWorkflowExecutionInitiatedEventAttributes)
-> Lens
StartChildWorkflowExecutionInitiatedEventAttributes
StartChildWorkflowExecutionInitiatedEventAttributes
TaskList
TaskList
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\StartChildWorkflowExecutionInitiatedEventAttributes' {TaskList
taskList :: TaskList
$sel:taskList:StartChildWorkflowExecutionInitiatedEventAttributes' :: StartChildWorkflowExecutionInitiatedEventAttributes -> TaskList
taskList} -> TaskList
taskList) (\s :: StartChildWorkflowExecutionInitiatedEventAttributes
s@StartChildWorkflowExecutionInitiatedEventAttributes' {} TaskList
a -> StartChildWorkflowExecutionInitiatedEventAttributes
s {$sel:taskList:StartChildWorkflowExecutionInitiatedEventAttributes' :: TaskList
taskList = TaskList
a} :: StartChildWorkflowExecutionInitiatedEventAttributes)
startChildWorkflowExecutionInitiatedEventAttributes_decisionTaskCompletedEventId :: Lens.Lens' StartChildWorkflowExecutionInitiatedEventAttributes Prelude.Integer
startChildWorkflowExecutionInitiatedEventAttributes_decisionTaskCompletedEventId :: (Integer -> f Integer)
-> StartChildWorkflowExecutionInitiatedEventAttributes
-> f StartChildWorkflowExecutionInitiatedEventAttributes
startChildWorkflowExecutionInitiatedEventAttributes_decisionTaskCompletedEventId = (StartChildWorkflowExecutionInitiatedEventAttributes -> Integer)
-> (StartChildWorkflowExecutionInitiatedEventAttributes
-> Integer -> StartChildWorkflowExecutionInitiatedEventAttributes)
-> Lens
StartChildWorkflowExecutionInitiatedEventAttributes
StartChildWorkflowExecutionInitiatedEventAttributes
Integer
Integer
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\StartChildWorkflowExecutionInitiatedEventAttributes' {Integer
decisionTaskCompletedEventId :: Integer
$sel:decisionTaskCompletedEventId:StartChildWorkflowExecutionInitiatedEventAttributes' :: StartChildWorkflowExecutionInitiatedEventAttributes -> Integer
decisionTaskCompletedEventId} -> Integer
decisionTaskCompletedEventId) (\s :: StartChildWorkflowExecutionInitiatedEventAttributes
s@StartChildWorkflowExecutionInitiatedEventAttributes' {} Integer
a -> StartChildWorkflowExecutionInitiatedEventAttributes
s {$sel:decisionTaskCompletedEventId:StartChildWorkflowExecutionInitiatedEventAttributes' :: Integer
decisionTaskCompletedEventId = Integer
a} :: StartChildWorkflowExecutionInitiatedEventAttributes)
startChildWorkflowExecutionInitiatedEventAttributes_childPolicy :: Lens.Lens' StartChildWorkflowExecutionInitiatedEventAttributes ChildPolicy
startChildWorkflowExecutionInitiatedEventAttributes_childPolicy :: (ChildPolicy -> f ChildPolicy)
-> StartChildWorkflowExecutionInitiatedEventAttributes
-> f StartChildWorkflowExecutionInitiatedEventAttributes
startChildWorkflowExecutionInitiatedEventAttributes_childPolicy = (StartChildWorkflowExecutionInitiatedEventAttributes
-> ChildPolicy)
-> (StartChildWorkflowExecutionInitiatedEventAttributes
-> ChildPolicy
-> StartChildWorkflowExecutionInitiatedEventAttributes)
-> Lens
StartChildWorkflowExecutionInitiatedEventAttributes
StartChildWorkflowExecutionInitiatedEventAttributes
ChildPolicy
ChildPolicy
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\StartChildWorkflowExecutionInitiatedEventAttributes' {ChildPolicy
childPolicy :: ChildPolicy
$sel:childPolicy:StartChildWorkflowExecutionInitiatedEventAttributes' :: StartChildWorkflowExecutionInitiatedEventAttributes -> ChildPolicy
childPolicy} -> ChildPolicy
childPolicy) (\s :: StartChildWorkflowExecutionInitiatedEventAttributes
s@StartChildWorkflowExecutionInitiatedEventAttributes' {} ChildPolicy
a -> StartChildWorkflowExecutionInitiatedEventAttributes
s {$sel:childPolicy:StartChildWorkflowExecutionInitiatedEventAttributes' :: ChildPolicy
childPolicy = ChildPolicy
a} :: StartChildWorkflowExecutionInitiatedEventAttributes)
instance
Core.FromJSON
StartChildWorkflowExecutionInitiatedEventAttributes
where
parseJSON :: Value -> Parser StartChildWorkflowExecutionInitiatedEventAttributes
parseJSON =
String
-> (Object
-> Parser StartChildWorkflowExecutionInitiatedEventAttributes)
-> Value
-> Parser StartChildWorkflowExecutionInitiatedEventAttributes
forall a. String -> (Object -> Parser a) -> Value -> Parser a
Core.withObject
String
"StartChildWorkflowExecutionInitiatedEventAttributes"
( \Object
x ->
Maybe Text
-> Maybe [Text]
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Text
-> WorkflowType
-> TaskList
-> Integer
-> ChildPolicy
-> StartChildWorkflowExecutionInitiatedEventAttributes
StartChildWorkflowExecutionInitiatedEventAttributes'
(Maybe Text
-> Maybe [Text]
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Text
-> WorkflowType
-> TaskList
-> Integer
-> ChildPolicy
-> StartChildWorkflowExecutionInitiatedEventAttributes)
-> Parser (Maybe Text)
-> Parser
(Maybe [Text]
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Text
-> WorkflowType
-> TaskList
-> Integer
-> ChildPolicy
-> StartChildWorkflowExecutionInitiatedEventAttributes)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"control")
Parser
(Maybe [Text]
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Text
-> WorkflowType
-> TaskList
-> Integer
-> ChildPolicy
-> StartChildWorkflowExecutionInitiatedEventAttributes)
-> Parser (Maybe [Text])
-> Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Text
-> WorkflowType
-> TaskList
-> Integer
-> ChildPolicy
-> StartChildWorkflowExecutionInitiatedEventAttributes)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe (Maybe [Text]))
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"tagList" Parser (Maybe (Maybe [Text]))
-> Maybe [Text] -> Parser (Maybe [Text])
forall a. Parser (Maybe a) -> a -> Parser a
Core..!= Maybe [Text]
forall a. Monoid a => a
Prelude.mempty)
Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Text
-> WorkflowType
-> TaskList
-> Integer
-> ChildPolicy
-> StartChildWorkflowExecutionInitiatedEventAttributes)
-> Parser (Maybe Text)
-> Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Text
-> WorkflowType
-> TaskList
-> Integer
-> ChildPolicy
-> StartChildWorkflowExecutionInitiatedEventAttributes)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"taskStartToCloseTimeout")
Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Text
-> WorkflowType
-> TaskList
-> Integer
-> ChildPolicy
-> StartChildWorkflowExecutionInitiatedEventAttributes)
-> Parser (Maybe Text)
-> Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Text
-> WorkflowType
-> TaskList
-> Integer
-> ChildPolicy
-> StartChildWorkflowExecutionInitiatedEventAttributes)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"lambdaRole")
Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Text
-> WorkflowType
-> TaskList
-> Integer
-> ChildPolicy
-> StartChildWorkflowExecutionInitiatedEventAttributes)
-> Parser (Maybe Text)
-> Parser
(Maybe Text
-> Maybe Text
-> Text
-> WorkflowType
-> TaskList
-> Integer
-> ChildPolicy
-> StartChildWorkflowExecutionInitiatedEventAttributes)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"input")
Parser
(Maybe Text
-> Maybe Text
-> Text
-> WorkflowType
-> TaskList
-> Integer
-> ChildPolicy
-> StartChildWorkflowExecutionInitiatedEventAttributes)
-> Parser (Maybe Text)
-> Parser
(Maybe Text
-> Text
-> WorkflowType
-> TaskList
-> Integer
-> ChildPolicy
-> StartChildWorkflowExecutionInitiatedEventAttributes)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"executionStartToCloseTimeout")
Parser
(Maybe Text
-> Text
-> WorkflowType
-> TaskList
-> Integer
-> ChildPolicy
-> StartChildWorkflowExecutionInitiatedEventAttributes)
-> Parser (Maybe Text)
-> Parser
(Text
-> WorkflowType
-> TaskList
-> Integer
-> ChildPolicy
-> StartChildWorkflowExecutionInitiatedEventAttributes)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"taskPriority")
Parser
(Text
-> WorkflowType
-> TaskList
-> Integer
-> ChildPolicy
-> StartChildWorkflowExecutionInitiatedEventAttributes)
-> Parser Text
-> Parser
(WorkflowType
-> TaskList
-> Integer
-> ChildPolicy
-> StartChildWorkflowExecutionInitiatedEventAttributes)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser Text
forall a. FromJSON a => Object -> Text -> Parser a
Core..: Text
"workflowId")
Parser
(WorkflowType
-> TaskList
-> Integer
-> ChildPolicy
-> StartChildWorkflowExecutionInitiatedEventAttributes)
-> Parser WorkflowType
-> Parser
(TaskList
-> Integer
-> ChildPolicy
-> StartChildWorkflowExecutionInitiatedEventAttributes)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser WorkflowType
forall a. FromJSON a => Object -> Text -> Parser a
Core..: Text
"workflowType")
Parser
(TaskList
-> Integer
-> ChildPolicy
-> StartChildWorkflowExecutionInitiatedEventAttributes)
-> Parser TaskList
-> Parser
(Integer
-> ChildPolicy
-> StartChildWorkflowExecutionInitiatedEventAttributes)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser TaskList
forall a. FromJSON a => Object -> Text -> Parser a
Core..: Text
"taskList")
Parser
(Integer
-> ChildPolicy
-> StartChildWorkflowExecutionInitiatedEventAttributes)
-> Parser Integer
-> Parser
(ChildPolicy
-> StartChildWorkflowExecutionInitiatedEventAttributes)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser Integer
forall a. FromJSON a => Object -> Text -> Parser a
Core..: Text
"decisionTaskCompletedEventId")
Parser
(ChildPolicy
-> StartChildWorkflowExecutionInitiatedEventAttributes)
-> Parser ChildPolicy
-> Parser StartChildWorkflowExecutionInitiatedEventAttributes
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser ChildPolicy
forall a. FromJSON a => Object -> Text -> Parser a
Core..: Text
"childPolicy")
)
instance
Prelude.Hashable
StartChildWorkflowExecutionInitiatedEventAttributes
instance
Prelude.NFData
StartChildWorkflowExecutionInitiatedEventAttributes