Skip to content

MetricValue

Source code in docs_src/capo_ec2/types/metric_value.py
class MetricValue(TypedDict, closed=True):
    metric: NotRequired["capo_ec2.types.metric.Metric"]
    """<p> The name of the metric. </p>"""
    value: NotRequired["capo_ec2.types.double.Double"]
    """<p> The numerical value of the metric for the specified statistic and time period. </p>"""

metric instance-attribute

metric: NotRequired[Metric]

The name of the metric.

value instance-attribute

value: NotRequired[Double]

The numerical value of the metric for the specified statistic and time period.