aws-sdk-cloudwatch 1.145.0 → 1.146.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9178d50ad4fbde97cad9ed81cde82cdded7fa5e34588ed96f4749194691951aa
4
- data.tar.gz: 8ded76600ccc0c1946c6f64d0786440bbe5d10ba5604dc9e81ee5de73d345855
3
+ metadata.gz: 3806dffa67d2edcf3c4b36874491a8bfb57d5ab5e0ecc3f8dde87ad88d7f5f74
4
+ data.tar.gz: 9a053e267bcd6ba6302285687f10e1ac59650253e13868b786f2472a1546c93e
5
5
  SHA512:
6
- metadata.gz: 9982d62058c3ca0d42f8640a0117b0d8fe6f3deed066a5c6747897bdd246344b15ec48f21e706522b9f40b3edd29c5bd5b20b536b6b3c9c78f0264affc5f79bc
7
- data.tar.gz: a9a06dc76ef202ea2392426ed3a72cbebe813a695cc9c9b5f7f86cae55f0ac5e1b383d9ef5de977a544b6440c11dd5c865a41fac70545cf28ec0402464a598c5
6
+ metadata.gz: b7b27756c4597a8c43fdf535c2bef85a5c3f5d72a0227c18c7397aa787f440f26413ef1801ae56149faefb25810df1e9eb8890d14f9940efa077dc05b24a408c
7
+ data.tar.gz: 66fcf5bbc50aac3f992cd8f25e353388a4181dfebda83cb52e9149009c7c6e18db56ca89cb15d5c260876a846f889be4074a7dae6eda951258c307dddf64dcba
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.146.0 (2026-08-21)
5
+ ------------------
6
+
7
+ * Feature - Allows customers to specify an initial warm up period to wait for metrics to arrive when creating metric or log alarms
8
+
4
9
  1.145.0 (2026-07-22)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.145.0
1
+ 1.146.0
@@ -269,6 +269,22 @@ module Aws::CloudWatch
269
269
  data[:evaluation_window]
270
270
  end
271
271
 
272
+ # The warm-up configuration for the alarm. A warm-up period delays alarm
273
+ # evaluation after you create or update the alarm. During the warm-up
274
+ # period, the alarm stays in `INSUFFICIENT_DATA` and does not perform
275
+ # alarm actions.
276
+ #
277
+ # For more information, see [Alarm warm-up periods][1] in the *Amazon
278
+ # CloudWatch User Guide*.
279
+ #
280
+ #
281
+ #
282
+ # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/alarm-warm-up.html
283
+ # @return [Types::WarmUpConfiguration]
284
+ def warm_up_configuration
285
+ data[:warm_up_configuration]
286
+ end
287
+
272
288
  # The evaluation criteria for the alarm.
273
289
  # @return [Types::EvaluationCriteria]
274
290
  def evaluation_criteria
@@ -493,8 +493,18 @@ module Aws::CloudWatch
493
493
  #
494
494
  # You can call `AssociateDatasetKmsKey` on a dataset that is already
495
495
  # associated with a KMS key to replace the existing key with a different
496
- # one. To replace a key, the caller must have `kms:Decrypt` permission
497
- # on both the current key and the new key.
496
+ # one. The caller must have `kms:Decrypt` permission on both the current
497
+ # key and the new key.
498
+ #
499
+ # <note markdown="1"> If the currently associated key has been deleted, is scheduled for
500
+ # deletion, is pending import, is unavailable, or has been disabled,
501
+ # Amazon CloudWatch does not require `kms:Decrypt` permission on the
502
+ # current key and the rotation proceeds. If the key was only disabled,
503
+ # consider re-enabling it instead of rotating, because re-enabling
504
+ # allows Amazon CloudWatch to resume decrypting your existing metric
505
+ # data encrypted with that key.
506
+ #
507
+ # </note>
498
508
  #
499
509
  # The KMS key that you specify must meet all of the following
500
510
  # requirements:
@@ -526,15 +536,14 @@ module Aws::CloudWatch
526
536
  # `kms:GenerateDataKey`, `kms:Encrypt`, `kms:Decrypt`, and
527
537
  # `kms:ReEncrypt*`. After those succeed, a `kms:Decrypt` dry-run is run
528
538
  # with the caller's credentials to verify that the calling principal
529
- # can use the key. When you are replacing an existing key, the caller's
530
- # `kms:Decrypt` dry-run is run on the current key first, and only then
531
- # on the new key.
539
+ # can use the new key. When you are replacing an existing key, the
540
+ # caller's `kms:Decrypt` dry-run is also run on the current key.
532
541
  #
