aws-sdk-cloudwatch 1.37.0 → 1.42.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/lib/aws-sdk-cloudwatch.rb +3 -1
- data/lib/aws-sdk-cloudwatch/alarm.rb +2 -0
- data/lib/aws-sdk-cloudwatch/client.rb +62 -45
- data/lib/aws-sdk-cloudwatch/client_api.rb +4 -0
- data/lib/aws-sdk-cloudwatch/composite_alarm.rb +2 -0
- data/lib/aws-sdk-cloudwatch/customizations.rb +1 -0
- data/lib/aws-sdk-cloudwatch/errors.rb +2 -0
- data/lib/aws-sdk-cloudwatch/metric.rb +15 -14
- data/lib/aws-sdk-cloudwatch/resource.rb +16 -4
- data/lib/aws-sdk-cloudwatch/types.rb +132 -31
- data/lib/aws-sdk-cloudwatch/waiters.rb +2 -0
- metadata +4 -4
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -76,7 +78,7 @@ module Aws::CloudWatch
|
|
76
78
|
#
|
77
79
|
# If you specify `ChildrenOfAlarmName`, you cannot specify any other
|
78
80
|
# parameters in the request except for `MaxRecords` and `NextToken`. If
|
79
|
-
# you do so, you
|
81
|
+
# you do so, you receive a validation error.
|
80
82
|
#
|
81
83
|
# <note markdown="1"> Only the `Alarm Name`, `ARN`, `StateValue`
|
82
84
|
# (OK/ALARM/INSUFFICIENT\_DATA), and `StateUpdatedTimestamp` information
|
@@ -96,7 +98,7 @@ module Aws::CloudWatch
|
|
96
98
|
#
|
97
99
|
# If you specify `ParentsOfAlarmName`, you cannot specify any other
|
98
100
|
# parameters in the request except for `MaxRecords` and `NextToken`. If
|
99
|
-
# you do so, you
|
101
|
+
# you do so, you receive a validation error.
|
100
102
|
#
|
101
103
|
# <note markdown="1"> Only the Alarm Name and ARN are returned by this operation when you
|
102
104
|
# use this parameter. To get complete information about these alarms,
|
@@ -174,7 +176,7 @@ module Aws::CloudWatch
|
|
174
176
|
#
|
175
177
|
# If you specify `ChildrenOfAlarmName`, you cannot specify any other
|
176
178
|
# parameters in the request except for `MaxRecords` and `NextToken`. If
|
177
|
-
# you do so, you
|
179
|
+
# you do so, you receive a validation error.
|
178
180
|
#
|
179
181
|
# <note markdown="1"> Only the `Alarm Name`, `ARN`, `StateValue`
|
180
182
|
# (OK/ALARM/INSUFFICIENT\_DATA), and `StateUpdatedTimestamp` information
|
@@ -194,7 +196,7 @@ module Aws::CloudWatch
|
|
194
196
|
#
|
195
197
|
# If you specify `ParentsOfAlarmName`, you cannot specify any other
|
196
198
|
# parameters in the request except for `MaxRecords` and `NextToken`. If
|
197
|
-
# you do so, you
|
199
|
+
# you do so, you receive a validation error.
|
198
200
|
#
|
199
201
|
# <note markdown="1"> Only the Alarm Name and ARN are returned by this operation when you
|
200
202
|
# use this parameter. To get complete information about these alarms,
|
@@ -251,6 +253,7 @@ module Aws::CloudWatch
|
|
251
253
|
# value: "DimensionValue",
|
252
254
|
# },
|
253
255
|
# ],
|
256
|
+
# recently_active: "PT3H", # accepts PT3H
|
254
257
|
# })
|
255
258
|
# @param [Hash] options ({})
|
256
259
|
# @option options [String] :namespace
|
@@ -259,6 +262,15 @@ module Aws::CloudWatch
|
|
259
262
|
# The name of the metric to filter against.
|
260
263
|
# @option options [Array<Types::DimensionFilter>] :dimensions
|
261
264
|
# The dimensions to filter against.
|
265
|
+
# @option options [String] :recently_active
|
266
|
+
# To filter the results to show only metrics that have had data points
|
267
|
+
# published in the past three hours, specify this parameter with a value
|
268
|
+
# of `PT3H`. This is the only valid value for this parameter.
|
269
|
+
#
|
270
|
+
# The results that are returned are an approximation of the value you
|
271
|
+
# specify. There is a low probability that the returned results include
|
272
|
+
# metrics with last published data as much as 40 minutes more than the
|
273
|
+
# specified time interval.
|
262
274
|
# @return [Metric::Collection]
|
263
275
|
def metrics(options = {})
|
264
276
|
batches = Enumerator.new do |y|
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -43,6 +45,7 @@ module Aws::CloudWatch
|
|
43
45
|
:history_item_type,
|
44
46
|
:history_summary,
|
45
47
|
:history_data)
|
48
|
+
SENSITIVE = []
|
46
49
|
include Aws::Structure
|
47
50
|
end
|
48
51
|
|
@@ -87,6 +90,7 @@ module Aws::CloudWatch
|
|
87
90
|
:stat,
|
88
91
|
:configuration,
|
89
92
|
:state_value)
|
93
|
+
SENSITIVE = []
|
90
94
|
include Aws::Structure
|
91
95
|
end
|
92
96
|
|
@@ -133,6 +137,7 @@ module Aws::CloudWatch
|
|
133
137
|
class AnomalyDetectorConfiguration < Struct.new(
|
134
138
|
:excluded_time_ranges,
|
135
139
|
:metric_timezone)
|
140
|
+
SENSITIVE = []
|
136
141
|
include Aws::Structure
|
137
142
|
end
|
138
143
|
|
@@ -213,6 +218,7 @@ module Aws::CloudWatch
|
|
213
218
|
:state_reason_data,
|
214
219
|
:state_updated_timestamp,
|
215
220
|
:state_value)
|
221
|
+
SENSITIVE = []
|
216
222
|
include Aws::Structure
|
217
223
|
end
|
218
224
|
|
@@ -249,6 +255,7 @@ module Aws::CloudWatch
|
|
249
255
|
:dashboard_arn,
|
250
256
|
:last_modified,
|
251
257
|
:size)
|
258
|
+
SENSITIVE = []
|
252
259
|
include Aws::Structure
|
253
260
|
end
|
254
261
|
|
@@ -265,6 +272,7 @@ module Aws::CloudWatch
|
|
265
272
|
class DashboardInvalidInputError < Struct.new(
|
266
273
|
:message,
|
267
274
|
:dashboard_validation_messages)
|
275
|
+
SENSITIVE = []
|
268
276
|
include Aws::Structure
|
269
277
|
end
|
270
278
|
|
@@ -277,6 +285,7 @@ module Aws::CloudWatch
|
|
277
285
|
#
|
278
286
|
class DashboardNotFoundError < Struct.new(
|
279
287
|
:message)
|
288
|
+
SENSITIVE = []
|
280
289
|
include Aws::Structure
|
281
290
|
end
|
282
291
|
|
@@ -295,6 +304,7 @@ module Aws::CloudWatch
|
|
295
304
|
class DashboardValidationMessage < Struct.new(
|
296
305
|
:data_path,
|
297
306
|
:message)
|
307
|
+
SENSITIVE = []
|
298
308
|
include Aws::Structure
|
299
309
|
end
|
300
310
|
|
@@ -345,6 +355,7 @@ module Aws::CloudWatch
|
|
345
355
|
:maximum,
|
346
356
|
:unit,
|
347
357
|
:extended_statistics)
|
358
|
+
SENSITIVE = []
|
348
359
|
include Aws::Structure
|
349
360
|
end
|
350
361
|
|
@@ -363,6 +374,7 @@ module Aws::CloudWatch
|
|
363
374
|
#
|
364
375
|
class DeleteAlarmsInput < Struct.new(
|
365
376
|
:alarm_names)
|
377
|
+
SENSITIVE = []
|
366
378
|
include Aws::Structure
|
367
379
|
end
|
368
380
|
|
@@ -406,6 +418,7 @@ module Aws::CloudWatch
|
|
406
418
|
:metric_name,
|
407
419
|
:dimensions,
|
408
420
|
:stat)
|
421
|
+
SENSITIVE = []
|
409
422
|
include Aws::Structure
|
410
423
|
end
|
411
424
|
|
@@ -428,6 +441,7 @@ module Aws::CloudWatch
|
|
428
441
|
#
|
429
442
|
class DeleteDashboardsInput < Struct.new(
|
430
443
|
:dashboard_names)
|
444
|
+
SENSITIVE = []
|
431
445
|
include Aws::Structure
|
432
446
|
end
|
433
447
|
|
@@ -455,6 +469,7 @@ module Aws::CloudWatch
|
|
455
469
|
#
|
456
470
|
class DeleteInsightRulesInput < Struct.new(
|
457
471
|
:rule_names)
|
472
|
+
SENSITIVE = []
|
458
473
|
include Aws::Structure
|
459
474
|
end
|
460
475
|
|
@@ -467,6 +482,7 @@ module Aws::CloudWatch
|
|
467
482
|
#
|
468
483
|
class DeleteInsightRulesOutput < Struct.new(
|
469
484
|
:failures)
|
485
|
+
SENSITIVE = []
|
470
486
|
include Aws::Structure
|
471
487
|
end
|
472
488
|
|
@@ -533,6 +549,7 @@ module Aws::CloudWatch
|
|
533
549
|
:max_records,
|
534
550
|
:next_token,
|
535
551
|
:scan_by)
|
552
|
+
SENSITIVE = []
|
536
553
|
include Aws::Structure
|
537
554
|
end
|
538
555
|
|
@@ -550,6 +567,7 @@ module Aws::CloudWatch
|
|
550
567
|
class DescribeAlarmHistoryOutput < Struct.new(
|
551
568
|
:alarm_history_items,
|
552
569
|
:next_token)
|
570
|
+
SENSITIVE = []
|
553
571
|
include Aws::Structure
|
554
572
|
end
|
555
573
|
|
@@ -613,6 +631,7 @@ module Aws::CloudWatch
|
|
613
631
|
:dimensions,
|
614
632
|
:period,
|
615
633
|
:unit)
|
634
|
+
SENSITIVE = []
|
616
635
|
include Aws::Structure
|
617
636
|
end
|
618
637
|
|
@@ -624,6 +643,7 @@ module Aws::CloudWatch
|
|
624
643
|
#
|
625
644
|
class DescribeAlarmsForMetricOutput < Struct.new(
|
626
645
|
:metric_alarms)
|
646
|
+
SENSITIVE = []
|
627
647
|
include Aws::Structure
|
628
648
|
end
|
629
649
|
|
@@ -671,7 +691,7 @@ module Aws::CloudWatch
|
|
671
691
|
#
|
672
692
|
# If you specify `ChildrenOfAlarmName`, you cannot specify any other
|
673
693
|
# parameters in the request except for `MaxRecords` and `NextToken`.
|
674
|
-
# If you do so, you
|
694
|
+
# If you do so, you receive a validation error.
|
675
695
|
#
|
676
696
|
# <note markdown="1"> Only the `Alarm Name`, `ARN`, `StateValue`
|
677
697
|
# (OK/ALARM/INSUFFICIENT\_DATA), and `StateUpdatedTimestamp`
|
@@ -693,7 +713,7 @@ module Aws::CloudWatch
|
|
693
713
|
#
|
694
714
|
# If you specify `ParentsOfAlarmName`, you cannot specify any other
|
695
715
|
# parameters in the request except for `MaxRecords` and `NextToken`.
|
696
|
-
# If you do so, you
|
716
|
+
# If you do so, you receive a validation error.
|
697
717
|
#
|
698
718
|
# <note markdown="1"> Only the Alarm Name and ARN are returned by this operation when you
|
699
719
|
# use this parameter. To get complete information about these alarms,
|
@@ -736,6 +756,7 @@ module Aws::CloudWatch
|
|
736
756
|
:action_prefix,
|
737
757
|
:max_records,
|
738
758
|
:next_token)
|
759
|
+
SENSITIVE = []
|
739
760
|
include Aws::Structure
|
740
761
|
end
|
741
762
|
|
@@ -759,6 +780,7 @@ module Aws::CloudWatch
|
|
759
780
|
:composite_alarms,
|
760
781
|
:metric_alarms,
|
761
782
|
:next_token)
|
783
|
+
SENSITIVE = []
|
762
784
|
include Aws::Structure
|
763
785
|
end
|
764
786
|
|
@@ -818,6 +840,7 @@ module Aws::CloudWatch
|
|
818
840
|
:namespace,
|
819
841
|
:metric_name,
|
820
842
|
:dimensions)
|
843
|
+
SENSITIVE = []
|
821
844
|
include Aws::Structure
|
822
845
|
end
|
823
846
|
|
@@ -835,6 +858,7 @@ module Aws::CloudWatch
|
|
835
858
|
class DescribeAnomalyDetectorsOutput < Struct.new(
|
836
859
|
:anomaly_detectors,
|
837
860
|
:next_token)
|
861
|
+
SENSITIVE = []
|
838
862
|
include Aws::Structure
|
839
863
|
end
|
840
864
|
|
@@ -852,7 +876,7 @@ module Aws::CloudWatch
|
|
852
876
|
#
|
853
877
|
# @!attribute [rw] max_results
|
854
878
|
# This parameter is not currently used. Reserved for future use. If it
|
855
|
-
# is used in the future, the maximum value
|
879
|
+
# is used in the future, the maximum value might be different.
|
856
880
|
# @return [Integer]
|
857
881
|
#
|
858
882
|
# @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DescribeInsightRulesInput AWS API Documentation
|
@@ -860,6 +884,7 @@ module Aws::CloudWatch
|
|
860
884
|
class DescribeInsightRulesInput < Struct.new(
|
861
885
|
:next_token,
|
862
886
|
:max_results)
|
887
|
+
SENSITIVE = []
|
863
888
|
include Aws::Structure
|
864
889
|
end
|
865
890
|
|
@@ -876,10 +901,15 @@ module Aws::CloudWatch
|
|
876
901
|
class DescribeInsightRulesOutput < Struct.new(
|
877
902
|
:next_token,
|
878
903
|
:insight_rules)
|
904
|
+
SENSITIVE = []
|
879
905
|
include Aws::Structure
|
880
906
|
end
|
881
907
|
|
882
|
-
#
|
908
|
+
# A dimension is a name/value pair that is part of the identity of a
|
909
|
+
# metric. You can assign up to 10 dimensions to a metric. Because
|
910
|
+
# dimensions are part of the unique identifier for a metric, whenever
|
911
|
+
# you add a unique name/value pair to one of your metrics, you are
|
912
|
+
# creating a new variation of that metric.
|
883
913
|
#
|
884
914
|
# @note When making an API call, you may pass Dimension
|
885
915
|
# data as a hash:
|
@@ -890,11 +920,12 @@ module Aws::CloudWatch
|
|
890
920
|
# }
|
891
921
|
#
|
892
922
|
# @!attribute [rw] name
|
893
|
-
# The name of the dimension.
|
923
|
+
# The name of the dimension. Dimension names cannot contain blank
|
924
|
+
# spaces or non-ASCII characters.
|
894
925
|
# @return [String]
|
895
926
|
#
|
896
927
|
# @!attribute [rw] value
|
897
|
-
# The value
|
928
|
+
# The value of the dimension.
|
898
929
|
# @return [String]
|
899
930
|
#
|
900
931
|
# @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/Dimension AWS API Documentation
|
@@ -902,6 +933,7 @@ module Aws::CloudWatch
|
|
902
933
|
class Dimension < Struct.new(
|
903
934
|
:name,
|
904
935
|
:value)
|
936
|
+
SENSITIVE = []
|
905
937
|
include Aws::Structure
|
906
938
|
end
|
907
939
|
|
@@ -928,6 +960,7 @@ module Aws::CloudWatch
|
|
928
960
|
class DimensionFilter < Struct.new(
|
929
961
|
:name,
|
930
962
|
:value)
|
963
|
+
SENSITIVE = []
|
931
964
|
include Aws::Structure
|
932
965
|
end
|
933
966
|
|
@@ -946,6 +979,7 @@ module Aws::CloudWatch
|
|
946
979
|
#
|
947
980
|
class DisableAlarmActionsInput < Struct.new(
|
948
981
|
:alarm_names)
|
982
|
+
SENSITIVE = []
|
949
983
|
include Aws::Structure
|
950
984
|
end
|
951
985
|
|
@@ -969,6 +1003,7 @@ module Aws::CloudWatch
|
|
969
1003
|
#
|
970
1004
|
class DisableInsightRulesInput < Struct.new(
|
971
1005
|
:rule_names)
|
1006
|
+
SENSITIVE = []
|
972
1007
|
include Aws::Structure
|
973
1008
|
end
|
974
1009
|
|
@@ -981,6 +1016,7 @@ module Aws::CloudWatch
|
|
981
1016
|
#
|
982
1017
|
class DisableInsightRulesOutput < Struct.new(
|
983
1018
|
:failures)
|
1019
|
+
SENSITIVE = []
|
984
1020
|
include Aws::Structure
|
985
1021
|
end
|
986
1022
|
|
@@ -999,6 +1035,7 @@ module Aws::CloudWatch
|
|
999
1035
|
#
|
1000
1036
|
class EnableAlarmActionsInput < Struct.new(
|
1001
1037
|
:alarm_names)
|
1038
|
+
SENSITIVE = []
|
1002
1039
|
include Aws::Structure
|
1003
1040
|
end
|
1004
1041
|
|
@@ -1022,6 +1059,7 @@ module Aws::CloudWatch
|
|
1022
1059
|
#
|
1023
1060
|
class EnableInsightRulesInput < Struct.new(
|
1024
1061
|
:rule_names)
|
1062
|
+
SENSITIVE = []
|
1025
1063
|
include Aws::Structure
|
1026
1064
|
end
|
1027
1065
|
|
@@ -1034,6 +1072,7 @@ module Aws::CloudWatch
|
|
1034
1072
|
#
|
1035
1073
|
class EnableInsightRulesOutput < Struct.new(
|
1036
1074
|
:failures)
|
1075
|
+
SENSITIVE = []
|
1037
1076
|
include Aws::Structure
|
1038
1077
|
end
|
1039
1078
|
|
@@ -1052,6 +1091,7 @@ module Aws::CloudWatch
|
|
1052
1091
|
#
|
1053
1092
|
class GetDashboardInput < Struct.new(
|
1054
1093
|
:dashboard_name)
|
1094
|
+
SENSITIVE = []
|
1055
1095
|
include Aws::Structure
|
1056
1096
|
end
|
1057
1097
|
|
@@ -1080,6 +1120,7 @@ module Aws::CloudWatch
|
|
1080
1120
|
:dashboard_arn,
|
1081
1121
|
:dashboard_body,
|
1082
1122
|
:dashboard_name)
|
1123
|
+
SENSITIVE = []
|
1083
1124
|
include Aws::Structure
|
1084
1125
|
end
|
1085
1126
|
|
@@ -1131,7 +1172,7 @@ module Aws::CloudWatch
|
|
1131
1172
|
# data point.
|
1132
1173
|
#
|
1133
1174
|
# * `MaxContributorValue` -- the value of the top contributor for each
|
1134
|
-
# data point. The identity of the contributor
|
1175
|
+
# data point. The identity of the contributor might change for each
|
1135
1176
|
# data point in the graph.
|
1136
1177
|
#
|
1137
1178
|
# If this rule aggregates by COUNT, the top contributor for each
|
@@ -1170,6 +1211,7 @@ module Aws::CloudWatch
|
|
1170
1211
|
:max_contributor_count,
|
1171
1212
|
:metrics,
|
1172
1213
|
:order_by)
|
1214
|
+
SENSITIVE = []
|
1173
1215
|
include Aws::Structure
|
1174
1216
|
end
|
1175
1217
|
|
@@ -1215,6 +1257,7 @@ module Aws::CloudWatch
|
|
1215
1257
|
:approximate_unique_count,
|
1216
1258
|
:contributors,
|
1217
1259
|
:metric_datapoints)
|
1260
|
+
SENSITIVE = []
|
1218
1261
|
include Aws::Structure
|
1219
1262
|
end
|
1220
1263
|
|
@@ -1337,6 +1380,7 @@ module Aws::CloudWatch
|
|
1337
1380
|
:next_token,
|
1338
1381
|
:scan_by,
|
1339
1382
|
:max_datapoints)
|
1383
|
+
SENSITIVE = []
|
1340
1384
|
include Aws::Structure
|
1341
1385
|
end
|
1342
1386
|
|
@@ -1352,8 +1396,8 @@ module Aws::CloudWatch
|
|
1352
1396
|
# @!attribute [rw] messages
|
1353
1397
|
# Contains a message about this `GetMetricData` operation, if the
|
1354
1398
|
# operation results in such a message. An example of a message that
|
1355
|
-
#
|
1356
|
-
# there is a message, as much of the operation as possible is still
|
1399
|
+
# might be returned is `Maximum number of allowed metrics exceeded`.
|
1400
|
+
# If there is a message, as much of the operation as possible is still
|
1357
1401
|
# executed.
|
1358
1402
|
#
|
1359
1403
|
# A message appears here only if it is related to the global
|
@@ -1368,6 +1412,7 @@ module Aws::CloudWatch
|
|
1368
1412
|
:metric_data_results,
|
1369
1413
|
:next_token,
|
1370
1414
|
:messages)
|
1415
|
+
SENSITIVE = []
|
1371
1416
|
include Aws::Structure
|
1372
1417
|
end
|
1373
1418
|
|
@@ -1499,7 +1544,7 @@ module Aws::CloudWatch
|
|
1499
1544
|
# The unit for a given metric. If you omit `Unit`, all data that was
|
1500
1545
|
# collected with any unit is returned, along with the corresponding
|
1501
1546
|
# units that were specified when the data was reported to CloudWatch.
|
1502
|
-
# If you specify a unit, the operation returns only data
|
1547
|
+
# If you specify a unit, the operation returns only data that was
|
1503
1548
|
# collected with that unit specified. If you specify a unit that does
|
1504
1549
|
# not match the data collected, the results of the operation are null.
|
1505
1550
|
# CloudWatch does not perform unit conversions.
|
@@ -1517,6 +1562,7 @@ module Aws::CloudWatch
|
|
1517
1562
|
:statistics,
|
1518
1563
|
:extended_statistics,
|
1519
1564
|
:unit)
|
1565
|
+
SENSITIVE = []
|
1520
1566
|
include Aws::Structure
|
1521
1567
|
end
|
1522
1568
|
|
@@ -1533,6 +1579,7 @@ module Aws::CloudWatch
|
|
1533
1579
|
class GetMetricStatisticsOutput < Struct.new(
|
1534
1580
|
:label,
|
1535
1581
|
:datapoints)
|
1582
|
+
SENSITIVE = []
|
1536
1583
|
include Aws::Structure
|
1537
1584
|
end
|
1538
1585
|
|
@@ -1601,17 +1648,20 @@ module Aws::CloudWatch
|
|
1601
1648
|
class GetMetricWidgetImageInput < Struct.new(
|
1602
1649
|
:metric_widget,
|
1603
1650
|
:output_format)
|
1651
|
+
SENSITIVE = []
|
1604
1652
|
include Aws::Structure
|
1605
1653
|
end
|
1606
1654
|
|
1607
1655
|
# @!attribute [rw] metric_widget_image
|
1608
|
-
# The image of the graph, in the output format specified.
|
1656
|
+
# The image of the graph, in the output format specified. The output
|
1657
|
+
# is base64-encoded.
|
1609
1658
|
# @return [String]
|
1610
1659
|
#
|
1611
1660
|
# @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/GetMetricWidgetImageOutput AWS API Documentation
|
1612
1661
|
#
|
1613
1662
|
class GetMetricWidgetImageOutput < Struct.new(
|
1614
1663
|
:metric_widget_image)
|
1664
|
+
SENSITIVE = []
|
1615
1665
|
include Aws::Structure
|
1616
1666
|
end
|
1617
1667
|
|
@@ -1651,6 +1701,7 @@ module Aws::CloudWatch
|
|
1651
1701
|
:state,
|
1652
1702
|
:schema,
|
1653
1703
|
:definition)
|
1704
|
+
SENSITIVE = []
|
1654
1705
|
include Aws::Structure
|
1655
1706
|
end
|
1656
1707
|
|
@@ -1689,6 +1740,7 @@ module Aws::CloudWatch
|
|
1689
1740
|
:keys,
|
1690
1741
|
:approximate_aggregate_value,
|
1691
1742
|
:datapoints)
|
1743
|
+
SENSITIVE = []
|
1692
1744
|
include Aws::Structure
|
1693
1745
|
end
|
1694
1746
|
|
@@ -1716,6 +1768,7 @@ module Aws::CloudWatch
|
|
1716
1768
|
class InsightRuleContributorDatapoint < Struct.new(
|
1717
1769
|
:timestamp,
|
1718
1770
|
:approximate_value)
|
1771
|
+
SENSITIVE = []
|
1719
1772
|
include Aws::Structure
|
1720
1773
|
end
|
1721
1774
|
|
@@ -1800,6 +1853,7 @@ module Aws::CloudWatch
|
|
1800
1853
|
:sum,
|
1801
1854
|
:minimum,
|
1802
1855
|
:maximum)
|
1856
|
+
SENSITIVE = []
|
1803
1857
|
include Aws::Structure
|
1804
1858
|
end
|
1805
1859
|
|
@@ -1813,6 +1867,7 @@ module Aws::CloudWatch
|
|
1813
1867
|
#
|
1814
1868
|
class InternalServiceFault < Struct.new(
|
1815
1869
|
:message)
|
1870
|
+
SENSITIVE = []
|
1816
1871
|
include Aws::Structure
|
1817
1872
|
end
|
1818
1873
|
|
@@ -1825,6 +1880,7 @@ module Aws::CloudWatch
|
|
1825
1880
|
#
|
1826
1881
|
class InvalidFormatFault < Struct.new(
|
1827
1882
|
:message)
|
1883
|
+
SENSITIVE = []
|
1828
1884
|
include Aws::Structure
|
1829
1885
|
end
|
1830
1886
|
|
@@ -1837,6 +1893,7 @@ module Aws::CloudWatch
|
|
1837
1893
|
#
|
1838
1894
|
class InvalidNextToken < Struct.new(
|
1839
1895
|
:message)
|
1896
|
+
SENSITIVE = []
|
1840
1897
|
include Aws::Structure
|
1841
1898
|
end
|
1842
1899
|
|
@@ -1849,6 +1906,7 @@ module Aws::CloudWatch
|
|
1849
1906
|
#
|
1850
1907
|
class InvalidParameterCombinationException < Struct.new(
|
1851
1908
|
:message)
|
1909
|
+
SENSITIVE = []
|
1852
1910
|
include Aws::Structure
|
1853
1911
|
end
|
1854
1912
|
|
@@ -1861,6 +1919,7 @@ module Aws::CloudWatch
|
|
1861
1919
|
#
|
1862
1920
|
class InvalidParameterValueException < Struct.new(
|
1863
1921
|
:message)
|
1922
|
+
SENSITIVE = []
|
1864
1923
|
include Aws::Structure
|
1865
1924
|
end
|
1866
1925
|
|
@@ -1879,6 +1938,7 @@ module Aws::CloudWatch
|
|
1879
1938
|
#
|
1880
1939
|
class LimitExceededFault < Struct.new(
|
1881
1940
|
:message)
|
1941
|
+
SENSITIVE = []
|
1882
1942
|
include Aws::Structure
|
1883
1943
|
end
|
1884
1944
|
|
@@ -1907,6 +1967,7 @@ module Aws::CloudWatch
|
|
1907
1967
|
class ListDashboardsInput < Struct.new(
|
1908
1968
|
:dashboard_name_prefix,
|
1909
1969
|
:next_token)
|
1970
|
+
SENSITIVE = []
|
1910
1971
|
include Aws::Structure
|
1911
1972
|
end
|
1912
1973
|
|
@@ -1924,6 +1985,7 @@ module Aws::CloudWatch
|
|
1924
1985
|
class ListDashboardsOutput < Struct.new(
|
1925
1986
|
:dashboard_entries,
|
1926
1987
|
:next_token)
|
1988
|
+
SENSITIVE = []
|
1927
1989
|
include Aws::Structure
|
1928
1990
|
end
|
1929
1991
|
|
@@ -1940,6 +2002,7 @@ module Aws::CloudWatch
|
|
1940
2002
|
# },
|
1941
2003
|
# ],
|
1942
2004
|
# next_token: "NextToken",
|
2005
|
+
# recently_active: "PT3H", # accepts PT3H
|
1943
2006
|
# }
|
1944
2007
|
#
|
1945
2008
|
# @!attribute [rw] namespace
|
@@ -1959,18 +2022,31 @@ module Aws::CloudWatch
|
|
1959
2022
|
# data available.
|
1960
2023
|
# @return [String]
|
1961
2024
|
#
|
2025
|
+
# @!attribute [rw] recently_active
|
2026
|
+
# To filter the results to show only metrics that have had data points
|
2027
|
+
# published in the past three hours, specify this parameter with a
|
2028
|
+
# value of `PT3H`. This is the only valid value for this parameter.
|
2029
|
+
#
|
2030
|
+
# The results that are returned are an approximation of the value you
|
2031
|
+
# specify. There is a low probability that the returned results
|
2032
|
+
# include metrics with last published data as much as 40 minutes more
|
2033
|
+
# than the specified time interval.
|
2034
|
+
# @return [String]
|
2035
|
+
#
|
1962
2036
|
# @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/ListMetricsInput AWS API Documentation
|
1963
2037
|
#
|
1964
2038
|
class ListMetricsInput < Struct.new(
|
1965
2039
|
:namespace,
|
1966
2040
|
:metric_name,
|
1967
2041
|
:dimensions,
|
1968
|
-
:next_token
|
2042
|
+
:next_token,
|
2043
|
+
:recently_active)
|
2044
|
+
SENSITIVE = []
|
1969
2045
|
include Aws::Structure
|
1970
2046
|
end
|
1971
2047
|
|
1972
2048
|
# @!attribute [rw] metrics
|
1973
|
-
# The metrics.
|
2049
|
+
# The metrics that match your request.
|
1974
2050
|
# @return [Array<Types::Metric>]
|
1975
2051
|
#
|
1976
2052
|
# @!attribute [rw] next_token
|
@@ -1983,6 +2059,7 @@ module Aws::CloudWatch
|
|
1983
2059
|
class ListMetricsOutput < Struct.new(
|
1984
2060
|
:metrics,
|
1985
2061
|
:next_token)
|
2062
|
+
SENSITIVE = []
|
1986
2063
|
include Aws::Structure
|
1987
2064
|
end
|
1988
2065
|
|
@@ -2003,8 +2080,8 @@ module Aws::CloudWatch
|
|
2003
2080
|
# `arn:aws:cloudwatch:Region:account-id:insight-rule:insight-rule-name
|
2004
2081
|
# `
|
2005
2082
|
#
|
2006
|
-
# For more information
|
2007
|
-
# Amazon CloudWatch][1] in the *Amazon Web Services General
|
2083
|
+
# For more information about ARN format, see [ Resource Types Defined
|
2084
|
+
# by Amazon CloudWatch][1] in the *Amazon Web Services General
|
2008
2085
|
# Reference*.
|
2009
2086
|
#
|
2010
2087
|
#
|
@@ -2016,6 +2093,7 @@ module Aws::CloudWatch
|
|
2016
2093
|
#
|
2017
2094
|
class ListTagsForResourceInput < Struct.new(
|
2018
2095
|
:resource_arn)
|
2096
|
+
SENSITIVE = []
|
2019
2097
|
include Aws::Structure
|
2020
2098
|
end
|
2021
2099
|
|
@@ -2028,6 +2106,7 @@ module Aws::CloudWatch
|
|
2028
2106
|
#
|
2029
2107
|
class ListTagsForResourceOutput < Struct.new(
|
2030
2108
|
:tags)
|
2109
|
+
SENSITIVE = []
|
2031
2110
|
include Aws::Structure
|
2032
2111
|
end
|
2033
2112
|
|
@@ -2047,6 +2126,7 @@ module Aws::CloudWatch
|
|
2047
2126
|
class MessageData < Struct.new(
|
2048
2127
|
:code,
|
2049
2128
|
:value)
|
2129
|
+
SENSITIVE = []
|
2050
2130
|
include Aws::Structure
|
2051
2131
|
end
|
2052
2132
|
|
@@ -2084,6 +2164,7 @@ module Aws::CloudWatch
|
|
2084
2164
|
:namespace,
|
2085
2165
|
:metric_name,
|
2086
2166
|
:dimensions)
|
2167
|
+
SENSITIVE = []
|
2087
2168
|
include Aws::Structure
|
2088
2169
|
end
|
2089
2170
|
|
@@ -2252,6 +2333,7 @@ module Aws::CloudWatch
|
|
2252
2333
|
:evaluate_low_sample_count_percentile,
|
2253
2334
|
:metrics,
|
2254
2335
|
:threshold_metric_id)
|
2336
|
+
SENSITIVE = []
|
2255
2337
|
include Aws::Structure
|
2256
2338
|
end
|
2257
2339
|
|
@@ -2391,6 +2473,7 @@ module Aws::CloudWatch
|
|
2391
2473
|
:label,
|
2392
2474
|
:return_data,
|
2393
2475
|
:period)
|
2476
|
+
SENSITIVE = []
|
2394
2477
|
include Aws::Structure
|
2395
2478
|
end
|
2396
2479
|
|
@@ -2443,6 +2526,7 @@ module Aws::CloudWatch
|
|
2443
2526
|
:values,
|
2444
2527
|
:status_code,
|
2445
2528
|
:messages)
|
2529
|
+
SENSITIVE = []
|
2446
2530
|
include Aws::Structure
|
2447
2531
|
end
|
2448
2532
|
|
@@ -2562,6 +2646,7 @@ module Aws::CloudWatch
|
|
2562
2646
|
:counts,
|
2563
2647
|
:unit,
|
2564
2648
|
:storage_resolution)
|
2649
|
+
SENSITIVE = []
|
2565
2650
|
include Aws::Structure
|
2566
2651
|
end
|
2567
2652
|
|
@@ -2628,7 +2713,7 @@ module Aws::CloudWatch
|
|
2628
2713
|
# In a `Get` operation, if you omit `Unit` then all data that was
|
2629
2714
|
# collected with any unit is returned, along with the corresponding
|
2630
2715
|
# units that were specified when the data was reported to CloudWatch.
|
2631
|
-
# If you specify a unit, the operation returns only data
|
2716
|
+
# If you specify a unit, the operation returns only data that was
|
2632
2717
|
# collected with that unit specified. If you specify a unit that does
|
2633
2718
|
# not match the data collected, the results of the operation are null.
|
2634
2719
|
# CloudWatch does not perform unit conversions.
|
@@ -2641,6 +2726,7 @@ module Aws::CloudWatch
|
|
2641
2726
|
:period,
|
2642
2727
|
:stat,
|
2643
2728
|
:unit)
|
2729
|
+
SENSITIVE = []
|
2644
2730
|
include Aws::Structure
|
2645
2731
|
end
|
2646
2732
|
|
@@ -2653,6 +2739,7 @@ module Aws::CloudWatch
|
|
2653
2739
|
#
|
2654
2740
|
class MissingRequiredParameterException < Struct.new(
|
2655
2741
|
:message)
|
2742
|
+
SENSITIVE = []
|
2656
2743
|
include Aws::Structure
|
2657
2744
|
end
|
2658
2745
|
|
@@ -2683,6 +2770,7 @@ module Aws::CloudWatch
|
|
2683
2770
|
:exception_type,
|
2684
2771
|
:failure_code,
|
2685
2772
|
:failure_description)
|
2773
|
+
SENSITIVE = []
|
2686
2774
|
include Aws::Structure
|
2687
2775
|
end
|
2688
2776
|
|
@@ -2747,6 +2835,7 @@ module Aws::CloudWatch
|
|
2747
2835
|
:dimensions,
|
2748
2836
|
:stat,
|
2749
2837
|
:configuration)
|
2838
|
+
SENSITIVE = []
|
2750
2839
|
include Aws::Structure
|
2751
2840
|
end
|
2752
2841
|
|
@@ -2792,7 +2881,7 @@ module Aws::CloudWatch
|
|
2792
2881
|
#
|
2793
2882
|
# @!attribute [rw] alarm_name
|
2794
2883
|
# The name for the composite alarm. This name must be unique within
|
2795
|
-
#
|
2884
|
+
# the Region.
|
2796
2885
|
# @return [String]
|
2797
2886
|
#
|
2798
2887
|
# @!attribute [rw] alarm_rule
|
@@ -2891,6 +2980,7 @@ module Aws::CloudWatch
|
|
2891
2980
|
:insufficient_data_actions,
|
2892
2981
|
:ok_actions,
|
2893
2982
|
:tags)
|
2983
|
+
SENSITIVE = []
|
2894
2984
|
include Aws::Structure
|
2895
2985
|
end
|
2896
2986
|
|
@@ -2928,6 +3018,7 @@ module Aws::CloudWatch
|
|
2928
3018
|
class PutDashboardInput < Struct.new(
|
2929
3019
|
:dashboard_name,
|
2930
3020
|
:dashboard_body)
|
3021
|
+
SENSITIVE = []
|
2931
3022
|
include Aws::Structure
|
2932
3023
|
end
|
2933
3024
|
|
@@ -2937,7 +3028,7 @@ module Aws::CloudWatch
|
|
2937
3028
|
#
|
2938
3029
|
# If this result includes only warning messages, then the input was
|
2939
3030
|
# valid enough for the dashboard to be created or modified, but some
|
2940
|
-
# elements of the dashboard
|
3031
|
+
# elements of the dashboard might not render.
|
2941
3032
|
#
|
2942
3033
|
# If this result includes error messages, the input was not valid and
|
2943
3034
|
# the operation failed.
|
@@ -2947,6 +3038,7 @@ module Aws::CloudWatch
|
|
2947
3038
|
#
|
2948
3039
|
class PutDashboardOutput < Struct.new(
|
2949
3040
|
:dashboard_validation_messages)
|
3041
|
+
SENSITIVE = []
|
2950
3042
|
include Aws::Structure
|
2951
3043
|
end
|
2952
3044
|
|
@@ -3011,6 +3103,7 @@ module Aws::CloudWatch
|
|
3011
3103
|
:rule_state,
|
3012
3104
|
:rule_definition,
|
3013
3105
|
:tags)
|
3106
|
+
SENSITIVE = []
|
3014
3107
|
include Aws::Structure
|
3015
3108
|
end
|
3016
3109
|
|
@@ -3080,8 +3173,7 @@ module Aws::CloudWatch
|
|
3080
3173
|
# }
|
3081
3174
|
#
|
3082
3175
|
# @!attribute [rw] alarm_name
|
3083
|
-
# The name for the alarm. This name must be unique within
|
3084
|
-
# account.
|
3176
|
+
# The name for the alarm. This name must be unique within the Region.
|
3085
3177
|
# @return [String]
|
3086
3178
|
#
|
3087
3179
|
# @!attribute [rw] alarm_description
|
@@ -3205,7 +3297,7 @@ module Aws::CloudWatch
|
|
3205
3297
|
# resolution, the alarm still attempts to gather data at the period
|
3206
3298
|
# rate that you specify. In this case, it does not receive data for
|
3207
3299
|
# the attempts that do not correspond to a one-minute data resolution,
|
3208
|
-
# and the alarm
|
3300
|
+
# and the alarm might often lapse into INSUFFICENT\_DATA status.
|
3209
3301
|
# Specifying 10 or 30 also sets this alarm as a high-resolution alarm,
|
3210
3302
|
# which has a higher charge than other alarms. For more information
|
3211
3303
|
# about pricing, see [Amazon CloudWatch Pricing][1].
|
@@ -3230,12 +3322,12 @@ module Aws::CloudWatch
|
|
3230
3322
|
#
|
3231
3323
|
# If you don't specify `Unit`, CloudWatch retrieves all unit types
|
3232
3324
|
# that have been published for the metric and attempts to evaluate the
|
3233
|
-
# alarm. Usually metrics are published with only one unit, so the
|
3234
|
-
# alarm
|
3325
|
+
# alarm. Usually, metrics are published with only one unit, so the
|
3326
|
+
# alarm works as intended.
|
3235
3327
|
#
|
3236
3328
|
# However, if the metric is published with multiple types of units and
|
3237
3329
|
# you don't specify a unit, the alarm's behavior is not defined and
|
3238
|
-
#
|
3330
|
+
# it behaves predictably.
|
3239
3331
|
#
|
3240
3332
|
# We recommend omitting `Unit` so that you don't inadvertently
|
3241
3333
|
# specify an incorrect unit that is not published for this metric.
|
@@ -3342,7 +3434,7 @@ module Aws::CloudWatch
|
|
3342
3434
|
# associate as many as 50 tags with an alarm.
|
3343
3435
|
#
|
3344
3436
|
# Tags can help you organize and categorize your resources. You can
|
3345
|
-
# also use them to scope user permissions
|
3437
|
+
# also use them to scope user permissions by granting a user
|
3346
3438
|
# permission to access or change only resources with certain tag
|
3347
3439
|
# values.
|
3348
3440
|
# @return [Array<Types::Tag>]
|
@@ -3383,6 +3475,7 @@ module Aws::CloudWatch
|
|
3383
3475
|
:metrics,
|
3384
3476
|
:tags,
|
3385
3477
|
:threshold_metric_id)
|
3478
|
+
SENSITIVE = []
|
3386
3479
|
include Aws::Structure
|
3387
3480
|
end
|
3388
3481
|
|
@@ -3433,6 +3526,7 @@ module Aws::CloudWatch
|
|
3433
3526
|
class PutMetricDataInput < Struct.new(
|
3434
3527
|
:namespace,
|
3435
3528
|
:metric_data)
|
3529
|
+
SENSITIVE = []
|
3436
3530
|
include Aws::Structure
|
3437
3531
|
end
|
3438
3532
|
|
@@ -3462,6 +3556,7 @@ module Aws::CloudWatch
|
|
3462
3556
|
class Range < Struct.new(
|
3463
3557
|
:start_time,
|
3464
3558
|
:end_time)
|
3559
|
+
SENSITIVE = []
|
3465
3560
|
include Aws::Structure
|
3466
3561
|
end
|
3467
3562
|
|
@@ -3474,6 +3569,7 @@ module Aws::CloudWatch
|
|
3474
3569
|
#
|
3475
3570
|
class ResourceNotFound < Struct.new(
|
3476
3571
|
:message)
|
3572
|
+
SENSITIVE = []
|
3477
3573
|
include Aws::Structure
|
3478
3574
|
end
|
3479
3575
|
|
@@ -3490,6 +3586,7 @@ module Aws::CloudWatch
|
|
3490
3586
|
class ResourceNotFoundException < Struct.new(
|
3491
3587
|
:resource_type,
|
3492
3588
|
:resource_id)
|
3589
|
+
SENSITIVE = []
|
3493
3590
|
include Aws::Structure
|
3494
3591
|
end
|
3495
3592
|
|
@@ -3504,8 +3601,7 @@ module Aws::CloudWatch
|
|
3504
3601
|
# }
|
3505
3602
|
#
|
3506
3603
|
# @!attribute [rw] alarm_name
|
3507
|
-
# The name
|
3508
|
-
# account. The maximum length is 255 characters.
|
3604
|
+
# The name of the alarm.
|
3509
3605
|
# @return [String]
|
3510
3606
|
#
|
3511
3607
|
# @!attribute [rw] state_value
|
@@ -3534,6 +3630,7 @@ module Aws::CloudWatch
|
|
3534
3630
|
:state_value,
|
3535
3631
|
:state_reason,
|
3536
3632
|
:state_reason_data)
|
3633
|
+
SENSITIVE = []
|
3537
3634
|
include Aws::Structure
|
3538
3635
|
end
|
3539
3636
|
|
@@ -3572,6 +3669,7 @@ module Aws::CloudWatch
|
|
3572
3669
|
:sum,
|
3573
3670
|
:minimum,
|
3574
3671
|
:maximum)
|
3672
|
+
SENSITIVE = []
|
3575
3673
|
include Aws::Structure
|
3576
3674
|
end
|
3577
3675
|
|
@@ -3599,6 +3697,7 @@ module Aws::CloudWatch
|
|
3599
3697
|
class Tag < Struct.new(
|
3600
3698
|
:key,
|
3601
3699
|
:value)
|
3700
|
+
SENSITIVE = []
|
3602
3701
|
include Aws::Structure
|
3603
3702
|
end
|
3604
3703
|
|
@@ -3625,8 +3724,8 @@ module Aws::CloudWatch
|
|
3625
3724
|
# `arn:aws:cloudwatch:Region:account-id:insight-rule:insight-rule-name
|
3626
3725
|
# `
|
3627
3726
|
#
|
3628
|
-
# For more information
|
3629
|
-
# Amazon CloudWatch][1] in the *Amazon Web Services General
|
3727
|
+
# For more information about ARN format, see [ Resource Types Defined
|
3728
|
+
# by Amazon CloudWatch][1] in the *Amazon Web Services General
|
3630
3729
|
# Reference*.
|
3631
3730
|
#
|
3632
3731
|
#
|
@@ -3643,6 +3742,7 @@ module Aws::CloudWatch
|
|
3643
3742
|
class TagResourceInput < Struct.new(
|
3644
3743
|
:resource_arn,
|
3645
3744
|
:tags)
|
3745
|
+
SENSITIVE = []
|
3646
3746
|
include Aws::Structure
|
3647
3747
|
end
|
3648
3748
|
|
@@ -3668,8 +3768,8 @@ module Aws::CloudWatch
|
|
3668
3768
|
# `arn:aws:cloudwatch:Region:account-id:insight-rule:insight-rule-name
|
3669
3769
|
# `
|
3670
3770
|
#
|
3671
|
-
# For more information
|
3672
|
-
# Amazon CloudWatch][1] in the *Amazon Web Services General
|
3771
|
+
# For more information about ARN format, see [ Resource Types Defined
|
3772
|
+
# by Amazon CloudWatch][1] in the *Amazon Web Services General
|
3673
3773
|
# Reference*.
|
3674
3774
|
#
|
3675
3775
|
#
|
@@ -3686,6 +3786,7 @@ module Aws::CloudWatch
|
|
3686
3786
|
class UntagResourceInput < Struct.new(
|
3687
3787
|
:resource_arn,
|
3688
3788
|
:tag_keys)
|
3789
|
+
SENSITIVE = []
|
3689
3790
|
include Aws::Structure
|
3690
3791
|
end
|
3691
3792
|
|