Skip to content

SparqlRecord

Source code in docs_src/capo_neptunedata/types/sparql_record.py
class SparqlRecord(TypedDict, closed=True):
    commit_timestamp_in_millis: "int"
    """<p>The time at which the commit for the transaction was requested, in milliseconds from the Unix epoch.</p>"""
    event_id: "capo_neptunedata.types.string_valued_map.StringValuedMap"
    """<p>The sequence identifier of the stream change record.</p>"""
    data: "capo_neptunedata.types.sparql_data.SparqlData"
    """<p>The serialized SPARQL change record. The serialization formats of each record are described in more detail in <a href="https://docs.aws.amazon.com/neptune/latest/userguide/streams-change-formats.html">Serialization Formats in Neptune Streams</a>.</p>"""
    op: "str"
    """<p>The operation that created the change.</p>"""
    is_last_op: NotRequired["bool"]
    """<p>Only present if this operation is the last one in its transaction. If present, it is set to true. It is useful for ensuring that an entire transaction is consumed.</p>"""

commit_timestamp_in_millis instance-attribute

commit_timestamp_in_millis: int

The time at which the commit for the transaction was requested, in milliseconds from the Unix epoch.

data instance-attribute

data: SparqlData

The serialized SPARQL change record. The serialization formats of each record are described in more detail in Serialization Formats in Neptune Streams.

event_id instance-attribute

event_id: StringValuedMap

The sequence identifier of the stream change record.

is_last_op instance-attribute

is_last_op: NotRequired[bool]

Only present if this operation is the last one in its transaction. If present, it is set to true. It is useful for ensuring that an entire transaction is consumed.

op instance-attribute

op: str

The operation that created the change.