AgenticRetrieveMemoryMetadataFilter - Amazon Bedrock
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

AgenticRetrieveMemoryMetadataFilter

A metadata filter expression, in the form accepted by the AgentCore Memory RetrieveMemoryRecords operation. The expression has a left operand that names the metadata key, an operator, and a right operand. For the EXISTS and NOT_EXISTS operators, omit the right operand.

Contents

left

The metadata key that the expression evaluates.

Type: AgenticRetrieveMemoryMetadataFilterLeft object

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

Required: Yes

operator

The relationship that the metadata key and value must have for a memory record to match.

Type: String

Valid Values: EQUALS_TO | EXISTS | NOT_EXISTS | BEFORE | AFTER | CONTAINS | GREATER_THAN | GREATER_THAN_OR_EQUALS | LESS_THAN | LESS_THAN_OR_EQUALS

Required: Yes

right

The value that the expression compares the metadata key against. Supply this value for every operator except EXISTS and NOT_EXISTS.

Type: AgenticRetrieveMemoryMetadataFilterRight object

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

Required: No

See Also

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