aws-sdk-cloudwatch 1.140.0 → 1.141.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-cloudwatch/alarm.rb +3 -3
- data/lib/aws-sdk-cloudwatch/client.rb +276 -15
- data/lib/aws-sdk-cloudwatch/client_api.rb +90 -0
- data/lib/aws-sdk-cloudwatch/composite_alarm.rb +3 -3
- data/lib/aws-sdk-cloudwatch/errors.rb +16 -0
- data/lib/aws-sdk-cloudwatch/resource.rb +18 -12
- data/lib/aws-sdk-cloudwatch/types.rb +446 -10
- data/lib/aws-sdk-cloudwatch/waiters.rb +37 -0
- data/lib/aws-sdk-cloudwatch.rb +1 -1
- data/sig/alarm.rbs +1 -1
- data/sig/client.rbs +59 -4
- data/sig/composite_alarm.rbs +1 -1
- data/sig/errors.rbs +3 -0
- data/sig/resource.rbs +2 -2
- data/sig/types.rbs +72 -3
- data/sig/waiters.rbs +20 -2
- metadata +1 -1
|
@@ -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
|
data/lib/aws-sdk-cloudwatch.rb
CHANGED
data/sig/alarm.rbs
CHANGED
|
@@ -136,7 +136,7 @@ module Aws
|
|
|
136
136
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatch/Alarm.html#describe_history-instance_method
|
|
137
137
|
def describe_history: (
|
|
138
138
|
?alarm_contributor_id: ::String,
|
|
139
|
-
?alarm_types: Array[("CompositeAlarm" | "MetricAlarm")],
|
|
139
|
+
?alarm_types: Array[("CompositeAlarm" | "MetricAlarm" | "LogAlarm")],
|
|
140
140
|
?history_item_type: ("ConfigurationUpdate" | "StateUpdate" | "Action" | "AlarmContributorStateUpdate" | "AlarmContributorAction"),
|
|
141
141
|
?start_date: ::Time,
|
|
142
142
|
?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]
|
|
@@ -845,7 +888,7 @@ module Aws
|
|
|
845
888
|
def wait_until: (:alarm_exists waiter_name,
|
|
846
889
|
?alarm_names: Array[::String],
|
|
847
890
|
?alarm_name_prefix: ::String,
|
|
848
|
-
?alarm_types: Array[("CompositeAlarm" | "MetricAlarm")],
|
|
891
|
+
?alarm_types: Array[("CompositeAlarm" | "MetricAlarm" | "LogAlarm")],
|
|
849
892
|
?children_of_alarm_name: ::String,
|
|
850
893
|
?parents_of_alarm_name: ::String,
|
|
851
894
|
?state_value: ("OK" | "ALARM" | "INSUFFICIENT_DATA"),
|
|
@@ -861,7 +904,7 @@ module Aws
|
|
|
861
904
|
| (:composite_alarm_exists waiter_name,
|
|
862
905
|
?alarm_names: Array[::String],
|
|
863
906
|
?alarm_name_prefix: ::String,
|
|
864
|
-
?alarm_types: Array[("CompositeAlarm" | "MetricAlarm")],
|
|
907
|
+
?alarm_types: Array[("CompositeAlarm" | "MetricAlarm" | "LogAlarm")],
|
|
865
908
|
?children_of_alarm_name: ::String,
|
|
866
909
|
?parents_of_alarm_name: ::String,
|
|
867
910
|
?state_value: ("OK" | "ALARM" | "INSUFFICIENT_DATA"),
|
|
@@ -870,6 +913,18 @@ module Aws
|
|
|
870
913
|
?next_token: ::String
|
|
871
914
|
) -> Client::_DescribeAlarmsResponseSuccess
|
|
872
915
|
| (:composite_alarm_exists waiter_name, ?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_DescribeAlarmsResponseSuccess
|
|
916
|
+
| (:log_alarm_exists waiter_name,
|
|
917
|
+
?alarm_names: Array[::String],
|
|
918
|
+
?alarm_name_prefix: ::String,
|
|
919
|
+
?alarm_types: Array[("CompositeAlarm" | "MetricAlarm" | "LogAlarm")],
|
|
920
|
+
?children_of_alarm_name: ::String,
|
|
921
|
+
?parents_of_alarm_name: ::String,
|
|
922
|
+
?state_value: ("OK" | "ALARM" | "INSUFFICIENT_DATA"),
|
|
923
|
+
?action_prefix: ::String,
|
|
924
|
+
?max_records: ::Integer,
|
|
925
|
+
?next_token: ::String
|
|
926
|
+
) -> Client::_DescribeAlarmsResponseSuccess
|
|
927
|
+
| (:log_alarm_exists waiter_name, ?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_DescribeAlarmsResponseSuccess
|
|
873
928
|
end
|
|
874
929
|
end
|
|
875
930
|
end
|
data/sig/composite_alarm.rbs
CHANGED
|
@@ -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/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
|
|
@@ -665,6 +666,32 @@ module Aws::CloudWatch
|
|
|
665
666
|
SENSITIVE: []
|
|
666
667
|
end
|
|
667
668
|
|
|
669
|
+
class LogAlarm
|
|
670
|
+
attr_accessor alarm_name: ::String
|
|
671
|
+
attr_accessor alarm_arn: ::String
|
|
672
|
+
attr_accessor alarm_description: ::String
|
|
673
|
+
attr_accessor alarm_configuration_updated_timestamp: ::Time
|
|
674
|
+
attr_accessor actions_enabled: bool
|
|
675
|
+
attr_accessor ok_actions: ::Array[::String]
|
|
676
|
+
attr_accessor alarm_actions: ::Array[::String]
|
|
677
|
+
attr_accessor insufficient_data_actions: ::Array[::String]
|
|
678
|
+
attr_accessor state_value: ("OK" | "ALARM" | "INSUFFICIENT_DATA")
|
|
679
|
+
attr_accessor state_reason: ::String
|
|
680
|
+
attr_accessor state_reason_data: ::String
|
|
681
|
+
attr_accessor state_updated_timestamp: ::Time
|
|
682
|
+
attr_accessor scheduled_query_configuration: Types::ScheduledQueryConfiguration
|
|
683
|
+
attr_accessor query_results_to_evaluate: ::Integer
|
|
684
|
+
attr_accessor query_results_to_alarm: ::Integer
|
|
685
|
+
attr_accessor threshold: ::Float
|
|
686
|
+
attr_accessor comparison_operator: ("GreaterThanOrEqualToThreshold" | "GreaterThanThreshold" | "LessThanThreshold" | "LessThanOrEqualToThreshold" | "LessThanLowerOrGreaterThanUpperThreshold" | "LessThanLowerThreshold" | "GreaterThanUpperThreshold")
|
|
687
|
+
attr_accessor treat_missing_data: ::String
|
|
688
|
+
attr_accessor state_transitioned_timestamp: ::Time
|
|
689
|
+
attr_accessor evaluation_state: ("PARTIAL_DATA" | "EVALUATION_FAILURE" | "EVALUATION_ERROR")
|
|
690
|
+
attr_accessor action_log_line_count: ::Integer
|
|
691
|
+
attr_accessor action_log_line_role_arn: ::String
|
|
692
|
+
SENSITIVE: []
|
|
693
|
+
end
|
|
694
|
+
|
|
668
695
|
class ManagedRule
|
|
669
696
|
attr_accessor template_name: ::String
|
|
670
697
|
attr_accessor resource_arn: ::String
|
|
@@ -897,6 +924,25 @@ module Aws::CloudWatch
|
|
|
897
924
|
class PutInsightRuleOutput < Aws::EmptyStructure
|
|
898
925
|
end
|
|
899
926
|
|
|
927
|
+
class PutLogAlarmInput
|
|
928
|
+
attr_accessor alarm_name: ::String
|
|
929
|
+
attr_accessor alarm_description: ::String
|
|
930
|
+
attr_accessor scheduled_query_configuration: Types::ScheduledQueryConfiguration
|
|
931
|
+
attr_accessor action_log_line_count: ::Integer
|
|
932
|
+
attr_accessor action_log_line_role_arn: ::String
|
|
933
|
+
attr_accessor actions_enabled: bool
|
|
934
|
+
attr_accessor ok_actions: ::Array[::String]
|
|
935
|
+
attr_accessor alarm_actions: ::Array[::String]
|
|
936
|
+
attr_accessor insufficient_data_actions: ::Array[::String]
|
|
937
|
+
attr_accessor query_results_to_evaluate: ::Integer
|
|
938
|
+
attr_accessor query_results_to_alarm: ::Integer
|
|
939
|
+
attr_accessor threshold: ::Float
|
|
940
|
+
attr_accessor comparison_operator: ("GreaterThanOrEqualToThreshold" | "GreaterThanThreshold" | "LessThanThreshold" | "LessThanOrEqualToThreshold" | "LessThanLowerOrGreaterThanUpperThreshold" | "LessThanLowerThreshold" | "GreaterThanUpperThreshold")
|
|
941
|
+
attr_accessor treat_missing_data: ::String
|
|
942
|
+
attr_accessor tags: ::Array[Types::Tag]
|
|
943
|
+
SENSITIVE: []
|
|
944
|
+
end
|
|
945
|
+
|
|
900
946
|
class PutManagedInsightRulesInput
|
|
901
947
|
attr_accessor managed_rules: ::Array[Types::ManagedRule]
|
|
902
948
|
SENSITIVE: []
|
|
@@ -967,6 +1013,11 @@ module Aws::CloudWatch
|
|
|
967
1013
|
SENSITIVE: []
|
|
968
1014
|
end
|
|
969
1015
|
|
|
1016
|
+
class ResourceConflict
|
|
1017
|
+
attr_accessor message: ::String
|
|
1018
|
+
SENSITIVE: []
|
|
1019
|
+
end
|
|
1020
|
+
|
|
970
1021
|
class ResourceNotFound
|
|
971
1022
|
attr_accessor message: ::String
|
|
972
1023
|
SENSITIVE: []
|
|
@@ -990,6 +1041,24 @@ module Aws::CloudWatch
|
|
|
990
1041
|
SENSITIVE: []
|
|
991
1042
|
end
|
|
992
1043
|
|
|
1044
|
+
class ScheduleConfiguration
|
|
1045
|
+
attr_accessor schedule_expression: ::String
|
|
1046
|
+
attr_accessor start_time_offset: ::Integer
|
|
1047
|
+
attr_accessor end_time_offset: ::Integer
|
|
1048
|
+
SENSITIVE: []
|
|
1049
|
+
end
|
|
1050
|
+
|
|
1051
|
+
class ScheduledQueryConfiguration
|
|
1052
|
+
attr_accessor query_string: ::String
|
|
1053
|
+
attr_accessor log_group_identifiers: ::Array[::String]
|
|
1054
|
+
attr_accessor query_arn: ::String
|
|
1055
|
+
attr_accessor scheduled_query_role_arn: ::String
|
|
1056
|
+
attr_accessor schedule_configuration: Types::ScheduleConfiguration
|
|
1057
|
+
attr_accessor aggregation_expression: ::String
|
|
1058
|
+
attr_accessor tags: ::Array[Types::Tag]
|
|
1059
|
+
SENSITIVE: []
|
|
1060
|
+
end
|
|
1061
|
+
|
|
993
1062
|
class SetAlarmStateInput
|
|
994
1063
|
attr_accessor alarm_name: ::String
|
|
995
1064
|
attr_accessor state_value: ("OK" | "ALARM" | "INSUFFICIENT_DATA")
|
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"),
|