Skip to content

Edge module-attribute

Edge = TypedDict(
    "Edge",
    {
        "edge_id": NotRequired[
            "capo_cloudwatchomni.types.context_graph_id.ContextGraphId"
        ],
        "from": NotRequired[
            "capo_cloudwatchomni.types.context_graph_id.ContextGraphId"
        ],
        "to": NotRequired["capo_cloudwatchomni.types.context_graph_id.ContextGraphId"],
        "edge_type": NotRequired["capo_cloudwatchomni.types.edge_type.EdgeType"],
        "operations": NotRequired["capo_cloudwatchomni.types.string_set.StringSet"],
        "edge_properties": NotRequired[
            "capo_cloudwatchomni.types.edge_properties.EdgeProperties"
        ],
        "telemetry_attributes": NotRequired[
            "capo_cloudwatchomni.types.context_graph_attribute_map.ContextGraphAttributeMap"
        ],
        "signal_types": NotRequired["capo_cloudwatchomni.types.signal_set.SignalSet"],
        "sources": NotRequired["capo_cloudwatchomni.types.source_set.SourceSet"],
        "metadata": NotRequired["capo_cloudwatchomni.types.metadata.Metadata"],
        "first_observed_at": NotRequired["datetime.datetime"],
        "last_observed_at": NotRequired["datetime.datetime"],
    },
    closed=True,
)