Skip to content

SloReportState

Source code in docs_src/capo_cloudwatchomni/types/slo_report_state.py
class SloReportState(TypedDict, closed=True):
    value: "capo_cloudwatchomni.types.slo_state.SloState"
    """The current state of the SLO."""
    no_data_reason: NotRequired[
        "capo_cloudwatchomni.types.slo_no_data_reason.SloNoDataReason"
    ]
    """Why the SLO cannot be measured. Set only when the state is NODATA."""
    transitioned_at: NotRequired["datetime.datetime"]
    """When the state last changed. Absent when the SLO has not been evaluated yet."""

no_data_reason instance-attribute

no_data_reason: NotRequired[SloNoDataReason]

Why the SLO cannot be measured. Set only when the state is NODATA.

transitioned_at instance-attribute

transitioned_at: NotRequired[datetime]

When the state last changed. Absent when the SLO has not been evaluated yet.

value instance-attribute

value: SloState

The current state of the SLO.