AgenticRetrieveMemoryMetadataFilter¶
Structure Class¶
AgenticRetrieveMemoryMetadataFilter
dataclass
¶
Bases: _SerdeShape
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.
Attributes¶
left
instance-attribute
¶
The metadata key that the expression evaluates.
operator
instance-attribute
¶
operator: str
The relationship that the metadata key and value must have for a memory record to match.
right
class-attribute
instance-attribute
¶
right: AgenticRetrieveMemoryMetadataFilterRight | None = ...
The value that the expression compares the metadata key against. Supply this value for every operator except EXISTS and NOT_EXISTS.