aws-sdk-cloudwatch 1.149.0 → 1.151.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-cloudwatch/alarm.rb +8 -0
- data/lib/aws-sdk-cloudwatch/client.rb +82 -3
- data/lib/aws-sdk-cloudwatch/client_api.rb +25 -0
- data/lib/aws-sdk-cloudwatch/composite_alarm.rb +8 -0
- data/lib/aws-sdk-cloudwatch/metric.rb +11 -0
- data/lib/aws-sdk-cloudwatch/types.rb +158 -7
- data/lib/aws-sdk-cloudwatch.rb +1 -1
- data/sig/alarm.rbs +3 -0
- data/sig/client.rbs +27 -3
- data/sig/composite_alarm.rbs +3 -0
- data/sig/errors.rbs +19 -19
- data/sig/metric.rbs +8 -1
- data/sig/resource.rbs +1 -0
- data/sig/types.rbs +20 -0
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2b2e09f8e48e960eb6ddfd84c0545b7c2ebd4e01d6774c375ba6c1f5b5466b73
|
|
4
|
+
data.tar.gz: 837b6c727849648bf0965fdc58e43a91fbd7139961837851258143b7aa900249
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6b6f4d6527089f6a40e043a4a0000adc01721ca5c228fbac56a328dda14e425a8c4dfceb020ee818e4a43934d6fa6dfb134c620e8de32149594cee507a3caf5d
|
|
7
|
+
data.tar.gz: 561d166ea15385cad8979dbf70d98fd257cec0e52ac4e32577d08aba77a2af320f09bbde8be795b025f55299dc61adaec3c8604f0bc06e09eb96d9d4d65c9a84
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.151.0 (2026-10-20)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Amazon CloudWatch now supports two new anomaly detector settings. AdaptationSpeed (FAST, NORMAL, SLOW) controls how fast the model adapts to baseline changes, and OutlierFilteringStrength (MINIMAL, MODERATE, STRICT) controls how aggressively outliers are filtered.
|
|
8
|
+
|
|
9
|
+
1.150.0 (2026-10-19)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - This release adds ActionConfiguration to PutMetricAlarm, PutCompositeAlarm and PutLogAlarm. It allows customers to include an alarm's tags in its notifications and alarm state change events
|
|
13
|
+
|
|
4
14
|
1.149.0 (2026-09-24)
|
|
5
15
|
------------------
|
|
6
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.151.0
|
|
@@ -297,6 +297,14 @@ module Aws::CloudWatch
|
|
|
297
297
|
data[:evaluation_interval]
|
|
298
298
|
end
|
|
299
299
|
|
|
300
|
+
# Settings that change the content of the notifications and events that
|
|
301
|
+
# the alarm sends when its state changes. These settings apply to the
|
|
302
|
+
# alarm's actions, whichever state triggers them.
|
|
303
|
+
# @return [Types::ActionConfiguration]
|
|
304
|
+
def action_configuration
|
|
305
|
+
data[:action_configuration]
|
|
306
|
+
end
|
|
307
|
+
|
|
300
308
|
# @!endgroup
|
|
301
309
|
|
|
302
310
|
# @return [Client]
|
|
@@ -199,13 +199,20 @@ module Aws::CloudWatch
|
|
|
199
199
|
# the required types.
|
|
200
200
|
#
|
|
201
201
|
# @option options [Boolean] :correct_clock_skew (true)
|
|
202
|
-
# Used only in `standard` and `adaptive` retry modes. Specifies whether
|
|
203
|
-
# a clock skew correction and retry requests with skewed client
|
|
202
|
+
# Used only in `standard` and `adaptive` retry modes. Specifies whether
|
|
203
|
+
# to apply a clock skew correction and retry requests with skewed client
|
|
204
|
+
# clocks. Takes effect only when `disable_clock_skew_correction` is not set.
|
|
204
205
|
#
|
|
205
206
|
# @option options [String] :defaults_mode ("legacy")
|
|
206
207
|
# See {Aws::DefaultsModeConfiguration} for a list of the
|
|
207
208
|
# accepted modes and the configuration defaults that are included.
|
|
208
209
|
#
|
|
210
|
+
# @option options [Boolean] :disable_clock_skew_correction
|
|
211
|
+
# Used only in `standard` and `adaptive` retry modes. When `true`, the
|
|
212
|
+
# SDK does not apply a clock skew correction, does not update its stored
|
|
213
|
+
# skew from responses, and does not retry clock skew errors. Clock skew
|
|
214
|
+
# correction is enabled by default.
|
|
215
|
+
#
|
|
209
216
|
# @option options [Boolean] :disable_host_prefix_injection (false)
|
|
210
217
|
# When `true`, the SDK will not prepend the modeled host prefix to the endpoint.
|
|
211
218
|
#
|
|
@@ -1286,6 +1293,11 @@ module Aws::CloudWatch
|
|
|
1286
1293
|
# resp.composite_alarms[0].actions_suppressor #=> String
|
|
1287
1294
|
# resp.composite_alarms[0].actions_suppressor_wait_period #=> Integer
|
|
1288
1295
|
# resp.composite_alarms[0].actions_suppressor_extension_period #=> Integer
|
|
1296
|
+
# resp.composite_alarms[0].action_configuration.alarm_tags_propagation.enabled #=> Boolean
|
|
1297
|
+
# resp.composite_alarms[0].action_configuration.alarm_tags_propagation.included_tag_keys #=> Array
|
|
1298
|
+
# resp.composite_alarms[0].action_configuration.alarm_tags_propagation.included_tag_keys[0] #=> String
|
|
1299
|
+
# resp.composite_alarms[0].action_configuration.alarm_tags_propagation.excluded_tag_keys #=> Array
|
|
1300
|
+
# resp.composite_alarms[0].action_configuration.alarm_tags_propagation.excluded_tag_keys[0] #=> String
|
|
1289
1301
|
# resp.metric_alarms #=> Array
|
|
1290
1302
|
# resp.metric_alarms[0].alarm_name #=> String
|
|
1291
1303
|
# resp.metric_alarms[0].alarm_arn #=> String
|
|
@@ -1342,6 +1354,11 @@ module Aws::CloudWatch
|
|
|
1342
1354
|
# resp.metric_alarms[0].evaluation_criteria.prom_ql_criteria.pending_period #=> Integer
|
|
1343
1355
|
# resp.metric_alarms[0].evaluation_criteria.prom_ql_criteria.recovery_period #=> Integer
|
|
1344
1356
|
# resp.metric_alarms[0].evaluation_interval #=> Integer
|
|
1357
|
+
# resp.metric_alarms[0].action_configuration.alarm_tags_propagation.enabled #=> Boolean
|
|
1358
|
+
# resp.metric_alarms[0].action_configuration.alarm_tags_propagation.included_tag_keys #=> Array
|
|
1359
|
+
# resp.metric_alarms[0].action_configuration.alarm_tags_propagation.included_tag_keys[0] #=> String
|
|
1360
|
+
# resp.metric_alarms[0].action_configuration.alarm_tags_propagation.excluded_tag_keys #=> Array
|
|
1361
|
+
# resp.metric_alarms[0].action_configuration.alarm_tags_propagation.excluded_tag_keys[0] #=> String
|
|
1345
1362
|
# resp.log_alarms #=> Array
|
|
1346
1363
|
# resp.log_alarms[0].alarm_name #=> String
|
|
1347
1364
|
# resp.log_alarms[0].alarm_arn #=> String
|
|
@@ -1381,6 +1398,11 @@ module Aws::CloudWatch
|
|
|
1381
1398
|
# resp.log_alarms[0].action_log_line_role_arn #=> String
|
|
1382
1399
|
# resp.log_alarms[0].warm_up_configuration.warm_up_period_duration_in_minutes #=> Integer
|
|
1383
1400
|
# resp.log_alarms[0].warm_up_configuration.only_start_evaluating_after_warm_up_period_ends #=> Boolean
|
|
1401
|
+
# resp.log_alarms[0].action_configuration.alarm_tags_propagation.enabled #=> Boolean
|
|
1402
|
+
# resp.log_alarms[0].action_configuration.alarm_tags_propagation.included_tag_keys #=> Array
|
|
1403
|
+
# resp.log_alarms[0].action_configuration.alarm_tags_propagation.included_tag_keys[0] #=> String
|
|
1404
|
+
# resp.log_alarms[0].action_configuration.alarm_tags_propagation.excluded_tag_keys #=> Array
|
|
1405
|
+
# resp.log_alarms[0].action_configuration.alarm_tags_propagation.excluded_tag_keys[0] #=> String
|
|
1384
1406
|
# resp.next_token #=> String
|
|
1385
1407
|
#
|
|
1386
1408
|
#
|
|
@@ -1511,6 +1533,11 @@ module Aws::CloudWatch
|
|
|
1511
1533
|
# resp.metric_alarms[0].evaluation_criteria.prom_ql_criteria.pending_period #=> Integer
|
|
1512
1534
|
# resp.metric_alarms[0].evaluation_criteria.prom_ql_criteria.recovery_period #=> Integer
|
|
1513
1535
|
# resp.metric_alarms[0].evaluation_interval #=> Integer
|
|
1536
|
+
# resp.metric_alarms[0].action_configuration.alarm_tags_propagation.enabled #=> Boolean
|
|
1537
|
+
# resp.metric_alarms[0].action_configuration.alarm_tags_propagation.included_tag_keys #=> Array
|
|
1538
|
+
# resp.metric_alarms[0].action_configuration.alarm_tags_propagation.included_tag_keys[0] #=> String
|
|
1539
|
+
# resp.metric_alarms[0].action_configuration.alarm_tags_propagation.excluded_tag_keys #=> Array
|
|
1540
|
+
# resp.metric_alarms[0].action_configuration.alarm_tags_propagation.excluded_tag_keys[0] #=> String
|
|
1514
1541
|
#
|
|
1515
1542
|
# @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DescribeAlarmsForMetric AWS API Documentation
|
|
1516
1543
|
#
|
|
@@ -1605,6 +1632,8 @@ module Aws::CloudWatch
|
|
|
1605
1632
|
# resp.anomaly_detectors[0].configuration.excluded_time_ranges[0].start_time #=> Time
|
|
1606
1633
|
# resp.anomaly_detectors[0].configuration.excluded_time_ranges[0].end_time #=> Time
|
|
1607
1634
|
# resp.anomaly_detectors[0].configuration.metric_timezone #=> String
|
|
1635
|
+
# resp.anomaly_detectors[0].configuration.adaptation_speed #=> String, one of "FAST", "NORMAL", "SLOW"
|
|
1636
|
+
# resp.anomaly_detectors[0].configuration.outlier_filtering_strength #=> String, one of "MINIMAL", "MODERATE", "STRICT"
|
|
1608
1637
|
# resp.anomaly_detectors[0].state_value #=> String, one of "PENDING_TRAINING", "TRAINED_INSUFFICIENT_DATA", "TRAINED"
|
|
1609
1638
|
# resp.anomaly_detectors[0].metric_characteristics.periodic_spikes #=> Boolean
|
|
1610
1639
|
# resp.anomaly_detectors[0].single_metric_anomaly_detector.account_id #=> String
|
|
@@ -2706,6 +2735,14 @@ module Aws::CloudWatch
|
|
|
2706
2735
|
# regularly, such as every minute, and create your own custom live
|
|
2707
2736
|
# dashboard.
|
|
2708
2737
|
#
|
|
2738
|
+
# <note markdown="1"> `GetMetricWidgetImage` is not available in the Amazon Web Services
|
|
2739
|
+
# GovCloud (US) Regions. In those Regions, calls to this operation fail.
|
|
2740
|
+
# For the list of Amazon CloudWatch features that are not available in
|
|
2741
|
+
# Amazon Web Services GovCloud (US), see [Amazon CloudWatch in Amazon
|
|
2742
|
+
# Web Services GovCloud (US)][1].
|
|
2743
|
+
#
|
|
2744
|
+
# </note>
|
|
2745
|
+
#
|
|
2709
2746
|
# The graph you retrieve can include all CloudWatch metric graph
|
|
2710
2747
|
# features, including metric math and horizontal and vertical
|
|
2711
2748
|
# annotations.
|
|
@@ -2717,6 +2754,10 @@ module Aws::CloudWatch
|
|
|
2717
2754
|
#
|
|
2718
2755
|
# * Up to 100 KB uncompressed payload.
|
|
2719
2756
|
#
|
|
2757
|
+
#
|
|
2758
|
+
#
|
|
2759
|
+
# [1]: https://docs.aws.amazon.com/govcloud-us/latest/UserGuide/govcloud-cw.html
|
|
2760
|
+
#
|
|
2720
2761
|
# @option params [required, String] :metric_widget
|
|
2721
2762
|
# A JSON string that defines the bitmap graph to be retrieved. The
|
|
2722
2763
|
# string includes the metrics to include in the graph, statistics,
|
|
@@ -3482,6 +3523,8 @@ module Aws::CloudWatch
|
|
|
3482
3523
|
# },
|
|
3483
3524
|
# ],
|
|
3484
3525
|
# metric_timezone: "AnomalyDetectorMetricTimezone",
|
|
3526
|
+
# adaptation_speed: "FAST", # accepts FAST, NORMAL, SLOW
|
|
3527
|
+
# outlier_filtering_strength: "MINIMAL", # accepts MINIMAL, MODERATE, STRICT
|
|
3485
3528
|
# },
|
|
3486
3529
|
# metric_characteristics: {
|
|
3487
3530
|
# periodic_spikes: false,
|
|
@@ -3793,6 +3836,11 @@ module Aws::CloudWatch
|
|
|
3793
3836
|
# `ExtensionPeriod` is required only when `ActionsSuppressor` is
|
|
3794
3837
|
# specified.
|
|
3795
3838
|
#
|
|
3839
|
+
# @option params [Types::ActionConfiguration] :action_configuration
|
|
3840
|
+
# Settings that change the content of the notifications and events that
|
|
3841
|
+
# the alarm sends when its state changes. These settings apply to the
|
|
3842
|
+
# alarm's actions, whichever state triggers them.
|
|
3843
|
+
#
|
|
3796
3844
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
3797
3845
|
#
|
|
3798
3846
|
# @example Request syntax with placeholder values
|
|
@@ -3814,6 +3862,13 @@ module Aws::CloudWatch
|
|
|
3814
3862
|
# actions_suppressor: "AlarmArn",
|
|
3815
3863
|
# actions_suppressor_wait_period: 1,
|
|
3816
3864
|
# actions_suppressor_extension_period: 1,
|
|
3865
|
+
# action_configuration: {
|
|
3866
|
+
# alarm_tags_propagation: {
|
|
3867
|
+
# enabled: false, # required
|
|
3868
|
+
# included_tag_keys: ["AlarmTagsPropagationTagKey"],
|
|
3869
|
+
# excluded_tag_keys: ["AlarmTagsPropagationTagKey"],
|
|
3870
|
+
# },
|
|
3871
|
+
# },
|
|
3817
3872
|
# })
|
|
3818
3873
|
#
|
|
3819
3874
|
# @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/PutCompositeAlarm AWS API Documentation
|
|
@@ -4186,6 +4241,11 @@ module Aws::CloudWatch
|
|
|
4186
4241
|
#
|
|
4187
4242
|
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/alarm-warm-up.html
|
|
4188
4243
|
#
|
|
4244
|
+
# @option params [Types::ActionConfiguration] :action_configuration
|
|
4245
|
+
# Settings that change the content of the notifications and events that
|
|
4246
|
+
# the alarm sends when its state changes. These settings apply to the
|
|
4247
|
+
# alarm's actions, whichever state triggers them.
|
|
4248
|
+
#
|
|
4189
4249
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
4190
4250
|
#
|
|
4191
4251
|
# @example Request syntax with placeholder values
|
|
@@ -4232,6 +4292,13 @@ module Aws::CloudWatch
|
|
|
4232
4292
|
# warm_up_period_duration_in_minutes: 1, # required
|
|
4233
4293
|
# only_start_evaluating_after_warm_up_period_ends: false,
|
|
4234
4294
|
# },
|
|
4295
|
+
# action_configuration: {
|
|
4296
|
+
# alarm_tags_propagation: {
|
|
4297
|
+
# enabled: false, # required
|
|
4298
|
+
# included_tag_keys: ["AlarmTagsPropagationTagKey"],
|
|
4299
|
+
# excluded_tag_keys: ["AlarmTagsPropagationTagKey"],
|
|
4300
|
+
# },
|
|
4301
|
+
# },
|
|
4235
4302
|
# })
|
|
4236
4303
|
#
|
|
4237
4304
|
# @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/PutLogAlarm AWS API Documentation
|
|
@@ -4843,6 +4910,11 @@ module Aws::CloudWatch
|
|
|
4843
4910
|
# and cannot be specified for alarms configured with `MetricName` or
|
|
4844
4911
|
# `Metrics`.
|
|
4845
4912
|
#
|
|
4913
|
+
# @option params [Types::ActionConfiguration] :action_configuration
|
|
4914
|
+
# Settings that change the content of the notifications and events that
|
|
4915
|
+
# the alarm sends when its state changes. These settings apply to the
|
|
4916
|
+
# alarm's actions, whichever state triggers them.
|
|
4917
|
+
#
|
|
4846
4918
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
4847
4919
|
#
|
|
4848
4920
|
# @example Request syntax with placeholder values
|
|
@@ -4923,6 +4995,13 @@ module Aws::CloudWatch
|
|
|
4923
4995
|
# },
|
|
4924
4996
|
# },
|
|
4925
4997
|
# evaluation_interval: 1,
|
|
4998
|
+
# action_configuration: {
|
|
4999
|
+
# alarm_tags_propagation: {
|
|
5000
|
+
# enabled: false, # required
|
|
5001
|
+
# included_tag_keys: ["AlarmTagsPropagationTagKey"],
|
|
5002
|
+
# excluded_tag_keys: ["AlarmTagsPropagationTagKey"],
|
|
5003
|
+
# },
|
|
5004
|
+
# },
|
|
4926
5005
|
# })
|
|
4927
5006
|
#
|
|
4928
5007
|
# @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/PutMetricAlarm AWS API Documentation
|
|
@@ -5840,7 +5919,7 @@ module Aws::CloudWatch
|
|
|
5840
5919
|
tracer: tracer
|
|
5841
5920
|
)
|
|
5842
5921
|
context[:gem_name] = 'aws-sdk-cloudwatch'
|
|
5843
|
-
context[:gem_version] = '1.
|
|
5922
|
+
context[:gem_version] = '1.151.0'
|
|
5844
5923
|
Seahorse::Client::Request.new(handlers, context)
|
|
5845
5924
|
end
|
|
5846
5925
|
|
|
@@ -15,6 +15,7 @@ module Aws::CloudWatch
|
|
|
15
15
|
include Seahorse::Model
|
|
16
16
|
|
|
17
17
|
AccountId = Shapes::StringShape.new(name: 'AccountId')
|
|
18
|
+
ActionConfiguration = Shapes::StructureShape.new(name: 'ActionConfiguration')
|
|
18
19
|
ActionLogLineCount = Shapes::IntegerShape.new(name: 'ActionLogLineCount')
|
|
19
20
|
ActionLogLineRoleArn = Shapes::StringShape.new(name: 'ActionLogLineRoleArn')
|
|
20
21
|
ActionPrefix = Shapes::StringShape.new(name: 'ActionPrefix')
|
|
@@ -37,16 +38,22 @@ module Aws::CloudWatch
|
|
|
37
38
|
AlarmNames = Shapes::ListShape.new(name: 'AlarmNames')
|
|
38
39
|
AlarmPromQLCriteria = Shapes::StructureShape.new(name: 'AlarmPromQLCriteria')
|
|
39
40
|
AlarmRule = Shapes::StringShape.new(name: 'AlarmRule')
|
|
41
|
+
AlarmTagsPropagation = Shapes::StructureShape.new(name: 'AlarmTagsPropagation')
|
|
42
|
+
AlarmTagsPropagationEnabled = Shapes::BooleanShape.new(name: 'AlarmTagsPropagationEnabled')
|
|
43
|
+
AlarmTagsPropagationTagKey = Shapes::StringShape.new(name: 'AlarmTagsPropagationTagKey')
|
|
44
|
+
AlarmTagsPropagationTagKeys = Shapes::ListShape.new(name: 'AlarmTagsPropagationTagKeys')
|
|
40
45
|
AlarmType = Shapes::StringShape.new(name: 'AlarmType')
|
|
41
46
|
AlarmTypes = Shapes::ListShape.new(name: 'AlarmTypes')
|
|
42
47
|
AmazonResourceName = Shapes::StringShape.new(name: 'AmazonResourceName')
|
|
43
48
|
AnomalyDetector = Shapes::StructureShape.new(name: 'AnomalyDetector')
|
|
49
|
+
AnomalyDetectorAdaptationSpeed = Shapes::StringShape.new(name: 'AnomalyDetectorAdaptationSpeed')
|
|
44
50
|
AnomalyDetectorConfiguration = Shapes::StructureShape.new(name: 'AnomalyDetectorConfiguration')
|
|
45
51
|
AnomalyDetectorExcludedTimeRanges = Shapes::ListShape.new(name: 'AnomalyDetectorExcludedTimeRanges')
|
|
46
52
|
AnomalyDetectorId = Shapes::StringShape.new(name: 'AnomalyDetectorId')
|
|
47
53
|
AnomalyDetectorIds = Shapes::ListShape.new(name: 'AnomalyDetectorIds')
|
|
48
54
|
AnomalyDetectorMetricStat = Shapes::StringShape.new(name: 'AnomalyDetectorMetricStat')
|
|
49
55
|
AnomalyDetectorMetricTimezone = Shapes::StringShape.new(name: 'AnomalyDetectorMetricTimezone')
|
|
56
|
+
AnomalyDetectorOutlierFilteringStrength = Shapes::StringShape.new(name: 'AnomalyDetectorOutlierFilteringStrength')
|
|
50
57
|
AnomalyDetectorStateValue = Shapes::StringShape.new(name: 'AnomalyDetectorStateValue')
|
|
51
58
|
AnomalyDetectorType = Shapes::StringShape.new(name: 'AnomalyDetectorType')
|
|
52
59
|
AnomalyDetectorTypes = Shapes::ListShape.new(name: 'AnomalyDetectorTypes')
|
|
@@ -394,6 +401,9 @@ module Aws::CloudWatch
|
|
|
394
401
|
WarmUpConfiguration = Shapes::StructureShape.new(name: 'WarmUpConfiguration')
|
|
395
402
|
WarmUpPeriodDurationInMinutes = Shapes::IntegerShape.new(name: 'WarmUpPeriodDurationInMinutes')
|
|
396
403
|
|
|
404
|
+
ActionConfiguration.add_member(:alarm_tags_propagation, Shapes::ShapeRef.new(shape: AlarmTagsPropagation, location_name: "AlarmTagsPropagation"))
|
|
405
|
+
ActionConfiguration.struct_class = Types::ActionConfiguration
|
|
406
|
+
|
|
397
407
|
AlarmContributor.add_member(:contributor_id, Shapes::ShapeRef.new(shape: ContributorId, required: true, location_name: "ContributorId"))
|
|
398
408
|
AlarmContributor.add_member(:contributor_attributes, Shapes::ShapeRef.new(shape: ContributorAttributes, required: true, location_name: "ContributorAttributes"))
|
|
399
409
|
AlarmContributor.add_member(:state_reason, Shapes::ShapeRef.new(shape: StateReason, required: true, location_name: "StateReason"))
|
|
@@ -432,6 +442,13 @@ module Aws::CloudWatch
|
|
|
432
442
|
AlarmPromQLCriteria.add_member(:recovery_period, Shapes::ShapeRef.new(shape: RecoveryPeriod, location_name: "RecoveryPeriod"))
|
|
433
443
|
AlarmPromQLCriteria.struct_class = Types::AlarmPromQLCriteria
|
|
434
444
|
|
|
445
|
+
AlarmTagsPropagation.add_member(:enabled, Shapes::ShapeRef.new(shape: AlarmTagsPropagationEnabled, required: true, location_name: "Enabled"))
|
|
446
|
+
AlarmTagsPropagation.add_member(:included_tag_keys, Shapes::ShapeRef.new(shape: AlarmTagsPropagationTagKeys, location_name: "IncludedTagKeys"))
|
|
447
|
+
AlarmTagsPropagation.add_member(:excluded_tag_keys, Shapes::ShapeRef.new(shape: AlarmTagsPropagationTagKeys, location_name: "ExcludedTagKeys"))
|
|
448
|
+
AlarmTagsPropagation.struct_class = Types::AlarmTagsPropagation
|
|
449
|
+
|
|
450
|
+
AlarmTagsPropagationTagKeys.member = Shapes::ShapeRef.new(shape: AlarmTagsPropagationTagKey)
|
|
451
|
+
|
|
435
452
|
AlarmTypes.member = Shapes::ShapeRef.new(shape: AlarmType)
|
|
436
453
|
|
|
437
454
|
AnomalyDetector.add_member(:anomaly_detector_id, Shapes::ShapeRef.new(shape: AnomalyDetectorId, location_name: "AnomalyDetectorId"))
|
|
@@ -448,6 +465,8 @@ module Aws::CloudWatch
|
|
|
448
465
|
|
|
449
466
|
AnomalyDetectorConfiguration.add_member(:excluded_time_ranges, Shapes::ShapeRef.new(shape: AnomalyDetectorExcludedTimeRanges, location_name: "ExcludedTimeRanges"))
|
|
450
467
|
AnomalyDetectorConfiguration.add_member(:metric_timezone, Shapes::ShapeRef.new(shape: AnomalyDetectorMetricTimezone, location_name: "MetricTimezone"))
|
|
468
|
+
AnomalyDetectorConfiguration.add_member(:adaptation_speed, Shapes::ShapeRef.new(shape: AnomalyDetectorAdaptationSpeed, location_name: "AdaptationSpeed"))
|
|
469
|
+
AnomalyDetectorConfiguration.add_member(:outlier_filtering_strength, Shapes::ShapeRef.new(shape: AnomalyDetectorOutlierFilteringStrength, location_name: "OutlierFilteringStrength"))
|
|
451
470
|
AnomalyDetectorConfiguration.struct_class = Types::AnomalyDetectorConfiguration
|
|
452
471
|
|
|
453
472
|
AnomalyDetectorExcludedTimeRanges.member = Shapes::ShapeRef.new(shape: Range)
|
|
@@ -485,6 +504,7 @@ module Aws::CloudWatch
|
|
|
485
504
|
CompositeAlarm.add_member(:actions_suppressor, Shapes::ShapeRef.new(shape: AlarmArn, location_name: "ActionsSuppressor"))
|
|
486
505
|
CompositeAlarm.add_member(:actions_suppressor_wait_period, Shapes::ShapeRef.new(shape: SuppressorPeriod, location_name: "ActionsSuppressorWaitPeriod"))
|
|
487
506
|
CompositeAlarm.add_member(:actions_suppressor_extension_period, Shapes::ShapeRef.new(shape: SuppressorPeriod, location_name: "ActionsSuppressorExtensionPeriod"))
|
|
507
|
+
CompositeAlarm.add_member(:action_configuration, Shapes::ShapeRef.new(shape: ActionConfiguration, location_name: "ActionConfiguration"))
|
|
488
508
|
CompositeAlarm.struct_class = Types::CompositeAlarm
|
|
489
509
|
|
|
490
510
|
CompositeAlarms.member = Shapes::ShapeRef.new(shape: CompositeAlarm)
|
|
@@ -993,6 +1013,7 @@ module Aws::CloudWatch
|
|
|
993
1013
|
LogAlarm.add_member(:action_log_line_count, Shapes::ShapeRef.new(shape: ActionLogLineCount, location_name: "ActionLogLineCount"))
|
|
994
1014
|
LogAlarm.add_member(:action_log_line_role_arn, Shapes::ShapeRef.new(shape: ActionLogLineRoleArn, location_name: "ActionLogLineRoleArn"))
|
|
995
1015
|
LogAlarm.add_member(:warm_up_configuration, Shapes::ShapeRef.new(shape: WarmUpConfiguration, location_name: "WarmUpConfiguration"))
|
|
1016
|
+
LogAlarm.add_member(:action_configuration, Shapes::ShapeRef.new(shape: ActionConfiguration, location_name: "ActionConfiguration"))
|
|
996
1017
|
LogAlarm.struct_class = Types::LogAlarm
|
|
997
1018
|
|
|
998
1019
|
LogAlarms.member = Shapes::ShapeRef.new(shape: LogAlarm)
|
|
@@ -1059,6 +1080,7 @@ module Aws::CloudWatch
|
|
|
1059
1080
|
MetricAlarm.add_member(:warm_up_configuration, Shapes::ShapeRef.new(shape: WarmUpConfiguration, location_name: "WarmUpConfiguration"))
|
|
1060
1081
|
MetricAlarm.add_member(:evaluation_criteria, Shapes::ShapeRef.new(shape: EvaluationCriteria, location_name: "EvaluationCriteria"))
|
|
1061
1082
|
MetricAlarm.add_member(:evaluation_interval, Shapes::ShapeRef.new(shape: EvaluationInterval, location_name: "EvaluationInterval"))
|
|
1083
|
+
MetricAlarm.add_member(:action_configuration, Shapes::ShapeRef.new(shape: ActionConfiguration, location_name: "ActionConfiguration"))
|
|
1062
1084
|
MetricAlarm.struct_class = Types::MetricAlarm
|
|
1063
1085
|
|
|
1064
1086
|
MetricAlarms.member = Shapes::ShapeRef.new(shape: MetricAlarm)
|
|
@@ -1207,6 +1229,7 @@ module Aws::CloudWatch
|
|
|
1207
1229
|
PutCompositeAlarmInput.add_member(:actions_suppressor, Shapes::ShapeRef.new(shape: AlarmArn, location_name: "ActionsSuppressor"))
|
|
1208
1230
|
PutCompositeAlarmInput.add_member(:actions_suppressor_wait_period, Shapes::ShapeRef.new(shape: SuppressorPeriod, location_name: "ActionsSuppressorWaitPeriod"))
|
|
1209
1231
|
PutCompositeAlarmInput.add_member(:actions_suppressor_extension_period, Shapes::ShapeRef.new(shape: SuppressorPeriod, location_name: "ActionsSuppressorExtensionPeriod"))
|
|
1232
|
+
PutCompositeAlarmInput.add_member(:action_configuration, Shapes::ShapeRef.new(shape: ActionConfiguration, location_name: "ActionConfiguration"))
|
|
1210
1233
|
PutCompositeAlarmInput.struct_class = Types::PutCompositeAlarmInput
|
|
1211
1234
|
|
|
1212
1235
|
PutDashboardInput.add_member(:dashboard_name, Shapes::ShapeRef.new(shape: DashboardName, required: true, location_name: "DashboardName"))
|
|
@@ -1242,6 +1265,7 @@ module Aws::CloudWatch
|
|
|
1242
1265
|
PutLogAlarmInput.add_member(:treat_missing_data, Shapes::ShapeRef.new(shape: TreatMissingData, location_name: "TreatMissingData"))
|
|
1243
1266
|
PutLogAlarmInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
|
1244
1267
|
PutLogAlarmInput.add_member(:warm_up_configuration, Shapes::ShapeRef.new(shape: WarmUpConfiguration, location_name: "WarmUpConfiguration"))
|
|
1268
|
+
PutLogAlarmInput.add_member(:action_configuration, Shapes::ShapeRef.new(shape: ActionConfiguration, location_name: "ActionConfiguration"))
|
|
1245
1269
|
PutLogAlarmInput.struct_class = Types::PutLogAlarmInput
|
|
1246
1270
|
|
|
1247
1271
|
PutManagedInsightRulesInput.add_member(:managed_rules, Shapes::ShapeRef.new(shape: ManagedRules, required: true, location_name: "ManagedRules"))
|
|
@@ -1276,6 +1300,7 @@ module Aws::CloudWatch
|
|
|
1276
1300
|
PutMetricAlarmInput.add_member(:warm_up_configuration, Shapes::ShapeRef.new(shape: WarmUpConfiguration, location_name: "WarmUpConfiguration"))
|
|
1277
1301
|
PutMetricAlarmInput.add_member(:evaluation_criteria, Shapes::ShapeRef.new(shape: EvaluationCriteria, location_name: "EvaluationCriteria"))
|
|
1278
1302
|
PutMetricAlarmInput.add_member(:evaluation_interval, Shapes::ShapeRef.new(shape: EvaluationInterval, location_name: "EvaluationInterval"))
|
|
1303
|
+
PutMetricAlarmInput.add_member(:action_configuration, Shapes::ShapeRef.new(shape: ActionConfiguration, location_name: "ActionConfiguration"))
|
|
1279
1304
|
PutMetricAlarmInput.struct_class = Types::PutMetricAlarmInput
|
|
1280
1305
|
|
|
1281
1306
|
PutMetricDataInput.add_member(:namespace, Shapes::ShapeRef.new(shape: Namespace, required: true, location_name: "Namespace"))
|
|
@@ -172,6 +172,14 @@ module Aws::CloudWatch
|
|
|
172
172
|
data[:actions_suppressor_extension_period]
|
|
173
173
|
end
|
|
174
174
|
|
|
175
|
+
# Settings that change the content of the notifications and events that
|
|
176
|
+
# the alarm sends when its state changes. These settings apply to the
|
|
177
|
+
# alarm's actions, whichever state triggers them.
|
|
178
|
+
# @return [Types::ActionConfiguration]
|
|
179
|
+
def action_configuration
|
|
180
|
+
data[:action_configuration]
|
|
181
|
+
end
|
|
182
|
+
|
|
175
183
|
# @!endgroup
|
|
176
184
|
|
|
177
185
|
# @return [Client]
|
|
@@ -386,6 +386,13 @@ module Aws::CloudWatch
|
|
|
386
386
|
# },
|
|
387
387
|
# },
|
|
388
388
|
# evaluation_interval: 1,
|
|
389
|
+
# action_configuration: {
|
|
390
|
+
# alarm_tags_propagation: {
|
|
391
|
+
# enabled: false, # required
|
|
392
|
+
# included_tag_keys: ["AlarmTagsPropagationTagKey"],
|
|
393
|
+
# excluded_tag_keys: ["AlarmTagsPropagationTagKey"],
|
|
394
|
+
# },
|
|
395
|
+
# },
|
|
389
396
|
# })
|
|
390
397
|
# @param [Hash] options ({})
|
|
391
398
|
# @option options [required, String] :alarm_name
|
|
@@ -834,6 +841,10 @@ module Aws::CloudWatch
|
|
|
834
841
|
# This parameter is required for alarms that use `EvaluationCriteria`,
|
|
835
842
|
# and cannot be specified for alarms configured with `MetricName` or
|
|
836
843
|
# `Metrics`.
|
|
844
|
+
# @option options [Types::ActionConfiguration] :action_configuration
|
|
845
|
+
# Settings that change the content of the notifications and events that
|
|
846
|
+
# the alarm sends when its state changes. These settings apply to the
|
|
847
|
+
# alarm's actions, whichever state triggers them.
|
|
837
848
|
# @return [Alarm]
|
|
838
849
|
def put_alarm(options = {})
|
|
839
850
|
options = options.merge(
|
|
@@ -10,6 +10,23 @@
|
|
|
10
10
|
module Aws::CloudWatch
|
|
11
11
|
module Types
|
|
12
12
|
|
|
13
|
+
# Settings that change the content of the notifications and events that
|
|
14
|
+
# an alarm sends when its state changes. These settings apply to the
|
|
15
|
+
# alarm's actions, whichever state triggers them.
|
|
16
|
+
#
|
|
17
|
+
# @!attribute [rw] alarm_tags_propagation
|
|
18
|
+
# Settings for including the alarm's tags in its action notifications
|
|
19
|
+
# and state-change events.
|
|
20
|
+
# @return [Types::AlarmTagsPropagation]
|
|
21
|
+
#
|
|
22
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/ActionConfiguration AWS API Documentation
|
|
23
|
+
#
|
|
24
|
+
class ActionConfiguration < Struct.new(
|
|
25
|
+
:alarm_tags_propagation)
|
|
26
|
+
SENSITIVE = []
|
|
27
|
+
include Aws::Structure
|
|
28
|
+
end
|
|
29
|
+
|
|
13
30
|
# Represents an individual contributor to a multi-timeseries alarm,
|
|
14
31
|
# containing information about a specific time series and its
|
|
15
32
|
# contribution to the alarm's state.
|
|
@@ -165,6 +182,61 @@ module Aws::CloudWatch
|
|
|
165
182
|
include Aws::Structure
|
|
166
183
|
end
|
|
167
184
|
|
|
185
|
+
# Includes the alarm's tags in the notifications that the alarm sends
|
|
186
|
+
# to Amazon SNS topics and Lambda functions. The tags are also included
|
|
187
|
+
# in the alarm's state-change events in Amazon EventBridge. Other types
|
|
188
|
+
# of alarm actions don't receive the tags.
|
|
189
|
+
#
|
|
190
|
+
# By default, the alarm's tags aren't included.
|
|
191
|
+
#
|
|
192
|
+
# Use this to route or filter notifications and events by tag, such as
|
|
193
|
+
# by team or environment. You can also use it to read the alarm's tags
|
|
194
|
+
# without looking them up separately.
|
|
195
|
+
#
|
|
196
|
+
# To limit which tags are included, specify either `IncludedTagKeys` or
|
|
197
|
+
# `ExcludedTagKeys`. You can't specify both. If you specify neither,
|
|
198
|
+
# all of the alarm's tags are included. This includes tags that you add
|
|
199
|
+
# to the alarm later.
|
|
200
|
+
#
|
|
201
|
+
# @!attribute [rw] enabled
|
|
202
|
+
# Set to `true` to include the alarm's tags. Set to `false` to stop
|
|
203
|
+
# including them.
|
|
204
|
+
#
|
|
205
|
+
# When this is `true`, you must have the
|
|
206
|
+
# `cloudwatch:ListTagsForResource` permission on the alarm to create
|
|
207
|
+
# or update it.
|
|
208
|
+
# @return [Boolean]
|
|
209
|
+
#
|
|
210
|
+
# @!attribute [rw] included_tag_keys
|
|
211
|
+
# The tag keys to include. Only the alarm's tags with these keys are
|
|
212
|
+
# included.
|
|
213
|
+
#
|
|
214
|
+
# You can specify 1 to 50 tag keys. Each tag key must be 1 to 128
|
|
215
|
+
# characters long.
|
|
216
|
+
#
|
|
217
|
+
# You can't specify both `IncludedTagKeys` and `ExcludedTagKeys`.
|
|
218
|
+
# @return [Array<String>]
|
|
219
|
+
#
|
|
220
|
+
# @!attribute [rw] excluded_tag_keys
|
|
221
|
+
# The tag keys to exclude. All of the alarm's tags except those with
|
|
222
|
+
# these keys are included.
|
|
223
|
+
#
|
|
224
|
+
# You can specify 1 to 50 tag keys. Each tag key must be 1 to 128
|
|
225
|
+
# characters long.
|
|
226
|
+
#
|
|
227
|
+
# You can't specify both `IncludedTagKeys` and `ExcludedTagKeys`.
|
|
228
|
+
# @return [Array<String>]
|
|
229
|
+
#
|
|
230
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/AlarmTagsPropagation AWS API Documentation
|
|
231
|
+
#
|
|
232
|
+
class AlarmTagsPropagation < Struct.new(
|
|
233
|
+
:enabled,
|
|
234
|
+
:included_tag_keys,
|
|
235
|
+
:excluded_tag_keys)
|
|
236
|
+
SENSITIVE = []
|
|
237
|
+
include Aws::Structure
|
|
238
|
+
end
|
|
239
|
+
|
|
168
240
|
# An anomaly detection model associated with a particular CloudWatch
|
|
169
241
|
# metric, statistic, or metric math expression. You can use the model to
|
|
170
242
|
# display a band of expected, normal values when the metric is graphed.
|
|
@@ -267,11 +339,48 @@ module Aws::CloudWatch
|
|
|
267
339
|
# [1]: https://en.wikipedia.org/wiki/Tz_database
|
|
268
340
|
# @return [String]
|
|
269
341
|
#
|
|
342
|
+
# @!attribute [rw] adaptation_speed
|
|
343
|
+
# The speed at which the anomaly detection model adapts to sustained
|
|
344
|
+
# changes in the metric's baseline. Faster adaptation lets the model
|
|
345
|
+
# track shifting workloads sooner, but increases the chance that the
|
|
346
|
+
# model treats a real, lasting change as normal.
|
|
347
|
+
#
|
|
348
|
+
# Valid values:
|
|
349
|
+
#
|
|
350
|
+
# * `FAST` - The model adapts quickly to sustained changes in the
|
|
351
|
+
# baseline.
|
|
352
|
+
#
|
|
353
|
+
# * `NORMAL` - The model adapts at a moderate pace. This is the
|
|
354
|
+
# default value.
|
|
355
|
+
#
|
|
356
|
+
# * `SLOW` - The model adapts slowly, reducing the risk of treating a
|
|
357
|
+
# real change as normal.
|
|
358
|
+
# @return [String]
|
|
359
|
+
#
|
|
360
|
+
# @!attribute [rw] outlier_filtering_strength
|
|
361
|
+
# The aggressiveness with which CloudWatch filters outliers from the
|
|
362
|
+
# metric data that the anomaly detection model uses. Stronger
|
|
363
|
+
# filtering excludes more extreme values, which can produce a tighter
|
|
364
|
+
# band of expected values but may also suppress legitimate spikes.
|
|
365
|
+
#
|
|
366
|
+
# Valid values:
|
|
367
|
+
#
|
|
368
|
+
# * `MINIMAL` - Excludes only the most extreme outliers.
|
|
369
|
+
#
|
|
370
|
+
# * `MODERATE` - Excludes a moderate range of outliers. This is the
|
|
371
|
+
# default value.
|
|
372
|
+
#
|
|
373
|
+
# * `STRICT` - Excludes a wider range of outliers, which can suppress
|
|
374
|
+
# legitimate spikes.
|
|
375
|
+
# @return [String]
|
|
376
|
+
#
|
|
270
377
|
# @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/AnomalyDetectorConfiguration AWS API Documentation
|
|
271
378
|
#
|
|
272
379
|
class AnomalyDetectorConfiguration < Struct.new(
|
|
273
380
|
:excluded_time_ranges,
|
|
274
|
-
:metric_timezone
|
|
381
|
+
:metric_timezone,
|
|
382
|
+
:adaptation_speed,
|
|
383
|
+
:outlier_filtering_strength)
|
|
275
384
|
SENSITIVE = []
|
|
276
385
|
include Aws::Structure
|
|
277
386
|
end
|
|
@@ -422,6 +531,12 @@ module Aws::CloudWatch
|
|
|
422
531
|
# specified.
|
|
423
532
|
# @return [Integer]
|
|
424
533
|
#
|
|
534
|
+
# @!attribute [rw] action_configuration
|
|
535
|
+
# Settings that change the content of the notifications and events
|
|
536
|
+
# that the alarm sends when its state changes. These settings apply to
|
|
537
|
+
# the alarm's actions, whichever state triggers them.
|
|
538
|
+
# @return [Types::ActionConfiguration]
|
|
539
|
+
#
|
|
425
540
|
# @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/CompositeAlarm AWS API Documentation
|
|
426
541
|
#
|
|
427
542
|
class CompositeAlarm < Struct.new(
|
|
@@ -443,7 +558,8 @@ module Aws::CloudWatch
|
|
|
443
558
|
:actions_suppressed_reason,
|
|
444
559
|
:actions_suppressor,
|
|
445
560
|
:actions_suppressor_wait_period,
|
|
446
|
-
:actions_suppressor_extension_period
|
|
561
|
+
:actions_suppressor_extension_period,
|
|
562
|
+
:action_configuration)
|
|
447
563
|
SENSITIVE = []
|
|
448
564
|
include Aws::Structure
|
|
449
565
|
end
|
|
@@ -3185,6 +3301,12 @@ module Aws::CloudWatch
|
|
|
3185
3301
|
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/alarm-warm-up.html
|
|
3186
3302
|
# @return [Types::WarmUpConfiguration]
|
|
3187
3303
|
#
|
|
3304
|
+
# @!attribute [rw] action_configuration
|
|
3305
|
+
# Settings that change the content of the notifications and events
|
|
3306
|
+
# that the alarm sends when its state changes. These settings apply to
|
|
3307
|
+
# the alarm's actions, whichever state triggers them.
|
|
3308
|
+
# @return [Types::ActionConfiguration]
|
|
3309
|
+
#
|
|
3188
3310
|
# @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/LogAlarm AWS API Documentation
|
|
3189
3311
|
#
|
|
3190
3312
|
class LogAlarm < Struct.new(
|
|
@@ -3210,7 +3332,8 @@ module Aws::CloudWatch
|
|
|
3210
3332
|
:evaluation_state,
|
|
3211
3333
|
:action_log_line_count,
|
|
3212
3334
|
:action_log_line_role_arn,
|
|
3213
|
-
:warm_up_configuration
|
|
3335
|
+
:warm_up_configuration,
|
|
3336
|
+
:action_configuration)
|
|
3214
3337
|
SENSITIVE = []
|
|
3215
3338
|
include Aws::Structure
|
|
3216
3339
|
end
|
|
@@ -3557,6 +3680,12 @@ module Aws::CloudWatch
|
|
|
3557
3680
|
# The frequency, in seconds, at which the alarm is evaluated.
|
|
3558
3681
|
# @return [Integer]
|
|
3559
3682
|
#
|
|
3683
|
+
# @!attribute [rw] action_configuration
|
|
3684
|
+
# Settings that change the content of the notifications and events
|
|
3685
|
+
# that the alarm sends when its state changes. These settings apply to
|
|
3686
|
+
# the alarm's actions, whichever state triggers them.
|
|
3687
|
+
# @return [Types::ActionConfiguration]
|
|
3688
|
+
#
|
|
3560
3689
|
# @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/MetricAlarm AWS API Documentation
|
|
3561
3690
|
#
|
|
3562
3691
|
class MetricAlarm < Struct.new(
|
|
@@ -3592,7 +3721,8 @@ module Aws::CloudWatch
|
|
|
3592
3721
|
:evaluation_window,
|
|
3593
3722
|
:warm_up_configuration,
|
|
3594
3723
|
:evaluation_criteria,
|
|
3595
|
-
:evaluation_interval
|
|
3724
|
+
:evaluation_interval,
|
|
3725
|
+
:action_configuration)
|
|
3596
3726
|
SENSITIVE = []
|
|
3597
3727
|
include Aws::Structure
|
|
3598
3728
|
end
|
|
@@ -4606,6 +4736,12 @@ module Aws::CloudWatch
|
|
|
4606
4736
|
# specified.
|
|
4607
4737
|
# @return [Integer]
|
|
4608
4738
|
#
|
|
4739
|
+
# @!attribute [rw] action_configuration
|
|
4740
|
+
# Settings that change the content of the notifications and events
|
|
4741
|
+
# that the alarm sends when its state changes. These settings apply to
|
|
4742
|
+
# the alarm's actions, whichever state triggers them.
|
|
4743
|
+
# @return [Types::ActionConfiguration]
|
|
4744
|
+
#
|
|
4609
4745
|
# @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/PutCompositeAlarmInput AWS API Documentation
|
|
4610
4746
|
#
|
|
4611
4747
|
class PutCompositeAlarmInput < Struct.new(
|
|
@@ -4619,7 +4755,8 @@ module Aws::CloudWatch
|
|
|
4619
4755
|
:tags,
|
|
4620
4756
|
:actions_suppressor,
|
|
4621
4757
|
:actions_suppressor_wait_period,
|
|
4622
|
-
:actions_suppressor_extension_period
|
|
4758
|
+
:actions_suppressor_extension_period,
|
|
4759
|
+
:action_configuration)
|
|
4623
4760
|
SENSITIVE = []
|
|
4624
4761
|
include Aws::Structure
|
|
4625
4762
|
end
|
|
@@ -4934,6 +5071,12 @@ module Aws::CloudWatch
|
|
|
4934
5071
|
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/alarm-warm-up.html
|
|
4935
5072
|
# @return [Types::WarmUpConfiguration]
|
|
4936
5073
|
#
|
|
5074
|
+
# @!attribute [rw] action_configuration
|
|
5075
|
+
# Settings that change the content of the notifications and events
|
|
5076
|
+
# that the alarm sends when its state changes. These settings apply to
|
|
5077
|
+
# the alarm's actions, whichever state triggers them.
|
|
5078
|
+
# @return [Types::ActionConfiguration]
|
|
5079
|
+
#
|
|
4937
5080
|
# @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/PutLogAlarmInput AWS API Documentation
|
|
4938
5081
|
#
|
|
4939
5082
|
class PutLogAlarmInput < Struct.new(
|
|
@@ -4952,7 +5095,8 @@ module Aws::CloudWatch
|
|
|
4952
5095
|
:comparison_operator,
|
|
4953
5096
|
:treat_missing_data,
|
|
4954
5097
|
:tags,
|
|
4955
|
-
:warm_up_configuration
|
|
5098
|
+
:warm_up_configuration,
|
|
5099
|
+
:action_configuration)
|
|
4956
5100
|
SENSITIVE = []
|
|
4957
5101
|
include Aws::Structure
|
|
4958
5102
|
end
|
|
@@ -5497,6 +5641,12 @@ module Aws::CloudWatch
|
|
|
5497
5641
|
# `Metrics`.
|
|
5498
5642
|
# @return [Integer]
|
|
5499
5643
|
#
|
|
5644
|
+
# @!attribute [rw] action_configuration
|
|
5645
|
+
# Settings that change the content of the notifications and events
|
|
5646
|
+
# that the alarm sends when its state changes. These settings apply to
|
|
5647
|
+
# the alarm's actions, whichever state triggers them.
|
|
5648
|
+
# @return [Types::ActionConfiguration]
|
|
5649
|
+
#
|
|
5500
5650
|
# @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/PutMetricAlarmInput AWS API Documentation
|
|
5501
5651
|
#
|
|
5502
5652
|
class PutMetricAlarmInput < Struct.new(
|
|
@@ -5525,7 +5675,8 @@ module Aws::CloudWatch
|
|
|
5525
5675
|
:evaluation_window,
|
|
5526
5676
|
:warm_up_configuration,
|
|
5527
5677
|
:evaluation_criteria,
|
|
5528
|
-
:evaluation_interval
|
|
5678
|
+
:evaluation_interval,
|
|
5679
|
+
:action_configuration)
|
|
5529
5680
|
SENSITIVE = []
|
|
5530
5681
|
include Aws::Structure
|
|
5531
5682
|
end
|
data/lib/aws-sdk-cloudwatch.rb
CHANGED
data/sig/alarm.rbs
CHANGED
|
@@ -114,6 +114,9 @@ module Aws
|
|
|
114
114
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatch/Alarm.html#evaluation_interval-instance_method
|
|
115
115
|
def evaluation_interval: () -> ::Integer
|
|
116
116
|
|
|
117
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatch/Alarm.html#action_configuration-instance_method
|
|
118
|
+
def action_configuration: () -> Types::ActionConfiguration
|
|
119
|
+
|
|
117
120
|
def client: () -> Client
|
|
118
121
|
|
|
119
122
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatch/Alarm.html#load-instance_method
|
data/sig/client.rbs
CHANGED
|
@@ -27,6 +27,7 @@ module Aws
|
|
|
27
27
|
?convert_params: bool,
|
|
28
28
|
?correct_clock_skew: bool,
|
|
29
29
|
?defaults_mode: String,
|
|
30
|
+
?disable_clock_skew_correction: bool,
|
|
30
31
|
?disable_host_prefix_injection: bool,
|
|
31
32
|
?disable_request_compression: bool,
|
|
32
33
|
?endpoint: String,
|
|
@@ -617,7 +618,9 @@ module Aws
|
|
|
617
618
|
end_time: ::Time
|
|
618
619
|
}
|
|
619
620
|
]?,
|
|
620
|
-
metric_timezone: ::String
|
|
621
|
+
metric_timezone: ::String?,
|
|
622
|
+
adaptation_speed: ("FAST" | "NORMAL" | "SLOW")?,
|
|
623
|
+
outlier_filtering_strength: ("MINIMAL" | "MODERATE" | "STRICT")?
|
|
621
624
|
},
|
|
622
625
|
?metric_characteristics: {
|
|
623
626
|
periodic_spikes: bool?
|
|
@@ -644,7 +647,14 @@ module Aws
|
|
|
644
647
|
],
|
|
645
648
|
?actions_suppressor: ::String,
|
|
646
649
|
?actions_suppressor_wait_period: ::Integer,
|
|
647
|
-
?actions_suppressor_extension_period: ::Integer
|
|
650
|
+
?actions_suppressor_extension_period: ::Integer,
|
|
651
|
+
?action_configuration: {
|
|
652
|
+
alarm_tags_propagation: {
|
|
653
|
+
enabled: bool,
|
|
654
|
+
included_tag_keys: Array[::String]?,
|
|
655
|
+
excluded_tag_keys: Array[::String]?
|
|
656
|
+
}?
|
|
657
|
+
}
|
|
648
658
|
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
649
659
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
650
660
|
|
|
@@ -725,6 +735,13 @@ module Aws
|
|
|
725
735
|
?warm_up_configuration: {
|
|
726
736
|
warm_up_period_duration_in_minutes: ::Integer,
|
|
727
737
|
only_start_evaluating_after_warm_up_period_ends: bool?
|
|
738
|
+
},
|
|
739
|
+
?action_configuration: {
|
|
740
|
+
alarm_tags_propagation: {
|
|
741
|
+
enabled: bool,
|
|
742
|
+
included_tag_keys: Array[::String]?,
|
|
743
|
+
excluded_tag_keys: Array[::String]?
|
|
744
|
+
}?
|
|
728
745
|
}
|
|
729
746
|
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
730
747
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
@@ -804,7 +821,14 @@ module Aws
|
|
|
804
821
|
recovery_period: ::Integer?
|
|
805
822
|
}?
|
|
806
823
|
},
|
|
807
|
-
?evaluation_interval: ::Integer
|
|
824
|
+
?evaluation_interval: ::Integer,
|
|
825
|
+
?action_configuration: {
|
|
826
|
+
alarm_tags_propagation: {
|
|
827
|
+
enabled: bool,
|
|
828
|
+
included_tag_keys: Array[::String]?,
|
|
829
|
+
excluded_tag_keys: Array[::String]?
|
|
830
|
+
}?
|
|
831
|
+
}
|
|
808
832
|
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
809
833
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
810
834
|
|
data/sig/composite_alarm.rbs
CHANGED
|
@@ -72,6 +72,9 @@ module Aws
|
|
|
72
72
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatch/CompositeAlarm.html#actions_suppressor_extension_period-instance_method
|
|
73
73
|
def actions_suppressor_extension_period: () -> ::Integer
|
|
74
74
|
|
|
75
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatch/CompositeAlarm.html#action_configuration-instance_method
|
|
76
|
+
def action_configuration: () -> Types::ActionConfiguration
|
|
77
|
+
|
|
75
78
|
def client: () -> Client
|
|
76
79
|
|
|
77
80
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatch/CompositeAlarm.html#load-instance_method
|
data/sig/errors.rbs
CHANGED
|
@@ -11,61 +11,61 @@ module Aws
|
|
|
11
11
|
class ServiceError < ::Aws::Errors::ServiceError
|
|
12
12
|
end
|
|
13
13
|
|
|
14
|
-
class ConcurrentModificationException <
|
|
14
|
+
class ConcurrentModificationException < ServiceError
|
|
15
15
|
end
|
|
16
|
-
class ConflictException <
|
|
16
|
+
class ConflictException < ServiceError
|
|
17
17
|
def message: () -> ::String
|
|
18
18
|
end
|
|
19
|
-
class DashboardInvalidInputError <
|
|
19
|
+
class DashboardInvalidInputError < ServiceError
|
|
20
20
|
def message: () -> ::String
|
|
21
21
|
def dashboard_validation_messages: () -> ::String
|
|
22
22
|
end
|
|
23
|
-
class DashboardNotFoundError <
|
|
23
|
+
class DashboardNotFoundError < ServiceError
|
|
24
24
|
def message: () -> ::String
|
|
25
25
|
end
|
|
26
|
-
class InternalServiceFault <
|
|
26
|
+
class InternalServiceFault < ServiceError
|
|
27
27
|
def message: () -> ::String
|
|
28
28
|
end
|
|
29
|
-
class InvalidFormatFault <
|
|
29
|
+
class InvalidFormatFault < ServiceError
|
|
30
30
|
def message: () -> ::String
|
|
31
31
|
end
|
|
32
|
-
class InvalidNextToken <
|
|
32
|
+
class InvalidNextToken < ServiceError
|
|
33
33
|
def message: () -> ::String
|
|
34
34
|
end
|
|
35
|
-
class InvalidParameterCombinationException <
|
|
35
|
+
class InvalidParameterCombinationException < ServiceError
|
|
36
36
|
def message: () -> ::String
|
|
37
37
|
end
|
|
38
|
-
class InvalidParameterValueException <
|
|
38
|
+
class InvalidParameterValueException < ServiceError
|
|
39
39
|
def message: () -> ::String
|
|
40
40
|
end
|
|
41
|
-
class KmsAccessDeniedException <
|
|
41
|
+
class KmsAccessDeniedException < ServiceError
|
|
42
42
|
def message: () -> ::String
|
|
43
43
|
end
|
|
44
|
-
class KmsKeyDisabledException <
|
|
44
|
+
class KmsKeyDisabledException < ServiceError
|
|
45
45
|
def message: () -> ::String
|
|
46
46
|
end
|
|
47
|
-
class KmsKeyNotFoundException <
|
|
47
|
+
class KmsKeyNotFoundException < ServiceError
|
|
48
48
|
def message: () -> ::String
|
|
49
49
|
end
|
|
50
|
-
class LimitExceededException <
|
|
50
|
+
class LimitExceededException < ServiceError
|
|
51
51
|
end
|
|
52
|
-
class LimitExceededFault <
|
|
52
|
+
class LimitExceededFault < ServiceError
|
|
53
53
|
def message: () -> ::String
|
|
54
54
|
end
|
|
55
|
-
class MissingRequiredParameterException <
|
|
55
|
+
class MissingRequiredParameterException < ServiceError
|
|
56
56
|
def message: () -> ::String
|
|
57
57
|
end
|
|
58
|
-
class ResourceConflict <
|
|
58
|
+
class ResourceConflict < ServiceError
|
|
59
59
|
def message: () -> ::String
|
|
60
60
|
end
|
|
61
|
-
class ResourceNotFound <
|
|
61
|
+
class ResourceNotFound < ServiceError
|
|
62
62
|
def message: () -> ::String
|
|
63
63
|
end
|
|
64
|
-
class ResourceNotFoundException <
|
|
64
|
+
class ResourceNotFoundException < ServiceError
|
|
65
65
|
def resource_type: () -> ::String
|
|
66
66
|
def resource_id: () -> ::String
|
|
67
67
|
end
|
|
68
|
-
class ValidationException <
|
|
68
|
+
class ValidationException < ServiceError
|
|
69
69
|
def message: () -> ::String
|
|
70
70
|
end
|
|
71
71
|
end
|
data/sig/metric.rbs
CHANGED
|
@@ -128,7 +128,14 @@ module Aws
|
|
|
128
128
|
recovery_period: ::Integer?
|
|
129
129
|
}?
|
|
130
130
|
},
|
|
131
|
-
?evaluation_interval: ::Integer
|
|
131
|
+
?evaluation_interval: ::Integer,
|
|
132
|
+
?action_configuration: {
|
|
133
|
+
alarm_tags_propagation: {
|
|
134
|
+
enabled: bool,
|
|
135
|
+
included_tag_keys: Array[::String]?,
|
|
136
|
+
excluded_tag_keys: Array[::String]?
|
|
137
|
+
}?
|
|
138
|
+
}
|
|
132
139
|
) -> Alarm
|
|
133
140
|
| (?Hash[Symbol, untyped]) -> Alarm
|
|
134
141
|
|
data/sig/resource.rbs
CHANGED
data/sig/types.rbs
CHANGED
|
@@ -8,6 +8,11 @@
|
|
|
8
8
|
module Aws::CloudWatch
|
|
9
9
|
module Types
|
|
10
10
|
|
|
11
|
+
class ActionConfiguration
|
|
12
|
+
attr_accessor alarm_tags_propagation: Types::AlarmTagsPropagation
|
|
13
|
+
SENSITIVE: []
|
|
14
|
+
end
|
|
15
|
+
|
|
11
16
|
class AlarmContributor
|
|
12
17
|
attr_accessor contributor_id: ::String
|
|
13
18
|
attr_accessor contributor_attributes: ::Hash[::String, ::String]
|
|
@@ -44,6 +49,13 @@ module Aws::CloudWatch
|
|
|
44
49
|
SENSITIVE: []
|
|
45
50
|
end
|
|
46
51
|
|
|
52
|
+
class AlarmTagsPropagation
|
|
53
|
+
attr_accessor enabled: bool
|
|
54
|
+
attr_accessor included_tag_keys: ::Array[::String]
|
|
55
|
+
attr_accessor excluded_tag_keys: ::Array[::String]
|
|
56
|
+
SENSITIVE: []
|
|
57
|
+
end
|
|
58
|
+
|
|
47
59
|
class AnomalyDetector
|
|
48
60
|
attr_accessor anomaly_detector_id: ::String
|
|
49
61
|
attr_accessor namespace: ::String
|
|
@@ -61,6 +73,8 @@ module Aws::CloudWatch
|
|
|
61
73
|
class AnomalyDetectorConfiguration
|
|
62
74
|
attr_accessor excluded_time_ranges: ::Array[Types::Range]
|
|
63
75
|
attr_accessor metric_timezone: ::String
|
|
76
|
+
attr_accessor adaptation_speed: ("FAST" | "NORMAL" | "SLOW")
|
|
77
|
+
attr_accessor outlier_filtering_strength: ("MINIMAL" | "MODERATE" | "STRICT")
|
|
64
78
|
SENSITIVE: []
|
|
65
79
|
end
|
|
66
80
|
|
|
@@ -93,6 +107,7 @@ module Aws::CloudWatch
|
|
|
93
107
|
attr_accessor actions_suppressor: ::String
|
|
94
108
|
attr_accessor actions_suppressor_wait_period: ::Integer
|
|
95
109
|
attr_accessor actions_suppressor_extension_period: ::Integer
|
|
110
|
+
attr_accessor action_configuration: Types::ActionConfiguration
|
|
96
111
|
SENSITIVE: []
|
|
97
112
|
end
|
|
98
113
|
|
|
@@ -740,6 +755,7 @@ module Aws::CloudWatch
|
|
|
740
755
|
attr_accessor action_log_line_count: ::Integer
|
|
741
756
|
attr_accessor action_log_line_role_arn: ::String
|
|
742
757
|
attr_accessor warm_up_configuration: Types::WarmUpConfiguration
|
|
758
|
+
attr_accessor action_configuration: Types::ActionConfiguration
|
|
743
759
|
SENSITIVE: []
|
|
744
760
|
end
|
|
745
761
|
|
|
@@ -810,6 +826,7 @@ module Aws::CloudWatch
|
|
|
810
826
|
attr_accessor warm_up_configuration: Types::WarmUpConfiguration
|
|
811
827
|
attr_accessor evaluation_criteria: Types::EvaluationCriteria
|
|
812
828
|
attr_accessor evaluation_interval: ::Integer
|
|
829
|
+
attr_accessor action_configuration: Types::ActionConfiguration
|
|
813
830
|
SENSITIVE: []
|
|
814
831
|
end
|
|
815
832
|
|
|
@@ -958,6 +975,7 @@ module Aws::CloudWatch
|
|
|
958
975
|
attr_accessor actions_suppressor: ::String
|
|
959
976
|
attr_accessor actions_suppressor_wait_period: ::Integer
|
|
960
977
|
attr_accessor actions_suppressor_extension_period: ::Integer
|
|
978
|
+
attr_accessor action_configuration: Types::ActionConfiguration
|
|
961
979
|
SENSITIVE: []
|
|
962
980
|
end
|
|
963
981
|
|
|
@@ -1002,6 +1020,7 @@ module Aws::CloudWatch
|
|
|
1002
1020
|
attr_accessor treat_missing_data: ::String
|
|
1003
1021
|
attr_accessor tags: ::Array[Types::Tag]
|
|
1004
1022
|
attr_accessor warm_up_configuration: Types::WarmUpConfiguration
|
|
1023
|
+
attr_accessor action_configuration: Types::ActionConfiguration
|
|
1005
1024
|
SENSITIVE: []
|
|
1006
1025
|
end
|
|
1007
1026
|
|
|
@@ -1042,6 +1061,7 @@ module Aws::CloudWatch
|
|
|
1042
1061
|
attr_accessor warm_up_configuration: Types::WarmUpConfiguration
|
|
1043
1062
|
attr_accessor evaluation_criteria: Types::EvaluationCriteria
|
|
1044
1063
|
attr_accessor evaluation_interval: ::Integer
|
|
1064
|
+
attr_accessor action_configuration: Types::ActionConfiguration
|
|
1045
1065
|
SENSITIVE: []
|
|
1046
1066
|
end
|
|
1047
1067
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: aws-sdk-cloudwatch
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.151.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Amazon Web Services
|
|
@@ -18,7 +18,7 @@ dependencies:
|
|
|
18
18
|
version: '3'
|
|
19
19
|
- - ">="
|
|
20
20
|
- !ruby/object:Gem::Version
|
|
21
|
-
version: 3.
|
|
21
|
+
version: 3.258.0
|
|
22
22
|
type: :runtime
|
|
23
23
|
prerelease: false
|
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -28,7 +28,7 @@ dependencies:
|
|
|
28
28
|
version: '3'
|
|
29
29
|
- - ">="
|
|
30
30
|
- !ruby/object:Gem::Version
|
|
31
|
-
version: 3.
|
|
31
|
+
version: 3.258.0
|
|
32
32
|
- !ruby/object:Gem::Dependency
|
|
33
33
|
name: aws-sigv4
|
|
34
34
|
requirement: !ruby/object:Gem::Requirement
|