View a markdown version of this page

MemoryRecordCreateInput - 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).

MemoryRecordCreateInput

Input structure to create a new memory record.

Contents

content

The content to be stored within 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

namespaces

A list of namespace identifiers that categorize or group the memory record.

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

requestIdentifier

A client-provided identifier for tracking this specific record creation request.

Type: String

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

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

Required: Yes

timestamp

Time at which the memory record was created.

Type: Timestamp

Required: Yes

memoryStrategyId

The ID of the memory strategy that defines how this memory record is grouped.

Type: String

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

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

Required: No

metadata

Metadata key-value pairs to be stored with the 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: