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.
data/sig/types.rbs ADDED
@@ -0,0 +1,856 @@
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::CloudWatch
9
+ module Types
10
+
11
+ class AlarmHistoryItem
12
+ attr_accessor alarm_name: ::String
13
+ attr_accessor alarm_type: ("CompositeAlarm" | "MetricAlarm")
14
+ attr_accessor timestamp: ::Time
15
+ attr_accessor history_item_type: ("ConfigurationUpdate" | "StateUpdate" | "Action")
16
+ attr_accessor history_summary: ::String
17
+ attr_accessor history_data: ::String
18
+ SENSITIVE: []
19
+ end
20
+
21
+ class AnomalyDetector
22
+ attr_accessor namespace: ::String
23
+ attr_accessor metric_name: ::String
24
+ attr_accessor dimensions: ::Array[Types::Dimension]
25
+ attr_accessor stat: ::String
26
+ attr_accessor configuration: Types::AnomalyDetectorConfiguration
27
+ attr_accessor state_value: ("PENDING_TRAINING" | "TRAINED_INSUFFICIENT_DATA" | "TRAINED")
28
+ attr_accessor single_metric_anomaly_detector: Types::SingleMetricAnomalyDetector
29
+ attr_accessor metric_math_anomaly_detector: Types::MetricMathAnomalyDetector
30
+ SENSITIVE: []
31
+ end
32
+
33
+ class AnomalyDetectorConfiguration
34
+ attr_accessor excluded_time_ranges: ::Array[Types::Range]
35
+ attr_accessor metric_timezone: ::String
36
+ SENSITIVE: []
37
+ end
38
+
39
+ class CompositeAlarm
40
+ attr_accessor actions_enabled: bool
41
+ attr_accessor alarm_actions: ::Array[::String]
42
+ attr_accessor alarm_arn: ::String
43
+ attr_accessor alarm_configuration_updated_timestamp: ::Time
44
+ attr_accessor alarm_description: ::String
45
+ attr_accessor alarm_name: ::String
46
+ attr_accessor alarm_rule: ::String
47
+ attr_accessor insufficient_data_actions: ::Array[::String]
48
+ attr_accessor ok_actions: ::Array[::String]
49
+ attr_accessor state_reason: ::String
50
+ attr_accessor state_reason_data: ::String
51
+ attr_accessor state_updated_timestamp: ::Time
52
+ attr_accessor state_value: ("OK" | "ALARM" | "INSUFFICIENT_DATA")
53
+ attr_accessor state_transitioned_timestamp: ::Time
54
+ attr_accessor actions_suppressed_by: ("WaitPeriod" | "ExtensionPeriod" | "Alarm")
55
+ attr_accessor actions_suppressed_reason: ::String
56
+ attr_accessor actions_suppressor: ::String
57
+ attr_accessor actions_suppressor_wait_period: ::Integer
58
+ attr_accessor actions_suppressor_extension_period: ::Integer
59
+ SENSITIVE: []
60
+ end
61
+
62
+ class ConcurrentModificationException < Aws::EmptyStructure
63
+ end
64
+
65
+ class DashboardEntry
66
+ attr_accessor dashboard_name: ::String
67
+ attr_accessor dashboard_arn: ::String
68
+ attr_accessor last_modified: ::Time
69
+ attr_accessor size: ::Integer
70
+ SENSITIVE: []
71
+ end
72
+
73
+ class DashboardInvalidInputError
74
+ attr_accessor message: ::String
75
+ attr_accessor dashboard_validation_messages: ::Array[Types::DashboardValidationMessage]
76
+ SENSITIVE: []
77
+ end
78
+
79
+ class DashboardNotFoundError
80
+ attr_accessor message: ::String
81
+ SENSITIVE: []
82
+ end
83
+
84
+ class DashboardValidationMessage
85
+ attr_accessor data_path: ::String
86
+ attr_accessor message: ::String
87
+ SENSITIVE: []
88
+ end
89
+
90
+ class Datapoint
91
+ attr_accessor timestamp: ::Time
92
+ attr_accessor sample_count: ::Float
93
+ attr_accessor average: ::Float
94
+ attr_accessor sum: ::Float
95
+ attr_accessor minimum: ::Float
96
+ attr_accessor maximum: ::Float
97
+ attr_accessor 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")
98
+ attr_accessor extended_statistics: ::Hash[::String, ::Float]
99
+ SENSITIVE: []
100
+ end
101
+
102
+ class DeleteAlarmsInput
103
+ attr_accessor alarm_names: ::Array[::String]
104
+ SENSITIVE: []
105
+ end
106
+
107
+ class DeleteAnomalyDetectorInput
108
+ attr_accessor namespace: ::String
109
+ attr_accessor metric_name: ::String
110
+ attr_accessor dimensions: ::Array[Types::Dimension]
111
+ attr_accessor stat: ::String
112
+ attr_accessor single_metric_anomaly_detector: Types::SingleMetricAnomalyDetector
113
+ attr_accessor metric_math_anomaly_detector: Types::MetricMathAnomalyDetector
114
+ SENSITIVE: []
115
+ end
116
+
117
+ class DeleteAnomalyDetectorOutput < Aws::EmptyStructure
118
+ end
119
+
120
+ class DeleteDashboardsInput
121
+ attr_accessor dashboard_names: ::Array[::String]
122
+ SENSITIVE: []
123
+ end
124
+
125
+ class DeleteDashboardsOutput < Aws::EmptyStructure
126
+ end
127
+
128
+ class DeleteInsightRulesInput
129
+ attr_accessor rule_names: ::Array[::String]
130
+ SENSITIVE: []
131
+ end
132
+
133
+ class DeleteInsightRulesOutput
134
+ attr_accessor failures: ::Array[Types::PartialFailure]
135
+ SENSITIVE: []
136
+ end
137
+
138
+ class DeleteMetricStreamInput
139
+ attr_accessor name: ::String
140
+ SENSITIVE: []
141
+ end
142
+
143
+ class DeleteMetricStreamOutput < Aws::EmptyStructure
144
+ end
145
+
146
+ class DescribeAlarmHistoryInput
147
+ attr_accessor alarm_name: ::String
148
+ attr_accessor alarm_types: ::Array[("CompositeAlarm" | "MetricAlarm")]
149
+ attr_accessor history_item_type: ("ConfigurationUpdate" | "StateUpdate" | "Action")
150
+ attr_accessor start_date: ::Time
151
+ attr_accessor end_date: ::Time
152
+ attr_accessor max_records: ::Integer
153
+ attr_accessor next_token: ::String
154
+ attr_accessor scan_by: ("TimestampDescending" | "TimestampAscending")
155
+ SENSITIVE: []
156
+ end
157
+
158
+ class DescribeAlarmHistoryOutput
159
+ attr_accessor alarm_history_items: ::Array[Types::AlarmHistoryItem]
160
+ attr_accessor next_token: ::String
161
+ SENSITIVE: []
162
+ end
163
+
164
+ class DescribeAlarmsForMetricInput
165
+ attr_accessor metric_name: ::String
166
+ attr_accessor namespace: ::String
167
+ attr_accessor statistic: ("SampleCount" | "Average" | "Sum" | "Minimum" | "Maximum")
168
+ attr_accessor extended_statistic: ::String
169
+ attr_accessor dimensions: ::Array[Types::Dimension]
170
+ attr_accessor period: ::Integer
171
+ attr_accessor 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")
172
+ SENSITIVE: []
173
+ end
174
+
175
+ class DescribeAlarmsForMetricOutput
176
+ attr_accessor metric_alarms: ::Array[Types::MetricAlarm]
177
+ SENSITIVE: []
178
+ end
179
+
180
+ class DescribeAlarmsInput
181
+ attr_accessor alarm_names: ::Array[::String]
182
+ attr_accessor alarm_name_prefix: ::String
183
+ attr_accessor alarm_types: ::Array[("CompositeAlarm" | "MetricAlarm")]
184
+ attr_accessor children_of_alarm_name: ::String
185
+ attr_accessor parents_of_alarm_name: ::String
186
+ attr_accessor state_value: ("OK" | "ALARM" | "INSUFFICIENT_DATA")
187
+ attr_accessor action_prefix: ::String
188
+ attr_accessor max_records: ::Integer
189
+ attr_accessor next_token: ::String
190
+ SENSITIVE: []
191
+ end
192
+
193
+ class DescribeAlarmsOutput
194
+ attr_accessor composite_alarms: ::Array[Types::CompositeAlarm]
195
+ attr_accessor metric_alarms: ::Array[Types::MetricAlarm]
196
+ attr_accessor next_token: ::String
197
+ SENSITIVE: []
198
+ end
199
+
200
+ class DescribeAnomalyDetectorsInput
201
+ attr_accessor next_token: ::String
202
+ attr_accessor max_results: ::Integer
203
+ attr_accessor namespace: ::String
204
+ attr_accessor metric_name: ::String
205
+ attr_accessor dimensions: ::Array[Types::Dimension]
206
+ attr_accessor anomaly_detector_types: ::Array[("SINGLE_METRIC" | "METRIC_MATH")]
207
+ SENSITIVE: []
208
+ end
209
+
210
+ class DescribeAnomalyDetectorsOutput
211
+ attr_accessor anomaly_detectors: ::Array[Types::AnomalyDetector]
212
+ attr_accessor next_token: ::String
213
+ SENSITIVE: []
214
+ end
215
+
216
+ class DescribeInsightRulesInput
217
+ attr_accessor next_token: ::String
218
+ attr_accessor max_results: ::Integer
219
+ SENSITIVE: []
220
+ end
221
+
222
+ class DescribeInsightRulesOutput
223
+ attr_accessor next_token: ::String
224
+ attr_accessor insight_rules: ::Array[Types::InsightRule]
225
+ SENSITIVE: []
226
+ end
227
+
228
+ class Dimension
229
+ attr_accessor name: ::String
230
+ attr_accessor value: ::String
231
+ SENSITIVE: []
232
+ end
233
+
234
+ class DimensionFilter
235
+ attr_accessor name: ::String
236
+ attr_accessor value: ::String
237
+ SENSITIVE: []
238
+ end
239
+
240
+ class DisableAlarmActionsInput
241
+ attr_accessor alarm_names: ::Array[::String]
242
+ SENSITIVE: []
243
+ end
244
+
245
+ class DisableInsightRulesInput
246
+ attr_accessor rule_names: ::Array[::String]
247
+ SENSITIVE: []
248
+ end
249
+
250
+ class DisableInsightRulesOutput
251
+ attr_accessor failures: ::Array[Types::PartialFailure]
252
+ SENSITIVE: []
253
+ end
254
+
255
+ class EnableAlarmActionsInput
256
+ attr_accessor alarm_names: ::Array[::String]
257
+ SENSITIVE: []
258
+ end
259
+
260
+ class EnableInsightRulesInput
261
+ attr_accessor rule_names: ::Array[::String]
262
+ SENSITIVE: []
263
+ end
264
+
265
+ class EnableInsightRulesOutput
266
+ attr_accessor failures: ::Array[Types::PartialFailure]
267
+ SENSITIVE: []
268
+ end
269
+
270
+ class GetDashboardInput
271
+ attr_accessor dashboard_name: ::String
272
+ SENSITIVE: []
273
+ end
274
+
275
+ class GetDashboardOutput
276
+ attr_accessor dashboard_arn: ::String
277
+ attr_accessor dashboard_body: ::String
278
+ attr_accessor dashboard_name: ::String
279
+ SENSITIVE: []
280
+ end
281
+
282
+ class GetInsightRuleReportInput
283
+ attr_accessor rule_name: ::String
284
+ attr_accessor start_time: ::Time
285
+ attr_accessor end_time: ::Time
286
+ attr_accessor period: ::Integer
287
+ attr_accessor max_contributor_count: ::Integer
288
+ attr_accessor metrics: ::Array[::String]
289
+ attr_accessor order_by: ::String
290
+ SENSITIVE: []
291
+ end
292
+
293
+ class GetInsightRuleReportOutput
294
+ attr_accessor key_labels: ::Array[::String]
295
+ attr_accessor aggregation_statistic: ::String
296
+ attr_accessor aggregate_value: ::Float
297
+ attr_accessor approximate_unique_count: ::Integer
298
+ attr_accessor contributors: ::Array[Types::InsightRuleContributor]
299
+ attr_accessor metric_datapoints: ::Array[Types::InsightRuleMetricDatapoint]
300
+ SENSITIVE: []
301
+ end
302
+
303
+ class GetMetricDataInput
304
+ attr_accessor metric_data_queries: ::Array[Types::MetricDataQuery]
305
+ attr_accessor start_time: ::Time
306
+ attr_accessor end_time: ::Time
307
+ attr_accessor next_token: ::String
308
+ attr_accessor scan_by: ("TimestampDescending" | "TimestampAscending")
309
+ attr_accessor max_datapoints: ::Integer
310
+ attr_accessor label_options: Types::LabelOptions
311
+ SENSITIVE: []
312
+ end
313
+
314
+ class GetMetricDataOutput
315
+ attr_accessor metric_data_results: ::Array[Types::MetricDataResult]
316
+ attr_accessor next_token: ::String
317
+ attr_accessor messages: ::Array[Types::MessageData]
318
+ SENSITIVE: []
319
+ end
320
+
321
+ class GetMetricStatisticsInput
322
+ attr_accessor namespace: ::String
323
+ attr_accessor metric_name: ::String
324
+ attr_accessor dimensions: ::Array[Types::Dimension]
325
+ attr_accessor start_time: ::Time
326
+ attr_accessor end_time: ::Time
327
+ attr_accessor period: ::Integer
328
+ attr_accessor statistics: ::Array[("SampleCount" | "Average" | "Sum" | "Minimum" | "Maximum")]
329
+ attr_accessor extended_statistics: ::Array[::String]
330
+ attr_accessor 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")
331
+ SENSITIVE: []
332
+ end
333
+
334
+ class GetMetricStatisticsOutput
335
+ attr_accessor label: ::String
336
+ attr_accessor datapoints: ::Array[Types::Datapoint]
337
+ SENSITIVE: []
338
+ end
339
+
340
+ class GetMetricStreamInput
341
+ attr_accessor name: ::String
342
+ SENSITIVE: []
343
+ end
344
+
345
+ class GetMetricStreamOutput
346
+ attr_accessor arn: ::String
347
+ attr_accessor name: ::String
348
+ attr_accessor include_filters: ::Array[Types::MetricStreamFilter]
349
+ attr_accessor exclude_filters: ::Array[Types::MetricStreamFilter]
350
+ attr_accessor firehose_arn: ::String
351
+ attr_accessor role_arn: ::String
352
+ attr_accessor state: ::String
353
+ attr_accessor creation_date: ::Time
354
+ attr_accessor last_update_date: ::Time
355
+ attr_accessor output_format: ("json" | "opentelemetry0.7" | "opentelemetry1.0")
356
+ attr_accessor statistics_configurations: ::Array[Types::MetricStreamStatisticsConfiguration]
357
+ attr_accessor include_linked_accounts_metrics: bool
358
+ SENSITIVE: []
359
+ end
360
+
361
+ class GetMetricWidgetImageInput
362
+ attr_accessor metric_widget: ::String
363
+ attr_accessor output_format: ::String
364
+ SENSITIVE: []
365
+ end
366
+
367
+ class GetMetricWidgetImageOutput
368
+ attr_accessor metric_widget_image: ::String
369
+ SENSITIVE: []
370
+ end
371
+
372
+ class InsightRule
373
+ attr_accessor name: ::String
374
+ attr_accessor state: ::String
375
+ attr_accessor schema: ::String
376
+ attr_accessor definition: ::String
377
+ attr_accessor managed_rule: bool
378
+ SENSITIVE: []
379
+ end
380
+
381
+ class InsightRuleContributor
382
+ attr_accessor keys: ::Array[::String]
383
+ attr_accessor approximate_aggregate_value: ::Float
384
+ attr_accessor datapoints: ::Array[Types::InsightRuleContributorDatapoint]
385
+ SENSITIVE: []
386
+ end
387
+
388
+ class InsightRuleContributorDatapoint
389
+ attr_accessor timestamp: ::Time
390
+ attr_accessor approximate_value: ::Float
391
+ SENSITIVE: []
392
+ end
393
+
394
+ class InsightRuleMetricDatapoint
395
+ attr_accessor timestamp: ::Time
396
+ attr_accessor unique_contributors: ::Float
397
+ attr_accessor max_contributor_value: ::Float
398
+ attr_accessor sample_count: ::Float
399
+ attr_accessor average: ::Float
400
+ attr_accessor sum: ::Float
401
+ attr_accessor minimum: ::Float
402
+ attr_accessor maximum: ::Float
403
+ SENSITIVE: []
404
+ end
405
+
406
+ class InternalServiceFault
407
+ attr_accessor message: ::String
408
+ SENSITIVE: []
409
+ end
410
+
411
+ class InvalidFormatFault
412
+ attr_accessor message: ::String
413
+ SENSITIVE: []
414
+ end
415
+
416
+ class InvalidNextToken
417
+ attr_accessor message: ::String
418
+ SENSITIVE: []
419
+ end
420
+
421
+ class InvalidParameterCombinationException
422
+ attr_accessor message: ::String
423
+ SENSITIVE: []
424
+ end
425
+
426
+ class InvalidParameterValueException
427
+ attr_accessor message: ::String
428
+ SENSITIVE: []
429
+ end
430
+
431
+ class LabelOptions
432
+ attr_accessor timezone: ::String
433
+ SENSITIVE: []
434
+ end
435
+
436
+ class LimitExceededException < Aws::EmptyStructure
437
+ end
438
+
439
+ class LimitExceededFault
440
+ attr_accessor message: ::String
441
+ SENSITIVE: []
442
+ end
443
+
444
+ class ListDashboardsInput
445
+ attr_accessor dashboard_name_prefix: ::String
446
+ attr_accessor next_token: ::String
447
+ SENSITIVE: []
448
+ end
449
+
450
+ class ListDashboardsOutput
451
+ attr_accessor dashboard_entries: ::Array[Types::DashboardEntry]
452
+ attr_accessor next_token: ::String
453
+ SENSITIVE: []
454
+ end
455
+
456
+ class ListManagedInsightRulesInput
457
+ attr_accessor resource_arn: ::String
458
+ attr_accessor next_token: ::String
459
+ attr_accessor max_results: ::Integer
460
+ SENSITIVE: []
461
+ end
462
+
463
+ class ListManagedInsightRulesOutput
464
+ attr_accessor managed_rules: ::Array[Types::ManagedRuleDescription]
465
+ attr_accessor next_token: ::String
466
+ SENSITIVE: []
467
+ end
468
+
469
+ class ListMetricStreamsInput
470
+ attr_accessor next_token: ::String
471
+ attr_accessor max_results: ::Integer
472
+ SENSITIVE: []
473
+ end
474
+
475
+ class ListMetricStreamsOutput
476
+ attr_accessor next_token: ::String
477
+ attr_accessor entries: ::Array[Types::MetricStreamEntry]
478
+ SENSITIVE: []
479
+ end
480
+
481
+ class ListMetricsInput
482
+ attr_accessor namespace: ::String
483
+ attr_accessor metric_name: ::String
484
+ attr_accessor dimensions: ::Array[Types::DimensionFilter]
485
+ attr_accessor next_token: ::String
486
+ attr_accessor recently_active: ("PT3H")
487
+ attr_accessor include_linked_accounts: bool
488
+ attr_accessor owning_account: ::String
489
+ SENSITIVE: []
490
+ end
491
+
492
+ class ListMetricsOutput
493
+ attr_accessor metrics: ::Array[Types::Metric]
494
+ attr_accessor next_token: ::String
495
+ attr_accessor owning_accounts: ::Array[::String]
496
+ SENSITIVE: []
497
+ end
498
+
499
+ class ListTagsForResourceInput
500
+ attr_accessor resource_arn: ::String
501
+ SENSITIVE: []
502
+ end
503
+
504
+ class ListTagsForResourceOutput
505
+ attr_accessor tags: ::Array[Types::Tag]
506
+ SENSITIVE: []
507
+ end
508
+
509
+ class ManagedRule
510
+ attr_accessor template_name: ::String
511
+ attr_accessor resource_arn: ::String
512
+ attr_accessor tags: ::Array[Types::Tag]
513
+ SENSITIVE: []
514
+ end
515
+
516
+ class ManagedRuleDescription
517
+ attr_accessor template_name: ::String
518
+ attr_accessor resource_arn: ::String
519
+ attr_accessor rule_state: Types::ManagedRuleState
520
+ SENSITIVE: []
521
+ end
522
+
523
+ class ManagedRuleState
524
+ attr_accessor rule_name: ::String
525
+ attr_accessor state: ::String
526
+ SENSITIVE: []
527
+ end
528
+
529
+ class MessageData
530
+ attr_accessor code: ::String
531
+ attr_accessor value: ::String
532
+ SENSITIVE: []
533
+ end
534
+
535
+ class Metric
536
+ attr_accessor namespace: ::String
537
+ attr_accessor metric_name: ::String
538
+ attr_accessor dimensions: ::Array[Types::Dimension]
539
+ SENSITIVE: []
540
+ end
541
+
542
+ class MetricAlarm
543
+ attr_accessor alarm_name: ::String
544
+ attr_accessor alarm_arn: ::String
545
+ attr_accessor alarm_description: ::String
546
+ attr_accessor alarm_configuration_updated_timestamp: ::Time
547
+ attr_accessor actions_enabled: bool
548
+ attr_accessor ok_actions: ::Array[::String]
549
+ attr_accessor alarm_actions: ::Array[::String]
550
+ attr_accessor insufficient_data_actions: ::Array[::String]
551
+ attr_accessor state_value: ("OK" | "ALARM" | "INSUFFICIENT_DATA")
552
+ attr_accessor state_reason: ::String
553
+ attr_accessor state_reason_data: ::String
554
+ attr_accessor state_updated_timestamp: ::Time
555
+ attr_accessor metric_name: ::String
556
+ attr_accessor namespace: ::String
557
+ attr_accessor statistic: ("SampleCount" | "Average" | "Sum" | "Minimum" | "Maximum")
558
+ attr_accessor extended_statistic: ::String
559
+ attr_accessor dimensions: ::Array[Types::Dimension]
560
+ attr_accessor period: ::Integer
561
+ attr_accessor 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")
562
+ attr_accessor evaluation_periods: ::Integer
563
+ attr_accessor datapoints_to_alarm: ::Integer
564
+ attr_accessor threshold: ::Float
565
+ attr_accessor comparison_operator: ("GreaterThanOrEqualToThreshold" | "GreaterThanThreshold" | "LessThanThreshold" | "LessThanOrEqualToThreshold" | "LessThanLowerOrGreaterThanUpperThreshold" | "LessThanLowerThreshold" | "GreaterThanUpperThreshold")
566
+ attr_accessor treat_missing_data: ::String
567
+ attr_accessor evaluate_low_sample_count_percentile: ::String
568
+ attr_accessor metrics: ::Array[Types::MetricDataQuery]
569
+ attr_accessor threshold_metric_id: ::String
570
+ attr_accessor evaluation_state: ("PARTIAL_DATA")
571
+ attr_accessor state_transitioned_timestamp: ::Time
572
+ SENSITIVE: []
573
+ end
574
+
575
+ class MetricDataQuery
576
+ attr_accessor id: ::String
577
+ attr_accessor metric_stat: Types::MetricStat
578
+ attr_accessor expression: ::String
579
+ attr_accessor label: ::String
580
+ attr_accessor return_data: bool
581
+ attr_accessor period: ::Integer
582
+ attr_accessor account_id: ::String
583
+ SENSITIVE: []
584
+ end
585
+
586
+ class MetricDataResult
587
+ attr_accessor id: ::String
588
+ attr_accessor label: ::String
589
+ attr_accessor timestamps: ::Array[::Time]
590
+ attr_accessor values: ::Array[::Float]
591
+ attr_accessor status_code: ("Complete" | "InternalError" | "PartialData" | "Forbidden")
592
+ attr_accessor messages: ::Array[Types::MessageData]
593
+ SENSITIVE: []
594
+ end
595
+
596
+ class MetricDatum
597
+ attr_accessor metric_name: ::String
598
+ attr_accessor dimensions: ::Array[Types::Dimension]
599
+ attr_accessor timestamp: ::Time
600
+ attr_accessor value: ::Float
601
+ attr_accessor statistic_values: Types::StatisticSet
602
+ attr_accessor values: ::Array[::Float]
603
+ attr_accessor counts: ::Array[::Float]
604
+ attr_accessor 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")
605
+ attr_accessor storage_resolution: ::Integer
606
+ SENSITIVE: []
607
+ end
608
+
609
+ class MetricMathAnomalyDetector
610
+ attr_accessor metric_data_queries: ::Array[Types::MetricDataQuery]
611
+ SENSITIVE: []
612
+ end
613
+
614
+ class MetricStat
615
+ attr_accessor metric: Types::Metric
616
+ attr_accessor period: ::Integer
617
+ attr_accessor stat: ::String
618
+ attr_accessor 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")
619
+ SENSITIVE: []
620
+ end
621
+
622
+ class MetricStreamEntry
623
+ attr_accessor arn: ::String
624
+ attr_accessor creation_date: ::Time
625
+ attr_accessor last_update_date: ::Time
626
+ attr_accessor name: ::String
627
+ attr_accessor firehose_arn: ::String
628
+ attr_accessor state: ::String
629
+ attr_accessor output_format: ("json" | "opentelemetry0.7" | "opentelemetry1.0")
630
+ SENSITIVE: []
631
+ end
632
+
633
+ class MetricStreamFilter
634
+ attr_accessor namespace: ::String
635
+ attr_accessor metric_names: ::Array[::String]
636
+ SENSITIVE: []
637
+ end
638
+
639
+ class MetricStreamStatisticsConfiguration
640
+ attr_accessor include_metrics: ::Array[Types::MetricStreamStatisticsMetric]
641
+ attr_accessor additional_statistics: ::Array[::String]
642
+ SENSITIVE: []
643
+ end
644
+
645
+ class MetricStreamStatisticsMetric
646
+ attr_accessor namespace: ::String
647
+ attr_accessor metric_name: ::String
648
+ SENSITIVE: []
649
+ end
650
+
651
+ class MissingRequiredParameterException
652
+ attr_accessor message: ::String
653
+ SENSITIVE: []
654
+ end
655
+
656
+ class PartialFailure
657
+ attr_accessor failure_resource: ::String
658
+ attr_accessor exception_type: ::String
659
+ attr_accessor failure_code: ::String
660
+ attr_accessor failure_description: ::String
661
+ SENSITIVE: []
662
+ end
663
+
664
+ class PutAnomalyDetectorInput
665
+ attr_accessor namespace: ::String
666
+ attr_accessor metric_name: ::String
667
+ attr_accessor dimensions: ::Array[Types::Dimension]
668
+ attr_accessor stat: ::String
669
+ attr_accessor configuration: Types::AnomalyDetectorConfiguration
670
+ attr_accessor single_metric_anomaly_detector: Types::SingleMetricAnomalyDetector
671
+ attr_accessor metric_math_anomaly_detector: Types::MetricMathAnomalyDetector
672
+ SENSITIVE: []
673
+ end
674
+
675
+ class PutAnomalyDetectorOutput < Aws::EmptyStructure
676
+ end
677
+
678
+ class PutCompositeAlarmInput
679
+ attr_accessor actions_enabled: bool
680
+ attr_accessor alarm_actions: ::Array[::String]
681
+ attr_accessor alarm_description: ::String
682
+ attr_accessor alarm_name: ::String
683
+ attr_accessor alarm_rule: ::String
684
+ attr_accessor insufficient_data_actions: ::Array[::String]
685
+ attr_accessor ok_actions: ::Array[::String]
686
+ attr_accessor tags: ::Array[Types::Tag]
687
+ attr_accessor actions_suppressor: ::String
688
+ attr_accessor actions_suppressor_wait_period: ::Integer
689
+ attr_accessor actions_suppressor_extension_period: ::Integer
690
+ SENSITIVE: []
691
+ end
692
+
693
+ class PutDashboardInput
694
+ attr_accessor dashboard_name: ::String
695
+ attr_accessor dashboard_body: ::String
696
+ SENSITIVE: []
697
+ end
698
+
699
+ class PutDashboardOutput
700
+ attr_accessor dashboard_validation_messages: ::Array[Types::DashboardValidationMessage]
701
+ SENSITIVE: []
702
+ end
703
+
704
+ class PutInsightRuleInput
705
+ attr_accessor rule_name: ::String
706
+ attr_accessor rule_state: ::String
707
+ attr_accessor rule_definition: ::String
708
+ attr_accessor tags: ::Array[Types::Tag]
709
+ SENSITIVE: []
710
+ end
711
+
712
+ class PutInsightRuleOutput < Aws::EmptyStructure
713
+ end
714
+
715
+ class PutManagedInsightRulesInput
716
+ attr_accessor managed_rules: ::Array[Types::ManagedRule]
717
+ SENSITIVE: []
718
+ end
719
+
720
+ class PutManagedInsightRulesOutput
721
+ attr_accessor failures: ::Array[Types::PartialFailure]
722
+ SENSITIVE: []
723
+ end
724
+
725
+ class PutMetricAlarmInput
726
+ attr_accessor alarm_name: ::String
727
+ attr_accessor alarm_description: ::String
728
+ attr_accessor actions_enabled: bool
729
+ attr_accessor ok_actions: ::Array[::String]
730
+ attr_accessor alarm_actions: ::Array[::String]
731
+ attr_accessor insufficient_data_actions: ::Array[::String]
732
+ attr_accessor metric_name: ::String
733
+ attr_accessor namespace: ::String
734
+ attr_accessor statistic: ("SampleCount" | "Average" | "Sum" | "Minimum" | "Maximum")
735
+ attr_accessor extended_statistic: ::String
736
+ attr_accessor dimensions: ::Array[Types::Dimension]
737
+ attr_accessor period: ::Integer
738
+ attr_accessor 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")
739
+ attr_accessor evaluation_periods: ::Integer
740
+ attr_accessor datapoints_to_alarm: ::Integer
741
+ attr_accessor threshold: ::Float
742
+ attr_accessor comparison_operator: ("GreaterThanOrEqualToThreshold" | "GreaterThanThreshold" | "LessThanThreshold" | "LessThanOrEqualToThreshold" | "LessThanLowerOrGreaterThanUpperThreshold" | "LessThanLowerThreshold" | "GreaterThanUpperThreshold")
743
+ attr_accessor treat_missing_data: ::String
744
+ attr_accessor evaluate_low_sample_count_percentile: ::String
745
+ attr_accessor metrics: ::Array[Types::MetricDataQuery]
746
+ attr_accessor tags: ::Array[Types::Tag]
747
+ attr_accessor threshold_metric_id: ::String
748
+ SENSITIVE: []
749
+ end
750
+
751
+ class PutMetricDataInput
752
+ attr_accessor namespace: ::String
753
+ attr_accessor metric_data: ::Array[Types::MetricDatum]
754
+ SENSITIVE: []
755
+ end
756
+
757
+ class PutMetricStreamInput
758
+ attr_accessor name: ::String
759
+ attr_accessor include_filters: ::Array[Types::MetricStreamFilter]
760
+ attr_accessor exclude_filters: ::Array[Types::MetricStreamFilter]
761
+ attr_accessor firehose_arn: ::String
762
+ attr_accessor role_arn: ::String
763
+ attr_accessor output_format: ("json" | "opentelemetry0.7" | "opentelemetry1.0")
764
+ attr_accessor tags: ::Array[Types::Tag]
765
+ attr_accessor statistics_configurations: ::Array[Types::MetricStreamStatisticsConfiguration]
766
+ attr_accessor include_linked_accounts_metrics: bool
767
+ SENSITIVE: []
768
+ end
769
+
770
+ class PutMetricStreamOutput
771
+ attr_accessor arn: ::String
772
+ SENSITIVE: []
773
+ end
774
+
775
+ class Range
776
+ attr_accessor start_time: ::Time
777
+ attr_accessor end_time: ::Time
778
+ SENSITIVE: []
779
+ end
780
+
781
+ class ResourceNotFound
782
+ attr_accessor message: ::String
783
+ SENSITIVE: []
784
+ end
785
+
786
+ class ResourceNotFoundException
787
+ attr_accessor resource_type: ::String
788
+ attr_accessor resource_id: ::String
789
+ SENSITIVE: []
790
+ end
791
+
792
+ class SetAlarmStateInput
793
+ attr_accessor alarm_name: ::String
794
+ attr_accessor state_value: ("OK" | "ALARM" | "INSUFFICIENT_DATA")
795
+ attr_accessor state_reason: ::String
796
+ attr_accessor state_reason_data: ::String
797
+ SENSITIVE: []
798
+ end
799
+
800
+ class SingleMetricAnomalyDetector
801
+ attr_accessor namespace: ::String
802
+ attr_accessor metric_name: ::String
803
+ attr_accessor dimensions: ::Array[Types::Dimension]
804
+ attr_accessor stat: ::String
805
+ SENSITIVE: []
806
+ end
807
+
808
+ class StartMetricStreamsInput
809
+ attr_accessor names: ::Array[::String]
810
+ SENSITIVE: []
811
+ end
812
+
813
+ class StartMetricStreamsOutput < Aws::EmptyStructure
814
+ end
815
+
816
+ class StatisticSet
817
+ attr_accessor sample_count: ::Float
818
+ attr_accessor sum: ::Float
819
+ attr_accessor minimum: ::Float
820
+ attr_accessor maximum: ::Float
821
+ SENSITIVE: []
822
+ end
823
+
824
+ class StopMetricStreamsInput
825
+ attr_accessor names: ::Array[::String]
826
+ SENSITIVE: []
827
+ end
828
+
829
+ class StopMetricStreamsOutput < Aws::EmptyStructure
830
+ end
831
+
832
+ class Tag
833
+ attr_accessor key: ::String
834
+ attr_accessor value: ::String
835
+ SENSITIVE: []
836
+ end
837
+
838
+ class TagResourceInput
839
+ attr_accessor resource_arn: ::String
840
+ attr_accessor tags: ::Array[Types::Tag]
841
+ SENSITIVE: []
842
+ end
843
+
844
+ class TagResourceOutput < Aws::EmptyStructure
845
+ end
846
+
847
+ class UntagResourceInput
848
+ attr_accessor resource_arn: ::String
849
+ attr_accessor tag_keys: ::Array[::String]
850
+ SENSITIVE: []
851
+ end
852
+
853
+ class UntagResourceOutput < Aws::EmptyStructure
854
+ end
855
+ end
856
+ end