CreateFleetMetricRequest
¶
Source code in docs_src/capo_iot/types/create_fleet_metric_request.py
aggregation_type
instance-attribute
¶
aggregation_type: AggregationType
The type of the aggregation query.
description
instance-attribute
¶
description: NotRequired[FleetMetricDescription]
The fleet metric description.
metric_name
instance-attribute
¶
metric_name: FleetMetricName
The name of the fleet metric to create.
period
instance-attribute
¶
period: FleetMetricPeriod
The time in seconds between fleet metric emissions. Range [60(1 min), 86400(1 day)] and must be multiple of 60.
tags
instance-attribute
¶
tags: NotRequired[TagList]
Metadata, which can be used to manage the fleet metric.
unit
instance-attribute
¶
unit: NotRequired[FleetMetricUnit]
Used to support unit transformation such as milliseconds to seconds. The unit must be supported by CW metric. Default to null.