Skip to content

Decision

Source code in docs_src/capo_swf/types/decision.py
class Decision(TypedDict, closed=True):
    decision_type: "capo_swf.types.decision_type.DecisionType"
    """<p>Specifies the type of the decision.</p>"""
    schedule_activity_task_decision_attributes: NotRequired[
        "capo_swf.types.schedule_activity_task_decision_attributes.ScheduleActivityTaskDecisionAttributes"
    ]
    """<p>Provides the details of the <code>ScheduleActivityTask</code> decision. It isn't set for other decision types.</p>"""
    request_cancel_activity_task_decision_attributes: NotRequired[
        "capo_swf.types.request_cancel_activity_task_decision_attributes.RequestCancelActivityTaskDecisionAttributes"
    ]
    """<p>Provides the details of the <code>RequestCancelActivityTask</code> decision. It isn't set for other decision types.</p>"""
    complete_workflow_execution_decision_attributes: NotRequired[
        "capo_swf.types.complete_workflow_execution_decision_attributes.CompleteWorkflowExecutionDecisionAttributes"
    ]
    """<p>Provides the details of the <code>CompleteWorkflowExecution</code> decision. It isn't set for other decision types.</p>"""
    fail_workflow_execution_decision_attributes: NotRequired[
        "capo_swf.types.fail_workflow_execution_decision_attributes.FailWorkflowExecutionDecisionAttributes"
    ]
    """<p>Provides the details of the <code>FailWorkflowExecution</code> decision. It isn't set for other decision types.</p>"""
    cancel_workflow_execution_decision_attributes: NotRequired[
        "capo_swf.types.cancel_workflow_execution_decision_attributes.CancelWorkflowExecutionDecisionAttributes"
    ]
    """<p>Provides the details of the <code>CancelWorkflowExecution</code> decision. It isn't set for other decision types.</p>"""
    continue_as_new_workflow_execution_decision_attributes: NotRequired[
        "capo_swf.types.continue_as_new_workflow_execution_decision_attributes.ContinueAsNewWorkflowExecutionDecisionAttributes"
    ]
    """<p>Provides the details of the <code>ContinueAsNewWorkflowExecution</code> decision. It isn't set for other decision types.</p>"""
    record_marker_decision_attributes: NotRequired[
        "capo_swf.types.record_marker_decision_attributes.RecordMarkerDecisionAttributes"
    ]
    """<p>Provides the details of the <code>RecordMarker</code> decision. It isn't set for other decision types.</p>"""
    start_timer_decision_attributes: NotRequired[
        "capo_swf.types.start_timer_decision_attributes.StartTimerDecisionAttributes"
    ]
    """<p>Provides the details of the <code>StartTimer</code> decision. It isn't set for other decision types.</p>"""
    cancel_timer_decision_attributes: NotRequired[
        "capo_swf.types.cancel_timer_decision_attributes.CancelTimerDecisionAttributes"
    ]
    """<p>Provides the details of the <code>CancelTimer</code> decision. It isn't set for other decision types.</p>"""
    signal_external_workflow_execution_decision_attributes: NotRequired[
        "capo_swf.types.signal_external_workflow_execution_decision_attributes.SignalExternalWorkflowExecutionDecisionAttributes"
    ]
    """<p>Provides the details of the <code>SignalExternalWorkflowExecution</code> decision. It isn't set for other decision types.</p>"""
    request_cancel_external_workflow_execution_decision_attributes: NotRequired[
        "capo_swf.types.request_cancel_external_workflow_execution_decision_attributes.RequestCancelExternalWorkflowExecutionDecisionAttributes"
    ]
    """<p>Provides the details of the <code>RequestCancelExternalWorkflowExecution</code> decision. It isn't set for other decision types.</p>"""
    start_child_workflow_execution_decision_attributes: NotRequired[
        "capo_swf.types.start_child_workflow_execution_decision_attributes.StartChildWorkflowExecutionDecisionAttributes"
    ]
    """<p>Provides the details of the <code>StartChildWorkflowExecution</code> decision. It isn't set for other decision types.</p>"""
    schedule_lambda_function_decision_attributes: NotRequired[
        "capo_swf.types.schedule_lambda_function_decision_attributes.ScheduleLambdaFunctionDecisionAttributes"
    ]
    """<p>Provides the details of the <code>ScheduleLambdaFunction</code> decision. It isn't set for other decision types.</p>"""

