aws-sdk-autoscaling 1.102.0 → 1.103.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-autoscaling/client.rb +1 -1
- data/lib/aws-sdk-autoscaling/plugins/endpoints.rb +1 -0
- data/lib/aws-sdk-autoscaling.rb +1 -1
- data/sig/activity.rbs +74 -0
- data/sig/auto_scaling_group.rbs +541 -0
- data/sig/client.rbs +1371 -0
- data/sig/errors.rbs +46 -0
- data/sig/instance.rbs +125 -0
- data/sig/launch_configuration.rbs +100 -0
- data/sig/lifecycle_hook.rbs +97 -0
- data/sig/load_balancer.rbs +62 -0
- data/sig/notification_configuration.rbs +59 -0
- data/sig/resource.rbs +341 -0
- data/sig/scaling_policy.rbs +101 -0
- data/sig/scheduled_action.rbs +77 -0
- data/sig/tag.rbs +85 -0
- data/sig/types.rbs +1410 -0
- data/sig/waiters.rbs +67 -0
- metadata +23 -8
data/sig/client.rbs
ADDED
@@ -0,0 +1,1371 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws
|
9
|
+
module AutoScaling
|
10
|
+
class Client < ::Seahorse::Client::Base
|
11
|
+
include ::Aws::ClientStubs
|
12
|
+
|
13
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Client.html#initialize-instance_method
|
14
|
+
def self.new: (
|
15
|
+
?credentials: untyped,
|
16
|
+
?region: String,
|
17
|
+
?access_key_id: String,
|
18
|
+
?active_endpoint_cache: bool,
|
19
|
+
?adaptive_retry_wait_to_fill: bool,
|
20
|
+
?client_side_monitoring: bool,
|
21
|
+
?client_side_monitoring_client_id: String,
|
22
|
+
?client_side_monitoring_host: String,
|
23
|
+
?client_side_monitoring_port: Integer,
|
24
|
+
?client_side_monitoring_publisher: untyped,
|
25
|
+
?convert_params: bool,
|
26
|
+
?correct_clock_skew: bool,
|
27
|
+
?defaults_mode: String,
|
28
|
+
?disable_host_prefix_injection: bool,
|
29
|
+
?disable_request_compression: bool,
|
30
|
+
?endpoint: String,
|
31
|
+
?endpoint_cache_max_entries: Integer,
|
32
|
+
?endpoint_cache_max_threads: Integer,
|
33
|
+
?endpoint_cache_poll_interval: Integer,
|
34
|
+
?endpoint_discovery: bool,
|
35
|
+
?ignore_configured_endpoint_urls: bool,
|
36
|
+
?log_formatter: untyped,
|
37
|
+
?log_level: Symbol,
|
38
|
+
?logger: untyped,
|
39
|
+
?max_attempts: Integer,
|
40
|
+
?profile: String,
|
41
|
+
?request_min_compression_size_bytes: Integer,
|
42
|
+
?retry_backoff: Proc,
|
43
|
+
?retry_base_delay: Float,
|
44
|
+
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
45
|
+
?retry_limit: Integer,
|
46
|
+
?retry_max_delay: Integer,
|
47
|
+
?retry_mode: ("legacy" | "standard" | "adaptive"),
|
48
|
+
?sdk_ua_app_id: String,
|
49
|
+
?secret_access_key: String,
|
50
|
+
?session_token: String,
|
51
|
+
?stub_responses: untyped,
|
52
|
+
?token_provider: untyped,
|
53
|
+
?use_dualstack_endpoint: bool,
|
54
|
+
?use_fips_endpoint: bool,
|
55
|
+
?validate_params: bool,
|
56
|
+
?endpoint_provider: untyped,
|
57
|
+
?http_proxy: String,
|
58
|
+
?http_open_timeout: (Float | Integer),
|
59
|
+
?http_read_timeout: (Float | Integer),
|
60
|
+
?http_idle_timeout: (Float | Integer),
|
61
|
+
?http_continue_timeout: (Float | Integer),
|
62
|
+
?ssl_timeout: (Float | Integer | nil),
|
63
|
+
?http_wire_trace: bool,
|
64
|
+
?ssl_verify_peer: bool,
|
65
|
+
?ssl_ca_bundle: String,
|
66
|
+
?ssl_ca_directory: String,
|
67
|
+
?ssl_ca_store: String,
|
68
|
+
?on_chunk_received: Proc,
|
69
|
+
?on_chunk_sent: Proc,
|
70
|
+
?raise_response_errors: bool
|
71
|
+
) -> instance
|
72
|
+
| (?Hash[Symbol, untyped]) -> instance
|
73
|
+
|
74
|
+
|
75
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Client.html#attach_instances-instance_method
|
76
|
+
def attach_instances: (
|
77
|
+
?instance_ids: Array[::String],
|
78
|
+
auto_scaling_group_name: ::String
|
79
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
80
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
81
|
+
|
82
|
+
interface _AttachLoadBalancerTargetGroupsResponseSuccess
|
83
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::AttachLoadBalancerTargetGroupsResultType]
|
84
|
+
end
|
85
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Client.html#attach_load_balancer_target_groups-instance_method
|
86
|
+
def attach_load_balancer_target_groups: (
|
87
|
+
auto_scaling_group_name: ::String,
|
88
|
+
target_group_arns: Array[::String]
|
89
|
+
) -> _AttachLoadBalancerTargetGroupsResponseSuccess
|
90
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AttachLoadBalancerTargetGroupsResponseSuccess
|
91
|
+
|
92
|
+
interface _AttachLoadBalancersResponseSuccess
|
93
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::AttachLoadBalancersResultType]
|
94
|
+
end
|
95
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Client.html#attach_load_balancers-instance_method
|
96
|
+
def attach_load_balancers: (
|
97
|
+
auto_scaling_group_name: ::String,
|
98
|
+
load_balancer_names: Array[::String]
|
99
|
+
) -> _AttachLoadBalancersResponseSuccess
|
100
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AttachLoadBalancersResponseSuccess
|
101
|
+
|
102
|
+
interface _AttachTrafficSourcesResponseSuccess
|
103
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::AttachTrafficSourcesResultType]
|
104
|
+
end
|
105
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Client.html#attach_traffic_sources-instance_method
|
106
|
+
def attach_traffic_sources: (
|
107
|
+
auto_scaling_group_name: ::String,
|
108
|
+
traffic_sources: Array[
|
109
|
+
{
|
110
|
+
identifier: ::String,
|
111
|
+
type: ::String?
|
112
|
+
},
|
113
|
+
]
|
114
|
+
) -> _AttachTrafficSourcesResponseSuccess
|
115
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AttachTrafficSourcesResponseSuccess
|
116
|
+
|
117
|
+
interface _BatchDeleteScheduledActionResponseSuccess
|
118
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::BatchDeleteScheduledActionAnswer]
|
119
|
+
def failed_scheduled_actions: () -> ::Array[Types::FailedScheduledUpdateGroupActionRequest]
|
120
|
+
end
|
121
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Client.html#batch_delete_scheduled_action-instance_method
|
122
|
+
def batch_delete_scheduled_action: (
|
123
|
+
auto_scaling_group_name: ::String,
|
124
|
+
scheduled_action_names: Array[::String]
|
125
|
+
) -> _BatchDeleteScheduledActionResponseSuccess
|
126
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchDeleteScheduledActionResponseSuccess
|
127
|
+
|
128
|
+
interface _BatchPutScheduledUpdateGroupActionResponseSuccess
|
129
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::BatchPutScheduledUpdateGroupActionAnswer]
|
130
|
+
def failed_scheduled_update_group_actions: () -> ::Array[Types::FailedScheduledUpdateGroupActionRequest]
|
131
|
+
end
|
132
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Client.html#batch_put_scheduled_update_group_action-instance_method
|
133
|
+
def batch_put_scheduled_update_group_action: (
|
134
|
+
auto_scaling_group_name: ::String,
|
135
|
+
scheduled_update_group_actions: Array[
|
136
|
+
{
|
137
|
+
scheduled_action_name: ::String,
|
138
|
+
start_time: ::Time?,
|
139
|
+
end_time: ::Time?,
|
140
|
+
recurrence: ::String?,
|
141
|
+
min_size: ::Integer?,
|
142
|
+
max_size: ::Integer?,
|
143
|
+
desired_capacity: ::Integer?,
|
144
|
+
time_zone: ::String?
|
145
|
+
},
|
146
|
+
]
|
147
|
+
) -> _BatchPutScheduledUpdateGroupActionResponseSuccess
|
148
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchPutScheduledUpdateGroupActionResponseSuccess
|
149
|
+
|
150
|
+
interface _CancelInstanceRefreshResponseSuccess
|
151
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CancelInstanceRefreshAnswer]
|
152
|
+
def instance_refresh_id: () -> ::String
|
153
|
+
end
|
154
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Client.html#cancel_instance_refresh-instance_method
|
155
|
+
def cancel_instance_refresh: (
|
156
|
+
auto_scaling_group_name: ::String
|
157
|
+
) -> _CancelInstanceRefreshResponseSuccess
|
158
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CancelInstanceRefreshResponseSuccess
|
159
|
+
|
160
|
+
interface _CompleteLifecycleActionResponseSuccess
|
161
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CompleteLifecycleActionAnswer]
|
162
|
+
end
|
163
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Client.html#complete_lifecycle_action-instance_method
|
164
|
+
def complete_lifecycle_action: (
|
165
|
+
lifecycle_hook_name: ::String,
|
166
|
+
auto_scaling_group_name: ::String,
|
167
|
+
?lifecycle_action_token: ::String,
|
168
|
+
lifecycle_action_result: ::String,
|
169
|
+
?instance_id: ::String
|
170
|
+
) -> _CompleteLifecycleActionResponseSuccess
|
171
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CompleteLifecycleActionResponseSuccess
|
172
|
+
|
173
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Client.html#create_auto_scaling_group-instance_method
|
174
|
+
def create_auto_scaling_group: (
|
175
|
+
auto_scaling_group_name: ::String,
|
176
|
+
?launch_configuration_name: ::String,
|
177
|
+
?launch_template: {
|
178
|
+
launch_template_id: ::String?,
|
179
|
+
launch_template_name: ::String?,
|
180
|
+
version: ::String?
|
181
|
+
},
|
182
|
+
?mixed_instances_policy: {
|
183
|
+
launch_template: {
|
184
|
+
launch_template_specification: {
|
185
|
+
launch_template_id: ::String?,
|
186
|
+
launch_template_name: ::String?,
|
187
|
+
version: ::String?
|
188
|
+
}?,
|
189
|
+
overrides: Array[
|
190
|
+
{
|
191
|
+
instance_type: ::String?,
|
192
|
+
weighted_capacity: ::String?,
|
193
|
+
launch_template_specification: {
|
194
|
+
launch_template_id: ::String?,
|
195
|
+
launch_template_name: ::String?,
|
196
|
+
version: ::String?
|
197
|
+
}?,
|
198
|
+
instance_requirements: {
|
199
|
+
v_cpu_count: {
|
200
|
+
min: ::Integer,
|
201
|
+
max: ::Integer?
|
202
|
+
},
|
203
|
+
memory_mi_b: {
|
204
|
+
min: ::Integer,
|
205
|
+
max: ::Integer?
|
206
|
+
},
|
207
|
+
cpu_manufacturers: Array[("intel" | "amd" | "amazon-web-services")]?,
|
208
|
+
memory_gi_b_per_v_cpu: {
|
209
|
+
min: ::Float?,
|
210
|
+
max: ::Float?
|
211
|
+
}?,
|
212
|
+
excluded_instance_types: Array[::String]?,
|
213
|
+
instance_generations: Array[("current" | "previous")]?,
|
214
|
+
spot_max_price_percentage_over_lowest_price: ::Integer?,
|
215
|
+
on_demand_max_price_percentage_over_lowest_price: ::Integer?,
|
216
|
+
bare_metal: ("included" | "excluded" | "required")?,
|
217
|
+
burstable_performance: ("included" | "excluded" | "required")?,
|
218
|
+
require_hibernate_support: bool?,
|
219
|
+
network_interface_count: {
|
220
|
+
min: ::Integer?,
|
221
|
+
max: ::Integer?
|
222
|
+
}?,
|
223
|
+
local_storage: ("included" | "excluded" | "required")?,
|
224
|
+
local_storage_types: Array[("hdd" | "ssd")]?,
|
225
|
+
total_local_storage_gb: {
|
226
|
+
min: ::Float?,
|
227
|
+
max: ::Float?
|
228
|
+
}?,
|
229
|
+
baseline_ebs_bandwidth_mbps: {
|
230
|
+
min: ::Integer?,
|
231
|
+
max: ::Integer?
|
232
|
+
}?,
|
233
|
+
accelerator_types: Array[("gpu" | "fpga" | "inference")]?,
|
234
|
+
accelerator_count: {
|
235
|
+
min: ::Integer?,
|
236
|
+
max: ::Integer?
|
237
|
+
}?,
|
238
|
+
accelerator_manufacturers: Array[("nvidia" | "amd" | "amazon-web-services" | "xilinx")]?,
|
239
|
+
accelerator_names: Array[("a100" | "v100" | "k80" | "t4" | "m60" | "radeon-pro-v520" | "vu9p")]?,
|
240
|
+
accelerator_total_memory_mi_b: {
|
241
|
+
min: ::Integer?,
|
242
|
+
max: ::Integer?
|
243
|
+
}?,
|
244
|
+
network_bandwidth_gbps: {
|
245
|
+
min: ::Float?,
|
246
|
+
max: ::Float?
|
247
|
+
}?,
|
248
|
+
allowed_instance_types: Array[::String]?
|
249
|
+
}?
|
250
|
+
},
|
251
|
+
]?
|
252
|
+
}?,
|
253
|
+
instances_distribution: {
|
254
|
+
on_demand_allocation_strategy: ::String?,
|
255
|
+
on_demand_base_capacity: ::Integer?,
|
256
|
+
on_demand_percentage_above_base_capacity: ::Integer?,
|
257
|
+
spot_allocation_strategy: ::String?,
|
258
|
+
spot_instance_pools: ::Integer?,
|
259
|
+
spot_max_price: ::String?
|
260
|
+
}?
|
261
|
+
},
|
262
|
+
?instance_id: ::String,
|
263
|
+
min_size: ::Integer,
|
264
|
+
max_size: ::Integer,
|
265
|
+
?desired_capacity: ::Integer,
|
266
|
+
?default_cooldown: ::Integer,
|
267
|
+
?availability_zones: Array[::String],
|
268
|
+
?load_balancer_names: Array[::String],
|
269
|
+
?target_group_arns: Array[::String],
|
270
|
+
?health_check_type: ::String,
|
271
|
+
?health_check_grace_period: ::Integer,
|
272
|
+
?placement_group: ::String,
|
273
|
+
?vpc_zone_identifier: ::String,
|
274
|
+
?termination_policies: Array[::String],
|
275
|
+
?new_instances_protected_from_scale_in: bool,
|
276
|
+
?capacity_rebalance: bool,
|
277
|
+
?lifecycle_hook_specification_list: Array[
|
278
|
+
{
|
279
|
+
lifecycle_hook_name: ::String,
|
280
|
+
lifecycle_transition: ::String,
|
281
|
+
notification_metadata: ::String?,
|
282
|
+
heartbeat_timeout: ::Integer?,
|
283
|
+
default_result: ::String?,
|
284
|
+
notification_target_arn: ::String?,
|
285
|
+
role_arn: ::String?
|
286
|
+
},
|
287
|
+
],
|
288
|
+
?tags: Array[
|
289
|
+
{
|
290
|
+
resource_id: ::String?,
|
291
|
+
resource_type: ::String?,
|
292
|
+
key: ::String,
|
293
|
+
value: ::String?,
|
294
|
+
propagate_at_launch: bool?
|
295
|
+
},
|
296
|
+
],
|
297
|
+
?service_linked_role_arn: ::String,
|
298
|
+
?max_instance_lifetime: ::Integer,
|
299
|
+
?context: ::String,
|
300
|
+
?desired_capacity_type: ::String,
|
301
|
+
?default_instance_warmup: ::Integer,
|
302
|
+
?traffic_sources: Array[
|
303
|
+
{
|
304
|
+
identifier: ::String,
|
305
|
+
type: ::String?
|
306
|
+
},
|
307
|
+
],
|
308
|
+
?instance_maintenance_policy: {
|
309
|
+
min_healthy_percentage: ::Integer?,
|
310
|
+
max_healthy_percentage: ::Integer?
|
311
|
+
}
|
312
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
313
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
314
|
+
|
315
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Client.html#create_launch_configuration-instance_method
|
316
|
+
def create_launch_configuration: (
|
317
|
+
launch_configuration_name: ::String,
|
318
|
+
?image_id: ::String,
|
319
|
+
?key_name: ::String,
|
320
|
+
?security_groups: Array[::String],
|
321
|
+
?classic_link_vpc_id: ::String,
|
322
|
+
?classic_link_vpc_security_groups: Array[::String],
|
323
|
+
?user_data: ::String,
|
324
|
+
?instance_id: ::String,
|
325
|
+
?instance_type: ::String,
|
326
|
+
?kernel_id: ::String,
|
327
|
+
?ramdisk_id: ::String,
|
328
|
+
?block_device_mappings: Array[
|
329
|
+
{
|
330
|
+
virtual_name: ::String?,
|
331
|
+
device_name: ::String,
|
332
|
+
ebs: {
|
333
|
+
snapshot_id: ::String?,
|
334
|
+
volume_size: ::Integer?,
|
335
|
+
volume_type: ::String?,
|
336
|
+
delete_on_termination: bool?,
|
337
|
+
iops: ::Integer?,
|
338
|
+
encrypted: bool?,
|
339
|
+
throughput: ::Integer?
|
340
|
+
}?,
|
341
|
+
no_device: bool?
|
342
|
+
},
|
343
|
+
],
|
344
|
+
?instance_monitoring: {
|
345
|
+
enabled: bool?
|
346
|
+
},
|
347
|
+
?spot_price: ::String,
|
348
|
+
?iam_instance_profile: ::String,
|
349
|
+
?ebs_optimized: bool,
|
350
|
+
?associate_public_ip_address: bool,
|
351
|
+
?placement_tenancy: ::String,
|
352
|
+
?metadata_options: {
|
353
|
+
http_tokens: ("optional" | "required")?,
|
354
|
+
http_put_response_hop_limit: ::Integer?,
|
355
|
+
http_endpoint: ("disabled" | "enabled")?
|
356
|
+
}
|
357
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
358
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
359
|
+
|
360
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Client.html#create_or_update_tags-instance_method
|
361
|
+
def create_or_update_tags: (
|
362
|
+
tags: Array[
|
363
|
+
{
|
364
|
+
resource_id: ::String?,
|
365
|
+
resource_type: ::String?,
|
366
|
+
key: ::String,
|
367
|
+
value: ::String?,
|
368
|
+
propagate_at_launch: bool?
|
369
|
+
},
|
370
|
+
]
|
371
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
372
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
373
|
+
|
374
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Client.html#delete_auto_scaling_group-instance_method
|
375
|
+
def delete_auto_scaling_group: (
|
376
|
+
auto_scaling_group_name: ::String,
|
377
|
+
?force_delete: bool
|
378
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
379
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
380
|
+
|
381
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Client.html#delete_launch_configuration-instance_method
|
382
|
+
def delete_launch_configuration: (
|
383
|
+
launch_configuration_name: ::String
|
384
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
385
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
386
|
+
|
387
|
+
interface _DeleteLifecycleHookResponseSuccess
|
388
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteLifecycleHookAnswer]
|
389
|
+
end
|
390
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Client.html#delete_lifecycle_hook-instance_method
|
391
|
+
def delete_lifecycle_hook: (
|
392
|
+
lifecycle_hook_name: ::String,
|
393
|
+
auto_scaling_group_name: ::String
|
394
|
+
) -> _DeleteLifecycleHookResponseSuccess
|
395
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteLifecycleHookResponseSuccess
|
396
|
+
|
397
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Client.html#delete_notification_configuration-instance_method
|
398
|
+
def delete_notification_configuration: (
|
399
|
+
auto_scaling_group_name: ::String,
|
400
|
+
topic_arn: ::String
|
401
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
402
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
403
|
+
|
404
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Client.html#delete_policy-instance_method
|
405
|
+
def delete_policy: (
|
406
|
+
?auto_scaling_group_name: ::String,
|
407
|
+
policy_name: ::String
|
408
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
409
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
410
|
+
|
411
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Client.html#delete_scheduled_action-instance_method
|
412
|
+
def delete_scheduled_action: (
|
413
|
+
auto_scaling_group_name: ::String,
|
414
|
+
scheduled_action_name: ::String
|
415
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
416
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
417
|
+
|
418
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Client.html#delete_tags-instance_method
|
419
|
+
def delete_tags: (
|
420
|
+
tags: Array[
|
421
|
+
{
|
422
|
+
resource_id: ::String?,
|
423
|
+
resource_type: ::String?,
|
424
|
+
key: ::String,
|
425
|
+
value: ::String?,
|
426
|
+
propagate_at_launch: bool?
|
427
|
+
},
|
428
|
+
]
|
429
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
430
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
431
|
+
|
432
|
+
interface _DeleteWarmPoolResponseSuccess
|
433
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteWarmPoolAnswer]
|
434
|
+
end
|
435
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Client.html#delete_warm_pool-instance_method
|
436
|
+
def delete_warm_pool: (
|
437
|
+
auto_scaling_group_name: ::String,
|
438
|
+
?force_delete: bool
|
439
|
+
) -> _DeleteWarmPoolResponseSuccess
|
440
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteWarmPoolResponseSuccess
|
441
|
+
|
442
|
+
interface _DescribeAccountLimitsResponseSuccess
|
443
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeAccountLimitsAnswer]
|
444
|
+
def max_number_of_auto_scaling_groups: () -> ::Integer
|
445
|
+
def max_number_of_launch_configurations: () -> ::Integer
|
446
|
+
def number_of_auto_scaling_groups: () -> ::Integer
|
447
|
+
def number_of_launch_configurations: () -> ::Integer
|
448
|
+
end
|
449
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Client.html#describe_account_limits-instance_method
|
450
|
+
def describe_account_limits: () -> _DescribeAccountLimitsResponseSuccess
|
451
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeAccountLimitsResponseSuccess
|
452
|
+
|
453
|
+
interface _DescribeAdjustmentTypesResponseSuccess
|
454
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeAdjustmentTypesAnswer]
|
455
|
+
def adjustment_types: () -> ::Array[Types::AdjustmentType]
|
456
|
+
end
|
457
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Client.html#describe_adjustment_types-instance_method
|
458
|
+
def describe_adjustment_types: () -> _DescribeAdjustmentTypesResponseSuccess
|
459
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeAdjustmentTypesResponseSuccess
|
460
|
+
|
461
|
+
interface _DescribeAutoScalingGroupsResponseSuccess
|
462
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::AutoScalingGroupsType]
|
463
|
+
def auto_scaling_groups: () -> ::Array[Types::AutoScalingGroup]
|
464
|
+
def next_token: () -> ::String
|
465
|
+
end
|
466
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Client.html#describe_auto_scaling_groups-instance_method
|
467
|
+
def describe_auto_scaling_groups: (
|
468
|
+
?auto_scaling_group_names: Array[::String],
|
469
|
+
?next_token: ::String,
|
470
|
+
?max_records: ::Integer,
|
471
|
+
?filters: Array[
|
472
|
+
{
|
473
|
+
name: ::String?,
|
474
|
+
values: Array[::String]?
|
475
|
+
},
|
476
|
+
]
|
477
|
+
) -> _DescribeAutoScalingGroupsResponseSuccess
|
478
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeAutoScalingGroupsResponseSuccess
|
479
|
+
|
480
|
+
interface _DescribeAutoScalingInstancesResponseSuccess
|
481
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::AutoScalingInstancesType]
|
482
|
+
def auto_scaling_instances: () -> ::Array[Types::AutoScalingInstanceDetails]
|
483
|
+
def next_token: () -> ::String
|
484
|
+
end
|
485
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Client.html#describe_auto_scaling_instances-instance_method
|
486
|
+
def describe_auto_scaling_instances: (
|
487
|
+
?instance_ids: Array[::String],
|
488
|
+
?max_records: ::Integer,
|
489
|
+
?next_token: ::String
|
490
|
+
) -> _DescribeAutoScalingInstancesResponseSuccess
|
491
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeAutoScalingInstancesResponseSuccess
|
492
|
+
|
493
|
+
interface _DescribeAutoScalingNotificationTypesResponseSuccess
|
494
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeAutoScalingNotificationTypesAnswer]
|
495
|
+
def auto_scaling_notification_types: () -> ::Array[::String]
|
496
|
+
end
|
497
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Client.html#describe_auto_scaling_notification_types-instance_method
|
498
|
+
def describe_auto_scaling_notification_types: () -> _DescribeAutoScalingNotificationTypesResponseSuccess
|
499
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeAutoScalingNotificationTypesResponseSuccess
|
500
|
+
|
501
|
+
interface _DescribeInstanceRefreshesResponseSuccess
|
502
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeInstanceRefreshesAnswer]
|
503
|
+
def instance_refreshes: () -> ::Array[Types::InstanceRefresh]
|
504
|
+
def next_token: () -> ::String
|
505
|
+
end
|
506
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Client.html#describe_instance_refreshes-instance_method
|
507
|
+
def describe_instance_refreshes: (
|
508
|
+
auto_scaling_group_name: ::String,
|
509
|
+
?instance_refresh_ids: Array[::String],
|
510
|
+
?next_token: ::String,
|
511
|
+
?max_records: ::Integer
|
512
|
+
) -> _DescribeInstanceRefreshesResponseSuccess
|
513
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeInstanceRefreshesResponseSuccess
|
514
|
+
|
515
|
+
interface _DescribeLaunchConfigurationsResponseSuccess
|
516
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::LaunchConfigurationsType]
|
517
|
+
def launch_configurations: () -> ::Array[Types::LaunchConfiguration]
|
518
|
+
def next_token: () -> ::String
|
519
|
+
end
|
520
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Client.html#describe_launch_configurations-instance_method
|
521
|
+
def describe_launch_configurations: (
|
522
|
+
?launch_configuration_names: Array[::String],
|
523
|
+
?next_token: ::String,
|
524
|
+
?max_records: ::Integer
|
525
|
+
) -> _DescribeLaunchConfigurationsResponseSuccess
|
526
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeLaunchConfigurationsResponseSuccess
|
527
|
+
|
528
|
+
interface _DescribeLifecycleHookTypesResponseSuccess
|
529
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeLifecycleHookTypesAnswer]
|
530
|
+
def lifecycle_hook_types: () -> ::Array[::String]
|
531
|
+
end
|
532
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Client.html#describe_lifecycle_hook_types-instance_method
|
533
|
+
def describe_lifecycle_hook_types: () -> _DescribeLifecycleHookTypesResponseSuccess
|
534
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeLifecycleHookTypesResponseSuccess
|
535
|
+
|
536
|
+
interface _DescribeLifecycleHooksResponseSuccess
|
537
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeLifecycleHooksAnswer]
|
538
|
+
def lifecycle_hooks: () -> ::Array[Types::LifecycleHook]
|
539
|
+
end
|
540
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Client.html#describe_lifecycle_hooks-instance_method
|
541
|
+
def describe_lifecycle_hooks: (
|
542
|
+
auto_scaling_group_name: ::String,
|
543
|
+
?lifecycle_hook_names: Array[::String]
|
544
|
+
) -> _DescribeLifecycleHooksResponseSuccess
|
545
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeLifecycleHooksResponseSuccess
|
546
|
+
|
547
|
+
interface _DescribeLoadBalancerTargetGroupsResponseSuccess
|
548
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeLoadBalancerTargetGroupsResponse]
|
549
|
+
def load_balancer_target_groups: () -> ::Array[Types::LoadBalancerTargetGroupState]
|
550
|
+
def next_token: () -> ::String
|
551
|
+
end
|
552
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Client.html#describe_load_balancer_target_groups-instance_method
|
553
|
+
def describe_load_balancer_target_groups: (
|
554
|
+
auto_scaling_group_name: ::String,
|
555
|
+
?next_token: ::String,
|
556
|
+
?max_records: ::Integer
|
557
|
+
) -> _DescribeLoadBalancerTargetGroupsResponseSuccess
|
558
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeLoadBalancerTargetGroupsResponseSuccess
|
559
|
+
|
560
|
+
interface _DescribeLoadBalancersResponseSuccess
|
561
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeLoadBalancersResponse]
|
562
|
+
def load_balancers: () -> ::Array[Types::LoadBalancerState]
|
563
|
+
def next_token: () -> ::String
|
564
|
+
end
|
565
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Client.html#describe_load_balancers-instance_method
|
566
|
+
def describe_load_balancers: (
|
567
|
+
auto_scaling_group_name: ::String,
|
568
|
+
?next_token: ::String,
|
569
|
+
?max_records: ::Integer
|
570
|
+
) -> _DescribeLoadBalancersResponseSuccess
|
571
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeLoadBalancersResponseSuccess
|
572
|
+
|
573
|
+
interface _DescribeMetricCollectionTypesResponseSuccess
|
574
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeMetricCollectionTypesAnswer]
|
575
|
+
def metrics: () -> ::Array[Types::MetricCollectionType]
|
576
|
+
def granularities: () -> ::Array[Types::MetricGranularityType]
|
577
|
+
end
|
578
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Client.html#describe_metric_collection_types-instance_method
|
579
|
+
def describe_metric_collection_types: () -> _DescribeMetricCollectionTypesResponseSuccess
|
580
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeMetricCollectionTypesResponseSuccess
|
581
|
+
|
582
|
+
interface _DescribeNotificationConfigurationsResponseSuccess
|
583
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeNotificationConfigurationsAnswer]
|
584
|
+
def notification_configurations: () -> ::Array[Types::NotificationConfiguration]
|
585
|
+
def next_token: () -> ::String
|
586
|
+
end
|
587
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Client.html#describe_notification_configurations-instance_method
|
588
|
+
def describe_notification_configurations: (
|
589
|
+
?auto_scaling_group_names: Array[::String],
|
590
|
+
?next_token: ::String,
|
591
|
+
?max_records: ::Integer
|
592
|
+
) -> _DescribeNotificationConfigurationsResponseSuccess
|
593
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeNotificationConfigurationsResponseSuccess
|
594
|
+
|
595
|
+
interface _DescribePoliciesResponseSuccess
|
596
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::PoliciesType]
|
597
|
+
def scaling_policies: () -> ::Array[Types::ScalingPolicy]
|
598
|
+
def next_token: () -> ::String
|
599
|
+
end
|
600
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Client.html#describe_policies-instance_method
|
601
|
+
def describe_policies: (
|
602
|
+
?auto_scaling_group_name: ::String,
|
603
|
+
?policy_names: Array[::String],
|
604
|
+
?policy_types: Array[::String],
|
605
|
+
?next_token: ::String,
|
606
|
+
?max_records: ::Integer
|
607
|
+
) -> _DescribePoliciesResponseSuccess
|
608
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribePoliciesResponseSuccess
|
609
|
+
|
610
|
+
interface _DescribeScalingActivitiesResponseSuccess
|
611
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ActivitiesType]
|
612
|
+
def activities: () -> ::Array[Types::Activity]
|
613
|
+
def next_token: () -> ::String
|
614
|
+
end
|
615
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Client.html#describe_scaling_activities-instance_method
|
616
|
+
def describe_scaling_activities: (
|
617
|
+
?activity_ids: Array[::String],
|
618
|
+
?auto_scaling_group_name: ::String,
|
619
|
+
?include_deleted_groups: bool,
|
620
|
+
?max_records: ::Integer,
|
621
|
+
?next_token: ::String
|
622
|
+
) -> _DescribeScalingActivitiesResponseSuccess
|
623
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeScalingActivitiesResponseSuccess
|
624
|
+
|
625
|
+
interface _DescribeScalingProcessTypesResponseSuccess
|
626
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ProcessesType]
|
627
|
+
def processes: () -> ::Array[Types::ProcessType]
|
628
|
+
end
|
629
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Client.html#describe_scaling_process_types-instance_method
|
630
|
+
def describe_scaling_process_types: () -> _DescribeScalingProcessTypesResponseSuccess
|
631
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeScalingProcessTypesResponseSuccess
|
632
|
+
|
633
|
+
interface _DescribeScheduledActionsResponseSuccess
|
634
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ScheduledActionsType]
|
635
|
+
def scheduled_update_group_actions: () -> ::Array[Types::ScheduledUpdateGroupAction]
|
636
|
+
def next_token: () -> ::String
|
637
|
+
end
|
638
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Client.html#describe_scheduled_actions-instance_method
|
639
|
+
def describe_scheduled_actions: (
|
640
|
+
?auto_scaling_group_name: ::String,
|
641
|
+
?scheduled_action_names: Array[::String],
|
642
|
+
?start_time: ::Time,
|
643
|
+
?end_time: ::Time,
|
644
|
+
?next_token: ::String,
|
645
|
+
?max_records: ::Integer
|
646
|
+
) -> _DescribeScheduledActionsResponseSuccess
|
647
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeScheduledActionsResponseSuccess
|
648
|
+
|
649
|
+
interface _DescribeTagsResponseSuccess
|
650
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::TagsType]
|
651
|
+
def tags: () -> ::Array[Types::TagDescription]
|
652
|
+
def next_token: () -> ::String
|
653
|
+
end
|
654
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Client.html#describe_tags-instance_method
|
655
|
+
def describe_tags: (
|
656
|
+
?filters: Array[
|
657
|
+
{
|
658
|
+
name: ::String?,
|
659
|
+
values: Array[::String]?
|
660
|
+
},
|
661
|
+
],
|
662
|
+
?next_token: ::String,
|
663
|
+
?max_records: ::Integer
|
664
|
+
) -> _DescribeTagsResponseSuccess
|
665
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeTagsResponseSuccess
|
666
|
+
|
667
|
+
interface _DescribeTerminationPolicyTypesResponseSuccess
|
668
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeTerminationPolicyTypesAnswer]
|
669
|
+
def termination_policy_types: () -> ::Array[::String]
|
670
|
+
end
|
671
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Client.html#describe_termination_policy_types-instance_method
|
672
|
+
def describe_termination_policy_types: () -> _DescribeTerminationPolicyTypesResponseSuccess
|
673
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeTerminationPolicyTypesResponseSuccess
|
674
|
+
|
675
|
+
interface _DescribeTrafficSourcesResponseSuccess
|
676
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeTrafficSourcesResponse]
|
677
|
+
def traffic_sources: () -> ::Array[Types::TrafficSourceState]
|
678
|
+
def next_token: () -> ::String
|
679
|
+
end
|
680
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Client.html#describe_traffic_sources-instance_method
|
681
|
+
def describe_traffic_sources: (
|
682
|
+
auto_scaling_group_name: ::String,
|
683
|
+
?traffic_source_type: ::String,
|
684
|
+
?next_token: ::String,
|
685
|
+
?max_records: ::Integer
|
686
|
+
) -> _DescribeTrafficSourcesResponseSuccess
|
687
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeTrafficSourcesResponseSuccess
|
688
|
+
|
689
|
+
interface _DescribeWarmPoolResponseSuccess
|
690
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeWarmPoolAnswer]
|
691
|
+
def warm_pool_configuration: () -> Types::WarmPoolConfiguration
|
692
|
+
def instances: () -> ::Array[Types::Instance]
|
693
|
+
def next_token: () -> ::String
|
694
|
+
end
|
695
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Client.html#describe_warm_pool-instance_method
|
696
|
+
def describe_warm_pool: (
|
697
|
+
auto_scaling_group_name: ::String,
|
698
|
+
?max_records: ::Integer,
|
699
|
+
?next_token: ::String
|
700
|
+
) -> _DescribeWarmPoolResponseSuccess
|
701
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeWarmPoolResponseSuccess
|
702
|
+
|
703
|
+
interface _DetachInstancesResponseSuccess
|
704
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DetachInstancesAnswer]
|
705
|
+
def activities: () -> ::Array[Types::Activity]
|
706
|
+
end
|
707
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Client.html#detach_instances-instance_method
|
708
|
+
def detach_instances: (
|
709
|
+
?instance_ids: Array[::String],
|
710
|
+
auto_scaling_group_name: ::String,
|
711
|
+
should_decrement_desired_capacity: bool
|
712
|
+
) -> _DetachInstancesResponseSuccess
|
713
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DetachInstancesResponseSuccess
|
714
|
+
|
715
|
+
interface _DetachLoadBalancerTargetGroupsResponseSuccess
|
716
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DetachLoadBalancerTargetGroupsResultType]
|
717
|
+
end
|
718
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Client.html#detach_load_balancer_target_groups-instance_method
|
719
|
+
def detach_load_balancer_target_groups: (
|
720
|
+
auto_scaling_group_name: ::String,
|
721
|
+
target_group_arns: Array[::String]
|
722
|
+
) -> _DetachLoadBalancerTargetGroupsResponseSuccess
|
723
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DetachLoadBalancerTargetGroupsResponseSuccess
|
724
|
+
|
725
|
+
interface _DetachLoadBalancersResponseSuccess
|
726
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DetachLoadBalancersResultType]
|
727
|
+
end
|
728
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Client.html#detach_load_balancers-instance_method
|
729
|
+
def detach_load_balancers: (
|
730
|
+
auto_scaling_group_name: ::String,
|
731
|
+
load_balancer_names: Array[::String]
|
732
|
+
) -> _DetachLoadBalancersResponseSuccess
|
733
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DetachLoadBalancersResponseSuccess
|
734
|
+
|
735
|
+
interface _DetachTrafficSourcesResponseSuccess
|
736
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DetachTrafficSourcesResultType]
|
737
|
+
end
|
738
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Client.html#detach_traffic_sources-instance_method
|
739
|
+
def detach_traffic_sources: (
|
740
|
+
auto_scaling_group_name: ::String,
|
741
|
+
traffic_sources: Array[
|
742
|
+
{
|
743
|
+
identifier: ::String,
|
744
|
+
type: ::String?
|
745
|
+
},
|
746
|
+
]
|
747
|
+
) -> _DetachTrafficSourcesResponseSuccess
|
748
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DetachTrafficSourcesResponseSuccess
|
749
|
+
|
750
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Client.html#disable_metrics_collection-instance_method
|
751
|
+
def disable_metrics_collection: (
|
752
|
+
auto_scaling_group_name: ::String,
|
753
|
+
?metrics: Array[::String]
|
754
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
755
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
756
|
+
|
757
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Client.html#enable_metrics_collection-instance_method
|
758
|
+
def enable_metrics_collection: (
|
759
|
+
auto_scaling_group_name: ::String,
|
760
|
+
?metrics: Array[::String],
|
761
|
+
granularity: ::String
|
762
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
763
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
764
|
+
|
765
|
+
interface _EnterStandbyResponseSuccess
|
766
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::EnterStandbyAnswer]
|
767
|
+
def activities: () -> ::Array[Types::Activity]
|
768
|
+
end
|
769
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Client.html#enter_standby-instance_method
|
770
|
+
def enter_standby: (
|
771
|
+
?instance_ids: Array[::String],
|
772
|
+
auto_scaling_group_name: ::String,
|
773
|
+
should_decrement_desired_capacity: bool
|
774
|
+
) -> _EnterStandbyResponseSuccess
|
775
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _EnterStandbyResponseSuccess
|
776
|
+
|
777
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Client.html#execute_policy-instance_method
|
778
|
+
def execute_policy: (
|
779
|
+
?auto_scaling_group_name: ::String,
|
780
|
+
policy_name: ::String,
|
781
|
+
?honor_cooldown: bool,
|
782
|
+
?metric_value: ::Float,
|
783
|
+
?breach_threshold: ::Float
|
784
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
785
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
786
|
+
|
787
|
+
interface _ExitStandbyResponseSuccess
|
788
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ExitStandbyAnswer]
|
789
|
+
def activities: () -> ::Array[Types::Activity]
|
790
|
+
end
|
791
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Client.html#exit_standby-instance_method
|
792
|
+
def exit_standby: (
|
793
|
+
?instance_ids: Array[::String],
|
794
|
+
auto_scaling_group_name: ::String
|
795
|
+
) -> _ExitStandbyResponseSuccess
|
796
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ExitStandbyResponseSuccess
|
797
|
+
|
798
|
+
interface _GetPredictiveScalingForecastResponseSuccess
|
799
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetPredictiveScalingForecastAnswer]
|
800
|
+
def load_forecast: () -> ::Array[Types::LoadForecast]
|
801
|
+
def capacity_forecast: () -> Types::CapacityForecast
|
802
|
+
def update_time: () -> ::Time
|
803
|
+
end
|
804
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Client.html#get_predictive_scaling_forecast-instance_method
|
805
|
+
def get_predictive_scaling_forecast: (
|
806
|
+
auto_scaling_group_name: ::String,
|
807
|
+
policy_name: ::String,
|
808
|
+
start_time: ::Time,
|
809
|
+
end_time: ::Time
|
810
|
+
) -> _GetPredictiveScalingForecastResponseSuccess
|
811
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetPredictiveScalingForecastResponseSuccess
|
812
|
+
|
813
|
+
interface _PutLifecycleHookResponseSuccess
|
814
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::PutLifecycleHookAnswer]
|
815
|
+
end
|
816
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Client.html#put_lifecycle_hook-instance_method
|
817
|
+
def put_lifecycle_hook: (
|
818
|
+
lifecycle_hook_name: ::String,
|
819
|
+
auto_scaling_group_name: ::String,
|
820
|
+
?lifecycle_transition: ::String,
|
821
|
+
?role_arn: ::String,
|
822
|
+
?notification_target_arn: ::String,
|
823
|
+
?notification_metadata: ::String,
|
824
|
+
?heartbeat_timeout: ::Integer,
|
825
|
+
?default_result: ::String
|
826
|
+
) -> _PutLifecycleHookResponseSuccess
|
827
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutLifecycleHookResponseSuccess
|
828
|
+
|
829
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Client.html#put_notification_configuration-instance_method
|
830
|
+
def put_notification_configuration: (
|
831
|
+
auto_scaling_group_name: ::String,
|
832
|
+
topic_arn: ::String,
|
833
|
+
notification_types: Array[::String]
|
834
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
835
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
836
|
+
|
837
|
+
interface _PutScalingPolicyResponseSuccess
|
838
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::PolicyARNType]
|
839
|
+
def policy_arn: () -> ::String
|
840
|
+
def alarms: () -> ::Array[Types::Alarm]
|
841
|
+
end
|
842
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Client.html#put_scaling_policy-instance_method
|
843
|
+
def put_scaling_policy: (
|
844
|
+
auto_scaling_group_name: ::String,
|
845
|
+
policy_name: ::String,
|
846
|
+
?policy_type: ::String,
|
847
|
+
?adjustment_type: ::String,
|
848
|
+
?min_adjustment_step: ::Integer,
|
849
|
+
?min_adjustment_magnitude: ::Integer,
|
850
|
+
?scaling_adjustment: ::Integer,
|
851
|
+
?cooldown: ::Integer,
|
852
|
+
?metric_aggregation_type: ::String,
|
853
|
+
?step_adjustments: Array[
|
854
|
+
{
|
855
|
+
metric_interval_lower_bound: ::Float?,
|
856
|
+
metric_interval_upper_bound: ::Float?,
|
857
|
+
scaling_adjustment: ::Integer
|
858
|
+
},
|
859
|
+
],
|
860
|
+
?estimated_instance_warmup: ::Integer,
|
861
|
+
?target_tracking_configuration: {
|
862
|
+
predefined_metric_specification: {
|
863
|
+
predefined_metric_type: ("ASGAverageCPUUtilization" | "ASGAverageNetworkIn" | "ASGAverageNetworkOut" | "ALBRequestCountPerTarget"),
|
864
|
+
resource_label: ::String?
|
865
|
+
}?,
|
866
|
+
customized_metric_specification: {
|
867
|
+
metric_name: ::String?,
|
868
|
+
namespace: ::String?,
|
869
|
+
dimensions: Array[
|
870
|
+
{
|
871
|
+
name: ::String,
|
872
|
+
value: ::String
|
873
|
+
},
|
874
|
+
]?,
|
875
|
+
statistic: ("Average" | "Minimum" | "Maximum" | "SampleCount" | "Sum")?,
|
876
|
+
unit: ::String?,
|
877
|
+
metrics: Array[
|
878
|
+
{
|
879
|
+
id: ::String,
|
880
|
+
expression: ::String?,
|
881
|
+
metric_stat: {
|
882
|
+
metric: {
|
883
|
+
namespace: ::String,
|
884
|
+
metric_name: ::String,
|
885
|
+
dimensions: Array[
|
886
|
+
{
|
887
|
+
name: ::String,
|
888
|
+
value: ::String
|
889
|
+
},
|
890
|
+
]?
|
891
|
+
},
|
892
|
+
stat: ::String,
|
893
|
+
unit: ::String?
|
894
|
+
}?,
|
895
|
+
label: ::String?,
|
896
|
+
return_data: bool?
|
897
|
+
},
|
898
|
+
]?
|
899
|
+
}?,
|
900
|
+
target_value: ::Float,
|
901
|
+
disable_scale_in: bool?
|
902
|
+
},
|
903
|
+
?enabled: bool,
|
904
|
+
?predictive_scaling_configuration: {
|
905
|
+
metric_specifications: Array[
|
906
|
+
{
|
907
|
+
target_value: ::Float,
|
908
|
+
predefined_metric_pair_specification: {
|
909
|
+
predefined_metric_type: ("ASGCPUUtilization" | "ASGNetworkIn" | "ASGNetworkOut" | "ALBRequestCount"),
|
910
|
+
resource_label: ::String?
|
911
|
+
}?,
|
912
|
+
predefined_scaling_metric_specification: {
|
913
|
+
predefined_metric_type: ("ASGAverageCPUUtilization" | "ASGAverageNetworkIn" | "ASGAverageNetworkOut" | "ALBRequestCountPerTarget"),
|
914
|
+
resource_label: ::String?
|
915
|
+
}?,
|
916
|
+
predefined_load_metric_specification: {
|
917
|
+
predefined_metric_type: ("ASGTotalCPUUtilization" | "ASGTotalNetworkIn" | "ASGTotalNetworkOut" | "ALBTargetGroupRequestCount"),
|
918
|
+
resource_label: ::String?
|
919
|
+
}?,
|
920
|
+
customized_scaling_metric_specification: {
|
921
|
+
metric_data_queries: Array[
|
922
|
+
{
|
923
|
+
id: ::String,
|
924
|
+
expression: ::String?,
|
925
|
+
metric_stat: {
|
926
|
+
metric: {
|
927
|
+
namespace: ::String,
|
928
|
+
metric_name: ::String,
|
929
|
+
dimensions: Array[
|
930
|
+
{
|
931
|
+
name: ::String,
|
932
|
+
value: ::String
|
933
|
+
},
|
934
|
+
]?
|
935
|
+
},
|
936
|
+
stat: ::String,
|
937
|
+
unit: ::String?
|
938
|
+
}?,
|
939
|
+
label: ::String?,
|
940
|
+
return_data: bool?
|
941
|
+
},
|
942
|
+
]
|
943
|
+
}?,
|
944
|
+
customized_load_metric_specification: {
|
945
|
+
metric_data_queries: Array[
|
946
|
+
{
|
947
|
+
id: ::String,
|
948
|
+
expression: ::String?,
|
949
|
+
metric_stat: {
|
950
|
+
metric: {
|
951
|
+
namespace: ::String,
|
952
|
+
metric_name: ::String,
|
953
|
+
dimensions: Array[
|
954
|
+
{
|
955
|
+
name: ::String,
|
956
|
+
value: ::String
|
957
|
+
},
|
958
|
+
]?
|
959
|
+
},
|
960
|
+
stat: ::String,
|
961
|
+
unit: ::String?
|
962
|
+
}?,
|
963
|
+
label: ::String?,
|
964
|
+
return_data: bool?
|
965
|
+
},
|
966
|
+
]
|
967
|
+
}?,
|
968
|
+
customized_capacity_metric_specification: {
|
969
|
+
metric_data_queries: Array[
|
970
|
+
{
|
971
|
+
id: ::String,
|
972
|
+
expression: ::String?,
|
973
|
+
metric_stat: {
|
974
|
+
metric: {
|
975
|
+
namespace: ::String,
|
976
|
+
metric_name: ::String,
|
977
|
+
dimensions: Array[
|
978
|
+
{
|
979
|
+
name: ::String,
|
980
|
+
value: ::String
|
981
|
+
},
|
982
|
+
]?
|
983
|
+
},
|
984
|
+
stat: ::String,
|
985
|
+
unit: ::String?
|
986
|
+
}?,
|
987
|
+
label: ::String?,
|
988
|
+
return_data: bool?
|
989
|
+
},
|
990
|
+
]
|
991
|
+
}?
|
992
|
+
},
|
993
|
+
],
|
994
|
+
mode: ("ForecastAndScale" | "ForecastOnly")?,
|
995
|
+
scheduling_buffer_time: ::Integer?,
|
996
|
+
max_capacity_breach_behavior: ("HonorMaxCapacity" | "IncreaseMaxCapacity")?,
|
997
|
+
max_capacity_buffer: ::Integer?
|
998
|
+
}
|
999
|
+
) -> _PutScalingPolicyResponseSuccess
|
1000
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutScalingPolicyResponseSuccess
|
1001
|
+
|
1002
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Client.html#put_scheduled_update_group_action-instance_method
|
1003
|
+
def put_scheduled_update_group_action: (
|
1004
|
+
auto_scaling_group_name: ::String,
|
1005
|
+
scheduled_action_name: ::String,
|
1006
|
+
?time: ::Time,
|
1007
|
+
?start_time: ::Time,
|
1008
|
+
?end_time: ::Time,
|
1009
|
+
?recurrence: ::String,
|
1010
|
+
?min_size: ::Integer,
|
1011
|
+
?max_size: ::Integer,
|
1012
|
+
?desired_capacity: ::Integer,
|
1013
|
+
?time_zone: ::String
|
1014
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
1015
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
1016
|
+
|
1017
|
+
interface _PutWarmPoolResponseSuccess
|
1018
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::PutWarmPoolAnswer]
|
1019
|
+
end
|
1020
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Client.html#put_warm_pool-instance_method
|
1021
|
+
def put_warm_pool: (
|
1022
|
+
auto_scaling_group_name: ::String,
|
1023
|
+
?max_group_prepared_capacity: ::Integer,
|
1024
|
+
?min_size: ::Integer,
|
1025
|
+
?pool_state: ("Stopped" | "Running" | "Hibernated"),
|
1026
|
+
?instance_reuse_policy: {
|
1027
|
+
reuse_on_scale_in: bool?
|
1028
|
+
}
|
1029
|
+
) -> _PutWarmPoolResponseSuccess
|
1030
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutWarmPoolResponseSuccess
|
1031
|
+
|
1032
|
+
interface _RecordLifecycleActionHeartbeatResponseSuccess
|
1033
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::RecordLifecycleActionHeartbeatAnswer]
|
1034
|
+
end
|
1035
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Client.html#record_lifecycle_action_heartbeat-instance_method
|
1036
|
+
def record_lifecycle_action_heartbeat: (
|
1037
|
+
lifecycle_hook_name: ::String,
|
1038
|
+
auto_scaling_group_name: ::String,
|
1039
|
+
?lifecycle_action_token: ::String,
|
1040
|
+
?instance_id: ::String
|
1041
|
+
) -> _RecordLifecycleActionHeartbeatResponseSuccess
|
1042
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RecordLifecycleActionHeartbeatResponseSuccess
|
1043
|
+
|
1044
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Client.html#resume_processes-instance_method
|
1045
|
+
def resume_processes: (
|
1046
|
+
auto_scaling_group_name: ::String,
|
1047
|
+
?scaling_processes: Array[::String]
|
1048
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
1049
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
1050
|
+
|
1051
|
+
interface _RollbackInstanceRefreshResponseSuccess
|
1052
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::RollbackInstanceRefreshAnswer]
|
1053
|
+
def instance_refresh_id: () -> ::String
|
1054
|
+
end
|
1055
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Client.html#rollback_instance_refresh-instance_method
|
1056
|
+
def rollback_instance_refresh: (
|
1057
|
+
auto_scaling_group_name: ::String
|
1058
|
+
) -> _RollbackInstanceRefreshResponseSuccess
|
1059
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RollbackInstanceRefreshResponseSuccess
|
1060
|
+
|
1061
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Client.html#set_desired_capacity-instance_method
|
1062
|
+
def set_desired_capacity: (
|
1063
|
+
auto_scaling_group_name: ::String,
|
1064
|
+
desired_capacity: ::Integer,
|
1065
|
+
?honor_cooldown: bool
|
1066
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
1067
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
1068
|
+
|
1069
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Client.html#set_instance_health-instance_method
|
1070
|
+
def set_instance_health: (
|
1071
|
+
instance_id: ::String,
|
1072
|
+
health_status: ::String,
|
1073
|
+
?should_respect_grace_period: bool
|
1074
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
1075
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
1076
|
+
|
1077
|
+
interface _SetInstanceProtectionResponseSuccess
|
1078
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::SetInstanceProtectionAnswer]
|
1079
|
+
end
|
1080
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Client.html#set_instance_protection-instance_method
|
1081
|
+
def set_instance_protection: (
|
1082
|
+
instance_ids: Array[::String],
|
1083
|
+
auto_scaling_group_name: ::String,
|
1084
|
+
protected_from_scale_in: bool
|
1085
|
+
) -> _SetInstanceProtectionResponseSuccess
|
1086
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SetInstanceProtectionResponseSuccess
|
1087
|
+
|
1088
|
+
interface _StartInstanceRefreshResponseSuccess
|
1089
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::StartInstanceRefreshAnswer]
|
1090
|
+
def instance_refresh_id: () -> ::String
|
1091
|
+
end
|
1092
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Client.html#start_instance_refresh-instance_method
|
1093
|
+
def start_instance_refresh: (
|
1094
|
+
auto_scaling_group_name: ::String,
|
1095
|
+
?strategy: ("Rolling"),
|
1096
|
+
?desired_configuration: {
|
1097
|
+
launch_template: {
|
1098
|
+
launch_template_id: ::String?,
|
1099
|
+
launch_template_name: ::String?,
|
1100
|
+
version: ::String?
|
1101
|
+
}?,
|
1102
|
+
mixed_instances_policy: {
|
1103
|
+
launch_template: {
|
1104
|
+
launch_template_specification: {
|
1105
|
+
launch_template_id: ::String?,
|
1106
|
+
launch_template_name: ::String?,
|
1107
|
+
version: ::String?
|
1108
|
+
}?,
|
1109
|
+
overrides: Array[
|
1110
|
+
{
|
1111
|
+
instance_type: ::String?,
|
1112
|
+
weighted_capacity: ::String?,
|
1113
|
+
launch_template_specification: {
|
1114
|
+
launch_template_id: ::String?,
|
1115
|
+
launch_template_name: ::String?,
|
1116
|
+
version: ::String?
|
1117
|
+
}?,
|
1118
|
+
instance_requirements: {
|
1119
|
+
v_cpu_count: {
|
1120
|
+
min: ::Integer,
|
1121
|
+
max: ::Integer?
|
1122
|
+
},
|
1123
|
+
memory_mi_b: {
|
1124
|
+
min: ::Integer,
|
1125
|
+
max: ::Integer?
|
1126
|
+
},
|
1127
|
+
cpu_manufacturers: Array[("intel" | "amd" | "amazon-web-services")]?,
|
1128
|
+
memory_gi_b_per_v_cpu: {
|
1129
|
+
min: ::Float?,
|
1130
|
+
max: ::Float?
|
1131
|
+
}?,
|
1132
|
+
excluded_instance_types: Array[::String]?,
|
1133
|
+
instance_generations: Array[("current" | "previous")]?,
|
1134
|
+
spot_max_price_percentage_over_lowest_price: ::Integer?,
|
1135
|
+
on_demand_max_price_percentage_over_lowest_price: ::Integer?,
|
1136
|
+
bare_metal: ("included" | "excluded" | "required")?,
|
1137
|
+
burstable_performance: ("included" | "excluded" | "required")?,
|
1138
|
+
require_hibernate_support: bool?,
|
1139
|
+
network_interface_count: {
|
1140
|
+
min: ::Integer?,
|
1141
|
+
max: ::Integer?
|
1142
|
+
}?,
|
1143
|
+
local_storage: ("included" | "excluded" | "required")?,
|
1144
|
+
local_storage_types: Array[("hdd" | "ssd")]?,
|
1145
|
+
total_local_storage_gb: {
|
1146
|
+
min: ::Float?,
|
1147
|
+
max: ::Float?
|
1148
|
+
}?,
|
1149
|
+
baseline_ebs_bandwidth_mbps: {
|
1150
|
+
min: ::Integer?,
|
1151
|
+
max: ::Integer?
|
1152
|
+
}?,
|
1153
|
+
accelerator_types: Array[("gpu" | "fpga" | "inference")]?,
|
1154
|
+
accelerator_count: {
|
1155
|
+
min: ::Integer?,
|
1156
|
+
max: ::Integer?
|
1157
|
+
}?,
|
1158
|
+
accelerator_manufacturers: Array[("nvidia" | "amd" | "amazon-web-services" | "xilinx")]?,
|
1159
|
+
accelerator_names: Array[("a100" | "v100" | "k80" | "t4" | "m60" | "radeon-pro-v520" | "vu9p")]?,
|
1160
|
+
accelerator_total_memory_mi_b: {
|
1161
|
+
min: ::Integer?,
|
1162
|
+
max: ::Integer?
|
1163
|
+
}?,
|
1164
|
+
network_bandwidth_gbps: {
|
1165
|
+
min: ::Float?,
|
1166
|
+
max: ::Float?
|
1167
|
+
}?,
|
1168
|
+
allowed_instance_types: Array[::String]?
|
1169
|
+
}?
|
1170
|
+
},
|
1171
|
+
]?
|
1172
|
+
}?,
|
1173
|
+
instances_distribution: {
|
1174
|
+
on_demand_allocation_strategy: ::String?,
|
1175
|
+
on_demand_base_capacity: ::Integer?,
|
1176
|
+
on_demand_percentage_above_base_capacity: ::Integer?,
|
1177
|
+
spot_allocation_strategy: ::String?,
|
1178
|
+
spot_instance_pools: ::Integer?,
|
1179
|
+
spot_max_price: ::String?
|
1180
|
+
}?
|
1181
|
+
}?
|
1182
|
+
},
|
1183
|
+
?preferences: {
|
1184
|
+
min_healthy_percentage: ::Integer?,
|
1185
|
+
instance_warmup: ::Integer?,
|
1186
|
+
checkpoint_percentages: Array[::Integer]?,
|
1187
|
+
checkpoint_delay: ::Integer?,
|
1188
|
+
skip_matching: bool?,
|
1189
|
+
auto_rollback: bool?,
|
1190
|
+
scale_in_protected_instances: ("Refresh" | "Ignore" | "Wait")?,
|
1191
|
+
standby_instances: ("Terminate" | "Ignore" | "Wait")?,
|
1192
|
+
alarm_specification: {
|
1193
|
+
alarms: Array[::String]?
|
1194
|
+
}?,
|
1195
|
+
max_healthy_percentage: ::Integer?
|
1196
|
+
}
|
1197
|
+
) -> _StartInstanceRefreshResponseSuccess
|
1198
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartInstanceRefreshResponseSuccess
|
1199
|
+
|
1200
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Client.html#suspend_processes-instance_method
|
1201
|
+
def suspend_processes: (
|
1202
|
+
auto_scaling_group_name: ::String,
|
1203
|
+
?scaling_processes: Array[::String]
|
1204
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
1205
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
1206
|
+
|
1207
|
+
interface _TerminateInstanceInAutoScalingGroupResponseSuccess
|
1208
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ActivityType]
|
1209
|
+
def activity: () -> Types::Activity
|
1210
|
+
end
|
1211
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Client.html#terminate_instance_in_auto_scaling_group-instance_method
|
1212
|
+
def terminate_instance_in_auto_scaling_group: (
|
1213
|
+
instance_id: ::String,
|
1214
|
+
should_decrement_desired_capacity: bool
|
1215
|
+
) -> _TerminateInstanceInAutoScalingGroupResponseSuccess
|
1216
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TerminateInstanceInAutoScalingGroupResponseSuccess
|
1217
|
+
|
1218
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Client.html#update_auto_scaling_group-instance_method
|
1219
|
+
def update_auto_scaling_group: (
|
1220
|
+
auto_scaling_group_name: ::String,
|
1221
|
+
?launch_configuration_name: ::String,
|
1222
|
+
?launch_template: {
|
1223
|
+
launch_template_id: ::String?,
|
1224
|
+
launch_template_name: ::String?,
|
1225
|
+
version: ::String?
|
1226
|
+
},
|
1227
|
+
?mixed_instances_policy: {
|
1228
|
+
launch_template: {
|
1229
|
+
launch_template_specification: {
|
1230
|
+
launch_template_id: ::String?,
|
1231
|
+
launch_template_name: ::String?,
|
1232
|
+
version: ::String?
|
1233
|
+
}?,
|
1234
|
+
overrides: Array[
|
1235
|
+
{
|
1236
|
+
instance_type: ::String?,
|
1237
|
+
weighted_capacity: ::String?,
|
1238
|
+
launch_template_specification: {
|
1239
|
+
launch_template_id: ::String?,
|
1240
|
+
launch_template_name: ::String?,
|
1241
|
+
version: ::String?
|
1242
|
+
}?,
|
1243
|
+
instance_requirements: {
|
1244
|
+
v_cpu_count: {
|
1245
|
+
min: ::Integer,
|
1246
|
+
max: ::Integer?
|
1247
|
+
},
|
1248
|
+
memory_mi_b: {
|
1249
|
+
min: ::Integer,
|
1250
|
+
max: ::Integer?
|
1251
|
+
},
|
1252
|
+
cpu_manufacturers: Array[("intel" | "amd" | "amazon-web-services")]?,
|
1253
|
+
memory_gi_b_per_v_cpu: {
|
1254
|
+
min: ::Float?,
|
1255
|
+
max: ::Float?
|
1256
|
+
}?,
|
1257
|
+
excluded_instance_types: Array[::String]?,
|
1258
|
+
instance_generations: Array[("current" | "previous")]?,
|
1259
|
+
spot_max_price_percentage_over_lowest_price: ::Integer?,
|
1260
|
+
on_demand_max_price_percentage_over_lowest_price: ::Integer?,
|
1261
|
+
bare_metal: ("included" | "excluded" | "required")?,
|
1262
|
+
burstable_performance: ("included" | "excluded" | "required")?,
|
1263
|
+
require_hibernate_support: bool?,
|
1264
|
+
network_interface_count: {
|
1265
|
+
min: ::Integer?,
|
1266
|
+
max: ::Integer?
|
1267
|
+
}?,
|
1268
|
+
local_storage: ("included" | "excluded" | "required")?,
|
1269
|
+
local_storage_types: Array[("hdd" | "ssd")]?,
|
1270
|
+
total_local_storage_gb: {
|
1271
|
+
min: ::Float?,
|
1272
|
+
max: ::Float?
|
1273
|
+
}?,
|
1274
|
+
baseline_ebs_bandwidth_mbps: {
|
1275
|
+
min: ::Integer?,
|
1276
|
+
max: ::Integer?
|
1277
|
+
}?,
|
1278
|
+
accelerator_types: Array[("gpu" | "fpga" | "inference")]?,
|
1279
|
+
accelerator_count: {
|
1280
|
+
min: ::Integer?,
|
1281
|
+
max: ::Integer?
|
1282
|
+
}?,
|
1283
|
+
accelerator_manufacturers: Array[("nvidia" | "amd" | "amazon-web-services" | "xilinx")]?,
|
1284
|
+
accelerator_names: Array[("a100" | "v100" | "k80" | "t4" | "m60" | "radeon-pro-v520" | "vu9p")]?,
|
1285
|
+
accelerator_total_memory_mi_b: {
|
1286
|
+
min: ::Integer?,
|
1287
|
+
max: ::Integer?
|
1288
|
+
}?,
|
1289
|
+
network_bandwidth_gbps: {
|
1290
|
+
min: ::Float?,
|
1291
|
+
max: ::Float?
|
1292
|
+
}?,
|
1293
|
+
allowed_instance_types: Array[::String]?
|
1294
|
+
}?
|
1295
|
+
},
|
1296
|
+
]?
|
1297
|
+
}?,
|
1298
|
+
instances_distribution: {
|
1299
|
+
on_demand_allocation_strategy: ::String?,
|
1300
|
+
on_demand_base_capacity: ::Integer?,
|
1301
|
+
on_demand_percentage_above_base_capacity: ::Integer?,
|
1302
|
+
spot_allocation_strategy: ::String?,
|
1303
|
+
spot_instance_pools: ::Integer?,
|
1304
|
+
spot_max_price: ::String?
|
1305
|
+
}?
|
1306
|
+
},
|
1307
|
+
?min_size: ::Integer,
|
1308
|
+
?max_size: ::Integer,
|
1309
|
+
?desired_capacity: ::Integer,
|
1310
|
+
?default_cooldown: ::Integer,
|
1311
|
+
?availability_zones: Array[::String],
|
1312
|
+
?health_check_type: ::String,
|
1313
|
+
?health_check_grace_period: ::Integer,
|
1314
|
+
?placement_group: ::String,
|
1315
|
+
?vpc_zone_identifier: ::String,
|
1316
|
+
?termination_policies: Array[::String],
|
1317
|
+
?new_instances_protected_from_scale_in: bool,
|
1318
|
+
?service_linked_role_arn: ::String,
|
1319
|
+
?max_instance_lifetime: ::Integer,
|
1320
|
+
?capacity_rebalance: bool,
|
1321
|
+
?context: ::String,
|
1322
|
+
?desired_capacity_type: ::String,
|
1323
|
+
?default_instance_warmup: ::Integer,
|
1324
|
+
?instance_maintenance_policy: {
|
1325
|
+
min_healthy_percentage: ::Integer?,
|
1326
|
+
max_healthy_percentage: ::Integer?
|
1327
|
+
}
|
1328
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
1329
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
1330
|
+
|
1331
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Client.html#wait_until-instance_method
|
1332
|
+
def wait_until: (:group_exists waiter_name,
|
1333
|
+
?auto_scaling_group_names: Array[::String],
|
1334
|
+
?next_token: ::String,
|
1335
|
+
?max_records: ::Integer,
|
1336
|
+
?filters: Array[
|
1337
|
+
{
|
1338
|
+
name: ::String?,
|
1339
|
+
values: Array[::String]?
|
1340
|
+
},
|
1341
|
+
]
|
1342
|
+
) -> Client::_DescribeAutoScalingGroupsResponseSuccess
|
1343
|
+
| (:group_exists waiter_name, ?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_DescribeAutoScalingGroupsResponseSuccess
|
1344
|
+
| (:group_in_service waiter_name,
|
1345
|
+
?auto_scaling_group_names: Array[::String],
|
1346
|
+
?next_token: ::String,
|
1347
|
+
?max_records: ::Integer,
|
1348
|
+
?filters: Array[
|
1349
|
+
{
|
1350
|
+
name: ::String?,
|
1351
|
+
values: Array[::String]?
|
1352
|
+
},
|
1353
|
+
]
|
1354
|
+
) -> Client::_DescribeAutoScalingGroupsResponseSuccess
|
1355
|
+
| (:group_in_service waiter_name, ?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_DescribeAutoScalingGroupsResponseSuccess
|
1356
|
+
| (:group_not_exists waiter_name,
|
1357
|
+
?auto_scaling_group_names: Array[::String],
|
1358
|
+
?next_token: ::String,
|
1359
|
+
?max_records: ::Integer,
|
1360
|
+
?filters: Array[
|
1361
|
+
{
|
1362
|
+
name: ::String?,
|
1363
|
+
values: Array[::String]?
|
1364
|
+
},
|
1365
|
+
]
|
1366
|
+
) -> Client::_DescribeAutoScalingGroupsResponseSuccess
|
1367
|
+
| (:group_not_exists waiter_name, ?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_DescribeAutoScalingGroupsResponseSuccess
|
1368
|
+
end
|
1369
|
+
end
|
1370
|
+
end
|
1371
|
+
|