getStatistics

inline suspend fun IotClient.getStatistics(crossinline block: GetStatisticsRequest.Builder.() -> Unit): GetStatisticsResponse

Returns the count, average, sum, minimum, maximum, sum of squares, variance, and standard deviation for the specified aggregated field. If the aggregation field is of type String, only the count statistic is returned.

Requires permission to access the GetStatistics action.