aws-sdk-cloudwatch 1.91.0 → 1.93.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-cloudwatch/alarm.rb +11 -11
- data/lib/aws-sdk-cloudwatch/client.rb +6 -3
- 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: c8ba9d68f99525808172e9bf998772803465115c07fe04da4e965c9f76a93f25
|
4
|
+
data.tar.gz: 37da319b38e6ce849be3ca0d002dc41df3abb89c42c952ccf714e3f5fb1a5188
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a3e03875a4009f7d0c974fa0a6f437fa8c4f3e4841b765441fbfec1b6be764eb6af46bef0f0d48eed16909890f40cd1bf14f48ed28213b90b677a40ad7dc907e
|
7
|
+
data.tar.gz: 0ee824f034e4d8de9c2a68276e4bd8d6668a47b80c428ddd092788feaa489f1c9353379764fe4908a0a8dbe798649fe92a872c1743ccf45bb2da0446d77f3437
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.93.0 (2024-06-24)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.92.0 (2024-06-05)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
4
14
|
1.91.0 (2024-05-13)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.93.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
|
@@ -89,6 +89,11 @@ module Aws::CloudWatch
|
|
89
89
|
|
90
90
|
# @overload initialize(options)
|
91
91
|
# @param [Hash] options
|
92
|
+
#
|
93
|
+
# @option options [Array<Seahorse::Client::Plugin>] :plugins ([]])
|
94
|
+
# A list of plugins to apply to the client. Each plugin is either a
|
95
|
+
# class name or an instance of a plugin class.
|
96
|
+
#
|
92
97
|
# @option options [required, Aws::CredentialProvider] :credentials
|
93
98
|
# Your AWS credentials. This can be an instance of any one of the
|
94
99
|
# following classes:
|
@@ -209,7 +214,6 @@ module Aws::CloudWatch
|
|
209
214
|
# 'https://example.com'
|
210
215
|
# 'http://example.com:123'
|
211
216
|
#
|
212
|
-
#
|
213
217
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
214
218
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
215
219
|
# for endpoint discovery enabled operations. Defaults to 1000.
|
@@ -298,7 +302,6 @@ module Aws::CloudWatch
|
|
298
302
|
# throttling. This is a provisional mode that may change behavior
|
299
303
|
# in the future.
|
300
304
|
#
|
301
|
-
#
|
302
305
|
# @option options [String] :sdk_ua_app_id
|
303
306
|
# A unique and opaque application ID that is appended to the
|
304
307
|
# User-Agent header as app/sdk_ua_app_id. It should have a
|
@@ -4139,7 +4142,7 @@ module Aws::CloudWatch
|
|
4139
4142
|
params: params,
|
4140
4143
|
config: config)
|
4141
4144
|
context[:gem_name] = 'aws-sdk-cloudwatch'
|
4142
|
-
context[:gem_version] = '1.
|
4145
|
+
context[:gem_version] = '1.93.0'
|
4143
4146
|
Seahorse::Client::Request.new(handlers, context)
|
4144
4147
|
end
|
4145
4148
|
|
@@ -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.93.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-
|
11
|
+
date: 2024-06-24 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.198.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.198.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|