aws-sdk-autoscaling 1.108.0 → 1.109.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: 751e90159f3838f48f648610a7493b52693986034fe3f1347be8abb71ed640da
4
- data.tar.gz: 7c9de8c81e115ee677f77234c2e648d9b33e1983db2a1218e1f5e7edf5308e12
3
+ metadata.gz: 3dd111c73d24105ed191505b6b5eab0cdb2a36e6fa7e1edc5c23176cb4570313
4
+ data.tar.gz: b3b61f8934c742d3f9ad7f9a583497443a1211bd607c06c7feddabce08bc8915
5
5
  SHA512:
6
- metadata.gz: fffad33ada5eaf39d8a6b9d7c46ba3f5a850efb9ec8b0a594c1965a694e12f6d4bd78f82a6851dd188283a413a85a9c3828e11136c294ad3969c50990531b89c
7
- data.tar.gz: 83c6720ed274d33ab16e745d2c32879f3057c51dfa9a34f0cabb8dab25e0c9671a268b78eed39491490d12e6eaf3bc1bfb0d516a269a62a3264f359b8843aec9
6
+ metadata.gz: 38bb4787fc4a33d21f266dded05efffd2ec7681a5eea628bc61e43cc7f3b52b19c917c3ff961596a93482554b3c7c41ea23cc77121dbc93d1e4aa237afef47b1
7
+ data.tar.gz: 7fdcf8f83df7571012ca7b6d91d26c132a884d4403a137af9cab2976411e74873d36933770de39ded9b9277128b405548fc8362ebc317d91a316fd3637778df3
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.109.0 (2024-06-05)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
4
9
  1.108.0 (2024-05-13)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.108.0
1
+ 1.109.0
@@ -116,7 +116,7 @@ module Aws::AutoScaling
116
116
  #
117
117
  # @return [self]
118
118
  def load
119
- resp = Aws::Plugins::UserAgent.feature('resource') do
119
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
120
120
  @client.describe_scaling_activities(activity_ids: [@id])
121
121
  end
122
122
  @data = resp.activities[0]
@@ -233,7 +233,7 @@ module Aws::AutoScaling
233
233
  :retry
234
234
  end
235
235
  end
236
- Aws::Plugins::UserAgent.feature('resource') do
236
+ Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
237
237
  Aws::Waiters::Waiter.new(options).wait({})
238
238
  end
239
239
  end
@@ -253,7 +253,7 @@ module Aws::AutoScaling
253
253
  #
254
254
  # @return [self]
255
255
  def load
256
- resp = Aws::Plugins::UserAgent.feature('resource') do
256
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
257
257
  @client.describe_auto_scaling_groups(auto_scaling_group_names: [@name])
258
258
  end
259
259
  @data = resp.auto_scaling_groups[0]
@@ -300,7 +300,7 @@ module Aws::AutoScaling
300
300
  options, params = separate_params_and_options(options)
301
301
  waiter = Waiters::GroupExists.new(options)
302
302
  yield_waiter_and_warn(waiter, &block) if block_given?
303
- Aws::Plugins::UserAgent.feature('resource') do
303
+ Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
304
304
  waiter.wait(params.merge(auto_scaling_group_names: [@name]))
305
305
  end
