Skip to content

DocumentAttributeConditionDict

Dictionary Type

DocumentAttributeConditionDict

Bases: TypedDict

Dictionary form of DocumentAttributeCondition.

Attributes

key instance-attribute
key: Required[str]

The identifier of the document attribute used for the condition.

For example, 'Source_URI' could be an identifier for the attribute or metadata field that contains source URIs associated with the documents.

Amazon Q Business currently doesn't support _document_body as an attribute key used for the condition.

operator instance-attribute
operator: Required[str]

The identifier of the document attribute used for the condition.

For example, 'Source_URI' could be an identifier for the attribute or metadata field that contains source URIs associated with the documents.

Amazon Q Business currently does not support _document_body as an attribute key used for the condition.

value instance-attribute

The value of a document attribute. You can only provide one value for a document attribute.