View a markdown version of this page

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

MemoryRecordUpdateInput

Input structure to update an existing memory record.

Contents

memoryRecordId

The unique ID of the memory record to be updated.

Type: String

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

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

Required: Yes

timestamp

Time at which the memory record was updated

Type: Timestamp

Required: Yes

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: No

memoryStrategyId

The updated 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

namespaces

The updated list of namespace identifiers for categorizing 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: No

sourceNamespaces

The namespaces of the source memory record being updated. This value is used for IAM condition key authorization.

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: No

See Also

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