306
306
  AutoScalingGroup.new({
@@ -319,7 +319,7 @@ module Aws::AutoScaling
319
319
  options, params = separate_params_and_options(options)
320
320
  waiter = Waiters::GroupInService.new(options)
321
321
  yield_waiter_and_warn(waiter, &block) if block_given?
322
- Aws::Plugins::UserAgent.feature('resource') do
322
+ Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
323
323
  waiter.wait(params.merge(auto_scaling_group_names: [@name]))
324
324
  end
325
325
  AutoScalingGroup.new({
@@ -338,7 +338,7 @@ module Aws::AutoScaling
338
338
  options, params = separate_params_and_options(options)
339
339
  waiter = Waiters::GroupNotExists.new(options)
340
340
  yield_waiter_and_warn(waiter, &block) if block_given?
341
- Aws::Plugins::UserAgent.feature('resource') do
341
+ Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
342
342
  waiter.wait(params.merge(auto_scaling_group_names: [@name]))
343
343
  end
344
344
  AutoScalingGroup.new({
@@ -441,7 +441,7 @@ module Aws::AutoScaling
441
441
  :retry
442
442
  end
443
443
  end
444
- Aws::Plugins::UserAgent.feature('resource') do
444
+ Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
445
445
  Aws::Waiters::Waiter.new(options).wait({})
446
446
  end
447
447
  end
@@ -459,7 +459,7 @@ module Aws::AutoScaling
459
459
  # @return [EmptyStructure]
460
460
  def attach_instances(options = {})
461
461
  options = options.merge(auto_scaling_group_name: @name)
462
- resp = Aws::Plugins::UserAgent.feature('resource') do
462
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
463
463
  @client.attach_instances(options)
464
464
  end
465
465
  resp.data
@@ -479,7 +479,7 @@ module Aws::AutoScaling
479
479
  # @return [EmptyStructure]
480
480
  def delete(options = {})
481
481
  options = options.merge(auto_scaling_group_name: @name)
482
- resp = Aws::Plugins::UserAgent.feature('resource') do
482
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
483
483
  @client.delete_auto_scaling_group(options)
484
484
  end
485
485
  resp.data
@@ -501,7 +501,7 @@ module Aws::AutoScaling
501
501
  def detach_instances(options = {})
502
502
  batch = []
503
503
  options = options.merge(auto_scaling_group_name: @name)
504
- resp = Aws::Plugins::UserAgent.feature('resource') do
504
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
505
505
  @client.detach_instances(options)
506
506
  end
507
507
  resp.data.activities.each do |a|
@@ -576,7 +576,7 @@ module Aws::AutoScaling
576
576
  # @return [EmptyStructure]
577
577
  def disable_metrics_collection(options = {})
578
578
  options = options.merge(auto_scaling_group_name: @name)
579
- resp = Aws::Plugins::UserAgent.feature('resource') do
579
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
580
580
  @client.disable_metrics_collection(options)
581
581
  end
582
582
  resp.data
@@ -649,7 +649,7 @@ module Aws::AutoScaling
649
649
  # @return [EmptyStructure]
650
650
  def enable_metrics_collection(options = {})
651
651
  options = options.merge(auto_scaling_group_name: @name)
652
- resp = Aws::Plugins::UserAgent.feature('resource') do
652
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
653
653
  @client.enable_metrics_collection(options)
654
654
  end
655
655
  resp.data
@@ -967,7 +967,7 @@ module Aws::AutoScaling
967
967
  # @return [ScalingPolicy]
968
968
  def put_scaling_policy(options = {})
969
969
  options = options.merge(auto_scaling_group_name: @name)
970
- Aws::Plugins::UserAgent.feature('resource') do
970
+ Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
971
971
  @client.put_scaling_policy(options)
972
972
  end
973
973
  ScalingPolicy.new(
@@ -1049,7 +1049,7 @@ module Aws::AutoScaling
1049
1049
  # @return [ScheduledAction]
1050
1050
  def put_scheduled_update_group_action(options = {})
1051
1051
  options = options.merge(auto_scaling_group_name: @name)
1052
- Aws::Plugins::UserAgent.feature('resource') do
1052
+ Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
1053
1053
  @client.put_scheduled_update_group_action(options)
1054
1054
  end
1055
1055
  ScheduledAction.new(
@@ -1089,7 +1089,7 @@ module Aws::AutoScaling
1089
1089
  # @return [EmptyStructure]
1090
1090
  def resume_processes(options = {})
1091
1091
  options = options.merge(auto_scaling_group_name: @name)
1092
- resp = Aws::Plugins::UserAgent.feature('resource') do
1092
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
1093
1093
  @client.resume_processes(options)
1094
1094
  end
1095
1095
  resp.data
@@ -1115,7 +1115,7 @@ module Aws::AutoScaling
1115
1115
  # @return [EmptyStructure]
1116
1116
  def set_desired_capacity(options = {})
1117
1117
  options = options.merge(auto_scaling_group_name: @name)
1118
- resp = Aws::Plugins::UserAgent.feature('resource') do
1118
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
1119
1119
  @client.set_desired_capacity(options)
1120
1120
  end
1121
1121
  resp.data
@@ -1152,7 +1152,7 @@ module Aws::AutoScaling
1152
1152
  # @return [EmptyStructure]
1153
1153
  def suspend_processes(options = {})
1154
1154
  options = options.merge(auto_scaling_group_name: @name)
1155
- resp = Aws::Plugins::UserAgent.feature('resource') do
1155
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
1156
1156
  @client.suspend_processes(options)
1157
1157
  end
1158
1158
  resp.data
@@ -1466,7 +1466,7 @@ module Aws::AutoScaling
1466
1466
  # @return [AutoScalingGroup]
1467
1467
  def update(options = {})
1468
1468
  options = options.merge(auto_scaling_group_name: @name)
1469
- Aws::Plugins::UserAgent.feature('resource') do
1469
+ Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
1470
1470
  @client.update_auto_scaling_group(options)
1471
1471
  end
1472
1472
  AutoScalingGroup.new(
@@ -1499,7 +1499,7 @@ module Aws::AutoScaling
1499
1499
  def activities(options = {})
1500
1500
  batches = Enumerator.new do |y|
1501
1501
  options = options.merge(auto_scaling_group_name: @name)
1502
- resp = Aws::Plugins::UserAgent.feature('resource') do
1502
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
1503
1503
  @client.describe_scaling_activities(options)
1504
1504
  end
1505
1505
  resp.each_page do |page|
@@ -1567,7 +1567,7 @@ module Aws::AutoScaling
1567
1567
  batches = Enumerator.new do |y|
1568
1568
  batch = []
1569
1569
  options = options.merge(auto_scaling_group_name: @name)
1570
- resp = Aws::Plugins::UserAgent.feature('resource') do
1570
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
1571
1571
  @client.describe_lifecycle_hooks(options)
1572
1572
  end
1573
1573
  resp.data.lifecycle_hooks.each do |l|
@@ -1601,7 +1601,7 @@ module Aws::AutoScaling
1601
1601
  def load_balancers(options = {})
1602
1602
  batches = Enumerator.new do |y|
1603
1603
  options = options.merge(auto_scaling_group_name: @name)
1604
- resp = Aws::Plugins::UserAgent.feature('resource') do
1604
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
1605
1605
  @client.describe_load_balancers(options)
1606
1606
  end
1607
1607
  resp.each_page do |page|
@@ -1628,7 +1628,7 @@ module Aws::AutoScaling
1628
1628
  def notification_configurations(options = {})
1629
1629
  batches = Enumerator.new do |y|
1630
1630
  options = Aws::Util.deep_merge(options, auto_scaling_group_names: [@name])
1631
- resp = Aws::Plugins::UserAgent.feature('resource') do
1631
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
1632
1632
  @client.describe_notification_configurations(options)
1633
1633
  end
1634
1634
  resp.each_page do |page|
@@ -1669,7 +1669,7 @@ module Aws::AutoScaling
1669
1669
  def policies(options = {})
1670
1670
  batches = Enumerator.new do |y|
1671
1671
  options = options.merge(auto_scaling_group_name: @name)
1672
- resp = Aws::Plugins::UserAgent.feature('resource') do
1672
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
1673
1673
  @client.describe_policies(options)
1674
1674
  end
1675
1675
  resp.each_page do |page|
@@ -1711,7 +1711,7 @@ module Aws::AutoScaling
1711
1711
  def scheduled_actions(options = {})
1712
1712
  batches = Enumerator.new do |y|
1713
1713
  options = options.merge(auto_scaling_group_name: @name)
1714
- resp = Aws::Plugins::UserAgent.feature('resource') do
1714
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
1715
1715
  @client.describe_scheduled_actions(options)
1716
1716
  end
1717
1717
  resp.each_page do |page|
@@ -7190,7 +7190,7 @@ module Aws::AutoScaling
7190
7190
  params: params,
7191
7191
  config: config)
7192
7192
  context[:gem_name] = 'aws-sdk-autoscaling'
7193
- context[:gem_version] = '1.108.0'
7193
+ context[:gem_version] = '1.109.0'
7194
7194
  Seahorse::Client::Request.new(handlers, context)
7195
7195
  end
7196
7196
 
@@ -129,7 +129,7 @@ module Aws::AutoScaling
129
129
  #
130
130
  # @return [self]
131
131
  def load
132
- resp = Aws::Plugins::UserAgent.feature('resource') do
132
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
133
133
  @client.describe_auto_scaling_instances(instance_ids: [@id])
134
134
  end
135
135
  @data = resp.auto_scaling_instances[0]
@@ -246,7 +246,7 @@ module Aws::AutoScaling
246
246
  :retry
247
247
  end
248
248
  end
249
- Aws::Plugins::UserAgent.feature('resource') do
249
+ Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
250
250
  Aws::Waiters::Waiter.new(options).wait({})
251
251
  end
252
252
  end
@@ -263,7 +263,7 @@ module Aws::AutoScaling
263
263
  auto_scaling_group_name: @group_name,
264
264
  instance_ids: [@id]
265
265
  )
266
- resp = Aws::Plugins::UserAgent.feature('resource') do
266
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
267
267
  @client.attach_instances(options)
268
268
  end
269
269
  resp.data
@@ -285,7 +285,7 @@ module Aws::AutoScaling
285
285
  auto_scaling_group_name: @group_name,
286
286
  instance_ids: [@id]
287
287
  )
288
- resp = Aws::Plugins::UserAgent.feature('resource') do
288
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
289
289
  @client.detach_instances(options)
290
290
  end
291
291
  resp.data.activities.each do |a|
@@ -314,7 +314,7 @@ module Aws::AutoScaling
314
314
  auto_scaling_group_name: @group_name,
315
315
  instance_ids: [@id]
316
316
  )
317
- resp = Aws::Plugins::UserAgent.feature('resource') do
317
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
318
318
  @client.enter_standby(options)
319
319
  end
320
320
  resp.data.activities.each do |a|
@@ -338,7 +338,7 @@ module Aws::AutoScaling
338
338
  auto_scaling_group_name: @group_name,
339
339
  instance_ids: [@id]
340
340
  )
341
- resp = Aws::Plugins::UserAgent.feature('resource') do
341
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
342
342
  @client.exit_standby(options)
343
343
  end
344
344
  resp.data.activities.each do |a|
@@ -379,7 +379,7 @@ module Aws::AutoScaling
379
379
  # @return [EmptyStructure]
380
380
  def set_health(options = {})
381
381
  options = options.merge(instance_id: @id)
382
- resp = Aws::Plugins::UserAgent.feature('resource') do
382
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
383
383
  @client.set_instance_health(options)
384
384
  end
385
385
  resp.data
@@ -397,7 +397,7 @@ module Aws::AutoScaling
397
397
  # @return [Activity]
398
398
  def terminate(options = {})
399
399
  options = options.merge(instance_id: @id)
400
- resp = Aws::Plugins::UserAgent.feature('resource') do
400
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
401
401
  @client.terminate_instance_in_auto_scaling_group(options)
402
402
  end
403
403
  Activity.new(
@@ -477,7 +477,7 @@ module Aws::AutoScaling
477
477
  batch.each do |item|
478
478
  params[:instance_ids] << item.id
479
479
  end
480
- Aws::Plugins::UserAgent.feature('resource') do
480
+ Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
481
481
  batch[0].client.attach_instances(params)
482
482
  end
483
483
  end
@@ -502,7 +502,7 @@ module Aws::AutoScaling
502
502
  batch.each do |item|
503
503
  params[:instance_ids] << item.id
504
504
  end
505
- Aws::Plugins::UserAgent.feature('resource') do
505
+ Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
506
506
  batch[0].client.detach_instances(params)
507
507
  end
508
508
  end
@@ -527,7 +527,7 @@ module Aws::AutoScaling
527
527
  batch.each do |item|
528
528
  params[:instance_ids] << item.id
529
529
  end
530
- Aws::Plugins::UserAgent.feature('resource') do
530
+ Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
531
531
  batch[0].client.enter_standby(params)
532
532
  end
533
533
  end
@@ -544,7 +544,7 @@ module Aws::AutoScaling
544
544
  batch.each do |item|
545
545
  params[:instance_ids] << item.id
546
546
  end
547
- Aws::Plugins::UserAgent.feature('resource') do
547
+ Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
548
548
  batch[0].client.exit_standby(params)
549
549
  end
550
550
  end
@@ -264,7 +264,7 @@ module Aws::AutoScaling
264
264
  #
265
265
  # @return [self]
266
266
  def load
267
- resp = Aws::Plugins::UserAgent.feature('resource') do
267
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
268
268
  @client.describe_launch_configurations(launch_configuration_names: [@name])
269
269
  end
270
270
  @data = resp.launch_configurations[0]
@@ -381,7 +381,7 @@ module Aws::AutoScaling
381
381
  :retry
382
382
  end
383
383
  end
384
- Aws::Plugins::UserAgent.feature('resource') do
384
+ Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
385
385
  Aws::Waiters::Waiter.new(options).wait({})
386
386
  end
387
387
  end
@@ -395,7 +395,7 @@ module Aws::AutoScaling
395
395
  # @return [EmptyStructure]
396
396
  def delete(options = {})
397
397
  options = options.merge(launch_configuration_name: @name)
398
- resp = Aws::Plugins::UserAgent.feature('resource') do
398
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
399
399
  @client.delete_launch_configuration(options)
400
400
  end
401
401
  resp.data
@@ -115,7 +115,7 @@ module Aws::AutoScaling
115
115
  #
116
116
  # @return [self]
117
117
  def load
118
- resp = Aws::Plugins::UserAgent.feature('resource') do
118
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
119
119
  @client.describe_lifecycle_hooks(
120
120
  auto_scaling_group_name: @group_name,
121
121
  lifecycle_hook_names: [@name]
@@ -235,7 +235,7 @@ module Aws::AutoScaling
235
235
  :retry
236
236
  end
237
237
  end
238
- Aws::Plugins::UserAgent.feature('resource') do
238
+ Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
239
239
  Aws::Waiters::Waiter.new(options).wait({})
240
240
  end
241
241
  end
@@ -266,7 +266,7 @@ module Aws::AutoScaling
266
266
  auto_scaling_group_name: @group_name,
267
267
  lifecycle_hook_name: @name
268
268
  )
269
- resp = Aws::Plugins::UserAgent.feature('resource') do
269
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
270
270
  @client.complete_lifecycle_action(options)
271
271
  end
272
272
  resp.data
@@ -282,7 +282,7 @@ module Aws::AutoScaling
282
282
  auto_scaling_group_name: @group_name,
283
283
  lifecycle_hook_name: @name
284
284
  )
285
- resp = Aws::Plugins::UserAgent.feature('resource') do
285
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
286
286
  @client.delete_lifecycle_hook(options)
287
287
  end
288
288
  resp.data
@@ -352,7 +352,7 @@ module Aws::AutoScaling
352
352
  auto_scaling_group_name: @group_name,
353
353
  lifecycle_hook_name: @name
354
354
  )
355
- resp = Aws::Plugins::UserAgent.feature('resource') do
355
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
356
356
  @client.put_lifecycle_hook(options)
357
357
  end
358
358
  resp.data
@@ -378,7 +378,7 @@ module Aws::AutoScaling
378
378
  auto_scaling_group_name: @group_name,
379
379
  lifecycle_hook_name: @name
380
380
  )
381
- resp = Aws::Plugins::UserAgent.feature('resource') do
381
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
382
382
  @client.record_lifecycle_action_heartbeat(options)
383
383
  end
384
384
  resp.data
@@ -190,7 +190,7 @@ module Aws::AutoScaling
190
190
  :retry
191
191
  end
192
192
  end
193
- Aws::Plugins::UserAgent.feature('resource') do
193
+ Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
194
194
  Aws::Waiters::Waiter.new(options).wait({})
195
195
  end
196
196
  end
@@ -207,7 +207,7 @@ module Aws::AutoScaling
207
207
  auto_scaling_group_name: @group_name,
208
208
  load_balancer_names: [@name]
209
209
  )
210
- resp = Aws::Plugins::UserAgent.feature('resource') do
210
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
211
211
  @client.attach_load_balancers(options)
212
212
  end
213
213
  resp.data
@@ -223,7 +223,7 @@ module Aws::AutoScaling
223
223
  auto_scaling_group_name: @group_name,
224
224
  load_balancer_names: [@name]
225
225
  )
