Skip to content

TopBottomRankedComputation

Source code in docs_src/capo_quicksight/types/top_bottom_ranked_computation.py
class TopBottomRankedComputation(TypedDict, closed=True):
    computation_id: (
        "capo_quicksight.types.short_restrictive_resource_id.ShortRestrictiveResourceId"
    )
    """<p>The ID for a computation.</p>"""
    name: NotRequired["capo_quicksight.types.string.String"]
    """<p>The name of a computation.</p>"""
    category: NotRequired["capo_quicksight.types.dimension_field.DimensionField"]
    """<p>The category field that is used in a computation.</p>"""
    value: NotRequired["capo_quicksight.types.measure_field.MeasureField"]
    """<p>The value field that is used in a computation.</p>"""
    result_size: NotRequired[
        "capo_quicksight.types.top_bottom_ranked_computation_result_size.TopBottomRankedComputationResultSize"
    ]
    """<p>The result size of a top and bottom ranked computation.</p>"""
    type: "capo_quicksight.types.top_bottom_computation_type.TopBottomComputationType"
    """<p>The computation type. Choose one of the following options:</p> <ul> <li> <p>TOP: A top ranked computation.</p> </li> <li> <p>BOTTOM: A bottom ranked computation.</p> </li> </ul>"""

category instance-attribute

category: NotRequired[DimensionField]

The category field that is used in a computation.

computation_id instance-attribute

The ID for a computation.

name instance-attribute

name: NotRequired[String]

The name of a computation.

result_size instance-attribute

result_size: NotRequired[TopBottomRankedComputationResultSize]

The result size of a top and bottom ranked computation.

type instance-attribute

The computation type. Choose one of the following options:

  • TOP: A top ranked computation.

  • BOTTOM: A bottom ranked computation.

value instance-attribute

value: NotRequired[MeasureField]

The value field that is used in a computation.