Skip to content

Batch Delete Memory Records

bedrockagentcore_batch_delete_memory_records R Documentation

Deletes multiple memory records in a single batch operation from the specified memory

Description

Deletes multiple memory records in a single batch operation from the specified memory.

Usage

bedrockagentcore_batch_delete_memory_records(memoryId, records)

Arguments

memoryId

[required] The unique ID of the memory resource where records will be deleted.

records

[required] A list of memory record deletion inputs to be processed in the batch operation.

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_delete_memory_records(
  memoryId = "string",
  records = list(
    list(
      memoryRecordId = "string"
    )
  )
)