aws-sdk-autoscaling 1.75.0 → 1.99.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 +4 -4
- data/CHANGELOG.md +123 -1
- data/VERSION +1 -1
- data/lib/aws-sdk-autoscaling/activity.rb +6 -2
- data/lib/aws-sdk-autoscaling/auto_scaling_group.rb +256 -130
- data/lib/aws-sdk-autoscaling/client.rb +1167 -433
- data/lib/aws-sdk-autoscaling/client_api.rb +201 -6
- data/lib/aws-sdk-autoscaling/endpoint_parameters.rb +66 -0
- data/lib/aws-sdk-autoscaling/endpoint_provider.rb +57 -0
- data/lib/aws-sdk-autoscaling/endpoints.rb +926 -0
- data/lib/aws-sdk-autoscaling/errors.rb +16 -0
- data/lib/aws-sdk-autoscaling/instance.rb +41 -17
- data/lib/aws-sdk-autoscaling/launch_configuration.rb +29 -35
- data/lib/aws-sdk-autoscaling/lifecycle_hook.rb +54 -46
- data/lib/aws-sdk-autoscaling/load_balancer.rb +15 -5
- data/lib/aws-sdk-autoscaling/notification_configuration.rb +12 -4
- data/lib/aws-sdk-autoscaling/plugins/endpoints.rb +198 -0
- data/lib/aws-sdk-autoscaling/resource.rb +223 -162
- data/lib/aws-sdk-autoscaling/scaling_policy.rb +12 -4
- data/lib/aws-sdk-autoscaling/scheduled_action.rb +10 -4
- data/lib/aws-sdk-autoscaling/tag.rb +18 -6
- data/lib/aws-sdk-autoscaling/types.rb +1479 -2513
- data/lib/aws-sdk-autoscaling.rb +5 -1
- metadata +8 -4
@@ -166,7 +166,9 @@ module Aws::AutoScaling
|
|
166
166
|
#
|
167
167
|
# @return [self]
|
168
168
|
def load
|
169
|
-
resp =
|
169
|
+
resp = Aws::Plugins::UserAgent.feature('resource') do
|
170
|
+
@client.describe_policies(policy_names: [@name])
|
171
|
+
end
|
170
172
|
@data = resp.scaling_policies[0]
|
171
173
|
self
|
172
174
|
end
|
@@ -281,7 +283,9 @@ module Aws::AutoScaling
|
|
281
283
|
:retry
|
282
284
|
end
|
283
285
|
end
|
284
|
-
Aws::
|
286
|
+
Aws::Plugins::UserAgent.feature('resource') do
|
287
|
+
Aws::Waiters::Waiter.new(options).wait({})
|
288
|
+
end
|
285
289
|
end
|
286
290
|
|
287
291
|
# @!group Actions
|
@@ -297,7 +301,9 @@ module Aws::AutoScaling
|
|
297
301
|
# @return [EmptyStructure]
|
298
302
|
def delete(options = {})
|
299
303
|
options = options.merge(policy_name: @name)
|
300
|
-
resp =
|
304
|
+
resp = Aws::Plugins::UserAgent.feature('resource') do
|
305
|
+
@client.delete_policy(options)
|
306
|
+
end
|
301
307
|
resp.data
|
302
308
|
end
|
303
309
|
|
@@ -343,7 +349,9 @@ module Aws::AutoScaling
|
|
343
349
|
# @return [EmptyStructure]
|
344
350
|
def execute(options = {})
|
345
351
|
options = options.merge(policy_name: @name)
|
346
|
-
resp =
|
352
|
+
resp = Aws::Plugins::UserAgent.feature('resource') do
|
353
|
+
@client.execute_policy(options)
|
354
|
+
end
|
347
355
|
resp.data
|
348
356
|
end
|
349
357
|
|
@@ -47,7 +47,7 @@ module Aws::AutoScaling
|
|
47
47
|
data[:scheduled_action_arn]
|
48
48
|
end
|
49
49
|
|
50
|
-
# This
|
50
|
+
# This property is no longer used.
|
51
51
|
# @return [Time]
|
52
52
|
def time
|
53
53
|
data[:time]
|
@@ -116,7 +116,9 @@ module Aws::AutoScaling
|
|
116
116
|
#
|
117
117
|
# @return [self]
|
118
118
|
def load
|
119
|
-
resp =
|
119
|
+
resp = Aws::Plugins::UserAgent.feature('resource') do
|
120
|
+
@client.describe_scheduled_actions(scheduled_action_names: [@name])
|
121
|
+
end
|
120
122
|
@data = resp.scheduled_update_group_actions[0]
|
121
123
|
self
|
122
124
|
end
|
@@ -231,7 +233,9 @@ module Aws::AutoScaling
|
|
231
233
|
:retry
|
232
234
|
end
|
233
235
|
end
|
234
|
-
Aws::
|
236
|
+
Aws::Plugins::UserAgent.feature('resource') do
|
237
|
+
Aws::Waiters::Waiter.new(options).wait({})
|
238
|
+
end
|
235
239
|
end
|
236
240
|
|
237
241
|
# @!group Actions
|
@@ -247,7 +251,9 @@ module Aws::AutoScaling
|
|
247
251
|
# @return [EmptyStructure]
|
248
252
|
def delete(options = {})
|
249
253
|
options = options.merge(scheduled_action_name: @name)
|
250
|
-
resp =
|
254
|
+
resp = Aws::Plugins::UserAgent.feature('resource') do
|
255
|
+
@client.delete_scheduled_action(options)
|
256
|
+
end
|
251
257
|
resp.data
|
252
258
|
end
|
253
259
|
|
@@ -77,7 +77,8 @@ module Aws::AutoScaling
|
|
77
77
|
#
|
78
78
|
# @return [self]
|
79
79
|
def load
|
80
|
-
resp =
|
80
|
+
resp = Aws::Plugins::UserAgent.feature('resource') do
|
81
|
+
@client.describe_tags(filters: [
|
81
82
|
{
|
82
83
|
name: "key",
|
83
84
|
values: [@key]
|
@@ -87,6 +88,7 @@ module Aws::AutoScaling
|
|
87
88
|
values: [@resource_id]
|
88
89
|
}
|
89
90
|
])
|
91
|
+
end
|
90
92
|
@data = resp.tags[0]
|
91
93
|
self
|
92
94
|
end
|
@@ -201,7 +203,9 @@ module Aws::AutoScaling
|
|
201
203
|
:retry
|
202
204
|
end
|
203
205
|
end
|
204
|
-
Aws::
|
206
|
+
Aws::Plugins::UserAgent.feature('resource') do
|
207
|
+
Aws::Waiters::Waiter.new(options).wait({})
|
208
|
+
end
|
205
209
|
end
|
206
210
|
|
207
211
|
# @!group Actions
|
@@ -229,7 +233,9 @@ module Aws::AutoScaling
|
|
229
233
|
resource_id: @resource_id,
|
230
234
|
key: @key
|
231
235
|
}])
|
232
|
-
resp =
|
236
|
+
resp = Aws::Plugins::UserAgent.feature('resource') do
|
237
|
+
@client.create_or_update_tags(options)
|
238
|
+
end
|
233
239
|
resp.data
|
234
240
|
end
|
235
241
|
|
@@ -256,7 +262,9 @@ module Aws::AutoScaling
|
|
256
262
|
resource_id: @resource_id,
|
257
263
|
key: @key
|
258
264
|
}])
|
259
|
-
resp =
|
265
|
+
resp = Aws::Plugins::UserAgent.feature('resource') do
|
266
|
+
@client.delete_tags(options)
|
267
|
+
end
|
260
268
|
resp.data
|
261
269
|
end
|
262
270
|
|
@@ -323,7 +331,9 @@ module Aws::AutoScaling
|
|
323
331
|
key: item.key
|
324
332
|
}
|
325
333
|
end
|
326
|
-
|
334
|
+
Aws::Plugins::UserAgent.feature('resource') do
|
335
|
+
batch[0].client.create_or_update_tags(params)
|
336
|
+
end
|
327
337
|
end
|
328
338
|
nil
|
329
339
|
end
|
@@ -341,7 +351,9 @@ module Aws::AutoScaling
|
|
341
351
|
key: item.key
|
342
352
|
}
|
343
353
|
end
|
344
|
-
|
354
|
+
Aws::Plugins::UserAgent.feature('resource') do
|
355
|
+
batch[0].client.delete_tags(params)
|
356
|
+
end
|
345
357
|
end
|
346
358
|
nil
|
347
359
|
end
|