aws-sdk-cloudwatch 1.84.0 → 1.86.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-cloudwatch/client.rb +1 -1
- data/lib/aws-sdk-cloudwatch/client_api.rb +3 -0
- data/lib/aws-sdk-cloudwatch/plugins/endpoints.rb +1 -0
- data/lib/aws-sdk-cloudwatch.rb +1 -1
- data/sig/alarm.rbs +179 -0
- data/sig/client.rbs +838 -0
- data/sig/composite_alarm.rbs +146 -0
- data/sig/errors.rbs +55 -0
- data/sig/metric.rbs +163 -0
- data/sig/resource.rbs +128 -0
- data/sig/types.rbs +856 -0
- data/sig/waiters.rbs +49 -0
- metadata +16 -8
data/sig/client.rbs
ADDED
@@ -0,0 +1,838 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws
|
9
|
+
module CloudWatch
|
10
|
+
class Client < ::Seahorse::Client::Base
|
11
|
+
include ::Aws::ClientStubs
|
12
|
+
|
13
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatch/Client.html#initialize-instance_method
|
14
|
+
def self.new: (
|
15
|
+
?credentials: untyped,
|
16
|
+
?region: String,
|
17
|
+
?access_key_id: String,
|
18
|
+
?active_endpoint_cache: bool,
|
19
|
+
?adaptive_retry_wait_to_fill: bool,
|
20
|
+
?client_side_monitoring: bool,
|
21
|
+
?client_side_monitoring_client_id: String,
|
22
|
+
?client_side_monitoring_host: String,
|
23
|
+
?client_side_monitoring_port: Integer,
|
24
|
+
?client_side_monitoring_publisher: untyped,
|
25
|
+
?convert_params: bool,
|
26
|
+
?correct_clock_skew: bool,
|
27
|
+
?defaults_mode: String,
|
28
|
+
?disable_host_prefix_injection: bool,
|
29
|
+
?disable_request_compression: bool,
|
30
|
+
?endpoint: String,
|
31
|
+
?endpoint_cache_max_entries: Integer,
|
32
|
+
?endpoint_cache_max_threads: Integer,
|
33
|
+
?endpoint_cache_poll_interval: Integer,
|
34
|
+
?endpoint_discovery: bool,
|
35
|
+
?ignore_configured_endpoint_urls: bool,
|
36
|
+
?log_formatter: untyped,
|
37
|
+
?log_level: Symbol,
|
38
|
+
?logger: untyped,
|
39
|
+
?max_attempts: Integer,
|
40
|
+
?profile: String,
|
41
|
+
?request_min_compression_size_bytes: Integer,
|
42
|
+
?retry_backoff: Proc,
|
43
|
+
?retry_base_delay: Float,
|
44
|
+
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
45
|
+
?retry_limit: Integer,
|
46
|
+
?retry_max_delay: Integer,
|
47
|
+
?retry_mode: ("legacy" | "standard" | "adaptive"),
|
48
|
+
?sdk_ua_app_id: String,
|
49
|
+
?secret_access_key: String,
|
50
|
+
?session_token: String,
|
51
|
+
?stub_responses: untyped,
|
52
|
+
?token_provider: untyped,
|
53
|
+
?use_dualstack_endpoint: bool,
|
54
|
+
?use_fips_endpoint: bool,
|
55
|
+
?validate_params: bool,
|
56
|
+
?endpoint_provider: untyped,
|
57
|
+
?http_proxy: String,
|
58
|
+
?http_open_timeout: (Float | Integer),
|
59
|
+
?http_read_timeout: (Float | Integer),
|
60
|
+
?http_idle_timeout: (Float | Integer),
|
61
|
+
?http_continue_timeout: (Float | Integer),
|
62
|
+
?ssl_timeout: (Float | Integer | nil),
|
63
|
+
?http_wire_trace: bool,
|
64
|
+
?ssl_verify_peer: bool,
|
65
|
+
?ssl_ca_bundle: String,
|
66
|
+
?ssl_ca_directory: String,
|
67
|
+
?ssl_ca_store: String,
|
68
|
+
?on_chunk_received: Proc,
|
69
|
+
?on_chunk_sent: Proc,
|
70
|
+
?raise_response_errors: bool
|
71
|
+
) -> instance
|
72
|
+
| (?Hash[Symbol, untyped]) -> instance
|
73
|
+
|
74
|
+
|
75
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatch/Client.html#delete_alarms-instance_method
|
76
|
+
def delete_alarms: (
|
77
|
+
alarm_names: Array[::String]
|
78
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
79
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
80
|
+
|
81
|
+
interface _DeleteAnomalyDetectorResponseSuccess
|
82
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteAnomalyDetectorOutput]
|
83
|
+
end
|
84
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatch/Client.html#delete_anomaly_detector-instance_method
|
85
|
+
def delete_anomaly_detector: (
|
86
|
+
?namespace: ::String,
|
87
|
+
?metric_name: ::String,
|
88
|
+
?dimensions: Array[
|
89
|
+
{
|
90
|
+
name: ::String,
|
91
|
+
value: ::String
|
92
|
+
},
|
93
|
+
],
|
94
|
+
?stat: ::String,
|
95
|
+
?single_metric_anomaly_detector: {
|
96
|
+
namespace: ::String?,
|
97
|
+
metric_name: ::String?,
|
98
|
+
dimensions: Array[
|
99
|
+
{
|
100
|
+
name: ::String,
|
101
|
+
value: ::String
|
102
|
+
},
|
103
|
+
]?,
|
104
|
+
stat: ::String?
|
105
|
+
},
|
106
|
+
?metric_math_anomaly_detector: {
|
107
|
+
metric_data_queries: Array[
|
108
|
+
{
|
109
|
+
id: ::String,
|
110
|
+
metric_stat: {
|
111
|
+
metric: {
|
112
|
+
namespace: ::String?,
|
113
|
+
metric_name: ::String?,
|
114
|
+
dimensions: Array[
|
115
|
+
{
|
116
|
+
name: ::String,
|
117
|
+
value: ::String
|
118
|
+
},
|
119
|
+
]?
|
120
|
+
},
|
121
|
+
period: ::Integer,
|
122
|
+
stat: ::String,
|
123
|
+
unit: ("Seconds" | "Microseconds" | "Milliseconds" | "Bytes" | "Kilobytes" | "Megabytes" | "Gigabytes" | "Terabytes" | "Bits" | "Kilobits" | "Megabits" | "Gigabits" | "Terabits" | "Percent" | "Count" | "Bytes/Second" | "Kilobytes/Second" | "Megabytes/Second" | "Gigabytes/Second" | "Terabytes/Second" | "Bits/Second" | "Kilobits/Second" | "Megabits/Second" | "Gigabits/Second" | "Terabits/Second" | "Count/Second" | "None")?
|
124
|
+
}?,
|
125
|
+
expression: ::String?,
|
126
|
+
label: ::String?,
|
127
|
+
return_data: bool?,
|
128
|
+
period: ::Integer?,
|
129
|
+
account_id: ::String?
|
130
|
+
},
|
131
|
+
]?
|
132
|
+
}
|
133
|
+
) -> _DeleteAnomalyDetectorResponseSuccess
|
134
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteAnomalyDetectorResponseSuccess
|
135
|
+
|
136
|
+
interface _DeleteDashboardsResponseSuccess
|
137
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteDashboardsOutput]
|
138
|
+
end
|
139
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatch/Client.html#delete_dashboards-instance_method
|
140
|
+
def delete_dashboards: (
|
141
|
+
dashboard_names: Array[::String]
|
142
|
+
) -> _DeleteDashboardsResponseSuccess
|
143
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteDashboardsResponseSuccess
|
144
|
+
|
145
|
+
interface _DeleteInsightRulesResponseSuccess
|
146
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteInsightRulesOutput]
|
147
|
+
def failures: () -> ::Array[Types::PartialFailure]
|
148
|
+
end
|
149
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatch/Client.html#delete_insight_rules-instance_method
|
150
|
+
def delete_insight_rules: (
|
151
|
+
rule_names: Array[::String]
|
152
|
+
) -> _DeleteInsightRulesResponseSuccess
|
153
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteInsightRulesResponseSuccess
|
154
|
+
|
155
|
+
interface _DeleteMetricStreamResponseSuccess
|
156
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteMetricStreamOutput]
|
157
|
+
end
|
158
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatch/Client.html#delete_metric_stream-instance_method
|
159
|
+
def delete_metric_stream: (
|
160
|
+
name: ::String
|
161
|
+
) -> _DeleteMetricStreamResponseSuccess
|
162
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteMetricStreamResponseSuccess
|
163
|
+
|
164
|
+
interface _DescribeAlarmHistoryResponseSuccess
|
165
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeAlarmHistoryOutput]
|
166
|
+
def alarm_history_items: () -> ::Array[Types::AlarmHistoryItem]
|
167
|
+
def next_token: () -> ::String
|
168
|
+
end
|
169
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatch/Client.html#describe_alarm_history-instance_method
|
170
|
+
def describe_alarm_history: (
|
171
|
+
?alarm_name: ::String,
|
172
|
+
?alarm_types: Array[("CompositeAlarm" | "MetricAlarm")],
|
173
|
+
?history_item_type: ("ConfigurationUpdate" | "StateUpdate" | "Action"),
|
174
|
+
?start_date: ::Time,
|
175
|
+
?end_date: ::Time,
|
176
|
+
?max_records: ::Integer,
|
177
|
+
?next_token: ::String,
|
178
|
+
?scan_by: ("TimestampDescending" | "TimestampAscending")
|
179
|
+
) -> _DescribeAlarmHistoryResponseSuccess
|
180
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeAlarmHistoryResponseSuccess
|
181
|
+
|
182
|
+
interface _DescribeAlarmsResponseSuccess
|
183
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeAlarmsOutput]
|
184
|
+
def composite_alarms: () -> ::Array[Types::CompositeAlarm]
|
185
|
+
def metric_alarms: () -> ::Array[Types::MetricAlarm]
|
186
|
+
def next_token: () -> ::String
|
187
|
+
end
|
188
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatch/Client.html#describe_alarms-instance_method
|
189
|
+
def describe_alarms: (
|
190
|
+
?alarm_names: Array[::String],
|
191
|
+
?alarm_name_prefix: ::String,
|
192
|
+
?alarm_types: Array[("CompositeAlarm" | "MetricAlarm")],
|
193
|
+
?children_of_alarm_name: ::String,
|
194
|
+
?parents_of_alarm_name: ::String,
|
195
|
+
?state_value: ("OK" | "ALARM" | "INSUFFICIENT_DATA"),
|
196
|
+
?action_prefix: ::String,
|
197
|
+
?max_records: ::Integer,
|
198
|
+
?next_token: ::String
|
199
|
+
) -> _DescribeAlarmsResponseSuccess
|
200
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeAlarmsResponseSuccess
|
201
|
+
|
202
|
+
interface _DescribeAlarmsForMetricResponseSuccess
|
203
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeAlarmsForMetricOutput]
|
204
|
+
def metric_alarms: () -> ::Array[Types::MetricAlarm]
|
205
|
+
end
|
206
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatch/Client.html#describe_alarms_for_metric-instance_method
|
207
|
+
def describe_alarms_for_metric: (
|
208
|
+
metric_name: ::String,
|
209
|
+
namespace: ::String,
|
210
|
+
?statistic: ("SampleCount" | "Average" | "Sum" | "Minimum" | "Maximum"),
|
211
|
+
?extended_statistic: ::String,
|
212
|
+
?dimensions: Array[
|
213
|
+
{
|
214
|
+
name: ::String,
|
215
|
+
value: ::String
|
216
|
+
},
|
217
|
+
],
|
218
|
+
?period: ::Integer,
|
219
|
+
?unit: ("Seconds" | "Microseconds" | "Milliseconds" | "Bytes" | "Kilobytes" | "Megabytes" | "Gigabytes" | "Terabytes" | "Bits" | "Kilobits" | "Megabits" | "Gigabits" | "Terabits" | "Percent" | "Count" | "Bytes/Second" | "Kilobytes/Second" | "Megabytes/Second" | "Gigabytes/Second" | "Terabytes/Second" | "Bits/Second" | "Kilobits/Second" | "Megabits/Second" | "Gigabits/Second" | "Terabits/Second" | "Count/Second" | "None")
|
220
|
+
) -> _DescribeAlarmsForMetricResponseSuccess
|
221
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeAlarmsForMetricResponseSuccess
|
222
|
+
|
223
|
+
interface _DescribeAnomalyDetectorsResponseSuccess
|
224
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeAnomalyDetectorsOutput]
|
225
|
+
def anomaly_detectors: () -> ::Array[Types::AnomalyDetector]
|
226
|
+
def next_token: () -> ::String
|
227
|
+
end
|
228
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatch/Client.html#describe_anomaly_detectors-instance_method
|
229
|
+
def describe_anomaly_detectors: (
|
230
|
+
?next_token: ::String,
|
231
|
+
?max_results: ::Integer,
|
232
|
+
?namespace: ::String,
|
233
|
+
?metric_name: ::String,
|
234
|
+
?dimensions: Array[
|
235
|
+
{
|
236
|
+
name: ::String,
|
237
|
+
value: ::String
|
238
|
+
},
|
239
|
+
],
|
240
|
+
?anomaly_detector_types: Array[("SINGLE_METRIC" | "METRIC_MATH")]
|
241
|
+
) -> _DescribeAnomalyDetectorsResponseSuccess
|
242
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeAnomalyDetectorsResponseSuccess
|
243
|
+
|
244
|
+
interface _DescribeInsightRulesResponseSuccess
|
245
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeInsightRulesOutput]
|
246
|
+
def next_token: () -> ::String
|
247
|
+
def insight_rules: () -> ::Array[Types::InsightRule]
|
248
|
+
end
|
249
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatch/Client.html#describe_insight_rules-instance_method
|
250
|
+
def describe_insight_rules: (
|
251
|
+
?next_token: ::String,
|
252
|
+
?max_results: ::Integer
|
253
|
+
) -> _DescribeInsightRulesResponseSuccess
|
254
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeInsightRulesResponseSuccess
|
255
|
+
|
256
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatch/Client.html#disable_alarm_actions-instance_method
|
257
|
+
def disable_alarm_actions: (
|
258
|
+
alarm_names: Array[::String]
|
259
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
260
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
261
|
+
|
262
|
+
interface _DisableInsightRulesResponseSuccess
|
263
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DisableInsightRulesOutput]
|
264
|
+
def failures: () -> ::Array[Types::PartialFailure]
|
265
|
+
end
|
266
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatch/Client.html#disable_insight_rules-instance_method
|
267
|
+
def disable_insight_rules: (
|
268
|
+
rule_names: Array[::String]
|
269
|
+
) -> _DisableInsightRulesResponseSuccess
|
270
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisableInsightRulesResponseSuccess
|
271
|
+
|
272
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatch/Client.html#enable_alarm_actions-instance_method
|
273
|
+
def enable_alarm_actions: (
|
274
|
+
alarm_names: Array[::String]
|
275
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
276
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
277
|
+
|
278
|
+
interface _EnableInsightRulesResponseSuccess
|
279
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::EnableInsightRulesOutput]
|
280
|
+
def failures: () -> ::Array[Types::PartialFailure]
|
281
|
+
end
|
282
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatch/Client.html#enable_insight_rules-instance_method
|
283
|
+
def enable_insight_rules: (
|
284
|
+
rule_names: Array[::String]
|
285
|
+
) -> _EnableInsightRulesResponseSuccess
|
286
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _EnableInsightRulesResponseSuccess
|
287
|
+
|
288
|
+
interface _GetDashboardResponseSuccess
|
289
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetDashboardOutput]
|
290
|
+
def dashboard_arn: () -> ::String
|
291
|
+
def dashboard_body: () -> ::String
|
292
|
+
def dashboard_name: () -> ::String
|
293
|
+
end
|
294
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatch/Client.html#get_dashboard-instance_method
|
295
|
+
def get_dashboard: (
|
296
|
+
dashboard_name: ::String
|
297
|
+
) -> _GetDashboardResponseSuccess
|
298
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetDashboardResponseSuccess
|
299
|
+
|
300
|
+
interface _GetInsightRuleReportResponseSuccess
|
301
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetInsightRuleReportOutput]
|
302
|
+
def key_labels: () -> ::Array[::String]
|
303
|
+
def aggregation_statistic: () -> ::String
|
304
|
+
def aggregate_value: () -> ::Float
|
305
|
+
def approximate_unique_count: () -> ::Integer
|
306
|
+
def contributors: () -> ::Array[Types::InsightRuleContributor]
|
307
|
+
def metric_datapoints: () -> ::Array[Types::InsightRuleMetricDatapoint]
|
308
|
+
end
|
309
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatch/Client.html#get_insight_rule_report-instance_method
|
310
|
+
def get_insight_rule_report: (
|
311
|
+
rule_name: ::String,
|
312
|
+
start_time: ::Time,
|
313
|
+
end_time: ::Time,
|
314
|
+
period: ::Integer,
|
315
|
+
?max_contributor_count: ::Integer,
|
316
|
+
?metrics: Array[::String],
|
317
|
+
?order_by: ::String
|
318
|
+
) -> _GetInsightRuleReportResponseSuccess
|
319
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetInsightRuleReportResponseSuccess
|
320
|
+
|
321
|
+
interface _GetMetricDataResponseSuccess
|
322
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetMetricDataOutput]
|
323
|
+
def metric_data_results: () -> ::Array[Types::MetricDataResult]
|
324
|
+
def next_token: () -> ::String
|
325
|
+
def messages: () -> ::Array[Types::MessageData]
|
326
|
+
end
|
327
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatch/Client.html#get_metric_data-instance_method
|
328
|
+
def get_metric_data: (
|
329
|
+
metric_data_queries: Array[
|
330
|
+
{
|
331
|
+
id: ::String,
|
332
|
+
metric_stat: {
|
333
|
+
metric: {
|
334
|
+
namespace: ::String?,
|
335
|
+
metric_name: ::String?,
|
336
|
+
dimensions: Array[
|
337
|
+
{
|
338
|
+
name: ::String,
|
339
|
+
value: ::String
|
340
|
+
},
|
341
|
+
]?
|
342
|
+
},
|
343
|
+
period: ::Integer,
|
344
|
+
stat: ::String,
|
345
|
+
unit: ("Seconds" | "Microseconds" | "Milliseconds" | "Bytes" | "Kilobytes" | "Megabytes" | "Gigabytes" | "Terabytes" | "Bits" | "Kilobits" | "Megabits" | "Gigabits" | "Terabits" | "Percent" | "Count" | "Bytes/Second" | "Kilobytes/Second" | "Megabytes/Second" | "Gigabytes/Second" | "Terabytes/Second" | "Bits/Second" | "Kilobits/Second" | "Megabits/Second" | "Gigabits/Second" | "Terabits/Second" | "Count/Second" | "None")?
|
346
|
+
}?,
|
347
|
+
expression: ::String?,
|
348
|
+
label: ::String?,
|
349
|
+
return_data: bool?,
|
350
|
+
period: ::Integer?,
|
351
|
+
account_id: ::String?
|
352
|
+
},
|
353
|
+
],
|
354
|
+
start_time: ::Time,
|
355
|
+
end_time: ::Time,
|
356
|
+
?next_token: ::String,
|
357
|
+
?scan_by: ("TimestampDescending" | "TimestampAscending"),
|
358
|
+
?max_datapoints: ::Integer,
|
359
|
+
?label_options: {
|
360
|
+
timezone: ::String?
|
361
|
+
}
|
362
|
+
) -> _GetMetricDataResponseSuccess
|
363
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetMetricDataResponseSuccess
|
364
|
+
|
365
|
+
interface _GetMetricStatisticsResponseSuccess
|
366
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetMetricStatisticsOutput]
|
367
|
+
def label: () -> ::String
|
368
|
+
def datapoints: () -> ::Array[Types::Datapoint]
|
369
|
+
end
|
370
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatch/Client.html#get_metric_statistics-instance_method
|
371
|
+
def get_metric_statistics: (
|
372
|
+
namespace: ::String,
|
373
|
+
metric_name: ::String,
|
374
|
+
?dimensions: Array[
|
375
|
+
{
|
376
|
+
name: ::String,
|
377
|
+
value: ::String
|
378
|
+
},
|
379
|
+
],
|
380
|
+
start_time: ::Time,
|
381
|
+
end_time: ::Time,
|
382
|
+
period: ::Integer,
|
383
|
+
?statistics: Array[("SampleCount" | "Average" | "Sum" | "Minimum" | "Maximum")],
|
384
|
+
?extended_statistics: Array[::String],
|
385
|
+
?unit: ("Seconds" | "Microseconds" | "Milliseconds" | "Bytes" | "Kilobytes" | "Megabytes" | "Gigabytes" | "Terabytes" | "Bits" | "Kilobits" | "Megabits" | "Gigabits" | "Terabits" | "Percent" | "Count" | "Bytes/Second" | "Kilobytes/Second" | "Megabytes/Second" | "Gigabytes/Second" | "Terabytes/Second" | "Bits/Second" | "Kilobits/Second" | "Megabits/Second" | "Gigabits/Second" | "Terabits/Second" | "Count/Second" | "None")
|
386
|
+
) -> _GetMetricStatisticsResponseSuccess
|
387
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetMetricStatisticsResponseSuccess
|
388
|
+
|
389
|
+
interface _GetMetricStreamResponseSuccess
|
390
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetMetricStreamOutput]
|
391
|
+
def arn: () -> ::String
|
392
|
+
def name: () -> ::String
|
393
|
+
def include_filters: () -> ::Array[Types::MetricStreamFilter]
|
394
|
+
def exclude_filters: () -> ::Array[Types::MetricStreamFilter]
|
395
|
+
def firehose_arn: () -> ::String
|
396
|
+
def role_arn: () -> ::String
|
397
|
+
def state: () -> ::String
|
398
|
+
def creation_date: () -> ::Time
|
399
|
+
def last_update_date: () -> ::Time
|
400
|
+
def output_format: () -> ("json" | "opentelemetry0.7" | "opentelemetry1.0")
|
401
|
+
def statistics_configurations: () -> ::Array[Types::MetricStreamStatisticsConfiguration]
|
402
|
+
def include_linked_accounts_metrics: () -> bool
|
403
|
+
end
|
404
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatch/Client.html#get_metric_stream-instance_method
|
405
|
+
def get_metric_stream: (
|
406
|
+
name: ::String
|
407
|
+
) -> _GetMetricStreamResponseSuccess
|
408
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetMetricStreamResponseSuccess
|
409
|
+
|
410
|
+
interface _GetMetricWidgetImageResponseSuccess
|
411
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetMetricWidgetImageOutput]
|
412
|
+
def metric_widget_image: () -> ::String
|
413
|
+
end
|
414
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatch/Client.html#get_metric_widget_image-instance_method
|
415
|
+
def get_metric_widget_image: (
|
416
|
+
metric_widget: ::String,
|
417
|
+
?output_format: ::String
|
418
|
+
) -> _GetMetricWidgetImageResponseSuccess
|
419
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetMetricWidgetImageResponseSuccess
|
420
|
+
|
421
|
+
interface _ListDashboardsResponseSuccess
|
422
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListDashboardsOutput]
|
423
|
+
def dashboard_entries: () -> ::Array[Types::DashboardEntry]
|
424
|
+
def next_token: () -> ::String
|
425
|
+
end
|
426
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatch/Client.html#list_dashboards-instance_method
|
427
|
+
def list_dashboards: (
|
428
|
+
?dashboard_name_prefix: ::String,
|
429
|
+
?next_token: ::String
|
430
|
+
) -> _ListDashboardsResponseSuccess
|
431
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDashboardsResponseSuccess
|
432
|
+
|
433
|
+
interface _ListManagedInsightRulesResponseSuccess
|
434
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListManagedInsightRulesOutput]
|
435
|
+
def managed_rules: () -> ::Array[Types::ManagedRuleDescription]
|
436
|
+
def next_token: () -> ::String
|
437
|
+
end
|
438
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatch/Client.html#list_managed_insight_rules-instance_method
|
439
|
+
def list_managed_insight_rules: (
|
440
|
+
resource_arn: ::String,
|
441
|
+
?next_token: ::String,
|
442
|
+
?max_results: ::Integer
|
443
|
+
) -> _ListManagedInsightRulesResponseSuccess
|
444
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListManagedInsightRulesResponseSuccess
|
445
|
+
|
446
|
+
interface _ListMetricStreamsResponseSuccess
|
447
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListMetricStreamsOutput]
|
448
|
+
def next_token: () -> ::String
|
449
|
+
def entries: () -> ::Array[Types::MetricStreamEntry]
|
450
|
+
end
|
451
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatch/Client.html#list_metric_streams-instance_method
|
452
|
+
def list_metric_streams: (
|
453
|
+
?next_token: ::String,
|
454
|
+
?max_results: ::Integer
|
455
|
+
) -> _ListMetricStreamsResponseSuccess
|
456
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListMetricStreamsResponseSuccess
|
457
|
+
|
458
|
+
interface _ListMetricsResponseSuccess
|
459
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListMetricsOutput]
|
460
|
+
def metrics: () -> ::Array[Types::Metric]
|
461
|
+
def next_token: () -> ::String
|
462
|
+
def owning_accounts: () -> ::Array[::String]
|
463
|
+
end
|
464
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatch/Client.html#list_metrics-instance_method
|
465
|
+
def list_metrics: (
|
466
|
+
?namespace: ::String,
|
467
|
+
?metric_name: ::String,
|
468
|
+
?dimensions: Array[
|
469
|
+
{
|
470
|
+
name: ::String,
|
471
|
+
value: ::String?
|
472
|
+
},
|
473
|
+
],
|
474
|
+
?next_token: ::String,
|
475
|
+
?recently_active: ("PT3H"),
|
476
|
+
?include_linked_accounts: bool,
|
477
|
+
?owning_account: ::String
|
478
|
+
) -> _ListMetricsResponseSuccess
|
479
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListMetricsResponseSuccess
|
480
|
+
|
481
|
+
interface _ListTagsForResourceResponseSuccess
|
482
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceOutput]
|
483
|
+
def tags: () -> ::Array[Types::Tag]
|
484
|
+
end
|
485
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatch/Client.html#list_tags_for_resource-instance_method
|
486
|
+
def list_tags_for_resource: (
|
487
|
+
resource_arn: ::String
|
488
|
+
) -> _ListTagsForResourceResponseSuccess
|
489
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
|
490
|
+
|
491
|
+
interface _PutAnomalyDetectorResponseSuccess
|
492
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::PutAnomalyDetectorOutput]
|
493
|
+
end
|
494
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatch/Client.html#put_anomaly_detector-instance_method
|
495
|
+
def put_anomaly_detector: (
|
496
|
+
?namespace: ::String,
|
497
|
+
?metric_name: ::String,
|
498
|
+
?dimensions: Array[
|
499
|
+
{
|
500
|
+
name: ::String,
|
501
|
+
value: ::String
|
502
|
+
},
|
503
|
+
],
|
504
|
+
?stat: ::String,
|
505
|
+
?configuration: {
|
506
|
+
excluded_time_ranges: Array[
|
507
|
+
{
|
508
|
+
start_time: ::Time,
|
509
|
+
end_time: ::Time
|
510
|
+
},
|
511
|
+
]?,
|
512
|
+
metric_timezone: ::String?
|
513
|
+
},
|
514
|
+
?single_metric_anomaly_detector: {
|
515
|
+
namespace: ::String?,
|
516
|
+
metric_name: ::String?,
|
517
|
+
dimensions: Array[
|
518
|
+
{
|
519
|
+
name: ::String,
|
520
|
+
value: ::String
|
521
|
+
},
|
522
|
+
]?,
|
523
|
+
stat: ::String?
|
524
|
+
},
|
525
|
+
?metric_math_anomaly_detector: {
|
526
|
+
metric_data_queries: Array[
|
527
|
+
{
|
528
|
+
id: ::String,
|
529
|
+
metric_stat: {
|
530
|
+
metric: {
|
531
|
+
namespace: ::String?,
|
532
|
+
metric_name: ::String?,
|
533
|
+
dimensions: Array[
|
534
|
+
{
|
535
|
+
name: ::String,
|
536
|
+
value: ::String
|
537
|
+
},
|
538
|
+
]?
|
539
|
+
},
|
540
|
+
period: ::Integer,
|
541
|
+
stat: ::String,
|
542
|
+
unit: ("Seconds" | "Microseconds" | "Milliseconds" | "Bytes" | "Kilobytes" | "Megabytes" | "Gigabytes" | "Terabytes" | "Bits" | "Kilobits" | "Megabits" | "Gigabits" | "Terabits" | "Percent" | "Count" | "Bytes/Second" | "Kilobytes/Second" | "Megabytes/Second" | "Gigabytes/Second" | "Terabytes/Second" | "Bits/Second" | "Kilobits/Second" | "Megabits/Second" | "Gigabits/Second" | "Terabits/Second" | "Count/Second" | "None")?
|
543
|
+
}?,
|
544
|
+
expression: ::String?,
|
545
|
+
label: ::String?,
|
546
|
+
return_data: bool?,
|
547
|
+
period: ::Integer?,
|
548
|
+
account_id: ::String?
|
549
|
+
},
|
550
|
+
]?
|
551
|
+
}
|
552
|
+
) -> _PutAnomalyDetectorResponseSuccess
|
553
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutAnomalyDetectorResponseSuccess
|
554
|
+
|
555
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatch/Client.html#put_composite_alarm-instance_method
|
556
|
+
def put_composite_alarm: (
|
557
|
+
?actions_enabled: bool,
|
558
|
+
?alarm_actions: Array[::String],
|
559
|
+
?alarm_description: ::String,
|
560
|
+
alarm_name: ::String,
|
561
|
+
alarm_rule: ::String,
|
562
|
+
?insufficient_data_actions: Array[::String],
|
563
|
+
?ok_actions: Array[::String],
|
564
|
+
?tags: Array[
|
565
|
+
{
|
566
|
+
key: ::String,
|
567
|
+
value: ::String
|
568
|
+
},
|
569
|
+
],
|
570
|
+
?actions_suppressor: ::String,
|
571
|
+
?actions_suppressor_wait_period: ::Integer,
|
572
|
+
?actions_suppressor_extension_period: ::Integer
|
573
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
574
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
575
|
+
|
576
|
+
interface _PutDashboardResponseSuccess
|
577
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::PutDashboardOutput]
|
578
|
+
def dashboard_validation_messages: () -> ::Array[Types::DashboardValidationMessage]
|
579
|
+
end
|
580
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatch/Client.html#put_dashboard-instance_method
|
581
|
+
def put_dashboard: (
|
582
|
+
dashboard_name: ::String,
|
583
|
+
dashboard_body: ::String
|
584
|
+
) -> _PutDashboardResponseSuccess
|
585
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutDashboardResponseSuccess
|
586
|
+
|
587
|
+
interface _PutInsightRuleResponseSuccess
|
588
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::PutInsightRuleOutput]
|
589
|
+
end
|
590
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatch/Client.html#put_insight_rule-instance_method
|
591
|
+
def put_insight_rule: (
|
592
|
+
rule_name: ::String,
|
593
|
+
?rule_state: ::String,
|
594
|
+
rule_definition: ::String,
|
595
|
+
?tags: Array[
|
596
|
+
{
|
597
|
+
key: ::String,
|
598
|
+
value: ::String
|
599
|
+
},
|
600
|
+
]
|
601
|
+
) -> _PutInsightRuleResponseSuccess
|
602
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutInsightRuleResponseSuccess
|
603
|
+
|
604
|
+
interface _PutManagedInsightRulesResponseSuccess
|
605
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::PutManagedInsightRulesOutput]
|
606
|
+
def failures: () -> ::Array[Types::PartialFailure]
|
607
|
+
end
|
608
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatch/Client.html#put_managed_insight_rules-instance_method
|
609
|
+
def put_managed_insight_rules: (
|
610
|
+
managed_rules: Array[
|
611
|
+
{
|
612
|
+
template_name: ::String,
|
613
|
+
resource_arn: ::String,
|
614
|
+
tags: Array[
|
615
|
+
{
|
616
|
+
key: ::String,
|
617
|
+
value: ::String
|
618
|
+
},
|
619
|
+
]?
|
620
|
+
},
|
621
|
+
]
|
622
|
+
) -> _PutManagedInsightRulesResponseSuccess
|
623
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutManagedInsightRulesResponseSuccess
|
624
|
+
|
625
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatch/Client.html#put_metric_alarm-instance_method
|
626
|
+
def put_metric_alarm: (
|
627
|
+
alarm_name: ::String,
|
628
|
+
?alarm_description: ::String,
|
629
|
+
?actions_enabled: bool,
|
630
|
+
?ok_actions: Array[::String],
|
631
|
+
?alarm_actions: Array[::String],
|
632
|
+
?insufficient_data_actions: Array[::String],
|
633
|
+
?metric_name: ::String,
|
634
|
+
?namespace: ::String,
|
635
|
+
?statistic: ("SampleCount" | "Average" | "Sum" | "Minimum" | "Maximum"),
|
636
|
+
?extended_statistic: ::String,
|
637
|
+
?dimensions: Array[
|
638
|
+
{
|
639
|
+
name: ::String,
|
640
|
+
value: ::String
|
641
|
+
},
|
642
|
+
],
|
643
|
+
?period: ::Integer,
|
644
|
+
?unit: ("Seconds" | "Microseconds" | "Milliseconds" | "Bytes" | "Kilobytes" | "Megabytes" | "Gigabytes" | "Terabytes" | "Bits" | "Kilobits" | "Megabits" | "Gigabits" | "Terabits" | "Percent" | "Count" | "Bytes/Second" | "Kilobytes/Second" | "Megabytes/Second" | "Gigabytes/Second" | "Terabytes/Second" | "Bits/Second" | "Kilobits/Second" | "Megabits/Second" | "Gigabits/Second" | "Terabits/Second" | "Count/Second" | "None"),
|
645
|
+
evaluation_periods: ::Integer,
|
646
|
+
?datapoints_to_alarm: ::Integer,
|
647
|
+
?threshold: ::Float,
|
648
|
+
comparison_operator: ("GreaterThanOrEqualToThreshold" | "GreaterThanThreshold" | "LessThanThreshold" | "LessThanOrEqualToThreshold" | "LessThanLowerOrGreaterThanUpperThreshold" | "LessThanLowerThreshold" | "GreaterThanUpperThreshold"),
|
649
|
+
?treat_missing_data: ::String,
|
650
|
+
?evaluate_low_sample_count_percentile: ::String,
|
651
|
+
?metrics: Array[
|
652
|
+
{
|
653
|
+
id: ::String,
|
654
|
+
metric_stat: {
|
655
|
+
metric: {
|
656
|
+
namespace: ::String?,
|
657
|
+
metric_name: ::String?,
|
658
|
+
dimensions: Array[
|
659
|
+
{
|
660
|
+
name: ::String,
|
661
|
+
value: ::String
|
662
|
+
},
|
663
|
+
]?
|
664
|
+
},
|
665
|
+
period: ::Integer,
|
666
|
+
stat: ::String,
|
667
|
+
unit: ("Seconds" | "Microseconds" | "Milliseconds" | "Bytes" | "Kilobytes" | "Megabytes" | "Gigabytes" | "Terabytes" | "Bits" | "Kilobits" | "Megabits" | "Gigabits" | "Terabits" | "Percent" | "Count" | "Bytes/Second" | "Kilobytes/Second" | "Megabytes/Second" | "Gigabytes/Second" | "Terabytes/Second" | "Bits/Second" | "Kilobits/Second" | "Megabits/Second" | "Gigabits/Second" | "Terabits/Second" | "Count/Second" | "None")?
|
668
|
+
}?,
|
669
|
+
expression: ::String?,
|
670
|
+
label: ::String?,
|
671
|
+
return_data: bool?,
|
672
|
+
period: ::Integer?,
|
673
|
+
account_id: ::String?
|
674
|
+
},
|
675
|
+
],
|
676
|
+
?tags: Array[
|
677
|
+
{
|
678
|
+
key: ::String,
|
679
|
+
value: ::String
|
680
|
+
},
|
681
|
+
],
|
682
|
+
?threshold_metric_id: ::String
|
683
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
684
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
685
|
+
|
686
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatch/Client.html#put_metric_data-instance_method
|
687
|
+
def put_metric_data: (
|
688
|
+
namespace: ::String,
|
689
|
+
metric_data: Array[
|
690
|
+
{
|
691
|
+
metric_name: ::String,
|
692
|
+
dimensions: Array[
|
693
|
+
{
|
694
|
+
name: ::String,
|
695
|
+
value: ::String
|
696
|
+
},
|
697
|
+
]?,
|
698
|
+
timestamp: ::Time?,
|
699
|
+
value: ::Float?,
|
700
|
+
statistic_values: {
|
701
|
+
sample_count: ::Float,
|
702
|
+
sum: ::Float,
|
703
|
+
minimum: ::Float,
|
704
|
+
maximum: ::Float
|
705
|
+
}?,
|
706
|
+
values: Array[::Float]?,
|
707
|
+
counts: Array[::Float]?,
|
708
|
+
unit: ("Seconds" | "Microseconds" | "Milliseconds" | "Bytes" | "Kilobytes" | "Megabytes" | "Gigabytes" | "Terabytes" | "Bits" | "Kilobits" | "Megabits" | "Gigabits" | "Terabits" | "Percent" | "Count" | "Bytes/Second" | "Kilobytes/Second" | "Megabytes/Second" | "Gigabytes/Second" | "Terabytes/Second" | "Bits/Second" | "Kilobits/Second" | "Megabits/Second" | "Gigabits/Second" | "Terabits/Second" | "Count/Second" | "None")?,
|
709
|
+
storage_resolution: ::Integer?
|
710
|
+
},
|
711
|
+
]
|
712
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
713
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
714
|
+
|
715
|
+
interface _PutMetricStreamResponseSuccess
|
716
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::PutMetricStreamOutput]
|
717
|
+
def arn: () -> ::String
|
718
|
+
end
|
719
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatch/Client.html#put_metric_stream-instance_method
|
720
|
+
def put_metric_stream: (
|
721
|
+
name: ::String,
|
722
|
+
?include_filters: Array[
|
723
|
+
{
|
724
|
+
namespace: ::String?,
|
725
|
+
metric_names: Array[::String]?
|
726
|
+
},
|
727
|
+
],
|
728
|
+
?exclude_filters: Array[
|
729
|
+
{
|
730
|
+
namespace: ::String?,
|
731
|
+
metric_names: Array[::String]?
|
732
|
+
},
|
733
|
+
],
|
734
|
+
firehose_arn: ::String,
|
735
|
+
role_arn: ::String,
|
736
|
+
output_format: ("json" | "opentelemetry0.7" | "opentelemetry1.0"),
|
737
|
+
?tags: Array[
|
738
|
+
{
|
739
|
+
key: ::String,
|
740
|
+
value: ::String
|
741
|
+
},
|
742
|
+
],
|
743
|
+
?statistics_configurations: Array[
|
744
|
+
{
|
745
|
+
include_metrics: Array[
|
746
|
+
{
|
747
|
+
namespace: ::String,
|
748
|
+
metric_name: ::String
|
749
|
+
},
|
750
|
+
],
|
751
|
+
additional_statistics: Array[::String]
|
752
|
+
},
|
753
|
+
],
|
754
|
+
?include_linked_accounts_metrics: bool
|
755
|
+
) -> _PutMetricStreamResponseSuccess
|
756
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutMetricStreamResponseSuccess
|
757
|
+
|
758
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatch/Client.html#set_alarm_state-instance_method
|
759
|
+
def set_alarm_state: (
|
760
|
+
alarm_name: ::String,
|
761
|
+
state_value: ("OK" | "ALARM" | "INSUFFICIENT_DATA"),
|
762
|
+
state_reason: ::String,
|
763
|
+
?state_reason_data: ::String
|
764
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
765
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
766
|
+
|
767
|
+
interface _StartMetricStreamsResponseSuccess
|
768
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::StartMetricStreamsOutput]
|
769
|
+
end
|
770
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatch/Client.html#start_metric_streams-instance_method
|
771
|
+
def start_metric_streams: (
|
772
|
+
names: Array[::String]
|
773
|
+
) -> _StartMetricStreamsResponseSuccess
|
774
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartMetricStreamsResponseSuccess
|
775
|
+
|
776
|
+
interface _StopMetricStreamsResponseSuccess
|
777
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::StopMetricStreamsOutput]
|
778
|
+
end
|
779
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatch/Client.html#stop_metric_streams-instance_method
|
780
|
+
def stop_metric_streams: (
|
781
|
+
names: Array[::String]
|
782
|
+
) -> _StopMetricStreamsResponseSuccess
|
783
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StopMetricStreamsResponseSuccess
|
784
|
+
|
785
|
+
interface _TagResourceResponseSuccess
|
786
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceOutput]
|
787
|
+
end
|
788
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatch/Client.html#tag_resource-instance_method
|
789
|
+
def tag_resource: (
|
790
|
+
resource_arn: ::String,
|
791
|
+
tags: Array[
|
792
|
+
{
|
793
|
+
key: ::String,
|
794
|
+
value: ::String
|
795
|
+
},
|
796
|
+
]
|
797
|
+
) -> _TagResourceResponseSuccess
|
798
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
|
799
|
+
|
800
|
+
interface _UntagResourceResponseSuccess
|
801
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceOutput]
|
802
|
+
end
|
803
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatch/Client.html#untag_resource-instance_method
|
804
|
+
def untag_resource: (
|
805
|
+
resource_arn: ::String,
|
806
|
+
tag_keys: Array[::String]
|
807
|
+
) -> _UntagResourceResponseSuccess
|
808
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
|
809
|
+
|
810
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatch/Client.html#wait_until-instance_method
|
811
|
+
def wait_until: (:alarm_exists waiter_name,
|
812
|
+
?alarm_names: Array[::String],
|
813
|
+
?alarm_name_prefix: ::String,
|
814
|
+
?alarm_types: Array[("CompositeAlarm" | "MetricAlarm")],
|
815
|
+
?children_of_alarm_name: ::String,
|
816
|
+
?parents_of_alarm_name: ::String,
|
817
|
+
?state_value: ("OK" | "ALARM" | "INSUFFICIENT_DATA"),
|
818
|
+
?action_prefix: ::String,
|
819
|
+
?max_records: ::Integer,
|
820
|
+
?next_token: ::String
|
821
|
+
) -> Client::_DescribeAlarmsResponseSuccess
|
822
|
+
| (:alarm_exists waiter_name, ?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_DescribeAlarmsResponseSuccess
|
823
|
+
| (:composite_alarm_exists waiter_name,
|
824
|
+
?alarm_names: Array[::String],
|
825
|
+
?alarm_name_prefix: ::String,
|
826
|
+
?alarm_types: Array[("CompositeAlarm" | "MetricAlarm")],
|
827
|
+
?children_of_alarm_name: ::String,
|
828
|
+
?parents_of_alarm_name: ::String,
|
829
|
+
?state_value: ("OK" | "ALARM" | "INSUFFICIENT_DATA"),
|
830
|
+
?action_prefix: ::String,
|
831
|
+
?max_records: ::Integer,
|
832
|
+
?next_token: ::String
|
833
|
+
) -> Client::_DescribeAlarmsResponseSuccess
|
834
|
+
| (:composite_alarm_exists waiter_name, ?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_DescribeAlarmsResponseSuccess
|
835
|
+
end
|
836
|
+
end
|
837
|
+
end
|
838
|
+
|