class Amazonite::CloudWatch::GetInsightRuleReportOutput

Included Modules

Defined in:

cloudwatch/get_insight_rule_report_output.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(key_labels : Array(String) | Nil = nil, aggregation_statistic : String | Nil = nil, aggregate_value : Float64 | Nil = nil, approximate_unique_count : Int64 | Nil = nil, contributors : Array(InsightRuleContributor) | Nil = nil, metric_datapoints : Array(InsightRuleMetricDatapoint) | Nil = nil) #

[View source]
def self.new(*, __pull_for_json_serializable pull : JSON::PullParser) #

[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 aggregate_value : Float64 | Nil #

The sum of the values from all individual contributors that match the rule.


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

The sum of the values from all individual contributors that match the rule.


[View source]
def aggregation_statistic : String | Nil #

Specifies whether this rule aggregates contributor data by COUNT or SUM.


[View source]
def aggregation_statistic=(aggregation_statistic : String | Nil) #

Specifies whether this rule aggregates contributor data by COUNT or SUM.


[View source]
def approximate_unique_count : Int64 | Nil #

An approximate count of the unique contributors found by this rule in this time period.


[View source]
def approximate_unique_count=(approximate_unique_count : Int64 | Nil) #

An approximate count of the unique contributors found by this rule in this time period.


[View source]
def contributors : Array(InsightRuleContributor) | Nil #

An array of the unique contributors found by this rule in this time period. If the rule contains multiple keys, each combination of values for the keys counts as a unique contributor.


[View source]
def contributors=(contributors : Array(InsightRuleContributor) | Nil) #

An array of the unique contributors found by this rule in this time period. If the rule contains multiple keys, each combination of values for the keys counts as a unique contributor.


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

See Object#hash(hasher)


def key_labels : Array(String) | Nil #

An array of the strings used as the keys for this rule. The keys are the dimensions used to classify contributors. If the rule contains more than one key, then each unique combination of values for the keys is counted as a unique contributor.


[View source]
def key_labels=(key_labels : Array(String) | Nil) #

An array of the strings used as the keys for this rule. The keys are the dimensions used to classify contributors. If the rule contains more than one key, then each unique combination of values for the keys is counted as a unique contributor.


[View source]
def metric_datapoints : Array(InsightRuleMetricDatapoint) | Nil #

A time series of metric data points that matches the time period in the rule request.


[View source]
def metric_datapoints=(metric_datapoints : Array(InsightRuleMetricDatapoint) | Nil) #

A time series of metric data points that matches the time period in the rule request.


[View source]
def validate! : Nil #

[View source]