class Aws::IoT::Types::UpdateFleetMetricRequest


@return [Integer]
The expected version of the fleet metric record in the registry.
@!attribute [rw] expected_version
@return [String]<br>: docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_MetricDatum.html<br><br><br><br>The unit must be supported by [CW metric].
Used to support unit transformation such as milliseconds to seconds.
@!attribute [rw] unit
@return [String]
The name of the index to search.
@!attribute [rw] index_name
@return [String]
The version of the query.
@!attribute [rw] query_version
@return [String]
The description of the fleet metric.
@!attribute [rw] description
@return [String]
The field to aggregate.
@!attribute [rw] aggregation_field
@return [Integer]
min), 86400(1 day)] and must be multiple of 60.
The time in seconds between fleet metric emissions. Range [60(1
@!attribute [rw] period
@return [Types::AggregationType]
The type of the aggregation query.
@!attribute [rw] aggregation_type
@return [String]
The search query string.
@!attribute [rw] query_string
@return [String]
The name of the fleet metric to update.
@!attribute [rw] metric_name
}
expected_version: 1,
unit: “Seconds”, # accepts Seconds, Microseconds, Milliseconds, Bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, Bits, Kilobits, Megabits, Gigabits, Terabits, Percent, Count, Bytes/Second, Kilobytes/Second, Megabytes/Second, Gigabytes/Second, Terabytes/Second, Bits/Second, Kilobits/Second, Megabits/Second, Gigabits/Second, Terabits/Second, Count/Second, None
index_name: “IndexName”, # required
query_version: “QueryVersion”,
description: “FleetMetricDescription”,
aggregation_field: “AggregationField”,
period: 1,
},
values: [“AggregationTypeValue”],
name: “Statistics”, # required, accepts Statistics, Percentiles, Cardinality
aggregation_type: {
query_string: “QueryString”,
metric_name: “FleetMetricName”, # required
{
data as a hash:
@note When making an API call, you may pass UpdateFleetMetricRequest