aws-sdk-cloudwatch 1.68.0 → 1.70.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.
@@ -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]
@@ -1818,8 +1522,8 @@ module Aws::CloudWatch
1818
1522
  # @return [Array<Types::MetricStreamFilter>]
1819
1523
  #
1820
1524
  # @!attribute [rw] firehose_arn
1821
- # The ARN of the Amazon Kinesis Firehose delivery stream that is used
1822
- # by this metric stream.
1525
+ # The ARN of the Amazon Kinesis Data Firehose delivery stream that is
1526
+ # used by this metric stream.
1823
1527
  # @return [String]
1824
1528
  #
1825
1529
  # @!attribute [rw] role_arn
@@ -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,22 +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
- # }
2449
- #
2450
2098
  # @!attribute [rw] namespace
2451
2099
  # The metric namespace to filter against. Only the namespace that
2452
2100
  # matches exactly will be returned.
@@ -2478,6 +2126,20 @@ module Aws::CloudWatch
2478
2126
  # than the specified time interval.
2479
2127
  # @return [String]
2480
2128
  #
2129
+ # @!attribute [rw] include_linked_accounts
2130
+ # If you are using this operation in a monitoring account, specify
2131
+ # `true` to include metrics from source accounts in the returned data.
2132
+ #
2133
+ # The default is `false`.
2134
+ # @return [Boolean]
2135
+ #
2136
+ # @!attribute [rw] owning_account
2137
+ # When you use this operation in a monitoring account, use this field
2138
+ # to return metrics only from one source account. To do so, specify
2139
+ # that source account ID in this field, and also specify `true` for
2140
+ # `IncludeLinkedAccounts`.
2141
+ # @return [String]
2142
+ #
2481
2143
  # @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/ListMetricsInput AWS API Documentation
2482
2144
  #
2483
2145
  class ListMetricsInput < Struct.new(
@@ -2485,7 +2147,9 @@ module Aws::CloudWatch
2485
2147
  :metric_name,
2486
2148
  :dimensions,
2487
2149
  :next_token,
2488
- :recently_active)
2150
+ :recently_active,
2151
+ :include_linked_accounts,
2152
+ :owning_account)
2489
2153
  SENSITIVE = []
2490
2154
  include Aws::Structure
2491
2155
  end
@@ -2499,22 +2163,25 @@ module Aws::CloudWatch
2499
2163
  # results.
2500
2164
  # @return [String]
2501
2165
  #
2166
+ # @!attribute [rw] owning_accounts
2167
+ # If you are using this operation in a monitoring account, this array
2168
+ # contains the account IDs of the source accounts where the metrics in
2169
+ # the returned data are from.
2170
+ #
2171
+ # This field is a 1:1 mapping between each metric that is returned and
2172
+ # the ID of the owning account.
2173
+ # @return [Array<String>]
2174
+ #
2502
2175
  # @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/ListMetricsOutput AWS API Documentation
2503
2176
  #
2504
2177
  class ListMetricsOutput < Struct.new(
2505
2178
  :metrics,
2506
- :next_token)
2179
+ :next_token,
2180
+ :owning_accounts)
2507
2181
  SENSITIVE = []
2508
2182
  include Aws::Structure
2509
2183
  end
2510
2184
 
2511
- # @note When making an API call, you may pass ListTagsForResourceInput
2512
- # data as a hash:
2513
- #
2514
- # {
2515
- # resource_arn: "AmazonResourceName", # required
2516
- # }
2517
- #
2518
2185
  # @!attribute [rw] resource_arn
2519
2186
  # The ARN of the CloudWatch resource that you want to view tags for.
2520
2187
  #
@@ -2558,20 +2225,6 @@ module Aws::CloudWatch
2558
2225
  # Contains the information that's required to enable a managed
2559
2226
  # Contributor Insights rule for an Amazon Web Services resource.
2560
2227
  #
2561
- # @note When making an API call, you may pass ManagedRule
2562
- # data as a hash:
2563
- #
2564
- # {
2565
- # template_name: "TemplateName", # required
2566
- # resource_arn: "AmazonResourceName", # required
2567
- # tags: [
2568
- # {
2569
- # key: "TagKey", # required
2570
- # value: "TagValue", # required
2571
- # },
2572
- # ],
2573
- # }
2574
- #
2575
2228
  # @!attribute [rw] template_name
2576
2229
  # The template name for the managed Contributor Insights rule, as
