Skip to content

GetTaskInstanceResponse

Source code in docs_src/capo_mwaa_serverless/types/get_task_instance_response.py
class GetTaskInstanceResponse(TypedDict, closed=True):
    workflow_arn: "capo_mwaa_serverless.types.workflow_arn.WorkflowArn"
    """<p>The Amazon Resource Name (ARN) of the workflow that contains this task instance.</p>"""
    run_id: "capo_mwaa_serverless.types.id_string.IdString"
    """<p>The unique identifier of the workflow run that contains this task instance.</p>"""
    task_instance_id: "capo_mwaa_serverless.types.id_string.IdString"
    """<p>The unique identifier of this task instance.</p>"""
    workflow_version: NotRequired["capo_mwaa_serverless.types.version_id.VersionId"]
    """<p>The version of the workflow that contains this task instance.</p>"""
    status: NotRequired[
        "capo_mwaa_serverless.types.task_instance_status.TaskInstanceStatus"
    ]
    """<p>The current status of the task instance.</p>"""
    duration_in_seconds: NotRequired["int"]
    """<p>The duration of the task instance execution in seconds. This value is null if the task is not complete.</p>"""
    operator_name: NotRequired[
        "capo_mwaa_serverless.types.generic_string.GenericString"
    ]
    """<p>The name of the Apache Airflow operator used for this task instance.</p>"""
    modified_at: NotRequired[
        "capo_mwaa_serverless.types.timestamp_value.TimestampValue"
    ]
    """<p>The timestamp when the task instance was last modified, in ISO 8601 date-time format.</p>"""
    ended_at: NotRequired["capo_mwaa_serverless.types.timestamp_value.TimestampValue"]
    """<p>The timestamp when the task instance completed execution, in ISO 8601 date-time format. This value is null if the task is not complete.</p>"""
    started_at: NotRequired["capo_mwaa_serverless.types.timestamp_value.TimestampValue"]
    """<p>The timestamp when the task instance started execution, in ISO 8601 date-time format. This value is null if the task has not started.</p>"""
    attempt_number: NotRequired["int"]
    """<p>The attempt number for this task instance.</p>"""
    error_message: NotRequired[
        "capo_mwaa_serverless.types.generic_string.GenericString"
    ]
    """<p>The error message if the task instance failed. This value is null if the task completed successfully.</p>"""
    task_id: NotRequired["capo_mwaa_serverless.types.id_string.IdString"]
    """<p>The unique identifier of the task definition within the workflow.</p>"""
    log_stream: NotRequired["capo_mwaa_serverless.types.id_string.IdString"]
    """<p>The CloudWatch log stream name for this task instance execution.</p>"""
    xcom: NotRequired["capo_mwaa_serverless.types.generic_map.GenericMap"]
    """<p>Cross-communication data exchanged between tasks in the workflow execution.</p>"""

attempt_number instance-attribute

attempt_number: NotRequired[int]

The attempt number for this task instance.

duration_in_seconds instance-attribute

duration_in_seconds: NotRequired[int]

The duration of the task instance execution in seconds. This value is null if the task is not complete.

ended_at instance-attribute

ended_at: NotRequired[TimestampValue]

The timestamp when the task instance completed execution, in ISO 8601 date-time format. This value is null if the task is not complete.

error_message instance-attribute

error_message: NotRequired[GenericString]

The error message if the task instance failed. This value is null if the task completed successfully.

log_stream instance-attribute

log_stream: NotRequired[IdString]

The CloudWatch log stream name for this task instance execution.

modified_at instance-attribute

modified_at: NotRequired[TimestampValue]

The timestamp when the task instance was last modified, in ISO 8601 date-time format.

operator_name instance-attribute

operator_name: NotRequired[GenericString]

The name of the Apache Airflow operator used for this task instance.

run_id instance-attribute

run_id: IdString

The unique identifier of the workflow run that contains this task instance.

started_at instance-attribute

started_at: NotRequired[TimestampValue]

The timestamp when the task instance started execution, in ISO 8601 date-time format. This value is null if the task has not started.

status instance-attribute

status: NotRequired[TaskInstanceStatus]

The current status of the task instance.

task_id instance-attribute

task_id: NotRequired[IdString]

The unique identifier of the task definition within the workflow.

task_instance_id instance-attribute

task_instance_id: IdString

The unique identifier of this task instance.

workflow_arn instance-attribute

workflow_arn: WorkflowArn

The Amazon Resource Name (ARN) of the workflow that contains this task instance.

workflow_version instance-attribute

workflow_version: NotRequired[VersionId]

The version of the workflow that contains this task instance.

xcom instance-attribute

xcom: NotRequired[GenericMap]

Cross-communication data exchanged between tasks in the workflow execution.