Skip to content

SendTaskFailureInput

Source code in docs_src/capo_sfn/types/send_task_failure_input.py
class SendTaskFailureInput(TypedDict, closed=True):
    task_token: "capo_sfn.types.task_token.TaskToken"
    """<p>The token that represents this task. Task tokens are generated by Step Functions when tasks are assigned to a worker, or in the <a href="https://docs.aws.amazon.com/step-functions/latest/dg/input-output-contextobject.html">context object</a> when a workflow enters a task state. See <a>GetActivityTaskOutput$taskToken</a>.</p>"""
    error: NotRequired["capo_sfn.types.sensitive_error.SensitiveError"]
    """<p>The error code of the failure.</p>"""
    cause: NotRequired["capo_sfn.types.sensitive_cause.SensitiveCause"]
    """<p>A more detailed explanation of the cause of the failure.</p>"""

cause instance-attribute

cause: NotRequired[SensitiveCause]

A more detailed explanation of the cause of the failure.

error instance-attribute

error: NotRequired[SensitiveError]

The error code of the failure.

task_token instance-attribute

task_token: TaskToken

The token that represents this task. Task tokens are generated by Step Functions when tasks are assigned to a worker, or in the context object when a workflow enters a task state. See GetActivityTaskOutput$taskToken.