533
- # If any of these checks fails, the operation fails and the existing key
534
- # association (if any) remains unchanged. Common failure causes include
535
- # the key being disabled, the key policy not granting the required
536
- # permissions to Amazon CloudWatch, or the caller lacking `kms:Decrypt`
537
- # permission on the key.
542
+ # If any of these checks on the new key fails, the operation fails and
543
+ # the existing key association (if any) remains unchanged. Common
544
+ # failure causes include the new key being disabled, the key policy not
545
+ # granting the required permissions to Amazon CloudWatch, or the caller
546
+ # lacking `kms:Decrypt` permission on the new key.
538
547
  #
539
548
  # For more information about using customer managed keys with Amazon
540
549
  # CloudWatch, see [Encryption at rest with customer managed keys][1] in
@@ -1219,6 +1228,8 @@ module Aws::CloudWatch
1219
1228
  # resp.metric_alarms[0].evaluation_state #=> String, one of "PARTIAL_DATA", "EVALUATION_FAILURE", "EVALUATION_ERROR"
1220
1229
  # resp.metric_alarms[0].state_transitioned_timestamp #=> Time
1221
1230
  # resp.metric_alarms[0].evaluation_window.wall_clock_window.timezone #=> String
1231
+ # resp.metric_alarms[0].warm_up_configuration.warm_up_period_duration_in_minutes #=> Integer
1232
+ # resp.metric_alarms[0].warm_up_configuration.only_start_evaluating_after_warm_up_period_ends #=> Boolean
1222
1233
  # resp.metric_alarms[0].evaluation_criteria.prom_ql_criteria.query #=> String
1223
1234
  # resp.metric_alarms[0].evaluation_criteria.prom_ql_criteria.pending_period #=> Integer
1224
1235
  # resp.metric_alarms[0].evaluation_criteria.prom_ql_criteria.recovery_period #=> Integer
@@ -1260,6 +1271,8 @@ module Aws::CloudWatch
1260
1271
  # resp.log_alarms[0].evaluation_state #=> String, one of "PARTIAL_DATA", "EVALUATION_FAILURE", "EVALUATION_ERROR"
1261
1272
  # resp.log_alarms[0].action_log_line_count #=> Integer
1262
1273
  # resp.log_alarms[0].action_log_line_role_arn #=> String
1274
+ # resp.log_alarms[0].warm_up_configuration.warm_up_period_duration_in_minutes #=> Integer
1275
+ # resp.log_alarms[0].warm_up_configuration.only_start_evaluating_after_warm_up_period_ends #=> Boolean
1263
1276
  # resp.next_token #=> String
1264
1277
  #
1265
1278
  #
@@ -1384,6 +1397,8 @@ module Aws::CloudWatch
1384
1397
  # resp.metric_alarms[0].evaluation_state #=> String, one of "PARTIAL_DATA", "EVALUATION_FAILURE", "EVALUATION_ERROR"
1385
1398
  # resp.metric_alarms[0].state_transitioned_timestamp #=> Time
1386
1399
  # resp.metric_alarms[0].evaluation_window.wall_clock_window.timezone #=> String
1400
+ # resp.metric_alarms[0].warm_up_configuration.warm_up_period_duration_in_minutes #=> Integer
1401
+ # resp.metric_alarms[0].warm_up_configuration.only_start_evaluating_after_warm_up_period_ends #=> Boolean
1387
1402
  # resp.metric_alarms[0].evaluation_criteria.prom_ql_criteria.query #=> String
1388
1403
  # resp.metric_alarms[0].evaluation_criteria.prom_ql_criteria.pending_period #=> Integer
1389
1404
  # resp.metric_alarms[0].evaluation_criteria.prom_ql_criteria.recovery_period #=> Integer
@@ -1641,19 +1656,27 @@ module Aws::CloudWatch
1641
1656
  # it. If the dataset has no associated KMS key, the operation fails with
1642
1657
  # `ResourceNotFoundException`.
1643
1658
  #
1644
- # Amazon CloudWatch performs a dry-run `kms:Decrypt` call on the key as
1645
- # part of this operation. This verifies that the caller is authorized to
1646
- # use the currently associated key. The caller must have `kms:Decrypt`
1647
- # permission on the currently associated key, and the key must be
1648
- # enabled and accessible. If the key has been disabled or scheduled for
1649
- # deletion, you must first re-enable or restore it before you can
1650
- # disassociate it from the dataset.
1659
+ # Amazon CloudWatch performs a dry-run `kms:Decrypt` call on the
1660
+ # currently associated key as part of this operation. The caller must
1661
+ # have `kms:Decrypt` permission on the currently associated key. If the
1662
+ # key is accessible but the caller lacks `kms:Decrypt` permission, the
1663
+ # operation fails with `AccessDeniedException`.
1664
+ #
1665
+ # <note markdown="1"> If the currently associated key has been deleted, is scheduled for
1666
+ # deletion, is pending import, is unavailable, or has been disabled,
1667
+ # Amazon CloudWatch does not require `kms:Decrypt` permission on that
1668
+ # key and the disassociation proceeds. If the key was only disabled,
1669
+ # consider re-enabling it instead of disassociating, because re-enabling
1670
+ # allows Amazon CloudWatch to resume decrypting your existing metric
1671
+ # data.
1672
+ #
1673
+ # </note>
1651
1674
  #
