You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::IoT::Types::Statistics

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

A map of key-value pairs for all supported statistics. Currently, only count is supported.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#average ⇒ Float

The average of the aggregated field values.

Returns:

  • (Float) —

    The average of the aggregated field values.

#count ⇒ Integer

The count of things that match the query.

Returns:

  • (Integer) —

    The count of things that match the query.

#maximum ⇒ Float

The maximum aggregated field value.

Returns:

  • (Float) —

    The maximum aggregated field value.

#minimum ⇒ Float

The minimum aggregated field value.

Returns:

  • (Float) —

    The minimum aggregated field value.

#std_deviation ⇒ Float

The standard deviation of the aggregated field values.

Returns:

  • (Float) —

    The standard deviation of the aggregated field values.

#sum ⇒ Float

The sum of the aggregated field values.

Returns:

  • (Float) —

    The sum of the aggregated field values.

#sum_of_squares ⇒ Float

The sum of the squares of the aggregated field values.

Returns:

  • (Float) —

    The sum of the squares of the aggregated field values.

#variance ⇒ Float

The variance of the aggregated field values.

Returns:

  • (Float) —

    The variance of the aggregated field values.