226
- resp = Aws::Plugins::UserAgent.feature('resource') do
226
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
227
227
  @client.detach_load_balancers(options)
228
228
  end
229
229
  resp.data
@@ -287,7 +287,7 @@ module Aws::AutoScaling
287
287
  batch.each do |item|
288
288
  params[:load_balancer_names] << item.name
289
289
  end
290
- Aws::Plugins::UserAgent.feature('resource') do
290
+ Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
291
291
  batch[0].client.attach_load_balancers(params)
292
292
  end
293
293
  end
@@ -304,7 +304,7 @@ module Aws::AutoScaling
304
304
  batch.each do |item|
305
305
  params[:load_balancer_names] << item.name
306
306
  end
307
- Aws::Plugins::UserAgent.feature('resource') do
307
+ Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
308
308
  batch[0].client.detach_load_balancers(params)
309
309
  end
310
310
  end
@@ -176,7 +176,7 @@ module Aws::AutoScaling
176
176
  :retry
177
177
  end
178
178
  end
179
- Aws::Plugins::UserAgent.feature('resource') do
179
+ Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
180
180
  Aws::Waiters::Waiter.new(options).wait({})
181
181
  end
182
182
  end
@@ -193,7 +193,7 @@ module Aws::AutoScaling
193
193
  auto_scaling_group_name: @group_name,