2577
2230
  # returned by `ListManagedInsightRules`.
@@ -2682,20 +2335,6 @@ module Aws::CloudWatch
2682
2335
 
2683
2336
  # Represents a specific metric.
2684
2337
  #
2685
- # @note When making an API call, you may pass Metric
2686
- # data as a hash:
2687
- #
2688
- # {
2689
- # namespace: "Namespace",
2690
- # metric_name: "MetricName",
2691
- # dimensions: [
2692
- # {
2693
- # name: "DimensionName", # required
2694
- # value: "DimensionValue", # required
2695
- # },
2696
- # ],
2697
- # }
2698
- #
2699
2338
  # @!attribute [rw] namespace
2700
2339
  # The namespace of the metric.
2701
2340
  # @return [String]
@@ -2772,7 +2411,8 @@ module Aws::CloudWatch
2772
2411
  # @return [String]
2773
2412
  #
2774
2413
  # @!attribute [rw] state_updated_timestamp
2775
- # The time stamp of the last update to the alarm state.
2414
+ # The time stamp of the last update to the value of either the
2415
+ # `StateValue` or `EvaluationState` parameters.
2776
2416
  # @return [Time]
2777
2417
  #
2778
2418
  # @!attribute [rw] metric_name
@@ -2862,6 +2502,22 @@ module Aws::CloudWatch
2862
2502
  # alarm.
2863
2503
  # @return [String]
2864
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
+ #
2865
2521
  # @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/MetricAlarm AWS API Documentation
2866
2522
  #
2867
2523
  class MetricAlarm < Struct.new(
@@ -2891,7 +2547,9 @@ module Aws::CloudWatch
2891
2547
  :treat_missing_data,
2892
2548
  :evaluate_low_sample_count_percentile,
2893
2549
  :metrics,
2894
- :threshold_metric_id)
2550
+ :threshold_metric_id,
2551
+ :evaluation_state,
2552
+ :state_transitioned_timestamp)
2895
2553
  SENSITIVE = []
2896
2554
  include Aws::Structure
2897
2555
  end
@@ -2914,7 +2572,7 @@ module Aws::CloudWatch
2914
2572
  # structures can include as many as 10 structures that contain a
2915
2573
  # `MetricStat` parameter to retrieve a metric, and as many as 10
2916
2574
  # structures that contain the `Expression` parameter to perform a math
2917
- # expression. Of those `Expression` structures, one must have `True` as
2575
+ # expression. Of those `Expression` structures, one must have `true` as
2918
2576
  # the value for `ReturnData`. The result of this expression is the value
2919
2577
  # the alarm watches.
2920
2578
  #
@@ -2931,33 +2589,6 @@ module Aws::CloudWatch
2931
2589
  #
2932
2590
  # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/using-metric-math.html#metric-math-syntax
2933
2591
  #
2934
- # @note When making an API call, you may pass MetricDataQuery
2935
- # data as a hash:
2936
- #
2937
- # {
2938
- # id: "MetricId", # required
2939
- # metric_stat: {
2940
- # metric: { # required
2941
- # namespace: "Namespace",
2942
- # metric_name: "MetricName",
2943
- # dimensions: [
2944
- # {
2945
- # name: "DimensionName", # required
2946
- # value: "DimensionValue", # required
2947
- # },
2948
- # ],
2949
- # },
2950
- # period: 1, # required
2951
- # stat: "Stat", # required
2952
- # 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
2953
- # },
2954
- # expression: "MetricExpression",
2955
- # label: "MetricLabel",
2956
- # return_data: false,
2957
- # period: 1,
2958
- # account_id: "AccountId",
2959
- # }
2960
- #
2961
2592
  # @!attribute [rw] id
2962
2593
  # A short name used to tie this object to the results in the response.
2963
2594
  # This name must be unique within a single call to `GetMetricData`. If
@@ -3017,10 +2648,10 @@ module Aws::CloudWatch
3017
2648
  # When used in `GetMetricData`, this option indicates whether to
3018
2649
  # return the timestamps and raw data values of this metric. If you are
3019
2650
  # performing this call just to do math expressions and do not also
3020
- # need the raw data returned, you can specify `False`. If you omit
3021
- # this, the default of `True` is used.
2651
+ # need the raw data returned, you can specify `false`. If you omit
2652
+ # this, the default of `true` is used.
3022
2653
  #
