Skip to content

RespondActivityTaskCompletedInput

Source code in docs_src/capo_swf/types/respond_activity_task_completed_input.py
class RespondActivityTaskCompletedInput(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>"""
    result: NotRequired["capo_swf.types.data.Data"]
    """<p>The result of the activity task. It is a free form string that is implementation specific.</p>"""

result instance-attribute

result: NotRequired[Data]

The result of the activity task. It is a free form string that is implementation specific.

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.