Skip to content

RespondActivityTaskFailedInput

Source code in docs_src/capo_swf/types/respond_activity_task_failed_input.py
class RespondActivityTaskFailedInput(TypedDict, closed=True):
    task_token: "capo_swf.types.task_token.TaskToken"
    """<p>The <code>taskToken</code> of the <a>ActivityTask</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>"""
    reason: NotRequired["capo_swf.types.failure_reason.FailureReason"]
    """<p>Description of the error that may assist in diagnostics.</p>"""
    details: NotRequired["capo_swf.types.data.Data"]
    """<p> Detailed information about the failure.</p>"""

details instance-attribute

details: NotRequired[Data]

Detailed information about the failure.

reason instance-attribute

reason: NotRequired[FailureReason]

Description of the error that may assist in diagnostics.

task_token instance-attribute

task_token: TaskToken

The taskToken of the ActivityTask.

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.