class Amazonite::CloudWatch::InsightRuleContributor

Overview

One of the unique contributors found by a Contributor Insights rule. If the rule contains multiple keys, then a unique contributor is a unique combination of values from all the keys in the rule.

If the rule contains a single key, then each unique contributor is each unique value for this key.

For more information, see GetInsightRuleReport.

Included Modules

Defined in:

cloudwatch/insight_rule_contributor.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(keys : Array(String), approximate_aggregate_value : Float64, datapoints : Array(InsightRuleContributorDatapoint)) #

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

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

An approximation of the aggregate value that comes from this contributor.


[View source]
def approximate_aggregate_value=(approximate_aggregate_value : Float64) #

An approximation of the aggregate value that comes from this contributor.


[View source]
def datapoints : Array(InsightRuleContributorDatapoint) #

An array of the data points where this contributor is present. Only the data points when this contributor appeared are included in the array.


[View source]
def datapoints=(datapoints : Array(InsightRuleContributorDatapoint)) #

An array of the data points where this contributor is present. Only the data points when this contributor appeared are included in the array.


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

See Object#hash(hasher)


def keys : Array(String) #

One of the log entry field keywords that is used to define contributors for this rule.


[View source]
def keys=(keys : Array(String)) #

One of the log entry field keywords that is used to define contributors for this rule.


[View source]
def validate! : Nil #

[View source]