Skip to content

TestRunEvent

Source code in docs_src/capo_resiliencehubv2/types/test_run_event.py
class TestRunEvent(TypedDict, closed=True):
    event_id: "str"
    """<p>The unique identifier of the event.</p>"""
    event_type: "str"
    """<p>The type of the event, such as action_started, action_completed, or rto_recovery_detected.</p>"""
    message: "str"
    """<p>A human-readable description of what happened.</p>"""
    timestamp: "datetime.datetime"
    """<p>The timestamp when the event occurred.</p>"""
    attributes: NotRequired[
        "capo_resiliencehubv2.types.test_run_event_attributes.TestRunEventAttributes"
    ]
    """<p>Machine-parseable key-value attributes for the event.</p>"""

attributes instance-attribute

attributes: NotRequired[TestRunEventAttributes]

Machine-parseable key-value attributes for the event.

event_id instance-attribute

event_id: str

The unique identifier of the event.

event_type instance-attribute

event_type: str

The type of the event, such as action_started, action_completed, or rto_recovery_detected.

message instance-attribute

message: str

A human-readable description of what happened.

timestamp instance-attribute

timestamp: datetime

The timestamp when the event occurred.