class Amazonite::CloudWatch::DescribeAlarmsForMetricInput

Included Modules

Defined in:

cloudwatch/describe_alarms_for_metric_input.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(metric_name : String, namespace : String, statistic : Statistic | Nil = nil, extended_statistic : String | Nil = nil, dimensions : Array(Dimension) | Nil = nil, period : Int32 | Nil = nil, unit : StandardUnit | Nil = nil) #

[View source]
def self.new(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(Dimension) | Nil #

The dimensions associated with the metric. If the metric has any associated dimensions, you must specify them in order for the call to succeed.


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

The dimensions associated with the metric. If the metric has any associated dimensions, you must specify them in order for the call to succeed.


[View source]
def extended_statistic : String | Nil #

The percentile statistic for the metric. Specify a value between p0.0 and p100.


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

The percentile statistic for the metric. Specify a value between p0.0 and p100.


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

See Object#hash(hasher)


def metric_name : String #

The name of the metric.


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

The name of the metric.


[View source]
def namespace : String #

The namespace of the metric.


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

The namespace of the metric.


[View source]
def period : Int32 | Nil #

The period, in seconds, over which the statistic is applied.


[View source]
def period=(period : Int32 | Nil) #

The period, in seconds, over which the statistic is applied.


[View source]
def statistic : Statistic | Nil #

The statistic for the metric, other than percentiles. For percentile statistics, use ExtendedStatistics.


[View source]
def statistic=(statistic : Statistic | Nil) #

The statistic for the metric, other than percentiles. For percentile statistics, use ExtendedStatistics.


[View source]
def unit : StandardUnit | Nil #

The unit for the metric.


[View source]
def unit=(unit : StandardUnit | Nil) #

The unit for the metric.


[View source]
def validate! : Nil #

[View source]