Batch Create Memory Records
| bedrockagentcore_batch_create_memory_records | R Documentation |
Creates multiple memory records in a single batch operation for the specified memory with custom content¶
Description¶
Creates multiple memory records in a single batch operation for the specified memory with custom content.
Usage¶
bedrockagentcore_batch_create_memory_records(memoryId, records,
clientToken)
Arguments¶
memoryId |
[required] The unique ID of the memory resource where records will be created. |
records |
[required] A list of memory record creation inputs to be processed in the batch operation. |
clientToken |
A unique, case-sensitive identifier to ensure idempotent processing of the batch request. |
Value¶
A list with the following syntax:
list(
successfulRecords = list(
list(
memoryRecordId = "string",
status = "SUCCEEDED"|"FAILED",
requestIdentifier = "string",
errorCode = 123,
errorMessage = "string"
)
),
failedRecords = list(
list(
memoryRecordId = "string",
status = "SUCCEEDED"|"FAILED",
requestIdentifier = "string",
errorCode = 123,
errorMessage = "string"
)
)
)
Request syntax¶
svc$batch_create_memory_records(
memoryId = "string",
records = list(
list(
requestIdentifier = "string",
namespaces = list(
"string"
),
content = list(
text = "string"
),
timestamp = as.POSIXct(
"2015-01-01"
),
memoryStrategyId = "string",
metadata = list(
list(
stringValue = "string",
stringListValue = list(
"string"
),
numberValue = 123.0,
dateTimeValue = as.POSIXct(
"2015-01-01"
)
)
)
)
),
clientToken = "string"
)