class Amazonite::CloudWatch::DescribeAlarmHistoryInput

Included Modules

Defined in:

cloudwatch/describe_alarm_history_input.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(alarm_name : String | Nil = nil, alarm_contributor_id : String | Nil = nil, alarm_types : Array(AlarmType) | Nil = nil, history_item_type : HistoryItemType | Nil = nil, start_date : Time | Nil = nil, end_date : Time | Nil = nil, max_records : Int32 | Nil = nil, next_token : String | Nil = nil, scan_by : ScanBy | 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 alarm_contributor_id : String | Nil #

The unique identifier of a specific alarm contributor to filter the alarm history results.


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

The unique identifier of a specific alarm contributor to filter the alarm history results.


[View source]
def alarm_name : String | Nil #

The name of the alarm.


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

The name of the alarm.


[View source]
def alarm_types : Array(AlarmType) | Nil #

Use this parameter to specify whether you want the operation to return metric alarms, composite alarms, or log alarms. If you omit this parameter, only metric alarms are returned.


[View source]
def alarm_types=(alarm_types : Array(AlarmType) | Nil) #

Use this parameter to specify whether you want the operation to return metric alarms, composite alarms, or log alarms. If you omit this parameter, only metric alarms are returned.


[View source]
def end_date : Time | Nil #

The ending date to retrieve alarm history.


[View source]
def end_date=(end_date : Time | Nil) #

The ending date to retrieve alarm history.


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

See Object#hash(hasher)


def history_item_type : HistoryItemType | Nil #

The type of alarm histories to retrieve.


[View source]
def history_item_type=(history_item_type : HistoryItemType | Nil) #

The type of alarm histories to retrieve.


[View source]
def max_records : Int32 | Nil #

The maximum number of alarm history records to retrieve.


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

The maximum number of alarm history records to retrieve.


[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 scan_by : ScanBy | Nil #

Specified whether to return the newest or oldest alarm history first. Specify TimestampDescending to have the newest event history returned first, and specify TimestampAscending to have the oldest history returned first.


[View source]
def scan_by=(scan_by : ScanBy | Nil) #

Specified whether to return the newest or oldest alarm history first. Specify TimestampDescending to have the newest event history returned first, and specify TimestampAscending to have the oldest history returned first.


[View source]
def start_date : Time | Nil #

The starting date to retrieve alarm history.


[View source]
def start_date=(start_date : Time | Nil) #

The starting date to retrieve alarm history.


[View source]
def validate! : Nil #

[View source]