{-# 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.ContinueAsNewWorkflowExecutionDecisionAttributes 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
data ContinueAsNewWorkflowExecutionDecisionAttributes = ContinueAsNewWorkflowExecutionDecisionAttributes'
{
ContinueAsNewWorkflowExecutionDecisionAttributes -> Maybe [Text]
tagList :: Prelude.Maybe [Prelude.Text],
ContinueAsNewWorkflowExecutionDecisionAttributes -> Maybe Text
taskStartToCloseTimeout :: Prelude.Maybe Prelude.Text,
ContinueAsNewWorkflowExecutionDecisionAttributes -> Maybe Text
lambdaRole :: Prelude.Maybe Prelude.Text,
ContinueAsNewWorkflowExecutionDecisionAttributes -> Maybe Text
input :: Prelude.Maybe Prelude.Text,
ContinueAsNewWorkflowExecutionDecisionAttributes -> Maybe Text
workflowTypeVersion :: Prelude.Maybe Prelude.Text,
ContinueAsNewWorkflowExecutionDecisionAttributes -> Maybe Text
executionStartToCloseTimeout :: Prelude.Maybe Prelude.Text,
ContinueAsNewWorkflowExecutionDecisionAttributes -> Maybe TaskList
taskList :: Prelude.Maybe TaskList,
ContinueAsNewWorkflowExecutionDecisionAttributes -> Maybe Text
taskPriority :: Prelude.Maybe Prelude.Text,
ContinueAsNewWorkflowExecutionDecisionAttributes
-> Maybe ChildPolicy
childPolicy :: Prelude.Maybe ChildPolicy
}
deriving (ContinueAsNewWorkflowExecutionDecisionAttributes
-> ContinueAsNewWorkflowExecutionDecisionAttributes -> Bool
(ContinueAsNewWorkflowExecutionDecisionAttributes
-> ContinueAsNewWorkflowExecutionDecisionAttributes -> Bool)
-> (ContinueAsNewWorkflowExecutionDecisionAttributes
-> ContinueAsNewWorkflowExecutionDecisionAttributes -> Bool)
-> Eq ContinueAsNewWorkflowExecutionDecisionAttributes
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ContinueAsNewWorkflowExecutionDecisionAttributes
-> ContinueAsNewWorkflowExecutionDecisionAttributes -> Bool
$c/= :: ContinueAsNewWorkflowExecutionDecisionAttributes
-> ContinueAsNewWorkflowExecutionDecisionAttributes -> Bool
== :: ContinueAsNewWorkflowExecutionDecisionAttributes
-> ContinueAsNewWorkflowExecutionDecisionAttributes -> Bool
$c== :: ContinueAsNewWorkflowExecutionDecisionAttributes
-> ContinueAsNewWorkflowExecutionDecisionAttributes -> Bool
Prelude.Eq, ReadPrec [ContinueAsNewWorkflowExecutionDecisionAttributes]
ReadPrec ContinueAsNewWorkflowExecutionDecisionAttributes
Int -> ReadS ContinueAsNewWorkflowExecutionDecisionAttributes
ReadS [ContinueAsNewWorkflowExecutionDecisionAttributes]
(Int -> ReadS ContinueAsNewWorkflowExecutionDecisionAttributes)
-> ReadS [ContinueAsNewWorkflowExecutionDecisionAttributes]
-> ReadPrec ContinueAsNewWorkflowExecutionDecisionAttributes
-> ReadPrec [ContinueAsNewWorkflowExecutionDecisionAttributes]
-> Read ContinueAsNewWorkflowExecutionDecisionAttributes
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ContinueAsNewWorkflowExecutionDecisionAttributes]
$creadListPrec :: ReadPrec [ContinueAsNewWorkflowExecutionDecisionAttributes]
readPrec :: ReadPrec ContinueAsNewWorkflowExecutionDecisionAttributes
$creadPrec :: ReadPrec ContinueAsNewWorkflowExecutionDecisionAttributes
readList :: ReadS [ContinueAsNewWorkflowExecutionDecisionAttributes]
$creadList :: ReadS [ContinueAsNewWorkflowExecutionDecisionAttributes]
readsPrec :: Int -> ReadS ContinueAsNewWorkflowExecutionDecisionAttributes
$creadsPrec :: Int -> ReadS ContinueAsNewWorkflowExecutionDecisionAttributes
Prelude.Read, Int -> ContinueAsNewWorkflowExecutionDecisionAttributes -> ShowS
[ContinueAsNewWorkflowExecutionDecisionAttributes] -> ShowS
ContinueAsNewWorkflowExecutionDecisionAttributes -> String
(Int -> ContinueAsNewWorkflowExecutionDecisionAttributes -> ShowS)
-> (ContinueAsNewWorkflowExecutionDecisionAttributes -> String)
-> ([ContinueAsNewWorkflowExecutionDecisionAttributes] -> ShowS)
-> Show ContinueAsNewWorkflowExecutionDecisionAttributes
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ContinueAsNewWorkflowExecutionDecisionAttributes] -> ShowS
$cshowList :: [ContinueAsNewWorkflowExecutionDecisionAttributes] -> ShowS
show :: ContinueAsNewWorkflowExecutionDecisionAttributes -> String
$cshow :: ContinueAsNewWorkflowExecutionDecisionAttributes -> String
showsPrec :: Int -> ContinueAsNewWorkflowExecutionDecisionAttributes -> ShowS
$cshowsPrec :: Int -> ContinueAsNewWorkflowExecutionDecisionAttributes -> ShowS
Prelude.Show, (forall x.
ContinueAsNewWorkflowExecutionDecisionAttributes
-> Rep ContinueAsNewWorkflowExecutionDecisionAttributes x)
-> (forall x.
Rep ContinueAsNewWorkflowExecutionDecisionAttributes x
-> ContinueAsNewWorkflowExecutionDecisionAttributes)
-> Generic ContinueAsNewWorkflowExecutionDecisionAttributes
forall x.
Rep ContinueAsNewWorkflowExecutionDecisionAttributes x
-> ContinueAsNewWorkflowExecutionDecisionAttributes
forall x.
ContinueAsNewWorkflowExecutionDecisionAttributes
-> Rep ContinueAsNewWorkflowExecutionDecisionAttributes x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep ContinueAsNewWorkflowExecutionDecisionAttributes x
-> ContinueAsNewWorkflowExecutionDecisionAttributes
$cfrom :: forall x.
ContinueAsNewWorkflowExecutionDecisionAttributes
-> Rep ContinueAsNewWorkflowExecutionDecisionAttributes x
Prelude.Generic)
newContinueAsNewWorkflowExecutionDecisionAttributes ::
ContinueAsNewWorkflowExecutionDecisionAttributes
newContinueAsNewWorkflowExecutionDecisionAttributes :: ContinueAsNewWorkflowExecutionDecisionAttributes
newContinueAsNewWorkflowExecutionDecisionAttributes =
ContinueAsNewWorkflowExecutionDecisionAttributes' :: Maybe [Text]
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe TaskList
-> Maybe Text
-> Maybe ChildPolicy
-> ContinueAsNewWorkflowExecutionDecisionAttributes
ContinueAsNewWorkflowExecutionDecisionAttributes'
{ $sel:tagList:ContinueAsNewWorkflowExecutionDecisionAttributes' :: Maybe [Text]
tagList =
Maybe [Text]
forall a. Maybe a
Prelude.Nothing,
$sel:taskStartToCloseTimeout:ContinueAsNewWorkflowExecutionDecisionAttributes' :: Maybe Text
taskStartToCloseTimeout =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:lambdaRole:ContinueAsNewWorkflowExecutionDecisionAttributes' :: Maybe Text
lambdaRole =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:input:ContinueAsNewWorkflowExecutionDecisionAttributes' :: Maybe Text
input = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:workflowTypeVersion:ContinueAsNewWorkflowExecutionDecisionAttributes' :: Maybe Text
workflowTypeVersion =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:executionStartToCloseTimeout:ContinueAsNewWorkflowExecutionDecisionAttributes' :: Maybe Text
executionStartToCloseTimeout =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:taskList:ContinueAsNewWorkflowExecutionDecisionAttributes' :: Maybe TaskList
taskList =
Maybe TaskList
forall a. Maybe a
Prelude.Nothing,
$sel:taskPriority:ContinueAsNewWorkflowExecutionDecisionAttributes' :: Maybe Text
taskPriority =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:childPolicy:ContinueAsNewWorkflowExecutionDecisionAttributes' :: Maybe ChildPolicy
childPolicy =
Maybe ChildPolicy
forall a. Maybe a
Prelude.Nothing
}
continueAsNewWorkflowExecutionDecisionAttributes_tagList :: Lens.Lens' ContinueAsNewWorkflowExecutionDecisionAttributes (Prelude.Maybe [Prelude.Text])
continueAsNewWorkflowExecutionDecisionAttributes_tagList :: (Maybe [Text] -> f (Maybe [Text]))
-> ContinueAsNewWorkflowExecutionDecisionAttributes
-> f ContinueAsNewWorkflowExecutionDecisionAttributes
continueAsNewWorkflowExecutionDecisionAttributes_tagList = (ContinueAsNewWorkflowExecutionDecisionAttributes -> Maybe [Text])
-> (ContinueAsNewWorkflowExecutionDecisionAttributes
-> Maybe [Text]
-> ContinueAsNewWorkflowExecutionDecisionAttributes)
-> Lens
ContinueAsNewWorkflowExecutionDecisionAttributes
ContinueAsNewWorkflowExecutionDecisionAttributes
(Maybe [Text])
(Maybe [Text])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ContinueAsNewWorkflowExecutionDecisionAttributes' {Maybe [Text]
tagList :: Maybe [Text]
$sel:tagList:ContinueAsNewWorkflowExecutionDecisionAttributes' :: ContinueAsNewWorkflowExecutionDecisionAttributes -> Maybe [Text]
tagList} -> Maybe [Text]
tagList) (\s :: ContinueAsNewWorkflowExecutionDecisionAttributes
s@ContinueAsNewWorkflowExecutionDecisionAttributes' {} Maybe [Text]
a -> ContinueAsNewWorkflowExecutionDecisionAttributes
s {$sel:tagList:ContinueAsNewWorkflowExecutionDecisionAttributes' :: Maybe [Text]
tagList = Maybe [Text]
a} :: ContinueAsNewWorkflowExecutionDecisionAttributes) ((Maybe [Text] -> f (Maybe [Text]))
-> ContinueAsNewWorkflowExecutionDecisionAttributes
-> f ContinueAsNewWorkflowExecutionDecisionAttributes)
-> ((Maybe [Text] -> f (Maybe [Text]))
-> Maybe [Text] -> f (Maybe [Text]))
-> (Maybe [Text] -> f (Maybe [Text]))
-> ContinueAsNewWorkflowExecutionDecisionAttributes
-> f ContinueAsNewWorkflowExecutionDecisionAttributes
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
continueAsNewWorkflowExecutionDecisionAttributes_taskStartToCloseTimeout :: Lens.Lens' ContinueAsNewWorkflowExecutionDecisionAttributes (Prelude.Maybe Prelude.Text)
continueAsNewWorkflowExecutionDecisionAttributes_taskStartToCloseTimeout :: (Maybe Text -> f (Maybe Text))
-> ContinueAsNewWorkflowExecutionDecisionAttributes
-> f ContinueAsNewWorkflowExecutionDecisionAttributes
continueAsNewWorkflowExecutionDecisionAttributes_taskStartToCloseTimeout = (ContinueAsNewWorkflowExecutionDecisionAttributes -> Maybe Text)
-> (ContinueAsNewWorkflowExecutionDecisionAttributes
-> Maybe Text -> ContinueAsNewWorkflowExecutionDecisionAttributes)
-> Lens
ContinueAsNewWorkflowExecutionDecisionAttributes
ContinueAsNewWorkflowExecutionDecisionAttributes
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ContinueAsNewWorkflowExecutionDecisionAttributes' {Maybe Text
taskStartToCloseTimeout :: Maybe Text
$sel:taskStartToCloseTimeout:ContinueAsNewWorkflowExecutionDecisionAttributes' :: ContinueAsNewWorkflowExecutionDecisionAttributes -> Maybe Text
taskStartToCloseTimeout} -> Maybe Text
taskStartToCloseTimeout) (\s :: ContinueAsNewWorkflowExecutionDecisionAttributes
s@ContinueAsNewWorkflowExecutionDecisionAttributes' {} Maybe Text
a -> ContinueAsNewWorkflowExecutionDecisionAttributes
s {$sel:taskStartToCloseTimeout:ContinueAsNewWorkflowExecutionDecisionAttributes' :: Maybe Text
taskStartToCloseTimeout = Maybe Text
a} :: ContinueAsNewWorkflowExecutionDecisionAttributes)
continueAsNewWorkflowExecutionDecisionAttributes_lambdaRole :: Lens.Lens' ContinueAsNewWorkflowExecutionDecisionAttributes (Prelude.Maybe Prelude.Text)
continueAsNewWorkflowExecutionDecisionAttributes_lambdaRole :: (Maybe Text -> f (Maybe Text))
-> ContinueAsNewWorkflowExecutionDecisionAttributes
-> f ContinueAsNewWorkflowExecutionDecisionAttributes
continueAsNewWorkflowExecutionDecisionAttributes_lambdaRole = (ContinueAsNewWorkflowExecutionDecisionAttributes -> Maybe Text)
-> (ContinueAsNewWorkflowExecutionDecisionAttributes
-> Maybe Text -> ContinueAsNewWorkflowExecutionDecisionAttributes)
-> Lens
ContinueAsNewWorkflowExecutionDecisionAttributes
ContinueAsNewWorkflowExecutionDecisionAttributes
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ContinueAsNewWorkflowExecutionDecisionAttributes' {Maybe Text
lambdaRole :: Maybe Text
$sel:lambdaRole:ContinueAsNewWorkflowExecutionDecisionAttributes' :: ContinueAsNewWorkflowExecutionDecisionAttributes -> Maybe Text
lambdaRole} -> Maybe Text
lambdaRole) (\s :: ContinueAsNewWorkflowExecutionDecisionAttributes
s@ContinueAsNewWorkflowExecutionDecisionAttributes' {} Maybe Text
a -> ContinueAsNewWorkflowExecutionDecisionAttributes
s {$sel:lambdaRole:ContinueAsNewWorkflowExecutionDecisionAttributes' :: Maybe Text
lambdaRole = Maybe Text
a} :: ContinueAsNewWorkflowExecutionDecisionAttributes)
continueAsNewWorkflowExecutionDecisionAttributes_input :: Lens.Lens' ContinueAsNewWorkflowExecutionDecisionAttributes (Prelude.Maybe Prelude.Text)
continueAsNewWorkflowExecutionDecisionAttributes_input :: (Maybe Text -> f (Maybe Text))
-> ContinueAsNewWorkflowExecutionDecisionAttributes
-> f ContinueAsNewWorkflowExecutionDecisionAttributes
continueAsNewWorkflowExecutionDecisionAttributes_input = (ContinueAsNewWorkflowExecutionDecisionAttributes -> Maybe Text)
-> (ContinueAsNewWorkflowExecutionDecisionAttributes
-> Maybe Text -> ContinueAsNewWorkflowExecutionDecisionAttributes)
-> Lens
ContinueAsNewWorkflowExecutionDecisionAttributes
ContinueAsNewWorkflowExecutionDecisionAttributes
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ContinueAsNewWorkflowExecutionDecisionAttributes' {Maybe Text
input :: Maybe Text
$sel:input:ContinueAsNewWorkflowExecutionDecisionAttributes' :: ContinueAsNewWorkflowExecutionDecisionAttributes -> Maybe Text
input} -> Maybe Text
input) (\s :: ContinueAsNewWorkflowExecutionDecisionAttributes
s@ContinueAsNewWorkflowExecutionDecisionAttributes' {} Maybe Text
a -> ContinueAsNewWorkflowExecutionDecisionAttributes
s {$sel:input:ContinueAsNewWorkflowExecutionDecisionAttributes' :: Maybe Text
input = Maybe Text
a} :: ContinueAsNewWorkflowExecutionDecisionAttributes)
continueAsNewWorkflowExecutionDecisionAttributes_workflowTypeVersion :: Lens.Lens' ContinueAsNewWorkflowExecutionDecisionAttributes (Prelude.Maybe Prelude.Text)
continueAsNewWorkflowExecutionDecisionAttributes_workflowTypeVersion :: (Maybe Text -> f (Maybe Text))
-> ContinueAsNewWorkflowExecutionDecisionAttributes
-> f ContinueAsNewWorkflowExecutionDecisionAttributes
continueAsNewWorkflowExecutionDecisionAttributes_workflowTypeVersion = (ContinueAsNewWorkflowExecutionDecisionAttributes -> Maybe Text)
-> (ContinueAsNewWorkflowExecutionDecisionAttributes
-> Maybe Text -> ContinueAsNewWorkflowExecutionDecisionAttributes)
-> Lens
ContinueAsNewWorkflowExecutionDecisionAttributes
ContinueAsNewWorkflowExecutionDecisionAttributes
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ContinueAsNewWorkflowExecutionDecisionAttributes' {Maybe Text
workflowTypeVersion :: Maybe Text
$sel:workflowTypeVersion:ContinueAsNewWorkflowExecutionDecisionAttributes' :: ContinueAsNewWorkflowExecutionDecisionAttributes -> Maybe Text
workflowTypeVersion} -> Maybe Text
workflowTypeVersion) (\s :: ContinueAsNewWorkflowExecutionDecisionAttributes
s@ContinueAsNewWorkflowExecutionDecisionAttributes' {} Maybe Text
a -> ContinueAsNewWorkflowExecutionDecisionAttributes
s {$sel:workflowTypeVersion:ContinueAsNewWorkflowExecutionDecisionAttributes' :: Maybe Text
workflowTypeVersion = Maybe Text
a} :: ContinueAsNewWorkflowExecutionDecisionAttributes)
continueAsNewWorkflowExecutionDecisionAttributes_executionStartToCloseTimeout :: Lens.Lens' ContinueAsNewWorkflowExecutionDecisionAttributes (Prelude.Maybe Prelude.Text)
continueAsNewWorkflowExecutionDecisionAttributes_executionStartToCloseTimeout :: (Maybe Text -> f (Maybe Text))
-> ContinueAsNewWorkflowExecutionDecisionAttributes
-> f ContinueAsNewWorkflowExecutionDecisionAttributes
continueAsNewWorkflowExecutionDecisionAttributes_executionStartToCloseTimeout = (ContinueAsNewWorkflowExecutionDecisionAttributes -> Maybe Text)
-> (ContinueAsNewWorkflowExecutionDecisionAttributes
-> Maybe Text -> ContinueAsNewWorkflowExecutionDecisionAttributes)
-> Lens
ContinueAsNewWorkflowExecutionDecisionAttributes
ContinueAsNewWorkflowExecutionDecisionAttributes
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ContinueAsNewWorkflowExecutionDecisionAttributes' {Maybe Text
executionStartToCloseTimeout :: Maybe Text
$sel:executionStartToCloseTimeout:ContinueAsNewWorkflowExecutionDecisionAttributes' :: ContinueAsNewWorkflowExecutionDecisionAttributes -> Maybe Text
executionStartToCloseTimeout} -> Maybe Text
executionStartToCloseTimeout) (\s :: ContinueAsNewWorkflowExecutionDecisionAttributes
s@ContinueAsNewWorkflowExecutionDecisionAttributes' {} Maybe Text
a -> ContinueAsNewWorkflowExecutionDecisionAttributes
s {$sel:executionStartToCloseTimeout:ContinueAsNewWorkflowExecutionDecisionAttributes' :: Maybe Text
executionStartToCloseTimeout = Maybe Text
a} :: ContinueAsNewWorkflowExecutionDecisionAttributes)
continueAsNewWorkflowExecutionDecisionAttributes_taskList :: Lens.Lens' ContinueAsNewWorkflowExecutionDecisionAttributes (Prelude.Maybe TaskList)
continueAsNewWorkflowExecutionDecisionAttributes_taskList :: (Maybe TaskList -> f (Maybe TaskList))
-> ContinueAsNewWorkflowExecutionDecisionAttributes
-> f ContinueAsNewWorkflowExecutionDecisionAttributes
continueAsNewWorkflowExecutionDecisionAttributes_taskList = (ContinueAsNewWorkflowExecutionDecisionAttributes
-> Maybe TaskList)
-> (ContinueAsNewWorkflowExecutionDecisionAttributes
-> Maybe TaskList
-> ContinueAsNewWorkflowExecutionDecisionAttributes)
-> Lens
ContinueAsNewWorkflowExecutionDecisionAttributes
ContinueAsNewWorkflowExecutionDecisionAttributes
(Maybe TaskList)
(Maybe TaskList)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ContinueAsNewWorkflowExecutionDecisionAttributes' {Maybe TaskList
taskList :: Maybe TaskList
$sel:taskList:ContinueAsNewWorkflowExecutionDecisionAttributes' :: ContinueAsNewWorkflowExecutionDecisionAttributes -> Maybe TaskList
taskList} -> Maybe TaskList
taskList) (\s :: ContinueAsNewWorkflowExecutionDecisionAttributes
s@ContinueAsNewWorkflowExecutionDecisionAttributes' {} Maybe TaskList
a -> ContinueAsNewWorkflowExecutionDecisionAttributes
s {$sel:taskList:ContinueAsNewWorkflowExecutionDecisionAttributes' :: Maybe TaskList
taskList = Maybe TaskList
a} :: ContinueAsNewWorkflowExecutionDecisionAttributes)
continueAsNewWorkflowExecutionDecisionAttributes_taskPriority :: Lens.Lens' ContinueAsNewWorkflowExecutionDecisionAttributes (Prelude.Maybe Prelude.Text)
continueAsNewWorkflowExecutionDecisionAttributes_taskPriority :: (Maybe Text -> f (Maybe Text))
-> ContinueAsNewWorkflowExecutionDecisionAttributes
-> f ContinueAsNewWorkflowExecutionDecisionAttributes
continueAsNewWorkflowExecutionDecisionAttributes_taskPriority = (ContinueAsNewWorkflowExecutionDecisionAttributes -> Maybe Text)
-> (ContinueAsNewWorkflowExecutionDecisionAttributes
-> Maybe Text -> ContinueAsNewWorkflowExecutionDecisionAttributes)
-> Lens
ContinueAsNewWorkflowExecutionDecisionAttributes
ContinueAsNewWorkflowExecutionDecisionAttributes
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ContinueAsNewWorkflowExecutionDecisionAttributes' {Maybe Text
taskPriority :: Maybe Text
$sel:taskPriority:ContinueAsNewWorkflowExecutionDecisionAttributes' :: ContinueAsNewWorkflowExecutionDecisionAttributes -> Maybe Text
taskPriority} -> Maybe Text
taskPriority) (\s :: ContinueAsNewWorkflowExecutionDecisionAttributes
s@ContinueAsNewWorkflowExecutionDecisionAttributes' {} Maybe Text
a -> ContinueAsNewWorkflowExecutionDecisionAttributes
s {$sel:taskPriority:ContinueAsNewWorkflowExecutionDecisionAttributes' :: Maybe Text
taskPriority = Maybe Text
a} :: ContinueAsNewWorkflowExecutionDecisionAttributes)
continueAsNewWorkflowExecutionDecisionAttributes_childPolicy :: Lens.Lens' ContinueAsNewWorkflowExecutionDecisionAttributes (Prelude.Maybe ChildPolicy)
continueAsNewWorkflowExecutionDecisionAttributes_childPolicy :: (Maybe ChildPolicy -> f (Maybe ChildPolicy))
-> ContinueAsNewWorkflowExecutionDecisionAttributes
-> f ContinueAsNewWorkflowExecutionDecisionAttributes
continueAsNewWorkflowExecutionDecisionAttributes_childPolicy = (ContinueAsNewWorkflowExecutionDecisionAttributes
-> Maybe ChildPolicy)
-> (ContinueAsNewWorkflowExecutionDecisionAttributes
-> Maybe ChildPolicy
-> ContinueAsNewWorkflowExecutionDecisionAttributes)
-> Lens
ContinueAsNewWorkflowExecutionDecisionAttributes
ContinueAsNewWorkflowExecutionDecisionAttributes
(Maybe ChildPolicy)
(Maybe ChildPolicy)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ContinueAsNewWorkflowExecutionDecisionAttributes' {Maybe ChildPolicy
childPolicy :: Maybe ChildPolicy
$sel:childPolicy:ContinueAsNewWorkflowExecutionDecisionAttributes' :: ContinueAsNewWorkflowExecutionDecisionAttributes
-> Maybe ChildPolicy
childPolicy} -> Maybe ChildPolicy
childPolicy) (\s :: ContinueAsNewWorkflowExecutionDecisionAttributes
s@ContinueAsNewWorkflowExecutionDecisionAttributes' {} Maybe ChildPolicy
a -> ContinueAsNewWorkflowExecutionDecisionAttributes
s {$sel:childPolicy:ContinueAsNewWorkflowExecutionDecisionAttributes' :: Maybe ChildPolicy
childPolicy = Maybe ChildPolicy
a} :: ContinueAsNewWorkflowExecutionDecisionAttributes)
instance
Prelude.Hashable
ContinueAsNewWorkflowExecutionDecisionAttributes
instance
Prelude.NFData
ContinueAsNewWorkflowExecutionDecisionAttributes
instance
Core.ToJSON
ContinueAsNewWorkflowExecutionDecisionAttributes
where
toJSON :: ContinueAsNewWorkflowExecutionDecisionAttributes -> Value
toJSON
ContinueAsNewWorkflowExecutionDecisionAttributes' {Maybe [Text]
Maybe Text
Maybe ChildPolicy
Maybe TaskList
childPolicy :: Maybe ChildPolicy
taskPriority :: Maybe Text
taskList :: Maybe TaskList
executionStartToCloseTimeout :: Maybe Text
workflowTypeVersion :: Maybe Text
input :: Maybe Text
lambdaRole :: Maybe Text
taskStartToCloseTimeout :: Maybe Text
tagList :: Maybe [Text]
$sel:childPolicy:ContinueAsNewWorkflowExecutionDecisionAttributes' :: ContinueAsNewWorkflowExecutionDecisionAttributes
-> Maybe ChildPolicy
$sel:taskPriority:ContinueAsNewWorkflowExecutionDecisionAttributes' :: ContinueAsNewWorkflowExecutionDecisionAttributes -> Maybe Text
$sel:taskList:ContinueAsNewWorkflowExecutionDecisionAttributes' :: ContinueAsNewWorkflowExecutionDecisionAttributes -> Maybe TaskList
$sel:executionStartToCloseTimeout:ContinueAsNewWorkflowExecutionDecisionAttributes' :: ContinueAsNewWorkflowExecutionDecisionAttributes -> Maybe Text
$sel:workflowTypeVersion:ContinueAsNewWorkflowExecutionDecisionAttributes' :: ContinueAsNewWorkflowExecutionDecisionAttributes -> Maybe Text
$sel:input:ContinueAsNewWorkflowExecutionDecisionAttributes' :: ContinueAsNewWorkflowExecutionDecisionAttributes -> Maybe Text
$sel:lambdaRole:ContinueAsNewWorkflowExecutionDecisionAttributes' :: ContinueAsNewWorkflowExecutionDecisionAttributes -> Maybe Text
$sel:taskStartToCloseTimeout:ContinueAsNewWorkflowExecutionDecisionAttributes' :: ContinueAsNewWorkflowExecutionDecisionAttributes -> Maybe Text
$sel:tagList:ContinueAsNewWorkflowExecutionDecisionAttributes' :: ContinueAsNewWorkflowExecutionDecisionAttributes -> Maybe [Text]
..} =
[Pair] -> Value
Core.object
( [Maybe Pair] -> [Pair]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[ (Text
"tagList" Text -> [Text] -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) ([Text] -> Pair) -> Maybe [Text] -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [Text]
tagList,
(Text
"taskStartToCloseTimeout" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=)
(Text -> Pair) -> Maybe Text -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
taskStartToCloseTimeout,
(Text
"lambdaRole" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (Text -> Pair) -> Maybe Text -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
lambdaRole,
(Text
"input" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (Text -> Pair) -> Maybe Text -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
input,
(Text
"workflowTypeVersion" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=)
(Text -> Pair) -> Maybe Text -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
workflowTypeVersion,
(Text
"executionStartToCloseTimeout" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=)
(Text -> Pair) -> Maybe Text -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
executionStartToCloseTimeout,
(Text
"taskList" Text -> TaskList -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (TaskList -> Pair) -> Maybe TaskList -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe TaskList
taskList,
(Text
"taskPriority" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (Text -> Pair) -> Maybe Text -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
taskPriority,
(Text
"childPolicy" Text -> ChildPolicy -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (ChildPolicy -> Pair) -> Maybe ChildPolicy -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe ChildPolicy
childPolicy
]
)