194
194
  topic_arn: @topic_arn
195
195
  )
196
- resp = Aws::Plugins::UserAgent.feature('resource') do
196
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
197
197
  @client.delete_notification_configuration(options)
198
198
  end
199
199
  resp.data
@@ -210,7 +210,7 @@ module Aws::AutoScaling
210
210
  topic_arn: @topic_arn,
211
211
  notification_types: [@notification_type]
212
212
  )
213
- resp = Aws::Plugins::UserAgent.feature('resource') do
213
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
214
214
  @client.put_notification_configuration(options)
215
215
  end
216
216
  resp.data
@@ -287,7 +287,7 @@ module Aws::AutoScaling
287
287
  batch.each do |item|
288
288
  params[:notification_types] << item.notification_type
289
289
  end
290
- Aws::Plugins::UserAgent.feature('resource') do
290
+ Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
291
291
  batch[0].client.put_notification_configuration(params)
292
292
  end
293
293
  end
@@ -468,7 +468,7 @@ module Aws::AutoScaling
468
468
  # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-instance-maintenance-policy.html
469
469
  # @return [AutoScalingGroup]
470
470
  def create_group(options = {})
471
- Aws::Plugins::UserAgent.feature('resource') do
471
+ Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
472
472
  @client.create_auto_scaling_group(options)