3023
- # When used in `PutMetricAlarm`, specify `True` for the one expression
2654
+ # When used in `PutMetricAlarm`, specify `true` for the one expression
3024
2655
  # result to use as the alarm. For all other metrics and expressions in
3025
2656
  # the same `PutMetricAlarm` operation, specify `ReturnData` as False.
3026
2657
  # @return [Boolean]
@@ -3037,11 +2668,15 @@ module Aws::CloudWatch
3037
2668
  # @return [Integer]
3038
2669
  #
3039
2670
  # @!attribute [rw] account_id
3040
- # The ID of the account where the metrics are located, if this is a
3041
- # cross-account alarm.
2671
+ # The ID of the account where the metrics are located.
3042
2672
  #
3043
- # Use this field only for `PutMetricAlarm` operations. It is not used
3044
- # in `GetMetricData` operations.
2673
+ # If you are performing a `GetMetricData` operation in a monitoring
2674
+ # account, use this to specify which account to retrieve this metric
2675
+ # from.
2676
+ #
2677
+ # If you are performing a `PutMetricAlarm` operation, use this to
2678
+ # specify which account contains the metric that the alarm is
2679
+ # watching.
3045
2680
  # @return [String]
3046
2681
  #
3047
2682
  # @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/MetricDataQuery AWS API Documentation
@@ -3114,31 +2749,6 @@ module Aws::CloudWatch
3114
2749
  # Encapsulates the information sent to either create a metric or add new
3115
2750
  # values to be aggregated into an existing metric.
3116
2751
  #
3117
- # @note When making an API call, you may pass MetricDatum
3118
- # data as a hash:
3119
- #
3120
- # {
3121
- # metric_name: "MetricName", # required
3122
- # dimensions: [
3123
- # {
3124
- # name: "DimensionName", # required
3125
- # value: "DimensionValue", # required
3126
- # },
3127
- # ],
3128
- # timestamp: Time.now,
3129
- # value: 1.0,
3130
- # statistic_values: {
3131
- # sample_count: 1.0, # required
3132
- # sum: 1.0, # required
3133
- # minimum: 1.0, # required
3134
- # maximum: 1.0, # required
3135
- # },
3136
- # values: [1.0],
3137
- # counts: [1.0],
3138
- # 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
3139
- # storage_resolution: 1,
3140
- # }
3141
- #
3142
2752
  # @!attribute [rw] metric_name
3143
2753
  # The name of the metric.
3144
2754
  # @return [String]
@@ -3235,46 +2845,15 @@ module Aws::CloudWatch
3235
2845
  # the anomaly detector uses as input. The designated math expression
3236
2846
  # must return a single time series.
3237
2847
  #
3238
- # @note When making an API call, you may pass MetricMathAnomalyDetector
3239
- # data as a hash:
3240
- #
3241
- # {
3242
- # metric_data_queries: [
3243
- # {
3244
- # id: "MetricId", # required
3245
- # metric_stat: {
3246
- # metric: { # required
3247
- # namespace: "Namespace",
3248
- # metric_name: "MetricName",
3249
- # dimensions: [
3250
- # {
3251
- # name: "DimensionName", # required
3252
- # value: "DimensionValue", # required
3253
- # },
3254
- # ],
3255
- # },
3256
- # period: 1, # required
3257
- # stat: "Stat", # required
3258
- # 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
3259
- # },
3260
- # expression: "MetricExpression",
3261
- # label: "MetricLabel",
3262
- # return_data: false,
3263
- # period: 1,
3264
- # account_id: "AccountId",
3265
- # },
3266
- # ],
3267
- # }
3268
- #
3269
2848
  # @!attribute [rw] metric_data_queries
3270
2849
  # An array of metric data query structures that enables you to create
3271
2850
  # an anomaly detector based on the result of a metric math expression.
3272
2851
  # Each item in `MetricDataQueries` gets a metric or performs a math
3273
2852
  # expression. One item in `MetricDataQueries` is the expression that
3274
2853
  # provides the time series that the anomaly detector uses as input.
3275
- # Designate the expression by setting `ReturnData` to `True` for this
2854
+ # Designate the expression by setting `ReturnData` to `true` for this
3276
2855
  # object in the array. For all other expressions and metrics, set
3277
- # `ReturnData` to `False`. The designated expression must return a
2856
+ # `ReturnData` to `false`. The designated expression must return a
3278
2857
  # single time series.
3279
2858
  # @return [Array<Types::MetricDataQuery>]
3280
2859
  #