1652
1675
  # Disassociating a KMS key from a dataset does not immediately remove
1653
1676
  # the `kms:Decrypt` requirement on data plane operations. For up to
1654
1677
  # three hours after disassociation, callers must continue to have
1655
1678
  # `kms:Decrypt` permission on the previously associated key. Some data
1656
- # may still be encrypted with that key during this window. After this
1679
+ # might still be encrypted with that key during this window. After this
1657
1680
  # enforcement window elapses, the `kms:Decrypt` requirement is lifted.
1658
1681
  #
1659
1682
  # For more information about using customer managed keys with Amazon
@@ -3948,6 +3971,19 @@ module Aws::CloudWatch
3948
3971
  # A list of key-value pairs to associate with the alarm. You can use
3949
3972
  # tags to categorize and manage your alarms.
3950
3973
  #
3974
+ # @option params [Types::WarmUpConfiguration] :warm_up_configuration
3975
+ # The warm-up configuration for the alarm. A warm-up period delays alarm
3976
+ # evaluation after you create or update the alarm. The warm-up period
3977
+ # reduces alarm noise from missing data while a new resource or service
3978
+ # starts publishing data.
3979
+ #
3980
+ # For more information, see [Alarm warm-up periods][1] in the *Amazon
3981
+ # CloudWatch User Guide*.
3982
+ #
3983
+ #
3984
+ #
3985
+ # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/alarm-warm-up.html
3986
+ #
3951
3987
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
3952
3988
  #
3953
3989
  # @example Request syntax with placeholder values
@@ -3990,6 +4026,10 @@ module Aws::CloudWatch
3990
4026
  # value: "TagValue", # required
3991
4027
  # },
3992
4028
  # ],
4029
+ # warm_up_configuration: {
4030
+ # warm_up_period_duration_in_minutes: 1, # required
4031
+ # only_start_evaluating_after_warm_up_period_ends: false,
4032
+ # },
3993
4033
  # })
3994
4034
  #
3995
4035
  # @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/PutLogAlarm AWS API Documentation
@@ -4564,6 +4604,19 @@ module Aws::CloudWatch
4564
4604
  #
4565
4605
  # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/alarm-evaluation-window.html
4566
4606
  #
4607
+ # @option params [Types::WarmUpConfiguration] :warm_up_configuration
4608
+ # The warm-up configuration for the alarm. A warm-up period delays alarm
4609
+ # evaluation after you create or update the alarm. The warm-up period
4610
+ # reduces alarm noise from missing data while a new resource or service
4611
+ # starts publishing metrics.
4612
+ #
4613
+ # For more information, see [Alarm warm-up periods][1] in the *Amazon
4614
+ # CloudWatch User Guide*.
4615
+ #
4616
+ #
4617
+ #
4618
+ # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/alarm-warm-up.html
4619
+ #
4567
4620
  # @option params [Types::EvaluationCriteria] :evaluation_criteria
4568
4621
  # The evaluation criteria for the alarm. For each `PutMetricAlarm`
4569
4622
  # operation, you must specify either `MetricName`, a `Metrics` array, or
@@ -4656,6 +4709,10 @@ module Aws::CloudWatch
4656
4709
  # sliding_window: {
4657
4710
  # },
4658
4711
  # },
4712
+ # warm_up_configuration: {
4713
+ # warm_up_period_duration_in_minutes: 1, # required
4714
+ # only_start_evaluating_after_warm_up_period_ends: false,
4715
+ # },
4659
4716
  # evaluation_criteria: {
4660
4717
  # prom_ql_criteria: {
4661
4718
  # query: "Query", # required
@@ -5010,7 +5067,7 @@ module Aws::CloudWatch
5010
5067
  #
5011
5068
  #
5012
5069
  #
5013
- # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Statistics-definitions.html.html
5070
+ # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Statistics-definitions.html
5014
5071
  #
5015
5072
  # @option params [Boolean] :include_linked_accounts_metrics
5016
5073
  # If you are creating a metric stream in a monitoring account, specify
@@ -5370,7 +5427,7 @@ module Aws::CloudWatch
5370
5427
  tracer: tracer
5371
5428
  )
5372
5429
  context[:gem_name] = 'aws-sdk-cloudwatch'
