aws-sdk-cloudwatch 1.136.0 → 1.137.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/client.rb +1 -1
- data/lib/aws-sdk-cloudwatch.rb +1 -1
- data/sig/client.rbs +30 -188
- data/sig/metric.rbs +11 -11
- data/sig/params.rbs +82 -0
- data/sig/resource.rbs +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: cca776ca1f45ebf3ac412e75b5cdfd1feaae8696b419b1560a987121ee53acfa
|
|
4
|
+
data.tar.gz: bb86fd77869b201d6a0172a61563c6e12f2ca953820d3f415eb5ff5ee570f0ce
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 284a32c67135fa26ca85530b291bfa54a75e65cbcbb411e4372f27c27d3602294723965f236f29df4dc469cc4554bc68f963da2c1e97d4685e3e9a31133863a3
|
|
7
|
+
data.tar.gz: 14f4b1d6588120056979affc170070d7eafea01503f6651c714ed06515b3f0d9948eed339c253e4ec3fbbd3cc71576134eb952f51676ff2b34a4d25f2da4b426
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.137.0
|
data/lib/aws-sdk-cloudwatch.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -102,48 +102,11 @@ module Aws
|
|
|
102
102
|
{
|
|
103
103
|
name: ::String,
|
|
104
104
|
value: ::String
|
|
105
|
-
}
|
|
105
|
+
}
|
|
106
106
|
],
|
|
107
107
|
?stat: ::String,
|
|
108
|
-
?single_metric_anomaly_detector:
|
|
109
|
-
|
|
110
|
-
namespace: ::String?,
|
|
111
|
-
metric_name: ::String?,
|
|
112
|
-
dimensions: Array[
|
|
113
|
-
{
|
|
114
|
-
name: ::String,
|
|
115
|
-
value: ::String
|
|
116
|
-
},
|
|
117
|
-
]?,
|
|
118
|
-
stat: ::String?
|
|
119
|
-
},
|
|
120
|
-
?metric_math_anomaly_detector: {
|
|
121
|
-
metric_data_queries: Array[
|
|
122
|
-
{
|
|
123
|
-
id: ::String,
|
|
124
|
-
metric_stat: {
|
|
125
|
-
metric: {
|
|
126
|
-
namespace: ::String?,
|
|
127
|
-
metric_name: ::String?,
|
|
128
|
-
dimensions: Array[
|
|
129
|
-
{
|
|
130
|
-
name: ::String,
|
|
131
|
-
value: ::String
|
|
132
|
-
},
|
|
133
|
-
]?
|
|
134
|
-
},
|
|
135
|
-
period: ::Integer,
|
|
136
|
-
stat: ::String,
|
|
137
|
-
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")?
|
|
138
|
-
}?,
|
|
139
|
-
expression: ::String?,
|
|
140
|
-
label: ::String?,
|
|
141
|
-
return_data: bool?,
|
|
142
|
-
period: ::Integer?,
|
|
143
|
-
account_id: ::String?
|
|
144
|
-
},
|
|
145
|
-
]?
|
|
146
|
-
}
|
|
108
|
+
?single_metric_anomaly_detector: Params::single_metric_anomaly_detector,
|
|
109
|
+
?metric_math_anomaly_detector: Params::metric_math_anomaly_detector
|
|
147
110
|
) -> _DeleteAnomalyDetectorResponseSuccess
|
|
148
111
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteAnomalyDetectorResponseSuccess
|
|
149
112
|
|
|
@@ -240,7 +203,7 @@ module Aws
|
|
|
240
203
|
{
|
|
241
204
|
name: ::String,
|
|
242
205
|
value: ::String
|
|
243
|
-
}
|
|
206
|
+
}
|
|
244
207
|
],
|
|
245
208
|
?period: ::Integer,
|
|
246
209
|
?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")
|
|
@@ -262,7 +225,7 @@ module Aws
|
|
|
262
225
|
{
|
|
263
226
|
name: ::String,
|
|
264
227
|
value: ::String
|
|
265
|
-
}
|
|
228
|
+
}
|
|
266
229
|
],
|
|
267
230
|
?anomaly_detector_types: Array[("SINGLE_METRIC" | "METRIC_MATH")]
|
|
268
231
|
) -> _DescribeAnomalyDetectorsResponseSuccess
|
|
@@ -373,29 +336,7 @@ module Aws
|
|
|
373
336
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatch/Client.html#get_metric_data-instance_method
|
|
374
337
|
def get_metric_data: (
|
|
375
338
|
metric_data_queries: Array[
|
|
376
|
-
|
|
377
|
-
id: ::String,
|
|
378
|
-
metric_stat: {
|
|
379
|
-
metric: {
|
|
380
|
-
namespace: ::String?,
|
|
381
|
-
metric_name: ::String?,
|
|
382
|
-
dimensions: Array[
|
|
383
|
-
{
|
|
384
|
-
name: ::String,
|
|
385
|
-
value: ::String
|
|
386
|
-
},
|
|
387
|
-
]?
|
|
388
|
-
},
|
|
389
|
-
period: ::Integer,
|
|
390
|
-
stat: ::String,
|
|
391
|
-
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")?
|
|
392
|
-
}?,
|
|
393
|
-
expression: ::String?,
|
|
394
|
-
label: ::String?,
|
|
395
|
-
return_data: bool?,
|
|
396
|
-
period: ::Integer?,
|
|
397
|
-
account_id: ::String?
|
|
398
|
-
},
|
|
339
|
+
Params::metric_data_query
|
|
399
340
|
],
|
|
400
341
|
start_time: ::Time,
|
|
401
342
|
end_time: ::Time,
|
|
@@ -421,7 +362,7 @@ module Aws
|
|
|
421
362
|
{
|
|
422
363
|
name: ::String,
|
|
423
364
|
value: ::String
|
|
424
|
-
}
|
|
365
|
+
}
|
|
425
366
|
],
|
|
426
367
|
start_time: ::Time,
|
|
427
368
|
end_time: ::Time,
|
|
@@ -538,7 +479,7 @@ module Aws
|
|
|
538
479
|
{
|
|
539
480
|
name: ::String,
|
|
540
481
|
value: ::String?
|
|
541
|
-
}
|
|
482
|
+
}
|
|
542
483
|
],
|
|
543
484
|
?next_token: ::String,
|
|
544
485
|
?recently_active: ("PT3H"),
|
|
@@ -575,7 +516,7 @@ module Aws
|
|
|
575
516
|
{
|
|
576
517
|
key: ::String,
|
|
577
518
|
value: ::String
|
|
578
|
-
}
|
|
519
|
+
}
|
|
579
520
|
],
|
|
580
521
|
?start_date: ::Time,
|
|
581
522
|
?expire_date: ::Time
|
|
@@ -593,7 +534,7 @@ module Aws
|
|
|
593
534
|
{
|
|
594
535
|
name: ::String,
|
|
595
536
|
value: ::String
|
|
596
|
-
}
|
|
537
|
+
}
|
|
597
538
|
],
|
|
598
539
|
?stat: ::String,
|
|
599
540
|
?configuration: {
|
|
@@ -601,52 +542,15 @@ module Aws
|
|
|
601
542
|
{
|
|
602
543
|
start_time: ::Time,
|
|
603
544
|
end_time: ::Time
|
|
604
|
-
}
|
|
545
|
+
}
|
|
605
546
|
]?,
|
|
606
547
|
metric_timezone: ::String?
|
|
607
548
|
},
|
|
608
549
|
?metric_characteristics: {
|
|
609
550
|
periodic_spikes: bool?
|
|
610
551
|
},
|
|
611
|
-
?single_metric_anomaly_detector:
|
|
612
|
-
|
|
613
|
-
namespace: ::String?,
|
|
614
|
-
metric_name: ::String?,
|
|
615
|
-
dimensions: Array[
|
|
616
|
-
{
|
|
617
|
-
name: ::String,
|
|
618
|
-
value: ::String
|
|
619
|
-
},
|
|
620
|
-
]?,
|
|
621
|
-
stat: ::String?
|
|
622
|
-
},
|
|
623
|
-
?metric_math_anomaly_detector: {
|
|
624
|
-
metric_data_queries: Array[
|
|
625
|
-
{
|
|
626
|
-
id: ::String,
|
|
627
|
-
metric_stat: {
|
|
628
|
-
metric: {
|
|
629
|
-
namespace: ::String?,
|
|
630
|
-
metric_name: ::String?,
|
|
631
|
-
dimensions: Array[
|
|
632
|
-
{
|
|
633
|
-
name: ::String,
|
|
634
|
-
value: ::String
|
|
635
|
-
},
|
|
636
|
-
]?
|
|
637
|
-
},
|
|
638
|
-
period: ::Integer,
|
|
639
|
-
stat: ::String,
|
|
640
|
-
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")?
|
|
641
|
-
}?,
|
|
642
|
-
expression: ::String?,
|
|
643
|
-
label: ::String?,
|
|
644
|
-
return_data: bool?,
|
|
645
|
-
period: ::Integer?,
|
|
646
|
-
account_id: ::String?
|
|
647
|
-
},
|
|
648
|
-
]?
|
|
649
|
-
}
|
|
552
|
+
?single_metric_anomaly_detector: Params::single_metric_anomaly_detector,
|
|
553
|
+
?metric_math_anomaly_detector: Params::metric_math_anomaly_detector
|
|
650
554
|
) -> _PutAnomalyDetectorResponseSuccess
|
|
651
555
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutAnomalyDetectorResponseSuccess
|
|
652
556
|
|
|
@@ -663,7 +567,7 @@ module Aws
|
|
|
663
567
|
{
|
|
664
568
|
key: ::String,
|
|
665
569
|
value: ::String
|
|
666
|
-
}
|
|
570
|
+
}
|
|
667
571
|
],
|
|
668
572
|
?actions_suppressor: ::String,
|
|
669
573
|
?actions_suppressor_wait_period: ::Integer,
|
|
@@ -683,7 +587,7 @@ module Aws
|
|
|
683
587
|
{
|
|
684
588
|
key: ::String,
|
|
685
589
|
value: ::String
|
|
686
|
-
}
|
|
590
|
+
}
|
|
687
591
|
]
|
|
688
592
|
) -> _PutDashboardResponseSuccess
|
|
689
593
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutDashboardResponseSuccess
|
|
@@ -700,7 +604,7 @@ module Aws
|
|
|
700
604
|
{
|
|
701
605
|
key: ::String,
|
|
702
606
|
value: ::String
|
|
703
|
-
}
|
|
607
|
+
}
|
|
704
608
|
],
|
|
705
609
|
?apply_on_transformed_logs: bool
|
|
706
610
|
) -> _PutInsightRuleResponseSuccess
|
|
@@ -720,9 +624,9 @@ module Aws
|
|
|
720
624
|
{
|
|
721
625
|
key: ::String,
|
|
722
626
|
value: ::String
|
|
723
|
-
}
|
|
627
|
+
}
|
|
724
628
|
]?
|
|
725
|
-
}
|
|
629
|
+
}
|
|
726
630
|
]
|
|
727
631
|
) -> _PutManagedInsightRulesResponseSuccess
|
|
728
632
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutManagedInsightRulesResponseSuccess
|
|
@@ -743,7 +647,7 @@ module Aws
|
|
|
743
647
|
{
|
|
744
648
|
name: ::String,
|
|
745
649
|
value: ::String
|
|
746
|
-
}
|
|
650
|
+
}
|
|
747
651
|
],
|
|
748
652
|
?period: ::Integer,
|
|
749
653
|
?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"),
|
|
@@ -754,35 +658,13 @@ module Aws
|
|
|
754
658
|
?treat_missing_data: ::String,
|
|
755
659
|
?evaluate_low_sample_count_percentile: ::String,
|
|
756
660
|
?metrics: Array[
|
|
757
|
-
|
|
758
|
-
id: ::String,
|
|
759
|
-
metric_stat: {
|
|
760
|
-
metric: {
|
|
761
|
-
namespace: ::String?,
|
|
762
|
-
metric_name: ::String?,
|
|
763
|
-
dimensions: Array[
|
|
764
|
-
{
|
|
765
|
-
name: ::String,
|
|
766
|
-
value: ::String
|
|
767
|
-
},
|
|
768
|
-
]?
|
|
769
|
-
},
|
|
770
|
-
period: ::Integer,
|
|
771
|
-
stat: ::String,
|
|
772
|
-
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")?
|
|
773
|
-
}?,
|
|
774
|
-
expression: ::String?,
|
|
775
|
-
label: ::String?,
|
|
776
|
-
return_data: bool?,
|
|
777
|
-
period: ::Integer?,
|
|
778
|
-
account_id: ::String?
|
|
779
|
-
},
|
|
661
|
+
Params::metric_data_query
|
|
780
662
|
],
|
|
781
663
|
?tags: Array[
|
|
782
664
|
{
|
|
783
665
|
key: ::String,
|
|
784
666
|
value: ::String
|
|
785
|
-
}
|
|
667
|
+
}
|
|
786
668
|
],
|
|
787
669
|
?threshold_metric_id: ::String,
|
|
788
670
|
?evaluation_criteria: {
|
|
@@ -800,27 +682,7 @@ module Aws
|
|
|
800
682
|
def put_metric_data: (
|
|
801
683
|
namespace: ::String,
|
|
802
684
|
?metric_data: Array[
|
|
803
|
-
|
|
804
|
-
metric_name: ::String,
|
|
805
|
-
dimensions: Array[
|
|
806
|
-
{
|
|
807
|
-
name: ::String,
|
|
808
|
-
value: ::String
|
|
809
|
-
},
|
|
810
|
-
]?,
|
|
811
|
-
timestamp: ::Time?,
|
|
812
|
-
value: ::Float?,
|
|
813
|
-
statistic_values: {
|
|
814
|
-
sample_count: ::Float,
|
|
815
|
-
sum: ::Float,
|
|
816
|
-
minimum: ::Float,
|
|
817
|
-
maximum: ::Float
|
|
818
|
-
}?,
|
|
819
|
-
values: Array[::Float]?,
|
|
820
|
-
counts: Array[::Float]?,
|
|
821
|
-
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")?,
|
|
822
|
-
storage_resolution: ::Integer?
|
|
823
|
-
},
|
|
685
|
+
Params::metric_datum
|
|
824
686
|
],
|
|
825
687
|
?entity_metric_data: Array[
|
|
826
688
|
{
|
|
@@ -829,29 +691,9 @@ module Aws
|
|
|
829
691
|
attributes: Hash[::String, ::String]?
|
|
830
692
|
}?,
|
|
831
693
|
metric_data: Array[
|
|
832
|
-
|
|
833
|
-
metric_name: ::String,
|
|
834
|
-
dimensions: Array[
|
|
835
|
-
{
|
|
836
|
-
name: ::String,
|
|
837
|
-
value: ::String
|
|
838
|
-
},
|
|
839
|
-
]?,
|
|
840
|
-
timestamp: ::Time?,
|
|
841
|
-
value: ::Float?,
|
|
842
|
-
statistic_values: {
|
|
843
|
-
sample_count: ::Float,
|
|
844
|
-
sum: ::Float,
|
|
845
|
-
minimum: ::Float,
|
|
846
|
-
maximum: ::Float
|
|
847
|
-
}?,
|
|
848
|
-
values: Array[::Float]?,
|
|
849
|
-
counts: Array[::Float]?,
|
|
850
|
-
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")?,
|
|
851
|
-
storage_resolution: ::Integer?
|
|
852
|
-
},
|
|
694
|
+
Params::metric_datum
|
|
853
695
|
]?
|
|
854
|
-
}
|
|
696
|
+
}
|
|
855
697
|
],
|
|
856
698
|
?strict_entity_validation: bool
|
|
857
699
|
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
@@ -868,13 +710,13 @@ module Aws
|
|
|
868
710
|
{
|
|
869
711
|
namespace: ::String?,
|
|
870
712
|
metric_names: Array[::String]?
|
|
871
|
-
}
|
|
713
|
+
}
|
|
872
714
|
],
|
|
873
715
|
?exclude_filters: Array[
|
|
874
716
|
{
|
|
875
717
|
namespace: ::String?,
|
|
876
718
|
metric_names: Array[::String]?
|
|
877
|
-
}
|
|
719
|
+
}
|
|
878
720
|
],
|
|
879
721
|
firehose_arn: ::String,
|
|
880
722
|
role_arn: ::String,
|
|
@@ -883,7 +725,7 @@ module Aws
|
|
|
883
725
|
{
|
|
884
726
|
key: ::String,
|
|
885
727
|
value: ::String
|
|
886
|
-
}
|
|
728
|
+
}
|
|
887
729
|
],
|
|
888
730
|
?statistics_configurations: Array[
|
|
889
731
|
{
|
|
@@ -891,10 +733,10 @@ module Aws
|
|
|
891
733
|
{
|
|
892
734
|
namespace: ::String,
|
|
893
735
|
metric_name: ::String
|
|
894
|
-
}
|
|
736
|
+
}
|
|
895
737
|
],
|
|
896
738
|
additional_statistics: Array[::String]
|
|
897
|
-
}
|
|
739
|
+
}
|
|
898
740
|
],
|
|
899
741
|
?include_linked_accounts_metrics: bool
|
|
900
742
|
) -> _PutMetricStreamResponseSuccess
|
|
@@ -953,7 +795,7 @@ module Aws
|
|
|
953
795
|
{
|
|
954
796
|
key: ::String,
|
|
955
797
|
value: ::String
|
|
956
|
-
}
|
|
798
|
+
}
|
|
957
799
|
]
|
|
958
800
|
) -> _TagResourceResponseSuccess
|
|
959
801
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
|
data/sig/metric.rbs
CHANGED
|
@@ -43,7 +43,7 @@ module Aws
|
|
|
43
43
|
{
|
|
44
44
|
name: ::String,
|
|
45
45
|
value: ::String
|
|
46
|
-
}
|
|
46
|
+
}
|
|
47
47
|
],
|
|
48
48
|
start_time: ::Time,
|
|
49
49
|
end_time: ::Time,
|
|
@@ -68,7 +68,7 @@ module Aws
|
|
|
68
68
|
{
|
|
69
69
|
name: ::String,
|
|
70
70
|
value: ::String
|
|
71
|
-
}
|
|
71
|
+
}
|
|
72
72
|
],
|
|
73
73
|
?period: ::Integer,
|
|
74
74
|
?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"),
|
|
@@ -89,7 +89,7 @@ module Aws
|
|
|
89
89
|
{
|
|
90
90
|
name: ::String,
|
|
91
91
|
value: ::String
|
|
92
|
-
}
|
|
92
|
+
}
|
|
93
93
|
]?
|
|
94
94
|
},
|
|
95
95
|
period: ::Integer,
|
|
@@ -101,13 +101,13 @@ module Aws
|
|
|
101
101
|
return_data: bool?,
|
|
102
102
|
period: ::Integer?,
|
|
103
103
|
account_id: ::String?
|
|
104
|
-
}
|
|
104
|
+
}
|
|
105
105
|
],
|
|
106
106
|
?tags: Array[
|
|
107
107
|
{
|
|
108
108
|
key: ::String,
|
|
109
109
|
value: ::String
|
|
110
|
-
}
|
|
110
|
+
}
|
|
111
111
|
],
|
|
112
112
|
?threshold_metric_id: ::String,
|
|
113
113
|
?evaluation_criteria: {
|
|
@@ -130,7 +130,7 @@ module Aws
|
|
|
130
130
|
{
|
|
131
131
|
name: ::String,
|
|
132
132
|
value: ::String
|
|
133
|
-
}
|
|
133
|
+
}
|
|
134
134
|
]?,
|
|
135
135
|
timestamp: ::Time?,
|
|
136
136
|
value: ::Float?,
|
|
@@ -144,7 +144,7 @@ module Aws
|
|
|
144
144
|
counts: Array[::Float]?,
|
|
145
145
|
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")?,
|
|
146
146
|
storage_resolution: ::Integer?
|
|
147
|
-
}
|
|
147
|
+
}
|
|
148
148
|
],
|
|
149
149
|
?entity_metric_data: Array[
|
|
150
150
|
{
|
|
@@ -159,7 +159,7 @@ module Aws
|
|
|
159
159
|
{
|
|
160
160
|
name: ::String,
|
|
161
161
|
value: ::String
|
|
162
|
-
}
|
|
162
|
+
}
|
|
163
163
|
]?,
|
|
164
164
|
timestamp: ::Time?,
|
|
165
165
|
value: ::Float?,
|
|
@@ -173,9 +173,9 @@ module Aws
|
|
|
173
173
|
counts: Array[::Float]?,
|
|
174
174
|
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")?,
|
|
175
175
|
storage_resolution: ::Integer?
|
|
176
|
-
}
|
|
176
|
+
}
|
|
177
177
|
]?
|
|
178
|
-
}
|
|
178
|
+
}
|
|
179
179
|
],
|
|
180
180
|
?strict_entity_validation: bool
|
|
181
181
|
) -> ::Aws::EmptyStructure
|
|
@@ -189,7 +189,7 @@ module Aws
|
|
|
189
189
|
{
|
|
190
190
|
name: ::String,
|
|
191
191
|
value: ::String
|
|
192
|
-
}
|
|
192
|
+
}
|
|
193
193
|
],
|
|
194
194
|
?period: ::Integer,
|
|
195
195
|
?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")
|
data/sig/params.rbs
ADDED
|
@@ -0,0 +1,82 @@
|
|
|
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
|
+
module Params
|
|
11
|
+
type single_metric_anomaly_detector = {
|
|
12
|
+
account_id: ::String?,
|
|
13
|
+
namespace: ::String?,
|
|
14
|
+
metric_name: ::String?,
|
|
15
|
+
dimensions: Array[
|
|
16
|
+
{
|
|
17
|
+
name: ::String,
|
|
18
|
+
value: ::String
|
|
19
|
+
}
|
|
20
|
+
]?,
|
|
21
|
+
stat: ::String?
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
type metric_math_anomaly_detector = {
|
|
25
|
+
metric_data_queries: Array[
|
|
26
|
+
Params::metric_data_query
|
|
27
|
+
]?
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
type metric = {
|
|
31
|
+
namespace: ::String?,
|
|
32
|
+
metric_name: ::String?,
|
|
33
|
+
dimensions: Array[
|
|
34
|
+
{
|
|
35
|
+
name: ::String,
|
|
36
|
+
value: ::String
|
|
37
|
+
}
|
|
38
|
+
]?
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
type metric_stat = {
|
|
42
|
+
metric: Params::metric,
|
|
43
|
+
period: ::Integer,
|
|
44
|
+
stat: ::String,
|
|
45
|
+
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")?
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
type metric_data_query = {
|
|
49
|
+
id: ::String,
|
|
50
|
+
metric_stat: Params::metric_stat?,
|
|
51
|
+
expression: ::String?,
|
|
52
|
+
label: ::String?,
|
|
53
|
+
return_data: bool?,
|
|
54
|
+
period: ::Integer?,
|
|
55
|
+
account_id: ::String?
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
type metric_datum = {
|
|
59
|
+
metric_name: ::String,
|
|
60
|
+
dimensions: Array[
|
|
61
|
+
{
|
|
62
|
+
name: ::String,
|
|
63
|
+
value: ::String
|
|
64
|
+
}
|
|
65
|
+
]?,
|
|
66
|
+
timestamp: ::Time?,
|
|
67
|
+
value: ::Float?,
|
|
68
|
+
statistic_values: {
|
|
69
|
+
sample_count: ::Float,
|
|
70
|
+
sum: ::Float,
|
|
71
|
+
minimum: ::Float,
|
|
72
|
+
maximum: ::Float
|
|
73
|
+
}?,
|
|
74
|
+
values: Array[::Float]?,
|
|
75
|
+
counts: Array[::Float]?,
|
|
76
|
+
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")?,
|
|
77
|
+
storage_resolution: ::Integer?
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
end
|
|
81
|
+
end
|
|
82
|
+
end
|
data/sig/resource.rbs
CHANGED
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.
|
|
4
|
+
version: 1.137.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Amazon Web Services
|
|
@@ -74,6 +74,7 @@ files:
|
|
|
74
74
|
- sig/composite_alarm.rbs
|
|
75
75
|
- sig/errors.rbs
|
|
76
76
|
- sig/metric.rbs
|
|
77
|
+
- sig/params.rbs
|
|
77
78
|
- sig/resource.rbs
|
|
78
79
|
- sig/types.rbs
|
|
79
80
|
- sig/waiters.rbs
|