class Amazonite::CloudWatch::ListMetricsOutput

Included Modules

Defined in:

cloudwatch/list_metrics_output.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(metrics : Array(Metric) | Nil = nil, next_token : String | Nil = nil, owning_accounts : Array(String) | 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 metrics : Array(Metric) | Nil #

The metrics that match your request.


[View source]
def metrics=(metrics : Array(Metric) | Nil) #

The metrics that match your request.


[View source]
def next_token : String | Nil #

The token that marks the start of the next batch of returned results.


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

The token that marks the start of the next batch of returned results.


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

If you are using this operation in a monitoring account, this array contains the account IDs of the source accounts where the metrics in the returned data are from.

This field is a 1:1 mapping between each metric that is returned and the ID of the owning account.


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

If you are using this operation in a monitoring account, this array contains the account IDs of the source accounts where the metrics in the returned data are from.

This field is a 1:1 mapping between each metric that is returned and the ID of the owning account.


[View source]
def validate! : Nil #

[View source]