Class: Aws::CloudWatch::Types::DescribeAlarmHistoryInput
- Inherits:
-
Struct
- Object
- Struct
- Aws::CloudWatch::Types::DescribeAlarmHistoryInput
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-cloudwatch/types.rb
Overview
Note:
When making an API call, you may pass DescribeAlarmHistoryInput data as a hash:
{
alarm_name: "AlarmName",
history_item_type: "ConfigurationUpdate", # accepts ConfigurationUpdate, StateUpdate, Action
start_date: Time.now,
end_date: Time.now,
max_records: 1,
next_token: "NextToken",
}
Instance Attribute Summary collapse
-
#alarm_name ⇒ String
The name of the alarm.
-
#end_date ⇒ Time
The ending date to retrieve alarm history.
-
#history_item_type ⇒ String
The type of alarm histories to retrieve.
-
#max_records ⇒ Integer
The maximum number of alarm history records to retrieve.
-
#next_token ⇒ String
The token returned by a previous call to indicate that there is more data available.
-
#start_date ⇒ Time
The starting date to retrieve alarm history.
Instance Attribute Details
#alarm_name ⇒ String
The name of the alarm.
221 222 223 224 225 226 227 228 229 |
# File 'lib/aws-sdk-cloudwatch/types.rb', line 221 class DescribeAlarmHistoryInput < Struct.new( :alarm_name, :history_item_type, :start_date, :end_date, :max_records, :next_token) include Aws::Structure end |
#end_date ⇒ Time
The ending date to retrieve alarm history.
221 222 223 224 225 226 227 228 229 |
# File 'lib/aws-sdk-cloudwatch/types.rb', line 221 class DescribeAlarmHistoryInput < Struct.new( :alarm_name, :history_item_type, :start_date, :end_date, :max_records, :next_token) include Aws::Structure end |
#history_item_type ⇒ String
The type of alarm histories to retrieve.
221 222 223 224 225 226 227 228 229 |
# File 'lib/aws-sdk-cloudwatch/types.rb', line 221 class DescribeAlarmHistoryInput < Struct.new( :alarm_name, :history_item_type, :start_date, :end_date, :max_records, :next_token) include Aws::Structure end |
#max_records ⇒ Integer
The maximum number of alarm history records to retrieve.
221 222 223 224 225 226 227 228 229 |
# File 'lib/aws-sdk-cloudwatch/types.rb', line 221 class DescribeAlarmHistoryInput < Struct.new( :alarm_name, :history_item_type, :start_date, :end_date, :max_records, :next_token) include Aws::Structure end |
#next_token ⇒ String
The token returned by a previous call to indicate that there is more data available.
221 222 223 224 225 226 227 228 229 |
# File 'lib/aws-sdk-cloudwatch/types.rb', line 221 class DescribeAlarmHistoryInput < Struct.new( :alarm_name, :history_item_type, :start_date, :end_date, :max_records, :next_token) include Aws::Structure end |
#start_date ⇒ Time
The starting date to retrieve alarm history.
221 222 223 224 225 226 227 228 229 |
# File 'lib/aws-sdk-cloudwatch/types.rb', line 221 class DescribeAlarmHistoryInput < Struct.new( :alarm_name, :history_item_type, :start_date, :end_date, :max_records, :next_token) include Aws::Structure end |