aws-sdk-cloudwatch 1.140.0 → 1.142.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -72,6 +72,7 @@ module Aws::CloudWatch
72
72
  # | alarm_exists | {Client#describe_alarms} | 5 | 40 |
73
73
  # | alarm_mute_rule_exists | {Client#get_alarm_mute_rule} | 5 | 40 |
74
74
  # | composite_alarm_exists | {Client#describe_alarms} | 5 | 40 |
75
+ # | log_alarm_exists | {Client#describe_alarms} | 5 | 40 |
75
76
  #
76
77
  module Waiters
77
78
 
@@ -188,5 +189,41 @@ module Aws::CloudWatch
188
189
  attr_reader :waiter
189
190
 
190
191
  end
192
+
193
+ class LogAlarmExists
194
+
195
+ # @param [Hash] options
196
+ # @option options [required, Client] :client
197
+ # @option options [Integer] :max_attempts (40)
198
+ # @option options [Integer] :delay (5)
199
+ # @option options [Proc] :before_attempt
200
+ # @option options [Proc] :before_wait
201
+ def initialize(options)
202
+ @client = options.fetch(:client)
203
+ @waiter = Aws::Waiters::Waiter.new({
204
+ max_attempts: 40,
205
+ delay: 5,
206
+ poller: Aws::Waiters::Poller.new(
207
+ operation_name: :describe_alarms,
208
+ acceptors: [{
209
+ "matcher" => "path",
210
+ "expected" => true,
211
+ "argument" => "length(log_alarms[]) > `0`",
212
+ "state" => "success"
213
+ }]
214
+ )
215
+ }.merge(options))
216
+ end
217
+
218
+ # @option (see Client#describe_alarms)
219
+ # @return (see Client#describe_alarms)
220
+ def wait(params = {})
221
+ @waiter.wait(client: @client, params: params)
222
+ end
223
+
224
+ # @api private
225
+ attr_reader :waiter
226
+
227
+ end
191
228
  end
192
229
  end
@@ -58,7 +58,7 @@ module Aws::CloudWatch
58
58
  autoload :CompositeAlarm, 'aws-sdk-cloudwatch/composite_alarm'
59
59
  autoload :Metric, 'aws-sdk-cloudwatch/metric'
60
60
 
61
- GEM_VERSION = '1.140.0'
61
+ GEM_VERSION = '1.142.0'
62
62
 
63
63
  end
64
64
 
data/sig/alarm.rbs CHANGED
@@ -102,6 +102,9 @@ module Aws
102
102
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatch/Alarm.html#state_transitioned_timestamp-instance_method
103
103
  def state_transitioned_timestamp: () -> ::Time
104
104
 
105
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatch/Alarm.html#evaluation_window-instance_method
106
+ def evaluation_window: () -> Types::EvaluationWindow
107
+
105
108
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatch/Alarm.html#evaluation_criteria-instance_method
106
109
  def evaluation_criteria: () -> Types::EvaluationCriteria
107
110
 