5373
- context[:gem_version] = '1.145.0'
5430
+ context[:gem_version] = '1.146.0'
5374
5431
  Seahorse::Client::Request.new(handlers, context)
5375
5432
  end
5376
5433
 
@@ -285,6 +285,7 @@ module Aws::CloudWatch
285
285
  Namespace = Shapes::StringShape.new(name: 'Namespace')
286
286
  NextToken = Shapes::StringShape.new(name: 'NextToken')
287
287
  OTelEnrichmentStatus = Shapes::StringShape.new(name: 'OTelEnrichmentStatus')
288
+ OnlyStartEvaluatingAfterWarmUpPeriodEnds = Shapes::BooleanShape.new(name: 'OnlyStartEvaluatingAfterWarmUpPeriodEnds')
288
289
  OutputFormat = Shapes::StringShape.new(name: 'OutputFormat')
289
290
  OwningAccounts = Shapes::ListShape.new(name: 'OwningAccounts')
290
291
  PartialFailure = Shapes::StructureShape.new(name: 'PartialFailure')
@@ -370,6 +371,8 @@ module Aws::CloudWatch
370
371
  UntagResourceOutput = Shapes::StructureShape.new(name: 'UntagResourceOutput')
371
372
  Values = Shapes::ListShape.new(name: 'Values')
372
373
  WallClockWindow = Shapes::StructureShape.new(name: 'WallClockWindow')
374
+ WarmUpConfiguration = Shapes::StructureShape.new(name: 'WarmUpConfiguration')
375
+ WarmUpPeriodDurationInMinutes = Shapes::IntegerShape.new(name: 'WarmUpPeriodDurationInMinutes')
373
376
 
374
377
  AlarmContributor.add_member(:contributor_id, Shapes::ShapeRef.new(shape: ContributorId, required: true, location_name: "ContributorId"))
375
378
  AlarmContributor.add_member(:contributor_attributes, Shapes::ShapeRef.new(shape: ContributorAttributes, required: true, location_name: "ContributorAttributes"))
@@ -947,6 +950,7 @@ module Aws::CloudWatch
947
950
  LogAlarm.add_member(:evaluation_state, Shapes::ShapeRef.new(shape: EvaluationState, location_name: "EvaluationState"))
948
951
  LogAlarm.add_member(:action_log_line_count, Shapes::ShapeRef.new(shape: ActionLogLineCount, location_name: "ActionLogLineCount"))
949
952
  LogAlarm.add_member(:action_log_line_role_arn, Shapes::ShapeRef.new(shape: ActionLogLineRoleArn, location_name: "ActionLogLineRoleArn"))
953
+ LogAlarm.add_member(:warm_up_configuration, Shapes::ShapeRef.new(shape: WarmUpConfiguration, location_name: "WarmUpConfiguration"))
950
954
  LogAlarm.struct_class = Types::LogAlarm
951
955
 
952
956
  LogAlarms.member = Shapes::ShapeRef.new(shape: LogAlarm)
@@ -1010,6 +1014,7 @@ module Aws::CloudWatch
1010
1014
  MetricAlarm.add_member(:evaluation_state, Shapes::ShapeRef.new(shape: EvaluationState, location_name: "EvaluationState"))
1011
1015
  MetricAlarm.add_member(:state_transitioned_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "StateTransitionedTimestamp"))
1012
1016
  MetricAlarm.add_member(:evaluation_window, Shapes::ShapeRef.new(shape: EvaluationWindow, location_name: "EvaluationWindow"))
1017
+ MetricAlarm.add_member(:warm_up_configuration, Shapes::ShapeRef.new(shape: WarmUpConfiguration, location_name: "WarmUpConfiguration"))
1013
1018
  MetricAlarm.add_member(:evaluation_criteria, Shapes::ShapeRef.new(shape: EvaluationCriteria, location_name: "EvaluationCriteria"))
1014
1019
  MetricAlarm.add_member(:evaluation_interval, Shapes::ShapeRef.new(shape: EvaluationInterval, location_name: "EvaluationInterval"))
1015
1020
  MetricAlarm.struct_class = Types::MetricAlarm
@@ -1184,6 +1189,7 @@ module Aws::CloudWatch
1184
1189
  PutLogAlarmInput.add_member(:comparison_operator, Shapes::ShapeRef.new(shape: ComparisonOperator, required: true, location_name: "ComparisonOperator"))
1185
1190
  PutLogAlarmInput.add_member(:treat_missing_data, Shapes::ShapeRef.new(shape: TreatMissingData, location_name: "TreatMissingData"))
1186
1191
  PutLogAlarmInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
1192
+ PutLogAlarmInput.add_member(:warm_up_configuration, Shapes::ShapeRef.new(shape: WarmUpConfiguration, location_name: "WarmUpConfiguration"))
1187
1193
  PutLogAlarmInput.struct_class = Types::PutLogAlarmInput
