Skip to content

Delete Memory Record

bedrockagentcore_delete_memory_record R Documentation

Deletes a memory record from an AgentCore Memory resource

Description

Deletes a memory record from an AgentCore Memory resource. When you delete a memory record, it is permanently removed.

To use this operation, you must have the bedrock-agentcore:DeleteMemoryRecord permission.

Usage

bedrockagentcore_delete_memory_record(memoryId, memoryRecordId)

Arguments

memoryId

[required] The identifier of the AgentCore Memory resource from which to delete the memory record.

memoryRecordId

[required] The identifier of the memory record to delete.

Value

A list with the following syntax:

list(
  memoryRecordId = "string"
)

Request syntax

svc$delete_memory_record(
  memoryId = "string",
  memoryRecordId = "string"
)