Get Memory Record
| bedrockagentcore_get_memory_record | R Documentation |
Retrieves a specific memory record from an AgentCore Memory resource¶
Description¶
Retrieves a specific memory record from an AgentCore Memory resource.
To use this operation, you must have the
bedrock-agentcore:GetMemoryRecord permission.
Usage¶
bedrockagentcore_get_memory_record(memoryId, memoryRecordId)
Arguments¶
memoryId |
[required] The identifier of the AgentCore Memory resource containing the memory record. |
memoryRecordId |
[required] The identifier of the memory record to retrieve. |
Value¶
A list with the following syntax:
list(
memoryRecord = list(
memoryRecordId = "string",
content = list(
text = "string"
),
memoryStrategyId = "string",
namespaces = list(
"string"
),
createdAt = as.POSIXct(
"2015-01-01"
),
metadata = list(
list(
stringValue = "string",
stringListValue = list(
"string"
),
numberValue = 123.0,
dateTimeValue = as.POSIXct(
"2015-01-01"
)
)
)
)
)
Request syntax¶
svc$get_memory_record(
memoryId = "string",
memoryRecordId = "string"
)