1188
1194
 
1189
1195
  PutManagedInsightRulesInput.add_member(:managed_rules, Shapes::ShapeRef.new(shape: ManagedRules, required: true, location_name: "ManagedRules"))
@@ -1215,6 +1221,7 @@ module Aws::CloudWatch
1215
1221
  PutMetricAlarmInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
1216
1222
  PutMetricAlarmInput.add_member(:threshold_metric_id, Shapes::ShapeRef.new(shape: MetricId, location_name: "ThresholdMetricId"))
1217
1223
  PutMetricAlarmInput.add_member(:evaluation_window, Shapes::ShapeRef.new(shape: EvaluationWindow, location_name: "EvaluationWindow"))
1224
+ PutMetricAlarmInput.add_member(:warm_up_configuration, Shapes::ShapeRef.new(shape: WarmUpConfiguration, location_name: "WarmUpConfiguration"))
1218
1225
  PutMetricAlarmInput.add_member(:evaluation_criteria, Shapes::ShapeRef.new(shape: EvaluationCriteria, location_name: "EvaluationCriteria"))
1219
1226
  PutMetricAlarmInput.add_member(:evaluation_interval, Shapes::ShapeRef.new(shape: EvaluationInterval, location_name: "EvaluationInterval"))
1220
1227
  PutMetricAlarmInput.struct_class = Types::PutMetricAlarmInput
@@ -1345,6 +1352,10 @@ module Aws::CloudWatch
1345
1352
  WallClockWindow.add_member(:timezone, Shapes::ShapeRef.new(shape: Timezone, location_name: "Timezone"))
1346
1353
  WallClockWindow.struct_class = Types::WallClockWindow
1347
1354
 
1355
+ WarmUpConfiguration.add_member(:warm_up_period_duration_in_minutes, Shapes::ShapeRef.new(shape: WarmUpPeriodDurationInMinutes, required: true, location_name: "WarmUpPeriodDurationInMinutes"))
1356
+ WarmUpConfiguration.add_member(:only_start_evaluating_after_warm_up_period_ends, Shapes::ShapeRef.new(shape: OnlyStartEvaluatingAfterWarmUpPeriodEnds, location_name: "OnlyStartEvaluatingAfterWarmUpPeriodEnds"))
1357
+ WarmUpConfiguration.struct_class = Types::WarmUpConfiguration
1358
+
1348
1359
 
1349
1360
  # @api private
1350
1361
  API = Seahorse::Model::Api.new.tap do |api|
@@ -374,6 +374,10 @@ module Aws::CloudWatch
374
374
  # sliding_window: {
375
375
  # },
376
376
  # },
377
+ # warm_up_configuration: {
378
+ # warm_up_period_duration_in_minutes: 1, # required
379
+ # only_start_evaluating_after_warm_up_period_ends: false,
380
+ # },
377
381
  # evaluation_criteria: {
378
382
  # prom_ql_criteria: {
379
383
  # query: "Query", # required
@@ -796,6 +800,18 @@ module Aws::CloudWatch
796
800
  #
797
801
  #
798
802
  # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/alarm-evaluation-window.html
803
+ # @option options [Types::WarmUpConfiguration] :warm_up_configuration
804
+ # The warm-up configuration for the alarm. A warm-up period delays alarm
805
+ # evaluation after you create or update the alarm. The warm-up period
806
+ # reduces alarm noise from missing data while a new resource or service
807
+ # starts publishing metrics.
808
+ #
809
+ # For more information, see [Alarm warm-up periods][1] in the *Amazon
810
+ # CloudWatch User Guide*.
811
+ #
812
+ #
813
+ #
814
+ # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/alarm-warm-up.html
799
815
  # @option options [Types::EvaluationCriteria] :evaluation_criteria
800
816
  # The evaluation criteria for the alarm. For each `PutMetricAlarm`
801
817
  # operation, you must specify either `MetricName`, a `Metrics` array, or
@@ -2116,7 +2116,7 @@ module Aws::CloudWatch
2116
2116
  #
2117
2117
  #
2118
2118
  #
2119
- # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Statistics-definitions.html.html
2119
+ # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Statistics-definitions.html
2120
2120
  # @return [Array<Types::MetricStreamStatisticsConfiguration>]
2121
2121
  #
2122
2122
  # @!attribute [rw] include_linked_accounts_metrics
@@ -3052,6 +3052,20 @@ module Aws::CloudWatch
3052
3052
  # notifications. Set when `ActionLogLineCount` is greater than 0.
3053
3053
  # @return [String]
3054
3054
  #