@@ -3289,25 +2868,6 @@ module Aws::CloudWatch
3289
2868
  # This structure defines the metric to be returned, along with the
3290
2869
  # statistics, period, and units.
3291
2870
  #
3292
- # @note When making an API call, you may pass MetricStat
3293
- # data as a hash:
3294
- #
3295
- # {
3296
- # metric: { # required
3297
- # namespace: "Namespace",
3298
- # metric_name: "MetricName",
3299
- # dimensions: [
3300
- # {
3301
- # name: "DimensionName", # required
3302
- # value: "DimensionValue", # required
3303
- # },
3304
- # ],
3305
- # },
3306
- # period: 1, # required
3307
- # stat: "Stat", # required
3308
- # 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
3309
- # }
3310
- #
3311
2871
  # @!attribute [rw] metric
3312
2872
  # The metric to return, including the metric name, namespace, and
3313
2873
  # dimensions.
@@ -3418,13 +2978,6 @@ module Aws::CloudWatch
3418
2978
  # This structure contains the name of one of the metric namespaces that
3419
2979
  # is listed in a filter of a metric stream.
3420
2980
  #
3421
- # @note When making an API call, you may pass MetricStreamFilter
3422
- # data as a hash:
3423
- #
3424
- # {
3425
- # namespace: "Namespace",
3426
- # }
3427
- #
3428
2981
  # @!attribute [rw] namespace
3429
2982
  # The name of the metric namespace in the filter.
3430
2983
  # @return [String]
@@ -3447,19 +3000,6 @@ module Aws::CloudWatch
3447
3000
  #
3448
3001
  # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Statistics-definitions.html.html
3449
3002
  #
3450
- # @note When making an API call, you may pass MetricStreamStatisticsConfiguration
3451
- # data as a hash:
3452
- #
3453
- # {
3454
- # include_metrics: [ # required
3455
- # {
3456
- # namespace: "Namespace", # required
3457
- # metric_name: "MetricName", # required
3458
- # },
3459
- # ],
3460
- # additional_statistics: ["MetricStreamStatistic"], # required
3461
- # }
3462
- #
3463
3003
  # @!attribute [rw] include_metrics
3464
3004
  # An array of metric name and namespace pairs that stream the
3465
3005
  # additional statistics listed in the value of the
@@ -3502,14 +3042,6 @@ module Aws::CloudWatch
3502
3042
  # This object contains the information for one metric that is to be
3503
3043
  # streamed with additional statistics.
3504
3044
  #
3505
- # @note When making an API call, you may pass MetricStreamStatisticsMetric
3506
- # data as a hash:
3507
- #
3508
- # {
3509
- # namespace: "Namespace", # required
3510
- # metric_name: "MetricName", # required
3511
- # }
3512
- #
3513
3045
  # @!attribute [rw] namespace
3514
3046
  # The namespace of the metric.
3515
3047
  # @return [String]
@@ -3571,68 +3103,6 @@ module Aws::CloudWatch
3571
3103
  include Aws::Structure
3572
3104
  end
3573
3105
 
3574
- # @note When making an API call, you may pass PutAnomalyDetectorInput
3575
- # data as a hash:
3576
- #
3577
- # {
3578
- # namespace: "Namespace",
3579
- # metric_name: "MetricName",
3580
- # dimensions: [
3581
- # {
3582
- # name: "DimensionName", # required
3583
- # value: "DimensionValue", # required
3584
- # },
3585
- # ],
3586
- # stat: "AnomalyDetectorMetricStat",
3587
- # configuration: {
3588
- # excluded_time_ranges: [
3589
- # {
3590
- # start_time: Time.now, # required
3591
- # end_time: Time.now, # required
3592
- # },
3593
- # ],
3594
- # metric_timezone: "AnomalyDetectorMetricTimezone",
3595
- # },
3596
- # single_metric_anomaly_detector: {
3597
- # namespace: "Namespace",
3598
- # metric_name: "MetricName",
3599
- # dimensions: [
3600
- # {
3601
- # name: "DimensionName", # required
3602
- # value: "DimensionValue", # required
3603
- # },
3604
- # ],
3605
- # stat: "AnomalyDetectorMetricStat",
3606
- # },
3607
- # metric_math_anomaly_detector: {
3608
- # metric_data_queries: [
3609
- # {
3610
- # id: "MetricId", # required
3611
- # metric_stat: {
3612
- # metric: { # required
3613
- # namespace: "Namespace",
3614
- # metric_name: "MetricName",
3615
- # dimensions: [
3616
- # {
3617
- # name: "DimensionName", # required
3618
- # value: "DimensionValue", # required
3619
- # },
3620
- # ],
3621
- # },
3622
- # period: 1, # required
3623
- # stat: "Stat", # required
3624
- # 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
3625
- # },
3626
- # expression: "MetricExpression",
3627
- # label: "MetricLabel",
3628
- # return_data: false,
3629
- # period: 1,
3630
- # account_id: "AccountId",
3631
- # },
3632
- # ],
3633
- # },
3634
- # }
3635
- #
3636
3106
  # @!attribute [rw] namespace
