Skip to content

DecisionTaskCompletedEventAttributes

Source code in docs_src/capo_swf/types/decision_task_completed_event_attributes.py
class DecisionTaskCompletedEventAttributes(TypedDict, closed=True):
    execution_context: NotRequired["capo_swf.types.data.Data"]
    """<p>User defined context for the workflow execution.</p>"""
    scheduled_event_id: "capo_swf.types.event_id.EventId"
    """<p>The ID of the <code>DecisionTaskScheduled</code> event that was recorded when this decision task was scheduled. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.</p>"""
    started_event_id: "capo_swf.types.event_id.EventId"
    """<p>The ID of the <code>DecisionTaskStarted</code> event recorded when this decision task was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.</p>"""
    task_list: NotRequired["capo_swf.types.task_list.TaskList"]
    task_list_schedule_to_start_timeout: NotRequired[
        "capo_swf.types.duration_in_seconds_optional.DurationInSecondsOptional"
    ]
    """<p>The maximum amount of time the decision task can wait to be assigned to a worker.</p>"""

execution_context instance-attribute

execution_context: NotRequired[Data]

User defined context for the workflow execution.

scheduled_event_id instance-attribute

scheduled_event_id: EventId

The ID of the DecisionTaskScheduled event that was recorded when this decision task was scheduled. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

started_event_id instance-attribute

started_event_id: EventId

The ID of the DecisionTaskStarted event recorded when this decision task was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

task_list instance-attribute

task_list: NotRequired[TaskList]

task_list_schedule_to_start_timeout instance-attribute

task_list_schedule_to_start_timeout: NotRequired[DurationInSecondsOptional]

The maximum amount of time the decision task can wait to be assigned to a worker.