View a markdown version of this page

MemoryRecord - Amazon Bedrock AgentCore Data Plane
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

MemoryRecord

Contains information about a memory record in an AgentCore Memory resource.

Contents

content

The content of the memory record.

Type: MemoryContent object

Note: This object is a Union. Only one member of this object can be specified or returned.

Required: Yes

createdAt

The timestamp when the memory record was created.

Type: Timestamp

Required: Yes

memoryRecordId

The unique identifier of the memory record.

Type: String

Length Constraints: Minimum length of 40. Maximum length of 50.

Pattern: mem-[a-zA-Z0-9-_]*

Required: Yes

memoryStrategyId

The identifier of the memory strategy associated with this record.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 100.

Pattern: [a-zA-Z0-9][a-zA-Z0-9-_]*

Required: Yes

namespaces

The namespaces associated with this memory record. Namespaces help organize and categorize memory records.

Type: Array of strings

Array Members: Minimum number of 0 items. Maximum number of 1 item.

Length Constraints: Minimum length of 1. Maximum length of 1024.

Pattern: [a-zA-Z0-9/*][a-zA-Z0-9-_/*]*(?::[a-zA-Z0-9-_/*]+)*[a-zA-Z0-9-_/*]*

Required: Yes

metadata

A map of metadata key-value pairs associated with a memory record.

Type: String to MemoryRecordMetadataValue object map

Map Entries: Maximum number of 20 items.

Key Length Constraints: Minimum length of 1. Maximum length of 128.

Key Pattern: [a-zA-Z0-9\s._:/=+@-]*

Required: No

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: