Skip to content

Bedrock Agentcore Control  >  Operations  >  get_memory

get_memory

Operation

get_memory async

get_memory(input: GetMemoryInput, plugins: list[Plugin] | None = None) -> GetMemoryOutput

Retrieve an existing Amazon Bedrock AgentCore Memory resource.

Parameters:

Name Type Description Default
input GetMemoryInput

An instance of GetMemoryInput.

required
plugins list[Plugin] | None

A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations.

None

Returns:

Type Description
GetMemoryOutput

An instance of GetMemoryOutput.

Input

GetMemoryInput dataclass

Dataclass for GetMemoryInput structure.

Attributes

memory_id class-attribute instance-attribute
memory_id: str | None = None

The unique identifier of the memory to retrieve.

view class-attribute instance-attribute
view: MemoryView = MemoryView('full')

The level of detail to return for the memory.

Output

GetMemoryOutput dataclass

Dataclass for GetMemoryOutput structure.

Attributes

memory instance-attribute
memory: Memory

The retrieved AgentCore Memory resource details.