3055
+ # @!attribute [rw] warm_up_configuration
3056
+ # The warm-up configuration for the alarm. A warm-up period delays
3057
+ # alarm evaluation after you create or update the alarm. During the
3058
+ # warm-up period, the alarm stays in `INSUFFICIENT_DATA` and does not
3059
+ # perform alarm actions.
3060
+ #
3061
+ # For more information, see [Alarm warm-up periods][1] in the *Amazon
3062
+ # CloudWatch User Guide*.
3063
+ #
3064
+ #
3065
+ #
3066
+ # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/alarm-warm-up.html
3067
+ # @return [Types::WarmUpConfiguration]
3068
+ #
3055
3069
  # @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/LogAlarm AWS API Documentation
3056
3070
  #
3057
3071
  class LogAlarm < Struct.new(
@@ -3076,7 +3090,8 @@ module Aws::CloudWatch
3076
3090
  :state_transitioned_timestamp,
3077
3091
  :evaluation_state,
3078
3092
  :action_log_line_count,
3079
- :action_log_line_role_arn)
3093
+ :action_log_line_role_arn,
3094
+ :warm_up_configuration)
3080
3095
  SENSITIVE = []
3081
3096
  include Aws::Structure
3082
3097
  end
@@ -3401,6 +3416,20 @@ module Aws::CloudWatch
3401
3416
  # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/alarm-evaluation-window.html
3402
3417
  # @return [Types::EvaluationWindow]
3403
3418
  #
3419
+ # @!attribute [rw] warm_up_configuration
3420
+ # The warm-up configuration for the alarm. A warm-up period delays
3421
+ # alarm evaluation after you create or update the alarm. During the
3422
+ # warm-up period, the alarm stays in `INSUFFICIENT_DATA` and does not
3423
+ # perform alarm actions.
3424
+ #
3425
+ # For more information, see [Alarm warm-up periods][1] in the *Amazon
3426
+ # CloudWatch User Guide*.
3427
+ #
3428
+ #
3429
+ #
3430
+ # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/alarm-warm-up.html
3431
+ # @return [Types::WarmUpConfiguration]
3432
+ #
3404
3433
  # @!attribute [rw] evaluation_criteria
3405
3434
  # The evaluation criteria for the alarm.
3406
3435
  # @return [Types::EvaluationCriteria]
@@ -3442,6 +3471,7 @@ module Aws::CloudWatch
3442
3471
  :evaluation_state,
3443
3472
  :state_transitioned_timestamp,
3444
3473
  :evaluation_window,
3474
+ :warm_up_configuration,
3445
3475
  :evaluation_criteria,
3446
3476
  :evaluation_interval)
3447
3477
  SENSITIVE = []
@@ -3937,7 +3967,7 @@ module Aws::CloudWatch
3937
3967
  #
3938
3968
  #
3939
3969
  #
3940
- # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Statistics-definitions.html.html
3970
+ # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Statistics-definitions.html
3941
3971
  #
3942
3972
  # @!attribute [rw] include_metrics
3943
3973
  # An array of metric name and namespace pairs that stream the
@@ -3966,7 +3996,7 @@ module Aws::CloudWatch
3966
3996
  #
3967
3997
  #
3968
3998
  #
3969
- # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Statistics-definitions.html.html
3999
+ # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Statistics-definitions.html
3970
4000
  # @return [Array<String>]
3971
4001
  #
3972
4002
  # @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/MetricStreamStatisticsConfiguration AWS API Documentation
@@ -4737,6 +4767,20 @@ module Aws::CloudWatch
4737
4767
  # tags to categorize and manage your alarms.
4738
4768
  # @return [Array<Types::Tag>]
4739
4769
  #
4770
+ # @!attribute [rw] warm_up_configuration
4771
+ # The warm-up configuration for the alarm. A warm-up period delays
4772
+ # alarm evaluation after you create or update the alarm. The warm-up
4773
+ # period reduces alarm noise from missing data while a new resource or
4774
+ # service starts publishing data.
4775
+ #
4776
+ # For more information, see [Alarm warm-up periods][1] in the *Amazon
4777
+ # CloudWatch User Guide*.
4778
+ #
4779
+ #
4780
+ #
4781
+ # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/alarm-warm-up.html
4782
+ # @return [Types::WarmUpConfiguration]
4783
+ #
4740
4784
  # @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/PutLogAlarmInput AWS API Documentation
4741
4785
  #
4742
4786
  class PutLogAlarmInput < Struct.new(
@@ -4754,7 +4798,8 @@ module Aws::CloudWatch
4754
4798
  :threshold,
4755
4799
  :comparison_operator,
4756
4800
  :treat_missing_data,
4757
- :tags)
4801
+ :tags,
4802
+ :warm_up_configuration)
4758
4803
  SENSITIVE = []
4759
4804
  include Aws::Structure
