class Amazonite::CloudWatch::ListMetricsInput

Included Modules

Defined in:

cloudwatch/list_metrics_input.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(namespace : String | Nil = nil, metric_name : String | Nil = nil, dimensions : Array(DimensionFilter) | Nil = nil, next_token : String | Nil = nil, recently_active : RecentlyActive | Nil = nil, include_linked_accounts : Bool | Nil = nil, owning_account : String | 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 dimensions : Array(DimensionFilter) | Nil #

The dimensions to filter against. Only the dimension with names that match exactly will be returned. If you specify one dimension name and a metric has that dimension and also other dimensions, it will be returned.


[View source]
def dimensions=(dimensions : Array(DimensionFilter) | Nil) #

The dimensions to filter against. Only the dimension with names that match exactly will be returned. If you specify one dimension name and a metric has that dimension and also other dimensions, it will be returned.


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

See Object#hash(hasher)


def include_linked_accounts : Bool | Nil #

If you are using this operation in a monitoring account, specify true to include metrics from source accounts in the returned data.

The default is false.


[View source]
def include_linked_accounts=(include_linked_accounts : Bool | Nil) #

If you are using this operation in a monitoring account, specify true to include metrics from source accounts in the returned data.

The default is false.


[View source]
def metric_name : String | Nil #

The name of the metric to filter against. Only the metrics with names that match exactly will be returned.


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

The name of the metric to filter against. Only the metrics with names that match exactly will be returned.


[View source]
def namespace : String | Nil #

The metric namespace to filter against. Only the namespace that matches exactly will be returned.


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

The metric namespace to filter against. Only the namespace that matches exactly will be returned.


[View source]
def next_token : String | Nil #

The token returned by a previous call to indicate that there is more data available.


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

The token returned by a previous call to indicate that there is more data available.


[View source]
def owning_account : String | Nil #

When you use this operation in a monitoring account, use this field to return metrics only from one source account. To do so, specify that source account ID in this field, and also specify true for IncludeLinkedAccounts.


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

When you use this operation in a monitoring account, use this field to return metrics only from one source account. To do so, specify that source account ID in this field, and also specify true for IncludeLinkedAccounts.


[View source]
def recently_active : RecentlyActive | Nil #

To filter the results to show only metrics that have had data points published in the past three hours, specify this parameter with a value of PT3H. This is the only valid value for this parameter.

The results that are returned are an approximation of the value you specify. There is a low probability that the returned results include metrics with last published data as much as 50 minutes more than the specified time interval.


[View source]
def recently_active=(recently_active : RecentlyActive | Nil) #

To filter the results to show only metrics that have had data points published in the past three hours, specify this parameter with a value of PT3H. This is the only valid value for this parameter.

The results that are returned are an approximation of the value you specify. There is a low probability that the returned results include metrics with last published data as much as 50 minutes more than the specified time interval.


[View source]
def validate! : Nil #

[View source]