Skip to content

MetricDatum

Source code in docs_src/capo_mwaa/types/metric_datum.py
class MetricDatum(TypedDict, closed=True):
    metric_name: "str"
    """<p> <b>Internal only</b>. The name of the metric.</p>"""
    timestamp: "datetime.datetime"
    """<p> <b>Internal only</b>. The time the metric data was received, expressed as an ISO 8601 datetime string.</p>"""
    dimensions: NotRequired["capo_mwaa.types.dimensions.Dimensions"]
    """<p> <b>Internal only</b>. The dimensions associated with the metric.</p>"""
    value: NotRequired["float"]
    """<p> <b>Internal only</b>. The value for the metric.</p>"""
    unit: NotRequired["capo_mwaa.types.unit.Unit"]
    """<p> <b>Internal only</b>. The unit used to store the metric.</p>"""
    statistic_values: NotRequired["capo_mwaa.types.statistic_set.StatisticSet"]
    """<p> <b>Internal only</b>. The statistical values for the metric.</p>"""

dimensions instance-attribute

dimensions: NotRequired[Dimensions]

Internal only. The dimensions associated with the metric.

metric_name instance-attribute

metric_name: str

Internal only. The name of the metric.

statistic_values instance-attribute

statistic_values: NotRequired[StatisticSet]

Internal only. The statistical values for the metric.

timestamp instance-attribute

timestamp: datetime

Internal only. The time the metric data was received, expressed as an ISO 8601 datetime string.

unit instance-attribute

unit: NotRequired[Unit]

Internal only. The unit used to store the metric.

value instance-attribute

value: NotRequired[float]

Internal only. The value for the metric.