Skip to content

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,
  namespace)

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.

  • namespace

    The namespace of the memory record to delete. This value is used for IAM condition key authorization.

Value

A list with the following syntax:

list(
  memoryRecordId = "string"
)

Request syntax

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