Skip to content

ActivityTaskFailedEventAttributes

Source code in docs_src/capo_swf/types/activity_task_failed_event_attributes.py
class ActivityTaskFailedEventAttributes(TypedDict, closed=True):
    reason: NotRequired["capo_swf.types.failure_reason.FailureReason"]
    """<p>The reason provided for the failure.</p>"""
    details: NotRequired["capo_swf.types.data.Data"]
    """<p>The details of the failure.</p>"""
    scheduled_event_id: "capo_swf.types.event_id.EventId"
    """<p>The ID of the <code>ActivityTaskScheduled</code> event that was recorded when this activity task was scheduled. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.</p>"""
    started_event_id: "capo_swf.types.event_id.EventId"
    """<p>The ID of the <code>ActivityTaskStarted</code> event recorded when this activity task was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.</p>"""

details instance-attribute

details: NotRequired[Data]

The details of the failure.

reason instance-attribute

reason: NotRequired[FailureReason]

The reason provided for the failure.

scheduled_event_id instance-attribute

scheduled_event_id: EventId

The ID of the ActivityTaskScheduled event that was recorded when this activity task was scheduled. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

started_event_id instance-attribute

started_event_id: EventId

The ID of the ActivityTaskStarted event recorded when this activity task was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.