Skip to content

RespondDecisionTaskCompletedInput

Source code in docs_src/capo_swf/types/respond_decision_task_completed_input.py
class RespondDecisionTaskCompletedInput(TypedDict, closed=True):
    task_token: "capo_swf.types.task_token.TaskToken"
    """<p>The <code>taskToken</code> from the <a>DecisionTask</a>.</p> <important> <p> <code>taskToken</code> is generated by the service and should be treated as an opaque value. If the task is passed to another process, its <code>taskToken</code> must also be passed. This enables it to provide its progress and respond with results.</p> </important>"""
    decisions: NotRequired["capo_swf.types.decision_list.DecisionList"]
    """<p>The list of decisions (possibly empty) made by the decider while processing this decision task. See the docs for the <a>Decision</a> structure for details.</p>"""
    execution_context: NotRequired["capo_swf.types.data.Data"]
    """<p>User defined context to add to workflow execution.</p>"""
    task_list: NotRequired["capo_swf.types.task_list.TaskList"]
    """<p>The task list to use for the future decision tasks of this workflow execution. This list overrides the original task list you specified while starting the workflow execution. </p>"""
    task_list_schedule_to_start_timeout: NotRequired[
        "capo_swf.types.duration_in_seconds_optional.DurationInSecondsOptional"
    ]
    """<p>Specifies a timeout (in seconds) for the task list override. When this parameter is missing, the task list override is permanent. This parameter makes it possible to temporarily override the task list. If a decision task scheduled on the override task list is not started within the timeout, the decision task will time out. Amazon SWF will revert the override and schedule a new decision task to the original task list.</p> <p>If a decision task scheduled on the override task list is started within the timeout, but not completed within the start-to-close timeout, Amazon SWF will also revert the override and schedule a new decision task to the original task list.</p>"""

decisions instance-attribute

decisions: NotRequired[DecisionList]

The list of decisions (possibly empty) made by the decider while processing this decision task. See the docs for the Decision structure for details.

execution_context instance-attribute

execution_context: NotRequired[Data]

User defined context to add to workflow execution.

task_list instance-attribute

task_list: NotRequired[TaskList]

The task list to use for the future decision tasks of this workflow execution. This list overrides the original task list you specified while starting the workflow execution.

task_list_schedule_to_start_timeout instance-attribute

task_list_schedule_to_start_timeout: NotRequired[DurationInSecondsOptional]

Specifies a timeout (in seconds) for the task list override. When this parameter is missing, the task list override is permanent. This parameter makes it possible to temporarily override the task list. If a decision task scheduled on the override task list is not started within the timeout, the decision task will time out. Amazon SWF will revert the override and schedule a new decision task to the original task list.

If a decision task scheduled on the override task list is started within the timeout, but not completed within the start-to-close timeout, Amazon SWF will also revert the override and schedule a new decision task to the original task list.

task_token instance-attribute

task_token: TaskToken

The taskToken from the DecisionTask.

taskToken is generated by the service and should be treated as an opaque value. If the task is passed to another process, its taskToken must also be passed. This enables it to provide its progress and respond with results.