3637
3107
  # The namespace of the metric to create the anomaly detection model
3638
3108
  # for.
@@ -3720,28 +3190,6 @@ module Aws::CloudWatch
3720
3190
  #
3721
3191
  class PutAnomalyDetectorOutput < Aws::EmptyStructure; end
3722
3192
 
3723
- # @note When making an API call, you may pass PutCompositeAlarmInput
3724
- # data as a hash:
3725
- #
3726
- # {
3727
- # actions_enabled: false,
3728
- # alarm_actions: ["ResourceName"],
3729
- # alarm_description: "AlarmDescription",
3730
- # alarm_name: "AlarmName", # required
3731
- # alarm_rule: "AlarmRule", # required
3732
- # insufficient_data_actions: ["ResourceName"],
3733
- # ok_actions: ["ResourceName"],
3734
- # tags: [
3735
- # {
3736
- # key: "TagKey", # required
3737
- # value: "TagValue", # required
3738
- # },
3739
- # ],
3740
- # actions_suppressor: "AlarmArn",
3741
- # actions_suppressor_wait_period: 1,
3742
- # actions_suppressor_extension_period: 1,
3743
- # }
3744
- #
3745
3193
  # @!attribute [rw] actions_enabled
3746
3194
  # Indicates whether actions should be executed during any changes to
3747
3195
  # the alarm state of the composite alarm. The default is `TRUE`.
@@ -3891,14 +3339,6 @@ module Aws::CloudWatch
3891
3339
  include Aws::Structure
3892
3340
  end
3893
3341
 
3894
- # @note When making an API call, you may pass PutDashboardInput
3895
- # data as a hash:
3896
- #
3897
- # {
3898
- # dashboard_name: "DashboardName", # required
3899
- # dashboard_body: "DashboardBody", # required
3900
- # }
3901
- #
3902
3342
  # @!attribute [rw] dashboard_name
3903
3343
  # The name of the dashboard. If a dashboard with this name already
3904
3344
  # exists, this call modifies that dashboard, replacing its current
@@ -3949,21 +3389,6 @@ module Aws::CloudWatch
3949
3389
  include Aws::Structure
3950
3390
  end
3951
3391
 
3952
- # @note When making an API call, you may pass PutInsightRuleInput
3953
- # data as a hash:
3954
- #
3955
- # {
3956
- # rule_name: "InsightRuleName", # required
3957
- # rule_state: "InsightRuleState",
3958
- # rule_definition: "InsightRuleDefinition", # required
3959
- # tags: [
3960
- # {
3961
- # key: "TagKey", # required
3962
- # value: "TagValue", # required
3963
- # },
3964
- # ],
3965
- # }
3966
- #
3967
3392
  # @!attribute [rw] rule_name
3968
3393
  # A unique name for the rule.
3969
3394
  # @return [String]
@@ -4018,24 +3443,6 @@ module Aws::CloudWatch
4018
3443
  #
4019
3444
  class PutInsightRuleOutput < Aws::EmptyStructure; end
4020
3445
 
4021
- # @note When making an API call, you may pass PutManagedInsightRulesInput
4022
- # data as a hash:
4023
- #
4024
- # {
4025
- # managed_rules: [ # required
4026
- # {
4027
- # template_name: "TemplateName", # required
4028
- # resource_arn: "AmazonResourceName", # required
4029
- # tags: [
4030
- # {
4031
- # key: "TagKey", # required
4032
- # value: "TagValue", # required
4033
- # },
4034
- # ],
4035
- # },
4036
- # ],
4037
- # }
4038
- #
4039
3446
  # @!attribute [rw] managed_rules
4040
3447
  # A list of `ManagedRules` to enable.
4041
3448
  # @return [Array<Types::ManagedRule>]
@@ -4060,68 +3467,6 @@ module Aws::CloudWatch
4060
3467
  include Aws::Structure
