aws-sdk-cloudwatch 1.59.0 → 1.81.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 93a8b21173bec4c984b643b2d65ad2666fd2298f91f74e437b700a1bce40c8d2
4
- data.tar.gz: 6bf3404cda9bd98906357a90b3c4579645cd76920ecbe530ae04042c65a11e5d
3
+ metadata.gz: 074b0ca128d872b73f8812e921340472a5ef48a36982026c61daf52000a7c6ed
4
+ data.tar.gz: 07f782c190fe858a7c6690c978e05f4dd2e0a478a16802e5b774314ba338eec7
5
5
  SHA512:
6
- metadata.gz: be80bbde73c19dc2b848ecc8733c9ec2e960829dd5ba9e919c0afa655cb2d30a2ecaaf7810a492511cfaeb2d06a3e344e96f3fc5c3c2111f779f5488d963920e
7
- data.tar.gz: 13f63777fbe9b944577cc40d48753e5adca64cf5cd518f54ad3475d09fb1b49259afe0e836ada26449b36b098712e30815960e80990b7d3c7349851568b34737
6
+ metadata.gz: 696928fdd399295f45400258dff50bce482aa45d0b47b0201f073dd68f4ad71680691065645ad86395fad94d9aaef15a0e05afd4cd0c84a2120426e4d6eac370
7
+ data.tar.gz: 5d3c0e939be5b3e74f4df47e9c3fc25b8ea50aa1eadc034f133bcc442c037b4571ec9006681c9c0c3aea20fbbcf5fd40b1960c438c8a093f0021f96ea0cfaae9
data/CHANGELOG.md CHANGED
@@ -1,6 +1,118 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.81.0 (2023-09-27)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.80.0 (2023-08-25)
10
+ ------------------
11
+
12
+ * Feature - Doc-only update to get doc bug fixes into the SDK docs
13
+
14
+ 1.79.0 (2023-08-16)
15
+ ------------------
16
+
17
+ * Feature - Doc-only update to incorporate several doc bug fixes
18
+
19
+ 1.78.0 (2023-07-11)
20
+ ------------------
21
+
22
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
23
+
24
+ 1.77.0 (2023-07-06)
25
+ ------------------
26
+
27
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
28
+
29
+ 1.76.0 (2023-06-28)
30
+ ------------------
31
+
32
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
33
+
34
+ 1.75.0 (2023-06-15)
35
+ ------------------
36
+
37
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
38
+
39
+ 1.74.0 (2023-05-31)
40
+ ------------------
41
+
42
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
43
+
44
+ 1.73.0 (2023-05-04)
45
+ ------------------
46
+
47
+ * Feature - Adds support for filtering by metric names in CloudWatch Metric Streams.
48
+
49
+ 1.72.0 (2023-03-24)
50
+ ------------------
51
+
52
+ * Feature - Doc-only update to correct alarm actions list
53
+
54
+ 1.71.0 (2023-01-18)
55
+ ------------------
56
+
57
+ * Feature - Enable cross-account streams in CloudWatch Metric Streams via Observability Access Manager.
58
+
59
+ * Issue - Replace runtime endpoint resolution approach with generated ruby code.
60
+
61
+ 1.70.0 (2022-12-14)
62
+ ------------------
63
+
64
+ * Feature - Adding support for Metrics Insights Alarms
65
+
66
+ 1.69.0 (2022-11-28)
67
+ ------------------
68
+
69
+ * Feature - Adds cross-account support to the GetMetricData API. Adds cross-account support to the ListMetrics API through the usage of the IncludeLinkedAccounts flag and the new OwningAccounts field.
70
+
71
+ 1.68.0 (2022-10-25)
72
+ ------------------
73
+
74
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
75
+
76
+ 1.67.0 (2022-08-18)
77
+ ------------------
78
+
79
+ * Feature - Add support for managed Contributor Insights Rules
80
+
81
+ 1.66.0 (2022-08-09)
82
+ ------------------
83
+
84
+ * Feature - Various quota increases related to dimensions and custom metrics
85
+
86
+ 1.65.0 (2022-07-21)
87
+ ------------------
88
+
89
+ * Feature - Adding support for the suppression of Composite Alarm actions
90
+
91
+ 1.64.0 (2022-04-14)
92
+ ------------------
93
+
94
+ * Feature - Updates documentation for additional statistics in CloudWatch Metric Streams.
95
+
96
+ 1.63.0 (2022-04-13)
97
+ ------------------
98
+
99
+ * Feature - Adds support for additional statistics in CloudWatch Metric Streams.
100
+
101
+ 1.62.0 (2022-02-24)
102
+ ------------------
103
+
104
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
105
+
106
+ 1.61.0 (2022-02-03)
107
+ ------------------
108
+
109
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
110
+
111
+ 1.60.0 (2021-12-21)
112
+ ------------------
113
+
114
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
115
+
4
116
  1.59.0 (2021-11-30)
