Skip to content

DeleteEventInput

Source code in docs_src/capo_opensearchmemory/types/delete_event_input.py
class DeleteEventInput(TypedDict, closed=True):
    space_id: "capo_opensearchmemory.types.space_id.SpaceId"
    """<p>The ID of the space.</p>"""
    event_id: "capo_opensearchmemory.types.event_id.EventId"
    """<p>The ID of the event to delete.</p>"""
    actor_id: NotRequired["capo_opensearchmemory.types.actor_id.ActorId"]
    """<p>The actor that the event must belong to. Omit it to skip this check. If it doesn't match the stored event, the call fails with <code>ResourceNotFoundException</code>, as if the event did not exist.</p>"""
    session_id: NotRequired["capo_opensearchmemory.types.session_id.SessionId"]
    """<p>The session that the event must belong to. Omit it to skip this check. If it doesn't match the stored event, the call fails with <code>ResourceNotFoundException</code>, as if the event did not exist.</p>"""

actor_id instance-attribute

actor_id: NotRequired[ActorId]

The actor that the event must belong to. Omit it to skip this check. If it doesn't match the stored event, the call fails with ResourceNotFoundException, as if the event did not exist.

event_id instance-attribute

event_id: EventId

The ID of the event to delete.

session_id instance-attribute

session_id: NotRequired[SessionId]

The session that the event must belong to. Omit it to skip this check. If it doesn't match the stored event, the call fails with ResourceNotFoundException, as if the event did not exist.

space_id instance-attribute

space_id: SpaceId

The ID of the space.