UpdateFleetMetricRequest
¶
Source code in docs_src/capo_iot/types/update_fleet_metric_request.py
aggregation_field
instance-attribute
¶
aggregation_field: NotRequired[AggregationField]
The field to aggregate.
aggregation_type
instance-attribute
¶
aggregation_type: NotRequired[AggregationType]
The type of the aggregation query.
description
instance-attribute
¶
description: NotRequired[FleetMetricDescription]
The description of the fleet metric.
expected_version
instance-attribute
¶
expected_version: NotRequired[OptionalVersion]
The expected version of the fleet metric record in the registry.
metric_name
instance-attribute
¶
metric_name: FleetMetricName
The name of the fleet metric to update.
period
instance-attribute
¶
period: NotRequired[FleetMetricPeriod]
The time in seconds between fleet metric emissions. Range [60(1 min), 86400(1 day)] and must be multiple of 60.
query_version
instance-attribute
¶
query_version: NotRequired[QueryVersion]
The version of the query.
unit
instance-attribute
¶
unit: NotRequired[FleetMetricUnit]
Used to support unit transformation such as milliseconds to seconds. The unit must be supported by CW metric.