5
117
  ------------------
6
118
 
@@ -367,4 +479,4 @@ Unreleased Changes
367
479
  1.0.0.rc1 (2016-12-05)
368
480
  ------------------
369
481
 
370
- * Feature - Initial preview release of the `aws-sdk-cloudwatch` gem.
482
+ * Feature - Initial preview release of the `aws-sdk-cloudwatch` gem.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.59.0
1
+ 1.81.0
@@ -102,7 +102,8 @@ module Aws::CloudWatch
102
102
  data[:state_reason_data]
103
103
  end
104
104
 
105
- # The time stamp of the last update to the alarm state.
105
+ # The time stamp of the last update to the value of either the
106
+ # `StateValue` or `EvaluationState` parameters.
106
107
  # @return [Time]
107
108
  def state_updated_timestamp
108
109
  data[:state_updated_timestamp]
@@ -180,8 +181,17 @@ module Aws::CloudWatch
180
181
  data[:comparison_operator]
181
182
  end
182
183
 
183
- # Sets how this alarm is to handle missing data points. If this
184
- # parameter is omitted, the default behavior of `missing` is used.
184
+ # Sets how this alarm is to handle missing data points. The valid values
185
+ # are `breaching`, `notBreaching`, `ignore`, and `missing`. For more
186
+ # information, see [Configuring how CloudWatch alarms treat missing
187
+ # data][1].
188
+ #
189
+ # If this parameter is omitted, the default behavior of `missing` is
190
+ # used.
191
+ #
192
+ #
193
+ #
194
+ # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/AlarmThatSendsEmail.html#alarms-and-missing-data
185
195
  # @return [String]
186
196
  def treat_missing_data
187
197
  data[:treat_missing_data]
@@ -214,6 +224,26 @@ module Aws::CloudWatch
214
224
  data[:threshold_metric_id]
215
225
  end
216
226
 
227
+ # If the value of this field is `PARTIAL_DATA`, the alarm is being
228
+ # evaluated based on only partial data. This happens if the query used
229
+ # for the alarm returns more than 10,000 metrics. For more information,
230
+ # see [Create alarms on Metrics Insights queries][1].
231
+ #
232
+ #
233
+ #
234
+ # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Create_Metrics_Insights_Alarm.html
235
+ # @return [String]
236
+ def evaluation_state
237
+ data[:evaluation_state]
238
+ end
239
+
240
+ # The date and time that the alarm's `StateValue` most recently
241
+ # changed.
242
+ # @return [Time]
243
+ def state_transitioned_timestamp
244
+ data[:state_transitioned_timestamp]
245
+ end
246
+
217
247
  # @!endgroup
218
248
 
219
249
  # @return [Client]
@@ -228,7 +258,9 @@ module Aws::CloudWatch
228
258
  #
229
259
  # @return [self]
230
260
  def load
231
- resp = @client.describe_alarms(alarm_names: [@name])
261
+ resp = Aws::Plugins::UserAgent.feature('resource') do
262
+ @client.describe_alarms(alarm_names: [@name])
263
+ end
232
264
  @data = resp.metric_alarms[0]
233
265
  self
234
266
  end
@@ -273,7 +305,9 @@ module Aws::CloudWatch
273
305
  options, params = separate_params_and_options(options)
274
306
  waiter = Waiters::AlarmExists.new(options)
275
307
  yield_waiter_and_warn(waiter, &block) if block_given?
