Skip to content

RecordPatch

Source code in docs_src/capo_cognito_sync/types/record_patch.py
class RecordPatch(TypedDict, closed=True):
    op: "capo_cognito_sync.types.operation.Operation"
    """An operation, either replace or remove."""
    key: "capo_cognito_sync.types.record_key.RecordKey"
    """The key associated with the record patch."""
    value: NotRequired["capo_cognito_sync.types.record_value.RecordValue"]
    """The value associated with the record patch."""
    sync_count: "capo_cognito_sync.types.long.Long"
    """Last known server sync count for this record. Set to 0 if unknown."""
    device_last_modified_date: NotRequired["capo_cognito_sync.types.date.Date"]
    """The last modified date of the client device."""

device_last_modified_date instance-attribute

device_last_modified_date: NotRequired[Date]

The last modified date of the client device.

key instance-attribute

key: RecordKey

The key associated with the record patch.

op instance-attribute

An operation, either replace or remove.

sync_count instance-attribute

sync_count: Long

Last known server sync count for this record. Set to 0 if unknown.

value instance-attribute

value: NotRequired[RecordValue]

The value associated with the record patch.