Skip to content

CalculationComponent

Source code in docs_src/capo_connect/types/calculation_component.py
class CalculationComponent(TypedDict, closed=True):
    alias: "capo_connect.types.component_alias.ComponentAlias"
    """<p>The alias used to reference this component in the calculation expression.</p>"""
    metric_name: NotRequired["capo_connect.types.metric_name.MetricName"]
    """<p>The name of an AWS-managed metric used in this calculation component (for example, <code>CONTACTS_HANDLED</code>). Mutually exclusive with <code>MetricId</code>.</p>"""
    metric_id: NotRequired["capo_connect.types.metric_id.MetricId"]
    """<p>The ARN of an AWS-managed metric used in this calculation component. Mutually exclusive with <code>MetricName</code>.</p>"""
    metric_filters: NotRequired[
        "capo_connect.types.metric_filter_list.MetricFilterList"
    ]
    """<p>The filters applied to the calculation component.</p>"""

alias instance-attribute

The alias used to reference this component in the calculation expression.

metric_filters instance-attribute

metric_filters: NotRequired[MetricFilterList]

The filters applied to the calculation component.

metric_id instance-attribute

metric_id: NotRequired[MetricId]

The ARN of an AWS-managed metric used in this calculation component. Mutually exclusive with MetricName.

metric_name instance-attribute

metric_name: NotRequired[MetricName]

The name of an AWS-managed metric used in this calculation component (for example, CONTACTS_HANDLED). Mutually exclusive with MetricId.