4061
3468
  end
4062
3469
 
4063
- # @note When making an API call, you may pass PutMetricAlarmInput
4064
- # data as a hash:
4065
- #
4066
- # {
4067
- # alarm_name: "AlarmName", # required
4068
- # alarm_description: "AlarmDescription",
4069
- # actions_enabled: false,
4070
- # ok_actions: ["ResourceName"],
4071
- # alarm_actions: ["ResourceName"],
4072
- # insufficient_data_actions: ["ResourceName"],
4073
- # metric_name: "MetricName",
4074
- # namespace: "Namespace",
4075
- # statistic: "SampleCount", # accepts SampleCount, Average, Sum, Minimum, Maximum
4076
- # extended_statistic: "ExtendedStatistic",
4077
- # dimensions: [
4078
- # {
4079
- # name: "DimensionName", # required
4080
- # value: "DimensionValue", # required
4081
- # },
4082
- # ],
4083
- # period: 1,
4084
- # 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
4085
- # evaluation_periods: 1, # required
4086
- # datapoints_to_alarm: 1,
4087
- # threshold: 1.0,
4088
- # comparison_operator: "GreaterThanOrEqualToThreshold", # required, accepts GreaterThanOrEqualToThreshold, GreaterThanThreshold, LessThanThreshold, LessThanOrEqualToThreshold, LessThanLowerOrGreaterThanUpperThreshold, LessThanLowerThreshold, GreaterThanUpperThreshold
4089
- # treat_missing_data: "TreatMissingData",
4090
- # evaluate_low_sample_count_percentile: "EvaluateLowSampleCountPercentile",
4091
- # metrics: [
4092
- # {
4093
- # id: "MetricId", # required
4094
- # metric_stat: {
4095
- # metric: { # required
4096
- # namespace: "Namespace",
4097
- # metric_name: "MetricName",
4098
- # dimensions: [
4099
- # {
4100
- # name: "DimensionName", # required
4101
- # value: "DimensionValue", # required
4102
- # },
4103
- # ],
4104
- # },
4105
- # period: 1, # required
4106
- # stat: "Stat", # required
4107
- # 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
4108
- # },
4109
- # expression: "MetricExpression",
4110
- # label: "MetricLabel",
4111
- # return_data: false,
4112
- # period: 1,
4113
- # account_id: "AccountId",
4114
- # },
4115
- # ],
4116
- # tags: [
4117
- # {
4118
- # key: "TagKey", # required
4119
- # value: "TagValue", # required
4120
- # },
4121
- # ],
4122
- # threshold_metric_id: "MetricId",
4123
- # }
4124
- #
4125
3470
  # @!attribute [rw] alarm_name
4126
3471
  # The name for the alarm. This name must be unique within the Region.
4127
3472
  # @return [String]
@@ -4451,36 +3796,6 @@ module Aws::CloudWatch
4451
3796
  include Aws::Structure
4452
3797
  end
4453
3798
 
4454
- # @note When making an API call, you may pass PutMetricDataInput
4455
- # data as a hash:
4456
- #
4457
- # {
4458
- # namespace: "Namespace", # required
4459
- # metric_data: [ # required
4460
- # {
4461
- # metric_name: "MetricName", # required
4462
- # dimensions: [
4463
- # {
4464
- # name: "DimensionName", # required
4465
- # value: "DimensionValue", # required
4466
- # },
4467
- # ],
4468
- # timestamp: Time.now,
4469
- # value: 1.0,
4470
- # statistic_values: {
4471
- # sample_count: 1.0, # required
4472
- # sum: 1.0, # required
4473
- # minimum: 1.0, # required
4474
- # maximum: 1.0, # required
4475
- # },
4476
- # values: [1.0],
4477
- # counts: [1.0],
4478
- # 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
4479
- # storage_resolution: 1,
4480
- # },
4481
- # ],
4482
- # }
4483
- #
4484
3799
  # @!attribute [rw] namespace
4485
3800
  # The namespace for the metric data.
4486
3801
  #
@@ -4502,43 +3817,6 @@ module Aws::CloudWatch
4502
3817
  include Aws::Structure
4503
3818
  end
4504
3819
 