4760
4805
  end
@@ -5259,6 +5304,20 @@ module Aws::CloudWatch
5259
5304
  # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/alarm-evaluation-window.html
5260
5305
  # @return [Types::EvaluationWindow]
5261
5306
  #
5307
+ # @!attribute [rw] warm_up_configuration
5308
+ # The warm-up configuration for the alarm. A warm-up period delays
5309
+ # alarm evaluation after you create or update the alarm. The warm-up
5310
+ # period reduces alarm noise from missing data while a new resource or
5311
+ # service starts publishing metrics.
5312
+ #
5313
+ # For more information, see [Alarm warm-up periods][1] in the *Amazon
5314
+ # CloudWatch User Guide*.
5315
+ #
5316
+ #
5317
+ #
5318
+ # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/alarm-warm-up.html
5319
+ # @return [Types::WarmUpConfiguration]
5320
+ #
5262
5321
  # @!attribute [rw] evaluation_criteria
5263
5322
  # The evaluation criteria for the alarm. For each `PutMetricAlarm`
5264
5323
  # operation, you must specify either `MetricName`, a `Metrics` array,
@@ -5311,6 +5370,7 @@ module Aws::CloudWatch
5311
5370
  :tags,
5312
5371
  :threshold_metric_id,
5313
5372
  :evaluation_window,
5373
+ :warm_up_configuration,
5314
5374
  :evaluation_criteria,
5315
5375
  :evaluation_interval)
5316
5376
  SENSITIVE = []
@@ -5495,7 +5555,7 @@ module Aws::CloudWatch
5495
5555
  #
5496
5556
  #
5497
5557
  #
5498
- # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Statistics-definitions.html.html
5558
+ # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Statistics-definitions.html
5499
5559
  # @return [Array<Types::MetricStreamStatisticsConfiguration>]
5500
5560
  #
5501
5561
  # @!attribute [rw] include_linked_accounts_metrics
@@ -6133,6 +6193,43 @@ module Aws::CloudWatch
6133
6193
  include Aws::Structure
6134
6194
  end
6135
6195
 
6196
+ # The configuration settings that define the warm-up behavior for an
6197
+ # alarm. Use these settings to delay alarm evaluation after you create
6198
+ # or update the alarm, which reduces alarm noise while a new resource or
6199
+ # service starts publishing data.
6200
+ #
6201
+ # During the warm-up period, the alarm stays in `INSUFFICIENT_DATA` and
6202
+ # does not perform alarm actions.
6203
+ #
6204
+ # @!attribute [rw] warm_up_period_duration_in_minutes
6205
+ # The length of the warm-up period, in minutes. After you create or
6206
+ # update the alarm, the alarm stays in `INSUFFICIENT_DATA` for this
6207
+ # duration. During this time, the alarm does not perform alarm
6208
+ # actions.
6209
+ #
6210
+ # You can change this value at any time, including after the warm-up
6211
+ # period ends. If you change it after the warm-up period ends, the new
6212
+ # value does not restart the warm-up period.
6213
+ # @return [Integer]
6214
+ #
6215
+ # @!attribute [rw] only_start_evaluating_after_warm_up_period_ends
6216
+ # Specifies whether the alarm waits for the full warm-up period before
6217
+ # it starts to evaluate. The default is `false`. If `true`, the alarm
6218
+ # waits the entire `WarmUpPeriodDurationInMinutes` before it starts to
6219
+ # evaluate, even if metric data arrives earlier. If `false`, the alarm
6220
+ # ends the warm-up period early. Evaluation begins as soon as the
6221
+ # alarm has enough metric data to fill its evaluation window.
6222
+ # @return [Boolean]
6223
+ #
6224
+ # @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/WarmUpConfiguration AWS API Documentation
6225
+ #
6226
+ class WarmUpConfiguration < Struct.new(
6227
+ :warm_up_period_duration_in_minutes,
6228
+ :only_start_evaluating_after_warm_up_period_ends)
6229
+ SENSITIVE = []
6230
+ include Aws::Structure
6231
+ end
6232
+
6136
6233
  end
6137
6234
  end
6138
6235
 
@@ -58,7 +58,7 @@ module Aws::CloudWatch
58
58
  autoload :CompositeAlarm, 'aws-sdk-cloudwatch/composite_alarm'
59
59
  autoload :Metric, 'aws-sdk-cloudwatch/metric'
60
60
 
61
- GEM_VERSION = '1.145.0'
61
+ GEM_VERSION = '1.146.0'
62
62
 
63
63
  end
64
64
 
data/sig/alarm.rbs CHANGED
@@ -105,6 +105,9 @@ module Aws
105
105
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatch/Alarm.html#evaluation_window-instance_method
106
106
  def evaluation_window: () -> Types::EvaluationWindow
