class Amazonite::CloudWatch::InsightRuleMetricDatapoint

Overview

One data point from the metric time series returned in a Contributor Insights rule report.

For more information, see GetInsightRuleReport.

Included Modules

Defined in:

cloudwatch/insight_rule_metric_datapoint.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(timestamp : Time, unique_contributors : Float64 | Nil = nil, max_contributor_value : Float64 | Nil = nil, sample_count : Float64 | Nil = nil, average : Float64 | Nil = nil, sum : Float64 | Nil = nil, minimum : Float64 | Nil = nil, maximum : Float64 | Nil = nil) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def average : Float64 | Nil #

The average value from all contributors during the time period represented by that data point.

This statistic is returned only if you included it in the Metrics array in your request.


[View source]
def average=(average : Float64 | Nil) #

The average value from all contributors during the time period represented by that data point.

This statistic is returned only if you included it in the Metrics array in your request.


[View source]
def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def max_contributor_value : Float64 | Nil #

The maximum value provided by one contributor during this timestamp. Each timestamp is evaluated separately, so the identity of the max contributor could be different for each timestamp.

This statistic is returned only if you included it in the Metrics array in your request.


[View source]
def max_contributor_value=(max_contributor_value : Float64 | Nil) #

The maximum value provided by one contributor during this timestamp. Each timestamp is evaluated separately, so the identity of the max contributor could be different for each timestamp.

This statistic is returned only if you included it in the Metrics array in your request.


[View source]
def maximum : Float64 | Nil #

The maximum value from a single occurence from a single contributor during the time period represented by that data point.

This statistic is returned only if you included it in the Metrics array in your request.


[View source]
def maximum=(maximum : Float64 | Nil) #

The maximum value from a single occurence from a single contributor during the time period represented by that data point.

This statistic is returned only if you included it in the Metrics array in your request.


[View source]
def minimum : Float64 | Nil #

The minimum value from a single contributor during the time period represented by that data point.

This statistic is returned only if you included it in the Metrics array in your request.


[View source]
def minimum=(minimum : Float64 | Nil) #

The minimum value from a single contributor during the time period represented by that data point.

This statistic is returned only if you included it in the Metrics array in your request.


[View source]
def sample_count : Float64 | Nil #

The number of occurrences that matched the rule during this data point.

This statistic is returned only if you included it in the Metrics array in your request.


[View source]
def sample_count=(sample_count : Float64 | Nil) #

The number of occurrences that matched the rule during this data point.

This statistic is returned only if you included it in the Metrics array in your request.


[View source]
def sum : Float64 | Nil #

The sum of the values from all contributors during the time period represented by that data point.

This statistic is returned only if you included it in the Metrics array in your request.


[View source]
def sum=(sum : Float64 | Nil) #

The sum of the values from all contributors during the time period represented by that data point.

This statistic is returned only if you included it in the Metrics array in your request.


[View source]
def timestamp : Time #

The timestamp of the data point.


[View source]
def timestamp=(timestamp : Time) #

The timestamp of the data point.


[View source]
def unique_contributors : Float64 | Nil #

The number of unique contributors who published data during this timestamp.

This statistic is returned only if you included it in the Metrics array in your request.


[View source]
def unique_contributors=(unique_contributors : Float64 | Nil) #

The number of unique contributors who published data during this timestamp.

This statistic is returned only if you included it in the Metrics array in your request.


[View source]
def validate! : Nil #

[View source]