Skip to content

EC2  >  Structures  >  MetricDataResult

MetricDataResult

Structure Class

MetricDataResult dataclass

Bases: _SerdeShape

Contains a single data point from a capacity metrics query, including the dimension values, timestamp, and metric values for that specific combination.

Attributes

dimension class-attribute instance-attribute
dimension: CapacityManagerDimension | None = ...

The dimension values that identify this specific data point, such as account ID, region, and instance family.

metric_values class-attribute instance-attribute
metric_values: list[MetricValue] | None = ...

The metric values and statistics for this data point, containing the actual capacity usage numbers.

timestamp class-attribute instance-attribute
timestamp: datetime | None = ...

The timestamp for this data point, indicating when the capacity usage occurred.