473
473
  end
474
474
  AutoScalingGroup.new(
@@ -734,7 +734,7 @@ module Aws::AutoScaling
734
734
  # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-launch-config.html#launch-configurations-imds
735
735
  # @return [LaunchConfiguration]
736
736
  def create_launch_configuration(options = {})
737
- Aws::Plugins::UserAgent.feature('resource') do
737
+ Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
738
738
  @client.create_launch_configuration(options)
739
739
  end
740
740
  LaunchConfiguration.new(
@@ -769,7 +769,7 @@ module Aws::AutoScaling
769
769
  # @return [Activity::Collection]
770
770
  def activities(options = {})
771
771
  batches = Enumerator.new do |y|
772
- resp = Aws::Plugins::UserAgent.feature('resource') do
772
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
773
773
  @client.describe_scaling_activities(options)
774
774
  end
775
775
  resp.each_page do |page|
@@ -828,7 +828,7 @@ module Aws::AutoScaling
828
828
  # @return [AutoScalingGroup::Collection]
829
829
  def groups(options = {})
830
830
  batches = Enumerator.new do |y|
831
- resp = Aws::Plugins::UserAgent.feature('resource') do
831
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
832
832
  @client.describe_auto_scaling_groups(options)
833
833
  end
834
834
  resp.each_page do |page|
@@ -861,7 +861,7 @@ module Aws::AutoScaling
861
861
  # @return [Instance::Collection]
862
862
  def instances(options = {})
863
863
  batches = Enumerator.new do |y|
864
- resp = Aws::Plugins::UserAgent.feature('resource') do
864
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
865
865
  @client.describe_auto_scaling_instances(options)
866
866
  end
867
867
  resp.each_page do |page|
@@ -903,7 +903,7 @@ module Aws::AutoScaling
903
903
  # @return [LaunchConfiguration::Collection]
904
904
  def launch_configurations(options = {})
905
905
  batches = Enumerator.new do |y|
906
- resp = Aws::Plugins::UserAgent.feature('resource') do
906
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
907
907
  @client.describe_launch_configurations(options)
908
908
  end
909
909
  resp.each_page do |page|
@@ -944,7 +944,7 @@ module Aws::AutoScaling
944
944
  # @return [ScalingPolicy::Collection]
945
945
  def policies(options = {})
946
946
  batches = Enumerator.new do |y|
947
- resp = Aws::Plugins::UserAgent.feature('resource') do
947
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
948
948
  @client.describe_policies(options)
949
949
  end
950
950
  resp.each_page do |page|
@@ -1006,7 +1006,7 @@ module Aws::AutoScaling
1006
1006
  # @return [ScheduledAction::Collection]
1007
1007
  def scheduled_actions(options = {})
1008
1008
  batches = Enumerator.new do |y|
1009
- resp = Aws::Plugins::UserAgent.feature('resource') do
1009
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
1010
1010
  @client.describe_scheduled_actions(options)
1011
1011
  end
1012
1012
  resp.each_page do |page|
@@ -1041,7 +1041,7 @@ module Aws::AutoScaling
1041
1041
  # @return [Tag::Collection]
1042
1042
  def tags(options = {})
1043
1043
  batches = Enumerator.new do |y|
1044
- resp = Aws::Plugins::UserAgent.feature('resource') do
1044
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
1045
1045
  @client.describe_tags(options)
1046
1046
  end
1047
1047
  resp.each_page do |page|
@@ -166,7 +166,7 @@ module Aws::AutoScaling
166
166
  #
167
167
  # @return [self]
168
168
  def load
169
- resp = Aws::Plugins::UserAgent.feature('resource') do
169
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
170
170
  @client.describe_policies(policy_names: [@name])
171
171
  end
172
172
  @data = resp.scaling_policies[0]
@@ -283,7 +283,7 @@ module Aws::AutoScaling
283
283
  :retry
284
284
  end
285
285
  end
286
- Aws::Plugins::UserAgent.feature('resource') do
286
+ Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
287
287
  Aws::Waiters::Waiter.new(options).wait({})
288
288
  end
289
289
  end
@@ -301,7 +301,7 @@ module Aws::AutoScaling
301
301
  # @return [EmptyStructure]
302
302
  def delete(options = {})
303
303
  options = options.merge(policy_name: @name)
304
- resp = Aws::Plugins::UserAgent.feature('resource') do
304
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
305
305
  @client.delete_policy(options)
306
306
  end
307
307
  resp.data
@@ -349,7 +349,7 @@ module Aws::AutoScaling
349
349
  # @return [EmptyStructure]
350
350
  def execute(options = {})
351
351
  options = options.merge(policy_name: @name)
352
- resp = Aws::Plugins::UserAgent.feature('resource') do
352
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
353
353
  @client.execute_policy(options)
354
354
  end
355
355
  resp.data
@@ -116,7 +116,7 @@ module Aws::AutoScaling
116
116
  #
117
117
  # @return [self]
118
118
  def load
119
- resp = Aws::Plugins::UserAgent.feature('resource') do
119
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
120
120
  @client.describe_scheduled_actions(scheduled_action_names: [@name])
121
121
  end
122
122
  @data = resp.scheduled_update_group_actions[0]
@@ -233,7 +233,7 @@ module Aws::AutoScaling
233
233
  :retry
234
234
  end
235
235
  end
236
- Aws::Plugins::UserAgent.feature('resource') do
236
+ Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
237
237
  Aws::Waiters::Waiter.new(options).wait({})
238
238
  end
239
239
  end
@@ -251,7 +251,7 @@ module Aws::AutoScaling
251
251
  # @return [EmptyStructure]
252
252
  def delete(options = {})
253
253
  options = options.merge(scheduled_action_name: @name)
254
- resp = Aws::Plugins::UserAgent.feature('resource') do
254
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
255
255
  @client.delete_scheduled_action(options)
256
256
  end
257
257
  resp.data
@@ -77,7 +77,7 @@ module Aws::AutoScaling
77
77
  #
78
78
  # @return [self]
79
79
  def load
80
- resp = Aws::Plugins::UserAgent.feature('resource') do
80
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
81
81
  @client.describe_tags(filters: [
82
82
  {
83
83
  name: "key",
@@ -203,7 +203,7 @@ module Aws::AutoScaling
203
203
  :retry
204
204
  end
205
205
  end
206
- Aws::Plugins::UserAgent.feature('resource') do
206
+ Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
207
207
  Aws::Waiters::Waiter.new(options).wait({})
208
208
  end
209
209
  end
@@ -233,7 +233,7 @@ module Aws::AutoScaling
233
233
  resource_id: @resource_id,
234
234
  key: @key
235
235
  }])
236
- resp = Aws::Plugins::UserAgent.feature('resource') do
236
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
237
237
  @client.create_or_update_tags(options)
238
238
  end
239
239
  resp.data
@@ -262,7 +262,7 @@ module Aws::AutoScaling
262
262
  resource_id: @resource_id,
263
263
  key: @key
264
264
  }])
265
- resp = Aws::Plugins::UserAgent.feature('resource') do
265
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
266
266
  @client.delete_tags(options)
267
267
  end
268
268
  resp.data
@@ -331,7 +331,7 @@ module Aws::AutoScaling
331
331
  key: item.key
332
332
  }
333
333
  end
334
- Aws::Plugins::UserAgent.feature('resource') do
334
+ Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
335
335
  batch[0].client.create_or_update_tags(params)
336
336
  end
337
337
  end
@@ -351,7 +351,7 @@ module Aws::AutoScaling
351
351
  key: item.key
352
352
  }
353
353
  end
354
- Aws::Plugins::UserAgent.feature('resource') do
354
+ Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
355
355
  batch[0].client.delete_tags(params)
356
356
  end
357
357
  end
@@ -63,6 +63,6 @@ require_relative 'aws-sdk-autoscaling/customizations'
63
63
  # @!group service
64
64
  module Aws::AutoScaling
65
65
 
66
- GEM_VERSION = '1.108.0'
66
+ GEM_VERSION = '1.109.0'
67
67
 
68
68
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-autoscaling
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.108.0
4
+ version: 1.109.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-13 00:00:00.000000000 Z
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.193.0
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.193.0
32
+ version: 3.197.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement