class Amazonite::CloudWatch::GetMetricDataOutput

Included Modules

Defined in:

cloudwatch/get_metric_data_output.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(metric_data_results : Array(MetricDataResult) | Nil = nil, next_token : String | Nil = nil, messages : Array(MessageData) | 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 hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def messages : Array(MessageData) | Nil #

Contains a message about this GetMetricData operation, if the operation results in such a message. An example of a message that might be returned is Maximum number of allowed metrics exceeded. If there is a message, as much of the operation as possible is still executed.

A message appears here only if it is related to the global GetMetricData operation. Any message about a specific metric returned by the operation appears in the MetricDataResult object returned for that metric.


[View source]
def messages=(messages : Array(MessageData) | Nil) #

Contains a message about this GetMetricData operation, if the operation results in such a message. An example of a message that might be returned is Maximum number of allowed metrics exceeded. If there is a message, as much of the operation as possible is still executed.

A message appears here only if it is related to the global GetMetricData operation. Any message about a specific metric returned by the operation appears in the MetricDataResult object returned for that metric.


[View source]
def metric_data_results : Array(MetricDataResult) | Nil #

The metrics that are returned, including the metric name, namespace, and dimensions.


[View source]
def metric_data_results=(metric_data_results : Array(MetricDataResult) | Nil) #

The metrics that are returned, including the metric name, namespace, and dimensions.


[View source]
def next_token : String | Nil #

A token that marks the next batch of returned results.


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

A token that marks the next batch of returned results.


[View source]
def validate! : Nil #

[View source]