@@ -136,7 +139,7 @@ module Aws
136
139
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatch/Alarm.html#describe_history-instance_method
137
140
  def describe_history: (
138
141
  ?alarm_contributor_id: ::String,
139
- ?alarm_types: Array[("CompositeAlarm" | "MetricAlarm")],
142
+ ?alarm_types: Array[("CompositeAlarm" | "MetricAlarm" | "LogAlarm")],
140
143
  ?history_item_type: ("ConfigurationUpdate" | "StateUpdate" | "Action" | "AlarmContributorStateUpdate" | "AlarmContributorAction"),
141
144
  ?start_date: ::Time,
142
145
  ?end_date: ::Time,
data/sig/client.rbs CHANGED
@@ -169,7 +169,7 @@ module Aws
169
169
  def describe_alarm_history: (
170
170
  ?alarm_name: ::String,
171
171
  ?alarm_contributor_id: ::String,
172
- ?alarm_types: Array[("CompositeAlarm" | "MetricAlarm")],
172
+ ?alarm_types: Array[("CompositeAlarm" | "MetricAlarm" | "LogAlarm")],
173
173
  ?history_item_type: ("ConfigurationUpdate" | "StateUpdate" | "Action" | "AlarmContributorStateUpdate" | "AlarmContributorAction"),
174
174
  ?start_date: ::Time,
175
175
  ?end_date: ::Time,
@@ -183,13 +183,14 @@ module Aws
183
183
  include ::Seahorse::Client::_ResponseSuccess[Types::DescribeAlarmsOutput]
184
184
  def composite_alarms: () -> ::Array[Types::CompositeAlarm]
185
185
  def metric_alarms: () -> ::Array[Types::MetricAlarm]
186
+ def log_alarms: () -> ::Array[Types::LogAlarm]
186
187
  def next_token: () -> ::String
187
188
  end
188
189
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatch/Client.html#describe_alarms-instance_method
189
190
  def describe_alarms: (
190
191
  ?alarm_names: Array[::String],
191
192
  ?alarm_name_prefix: ::String,
192
- ?alarm_types: Array[("CompositeAlarm" | "MetricAlarm")],
193
+ ?alarm_types: Array[("CompositeAlarm" | "MetricAlarm" | "LogAlarm")],
193
194
  ?children_of_alarm_name: ::String,
194
195
  ?parents_of_alarm_name: ::String,
195
196
  ?state_value: ("OK" | "ALARM" | "INSUFFICIENT_DATA"),
@@ -641,6 +642,48 @@ module Aws
641
642
  ) -> _PutInsightRuleResponseSuccess
642
643
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutInsightRuleResponseSuccess
643
644
 
645
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatch/Client.html#put_log_alarm-instance_method
646
+ def put_log_alarm: (
647
+ alarm_name: ::String,
648
+ ?alarm_description: ::String,
649
+ scheduled_query_configuration: {
650
+ query_string: ::String,
651
+ log_group_identifiers: Array[::String]?,
652
+ query_arn: ::String?,
653
+ scheduled_query_role_arn: ::String,
654
+ schedule_configuration: {
655
+ schedule_expression: ::String,
656
+ start_time_offset: ::Integer?,
657
+ end_time_offset: ::Integer?
658
+ },
659
+ aggregation_expression: ::String,
660
+ tags: Array[
661
+ {
662
+ key: ::String,
663
+ value: ::String
664
+ }
665
+ ]?
666
+ },
667
+ ?action_log_line_count: ::Integer,
668
+ ?action_log_line_role_arn: ::String,
669
+ ?actions_enabled: bool,
670
+ ?ok_actions: Array[::String],
671
+ ?alarm_actions: Array[::String],
672
+ ?insufficient_data_actions: Array[::String],
673
+ query_results_to_evaluate: ::Integer,
674
+ query_results_to_alarm: ::Integer,
675
+ threshold: ::Float,
676
+ comparison_operator: ("GreaterThanOrEqualToThreshold" | "GreaterThanThreshold" | "LessThanThreshold" | "LessThanOrEqualToThreshold" | "LessThanLowerOrGreaterThanUpperThreshold" | "LessThanLowerThreshold" | "GreaterThanUpperThreshold"),
677
+ ?treat_missing_data: ::String,
678
+ ?tags: Array[
679
+ {
680
+ key: ::String,
681
+ value: ::String
682
+ }
683
+ ]
684
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
685
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
686
+
644
687
  interface _PutManagedInsightRulesResponseSuccess
645
688
  include ::Seahorse::Client::_ResponseSuccess[Types::PutManagedInsightRulesOutput]
646
689
  def failures: () -> ::Array[Types::PartialFailure]
@@ -698,6 +741,13 @@ module Aws
698
741
  }
699
742
  ],
700
743
  ?threshold_metric_id: ::String,
744
+ ?evaluation_window: {
745
+ wall_clock_window: {
746
+ timezone: ::String?
747
+ }?,
748
+ sliding_window: {
749
+ }?
750
+ },
701
751
  ?evaluation_criteria: {
702
752
  prom_ql_criteria: {
703
753
  query: ::String,
@@ -845,7 +895,7 @@ module Aws
845
895
  def wait_until: (:alarm_exists waiter_name,
846
896
  ?alarm_names: Array[::String],
847
897
  ?alarm_name_prefix: ::String,
848
- ?alarm_types: Array[("CompositeAlarm" | "MetricAlarm")],
898
+ ?alarm_types: Array[("CompositeAlarm" | "MetricAlarm" | "LogAlarm")],
849
899
  ?children_of_alarm_name: ::String,
850
900
  ?parents_of_alarm_name: ::String,
851
901
  ?state_value: ("OK" | "ALARM" | "INSUFFICIENT_DATA"),
@@ -861,7 +911,7 @@ module Aws
861
911
  | (:composite_alarm_exists waiter_name,
862
912
  ?alarm_names: Array[::String],
863
913
  ?alarm_name_prefix: ::String,
864
- ?alarm_types: Array[("CompositeAlarm" | "MetricAlarm")],
914
+ ?alarm_types: Array[("CompositeAlarm" | "MetricAlarm" | "LogAlarm")],
865
915
  ?children_of_alarm_name: ::String,
866
916
  ?parents_of_alarm_name: ::String,
867
917
  ?state_value: ("OK" | "ALARM" | "INSUFFICIENT_DATA"),
@@ -870,6 +920,18 @@ module Aws
870
920
  ?next_token: ::String
871
921
  ) -> Client::_DescribeAlarmsResponseSuccess
872
922
  | (:composite_alarm_exists waiter_name, ?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_DescribeAlarmsResponseSuccess
923
+ | (:log_alarm_exists waiter_name,
924
+ ?alarm_names: Array[::String],
925
+ ?alarm_name_prefix: ::String,
926
+ ?alarm_types: Array[("CompositeAlarm" | "MetricAlarm" | "LogAlarm")],
927
+ ?children_of_alarm_name: ::String,
928
+ ?parents_of_alarm_name: ::String,
929
+ ?state_value: ("OK" | "ALARM" | "INSUFFICIENT_DATA"),
930
+ ?action_prefix: ::String,
931
+ ?max_records: ::Integer,
932
+ ?next_token: ::String
933
+ ) -> Client::_DescribeAlarmsResponseSuccess
934
+ | (:log_alarm_exists waiter_name, ?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_DescribeAlarmsResponseSuccess
873
935
  end
874
936
  end
875
937
  end
@@ -100,7 +100,7 @@ module Aws
100
100
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatch/CompositeAlarm.html#describe_history-instance_method
101
101
  def describe_history: (
102
102
  ?alarm_contributor_id: ::String,
103
- ?alarm_types: Array[("CompositeAlarm" | "MetricAlarm")],
103
+ ?alarm_types: Array[("CompositeAlarm" | "MetricAlarm" | "LogAlarm")],
104
104
  ?history_item_type: ("ConfigurationUpdate" | "StateUpdate" | "Action" | "AlarmContributorStateUpdate" | "AlarmContributorAction"),
105
105
  ?start_date: ::Time,
106
106
  ?end_date: ::Time,
data/sig/errors.rbs CHANGED
@@ -55,6 +55,9 @@ module Aws
55
55
  class MissingRequiredParameterException < ::Aws::Errors::ServiceError
56
56
  def message: () -> ::String
57
57
  end
58
+ class ResourceConflict < ::Aws::Errors::ServiceError
59
+ def message: () -> ::String
60
+ end
58
61
  class ResourceNotFound < ::Aws::Errors::ServiceError
59
62
  def message: () -> ::String
60
63
  end
data/sig/metric.rbs CHANGED
@@ -110,6 +110,13 @@ module Aws
110
110
  }
111
111
  ],
112
112
  ?threshold_metric_id: ::String,
113
+ ?evaluation_window: {
114
+ wall_clock_window: {
115
+ timezone: ::String?
116
+ }?,
117
+ sliding_window: {
118
+ }?
119
+ },
113
120
  ?evaluation_criteria: {
114
121
  prom_ql_criteria: {
115
122
  query: ::String,
data/sig/resource.rbs CHANGED
@@ -89,7 +89,7 @@ module Aws
89
89
  def alarms: (
90
90
  ?alarm_names: Array[::String],
91
91
  ?alarm_name_prefix: ::String,
92
- ?alarm_types: Array[("CompositeAlarm" | "MetricAlarm")],
92
+ ?alarm_types: Array[("CompositeAlarm" | "MetricAlarm" | "LogAlarm")],
93
93
  ?children_of_alarm_name: ::String,
94
94
  ?parents_of_alarm_name: ::String,
95
95
  ?state_value: ("OK" | "ALARM" | "INSUFFICIENT_DATA"),
@@ -104,7 +104,7 @@ module Aws
104
104
  def composite_alarms: (
105
105
  ?alarm_names: Array[::String],
106
106
  ?alarm_name_prefix: ::String,
107
- ?alarm_types: Array[("CompositeAlarm" | "MetricAlarm")],
107
+ ?alarm_types: Array[("CompositeAlarm" | "MetricAlarm" | "LogAlarm")],
108
108
  ?children_of_alarm_name: ::String,
109
109
  ?parents_of_alarm_name: ::String,
110
110
  ?state_value: ("OK" | "ALARM" | "INSUFFICIENT_DATA"),
data/sig/types.rbs CHANGED
@@ -19,7 +19,7 @@ module Aws::CloudWatch
19
19
  class AlarmHistoryItem
20
20
  attr_accessor alarm_name: ::String
21
21
  attr_accessor alarm_contributor_id: ::String
22
- attr_accessor alarm_type: ("CompositeAlarm" | "MetricAlarm")
22
+ attr_accessor alarm_type: ("CompositeAlarm" | "MetricAlarm" | "LogAlarm")
23
23
  attr_accessor timestamp: ::Time
24
24
  attr_accessor history_item_type: ("ConfigurationUpdate" | "StateUpdate" | "Action" | "AlarmContributorStateUpdate" | "AlarmContributorAction")
25
25
  attr_accessor history_summary: ::String
@@ -204,7 +204,7 @@ module Aws::CloudWatch
204
204
  class DescribeAlarmHistoryInput
205
205
  attr_accessor alarm_name: ::String
206
206
  attr_accessor alarm_contributor_id: ::String
207
- attr_accessor alarm_types: ::Array[("CompositeAlarm" | "MetricAlarm")]
207
+ attr_accessor alarm_types: ::Array[("CompositeAlarm" | "MetricAlarm" | "LogAlarm")]
208
208
  attr_accessor history_item_type: ("ConfigurationUpdate" | "StateUpdate" | "Action" | "AlarmContributorStateUpdate" | "AlarmContributorAction")
209
209
  attr_accessor start_date: ::Time
210
210
  attr_accessor end_date: ::Time
@@ -239,7 +239,7 @@ module Aws::CloudWatch
239
239
  class DescribeAlarmsInput
240
240
  attr_accessor alarm_names: ::Array[::String]
241
241
  attr_accessor alarm_name_prefix: ::String
242
- attr_accessor alarm_types: ::Array[("CompositeAlarm" | "MetricAlarm")]
242
+ attr_accessor alarm_types: ::Array[("CompositeAlarm" | "MetricAlarm" | "LogAlarm")]
243
243
  attr_accessor children_of_alarm_name: ::String
244
244
  attr_accessor parents_of_alarm_name: ::String
245
245
  attr_accessor state_value: ("OK" | "ALARM" | "INSUFFICIENT_DATA")
@@ -252,6 +252,7 @@ module Aws::CloudWatch
252
252
  class DescribeAlarmsOutput
253
253
  attr_accessor composite_alarms: ::Array[Types::CompositeAlarm]
254
254
  attr_accessor metric_alarms: ::Array[Types::MetricAlarm]
255
+ attr_accessor log_alarms: ::Array[Types::LogAlarm]
255
256
  attr_accessor next_token: ::String
256
257
  SENSITIVE: []
257
258
  end
@@ -357,6 +358,20 @@ module Aws::CloudWatch
357
358
  end
358
359
  end
359
360
 
361
+ class EvaluationWindow
362
+ attr_accessor wall_clock_window: Types::WallClockWindow
363
+ attr_accessor sliding_window: Types::SlidingWindow
364
+ attr_accessor unknown: untyped
365
+ SENSITIVE: []
366
+
367
+ class WallClockWindow < EvaluationWindow
368
+ end
369
+ class SlidingWindow < EvaluationWindow
370
+ end
371
+ class Unknown < EvaluationWindow
372
+ end
373
+ end
374
+
360
375
  class GetAlarmMuteRuleInput
361
376
  attr_accessor alarm_mute_rule_name: ::String
362
377
  SENSITIVE: []
@@ -665,6 +680,32 @@ module Aws::CloudWatch
665
680
  SENSITIVE: []
666
681
  end
667
682
 
683
+ class LogAlarm
684
+ attr_accessor alarm_name: ::String
685
+ attr_accessor alarm_arn: ::String
686
+ attr_accessor alarm_description: ::String
687
+ attr_accessor alarm_configuration_updated_timestamp: ::Time
688
+ attr_accessor actions_enabled: bool
689
+ attr_accessor ok_actions: ::Array[::String]
690
+ attr_accessor alarm_actions: ::Array[::String]
691
+ attr_accessor insufficient_data_actions: ::Array[::String]
692
+ attr_accessor state_value: ("OK" | "ALARM" | "INSUFFICIENT_DATA")
693
+ attr_accessor state_reason: ::String
694
+ attr_accessor state_reason_data: ::String
695
+ attr_accessor state_updated_timestamp: ::Time
696
+ attr_accessor scheduled_query_configuration: Types::ScheduledQueryConfiguration
697
+ attr_accessor query_results_to_evaluate: ::Integer
698
+ attr_accessor query_results_to_alarm: ::Integer
699
+ attr_accessor threshold: ::Float
700
+ attr_accessor comparison_operator: ("GreaterThanOrEqualToThreshold" | "GreaterThanThreshold" | "LessThanThreshold" | "LessThanOrEqualToThreshold" | "LessThanLowerOrGreaterThanUpperThreshold" | "LessThanLowerThreshold" | "GreaterThanUpperThreshold")
701
+ attr_accessor treat_missing_data: ::String
702
+ attr_accessor state_transitioned_timestamp: ::Time
703
+ attr_accessor evaluation_state: ("PARTIAL_DATA" | "EVALUATION_FAILURE" | "EVALUATION_ERROR")
704
+ attr_accessor action_log_line_count: ::Integer
705
+ attr_accessor action_log_line_role_arn: ::String
706
+ SENSITIVE: []
707
+ end
708
+
668
709
  class ManagedRule
669
710
  attr_accessor template_name: ::String
670
711
  attr_accessor resource_arn: ::String
@@ -728,6 +769,7 @@ module Aws::CloudWatch
728
769
  attr_accessor threshold_metric_id: ::String
729
770
  attr_accessor evaluation_state: ("PARTIAL_DATA" | "EVALUATION_FAILURE" | "EVALUATION_ERROR")
730
771
  attr_accessor state_transitioned_timestamp: ::Time
772
+ attr_accessor evaluation_window: Types::EvaluationWindow
731
773
  attr_accessor evaluation_criteria: Types::EvaluationCriteria
732
774
  attr_accessor evaluation_interval: ::Integer
733
775
  SENSITIVE: []
@@ -897,6 +939,25 @@ module Aws::CloudWatch
897
939
  class PutInsightRuleOutput < Aws::EmptyStructure
898
940
  end
899
941
 
942
+ class PutLogAlarmInput
943
+ attr_accessor alarm_name: ::String
944
+ attr_accessor alarm_description: ::String
945
+ attr_accessor scheduled_query_configuration: Types::ScheduledQueryConfiguration
946
+ attr_accessor action_log_line_count: ::Integer
947
+ attr_accessor action_log_line_role_arn: ::String
948
+ attr_accessor actions_enabled: bool
949
+ attr_accessor ok_actions: ::Array[::String]
950
+ attr_accessor alarm_actions: ::Array[::String]
951
+ attr_accessor insufficient_data_actions: ::Array[::String]
952
+ attr_accessor query_results_to_evaluate: ::Integer
953
+ attr_accessor query_results_to_alarm: ::Integer
954
+ attr_accessor threshold: ::Float
955
+ attr_accessor comparison_operator: ("GreaterThanOrEqualToThreshold" | "GreaterThanThreshold" | "LessThanThreshold" | "LessThanOrEqualToThreshold" | "LessThanLowerOrGreaterThanUpperThreshold" | "LessThanLowerThreshold" | "GreaterThanUpperThreshold")
956
+ attr_accessor treat_missing_data: ::String
957
+ attr_accessor tags: ::Array[Types::Tag]
958
+ SENSITIVE: []
959
+ end
960
+
900
961
  class PutManagedInsightRulesInput
901
962
  attr_accessor managed_rules: ::Array[Types::ManagedRule]
902
963
  SENSITIVE: []
@@ -930,6 +991,7 @@ module Aws::CloudWatch
930
991
  attr_accessor metrics: ::Array[Types::MetricDataQuery]
931
992
  attr_accessor tags: ::Array[Types::Tag]
932
993
  attr_accessor threshold_metric_id: ::String
994
+ attr_accessor evaluation_window: Types::EvaluationWindow
933
995
  attr_accessor evaluation_criteria: Types::EvaluationCriteria
934
996
  attr_accessor evaluation_interval: ::Integer
935
997
  SENSITIVE: []
@@ -967,6 +1029,11 @@ module Aws::CloudWatch
967
1029
  SENSITIVE: []
968
1030
  end
969
1031
 
1032
+ class ResourceConflict
1033
+ attr_accessor message: ::String
1034
+ SENSITIVE: []
1035
+ end
1036
+
970
1037
  class ResourceNotFound
971
1038
  attr_accessor message: ::String
972
1039
  SENSITIVE: []
@@ -990,6 +1057,24 @@ module Aws::CloudWatch
990
1057
  SENSITIVE: []
991
1058
  end
992
1059
 
1060
+ class ScheduleConfiguration
1061
+ attr_accessor schedule_expression: ::String
1062
+ attr_accessor start_time_offset: ::Integer
1063
+ attr_accessor end_time_offset: ::Integer
1064
+ SENSITIVE: []
1065
+ end
1066
+
1067
+ class ScheduledQueryConfiguration
1068
+ attr_accessor query_string: ::String
1069
+ attr_accessor log_group_identifiers: ::Array[::String]
1070
+ attr_accessor query_arn: ::String
1071
+ attr_accessor scheduled_query_role_arn: ::String
1072
+ attr_accessor schedule_configuration: Types::ScheduleConfiguration
1073
+ attr_accessor aggregation_expression: ::String
1074
+ attr_accessor tags: ::Array[Types::Tag]
1075
+ SENSITIVE: []
1076
+ end
1077
+
993
1078
  class SetAlarmStateInput
994
1079
  attr_accessor alarm_name: ::String
995
1080
  attr_accessor state_value: ("OK" | "ALARM" | "INSUFFICIENT_DATA")
@@ -1007,6 +1092,9 @@ module Aws::CloudWatch
1007
1092
  SENSITIVE: []
1008
1093
  end
1009
1094
 
1095
+ class SlidingWindow < Aws::EmptyStructure
1096
+ end
1097
+
1010
1098
  class StartMetricStreamsInput
1011
1099
  attr_accessor names: ::Array[::String]
1012
1100
  SENSITIVE: []
@@ -1066,5 +1154,10 @@ module Aws::CloudWatch
1066
1154
 
1067
1155
  class UntagResourceOutput < Aws::EmptyStructure
1068
1156
  end
1157
+
1158
+ class WallClockWindow
1159
+ attr_accessor timezone: ::String
1160
+ SENSITIVE: []
1161
+ end
1069
1162
  end
1070
1163
  end
data/sig/waiters.rbs CHANGED
@@ -16,7 +16,7 @@ module Aws
16
16
  def wait: (
17
17
  ?alarm_names: Array[::String],
18
18
  ?alarm_name_prefix: ::String,
19
- ?alarm_types: Array[("CompositeAlarm" | "MetricAlarm")],
19
+ ?alarm_types: Array[("CompositeAlarm" | "MetricAlarm" | "LogAlarm")],
20
20
  ?children_of_alarm_name: ::String,
21
21
  ?parents_of_alarm_name: ::String,
22
22
  ?state_value: ("OK" | "ALARM" | "INSUFFICIENT_DATA"),
@@ -44,7 +44,25 @@ module Aws
44
44
  def wait: (
45
45
  ?alarm_names: Array[::String],
46
46
  ?alarm_name_prefix: ::String,
47
- ?alarm_types: Array[("CompositeAlarm" | "MetricAlarm")],
47
+ ?alarm_types: Array[("CompositeAlarm" | "MetricAlarm" | "LogAlarm")],
48
+ ?children_of_alarm_name: ::String,
49
+ ?parents_of_alarm_name: ::String,
50
+ ?state_value: ("OK" | "ALARM" | "INSUFFICIENT_DATA"),
51
+ ?action_prefix: ::String,
52
+ ?max_records: ::Integer,
53
+ ?next_token: ::String
54
+ ) -> Client::_DescribeAlarmsResponseSuccess
55
+ | (?Hash[Symbol, untyped]) -> Client::_DescribeAlarmsResponseSuccess
56
+ end
57
+
58
+ class LogAlarmExists
59
+ def initialize: (?client: Client, ?max_attempts: Integer, ?delay: Integer, ?before_attempt: Proc, ?before_wait: Proc) -> void
60
+ | (?Hash[Symbol, untyped]) -> void
61
+
62
+ def wait: (
63
+ ?alarm_names: Array[::String],
64
+ ?alarm_name_prefix: ::String,
65
+ ?alarm_types: Array[("CompositeAlarm" | "MetricAlarm" | "LogAlarm")],
48
66
  ?children_of_alarm_name: ::String,
49
67
  ?parents_of_alarm_name: ::String,
50
68
  ?state_value: ("OK" | "ALARM" | "INSUFFICIENT_DATA"),
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-cloudwatch
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.140.0
4
+ version: 1.142.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services