Skip to content

GetMemoryInput

Source code in docs_src/capo_opensearchmemory/types/get_memory_input.py
class GetMemoryInput(TypedDict, closed=True):
    space_id: "capo_opensearchmemory.types.space_id.SpaceId"
    """<p>The ID of the space that holds the memory.</p>"""
    memory_id: "capo_opensearchmemory.types.memory_id.MemoryId"
    """<p>The memory's ID, as returned by <code>SearchMemories</code> or <code>ListMemories</code>.</p>"""
    actor_id: NotRequired["capo_opensearchmemory.types.actor_id.ActorId"]
    """<p>The ID of the actor 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 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 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 memory's ID, as returned by SearchMemories or ListMemories.

space_id instance-attribute

space_id: SpaceId

The ID of the space that holds the memory.

strategy_name instance-attribute

strategy_name: NotRequired[StrategyName]

The name of the strategy 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.