aws-sdk-cloudwatch 1.149.0 → 1.150.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-cloudwatch/alarm.rb +8 -0
- data/lib/aws-sdk-cloudwatch/client.rb +69 -1
- data/lib/aws-sdk-cloudwatch/client_api.rb +21 -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 +120 -6
- data/lib/aws-sdk-cloudwatch.rb +1 -1
- data/sig/alarm.rbs +3 -0
- data/sig/client.rbs +23 -2
- data/sig/composite_alarm.rbs +3 -0
- data/sig/errors.rbs +19 -19
- data/sig/metric.rbs +8 -1
- data/sig/types.rbs +18 -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: ffa922a6290966fd1a8311d6a62ee8473fd651642d2c36706a8f6789c0aaace3
|
|
4
|
+
data.tar.gz: be5a95d9de6b3baeaf7301e634fea2bce995c68b1d5d7f1e70f4bd73631b2f23
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7c14eabe21bdaab3d64d324f7119620758e95d3b8ac9c50ea3cd1ce4593b44aea2917eb2496ed22130d9d505862ca8b4e21adb1491fb3867eea90832a2ee86c9
|
|
7
|
+
data.tar.gz: 7abe3a3c24f5fe6fd23e153eb71febd355702d34629960319429368c812c713fbc471038ed63aea8c19b0805b6fa227b313632c298ba66cf2cff822d49ffc86c
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.150.0 (2026-10-19)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* 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
|
|
8
|
+
|
|
4
9
|
1.149.0 (2026-09-24)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.150.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]
|
|
@@ -1286,6 +1286,11 @@ module Aws::CloudWatch
|
|
|
1286
1286
|
# resp.composite_alarms[0].actions_suppressor #=> String
|
|
1287
1287
|
# resp.composite_alarms[0].actions_suppressor_wait_period #=> Integer
|
|
1288
1288
|
# resp.composite_alarms[0].actions_suppressor_extension_period #=> Integer
|
|
1289
|
+
# resp.composite_alarms[0].action_configuration.alarm_tags_propagation.enabled #=> Boolean
|
|
1290
|
+
# resp.composite_alarms[0].action_configuration.alarm_tags_propagation.included_tag_keys #=> Array
|
|
1291
|
+
# resp.composite_alarms[0].action_configuration.alarm_tags_propagation.included_tag_keys[0] #=> String
|
|
1292
|
+
# resp.composite_alarms[0].action_configuration.alarm_tags_propagation.excluded_tag_keys #=> Array
|
|
1293
|
+
# resp.composite_alarms[0].action_configuration.alarm_tags_propagation.excluded_tag_keys[0] #=> String
|
|
1289
1294
|
# resp.metric_alarms #=> Array
|
|
1290
1295
|
# resp.metric_alarms[0].alarm_name #=> String
|
|
1291
1296
|
# resp.metric_alarms[0].alarm_arn #=> String
|
|
@@ -1342,6 +1347,11 @@ module Aws::CloudWatch
|
|
|
1342
1347
|
# resp.metric_alarms[0].evaluation_criteria.prom_ql_criteria.pending_period #=> Integer
|
|
1343
1348
|
# resp.metric_alarms[0].evaluation_criteria.prom_ql_criteria.recovery_period #=> Integer
|
|
1344
1349
|
# resp.metric_alarms[0].evaluation_interval #=> Integer
|
|
1350
|
+
# resp.metric_alarms[0].action_configuration.alarm_tags_propagation.enabled #=> Boolean
|
|
1351
|
+
# resp.metric_alarms[0].action_configuration.alarm_tags_propagation.included_tag_keys #=> Array
|
|
1352
|
+
# resp.metric_alarms[0].action_configuration.alarm_tags_propagation.included_tag_keys[0] #=> String
|
|
1353
|
+
# resp.metric_alarms[0].action_configuration.alarm_tags_propagation.excluded_tag_keys #=> Array
|
|
1354
|
+
# resp.metric_alarms[0].action_configuration.alarm_tags_propagation.excluded_tag_keys[0] #=> String
|
|
1345
1355
|
# resp.log_alarms #=> Array
|
|
1346
1356
|
# resp.log_alarms[0].alarm_name #=> String
|
|
1347
1357
|
# resp.log_alarms[0].alarm_arn #=> String
|
|
@@ -1381,6 +1391,11 @@ module Aws::CloudWatch
|
|
|
1381
1391
|
# resp.log_alarms[0].action_log_line_role_arn #=> String
|
|
1382
1392
|
# resp.log_alarms[0].warm_up_configuration.warm_up_period_duration_in_minutes #=> Integer
|
|
1383
1393
|
# resp.log_alarms[0].warm_up_configuration.only_start_evaluating_after_warm_up_period_ends #=> Boolean
|
|
1394
|
+
# resp.log_alarms[0].action_configuration.alarm_tags_propagation.enabled #=> Boolean
|
|
1395
|
+
# resp.log_alarms[0].action_configuration.alarm_tags_propagation.included_tag_keys #=> Array
|
|
1396
|
+
# resp.log_alarms[0].action_configuration.alarm_tags_propagation.included_tag_keys[0] #=> String
|
|
1397
|
+
# resp.log_alarms[0].action_configuration.alarm_tags_propagation.excluded_tag_keys #=> Array
|
|
1398
|
+
# resp.log_alarms[0].action_configuration.alarm_tags_propagation.excluded_tag_keys[0] #=> String
|
|
1384
1399
|
# resp.next_token #=> String
|
|
1385
1400
|
#
|
|
1386
1401
|
#
|
|
@@ -1511,6 +1526,11 @@ module Aws::CloudWatch
|
|
|
1511
1526
|
# resp.metric_alarms[0].evaluation_criteria.prom_ql_criteria.pending_period #=> Integer
|
|
1512
1527
|
# resp.metric_alarms[0].evaluation_criteria.prom_ql_criteria.recovery_period #=> Integer
|
|
1513
1528
|
# resp.metric_alarms[0].evaluation_interval #=> Integer
|
|
1529
|
+
# resp.metric_alarms[0].action_configuration.alarm_tags_propagation.enabled #=> Boolean
|
|
1530
|
+
# resp.metric_alarms[0].action_configuration.alarm_tags_propagation.included_tag_keys #=> Array
|
|
1531
|
+
# resp.metric_alarms[0].action_configuration.alarm_tags_propagation.included_tag_keys[0] #=> String
|
|
1532
|
+
# resp.metric_alarms[0].action_configuration.alarm_tags_propagation.excluded_tag_keys #=> Array
|
|
1533
|
+
# resp.metric_alarms[0].action_configuration.alarm_tags_propagation.excluded_tag_keys[0] #=> String
|
|
1514
1534
|
#
|
|
1515
1535
|
# @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DescribeAlarmsForMetric AWS API Documentation
|
|
1516
1536
|
#
|
|
@@ -2706,6 +2726,14 @@ module Aws::CloudWatch
|
|
|
2706
2726
|
# regularly, such as every minute, and create your own custom live
|
|
2707
2727
|
# dashboard.
|
|
2708
2728
|
#
|
|
2729
|
+
# <note markdown="1"> `GetMetricWidgetImage` is not available in the Amazon Web Services
|
|
2730
|
+
# GovCloud (US) Regions. In those Regions, calls to this operation fail.
|
|
2731
|
+
# For the list of Amazon CloudWatch features that are not available in
|
|
2732
|
+
# Amazon Web Services GovCloud (US), see [Amazon CloudWatch in Amazon
|
|
2733
|
+
# Web Services GovCloud (US)][1].
|
|
2734
|
+
#
|
|
2735
|
+
# </note>
|
|
2736
|
+
#
|
|
2709
2737
|
# The graph you retrieve can include all CloudWatch metric graph
|
|
2710
2738
|
# features, including metric math and horizontal and vertical
|
|
2711
2739
|
# annotations.
|
|
@@ -2717,6 +2745,10 @@ module Aws::CloudWatch
|
|
|
2717
2745
|
#
|
|
2718
2746
|
# * Up to 100 KB uncompressed payload.
|
|
2719
2747
|
#
|
|
2748
|
+
#
|
|
2749
|
+
#
|
|
2750
|
+
# [1]: https://docs.aws.amazon.com/govcloud-us/latest/UserGuide/govcloud-cw.html
|
|
2751
|
+
#
|
|
2720
2752
|
# @option params [required, String] :metric_widget
|
|
2721
2753
|
# A JSON string that defines the bitmap graph to be retrieved. The
|
|
2722
2754
|
# string includes the metrics to include in the graph, statistics,
|
|
@@ -3793,6 +3825,11 @@ module Aws::CloudWatch
|
|
|
3793
3825
|
# `ExtensionPeriod` is required only when `ActionsSuppressor` is
|
|
3794
3826
|
# specified.
|
|
3795
3827
|
#
|
|
3828
|
+
# @option params [Types::ActionConfiguration] :action_configuration
|
|
3829
|
+
# Settings that change the content of the notifications and events that
|
|
3830
|
+
# the alarm sends when its state changes. These settings apply to the
|
|
3831
|
+
# alarm's actions, whichever state triggers them.
|
|
3832
|
+
#
|
|
3796
3833
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
3797
3834
|
#
|
|
3798
3835
|
# @example Request syntax with placeholder values
|
|
@@ -3814,6 +3851,13 @@ module Aws::CloudWatch
|
|
|
3814
3851
|
# actions_suppressor: "AlarmArn",
|
|
3815
3852
|
# actions_suppressor_wait_period: 1,
|
|
3816
3853
|
# actions_suppressor_extension_period: 1,
|
|
3854
|
+
# action_configuration: {
|
|
3855
|
+
# alarm_tags_propagation: {
|
|
3856
|
+
# enabled: false, # required
|
|
3857
|
+
# included_tag_keys: ["AlarmTagsPropagationTagKey"],
|
|
3858
|
+
# excluded_tag_keys: ["AlarmTagsPropagationTagKey"],
|
|
3859
|
+
# },
|
|
3860
|
+
# },
|
|
3817
3861
|
# })
|
|
3818
3862
|
#
|
|
3819
3863
|
# @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/PutCompositeAlarm AWS API Documentation
|
|
@@ -4186,6 +4230,11 @@ module Aws::CloudWatch
|
|
|
4186
4230
|
#
|
|
4187
4231
|
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/alarm-warm-up.html
|
|
4188
4232
|
#
|
|
4233
|
+
# @option params [Types::ActionConfiguration] :action_configuration
|
|
4234
|
+
# Settings that change the content of the notifications and events that
|
|
4235
|
+
# the alarm sends when its state changes. These settings apply to the
|
|
4236
|
+
# alarm's actions, whichever state triggers them.
|
|
4237
|
+
#
|
|
4189
4238
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
4190
4239
|
#
|
|
4191
4240
|
# @example Request syntax with placeholder values
|
|
@@ -4232,6 +4281,13 @@ module Aws::CloudWatch
|
|
|
4232
4281
|
# warm_up_period_duration_in_minutes: 1, # required
|
|
4233
4282
|
# only_start_evaluating_after_warm_up_period_ends: false,
|
|
4234
4283
|
# },
|
|
4284
|
+
# action_configuration: {
|
|
4285
|
+
# alarm_tags_propagation: {
|
|
4286
|
+
# enabled: false, # required
|
|
4287
|
+
# included_tag_keys: ["AlarmTagsPropagationTagKey"],
|
|
4288
|
+
# excluded_tag_keys: ["AlarmTagsPropagationTagKey"],
|
|
4289
|
+
# },
|
|
4290
|
+
# },
|
|
4235
4291
|
# })
|
|
4236
4292
|
#
|
|
4237
4293
|
# @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/PutLogAlarm AWS API Documentation
|
|
@@ -4843,6 +4899,11 @@ module Aws::CloudWatch
|
|
|
4843
4899
|
# and cannot be specified for alarms configured with `MetricName` or
|
|
4844
4900
|
# `Metrics`.
|
|
4845
4901
|
#
|
|
4902
|
+
# @option params [Types::ActionConfiguration] :action_configuration
|
|
4903
|
+
# Settings that change the content of the notifications and events that
|
|
4904
|
+
# the alarm sends when its state changes. These settings apply to the
|
|
4905
|
+
# alarm's actions, whichever state triggers them.
|
|
4906
|
+
#
|
|
4846
4907
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
4847
4908
|
#
|
|
4848
4909
|
# @example Request syntax with placeholder values
|
|
@@ -4923,6 +4984,13 @@ module Aws::CloudWatch
|
|
|
4923
4984
|
# },
|
|
4924
4985
|
# },
|
|
4925
4986
|
# evaluation_interval: 1,
|
|
4987
|
+
# action_configuration: {
|
|
4988
|
+
# alarm_tags_propagation: {
|
|
4989
|
+
# enabled: false, # required
|
|
4990
|
+
# included_tag_keys: ["AlarmTagsPropagationTagKey"],
|
|
4991
|
+
# excluded_tag_keys: ["AlarmTagsPropagationTagKey"],
|
|
4992
|
+
# },
|
|
4993
|
+
# },
|
|
4926
4994
|
# })
|
|
4927
4995
|
#
|
|
4928
4996
|
# @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/PutMetricAlarm AWS API Documentation
|
|
@@ -5840,7 +5908,7 @@ module Aws::CloudWatch
|
|
|
5840
5908
|
tracer: tracer
|
|
5841
5909
|
)
|
|
5842
5910
|
context[:gem_name] = 'aws-sdk-cloudwatch'
|
|
5843
|
-
context[:gem_version] = '1.
|
|
5911
|
+
context[:gem_version] = '1.150.0'
|
|
5844
5912
|
Seahorse::Client::Request.new(handlers, context)
|
|
5845
5913
|
end
|
|
5846
5914
|
|
|
@@ -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,6 +38,10 @@ 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')
|
|
@@ -394,6 +399,9 @@ module Aws::CloudWatch
|
|
|
394
399
|
WarmUpConfiguration = Shapes::StructureShape.new(name: 'WarmUpConfiguration')
|
|
395
400
|
WarmUpPeriodDurationInMinutes = Shapes::IntegerShape.new(name: 'WarmUpPeriodDurationInMinutes')
|
|
396
401
|
|
|
402
|
+
ActionConfiguration.add_member(:alarm_tags_propagation, Shapes::ShapeRef.new(shape: AlarmTagsPropagation, location_name: "AlarmTagsPropagation"))
|
|
403
|
+
ActionConfiguration.struct_class = Types::ActionConfiguration
|
|
404
|
+
|
|
397
405
|
AlarmContributor.add_member(:contributor_id, Shapes::ShapeRef.new(shape: ContributorId, required: true, location_name: "ContributorId"))
|
|
398
406
|
AlarmContributor.add_member(:contributor_attributes, Shapes::ShapeRef.new(shape: ContributorAttributes, required: true, location_name: "ContributorAttributes"))
|
|
399
407
|
AlarmContributor.add_member(:state_reason, Shapes::ShapeRef.new(shape: StateReason, required: true, location_name: "StateReason"))
|
|
@@ -432,6 +440,13 @@ module Aws::CloudWatch
|
|
|
432
440
|
AlarmPromQLCriteria.add_member(:recovery_period, Shapes::ShapeRef.new(shape: RecoveryPeriod, location_name: "RecoveryPeriod"))
|
|
433
441
|
AlarmPromQLCriteria.struct_class = Types::AlarmPromQLCriteria
|
|
434
442
|
|
|
443
|
+
AlarmTagsPropagation.add_member(:enabled, Shapes::ShapeRef.new(shape: AlarmTagsPropagationEnabled, required: true, location_name: "Enabled"))
|
|
444
|
+
AlarmTagsPropagation.add_member(:included_tag_keys, Shapes::ShapeRef.new(shape: AlarmTagsPropagationTagKeys, location_name: "IncludedTagKeys"))
|
|
445
|
+
AlarmTagsPropagation.add_member(:excluded_tag_keys, Shapes::ShapeRef.new(shape: AlarmTagsPropagationTagKeys, location_name: "ExcludedTagKeys"))
|
|
446
|
+
AlarmTagsPropagation.struct_class = Types::AlarmTagsPropagation
|
|
447
|
+
|
|
448
|
+
AlarmTagsPropagationTagKeys.member = Shapes::ShapeRef.new(shape: AlarmTagsPropagationTagKey)
|
|
449
|
+
|
|
435
450
|
AlarmTypes.member = Shapes::ShapeRef.new(shape: AlarmType)
|
|
436
451
|
|
|
437
452
|
AnomalyDetector.add_member(:anomaly_detector_id, Shapes::ShapeRef.new(shape: AnomalyDetectorId, location_name: "AnomalyDetectorId"))
|
|
@@ -485,6 +500,7 @@ module Aws::CloudWatch
|
|
|
485
500
|
CompositeAlarm.add_member(:actions_suppressor, Shapes::ShapeRef.new(shape: AlarmArn, location_name: "ActionsSuppressor"))
|
|
486
501
|
CompositeAlarm.add_member(:actions_suppressor_wait_period, Shapes::ShapeRef.new(shape: SuppressorPeriod, location_name: "ActionsSuppressorWaitPeriod"))
|
|
487
502
|
CompositeAlarm.add_member(:actions_suppressor_extension_period, Shapes::ShapeRef.new(shape: SuppressorPeriod, location_name: "ActionsSuppressorExtensionPeriod"))
|
|
503
|
+
CompositeAlarm.add_member(:action_configuration, Shapes::ShapeRef.new(shape: ActionConfiguration, location_name: "ActionConfiguration"))
|
|
488
504
|
CompositeAlarm.struct_class = Types::CompositeAlarm
|
|
489
505
|
|
|
490
506
|
CompositeAlarms.member = Shapes::ShapeRef.new(shape: CompositeAlarm)
|
|
@@ -993,6 +1009,7 @@ module Aws::CloudWatch
|
|
|
993
1009
|
LogAlarm.add_member(:action_log_line_count, Shapes::ShapeRef.new(shape: ActionLogLineCount, location_name: "ActionLogLineCount"))
|
|
994
1010
|
LogAlarm.add_member(:action_log_line_role_arn, Shapes::ShapeRef.new(shape: ActionLogLineRoleArn, location_name: "ActionLogLineRoleArn"))
|
|
995
1011
|
LogAlarm.add_member(:warm_up_configuration, Shapes::ShapeRef.new(shape: WarmUpConfiguration, location_name: "WarmUpConfiguration"))
|
|
1012
|
+
LogAlarm.add_member(:action_configuration, Shapes::ShapeRef.new(shape: ActionConfiguration, location_name: "ActionConfiguration"))
|
|
996
1013
|
LogAlarm.struct_class = Types::LogAlarm
|
|
997
1014
|
|
|
998
1015
|
LogAlarms.member = Shapes::ShapeRef.new(shape: LogAlarm)
|
|
@@ -1059,6 +1076,7 @@ module Aws::CloudWatch
|
|
|
1059
1076
|
MetricAlarm.add_member(:warm_up_configuration, Shapes::ShapeRef.new(shape: WarmUpConfiguration, location_name: "WarmUpConfiguration"))
|
|
1060
1077
|
MetricAlarm.add_member(:evaluation_criteria, Shapes::ShapeRef.new(shape: EvaluationCriteria, location_name: "EvaluationCriteria"))
|
|
1061
1078
|
MetricAlarm.add_member(:evaluation_interval, Shapes::ShapeRef.new(shape: EvaluationInterval, location_name: "EvaluationInterval"))
|
|
1079
|
+
MetricAlarm.add_member(:action_configuration, Shapes::ShapeRef.new(shape: ActionConfiguration, location_name: "ActionConfiguration"))
|
|
1062
1080
|
MetricAlarm.struct_class = Types::MetricAlarm
|
|
1063
1081
|
|
|
1064
1082
|
MetricAlarms.member = Shapes::ShapeRef.new(shape: MetricAlarm)
|
|
@@ -1207,6 +1225,7 @@ module Aws::CloudWatch
|
|
|
1207
1225
|
PutCompositeAlarmInput.add_member(:actions_suppressor, Shapes::ShapeRef.new(shape: AlarmArn, location_name: "ActionsSuppressor"))
|
|
1208
1226
|
PutCompositeAlarmInput.add_member(:actions_suppressor_wait_period, Shapes::ShapeRef.new(shape: SuppressorPeriod, location_name: "ActionsSuppressorWaitPeriod"))
|
|
1209
1227
|
PutCompositeAlarmInput.add_member(:actions_suppressor_extension_period, Shapes::ShapeRef.new(shape: SuppressorPeriod, location_name: "ActionsSuppressorExtensionPeriod"))
|
|
1228
|
+
PutCompositeAlarmInput.add_member(:action_configuration, Shapes::ShapeRef.new(shape: ActionConfiguration, location_name: "ActionConfiguration"))
|
|
1210
1229
|
PutCompositeAlarmInput.struct_class = Types::PutCompositeAlarmInput
|
|
1211
1230
|
|
|
1212
1231
|
PutDashboardInput.add_member(:dashboard_name, Shapes::ShapeRef.new(shape: DashboardName, required: true, location_name: "DashboardName"))
|
|
@@ -1242,6 +1261,7 @@ module Aws::CloudWatch
|
|
|
1242
1261
|
PutLogAlarmInput.add_member(:treat_missing_data, Shapes::ShapeRef.new(shape: TreatMissingData, location_name: "TreatMissingData"))
|
|
1243
1262
|
PutLogAlarmInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
|
1244
1263
|
PutLogAlarmInput.add_member(:warm_up_configuration, Shapes::ShapeRef.new(shape: WarmUpConfiguration, location_name: "WarmUpConfiguration"))
|
|
1264
|
+
PutLogAlarmInput.add_member(:action_configuration, Shapes::ShapeRef.new(shape: ActionConfiguration, location_name: "ActionConfiguration"))
|
|
1245
1265
|
PutLogAlarmInput.struct_class = Types::PutLogAlarmInput
|
|
1246
1266
|
|
|
1247
1267
|
PutManagedInsightRulesInput.add_member(:managed_rules, Shapes::ShapeRef.new(shape: ManagedRules, required: true, location_name: "ManagedRules"))
|
|
@@ -1276,6 +1296,7 @@ module Aws::CloudWatch
|
|
|
1276
1296
|
PutMetricAlarmInput.add_member(:warm_up_configuration, Shapes::ShapeRef.new(shape: WarmUpConfiguration, location_name: "WarmUpConfiguration"))
|
|
1277
1297
|
PutMetricAlarmInput.add_member(:evaluation_criteria, Shapes::ShapeRef.new(shape: EvaluationCriteria, location_name: "EvaluationCriteria"))
|
|
1278
1298
|
PutMetricAlarmInput.add_member(:evaluation_interval, Shapes::ShapeRef.new(shape: EvaluationInterval, location_name: "EvaluationInterval"))
|
|
1299
|
+
PutMetricAlarmInput.add_member(:action_configuration, Shapes::ShapeRef.new(shape: ActionConfiguration, location_name: "ActionConfiguration"))
|
|
1279
1300
|
PutMetricAlarmInput.struct_class = Types::PutMetricAlarmInput
|
|
1280
1301
|
|
|
1281
1302
|
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.
|
|
@@ -422,6 +494,12 @@ module Aws::CloudWatch
|
|
|
422
494
|
# specified.
|
|
423
495
|
# @return [Integer]
|
|
424
496
|
#
|
|
497
|
+
# @!attribute [rw] action_configuration
|
|
498
|
+
# Settings that change the content of the notifications and events
|
|
499
|
+
# that the alarm sends when its state changes. These settings apply to
|
|
500
|
+
# the alarm's actions, whichever state triggers them.
|
|
501
|
+
# @return [Types::ActionConfiguration]
|
|
502
|
+
#
|
|
425
503
|
# @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/CompositeAlarm AWS API Documentation
|
|
426
504
|
#
|
|
427
505
|
class CompositeAlarm < Struct.new(
|
|
@@ -443,7 +521,8 @@ module Aws::CloudWatch
|
|
|
443
521
|
:actions_suppressed_reason,
|
|
444
522
|
:actions_suppressor,
|
|
445
523
|
:actions_suppressor_wait_period,
|
|
446
|
-
:actions_suppressor_extension_period
|
|
524
|
+
:actions_suppressor_extension_period,
|
|
525
|
+
:action_configuration)
|
|
447
526
|
SENSITIVE = []
|
|
448
527
|
include Aws::Structure
|
|
449
528
|
end
|
|
@@ -3185,6 +3264,12 @@ module Aws::CloudWatch
|
|
|
3185
3264
|
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/alarm-warm-up.html
|
|
3186
3265
|
# @return [Types::WarmUpConfiguration]
|
|
3187
3266
|
#
|
|
3267
|
+
# @!attribute [rw] action_configuration
|
|
3268
|
+
# Settings that change the content of the notifications and events
|
|
3269
|
+
# that the alarm sends when its state changes. These settings apply to
|
|
3270
|
+
# the alarm's actions, whichever state triggers them.
|
|
3271
|
+
# @return [Types::ActionConfiguration]
|
|
3272
|
+
#
|
|
3188
3273
|
# @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/LogAlarm AWS API Documentation
|
|
3189
3274
|
#
|
|
3190
3275
|
class LogAlarm < Struct.new(
|
|
@@ -3210,7 +3295,8 @@ module Aws::CloudWatch
|
|
|
3210
3295
|
:evaluation_state,
|
|
3211
3296
|
:action_log_line_count,
|
|
3212
3297
|
:action_log_line_role_arn,
|
|
3213
|
-
:warm_up_configuration
|
|
3298
|
+
:warm_up_configuration,
|
|
3299
|
+
:action_configuration)
|
|
3214
3300
|
SENSITIVE = []
|
|
3215
3301
|
include Aws::Structure
|
|
3216
3302
|
end
|
|
@@ -3557,6 +3643,12 @@ module Aws::CloudWatch
|
|
|
3557
3643
|
# The frequency, in seconds, at which the alarm is evaluated.
|
|
3558
3644
|
# @return [Integer]
|
|
3559
3645
|
#
|
|
3646
|
+
# @!attribute [rw] action_configuration
|
|
3647
|
+
# Settings that change the content of the notifications and events
|
|
3648
|
+
# that the alarm sends when its state changes. These settings apply to
|
|
3649
|
+
# the alarm's actions, whichever state triggers them.
|
|
3650
|
+
# @return [Types::ActionConfiguration]
|
|
3651
|
+
#
|
|
3560
3652
|
# @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/MetricAlarm AWS API Documentation
|
|
3561
3653
|
#
|
|
3562
3654
|
class MetricAlarm < Struct.new(
|
|
@@ -3592,7 +3684,8 @@ module Aws::CloudWatch
|
|
|
3592
3684
|
:evaluation_window,
|
|
3593
3685
|
:warm_up_configuration,
|
|
3594
3686
|
:evaluation_criteria,
|
|
3595
|
-
:evaluation_interval
|
|
3687
|
+
:evaluation_interval,
|
|
3688
|
+
:action_configuration)
|
|
3596
3689
|
SENSITIVE = []
|
|
3597
3690
|
include Aws::Structure
|
|
3598
3691
|
end
|
|
@@ -4606,6 +4699,12 @@ module Aws::CloudWatch
|
|
|
4606
4699
|
# specified.
|
|
4607
4700
|
# @return [Integer]
|
|
4608
4701
|
#
|
|
4702
|
+
# @!attribute [rw] action_configuration
|
|
4703
|
+
# Settings that change the content of the notifications and events
|
|
4704
|
+
# that the alarm sends when its state changes. These settings apply to
|
|
4705
|
+
# the alarm's actions, whichever state triggers them.
|
|
4706
|
+
# @return [Types::ActionConfiguration]
|
|
4707
|
+
#
|
|
4609
4708
|
# @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/PutCompositeAlarmInput AWS API Documentation
|
|
4610
4709
|
#
|
|
4611
4710
|
class PutCompositeAlarmInput < Struct.new(
|
|
@@ -4619,7 +4718,8 @@ module Aws::CloudWatch
|
|
|
4619
4718
|
:tags,
|
|
4620
4719
|
:actions_suppressor,
|
|
4621
4720
|
:actions_suppressor_wait_period,
|
|
4622
|
-
:actions_suppressor_extension_period
|
|
4721
|
+
:actions_suppressor_extension_period,
|
|
4722
|
+
:action_configuration)
|
|
4623
4723
|
SENSITIVE = []
|
|
4624
4724
|
include Aws::Structure
|
|
4625
4725
|
end
|
|
@@ -4934,6 +5034,12 @@ module Aws::CloudWatch
|
|
|
4934
5034
|
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/alarm-warm-up.html
|
|
4935
5035
|
# @return [Types::WarmUpConfiguration]
|
|
4936
5036
|
#
|
|
5037
|
+
# @!attribute [rw] action_configuration
|
|
5038
|
+
# Settings that change the content of the notifications and events
|
|
5039
|
+
# that the alarm sends when its state changes. These settings apply to
|
|
5040
|
+
# the alarm's actions, whichever state triggers them.
|
|
5041
|
+
# @return [Types::ActionConfiguration]
|
|
5042
|
+
#
|
|
4937
5043
|
# @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/PutLogAlarmInput AWS API Documentation
|
|
4938
5044
|
#
|
|
4939
5045
|
class PutLogAlarmInput < Struct.new(
|
|
@@ -4952,7 +5058,8 @@ module Aws::CloudWatch
|
|
|
4952
5058
|
:comparison_operator,
|
|
4953
5059
|
:treat_missing_data,
|
|
4954
5060
|
:tags,
|
|
4955
|
-
:warm_up_configuration
|
|
5061
|
+
:warm_up_configuration,
|
|
5062
|
+
:action_configuration)
|
|
4956
5063
|
SENSITIVE = []
|
|
4957
5064
|
include Aws::Structure
|
|
4958
5065
|
end
|
|
@@ -5497,6 +5604,12 @@ module Aws::CloudWatch
|
|
|
5497
5604
|
# `Metrics`.
|
|
5498
5605
|
# @return [Integer]
|
|
5499
5606
|
#
|
|
5607
|
+
# @!attribute [rw] action_configuration
|
|
5608
|
+
# Settings that change the content of the notifications and events
|
|
5609
|
+
# that the alarm sends when its state changes. These settings apply to
|
|
5610
|
+
# the alarm's actions, whichever state triggers them.
|
|
5611
|
+
# @return [Types::ActionConfiguration]
|
|
5612
|
+
#
|
|
5500
5613
|
# @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/PutMetricAlarmInput AWS API Documentation
|
|
5501
5614
|
#
|
|
5502
5615
|
class PutMetricAlarmInput < Struct.new(
|
|
@@ -5525,7 +5638,8 @@ module Aws::CloudWatch
|
|
|
5525
5638
|
:evaluation_window,
|
|
5526
5639
|
:warm_up_configuration,
|
|
5527
5640
|
:evaluation_criteria,
|
|
5528
|
-
:evaluation_interval
|
|
5641
|
+
:evaluation_interval,
|
|
5642
|
+
:action_configuration)
|
|
5529
5643
|
SENSITIVE = []
|
|
5530
5644
|
include Aws::Structure
|
|
5531
5645
|
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
|
@@ -644,7 +644,14 @@ module Aws
|
|
|
644
644
|
],
|
|
645
645
|
?actions_suppressor: ::String,
|
|
646
646
|
?actions_suppressor_wait_period: ::Integer,
|
|
647
|
-
?actions_suppressor_extension_period: ::Integer
|
|
647
|
+
?actions_suppressor_extension_period: ::Integer,
|
|
648
|
+
?action_configuration: {
|
|
649
|
+
alarm_tags_propagation: {
|
|
650
|
+
enabled: bool,
|
|
651
|
+
included_tag_keys: Array[::String]?,
|
|
652
|
+
excluded_tag_keys: Array[::String]?
|
|
653
|
+
}?
|
|
654
|
+
}
|
|
648
655
|
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
649
656
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
650
657
|
|
|
@@ -725,6 +732,13 @@ module Aws
|
|
|
725
732
|
?warm_up_configuration: {
|
|
726
733
|
warm_up_period_duration_in_minutes: ::Integer,
|
|
727
734
|
only_start_evaluating_after_warm_up_period_ends: bool?
|
|
735
|
+
},
|
|
736
|
+
?action_configuration: {
|
|
737
|
+
alarm_tags_propagation: {
|
|
738
|
+
enabled: bool,
|
|
739
|
+
included_tag_keys: Array[::String]?,
|
|
740
|
+
excluded_tag_keys: Array[::String]?
|
|
741
|
+
}?
|
|
728
742
|
}
|
|
729
743
|
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
730
744
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
@@ -804,7 +818,14 @@ module Aws
|
|
|
804
818
|
recovery_period: ::Integer?
|
|
805
819
|
}?
|
|
806
820
|
},
|
|
807
|
-
?evaluation_interval: ::Integer
|
|
821
|
+
?evaluation_interval: ::Integer,
|
|
822
|
+
?action_configuration: {
|
|
823
|
+
alarm_tags_propagation: {
|
|
824
|
+
enabled: bool,
|
|
825
|
+
included_tag_keys: Array[::String]?,
|
|
826
|
+
excluded_tag_keys: Array[::String]?
|
|
827
|
+
}?
|
|
828
|
+
}
|
|
808
829
|
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
809
830
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
810
831
|
|
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/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
|
|
@@ -93,6 +105,7 @@ module Aws::CloudWatch
|
|
|
93
105
|
attr_accessor actions_suppressor: ::String
|
|
94
106
|
attr_accessor actions_suppressor_wait_period: ::Integer
|
|
95
107
|
attr_accessor actions_suppressor_extension_period: ::Integer
|
|
108
|
+
attr_accessor action_configuration: Types::ActionConfiguration
|
|
96
109
|
SENSITIVE: []
|
|
97
110
|
end
|
|
98
111
|
|
|
@@ -740,6 +753,7 @@ module Aws::CloudWatch
|
|
|
740
753
|
attr_accessor action_log_line_count: ::Integer
|
|
741
754
|
attr_accessor action_log_line_role_arn: ::String
|
|
742
755
|
attr_accessor warm_up_configuration: Types::WarmUpConfiguration
|
|
756
|
+
attr_accessor action_configuration: Types::ActionConfiguration
|
|
743
757
|
SENSITIVE: []
|
|
744
758
|
end
|
|
745
759
|
|
|
@@ -810,6 +824,7 @@ module Aws::CloudWatch
|
|
|
810
824
|
attr_accessor warm_up_configuration: Types::WarmUpConfiguration
|
|
811
825
|
attr_accessor evaluation_criteria: Types::EvaluationCriteria
|
|
812
826
|
attr_accessor evaluation_interval: ::Integer
|
|
827
|
+
attr_accessor action_configuration: Types::ActionConfiguration
|
|
813
828
|
SENSITIVE: []
|
|
814
829
|
end
|
|
815
830
|
|
|
@@ -958,6 +973,7 @@ module Aws::CloudWatch
|
|
|
958
973
|
attr_accessor actions_suppressor: ::String
|
|
959
974
|
attr_accessor actions_suppressor_wait_period: ::Integer
|
|
960
975
|
attr_accessor actions_suppressor_extension_period: ::Integer
|
|
976
|
+
attr_accessor action_configuration: Types::ActionConfiguration
|
|
961
977
|
SENSITIVE: []
|
|
962
978
|
end
|
|
963
979
|
|
|
@@ -1002,6 +1018,7 @@ module Aws::CloudWatch
|
|
|
1002
1018
|
attr_accessor treat_missing_data: ::String
|
|
1003
1019
|
attr_accessor tags: ::Array[Types::Tag]
|
|
1004
1020
|
attr_accessor warm_up_configuration: Types::WarmUpConfiguration
|
|
1021
|
+
attr_accessor action_configuration: Types::ActionConfiguration
|
|
1005
1022
|
SENSITIVE: []
|
|
1006
1023
|
end
|
|
1007
1024
|
|
|
@@ -1042,6 +1059,7 @@ module Aws::CloudWatch
|
|
|
1042
1059
|
attr_accessor warm_up_configuration: Types::WarmUpConfiguration
|
|
1043
1060
|
attr_accessor evaluation_criteria: Types::EvaluationCriteria
|
|
1044
1061
|
attr_accessor evaluation_interval: ::Integer
|
|
1062
|
+
attr_accessor action_configuration: Types::ActionConfiguration
|
|
1045
1063
|
SENSITIVE: []
|
|
1046
1064
|
end
|
|
1047
1065
|
|
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.150.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
|