107
107
 
108
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatch/Alarm.html#warm_up_configuration-instance_method
109
+ def warm_up_configuration: () -> Types::WarmUpConfiguration
110
+
108
111
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatch/Alarm.html#evaluation_criteria-instance_method
109
112
  def evaluation_criteria: () -> Types::EvaluationCriteria
110
113
 
data/sig/client.rbs CHANGED
@@ -683,7 +683,11 @@ module Aws
683
683
  key: ::String,
684
684
  value: ::String
685
685
  }
686
- ]
686
+ ],
687
+ ?warm_up_configuration: {
688
+ warm_up_period_duration_in_minutes: ::Integer,
689
+ only_start_evaluating_after_warm_up_period_ends: bool?
690
+ }
687
691
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
688
692
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
689
693
 
@@ -751,6 +755,10 @@ module Aws
751
755
  sliding_window: {
752
756
  }?
753
757
  },
758
+ ?warm_up_configuration: {
759
+ warm_up_period_duration_in_minutes: ::Integer,
760
+ only_start_evaluating_after_warm_up_period_ends: bool?
761
+ },
754
762
  ?evaluation_criteria: {
755
763
  prom_ql_criteria: {
756
764
  query: ::String,
data/sig/metric.rbs CHANGED
@@ -117,6 +117,10 @@ module Aws
117
117
  sliding_window: {
118
118
  }?
119
119
  },
120
+ ?warm_up_configuration: {
121
+ warm_up_period_duration_in_minutes: ::Integer,
122
+ only_start_evaluating_after_warm_up_period_ends: bool?
123
+ },
120
124
  ?evaluation_criteria: {
121
125
  prom_ql_criteria: {
122
126
  query: ::String,
data/sig/types.rbs CHANGED
@@ -706,6 +706,7 @@ module Aws::CloudWatch
706
706
  attr_accessor evaluation_state: ("PARTIAL_DATA" | "EVALUATION_FAILURE" | "EVALUATION_ERROR")
707
707
  attr_accessor action_log_line_count: ::Integer
708
708
  attr_accessor action_log_line_role_arn: ::String
709
+ attr_accessor warm_up_configuration: Types::WarmUpConfiguration
709
710
  SENSITIVE: []
710
711
  end
711
712
 
@@ -773,6 +774,7 @@ module Aws::CloudWatch
773
774
  attr_accessor evaluation_state: ("PARTIAL_DATA" | "EVALUATION_FAILURE" | "EVALUATION_ERROR")
774
775
  attr_accessor state_transitioned_timestamp: ::Time
775
776
  attr_accessor evaluation_window: Types::EvaluationWindow
777
+ attr_accessor warm_up_configuration: Types::WarmUpConfiguration
776
778
  attr_accessor evaluation_criteria: Types::EvaluationCriteria
777
779
  attr_accessor evaluation_interval: ::Integer
778
780
  SENSITIVE: []
@@ -960,6 +962,7 @@ module Aws::CloudWatch
960
962
  attr_accessor comparison_operator: ("GreaterThanOrEqualToThreshold" | "GreaterThanThreshold" | "LessThanThreshold" | "LessThanOrEqualToThreshold" | "LessThanLowerOrGreaterThanUpperThreshold" | "LessThanLowerThreshold" | "GreaterThanUpperThreshold")
961
963
  attr_accessor treat_missing_data: ::String
962
964
  attr_accessor tags: ::Array[Types::Tag]
965
+ attr_accessor warm_up_configuration: Types::WarmUpConfiguration
963
966
  SENSITIVE: []
964
967
  end
965
968
 
@@ -997,6 +1000,7 @@ module Aws::CloudWatch
997
1000
  attr_accessor tags: ::Array[Types::Tag]
998
1001
  attr_accessor threshold_metric_id: ::String
999
1002
  attr_accessor evaluation_window: Types::EvaluationWindow
1003
+ attr_accessor warm_up_configuration: Types::WarmUpConfiguration
1000
1004
  attr_accessor evaluation_criteria: Types::EvaluationCriteria
1001
1005
  attr_accessor evaluation_interval: ::Integer
1002
1006
  SENSITIVE: []
@@ -1164,5 +1168,11 @@ module Aws::CloudWatch
1164
1168
  attr_accessor timezone: ::String
1165
1169
  SENSITIVE: []
1166
1170
  end
1171
+
1172
+ class WarmUpConfiguration
1173
+ attr_accessor warm_up_period_duration_in_minutes: ::Integer
1174
+ attr_accessor only_start_evaluating_after_warm_up_period_ends: bool
1175
+ SENSITIVE: []
1176
+ end
1167
1177
  end
1168
1178
  end
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.145.0
4
+ version: 1.146.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services