aws-sdk-cloudwatch 1.91.0 → 1.92.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-cloudwatch/alarm.rb +11 -11
- data/lib/aws-sdk-cloudwatch/client.rb +1 -1
- data/lib/aws-sdk-cloudwatch/composite_alarm.rb +11 -11
- data/lib/aws-sdk-cloudwatch/metric.rb +6 -6
- data/lib/aws-sdk-cloudwatch/resource.rb +3 -3
- data/lib/aws-sdk-cloudwatch.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f961073673e4bbd7dd3e39f533d59ed6faf5c9eee2487dbe28052f4d51bf3348
|
4
|
+
data.tar.gz: 0443715ec24776d8d226d11dfd22d0d2332ca7db1575db7dc460de45265683c0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7f546952780939b0a0391956894b682c96b9be4f6d7ffc6c87b4b878c9a6fa18c716b358e555bfb45109ba026f5fe325c8392d3547d22308cb003c8fbaa2fd8c
|
7
|
+
data.tar.gz: 4c1dfd49453df76668d73e4557a499757de6e50a36b31f564918bfcf5053a5b1094baf27aec39d79c9f0a782eec2979e048754434f8950b5b38c9d3803829c01
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.92.0
|
@@ -258,7 +258,7 @@ module Aws::CloudWatch
|
|
258
258
|
#
|
259
259
|
# @return [self]
|
260
260
|
def load
|
261
|
-
resp = Aws::Plugins::UserAgent.
|
261
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
262
262
|
@client.describe_alarms(alarm_names: [@name])
|
263
263
|
end
|
264
264
|
@data = resp.metric_alarms[0]
|
@@ -305,7 +305,7 @@ module Aws::CloudWatch
|
|
305
305
|
options, params = separate_params_and_options(options)
|
306
306
|
waiter = Waiters::AlarmExists.new(options)
|
307
307
|
yield_waiter_and_warn(waiter, &block) if block_given?
|
308
|
-
Aws::Plugins::UserAgent.
|
308
|
+
Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
309
309
|
waiter.wait(params.merge(alarm_names: [@name]))
|
310
310
|
end
|
311
311
|
Alarm.new({
|
@@ -408,7 +408,7 @@ module Aws::CloudWatch
|
|
408
408
|
:retry
|
409
409
|
end
|
410
410
|
end
|
411
|
-
Aws::Plugins::UserAgent.
|
411
|
+
Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
412
412
|
Aws::Waiters::Waiter.new(options).wait({})
|
413
413
|
end
|
414
414
|
end
|
@@ -422,7 +422,7 @@ module Aws::CloudWatch
|
|
422
422
|
# @return [EmptyStructure]
|
423
423
|
def delete(options = {})
|
424
424
|
options = Aws::Util.deep_merge(options, alarm_names: [@name])
|
425
|
-
resp = Aws::Plugins::UserAgent.
|
425
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
426
426
|
@client.delete_alarms(options)
|
427
427
|
end
|
428
428
|
resp.data
|
@@ -463,7 +463,7 @@ module Aws::CloudWatch
|
|
463
463
|
# @return [Types::DescribeAlarmHistoryOutput]
|
464
464
|
def describe_history(options = {})
|
465
465
|
options = options.merge(alarm_name: @name)
|
466
|
-
resp = Aws::Plugins::UserAgent.
|
466
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
467
467
|
@client.describe_alarm_history(options)
|
468
468
|
end
|
469
469
|
resp.data
|
@@ -476,7 +476,7 @@ module Aws::CloudWatch
|
|
476
476
|
# @return [EmptyStructure]
|
477
477
|
def disable_actions(options = {})
|
478
478
|
options = Aws::Util.deep_merge(options, alarm_names: [@name])
|
479
|
-
resp = Aws::Plugins::UserAgent.
|
479
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
480
480
|
@client.disable_alarm_actions(options)
|
481
481
|
end
|
482
482
|
resp.data
|
@@ -489,7 +489,7 @@ module Aws::CloudWatch
|
|
489
489
|
# @return [EmptyStructure]
|
490
490
|
def enable_actions(options = {})
|
491
491
|
options = Aws::Util.deep_merge(options, alarm_names: [@name])
|
492
|
-
resp = Aws::Plugins::UserAgent.
|
492
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
493
493
|
@client.enable_alarm_actions(options)
|
494
494
|
end
|
495
495
|
resp.data
|
@@ -519,7 +519,7 @@ module Aws::CloudWatch
|
|
519
519
|
# @return [EmptyStructure]
|
520
520
|
def set_state(options = {})
|
521
521
|
options = options.merge(alarm_name: @name)
|
522
|
-
resp = Aws::Plugins::UserAgent.
|
522
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
523
523
|
@client.set_alarm_state(options)
|
524
524
|
end
|
525
525
|
resp.data
|
@@ -600,7 +600,7 @@ module Aws::CloudWatch
|
|
600
600
|
batch.each do |item|
|
601
601
|
params[:alarm_names] << item.name
|
602
602
|
end
|
603
|
-
Aws::Plugins::UserAgent.
|
603
|
+
Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
604
604
|
batch[0].client.delete_alarms(params)
|
605
605
|
end
|
606
606
|
end
|
@@ -616,7 +616,7 @@ module Aws::CloudWatch
|
|
616
616
|
batch.each do |item|
|
617
617
|
params[:alarm_names] << item.name
|
618
618
|
end
|
619
|
-
Aws::Plugins::UserAgent.
|
619
|
+
Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
620
620
|
batch[0].client.disable_alarm_actions(params)
|
621
621
|
end
|
622
622
|
end
|
@@ -632,7 +632,7 @@ module Aws::CloudWatch
|
|
632
632
|
batch.each do |item|
|
633
633
|
params[:alarm_names] << item.name
|
634
634
|
end
|
635
|
-
Aws::Plugins::UserAgent.
|
635
|
+
Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
636
636
|
batch[0].client.enable_alarm_actions(params)
|
637
637
|
end
|
638
638
|
end
|
@@ -4139,7 +4139,7 @@ module Aws::CloudWatch
|
|
4139
4139
|
params: params,
|
4140
4140
|
config: config)
|
4141
4141
|
context[:gem_name] = 'aws-sdk-cloudwatch'
|
4142
|
-
context[:gem_version] = '1.
|
4142
|
+
context[:gem_version] = '1.92.0'
|
4143
4143
|
Seahorse::Client::Request.new(handlers, context)
|
4144
4144
|
end
|
4145
4145
|
|
@@ -186,7 +186,7 @@ module Aws::CloudWatch
|
|
186
186
|
#
|
187
187
|
# @return [self]
|
188
188
|
def load
|
189
|
-
resp = Aws::Plugins::UserAgent.
|
189
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
190
190
|
@client.describe_alarms(alarm_names: [@name])
|
191
191
|
end
|
192
192
|
@data = resp.composite_alarms[0]
|
@@ -233,7 +233,7 @@ module Aws::CloudWatch
|
|
233
233
|
options, params = separate_params_and_options(options)
|
234
234
|
waiter = Waiters::CompositeAlarmExists.new(options)
|
235
235
|
yield_waiter_and_warn(waiter, &block) if block_given?
|
236
|
-
Aws::Plugins::UserAgent.
|
236
|
+
Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
237
237
|
waiter.wait(params.merge(alarm_names: [@name]))
|
238
238
|
end
|
239
239
|
CompositeAlarm.new({
|
@@ -336,7 +336,7 @@ module Aws::CloudWatch
|
|
336
336
|
:retry
|
337
337
|
end
|
338
338
|
end
|
339
|
-
Aws::Plugins::UserAgent.
|
339
|
+
Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
340
340
|
Aws::Waiters::Waiter.new(options).wait({})
|
341
341
|
end
|
342
342
|
end
|
@@ -350,7 +350,7 @@ module Aws::CloudWatch
|
|
350
350
|
# @return [EmptyStructure]
|
351
351
|
def delete(options = {})
|
352
352
|
options = Aws::Util.deep_merge(options, alarm_names: [@name])
|
353
|
-
resp = Aws::Plugins::UserAgent.
|
353
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
354
354
|
@client.delete_alarms(options)
|
355
355
|
end
|
356
356
|
resp.data
|
@@ -391,7 +391,7 @@ module Aws::CloudWatch
|
|
391
391
|
# @return [Types::DescribeAlarmHistoryOutput]
|
392
392
|
def describe_history(options = {})
|
393
393
|
options = options.merge(alarm_name: @name)
|
394
|
-
resp = Aws::Plugins::UserAgent.
|
394
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
395
395
|
@client.describe_alarm_history(options)
|
396
396
|
end
|
397
397
|
resp.data
|
@@ -404,7 +404,7 @@ module Aws::CloudWatch
|
|
404
404
|
# @return [EmptyStructure]
|
405
405
|
def disable_actions(options = {})
|
406
406
|
options = Aws::Util.deep_merge(options, alarm_names: [@name])
|
407
|
-
resp = Aws::Plugins::UserAgent.
|
407
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
408
408
|
@client.disable_alarm_actions(options)
|
409
409
|
end
|
410
410
|
resp.data
|
@@ -417,7 +417,7 @@ module Aws::CloudWatch
|
|
417
417
|
# @return [EmptyStructure]
|
418
418
|
def enable_actions(options = {})
|
419
419
|
options = Aws::Util.deep_merge(options, alarm_names: [@name])
|
420
|
-
resp = Aws::Plugins::UserAgent.
|
420
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
421
421
|
@client.enable_alarm_actions(options)
|
422
422
|
end
|
423
423
|
resp.data
|
@@ -447,7 +447,7 @@ module Aws::CloudWatch
|
|
447
447
|
# @return [EmptyStructure]
|
448
448
|
def set_state(options = {})
|
449
449
|
options = options.merge(alarm_name: @name)
|
450
|
-
resp = Aws::Plugins::UserAgent.
|
450
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
451
451
|
@client.set_alarm_state(options)
|
452
452
|
end
|
453
453
|
resp.data
|
@@ -513,7 +513,7 @@ module Aws::CloudWatch
|
|
513
513
|
batch.each do |item|
|
514
514
|
params[:alarm_names] << item.name
|
515
515
|
end
|
516
|
-
Aws::Plugins::UserAgent.
|
516
|
+
Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
517
517
|
batch[0].client.delete_alarms(params)
|
518
518
|
end
|
519
519
|
end
|
@@ -529,7 +529,7 @@ module Aws::CloudWatch
|
|
529
529
|
batch.each do |item|
|
530
530
|
params[:alarm_names] << item.name
|
531
531
|
end
|
532
|
-
Aws::Plugins::UserAgent.
|
532
|
+
Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
533
533
|
batch[0].client.disable_alarm_actions(params)
|
534
534
|
end
|
535
535
|
end
|
@@ -545,7 +545,7 @@ module Aws::CloudWatch
|
|
545
545
|
batch.each do |item|
|
546
546
|
params[:alarm_names] << item.name
|
547
547
|
end
|
548
|
-
Aws::Plugins::UserAgent.
|
548
|
+
Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
549
549
|
batch[0].client.enable_alarm_actions(params)
|
550
550
|
end
|
551
551
|
end
|
@@ -63,7 +63,7 @@ module Aws::CloudWatch
|
|
63
63
|
#
|
64
64
|
# @return [self]
|
65
65
|
def load
|
66
|
-
resp = Aws::Plugins::UserAgent.
|
66
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
67
67
|
@client.list_metrics(
|
68
68
|
metric_name: @name,
|
69
69
|
namespace: @namespace
|
@@ -183,7 +183,7 @@ module Aws::CloudWatch
|
|
183
183
|
:retry
|
184
184
|
end
|
185
185
|
end
|
186
|
-
Aws::Plugins::UserAgent.
|
186
|
+
Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
187
187
|
Aws::Waiters::Waiter.new(options).wait({})
|
188
188
|
end
|
189
189
|
end
|
@@ -304,7 +304,7 @@ module Aws::CloudWatch
|
|
304
304
|
namespace: @namespace,
|
305
305
|
metric_name: @name
|
306
306
|
)
|
307
|
-
resp = Aws::Plugins::UserAgent.
|
307
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
308
308
|
@client.get_metric_statistics(options)
|
309
309
|
end
|
310
310
|
resp.data
|
@@ -756,7 +756,7 @@ module Aws::CloudWatch
|
|
756
756
|
namespace: @namespace,
|
757
757
|
metric_name: @name
|
758
758
|
)
|
759
|
-
Aws::Plugins::UserAgent.
|
759
|
+
Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
760
760
|
@client.put_metric_alarm(options)
|
761
761
|
end
|
762
762
|
Alarm.new(
|
@@ -802,7 +802,7 @@ module Aws::CloudWatch
|
|
802
802
|
namespace: @namespace,
|
803
803
|
metric_data: [{ metric_name: @name }]
|
804
804
|
)
|
805
|
-
resp = Aws::Plugins::UserAgent.
|
805
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
806
806
|
@client.put_metric_data(options)
|
807
807
|
end
|
808
808
|
resp.data
|
@@ -847,7 +847,7 @@ module Aws::CloudWatch
|
|
847
847
|
namespace: @namespace,
|
848
848
|
metric_name: @name
|
849
849
|
)
|
850
|
-
resp = Aws::Plugins::UserAgent.
|
850
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
851
851
|
@client.describe_alarms_for_metric(options)
|
852
852
|
end
|
853
853
|
resp.data.metric_alarms.each do |m|
|
@@ -125,7 +125,7 @@ module Aws::CloudWatch
|
|
125
125
|
# @return [Alarm::Collection]
|
126
126
|
def alarms(options = {})
|
127
127
|
batches = Enumerator.new do |y|
|
128
|
-
resp = Aws::Plugins::UserAgent.
|
128
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
129
129
|
@client.describe_alarms(options)
|
130
130
|
end
|
131
131
|
resp.each_page do |page|
|
@@ -233,7 +233,7 @@ module Aws::CloudWatch
|
|
233
233
|
# @return [CompositeAlarm::Collection]
|
234
234
|
def composite_alarms(options = {})
|
235
235
|
batches = Enumerator.new do |y|
|
236
|
-
resp = Aws::Plugins::UserAgent.
|
236
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
237
237
|
@client.describe_alarms(options)
|
238
238
|
end
|
239
239
|
resp.each_page do |page|
|
@@ -309,7 +309,7 @@ module Aws::CloudWatch
|
|
309
309
|
# @return [Metric::Collection]
|
310
310
|
def metrics(options = {})
|
311
311
|
batches = Enumerator.new do |y|
|
312
|
-
resp = Aws::Plugins::UserAgent.
|
312
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
313
313
|
@client.list_metrics(options)
|
314
314
|
end
|
315
315
|
resp.each_page do |page|
|
data/lib/aws-sdk-cloudwatch.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.92.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-05
|
11
|
+
date: 2024-06-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.197.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.197.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|