Skip to content

DecisionTaskScheduledEventAttributes

Source code in docs_src/capo_swf/types/decision_task_scheduled_event_attributes.py
class DecisionTaskScheduledEventAttributes(TypedDict, closed=True):
    task_list: "capo_swf.types.task_list.TaskList"
    """<p>The name of the task list in which the decision task was scheduled.</p>"""
    task_priority: NotRequired["capo_swf.types.task_priority.TaskPriority"]
    """<p> A task priority that, if set, specifies the priority for this decision task. Valid values are integers that range from Java's <code>Integer.MIN_VALUE</code> (-2147483648) to <code>Integer.MAX_VALUE</code> (2147483647). Higher numbers indicate higher priority.</p> <p>For more information about setting task priority, see <a href="https://docs.aws.amazon.com/amazonswf/latest/developerguide/programming-priority.html">Setting Task Priority</a> in the <i>Amazon SWF Developer Guide</i>.</p>"""
    start_to_close_timeout: NotRequired[
        "capo_swf.types.duration_in_seconds_optional.DurationInSecondsOptional"
    ]
    """<p>The maximum duration for this decision task. The task is considered timed out if it doesn't completed within this duration.</p> <p>The duration is specified in seconds, an integer greater than or equal to <code>0</code>. You can use <code>NONE</code> to specify unlimited duration.</p>"""
    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>"""

schedule_to_start_timeout instance-attribute

schedule_to_start_timeout: NotRequired[DurationInSecondsOptional]

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

start_to_close_timeout instance-attribute

start_to_close_timeout: NotRequired[DurationInSecondsOptional]

The maximum duration for this decision task. The task is considered timed out if it doesn't completed within this duration.

The duration is specified in seconds, an integer greater than or equal to 0. You can use NONE to specify unlimited duration.

task_list instance-attribute

task_list: TaskList

The name of the task list in which the decision task was scheduled.

task_priority instance-attribute

task_priority: NotRequired[TaskPriority]

A task priority that, if set, specifies the priority for this decision task. Valid values are integers that range from Java's Integer.MIN_VALUE (-2147483648) to Integer.MAX_VALUE (2147483647). Higher numbers indicate higher priority.

For more information about setting task priority, see Setting Task Priority in the Amazon SWF Developer Guide.