Skip to content

InsightField

Source code in docs_src/capo_opensearch/types/insight_field.py
class InsightField(TypedDict, closed=True):
    name: "capo_opensearch.types.string.String"
    """<p>The name of the insight field.</p>"""
    type: "capo_opensearch.types.insight_field_type.InsightFieldType"
    """<p>The type of the insight field. Possible values are <code>text</code> and <code>metric</code>.</p>"""
    value: "capo_opensearch.types.string.String"
    """<p>The value of the insight field.</p>"""

name instance-attribute

name: String

The name of the insight field.

type instance-attribute

The type of the insight field. Possible values are text and metric.

value instance-attribute

value: String

The value of the insight field.