Skip to content

SloStateInfo

Source code in docs_src/capo_cloudwatchomni/types/slo_state_info.py
class SloStateInfo(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."""
    state_transition_measurement: NotRequired[
        "capo_cloudwatchomni.types.slo_state_transition_measurement.SloStateTransitionMeasurement"
    ]
    """The measurement at the time the state last changed. Not a live figure."""

no_data_reason instance-attribute

no_data_reason: NotRequired[SloNoDataReason]

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

state_transition_measurement instance-attribute

state_transition_measurement: NotRequired[SloStateTransitionMeasurement]

The measurement at the time the state last changed. Not a live figure.

transitioned_at instance-attribute

transitioned_at: NotRequired[datetime]

When the state last changed.

value instance-attribute

value: SloState

The current state of the SLO.