cancel_timer_decision_attributes instance-attribute

cancel_timer_decision_attributes: NotRequired[CancelTimerDecisionAttributes]

Provides the details of the CancelTimer decision. It isn't set for other decision types.

cancel_workflow_execution_decision_attributes instance-attribute

cancel_workflow_execution_decision_attributes: NotRequired[
    CancelWorkflowExecutionDecisionAttributes
]

Provides the details of the CancelWorkflowExecution decision. It isn't set for other decision types.

complete_workflow_execution_decision_attributes instance-attribute

complete_workflow_execution_decision_attributes: NotRequired[
    CompleteWorkflowExecutionDecisionAttributes
]

Provides the details of the CompleteWorkflowExecution decision. It isn't set for other decision types.

continue_as_new_workflow_execution_decision_attributes instance-attribute

continue_as_new_workflow_execution_decision_attributes: NotRequired[
    ContinueAsNewWorkflowExecutionDecisionAttributes
]

Provides the details of the ContinueAsNewWorkflowExecution decision. It isn't set for other decision types.

decision_type instance-attribute

decision_type: DecisionType

Specifies the type of the decision.

fail_workflow_execution_decision_attributes instance-attribute

fail_workflow_execution_decision_attributes: NotRequired[
    FailWorkflowExecutionDecisionAttributes
]

Provides the details of the FailWorkflowExecution decision. It isn't set for other decision types.

record_marker_decision_attributes instance-attribute

record_marker_decision_attributes: NotRequired[RecordMarkerDecisionAttributes]

Provides the details of the RecordMarker decision. It isn't set for other decision types.

request_cancel_activity_task_decision_attributes instance-attribute

request_cancel_activity_task_decision_attributes: NotRequired[
    RequestCancelActivityTaskDecisionAttributes
]

Provides the details of the RequestCancelActivityTask decision. It isn't set for other decision types.

request_cancel_external_workflow_execution_decision_attributes instance-attribute

request_cancel_external_workflow_execution_decision_attributes: NotRequired[
    RequestCancelExternalWorkflowExecutionDecisionAttributes
]

Provides the details of the RequestCancelExternalWorkflowExecution decision. It isn't set for other decision types.

schedule_activity_task_decision_attributes instance-attribute

schedule_activity_task_decision_attributes: NotRequired[
    ScheduleActivityTaskDecisionAttributes
]

Provides the details of the ScheduleActivityTask decision. It isn't set for other decision types.

schedule_lambda_function_decision_attributes instance-attribute

schedule_lambda_function_decision_attributes: NotRequired[
    ScheduleLambdaFunctionDecisionAttributes
]

Provides the details of the ScheduleLambdaFunction decision. It isn't set for other decision types.

signal_external_workflow_execution_decision_attributes instance-attribute

signal_external_workflow_execution_decision_attributes: NotRequired[
    SignalExternalWorkflowExecutionDecisionAttributes
]

Provides the details of the SignalExternalWorkflowExecution decision. It isn't set for other decision types.

start_child_workflow_execution_decision_attributes instance-attribute

start_child_workflow_execution_decision_attributes: NotRequired[
    StartChildWorkflowExecutionDecisionAttributes
]

Provides the details of the StartChildWorkflowExecution decision. It isn't set for other decision types.

start_timer_decision_attributes instance-attribute

start_timer_decision_attributes: NotRequired[StartTimerDecisionAttributes]

Provides the details of the StartTimer decision. It isn't set for other decision types.