aws-sdk-cloudwatch 1.69.0 → 1.70.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-cloudwatch/alarm.rb +22 -1
- data/lib/aws-sdk-cloudwatch/client.rb +15 -7
- data/lib/aws-sdk-cloudwatch/client_api.rb +3 -0
- data/lib/aws-sdk-cloudwatch/endpoint_parameters.rb +3 -0
- data/lib/aws-sdk-cloudwatch/endpoint_provider.rb +80 -81
- data/lib/aws-sdk-cloudwatch/types.rb +21 -861
- data/lib/aws-sdk-cloudwatch.rb +1 -1
- metadata +2 -2
@@ -108,19 +108,6 @@ module Aws::CloudWatch
|
|
108
108
|
# model is to be trained, including time ranges to exclude from use for
|
109
109
|
# training the model and the time zone to use for the metric.
|
110
110
|
#
|
111
|
-
# @note When making an API call, you may pass AnomalyDetectorConfiguration
|
112
|
-
# data as a hash:
|
113
|
-
#
|
114
|
-
# {
|
115
|
-
# excluded_time_ranges: [
|
116
|
-
# {
|
117
|
-
# start_time: Time.now, # required
|
118
|
-
# end_time: Time.now, # required
|
119
|
-
# },
|
120
|
-
# ],
|
121
|
-
# metric_timezone: "AnomalyDetectorMetricTimezone",
|
122
|
-
# }
|
123
|
-
#
|
124
111
|
# @!attribute [rw] excluded_time_ranges
|
125
112
|
# An array of time ranges to exclude from use when the anomaly
|
126
113
|
# detection model is trained. Use this to make sure that events that
|
@@ -422,13 +409,6 @@ module Aws::CloudWatch
|
|
422
409
|
include Aws::Structure
|
423
410
|
end
|
424
411
|
|
425
|
-
# @note When making an API call, you may pass DeleteAlarmsInput
|
426
|
-
# data as a hash:
|
427
|
-
#
|
428
|
-
# {
|
429
|
-
# alarm_names: ["AlarmName"], # required
|
430
|
-
# }
|
431
|
-
#
|
432
412
|
# @!attribute [rw] alarm_names
|
433
413
|
# The alarms to be deleted.
|
434
414
|
# @return [Array<String>]
|
@@ -441,59 +421,6 @@ module Aws::CloudWatch
|
|
441
421
|
include Aws::Structure
|
442
422
|
end
|
443
423
|
|
444
|
-
# @note When making an API call, you may pass DeleteAnomalyDetectorInput
|
445
|
-
# data as a hash:
|
446
|
-
#
|
447
|
-
# {
|
448
|
-
# namespace: "Namespace",
|
449
|
-
# metric_name: "MetricName",
|
450
|
-
# dimensions: [
|
451
|
-
# {
|
452
|
-
# name: "DimensionName", # required
|
453
|
-
# value: "DimensionValue", # required
|
454
|
-
# },
|
455
|
-
# ],
|
456
|
-
# stat: "AnomalyDetectorMetricStat",
|
457
|
-
# single_metric_anomaly_detector: {
|
458
|
-
# namespace: "Namespace",
|
459
|
-
# metric_name: "MetricName",
|
460
|
-
# dimensions: [
|
461
|
-
# {
|
462
|
-
# name: "DimensionName", # required
|
463
|
-
# value: "DimensionValue", # required
|
464
|
-
# },
|
465
|
-
# ],
|
466
|
-
# stat: "AnomalyDetectorMetricStat",
|
467
|
-
# },
|
468
|
-
# metric_math_anomaly_detector: {
|
469
|
-
# metric_data_queries: [
|
470
|
-
# {
|
471
|
-
# id: "MetricId", # required
|
472
|
-
# metric_stat: {
|
473
|
-
# metric: { # required
|
474
|
-
# namespace: "Namespace",
|
475
|
-
# metric_name: "MetricName",
|
476
|
-
# dimensions: [
|
477
|
-
# {
|
478
|
-
# name: "DimensionName", # required
|
479
|
-
# value: "DimensionValue", # required
|
480
|
-
# },
|
481
|
-
# ],
|
482
|
-
# },
|
483
|
-
# period: 1, # required
|
484
|
-
# stat: "Stat", # required
|
485
|
-
# unit: "Seconds", # accepts 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
|
486
|
-
# },
|
487
|
-
# expression: "MetricExpression",
|
488
|
-
# label: "MetricLabel",
|
489
|
-
# return_data: false,
|
490
|
-
# period: 1,
|
491
|
-
# account_id: "AccountId",
|
492
|
-
# },
|
493
|
-
# ],
|
494
|
-
# },
|
495
|
-
# }
|
496
|
-
#
|
497
424
|
# @!attribute [rw] namespace
|
498
425
|
# The namespace associated with the anomaly detection model to delete.
|
499
426
|
# @return [String]
|
@@ -571,13 +498,6 @@ module Aws::CloudWatch
|
|
571
498
|
#
|
572
499
|
class DeleteAnomalyDetectorOutput < Aws::EmptyStructure; end
|
573
500
|
|
574
|
-
# @note When making an API call, you may pass DeleteDashboardsInput
|
575
|
-
# data as a hash:
|
576
|
-
#
|
577
|
-
# {
|
578
|
-
# dashboard_names: ["DashboardName"], # required
|
579
|
-
# }
|
580
|
-
#
|
581
501
|
# @!attribute [rw] dashboard_names
|
582
502
|
# The dashboards to be deleted. This parameter is required.
|
583
503
|
# @return [Array<String>]
|
@@ -594,13 +514,6 @@ module Aws::CloudWatch
|
|
594
514
|
#
|
595
515
|
class DeleteDashboardsOutput < Aws::EmptyStructure; end
|
596
516
|
|
597
|
-
# @note When making an API call, you may pass DeleteInsightRulesInput
|
598
|
-
# data as a hash:
|
599
|
-
#
|
600
|
-
# {
|
601
|
-
# rule_names: ["InsightRuleName"], # required
|
602
|
-
# }
|
603
|
-
#
|
604
517
|
# @!attribute [rw] rule_names
|
605
518
|
# An array of the rule names to delete. If you need to find out the
|
606
519
|
# names of your rules, use [DescribeInsightRules][1].
|
@@ -631,13 +544,6 @@ module Aws::CloudWatch
|
|
631
544
|
include Aws::Structure
|
632
545
|
end
|
633
546
|
|
634
|
-
# @note When making an API call, you may pass DeleteMetricStreamInput
|
635
|
-
# data as a hash:
|
636
|
-
#
|
637
|
-
# {
|
638
|
-
# name: "MetricStreamName", # required
|
639
|
-
# }
|
640
|
-
#
|
641
547
|
# @!attribute [rw] name
|
642
548
|
# The name of the metric stream to delete.
|
643
549
|
# @return [String]
|
@@ -654,20 +560,6 @@ module Aws::CloudWatch
|
|
654
560
|
#
|
655
561
|
class DeleteMetricStreamOutput < Aws::EmptyStructure; end
|
656
562
|
|
657
|
-
# @note When making an API call, you may pass DescribeAlarmHistoryInput
|
658
|
-
# data as a hash:
|
659
|
-
#
|
660
|
-
# {
|
661
|
-
# alarm_name: "AlarmName",
|
662
|
-
# alarm_types: ["CompositeAlarm"], # accepts CompositeAlarm, MetricAlarm
|
663
|
-
# history_item_type: "ConfigurationUpdate", # accepts ConfigurationUpdate, StateUpdate, Action
|
664
|
-
# start_date: Time.now,
|
665
|
-
# end_date: Time.now,
|
666
|
-
# max_records: 1,
|
667
|
-
# next_token: "NextToken",
|
668
|
-
# scan_by: "TimestampDescending", # accepts TimestampDescending, TimestampAscending
|
669
|
-
# }
|
670
|
-
#
|
671
563
|
# @!attribute [rw] alarm_name
|
672
564
|
# The name of the alarm.
|
673
565
|
# @return [String]
|
@@ -739,24 +631,6 @@ module Aws::CloudWatch
|
|
739
631
|
include Aws::Structure
|
740
632
|
end
|
741
633
|
|
742
|
-
# @note When making an API call, you may pass DescribeAlarmsForMetricInput
|
743
|
-
# data as a hash:
|
744
|
-
#
|
745
|
-
# {
|
746
|
-
# metric_name: "MetricName", # required
|
747
|
-
# namespace: "Namespace", # required
|
748
|
-
# statistic: "SampleCount", # accepts SampleCount, Average, Sum, Minimum, Maximum
|
749
|
-
# extended_statistic: "ExtendedStatistic",
|
750
|
-
# dimensions: [
|
751
|
-
# {
|
752
|
-
# name: "DimensionName", # required
|
753
|
-
# value: "DimensionValue", # required
|
754
|
-
# },
|
755
|
-
# ],
|
756
|
-
# period: 1,
|
757
|
-
# unit: "Seconds", # accepts 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
|
758
|
-
# }
|
759
|
-
#
|
760
634
|
# @!attribute [rw] metric_name
|
761
635
|
# The name of the metric.
|
762
636
|
# @return [String]
|
@@ -815,21 +689,6 @@ module Aws::CloudWatch
|
|
815
689
|
include Aws::Structure
|
816
690
|
end
|
817
691
|
|
818
|
-
# @note When making an API call, you may pass DescribeAlarmsInput
|
819
|
-
# data as a hash:
|
820
|
-
#
|
821
|
-
# {
|
822
|
-
# alarm_names: ["AlarmName"],
|
823
|
-
# alarm_name_prefix: "AlarmNamePrefix",
|
824
|
-
# alarm_types: ["CompositeAlarm"], # accepts CompositeAlarm, MetricAlarm
|
825
|
-
# children_of_alarm_name: "AlarmName",
|
826
|
-
# parents_of_alarm_name: "AlarmName",
|
827
|
-
# state_value: "OK", # accepts OK, ALARM, INSUFFICIENT_DATA
|
828
|
-
# action_prefix: "ActionPrefix",
|
829
|
-
# max_records: 1,
|
830
|
-
# next_token: "NextToken",
|
831
|
-
# }
|
832
|
-
#
|
833
692
|
# @!attribute [rw] alarm_names
|
834
693
|
# The names of the alarms to retrieve information about.
|
835
694
|
# @return [Array<String>]
|
@@ -952,23 +811,6 @@ module Aws::CloudWatch
|
|
952
811
|
include Aws::Structure
|
953
812
|
end
|
954
813
|
|
955
|
-
# @note When making an API call, you may pass DescribeAnomalyDetectorsInput
|
956
|
-
# data as a hash:
|
957
|
-
#
|
958
|
-
# {
|
959
|
-
# next_token: "NextToken",
|
960
|
-
# max_results: 1,
|
961
|
-
# namespace: "Namespace",
|
962
|
-
# metric_name: "MetricName",
|
963
|
-
# dimensions: [
|
964
|
-
# {
|
965
|
-
# name: "DimensionName", # required
|
966
|
-
# value: "DimensionValue", # required
|
967
|
-
# },
|
968
|
-
# ],
|
969
|
-
# anomaly_detector_types: ["SINGLE_METRIC"], # accepts SINGLE_METRIC, METRIC_MATH
|
970
|
-
# }
|
971
|
-
#
|
972
814
|
# @!attribute [rw] next_token
|
973
815
|
# Use the token returned by the previous operation to request the next
|
974
816
|
# page of results.
|
@@ -1038,14 +880,6 @@ module Aws::CloudWatch
|
|
1038
880
|
include Aws::Structure
|
1039
881
|
end
|
1040
882
|
|
1041
|
-
# @note When making an API call, you may pass DescribeInsightRulesInput
|
1042
|
-
# data as a hash:
|
1043
|
-
#
|
1044
|
-
# {
|
1045
|
-
# next_token: "NextToken",
|
1046
|
-
# max_results: 1,
|
1047
|
-
# }
|
1048
|
-
#
|
1049
883
|
# @!attribute [rw] next_token
|
1050
884
|
# Include this value, if it was returned by the previous operation, to
|
1051
885
|
# get the next set of rules.
|
@@ -1092,14 +926,6 @@ module Aws::CloudWatch
|
|
1092
926
|
#
|
1093
927
|
# You can assign up to 30 dimensions to a metric.
|
1094
928
|
#
|
1095
|
-
# @note When making an API call, you may pass Dimension
|
1096
|
-
# data as a hash:
|
1097
|
-
#
|
1098
|
-
# {
|
1099
|
-
# name: "DimensionName", # required
|
1100
|
-
# value: "DimensionValue", # required
|
1101
|
-
# }
|
1102
|
-
#
|
1103
929
|
# @!attribute [rw] name
|
1104
930
|
# The name of the dimension. Dimension names must contain only ASCII
|
1105
931
|
# characters, must include at least one non-whitespace character, and
|
@@ -1122,14 +948,6 @@ module Aws::CloudWatch
|
|
1122
948
|
|
1123
949
|
# Represents filters for a dimension.
|
1124
950
|
#
|
1125
|
-
# @note When making an API call, you may pass DimensionFilter
|
1126
|
-
# data as a hash:
|
1127
|
-
#
|
1128
|
-
# {
|
1129
|
-
# name: "DimensionName", # required
|
1130
|
-
# value: "DimensionValue",
|
1131
|
-
# }
|
1132
|
-
#
|
1133
951
|
# @!attribute [rw] name
|
1134
952
|
# The dimension name to be matched.
|
1135
953
|
# @return [String]
|
@@ -1147,13 +965,6 @@ module Aws::CloudWatch
|
|
1147
965
|
include Aws::Structure
|
1148
966
|
end
|
1149
967
|
|
1150
|
-
# @note When making an API call, you may pass DisableAlarmActionsInput
|
1151
|
-
# data as a hash:
|
1152
|
-
#
|
1153
|
-
# {
|
1154
|
-
# alarm_names: ["AlarmName"], # required
|
1155
|
-
# }
|
1156
|
-
#
|
1157
968
|
# @!attribute [rw] alarm_names
|
1158
969
|
# The names of the alarms.
|
1159
970
|
# @return [Array<String>]
|
@@ -1166,13 +977,6 @@ module Aws::CloudWatch
|
|
1166
977
|
include Aws::Structure
|
1167
978
|
end
|
1168
979
|
|
1169
|
-
# @note When making an API call, you may pass DisableInsightRulesInput
|
1170
|
-
# data as a hash:
|
1171
|
-
#
|
1172
|
-
# {
|
1173
|
-
# rule_names: ["InsightRuleName"], # required
|
1174
|
-
# }
|
1175
|
-
#
|
1176
980
|
# @!attribute [rw] rule_names
|
1177
981
|
# An array of the rule names to disable. If you need to find out the
|
1178
982
|
# names of your rules, use [DescribeInsightRules][1].
|
@@ -1203,13 +1007,6 @@ module Aws::CloudWatch
|
|
1203
1007
|
include Aws::Structure
|
1204
1008
|
end
|
1205
1009
|
|
1206
|
-
# @note When making an API call, you may pass EnableAlarmActionsInput
|
1207
|
-
# data as a hash:
|
1208
|
-
#
|
1209
|
-
# {
|
1210
|
-
# alarm_names: ["AlarmName"], # required
|
1211
|
-
# }
|
1212
|
-
#
|
1213
1010
|
# @!attribute [rw] alarm_names
|
1214
1011
|
# The names of the alarms.
|
1215
1012
|
# @return [Array<String>]
|
@@ -1222,13 +1019,6 @@ module Aws::CloudWatch
|
|
1222
1019
|
include Aws::Structure
|
1223
1020
|
end
|
1224
1021
|
|
1225
|
-
# @note When making an API call, you may pass EnableInsightRulesInput
|
1226
|
-
# data as a hash:
|
1227
|
-
#
|
1228
|
-
# {
|
1229
|
-
# rule_names: ["InsightRuleName"], # required
|
1230
|
-
# }
|
1231
|
-
#
|
1232
1022
|
# @!attribute [rw] rule_names
|
1233
1023
|
# An array of the rule names to enable. If you need to find out the
|
1234
1024
|
# names of your rules, use [DescribeInsightRules][1].
|
@@ -1259,13 +1049,6 @@ module Aws::CloudWatch
|
|
1259
1049
|
include Aws::Structure
|
1260
1050
|
end
|
1261
1051
|
|
1262
|
-
# @note When making an API call, you may pass GetDashboardInput
|
1263
|
-
# data as a hash:
|
1264
|
-
#
|
1265
|
-
# {
|
1266
|
-
# dashboard_name: "DashboardName", # required
|
1267
|
-
# }
|
1268
|
-
#
|
1269
1052
|
# @!attribute [rw] dashboard_name
|
1270
1053
|
# The name of the dashboard to be described.
|
1271
1054
|
# @return [String]
|
@@ -1307,19 +1090,6 @@ module Aws::CloudWatch
|
|
1307
1090
|
include Aws::Structure
|
1308
1091
|
end
|
1309
1092
|
|
1310
|
-
# @note When making an API call, you may pass GetInsightRuleReportInput
|
1311
|
-
# data as a hash:
|
1312
|
-
#
|
1313
|
-
# {
|
1314
|
-
# rule_name: "InsightRuleName", # required
|
1315
|
-
# start_time: Time.now, # required
|
1316
|
-
# end_time: Time.now, # required
|
1317
|
-
# period: 1, # required
|
1318
|
-
# max_contributor_count: 1,
|
1319
|
-
# metrics: ["InsightRuleMetricName"],
|
1320
|
-
# order_by: "InsightRuleOrderBy",
|
1321
|
-
# }
|
1322
|
-
#
|
1323
1093
|
# @!attribute [rw] rule_name
|
1324
1094
|
# The name of the rule that you want to see data from.
|
1325
1095
|
# @return [String]
|
@@ -1444,45 +1214,6 @@ module Aws::CloudWatch
|
|
1444
1214
|
include Aws::Structure
|
1445
1215
|
end
|
1446
1216
|
|
1447
|
-
# @note When making an API call, you may pass GetMetricDataInput
|
1448
|
-
# data as a hash:
|
1449
|
-
#
|
1450
|
-
# {
|
1451
|
-
# metric_data_queries: [ # required
|
1452
|
-
# {
|
1453
|
-
# id: "MetricId", # required
|
1454
|
-
# metric_stat: {
|
1455
|
-
# metric: { # required
|
1456
|
-
# namespace: "Namespace",
|
1457
|
-
# metric_name: "MetricName",
|
1458
|
-
# dimensions: [
|
1459
|
-
# {
|
1460
|
-
# name: "DimensionName", # required
|
1461
|
-
# value: "DimensionValue", # required
|
1462
|
-
# },
|
1463
|
-
# ],
|
1464
|
-
# },
|
1465
|
-
# period: 1, # required
|
1466
|
-
# stat: "Stat", # required
|
1467
|
-
# unit: "Seconds", # accepts 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
|
1468
|
-
# },
|
1469
|
-
# expression: "MetricExpression",
|
1470
|
-
# label: "MetricLabel",
|
1471
|
-
# return_data: false,
|
1472
|
-
# period: 1,
|
1473
|
-
# account_id: "AccountId",
|
1474
|
-
# },
|
1475
|
-
# ],
|
1476
|
-
# start_time: Time.now, # required
|
1477
|
-
# end_time: Time.now, # required
|
1478
|
-
# next_token: "NextToken",
|
1479
|
-
# scan_by: "TimestampDescending", # accepts TimestampDescending, TimestampAscending
|
1480
|
-
# max_datapoints: 1,
|
1481
|
-
# label_options: {
|
1482
|
-
# timezone: "GetMetricDataLabelTimezone",
|
1483
|
-
# },
|
1484
|
-
# }
|
1485
|
-
#
|
1486
1217
|
# @!attribute [rw] metric_data_queries
|
1487
1218
|
# The metric queries to be returned. A single `GetMetricData` call can
|
1488
1219
|
# include as many as 500 `MetricDataQuery` structures. Each of these
|
@@ -1610,26 +1341,6 @@ module Aws::CloudWatch
|
|
1610
1341
|
include Aws::Structure
|
1611
1342
|
end
|
1612
1343
|
|
1613
|
-
# @note When making an API call, you may pass GetMetricStatisticsInput
|
1614
|
-
# data as a hash:
|
1615
|
-
#
|
1616
|
-
# {
|
1617
|
-
# namespace: "Namespace", # required
|
1618
|
-
# metric_name: "MetricName", # required
|
1619
|
-
# dimensions: [
|
1620
|
-
# {
|
1621
|
-
# name: "DimensionName", # required
|
1622
|
-
# value: "DimensionValue", # required
|
1623
|
-
# },
|
1624
|
-
# ],
|
1625
|
-
# start_time: Time.now, # required
|
1626
|
-
# end_time: Time.now, # required
|
1627
|
-
# period: 1, # required
|
1628
|
-
# statistics: ["SampleCount"], # accepts SampleCount, Average, Sum, Minimum, Maximum
|
1629
|
-
# extended_statistics: ["ExtendedStatistic"],
|
1630
|
-
# unit: "Seconds", # accepts 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
|
1631
|
-
# }
|
1632
|
-
#
|
1633
1344
|
# @!attribute [rw] namespace
|
1634
1345
|
# The namespace of the metric, with or without spaces.
|
1635
1346
|
# @return [String]
|
@@ -1777,13 +1488,6 @@ module Aws::CloudWatch
|
|
1777
1488
|
include Aws::Structure
|
1778
1489
|
end
|
1779
1490
|
|
1780
|
-
# @note When making an API call, you may pass GetMetricStreamInput
|
1781
|
-
# data as a hash:
|
1782
|
-
#
|
1783
|
-
# {
|
1784
|
-
# name: "MetricStreamName", # required
|
1785
|
-
# }
|
1786
|
-
#
|
1787
1491
|
# @!attribute [rw] name
|
1788
1492
|
# The name of the metric stream to retrieve information about.
|
1789
1493
|
# @return [String]
|
@@ -1879,14 +1583,6 @@ module Aws::CloudWatch
|
|
1879
1583
|
include Aws::Structure
|
1880
1584
|
end
|
1881
1585
|
|
1882
|
-
# @note When making an API call, you may pass GetMetricWidgetImageInput
|
1883
|
-
# data as a hash:
|
1884
|
-
#
|
1885
|
-
# {
|
1886
|
-
# metric_widget: "MetricWidget", # required
|
1887
|
-
# output_format: "OutputFormat",
|
1888
|
-
# }
|
1889
|
-
#
|
1890
1586
|
# @!attribute [rw] metric_widget
|
1891
1587
|
# A JSON string that defines the bitmap graph to be retrieved. The
|
1892
1588
|
# string includes the metrics to include in the graph, statistics,
|
@@ -2242,13 +1938,6 @@ module Aws::CloudWatch
|
|
2242
1938
|
#
|
2243
1939
|
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html
|
2244
1940
|
#
|
2245
|
-
# @note When making an API call, you may pass LabelOptions
|
2246
|
-
# data as a hash:
|
2247
|
-
#
|
2248
|
-
# {
|
2249
|
-
# timezone: "GetMetricDataLabelTimezone",
|
2250
|
-
# }
|
2251
|
-
#
|
2252
1941
|
# @!attribute [rw] timezone
|
2253
1942
|
# The time zone to use for metric data return in this operation. The
|
2254
1943
|
# format is `+` or `-` followed by four digits. The first two digits
|
@@ -2285,14 +1974,6 @@ module Aws::CloudWatch
|
|
2285
1974
|
include Aws::Structure
|
2286
1975
|
end
|
2287
1976
|
|
2288
|
-
# @note When making an API call, you may pass ListDashboardsInput
|
2289
|
-
# data as a hash:
|
2290
|
-
#
|
2291
|
-
# {
|
2292
|
-
# dashboard_name_prefix: "DashboardNamePrefix",
|
2293
|
-
# next_token: "NextToken",
|
2294
|
-
# }
|
2295
|
-
#
|
2296
1977
|
# @!attribute [rw] dashboard_name_prefix
|
2297
1978
|
# If you specify this parameter, only the dashboards with names
|
2298
1979
|
# starting with the specified string are listed. The maximum length is
|
@@ -2332,15 +2013,6 @@ module Aws::CloudWatch
|
|
2332
2013
|
include Aws::Structure
|
2333
2014
|
end
|
2334
2015
|
|
2335
|
-
# @note When making an API call, you may pass ListManagedInsightRulesInput
|
2336
|
-
# data as a hash:
|
2337
|
-
#
|
2338
|
-
# {
|
2339
|
-
# resource_arn: "AmazonResourceName", # required
|
2340
|
-
# next_token: "NextToken",
|
2341
|
-
# max_results: 1,
|
2342
|
-
# }
|
2343
|
-
#
|
2344
2016
|
# @!attribute [rw] resource_arn
|
2345
2017
|
# The ARN of an Amazon Web Services resource that has managed
|
2346
2018
|
# Contributor Insights rules.
|
@@ -2386,14 +2058,6 @@ module Aws::CloudWatch
|
|
2386
2058
|
include Aws::Structure
|
2387
2059
|
end
|
2388
2060
|
|
2389
|
-
# @note When making an API call, you may pass ListMetricStreamsInput
|
2390
|
-
# data as a hash:
|
2391
|
-
#
|
2392
|
-
# {
|
2393
|
-
# next_token: "NextToken",
|
2394
|
-
# max_results: 1,
|
2395
|
-
# }
|
2396
|
-
#
|
2397
2061
|
# @!attribute [rw] next_token
|
2398
2062
|
# Include this value, if it was returned by the previous call, to get
|
2399
2063
|
# the next set of metric streams.
|
@@ -2431,24 +2095,6 @@ module Aws::CloudWatch
|
|
2431
2095
|
include Aws::Structure
|
2432
2096
|
end
|
2433
2097
|
|
2434
|
-
# @note When making an API call, you may pass ListMetricsInput
|
2435
|
-
# data as a hash:
|
2436
|
-
#
|
2437
|
-
# {
|
2438
|
-
# namespace: "Namespace",
|
2439
|
-
# metric_name: "MetricName",
|
2440
|
-
# dimensions: [
|
2441
|
-
# {
|
2442
|
-
# name: "DimensionName", # required
|
2443
|
-
# value: "DimensionValue",
|
2444
|
-
# },
|
2445
|
-
# ],
|
2446
|
-
# next_token: "NextToken",
|
2447
|
-
# recently_active: "PT3H", # accepts PT3H
|
2448
|
-
# include_linked_accounts: false,
|
2449
|
-
# owning_account: "AccountId",
|
2450
|
-
# }
|
2451
|
-
#
|
2452
2098
|
# @!attribute [rw] namespace
|
2453
2099
|
# The metric namespace to filter against. Only the namespace that
|
2454
2100
|
# matches exactly will be returned.
|
@@ -2536,13 +2182,6 @@ module Aws::CloudWatch
|
|
2536
2182
|
include Aws::Structure
|
2537
2183
|
end
|
2538
2184
|
|
2539
|
-
# @note When making an API call, you may pass ListTagsForResourceInput
|
2540
|
-
# data as a hash:
|
2541
|
-
#
|
2542
|
-
# {
|
2543
|
-
# resource_arn: "AmazonResourceName", # required
|
2544
|
-
# }
|
2545
|
-
#
|
2546
2185
|
# @!attribute [rw] resource_arn
|
2547
2186
|
# The ARN of the CloudWatch resource that you want to view tags for.
|
2548
2187
|
#
|
@@ -2586,20 +2225,6 @@ module Aws::CloudWatch
|
|
2586
2225
|
# Contains the information that's required to enable a managed
|
2587
2226
|
# Contributor Insights rule for an Amazon Web Services resource.
|
2588
2227
|
#
|
2589
|
-
# @note When making an API call, you may pass ManagedRule
|
2590
|
-
# data as a hash:
|
2591
|
-
#
|
2592
|
-
# {
|
2593
|
-
# template_name: "TemplateName", # required
|
2594
|
-
# resource_arn: "AmazonResourceName", # required
|
2595
|
-
# tags: [
|
2596
|
-
# {
|
2597
|
-
# key: "TagKey", # required
|
2598
|
-
# value: "TagValue", # required
|
2599
|
-
# },
|
2600
|
-
# ],
|
2601
|
-
# }
|
2602
|
-
#
|
2603
2228
|
# @!attribute [rw] template_name
|
2604
2229
|
# The template name for the managed Contributor Insights rule, as
|
2605
2230
|
# returned by `ListManagedInsightRules`.
|
@@ -2710,20 +2335,6 @@ module Aws::CloudWatch
|
|
2710
2335
|
|
2711
2336
|
# Represents a specific metric.
|
2712
2337
|
#
|
2713
|
-
# @note When making an API call, you may pass Metric
|
2714
|
-
# data as a hash:
|
2715
|
-
#
|
2716
|
-
# {
|
2717
|
-
# namespace: "Namespace",
|
2718
|
-
# metric_name: "MetricName",
|
2719
|
-
# dimensions: [
|
2720
|
-
# {
|
2721
|
-
# name: "DimensionName", # required
|
2722
|
-
# value: "DimensionValue", # required
|
2723
|
-
# },
|
2724
|
-
# ],
|
2725
|
-
# }
|
2726
|
-
#
|
2727
2338
|
# @!attribute [rw] namespace
|
2728
2339
|
# The namespace of the metric.
|
2729
2340
|
# @return [String]
|
@@ -2800,7 +2411,8 @@ module Aws::CloudWatch
|
|
2800
2411
|
# @return [String]
|
2801
2412
|
#
|
2802
2413
|
# @!attribute [rw] state_updated_timestamp
|
2803
|
-
# The time stamp of the last update to the
|
2414
|
+
# The time stamp of the last update to the value of either the
|
2415
|
+
# `StateValue` or `EvaluationState` parameters.
|
2804
2416
|
# @return [Time]
|
2805
2417
|
#
|
2806
2418
|
# @!attribute [rw] metric_name
|
@@ -2890,6 +2502,22 @@ module Aws::CloudWatch
|
|
2890
2502
|
# alarm.
|
2891
2503
|
# @return [String]
|
2892
2504
|
#
|
2505
|
+
# @!attribute [rw] evaluation_state
|
2506
|
+
# If the value of this field is `PARTIAL_DATA`, the alarm is being
|
2507
|
+
# evaluated based on only partial data. This happens if the query used
|
2508
|
+
# for the alarm returns more than 10,000 metrics. For more
|
2509
|
+
# information, see [Create alarms on Metrics Insights queries][1].
|
2510
|
+
#
|
2511
|
+
#
|
2512
|
+
#
|
2513
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Create_Metrics_Insights_Alarm.html
|
2514
|
+
# @return [String]
|
2515
|
+
#
|
2516
|
+
# @!attribute [rw] state_transitioned_timestamp
|
2517
|
+
# The date and time that the alarm's `StateValue` most recently
|
2518
|
+
# changed.
|
2519
|
+
# @return [Time]
|
2520
|
+
#
|
2893
2521
|
# @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/MetricAlarm AWS API Documentation
|
2894
2522
|
#
|
2895
2523
|
class MetricAlarm < Struct.new(
|
@@ -2919,7 +2547,9 @@ module Aws::CloudWatch
|
|
2919
2547
|
:treat_missing_data,
|
2920
2548
|
:evaluate_low_sample_count_percentile,
|
2921
2549
|
:metrics,
|
2922
|
-
:threshold_metric_id
|
2550
|
+
:threshold_metric_id,
|
2551
|
+
:evaluation_state,
|
2552
|
+
:state_transitioned_timestamp)
|
2923
2553
|
SENSITIVE = []
|
2924
2554
|
include Aws::Structure
|
2925
2555
|
end
|
@@ -2959,33 +2589,6 @@ module Aws::CloudWatch
|
|
2959
2589
|
#
|
2960
2590
|
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/using-metric-math.html#metric-math-syntax
|
2961
2591
|
#
|
2962
|
-
# @note When making an API call, you may pass MetricDataQuery
|
2963
|
-
# data as a hash:
|
2964
|
-
#
|
2965
|
-
# {
|
2966
|
-
# id: "MetricId", # required
|
2967
|
-
# metric_stat: {
|
2968
|
-
# metric: { # required
|
2969
|
-
# namespace: "Namespace",
|
2970
|
-
# metric_name: "MetricName",
|
2971
|
-
# dimensions: [
|
2972
|
-
# {
|
2973
|
-
# name: "DimensionName", # required
|
2974
|
-
# value: "DimensionValue", # required
|
2975
|
-
# },
|
2976
|
-
# ],
|
2977
|
-
# },
|
2978
|
-
# period: 1, # required
|
2979
|
-
# stat: "Stat", # required
|
2980
|
-
# unit: "Seconds", # accepts 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
|
2981
|
-
# },
|
2982
|
-
# expression: "MetricExpression",
|
2983
|
-
# label: "MetricLabel",
|
2984
|
-
# return_data: false,
|
2985
|
-
# period: 1,
|
2986
|
-
# account_id: "AccountId",
|
2987
|
-
# }
|
2988
|
-
#
|
2989
2592
|
# @!attribute [rw] id
|
2990
2593
|
# A short name used to tie this object to the results in the response.
|
2991
2594
|
# This name must be unique within a single call to `GetMetricData`. If
|
@@ -3146,31 +2749,6 @@ module Aws::CloudWatch
|
|
3146
2749
|
# Encapsulates the information sent to either create a metric or add new
|
3147
2750
|
# values to be aggregated into an existing metric.
|
3148
2751
|
#
|
3149
|
-
# @note When making an API call, you may pass MetricDatum
|
3150
|
-
# data as a hash:
|
3151
|
-
#
|
3152
|
-
# {
|
3153
|
-
# metric_name: "MetricName", # required
|
3154
|
-
# dimensions: [
|
3155
|
-
# {
|
3156
|
-
# name: "DimensionName", # required
|
3157
|
-
# value: "DimensionValue", # required
|
3158
|
-
# },
|
3159
|
-
# ],
|
3160
|
-
# timestamp: Time.now,
|
3161
|
-
# value: 1.0,
|
3162
|
-
# statistic_values: {
|
3163
|
-
# sample_count: 1.0, # required
|
3164
|
-
# sum: 1.0, # required
|
3165
|
-
# minimum: 1.0, # required
|
3166
|
-
# maximum: 1.0, # required
|
3167
|
-
# },
|
3168
|
-
# values: [1.0],
|
3169
|
-
# counts: [1.0],
|
3170
|
-
# unit: "Seconds", # accepts 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
|
3171
|
-
# storage_resolution: 1,
|
3172
|
-
# }
|
3173
|
-
#
|
3174
2752
|
# @!attribute [rw] metric_name
|
3175
2753
|
# The name of the metric.
|
3176
2754
|
# @return [String]
|
@@ -3267,37 +2845,6 @@ module Aws::CloudWatch
|
|
3267
2845
|
# the anomaly detector uses as input. The designated math expression
|
3268
2846
|
# must return a single time series.
|
3269
2847
|
#
|
3270
|
-
# @note When making an API call, you may pass MetricMathAnomalyDetector
|
3271
|
-
# data as a hash:
|
3272
|
-
#
|
3273
|
-
# {
|
3274
|
-
# metric_data_queries: [
|
3275
|
-
# {
|
3276
|
-
# id: "MetricId", # required
|
3277
|
-
# metric_stat: {
|
3278
|
-
# metric: { # required
|
3279
|
-
# namespace: "Namespace",
|
3280
|
-
# metric_name: "MetricName",
|
3281
|
-
# dimensions: [
|
3282
|
-
# {
|
3283
|
-
# name: "DimensionName", # required
|
3284
|
-
# value: "DimensionValue", # required
|
3285
|
-
# },
|
3286
|
-
# ],
|
3287
|
-
# },
|
3288
|
-
# period: 1, # required
|
3289
|
-
# stat: "Stat", # required
|
3290
|
-
# unit: "Seconds", # accepts 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
|
3291
|
-
# },
|
3292
|
-
# expression: "MetricExpression",
|
3293
|
-
# label: "MetricLabel",
|
3294
|
-
# return_data: false,
|
3295
|
-
# period: 1,
|
3296
|
-
# account_id: "AccountId",
|
3297
|
-
# },
|
3298
|
-
# ],
|
3299
|
-
# }
|
3300
|
-
#
|
3301
2848
|
# @!attribute [rw] metric_data_queries
|
3302
2849
|
# An array of metric data query structures that enables you to create
|
3303
2850
|
# an anomaly detector based on the result of a metric math expression.
|
@@ -3321,25 +2868,6 @@ module Aws::CloudWatch
|
|
3321
2868
|
# This structure defines the metric to be returned, along with the
|
3322
2869
|
# statistics, period, and units.
|
3323
2870
|
#
|
3324
|
-
# @note When making an API call, you may pass MetricStat
|
3325
|
-
# data as a hash:
|
3326
|
-
#
|
3327
|
-
# {
|
3328
|
-
# metric: { # required
|
3329
|
-
# namespace: "Namespace",
|
3330
|
-
# metric_name: "MetricName",
|
3331
|
-
# dimensions: [
|
3332
|
-
# {
|
3333
|
-
# name: "DimensionName", # required
|
3334
|
-
# value: "DimensionValue", # required
|
3335
|
-
# },
|
3336
|
-
# ],
|
3337
|
-
# },
|
3338
|
-
# period: 1, # required
|
3339
|
-
# stat: "Stat", # required
|
3340
|
-
# unit: "Seconds", # accepts 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
|
3341
|
-
# }
|
3342
|
-
#
|
3343
2871
|
# @!attribute [rw] metric
|
3344
2872
|
# The metric to return, including the metric name, namespace, and
|
3345
2873
|
# dimensions.
|
@@ -3450,13 +2978,6 @@ module Aws::CloudWatch
|
|
3450
2978
|
# This structure contains the name of one of the metric namespaces that
|
3451
2979
|
# is listed in a filter of a metric stream.
|
3452
2980
|
#
|
3453
|
-
# @note When making an API call, you may pass MetricStreamFilter
|
3454
|
-
# data as a hash:
|
3455
|
-
#
|
3456
|
-
# {
|
3457
|
-
# namespace: "Namespace",
|
3458
|
-
# }
|
3459
|
-
#
|
3460
2981
|
# @!attribute [rw] namespace
|
3461
2982
|
# The name of the metric namespace in the filter.
|
3462
2983
|
# @return [String]
|
@@ -3479,19 +3000,6 @@ module Aws::CloudWatch
|
|
3479
3000
|
#
|
3480
3001
|
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Statistics-definitions.html.html
|
3481
3002
|
#
|
3482
|
-
# @note When making an API call, you may pass MetricStreamStatisticsConfiguration
|
3483
|
-
# data as a hash:
|
3484
|
-
#
|
3485
|
-
# {
|
3486
|
-
# include_metrics: [ # required
|
3487
|
-
# {
|
3488
|
-
# namespace: "Namespace", # required
|
3489
|
-
# metric_name: "MetricName", # required
|
3490
|
-
# },
|
3491
|
-
# ],
|
3492
|
-
# additional_statistics: ["MetricStreamStatistic"], # required
|
3493
|
-
# }
|
3494
|
-
#
|
3495
3003
|
# @!attribute [rw] include_metrics
|
3496
3004
|
# An array of metric name and namespace pairs that stream the
|
3497
3005
|
# additional statistics listed in the value of the
|
@@ -3534,14 +3042,6 @@ module Aws::CloudWatch
|
|
3534
3042
|
# This object contains the information for one metric that is to be
|
3535
3043
|
# streamed with additional statistics.
|
3536
3044
|
#
|
3537
|
-
# @note When making an API call, you may pass MetricStreamStatisticsMetric
|
3538
|
-
# data as a hash:
|
3539
|
-
#
|
3540
|
-
# {
|
3541
|
-
# namespace: "Namespace", # required
|
3542
|
-
# metric_name: "MetricName", # required
|
3543
|
-
# }
|
3544
|
-
#
|
3545
3045
|
# @!attribute [rw] namespace
|
3546
3046
|
# The namespace of the metric.
|
3547
3047
|
# @return [String]
|
@@ -3603,68 +3103,6 @@ module Aws::CloudWatch
|
|
3603
3103
|
include Aws::Structure
|
3604
3104
|
end
|
3605
3105
|
|
3606
|
-
# @note When making an API call, you may pass PutAnomalyDetectorInput
|
3607
|
-
# data as a hash:
|
3608
|
-
#
|
3609
|
-
# {
|
3610
|
-
# namespace: "Namespace",
|
3611
|
-
# metric_name: "MetricName",
|
3612
|
-
# dimensions: [
|
3613
|
-
# {
|
3614
|
-
# name: "DimensionName", # required
|
3615
|
-
# value: "DimensionValue", # required
|
3616
|
-
# },
|
3617
|
-
# ],
|
3618
|
-
# stat: "AnomalyDetectorMetricStat",
|
3619
|
-
# configuration: {
|
3620
|
-
# excluded_time_ranges: [
|
3621
|
-
# {
|
3622
|
-
# start_time: Time.now, # required
|
3623
|
-
# end_time: Time.now, # required
|
3624
|
-
# },
|
3625
|
-
# ],
|
3626
|
-
# metric_timezone: "AnomalyDetectorMetricTimezone",
|
3627
|
-
# },
|
3628
|
-
# single_metric_anomaly_detector: {
|
3629
|
-
# namespace: "Namespace",
|
3630
|
-
# metric_name: "MetricName",
|
3631
|
-
# dimensions: [
|
3632
|
-
# {
|
3633
|
-
# name: "DimensionName", # required
|
3634
|
-
# value: "DimensionValue", # required
|
3635
|
-
# },
|
3636
|
-
# ],
|
3637
|
-
# stat: "AnomalyDetectorMetricStat",
|
3638
|
-
# },
|
3639
|
-
# metric_math_anomaly_detector: {
|
3640
|
-
# metric_data_queries: [
|
3641
|
-
# {
|
3642
|
-
# id: "MetricId", # required
|
3643
|
-
# metric_stat: {
|
3644
|
-
# metric: { # required
|
3645
|
-
# namespace: "Namespace",
|
3646
|
-
# metric_name: "MetricName",
|
3647
|
-
# dimensions: [
|
3648
|
-
# {
|
3649
|
-
# name: "DimensionName", # required
|
3650
|
-
# value: "DimensionValue", # required
|
3651
|
-
# },
|
3652
|
-
# ],
|
3653
|
-
# },
|
3654
|
-
# period: 1, # required
|
3655
|
-
# stat: "Stat", # required
|
3656
|
-
# unit: "Seconds", # accepts 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
|
3657
|
-
# },
|
3658
|
-
# expression: "MetricExpression",
|
3659
|
-
# label: "MetricLabel",
|
3660
|
-
# return_data: false,
|
3661
|
-
# period: 1,
|
3662
|
-
# account_id: "AccountId",
|
3663
|
-
# },
|
3664
|
-
# ],
|
3665
|
-
# },
|
3666
|
-
# }
|
3667
|
-
#
|
3668
3106
|
# @!attribute [rw] namespace
|
3669
3107
|
# The namespace of the metric to create the anomaly detection model
|
3670
3108
|
# for.
|
@@ -3752,28 +3190,6 @@ module Aws::CloudWatch
|
|
3752
3190
|
#
|
3753
3191
|
class PutAnomalyDetectorOutput < Aws::EmptyStructure; end
|
3754
3192
|
|
3755
|
-
# @note When making an API call, you may pass PutCompositeAlarmInput
|
3756
|
-
# data as a hash:
|
3757
|
-
#
|
3758
|
-
# {
|
3759
|
-
# actions_enabled: false,
|
3760
|
-
# alarm_actions: ["ResourceName"],
|
3761
|
-
# alarm_description: "AlarmDescription",
|
3762
|
-
# alarm_name: "AlarmName", # required
|
3763
|
-
# alarm_rule: "AlarmRule", # required
|
3764
|
-
# insufficient_data_actions: ["ResourceName"],
|
3765
|
-
# ok_actions: ["ResourceName"],
|
3766
|
-
# tags: [
|
3767
|
-
# {
|
3768
|
-
# key: "TagKey", # required
|
3769
|
-
# value: "TagValue", # required
|
3770
|
-
# },
|
3771
|
-
# ],
|
3772
|
-
# actions_suppressor: "AlarmArn",
|
3773
|
-
# actions_suppressor_wait_period: 1,
|
3774
|
-
# actions_suppressor_extension_period: 1,
|
3775
|
-
# }
|
3776
|
-
#
|
3777
3193
|
# @!attribute [rw] actions_enabled
|
3778
3194
|
# Indicates whether actions should be executed during any changes to
|
3779
3195
|
# the alarm state of the composite alarm. The default is `TRUE`.
|
@@ -3923,14 +3339,6 @@ module Aws::CloudWatch
|
|
3923
3339
|
include Aws::Structure
|
3924
3340
|
end
|
3925
3341
|
|
3926
|
-
# @note When making an API call, you may pass PutDashboardInput
|
3927
|
-
# data as a hash:
|
3928
|
-
#
|
3929
|
-
# {
|
3930
|
-
# dashboard_name: "DashboardName", # required
|
3931
|
-
# dashboard_body: "DashboardBody", # required
|
3932
|
-
# }
|
3933
|
-
#
|
3934
3342
|
# @!attribute [rw] dashboard_name
|
3935
3343
|
# The name of the dashboard. If a dashboard with this name already
|
3936
3344
|
# exists, this call modifies that dashboard, replacing its current
|
@@ -3981,21 +3389,6 @@ module Aws::CloudWatch
|
|
3981
3389
|
include Aws::Structure
|
3982
3390
|
end
|
3983
3391
|
|
3984
|
-
# @note When making an API call, you may pass PutInsightRuleInput
|
3985
|
-
# data as a hash:
|
3986
|
-
#
|
3987
|
-
# {
|
3988
|
-
# rule_name: "InsightRuleName", # required
|
3989
|
-
# rule_state: "InsightRuleState",
|
3990
|
-
# rule_definition: "InsightRuleDefinition", # required
|
3991
|
-
# tags: [
|
3992
|
-
# {
|
3993
|
-
# key: "TagKey", # required
|
3994
|
-
# value: "TagValue", # required
|
3995
|
-
# },
|
3996
|
-
# ],
|
3997
|
-
# }
|
3998
|
-
#
|
3999
3392
|
# @!attribute [rw] rule_name
|
4000
3393
|
# A unique name for the rule.
|
4001
3394
|
# @return [String]
|
@@ -4050,24 +3443,6 @@ module Aws::CloudWatch
|
|
4050
3443
|
#
|
4051
3444
|
class PutInsightRuleOutput < Aws::EmptyStructure; end
|
4052
3445
|
|
4053
|
-
# @note When making an API call, you may pass PutManagedInsightRulesInput
|
4054
|
-
# data as a hash:
|
4055
|
-
#
|
4056
|
-
# {
|
4057
|
-
# managed_rules: [ # required
|
4058
|
-
# {
|
4059
|
-
# template_name: "TemplateName", # required
|
4060
|
-
# resource_arn: "AmazonResourceName", # required
|
4061
|
-
# tags: [
|
4062
|
-
# {
|
4063
|
-
# key: "TagKey", # required
|
4064
|
-
# value: "TagValue", # required
|
4065
|
-
# },
|
4066
|
-
# ],
|
4067
|
-
# },
|
4068
|
-
# ],
|
4069
|
-
# }
|
4070
|
-
#
|
4071
3446
|
# @!attribute [rw] managed_rules
|
4072
3447
|
# A list of `ManagedRules` to enable.
|
4073
3448
|
# @return [Array<Types::ManagedRule>]
|
@@ -4092,68 +3467,6 @@ module Aws::CloudWatch
|
|
4092
3467
|
include Aws::Structure
|
4093
3468
|
end
|
4094
3469
|
|
4095
|
-
# @note When making an API call, you may pass PutMetricAlarmInput
|
4096
|
-
# data as a hash:
|
4097
|
-
#
|
4098
|
-
# {
|
4099
|
-
# alarm_name: "AlarmName", # required
|
4100
|
-
# alarm_description: "AlarmDescription",
|
4101
|
-
# actions_enabled: false,
|
4102
|
-
# ok_actions: ["ResourceName"],
|
4103
|
-
# alarm_actions: ["ResourceName"],
|
4104
|
-
# insufficient_data_actions: ["ResourceName"],
|
4105
|
-
# metric_name: "MetricName",
|
4106
|
-
# namespace: "Namespace",
|
4107
|
-
# statistic: "SampleCount", # accepts SampleCount, Average, Sum, Minimum, Maximum
|
4108
|
-
# extended_statistic: "ExtendedStatistic",
|
4109
|
-
# dimensions: [
|
4110
|
-
# {
|
4111
|
-
# name: "DimensionName", # required
|
4112
|
-
# value: "DimensionValue", # required
|
4113
|
-
# },
|
4114
|
-
# ],
|
4115
|
-
# period: 1,
|
4116
|
-
# unit: "Seconds", # accepts 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
|
4117
|
-
# evaluation_periods: 1, # required
|
4118
|
-
# datapoints_to_alarm: 1,
|
4119
|
-
# threshold: 1.0,
|
4120
|
-
# comparison_operator: "GreaterThanOrEqualToThreshold", # required, accepts GreaterThanOrEqualToThreshold, GreaterThanThreshold, LessThanThreshold, LessThanOrEqualToThreshold, LessThanLowerOrGreaterThanUpperThreshold, LessThanLowerThreshold, GreaterThanUpperThreshold
|
4121
|
-
# treat_missing_data: "TreatMissingData",
|
4122
|
-
# evaluate_low_sample_count_percentile: "EvaluateLowSampleCountPercentile",
|
4123
|
-
# metrics: [
|
4124
|
-
# {
|
4125
|
-
# id: "MetricId", # required
|
4126
|
-
# metric_stat: {
|
4127
|
-
# metric: { # required
|
4128
|
-
# namespace: "Namespace",
|
4129
|
-
# metric_name: "MetricName",
|
4130
|
-
# dimensions: [
|
4131
|
-
# {
|
4132
|
-
# name: "DimensionName", # required
|
4133
|
-
# value: "DimensionValue", # required
|
4134
|
-
# },
|
4135
|
-
# ],
|
4136
|
-
# },
|
4137
|
-
# period: 1, # required
|
4138
|
-
# stat: "Stat", # required
|
4139
|
-
# unit: "Seconds", # accepts 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
|
4140
|
-
# },
|
4141
|
-
# expression: "MetricExpression",
|
4142
|
-
# label: "MetricLabel",
|
4143
|
-
# return_data: false,
|
4144
|
-
# period: 1,
|
4145
|
-
# account_id: "AccountId",
|
4146
|
-
# },
|
4147
|
-
# ],
|
4148
|
-
# tags: [
|
4149
|
-
# {
|
4150
|
-
# key: "TagKey", # required
|
4151
|
-
# value: "TagValue", # required
|
4152
|
-
# },
|
4153
|
-
# ],
|
4154
|
-
# threshold_metric_id: "MetricId",
|
4155
|
-
# }
|
4156
|
-
#
|
4157
3470
|
# @!attribute [rw] alarm_name
|
4158
3471
|
# The name for the alarm. This name must be unique within the Region.
|
4159
3472
|
# @return [String]
|
@@ -4483,36 +3796,6 @@ module Aws::CloudWatch
|
|
4483
3796
|
include Aws::Structure
|
4484
3797
|
end
|
4485
3798
|
|
4486
|
-
# @note When making an API call, you may pass PutMetricDataInput
|
4487
|
-
# data as a hash:
|
4488
|
-
#
|
4489
|
-
# {
|
4490
|
-
# namespace: "Namespace", # required
|
4491
|
-
# metric_data: [ # required
|
4492
|
-
# {
|
4493
|
-
# metric_name: "MetricName", # required
|
4494
|
-
# dimensions: [
|
4495
|
-
# {
|
4496
|
-
# name: "DimensionName", # required
|
4497
|
-
# value: "DimensionValue", # required
|
4498
|
-
# },
|
4499
|
-
# ],
|
4500
|
-
# timestamp: Time.now,
|
4501
|
-
# value: 1.0,
|
4502
|
-
# statistic_values: {
|
4503
|
-
# sample_count: 1.0, # required
|
4504
|
-
# sum: 1.0, # required
|
4505
|
-
# minimum: 1.0, # required
|
4506
|
-
# maximum: 1.0, # required
|
4507
|
-
# },
|
4508
|
-
# values: [1.0],
|
4509
|
-
# counts: [1.0],
|
4510
|
-
# unit: "Seconds", # accepts 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
|
4511
|
-
# storage_resolution: 1,
|
4512
|
-
# },
|
4513
|
-
# ],
|
4514
|
-
# }
|
4515
|
-
#
|
4516
3799
|
# @!attribute [rw] namespace
|
4517
3800
|
# The namespace for the metric data.
|
4518
3801
|
#
|
@@ -4534,43 +3817,6 @@ module Aws::CloudWatch
|
|
4534
3817
|
include Aws::Structure
|
4535
3818
|
end
|
4536
3819
|
|
4537
|
-
# @note When making an API call, you may pass PutMetricStreamInput
|
4538
|
-
# data as a hash:
|
4539
|
-
#
|
4540
|
-
# {
|
4541
|
-
# name: "MetricStreamName", # required
|
4542
|
-
# include_filters: [
|
4543
|
-
# {
|
4544
|
-
# namespace: "Namespace",
|
4545
|
-
# },
|
4546
|
-
# ],
|
4547
|
-
# exclude_filters: [
|
4548
|
-
# {
|
4549
|
-
# namespace: "Namespace",
|
4550
|
-
# },
|
4551
|
-
# ],
|
4552
|
-
# firehose_arn: "AmazonResourceName", # required
|
4553
|
-
# role_arn: "AmazonResourceName", # required
|
4554
|
-
# output_format: "json", # required, accepts json, opentelemetry0.7
|
4555
|
-
# tags: [
|
4556
|
-
# {
|
4557
|
-
# key: "TagKey", # required
|
4558
|
-
# value: "TagValue", # required
|
4559
|
-
# },
|
4560
|
-
# ],
|
4561
|
-
# statistics_configurations: [
|
4562
|
-
# {
|
4563
|
-
# include_metrics: [ # required
|
4564
|
-
# {
|
4565
|
-
# namespace: "Namespace", # required
|
4566
|
-
# metric_name: "MetricName", # required
|
4567
|
-
# },
|
4568
|
-
# ],
|
4569
|
-
# additional_statistics: ["MetricStreamStatistic"], # required
|
4570
|
-
# },
|
4571
|
-
# ],
|
4572
|
-
# }
|
4573
|
-
#
|
4574
3820
|
# @!attribute [rw] name
|
4575
3821
|
# If you are creating a new metric stream, this is the name for the
|
4576
3822
|
# new stream. The name must be different than the names of other
|
@@ -4698,14 +3944,6 @@ module Aws::CloudWatch
|
|
4698
3944
|
# Specifies one range of days or times to exclude from use for training
|
4699
3945
|
# an anomaly detection model.
|
4700
3946
|
#
|
4701
|
-
# @note When making an API call, you may pass Range
|
4702
|
-
# data as a hash:
|
4703
|
-
#
|
4704
|
-
# {
|
4705
|
-
# start_time: Time.now, # required
|
4706
|
-
# end_time: Time.now, # required
|
4707
|
-
# }
|
4708
|
-
#
|
4709
3947
|
# @!attribute [rw] start_time
|
4710
3948
|
# The start time of the range to exclude. The format is
|
4711
3949
|
# `yyyy-MM-dd'T'HH:mm:ss`. For example, `2019-07-01T23:59:59`.
|
@@ -4755,16 +3993,6 @@ module Aws::CloudWatch
|
|
4755
3993
|
include Aws::Structure
|
4756
3994
|
end
|
4757
3995
|
|
4758
|
-
# @note When making an API call, you may pass SetAlarmStateInput
|
4759
|
-
# data as a hash:
|
4760
|
-
#
|
4761
|
-
# {
|
4762
|
-
# alarm_name: "AlarmName", # required
|
4763
|
-
# state_value: "OK", # required, accepts OK, ALARM, INSUFFICIENT_DATA
|
4764
|
-
# state_reason: "StateReason", # required
|
4765
|
-
# state_reason_data: "StateReasonData",
|
4766
|
-
# }
|
4767
|
-
#
|
4768
3996
|
# @!attribute [rw] alarm_name
|
4769
3997
|
# The name of the alarm.
|
4770
3998
|
# @return [String]
|
@@ -4802,21 +4030,6 @@ module Aws::CloudWatch
|
|
4802
4030
|
# Designates the CloudWatch metric and statistic that provides the time
|
4803
4031
|
# series the anomaly detector uses as input.
|
4804
4032
|
#
|
4805
|
-
# @note When making an API call, you may pass SingleMetricAnomalyDetector
|
4806
|
-
# data as a hash:
|
4807
|
-
#
|
4808
|
-
# {
|
4809
|
-
# namespace: "Namespace",
|
4810
|
-
# metric_name: "MetricName",
|
4811
|
-
# dimensions: [
|
4812
|
-
# {
|
4813
|
-
# name: "DimensionName", # required
|
4814
|
-
# value: "DimensionValue", # required
|
4815
|
-
# },
|
4816
|
-
# ],
|
4817
|
-
# stat: "AnomalyDetectorMetricStat",
|
4818
|
-
# }
|
4819
|
-
#
|
4820
4033
|
# @!attribute [rw] namespace
|
4821
4034
|
# The namespace of the metric to create the anomaly detection model
|
4822
4035
|
# for.
|
@@ -4845,13 +4058,6 @@ module Aws::CloudWatch
|
|
4845
4058
|
include Aws::Structure
|
4846
4059
|
end
|
4847
4060
|
|
4848
|
-
# @note When making an API call, you may pass StartMetricStreamsInput
|
4849
|
-
# data as a hash:
|
4850
|
-
#
|
4851
|
-
# {
|
4852
|
-
# names: ["MetricStreamName"], # required
|
4853
|
-
# }
|
4854
|
-
#
|
4855
4061
|
# @!attribute [rw] names
|
4856
4062
|
# The array of the names of metric streams to start streaming.
|
4857
4063
|
#
|
@@ -4875,16 +4081,6 @@ module Aws::CloudWatch
|
|
4875
4081
|
|
4876
4082
|
# Represents a set of statistics that describes a specific metric.
|
4877
4083
|
#
|
4878
|
-
# @note When making an API call, you may pass StatisticSet
|
4879
|
-
# data as a hash:
|
4880
|
-
#
|
4881
|
-
# {
|
4882
|
-
# sample_count: 1.0, # required
|
4883
|
-
# sum: 1.0, # required
|
4884
|
-
# minimum: 1.0, # required
|
4885
|
-
# maximum: 1.0, # required
|
4886
|
-
# }
|
4887
|
-
#
|
4888
4084
|
# @!attribute [rw] sample_count
|
4889
4085
|
# The number of samples used for the statistic set.
|
4890
4086
|
# @return [Float]
|
@@ -4912,13 +4108,6 @@ module Aws::CloudWatch
|
|
4912
4108
|
include Aws::Structure
|
4913
4109
|
end
|
4914
4110
|
|
4915
|
-
# @note When making an API call, you may pass StopMetricStreamsInput
|
4916
|
-
# data as a hash:
|
4917
|
-
#
|
4918
|
-
# {
|
4919
|
-
# names: ["MetricStreamName"], # required
|
4920
|
-
# }
|
4921
|
-
#
|
4922
4111
|
# @!attribute [rw] names
|
4923
4112
|
# The array of the names of metric streams to stop streaming.
|
4924
4113
|
#
|
@@ -4942,14 +4131,6 @@ module Aws::CloudWatch
|
|
4942
4131
|
|
4943
4132
|
# A key-value pair associated with a CloudWatch resource.
|
4944
4133
|
#
|
4945
|
-
# @note When making an API call, you may pass Tag
|
4946
|
-
# data as a hash:
|
4947
|
-
#
|
4948
|
-
# {
|
4949
|
-
# key: "TagKey", # required
|
4950
|
-
# value: "TagValue", # required
|
4951
|
-
# }
|
4952
|
-
#
|
4953
4134
|
# @!attribute [rw] key
|
4954
4135
|
# A string that you can use to assign a value. The combination of tag
|
4955
4136
|
# keys and values can help you organize and categorize your resources.
|
@@ -4968,19 +4149,6 @@ module Aws::CloudWatch
|
|
4968
4149
|
include Aws::Structure
|
4969
4150
|
end
|
4970
4151
|
|
4971
|
-
# @note When making an API call, you may pass TagResourceInput
|
4972
|
-
# data as a hash:
|
4973
|
-
#
|
4974
|
-
# {
|
4975
|
-
# resource_arn: "AmazonResourceName", # required
|
4976
|
-
# tags: [ # required
|
4977
|
-
# {
|
4978
|
-
# key: "TagKey", # required
|
4979
|
-
# value: "TagValue", # required
|
4980
|
-
# },
|
4981
|
-
# ],
|
4982
|
-
# }
|
4983
|
-
#
|
4984
4152
|
# @!attribute [rw] resource_arn
|
4985
4153
|
# The ARN of the CloudWatch resource that you're adding tags to.
|
4986
4154
|
#
|
@@ -5017,14 +4185,6 @@ module Aws::CloudWatch
|
|
5017
4185
|
#
|
5018
4186
|
class TagResourceOutput < Aws::EmptyStructure; end
|
5019
4187
|
|
5020
|
-
# @note When making an API call, you may pass UntagResourceInput
|
5021
|
-
# data as a hash:
|
5022
|
-
#
|
5023
|
-
# {
|
5024
|
-
# resource_arn: "AmazonResourceName", # required
|
5025
|
-
# tag_keys: ["TagKey"], # required
|
5026
|
-
# }
|
5027
|
-
#
|
5028
4188
|
# @!attribute [rw] resource_arn
|
5029
4189
|
# The ARN of the CloudWatch resource that you're removing tags from.
|
5030
4190
|
#
|