Skip to content

Observation

Source code in docs_src/capo_cloudwatchomni/types/observation.py
class Observation(TypedDict, closed=True):
    observation_id: "capo_cloudwatchomni.types.observation_id.ObservationId"
    """The unique identifier of the observation."""
    account_id: "capo_cloudwatchomni.types.account_id.AccountId"
    """The account the observation belongs to."""
    title: "capo_cloudwatchomni.types.observation_title.ObservationTitle"
    """A short human-readable headline for the observation."""
    summary: "capo_cloudwatchomni.types.observation_summary_text.ObservationSummaryText"
    """A human-readable summary of what was found."""
    severity: "capo_cloudwatchomni.types.observation_severity.ObservationSeverity"
    """The severity assigned to the observation."""
    status: "capo_cloudwatchomni.types.observation_status.ObservationStatus"
    """The current status of the observation."""
    reasoning: "capo_cloudwatchomni.types.observation_reasoning.ObservationReasoning"
    """The explanation of how the correlated anomalies led to this observation. It is either plain text, or a JSON array written as a string, where each element is an object with a statement and the anomalyIds that statement is based on, in the order of the explanation. It is the array form only if it parses as a JSON array of objects, each with a statement; any other value is plain text. The value can be empty."""
    anomalies: (
        "capo_cloudwatchomni.types.observation_anomaly_list.ObservationAnomalyList"
    )
    """The identifiers of the anomalies this observation correlates. At most 100 are listed: when it correlates more, the 100 most recent."""
    affected_nodes: NotRequired[
        "capo_cloudwatchomni.types.observation_node_list.ObservationNodeList"
    ]
    """The nodes this observation affects."""
    related_changes: NotRequired[
        "capo_cloudwatchomni.types.related_change_list.RelatedChangeList"
    ]
    """The changes that the observation cites as related, oldest first. A change tied to more than one node appears once for each node, with the same changeId. At most 50 are listed: when the observation cites more, the 50 oldest. Absent when it cites none."""
    created_at: "datetime.datetime"
    """When the observation was created."""
    updated_at: "datetime.datetime"
    """When the observation was last modified."""

account_id instance-attribute

account_id: AccountId

The account the observation belongs to.

affected_nodes instance-attribute

affected_nodes: NotRequired[ObservationNodeList]

The nodes this observation affects.

anomalies instance-attribute

The identifiers of the anomalies this observation correlates. At most 100 are listed: when it correlates more, the 100 most recent.

created_at instance-attribute

created_at: datetime

When the observation was created.

observation_id instance-attribute

observation_id: ObservationId

The unique identifier of the observation.

reasoning instance-attribute

The explanation of how the correlated anomalies led to this observation. It is either plain text, or a JSON array written as a string, where each element is an object with a statement and the anomalyIds that statement is based on, in the order of the explanation. It is the array form only if it parses as a JSON array of objects, each with a statement; any other value is plain text. The value can be empty.

related_changes instance-attribute

related_changes: NotRequired[RelatedChangeList]

The changes that the observation cites as related, oldest first. A change tied to more than one node appears once for each node, with the same changeId. At most 50 are listed: when the observation cites more, the 50 oldest. Absent when it cites none.

severity instance-attribute

The severity assigned to the observation.

status instance-attribute

The current status of the observation.

summary instance-attribute

A human-readable summary of what was found.

title instance-attribute

A short human-readable headline for the observation.

updated_at instance-attribute

updated_at: datetime

When the observation was last modified.