Skip to content

InlineCustomDocumentEnrichmentConfiguration

Source code in docs_src/capo_kendra/types/inline_custom_document_enrichment_configuration.py
class InlineCustomDocumentEnrichmentConfiguration(TypedDict, closed=True):
    condition: NotRequired[
        "capo_kendra.types.document_attribute_condition.DocumentAttributeCondition"
    ]
    """<p>Configuration of the condition used for the target document attribute or metadata field when ingesting documents into Amazon Kendra.</p>"""
    target: NotRequired[
        "capo_kendra.types.document_attribute_target.DocumentAttributeTarget"
    ]
    """<p>Configuration of the target document attribute or metadata field when ingesting documents into Amazon Kendra. You can also include a value.</p>"""
    document_content_deletion: "capo_kendra.types.boolean.Boolean"
    """<p> <code>TRUE</code> to delete content if the condition used for the target attribute is met.</p>"""

condition instance-attribute

condition: NotRequired[DocumentAttributeCondition]

Configuration of the condition used for the target document attribute or metadata field when ingesting documents into Amazon Kendra.

document_content_deletion instance-attribute

document_content_deletion: Boolean

TRUE to delete content if the condition used for the target attribute is met.

target instance-attribute

target: NotRequired[DocumentAttributeTarget]

Configuration of the target document attribute or metadata field when ingesting documents into Amazon Kendra. You can also include a value.