4505
- # @note When making an API call, you may pass PutMetricStreamInput
4506
- # data as a hash:
4507
- #
4508
- # {
4509
- # name: "MetricStreamName", # required
4510
- # include_filters: [
4511
- # {
4512
- # namespace: "Namespace",
4513
- # },
4514
- # ],
4515
- # exclude_filters: [
4516
- # {
4517
- # namespace: "Namespace",
4518
- # },
4519
- # ],
4520
- # firehose_arn: "AmazonResourceName", # required
4521
- # role_arn: "AmazonResourceName", # required
4522
- # output_format: "json", # required, accepts json, opentelemetry0.7
4523
- # tags: [
4524
- # {
4525
- # key: "TagKey", # required
4526
- # value: "TagValue", # required
4527
- # },
4528
- # ],
4529
- # statistics_configurations: [
4530
- # {
4531
- # include_metrics: [ # required
4532
- # {
4533
- # namespace: "Namespace", # required
4534
- # metric_name: "MetricName", # required
4535
- # },
4536
- # ],
4537
- # additional_statistics: ["MetricStreamStatistic"], # required
4538
- # },
4539
- # ],
4540
- # }
4541
- #
4542
3820
  # @!attribute [rw] name
4543
3821
  # If you are creating a new metric stream, this is the name for the
4544
3822
  # new stream. The name must be different than the names of other
@@ -4567,17 +3845,17 @@ module Aws::CloudWatch
4567
3845
  # @return [Array<Types::MetricStreamFilter>]
4568
3846
  #
4569
3847
  # @!attribute [rw] firehose_arn
4570
- # The ARN of the Amazon Kinesis Firehose delivery stream to use for
4571
- # this metric stream. This Amazon Kinesis Firehose delivery stream
4572
- # must already exist and must be in the same account as the metric
4573
- # stream.
3848
+ # The ARN of the Amazon Kinesis Data Firehose delivery stream to use
3849
+ # for this metric stream. This Amazon Kinesis Data Firehose delivery
3850
+ # stream must already exist and must be in the same account as the
3851
+ # metric stream.
4574
3852
  # @return [String]
4575
3853
  #
4576
3854
  # @!attribute [rw] role_arn
4577
3855
  # The ARN of an IAM role that this metric stream will use to access
4578
- # Amazon Kinesis Firehose resources. This IAM role must already exist
4579
- # and must be in the same account as the metric stream. This IAM role
4580
- # must include the following permissions:
3856
+ # Amazon Kinesis Data Firehose resources. This IAM role must already
3857
+ # exist and must be in the same account as the metric stream. This IAM
3858
+ # role must include the following permissions:
4581
3859
  #
4582
3860
  # * firehose:PutRecord
4583
3861
  #
@@ -4629,7 +3907,7 @@ module Aws::CloudWatch
4629
3907
  # additional statistic that is supported by CloudWatch, listed in [
4630
3908
  # CloudWatch statistics definitions][1]. If the `OutputFormat` is
4631
3909
  # `opentelemetry0.7`, you can stream percentile statistics such as
4632
- # p95, p99.9 and so on.
3910
+ # p95, p99.9, and so on.
4633
3911
  #
4634
3912
  #
4635
3913
  #
@@ -4666,14 +3944,6 @@ module Aws::CloudWatch
4666
3944
  # Specifies one range of days or times to exclude from use for training
4667
3945
  # an anomaly detection model.
4668
3946
  #
4669
- # @note When making an API call, you may pass Range
4670
- # data as a hash:
4671
- #
4672
- # {
4673
- # start_time: Time.now, # required
4674
- # end_time: Time.now, # required
4675
- # }
4676
- #
4677
3947
  # @!attribute [rw] start_time
4678
3948
  # The start time of the range to exclude. The format is
4679
3949
  # `yyyy-MM-dd'T'HH:mm:ss`. For example, `2019-07-01T23:59:59`.
@@ -4723,16 +3993,6 @@ module Aws::CloudWatch
4723
3993
  include Aws::Structure
4724
3994
  end
4725
3995
 
4726
- # @note When making an API call, you may pass SetAlarmStateInput
4727
- # data as a hash:
4728
- #
4729
- # {
4730
- # alarm_name: "AlarmName", # required
4731
- # state_value: "OK", # required, accepts OK, ALARM, INSUFFICIENT_DATA
4732
- # state_reason: "StateReason", # required
4733
- # state_reason_data: "StateReasonData",
4734
- # }
4735
- #
4736
3996
  # @!attribute [rw] alarm_name
4737
3997
  # The name of the alarm.
4738
3998
  # @return [String]