276
- waiter.wait(params.merge(alarm_names: [@name]))
308
+ Aws::Plugins::UserAgent.feature('resource') do
309
+ waiter.wait(params.merge(alarm_names: [@name]))
310
+ end
277
311
  Alarm.new({
278
312
  name: @name,
279
313
  client: @client
@@ -374,7 +408,9 @@ module Aws::CloudWatch
374
408
  :retry
375
409
  end
376
410
  end
377
- Aws::Waiters::Waiter.new(options).wait({})
411
+ Aws::Plugins::UserAgent.feature('resource') do
412
+ Aws::Waiters::Waiter.new(options).wait({})
413
+ end
378
414
  end
379
415
 
380
416
  # @!group Actions
@@ -386,7 +422,9 @@ module Aws::CloudWatch
386
422
  # @return [EmptyStructure]
387
423
  def delete(options = {})
388
424
  options = Aws::Util.deep_merge(options, alarm_names: [@name])
389
- resp = @client.delete_alarms(options)
425
+ resp = Aws::Plugins::UserAgent.feature('resource') do
426
+ @client.delete_alarms(options)
427
+ end
390
428
  resp.data
391
429
  end
392
430
 
@@ -425,7 +463,9 @@ module Aws::CloudWatch
425
463
  # @return [Types::DescribeAlarmHistoryOutput]
426
464
  def describe_history(options = {})
427
465
  options = options.merge(alarm_name: @name)
428
- resp = @client.describe_alarm_history(options)
466
+ resp = Aws::Plugins::UserAgent.feature('resource') do
467
+ @client.describe_alarm_history(options)
468
+ end
429
469
  resp.data
430
470
  end
431
471
 
@@ -436,7 +476,9 @@ module Aws::CloudWatch
436
476
  # @return [EmptyStructure]
437
477
  def disable_actions(options = {})
438
478
  options = Aws::Util.deep_merge(options, alarm_names: [@name])
439
- resp = @client.disable_alarm_actions(options)
479
+ resp = Aws::Plugins::UserAgent.feature('resource') do
480
+ @client.disable_alarm_actions(options)
481
+ end
440
482
  resp.data
441
483
  end
442
484
 
@@ -447,7 +489,9 @@ module Aws::CloudWatch
447
489
  # @return [EmptyStructure]
448
490
  def enable_actions(options = {})
449
491
  options = Aws::Util.deep_merge(options, alarm_names: [@name])
450
- resp = @client.enable_alarm_actions(options)
492
+ resp = Aws::Plugins::UserAgent.feature('resource') do
493
+ @client.enable_alarm_actions(options)
494
+ end
451
495
  resp.data
452
496
  end
453
497
 
@@ -475,7 +519,9 @@ module Aws::CloudWatch
475
519
  # @return [EmptyStructure]
476
520
  def set_state(options = {})
477
521
  options = options.merge(alarm_name: @name)
478
- resp = @client.set_alarm_state(options)
522
+ resp = Aws::Plugins::UserAgent.feature('resource') do
523
+ @client.set_alarm_state(options)
524
+ end
479
525
  resp.data
480
526
  end
481
527
 
@@ -554,7 +600,9 @@ module Aws::CloudWatch
554
600
  batch.each do |item|
555
601
  params[:alarm_names] << item.name
556
602
  end
557
- batch[0].client.delete_alarms(params)
603
+ Aws::Plugins::UserAgent.feature('resource') do
604
+ batch[0].client.delete_alarms(params)
605
+ end
558
606
  end
559
607
  nil
560
608
  end
@@ -568,7 +616,9 @@ module Aws::CloudWatch
568
616
  batch.each do |item|
569
617
  params[:alarm_names] << item.name
570
618
  end
571
- batch[0].client.disable_alarm_actions(params)
619
+ Aws::Plugins::UserAgent.feature('resource') do
620
+ batch[0].client.disable_alarm_actions(params)
621
+ end
572
622
  end
573
623
  nil
574
624
  end
@@ -582,7 +632,9 @@ module Aws::CloudWatch
582
632
  batch.each do |item|
583
633
  params[:alarm_names] << item.name
584
634
  end
585
- batch[0].client.enable_alarm_actions(params)
635
+ Aws::Plugins::UserAgent.feature('resource') do
636
+ batch[0].client.enable_alarm_actions(params)
637
+ end
586
638
  end
587
639
  nil
588
640
  end