get_memory_record¶
Operation¶
get_memory_record
¶
get_memory_record(request: GetMemoryRecordInput | GetMemoryRecordInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[GetMemoryRecordInputDict]) -> GetMemoryRecordOutput
Retrieves a specific memory record from an AgentCore Memory resource.
To use this operation, you must have the
bedrock-agentcore:GetMemoryRecord permission.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
request
|
GetMemoryRecordInput | GetMemoryRecordInputDict | None
|
The input as a model or dictionary. Pass this or keyword arguments, not both. |
None
|
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
|
**kwargs
|
Unpack[GetMemoryRecordInputDict]
|
The input fields as keyword arguments. |
{}
|
Returns:
| Type | Description |
|---|---|
GetMemoryRecordOutput
|
An instance of |
get_memory_record
async
¶
get_memory_record(request: GetMemoryRecordInput | GetMemoryRecordInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[GetMemoryRecordInputDict]) -> GetMemoryRecordOutput
Retrieves a specific memory record from an AgentCore Memory resource.
To use this operation, you must have the
bedrock-agentcore:GetMemoryRecord permission.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
request
|
GetMemoryRecordInput | GetMemoryRecordInputDict | None
|
The input as a model or dictionary. Pass this or keyword arguments, not both. |
None
|
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
|
**kwargs
|
Unpack[GetMemoryRecordInputDict]
|
The input fields as keyword arguments. |
{}
|
Returns:
| Type | Description |
|---|---|
GetMemoryRecordOutput
|
An instance of |
Input¶
Pass the input as keyword arguments, a positional dictionary, or a positional model object. Pass plugins separately as a keyword argument.
GetMemoryRecordInput
dataclass
¶
Bases: _SerdeShape
Dataclass for GetMemoryRecordInput structure.
Attributes¶
memory_id
class-attribute
instance-attribute
¶
memory_id: str | None = ...
The identifier of the AgentCore Memory resource containing the memory record.
Output¶
GetMemoryRecordOutput
dataclass
¶
Bases: _SerdeShape
Dataclass for GetMemoryRecordOutput structure.