Skip to content

DeleteMemoryInput

Source code in docs_src/capo_opensearchmemory/types/delete_memory_input.py
class DeleteMemoryInput(TypedDict, closed=True):
    space_id: "capo_opensearchmemory.types.space_id.SpaceId"
    """<p>The ID of the space that owns the memory.</p>"""
    memory_id: "capo_opensearchmemory.types.memory_id.MemoryId"
    """<p>The ID of the memory to delete.</p>"""
    actor_id: NotRequired["capo_opensearchmemory.types.actor_id.ActorId"]
    """<p>The ID of the actor that the memory must belong to. Omit it to skip this check. If it doesn't match the stored memory, the call fails with <code>ResourceNotFoundException</code>, as if the memory did not exist.</p>"""
    strategy_name: NotRequired["capo_opensearchmemory.types.strategy_name.StrategyName"]
    """<p>The name of the strategy that the memory must belong to. Omit it to skip this check. If it doesn't match the stored memory, the call fails with <code>ResourceNotFoundException</code>, as if the memory did not exist.</p>"""

actor_id instance-attribute

actor_id: NotRequired[ActorId]

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

memory_id instance-attribute

memory_id: MemoryId

The ID of the memory to delete.

space_id instance-attribute

space_id: SpaceId

The ID of the space that owns the memory.

strategy_name instance-attribute

strategy_name: NotRequired[StrategyName]

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