@@ -4770,21 +4030,6 @@ module Aws::CloudWatch
4770
4030
  # Designates the CloudWatch metric and statistic that provides the time
4771
4031
  # series the anomaly detector uses as input.
4772
4032
  #
4773
- # @note When making an API call, you may pass SingleMetricAnomalyDetector
4774
- # data as a hash:
4775
- #
4776
- # {
4777
- # namespace: "Namespace",
4778
- # metric_name: "MetricName",
4779
- # dimensions: [
4780
- # {
4781
- # name: "DimensionName", # required
4782
- # value: "DimensionValue", # required
4783
- # },
4784
- # ],
4785
- # stat: "AnomalyDetectorMetricStat",
4786
- # }
4787
- #
4788
4033
  # @!attribute [rw] namespace
4789
4034
  # The namespace of the metric to create the anomaly detection model
4790
4035
  # for.
@@ -4813,13 +4058,6 @@ module Aws::CloudWatch
4813
4058
  include Aws::Structure
4814
4059
  end
4815
4060
 
4816
- # @note When making an API call, you may pass StartMetricStreamsInput
4817
- # data as a hash:
4818
- #
4819
- # {
4820
- # names: ["MetricStreamName"], # required
4821
- # }
4822
- #
4823
4061
  # @!attribute [rw] names
4824
4062
  # The array of the names of metric streams to start streaming.
4825
4063
  #
@@ -4843,16 +4081,6 @@ module Aws::CloudWatch
4843
4081
 
4844
4082
  # Represents a set of statistics that describes a specific metric.
4845
4083
  #
4846
- # @note When making an API call, you may pass StatisticSet
4847
- # data as a hash:
4848
- #
4849
- # {
4850
- # sample_count: 1.0, # required
4851
- # sum: 1.0, # required
4852
- # minimum: 1.0, # required
4853
- # maximum: 1.0, # required
4854
- # }
4855
- #
4856
4084
  # @!attribute [rw] sample_count
4857
4085
  # The number of samples used for the statistic set.
4858
4086
  # @return [Float]
@@ -4880,13 +4108,6 @@ module Aws::CloudWatch
4880
4108
  include Aws::Structure
4881
4109
  end
4882
4110
 
4883
- # @note When making an API call, you may pass StopMetricStreamsInput
4884
- # data as a hash:
4885
- #
4886
- # {
4887
- # names: ["MetricStreamName"], # required
4888
- # }
4889
- #
4890
4111
  # @!attribute [rw] names
4891
4112
  # The array of the names of metric streams to stop streaming.
4892
4113
  #
@@ -4910,14 +4131,6 @@ module Aws::CloudWatch
4910
4131
 
4911
4132
  # A key-value pair associated with a CloudWatch resource.
4912
4133
  #
4913
- # @note When making an API call, you may pass Tag
4914
- # data as a hash:
4915
- #
4916
- # {
4917
- # key: "TagKey", # required
4918
- # value: "TagValue", # required
4919
- # }
4920
- #
4921
4134
  # @!attribute [rw] key
4922
4135
  # A string that you can use to assign a value. The combination of tag
4923
4136
  # keys and values can help you organize and categorize your resources.
@@ -4936,19 +4149,6 @@ module Aws::CloudWatch
4936
4149
  include Aws::Structure
4937
4150
  end
4938
4151
 
4939
- # @note When making an API call, you may pass TagResourceInput
4940
- # data as a hash:
4941
- #
4942
- # {
4943
- # resource_arn: "AmazonResourceName", # required
4944
- # tags: [ # required
4945
- # {
4946
- # key: "TagKey", # required
4947
- # value: "TagValue", # required
4948
- # },
4949
- # ],
4950
- # }
4951
- #
4952
4152
  # @!attribute [rw] resource_arn
4953
4153
  # The ARN of the CloudWatch resource that you're adding tags to.
4954
4154
  #
@@ -4985,14 +4185,6 @@ module Aws::CloudWatch
4985
4185
  #
4986
4186
  class TagResourceOutput < Aws::EmptyStructure; end
4987
4187
 
4988
- # @note When making an API call, you may pass UntagResourceInput
4989
- # data as a hash:
4990
- #
4991
- # {
4992
- # resource_arn: "AmazonResourceName", # required
4993
- # tag_keys: ["TagKey"], # required
4994
- # }
4995
- #
4996
4188
  # @!attribute [rw] resource_arn
4997
4189
  # The ARN of the CloudWatch resource that you're removing tags from.
4998
4190
  #