types-boto3-autoscaling 1.36.0__py3-none-any.whl

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.

Potentially problematic release.


This version of types-boto3-autoscaling might be problematic. Click here for more details.

@@ -0,0 +1,980 @@
1
+ """
2
+ Type annotations for autoscaling service Client.
3
+
4
+ [Documentation](https://youtype.github.io/types_boto3_docs/types_boto3_autoscaling/client/)
5
+
6
+ Usage::
7
+
8
+ ```python
9
+ from boto3.session import Session
10
+ from types_boto3_autoscaling.client import AutoScalingClient
11
+
12
+ session = Session()
13
+ client: AutoScalingClient = session.client("autoscaling")
14
+ ```
15
+
16
+ Copyright 2025 Vlad Emelianov
17
+ """
18
+
19
+ from __future__ import annotations
20
+
21
+ import sys
22
+ from typing import Any, overload
23
+
24
+ from botocore.client import BaseClient, ClientMeta
25
+ from botocore.errorfactory import BaseClientExceptions
26
+ from botocore.exceptions import ClientError as BotocoreClientError
27
+
28
+ from .paginator import (
29
+ DescribeAutoScalingGroupsPaginator,
30
+ DescribeAutoScalingInstancesPaginator,
31
+ DescribeLaunchConfigurationsPaginator,
32
+ DescribeLoadBalancersPaginator,
33
+ DescribeLoadBalancerTargetGroupsPaginator,
34
+ DescribeNotificationConfigurationsPaginator,
35
+ DescribePoliciesPaginator,
36
+ DescribeScalingActivitiesPaginator,
37
+ DescribeScheduledActionsPaginator,
38
+ DescribeTagsPaginator,
39
+ DescribeWarmPoolPaginator,
40
+ )
41
+ from .type_defs import (
42
+ ActivitiesTypeTypeDef,
43
+ ActivityTypeTypeDef,
44
+ AttachInstancesQueryRequestTypeDef,
45
+ AttachLoadBalancersTypeRequestTypeDef,
46
+ AttachLoadBalancerTargetGroupsTypeRequestTypeDef,
47
+ AttachTrafficSourcesTypeRequestTypeDef,
48
+ AutoScalingGroupNamesTypeRequestTypeDef,
49
+ AutoScalingGroupsTypeTypeDef,
50
+ AutoScalingInstancesTypeTypeDef,
51
+ BatchDeleteScheduledActionAnswerTypeDef,
52
+ BatchDeleteScheduledActionTypeRequestTypeDef,
53
+ BatchPutScheduledUpdateGroupActionAnswerTypeDef,
54
+ BatchPutScheduledUpdateGroupActionTypeRequestTypeDef,
55
+ CancelInstanceRefreshAnswerTypeDef,
56
+ CancelInstanceRefreshTypeRequestTypeDef,
57
+ CompleteLifecycleActionTypeRequestTypeDef,
58
+ CreateAutoScalingGroupTypeRequestTypeDef,
59
+ CreateLaunchConfigurationTypeRequestTypeDef,
60
+ CreateOrUpdateTagsTypeRequestTypeDef,
61
+ DeleteAutoScalingGroupTypeRequestTypeDef,
62
+ DeleteLifecycleHookTypeRequestTypeDef,
63
+ DeleteNotificationConfigurationTypeRequestTypeDef,
64
+ DeletePolicyTypeRequestTypeDef,
65
+ DeleteScheduledActionTypeRequestTypeDef,
66
+ DeleteTagsTypeRequestTypeDef,
67
+ DeleteWarmPoolTypeRequestTypeDef,
68
+ DescribeAccountLimitsAnswerTypeDef,
69
+ DescribeAdjustmentTypesAnswerTypeDef,
70
+ DescribeAutoScalingInstancesTypeRequestTypeDef,
71
+ DescribeAutoScalingNotificationTypesAnswerTypeDef,
72
+ DescribeInstanceRefreshesAnswerTypeDef,
73
+ DescribeInstanceRefreshesTypeRequestTypeDef,
74
+ DescribeLifecycleHooksAnswerTypeDef,
75
+ DescribeLifecycleHooksTypeRequestTypeDef,
76
+ DescribeLifecycleHookTypesAnswerTypeDef,
77
+ DescribeLoadBalancersRequestRequestTypeDef,
78
+ DescribeLoadBalancersResponseTypeDef,
79
+ DescribeLoadBalancerTargetGroupsRequestRequestTypeDef,
80
+ DescribeLoadBalancerTargetGroupsResponseTypeDef,
81
+ DescribeMetricCollectionTypesAnswerTypeDef,
82
+ DescribeNotificationConfigurationsAnswerTypeDef,
83
+ DescribeNotificationConfigurationsTypeRequestTypeDef,
84
+ DescribePoliciesTypeRequestTypeDef,
85
+ DescribeScalingActivitiesTypeRequestTypeDef,
86
+ DescribeScheduledActionsTypeRequestTypeDef,
87
+ DescribeTagsTypeRequestTypeDef,
88
+ DescribeTerminationPolicyTypesAnswerTypeDef,
89
+ DescribeTrafficSourcesRequestRequestTypeDef,
90
+ DescribeTrafficSourcesResponseTypeDef,
91
+ DescribeWarmPoolAnswerTypeDef,
92
+ DescribeWarmPoolTypeRequestTypeDef,
93
+ DetachInstancesAnswerTypeDef,
94
+ DetachInstancesQueryRequestTypeDef,
95
+ DetachLoadBalancersTypeRequestTypeDef,
96
+ DetachLoadBalancerTargetGroupsTypeRequestTypeDef,
97
+ DetachTrafficSourcesTypeRequestTypeDef,
98
+ DisableMetricsCollectionQueryRequestTypeDef,
99
+ EmptyResponseMetadataTypeDef,
100
+ EnableMetricsCollectionQueryRequestTypeDef,
101
+ EnterStandbyAnswerTypeDef,
102
+ EnterStandbyQueryRequestTypeDef,
103
+ ExecutePolicyTypeRequestTypeDef,
104
+ ExitStandbyAnswerTypeDef,
105
+ ExitStandbyQueryRequestTypeDef,
106
+ GetPredictiveScalingForecastAnswerTypeDef,
107
+ GetPredictiveScalingForecastTypeRequestTypeDef,
108
+ LaunchConfigurationNamesTypeRequestTypeDef,
109
+ LaunchConfigurationNameTypeRequestTypeDef,
110
+ LaunchConfigurationsTypeTypeDef,
111
+ PoliciesTypeTypeDef,
112
+ PolicyARNTypeTypeDef,
113
+ ProcessesTypeTypeDef,
114
+ PutLifecycleHookTypeRequestTypeDef,
115
+ PutNotificationConfigurationTypeRequestTypeDef,
116
+ PutScalingPolicyTypeRequestTypeDef,
117
+ PutScheduledUpdateGroupActionTypeRequestTypeDef,
118
+ PutWarmPoolTypeRequestTypeDef,
119
+ RecordLifecycleActionHeartbeatTypeRequestTypeDef,
120
+ RollbackInstanceRefreshAnswerTypeDef,
121
+ RollbackInstanceRefreshTypeRequestTypeDef,
122
+ ScalingProcessQueryRequestTypeDef,
123
+ ScheduledActionsTypeTypeDef,
124
+ SetDesiredCapacityTypeRequestTypeDef,
125
+ SetInstanceHealthQueryRequestTypeDef,
126
+ SetInstanceProtectionQueryRequestTypeDef,
127
+ StartInstanceRefreshAnswerTypeDef,
128
+ StartInstanceRefreshTypeRequestTypeDef,
129
+ TagsTypeTypeDef,
130
+ TerminateInstanceInAutoScalingGroupTypeRequestTypeDef,
131
+ UpdateAutoScalingGroupTypeRequestTypeDef,
132
+ )
133
+
134
+ if sys.version_info >= (3, 9):
135
+ from builtins import dict as Dict
136
+ from builtins import type as Type
137
+ from collections.abc import Mapping
138
+ else:
139
+ from typing import Dict, Mapping, Type
140
+ if sys.version_info >= (3, 12):
141
+ from typing import Literal, Unpack
142
+ else:
143
+ from typing_extensions import Literal, Unpack
144
+
145
+
146
+ __all__ = ("AutoScalingClient",)
147
+
148
+
149
+ class Exceptions(BaseClientExceptions):
150
+ ActiveInstanceRefreshNotFoundFault: Type[BotocoreClientError]
151
+ AlreadyExistsFault: Type[BotocoreClientError]
152
+ ClientError: Type[BotocoreClientError]
153
+ InstanceRefreshInProgressFault: Type[BotocoreClientError]
154
+ InvalidNextToken: Type[BotocoreClientError]
155
+ IrreversibleInstanceRefreshFault: Type[BotocoreClientError]
156
+ LimitExceededFault: Type[BotocoreClientError]
157
+ ResourceContentionFault: Type[BotocoreClientError]
158
+ ResourceInUseFault: Type[BotocoreClientError]
159
+ ScalingActivityInProgressFault: Type[BotocoreClientError]
160
+ ServiceLinkedRoleFailure: Type[BotocoreClientError]
161
+
162
+
163
+ class AutoScalingClient(BaseClient):
164
+ """
165
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/autoscaling.html#AutoScaling.Client)
166
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_autoscaling/client/)
167
+ """
168
+
169
+ meta: ClientMeta
170
+
171
+ @property
172
+ def exceptions(self) -> Exceptions:
173
+ """
174
+ AutoScalingClient exceptions.
175
+
176
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/autoscaling.html#AutoScaling.Client)
177
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_autoscaling/client/#exceptions)
178
+ """
179
+
180
+ def can_paginate(self, operation_name: str) -> bool:
181
+ """
182
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/autoscaling/client/can_paginate.html)
183
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_autoscaling/client/#can_paginate)
184
+ """
185
+
186
+ def generate_presigned_url(
187
+ self,
188
+ ClientMethod: str,
189
+ Params: Mapping[str, Any] = ...,
190
+ ExpiresIn: int = 3600,
191
+ HttpMethod: str = ...,
192
+ ) -> str:
193
+ """
194
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/autoscaling/client/generate_presigned_url.html)
195
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_autoscaling/client/#generate_presigned_url)
196
+ """
197
+
198
+ def attach_instances(
199
+ self, **kwargs: Unpack[AttachInstancesQueryRequestTypeDef]
200
+ ) -> EmptyResponseMetadataTypeDef:
201
+ """
202
+ Attaches one or more EC2 instances to the specified Auto Scaling group.
203
+
204
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/autoscaling/client/attach_instances.html)
205
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_autoscaling/client/#attach_instances)
206
+ """
207
+
208
+ def attach_load_balancer_target_groups(
209
+ self, **kwargs: Unpack[AttachLoadBalancerTargetGroupsTypeRequestTypeDef]
210
+ ) -> Dict[str, Any]:
211
+ """
212
+ This API operation is superseded by <a
213
+ href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_AttachTrafficSources.html">AttachTrafficSources</a>,
214
+ which can attach multiple traffic sources types.
215
+
216
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/autoscaling/client/attach_load_balancer_target_groups.html)
217
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_autoscaling/client/#attach_load_balancer_target_groups)
218
+ """
219
+
220
+ def attach_load_balancers(
221
+ self, **kwargs: Unpack[AttachLoadBalancersTypeRequestTypeDef]
222
+ ) -> Dict[str, Any]:
223
+ """
224
+ This API operation is superseded by <a
225
+ href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_AttachTrafficSources.html">https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_AttachTrafficSources.html</a>,
226
+ which can attach multiple traffic sources types.
227
+
228
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/autoscaling/client/attach_load_balancers.html)
229
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_autoscaling/client/#attach_load_balancers)
230
+ """
231
+
232
+ def attach_traffic_sources(
233
+ self, **kwargs: Unpack[AttachTrafficSourcesTypeRequestTypeDef]
234
+ ) -> Dict[str, Any]:
235
+ """
236
+ Attaches one or more traffic sources to the specified Auto Scaling group.
237
+
238
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/autoscaling/client/attach_traffic_sources.html)
239
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_autoscaling/client/#attach_traffic_sources)
240
+ """
241
+
242
+ def batch_delete_scheduled_action(
243
+ self, **kwargs: Unpack[BatchDeleteScheduledActionTypeRequestTypeDef]
244
+ ) -> BatchDeleteScheduledActionAnswerTypeDef:
245
+ """
246
+ Deletes one or more scheduled actions for the specified Auto Scaling group.
247
+
248
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/autoscaling/client/batch_delete_scheduled_action.html)
249
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_autoscaling/client/#batch_delete_scheduled_action)
250
+ """
251
+
252
+ def batch_put_scheduled_update_group_action(
253
+ self, **kwargs: Unpack[BatchPutScheduledUpdateGroupActionTypeRequestTypeDef]
254
+ ) -> BatchPutScheduledUpdateGroupActionAnswerTypeDef:
255
+ """
256
+ Creates or updates one or more scheduled scaling actions for an Auto Scaling
257
+ group.
258
+
259
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/autoscaling/client/batch_put_scheduled_update_group_action.html)
260
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_autoscaling/client/#batch_put_scheduled_update_group_action)
261
+ """
262
+
263
+ def cancel_instance_refresh(
264
+ self, **kwargs: Unpack[CancelInstanceRefreshTypeRequestTypeDef]
265
+ ) -> CancelInstanceRefreshAnswerTypeDef:
266
+ """
267
+ Cancels an instance refresh or rollback that is in progress.
268
+
269
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/autoscaling/client/cancel_instance_refresh.html)
270
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_autoscaling/client/#cancel_instance_refresh)
271
+ """
272
+
273
+ def complete_lifecycle_action(
274
+ self, **kwargs: Unpack[CompleteLifecycleActionTypeRequestTypeDef]
275
+ ) -> Dict[str, Any]:
276
+ """
277
+ Completes the lifecycle action for the specified token or instance with the
278
+ specified result.
279
+
280
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/autoscaling/client/complete_lifecycle_action.html)
281
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_autoscaling/client/#complete_lifecycle_action)
282
+ """
283
+
284
+ def create_auto_scaling_group(
285
+ self, **kwargs: Unpack[CreateAutoScalingGroupTypeRequestTypeDef]
286
+ ) -> EmptyResponseMetadataTypeDef:
287
+ """
288
+ <b>We strongly recommend using a launch template when calling this operation to
289
+ ensure full functionality for Amazon EC2 Auto Scaling and Amazon EC2.</b>.
290
+
291
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/autoscaling/client/create_auto_scaling_group.html)
292
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_autoscaling/client/#create_auto_scaling_group)
293
+ """
294
+
295
+ def create_launch_configuration(
296
+ self, **kwargs: Unpack[CreateLaunchConfigurationTypeRequestTypeDef]
297
+ ) -> EmptyResponseMetadataTypeDef:
298
+ """
299
+ Creates a launch configuration.
300
+
301
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/autoscaling/client/create_launch_configuration.html)
302
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_autoscaling/client/#create_launch_configuration)
303
+ """
304
+
305
+ def create_or_update_tags(
306
+ self, **kwargs: Unpack[CreateOrUpdateTagsTypeRequestTypeDef]
307
+ ) -> EmptyResponseMetadataTypeDef:
308
+ """
309
+ Creates or updates tags for the specified Auto Scaling group.
310
+
311
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/autoscaling/client/create_or_update_tags.html)
312
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_autoscaling/client/#create_or_update_tags)
313
+ """
314
+
315
+ def delete_auto_scaling_group(
316
+ self, **kwargs: Unpack[DeleteAutoScalingGroupTypeRequestTypeDef]
317
+ ) -> EmptyResponseMetadataTypeDef:
318
+ """
319
+ Deletes the specified Auto Scaling group.
320
+
321
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/autoscaling/client/delete_auto_scaling_group.html)
322
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_autoscaling/client/#delete_auto_scaling_group)
323
+ """
324
+
325
+ def delete_launch_configuration(
326
+ self, **kwargs: Unpack[LaunchConfigurationNameTypeRequestTypeDef]
327
+ ) -> EmptyResponseMetadataTypeDef:
328
+ """
329
+ Deletes the specified launch configuration.
330
+
331
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/autoscaling/client/delete_launch_configuration.html)
332
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_autoscaling/client/#delete_launch_configuration)
333
+ """
334
+
335
+ def delete_lifecycle_hook(
336
+ self, **kwargs: Unpack[DeleteLifecycleHookTypeRequestTypeDef]
337
+ ) -> Dict[str, Any]:
338
+ """
339
+ Deletes the specified lifecycle hook.
340
+
341
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/autoscaling/client/delete_lifecycle_hook.html)
342
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_autoscaling/client/#delete_lifecycle_hook)
343
+ """
344
+
345
+ def delete_notification_configuration(
346
+ self, **kwargs: Unpack[DeleteNotificationConfigurationTypeRequestTypeDef]
347
+ ) -> EmptyResponseMetadataTypeDef:
348
+ """
349
+ Deletes the specified notification.
350
+
351
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/autoscaling/client/delete_notification_configuration.html)
352
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_autoscaling/client/#delete_notification_configuration)
353
+ """
354
+
355
+ def delete_policy(
356
+ self, **kwargs: Unpack[DeletePolicyTypeRequestTypeDef]
357
+ ) -> EmptyResponseMetadataTypeDef:
358
+ """
359
+ Deletes the specified scaling policy.
360
+
361
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/autoscaling/client/delete_policy.html)
362
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_autoscaling/client/#delete_policy)
363
+ """
364
+
365
+ def delete_scheduled_action(
366
+ self, **kwargs: Unpack[DeleteScheduledActionTypeRequestTypeDef]
367
+ ) -> EmptyResponseMetadataTypeDef:
368
+ """
369
+ Deletes the specified scheduled action.
370
+
371
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/autoscaling/client/delete_scheduled_action.html)
372
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_autoscaling/client/#delete_scheduled_action)
373
+ """
374
+
375
+ def delete_tags(
376
+ self, **kwargs: Unpack[DeleteTagsTypeRequestTypeDef]
377
+ ) -> EmptyResponseMetadataTypeDef:
378
+ """
379
+ Deletes the specified tags.
380
+
381
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/autoscaling/client/delete_tags.html)
382
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_autoscaling/client/#delete_tags)
383
+ """
384
+
385
+ def delete_warm_pool(
386
+ self, **kwargs: Unpack[DeleteWarmPoolTypeRequestTypeDef]
387
+ ) -> Dict[str, Any]:
388
+ """
389
+ Deletes the warm pool for the specified Auto Scaling group.
390
+
391
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/autoscaling/client/delete_warm_pool.html)
392
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_autoscaling/client/#delete_warm_pool)
393
+ """
394
+
395
+ def describe_account_limits(self) -> DescribeAccountLimitsAnswerTypeDef:
396
+ """
397
+ Describes the current Amazon EC2 Auto Scaling resource quotas for your account.
398
+
399
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/autoscaling/client/describe_account_limits.html)
400
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_autoscaling/client/#describe_account_limits)
401
+ """
402
+
403
+ def describe_adjustment_types(self) -> DescribeAdjustmentTypesAnswerTypeDef:
404
+ """
405
+ Describes the available adjustment types for step scaling and simple scaling
406
+ policies.
407
+
408
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/autoscaling/client/describe_adjustment_types.html)
409
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_autoscaling/client/#describe_adjustment_types)
410
+ """
411
+
412
+ def describe_auto_scaling_groups(
413
+ self, **kwargs: Unpack[AutoScalingGroupNamesTypeRequestTypeDef]
414
+ ) -> AutoScalingGroupsTypeTypeDef:
415
+ """
416
+ Gets information about the Auto Scaling groups in the account and Region.
417
+
418
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/autoscaling/client/describe_auto_scaling_groups.html)
419
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_autoscaling/client/#describe_auto_scaling_groups)
420
+ """
421
+
422
+ def describe_auto_scaling_instances(
423
+ self, **kwargs: Unpack[DescribeAutoScalingInstancesTypeRequestTypeDef]
424
+ ) -> AutoScalingInstancesTypeTypeDef:
425
+ """
426
+ Gets information about the Auto Scaling instances in the account and Region.
427
+
428
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/autoscaling/client/describe_auto_scaling_instances.html)
429
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_autoscaling/client/#describe_auto_scaling_instances)
430
+ """
431
+
432
+ def describe_auto_scaling_notification_types(
433
+ self,
434
+ ) -> DescribeAutoScalingNotificationTypesAnswerTypeDef:
435
+ """
436
+ Describes the notification types that are supported by Amazon EC2 Auto Scaling.
437
+
438
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/autoscaling/client/describe_auto_scaling_notification_types.html)
439
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_autoscaling/client/#describe_auto_scaling_notification_types)
440
+ """
441
+
442
+ def describe_instance_refreshes(
443
+ self, **kwargs: Unpack[DescribeInstanceRefreshesTypeRequestTypeDef]
444
+ ) -> DescribeInstanceRefreshesAnswerTypeDef:
445
+ """
446
+ Gets information about the instance refreshes for the specified Auto Scaling
447
+ group from the previous six weeks.
448
+
449
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/autoscaling/client/describe_instance_refreshes.html)
450
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_autoscaling/client/#describe_instance_refreshes)
451
+ """
452
+
453
+ def describe_launch_configurations(
454
+ self, **kwargs: Unpack[LaunchConfigurationNamesTypeRequestTypeDef]
455
+ ) -> LaunchConfigurationsTypeTypeDef:
456
+ """
457
+ Gets information about the launch configurations in the account and Region.
458
+
459
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/autoscaling/client/describe_launch_configurations.html)
460
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_autoscaling/client/#describe_launch_configurations)
461
+ """
462
+
463
+ def describe_lifecycle_hook_types(self) -> DescribeLifecycleHookTypesAnswerTypeDef:
464
+ """
465
+ Describes the available types of lifecycle hooks.
466
+
467
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/autoscaling/client/describe_lifecycle_hook_types.html)
468
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_autoscaling/client/#describe_lifecycle_hook_types)
469
+ """
470
+
471
+ def describe_lifecycle_hooks(
472
+ self, **kwargs: Unpack[DescribeLifecycleHooksTypeRequestTypeDef]
473
+ ) -> DescribeLifecycleHooksAnswerTypeDef:
474
+ """
475
+ Gets information about the lifecycle hooks for the specified Auto Scaling group.
476
+
477
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/autoscaling/client/describe_lifecycle_hooks.html)
478
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_autoscaling/client/#describe_lifecycle_hooks)
479
+ """
480
+
481
+ def describe_load_balancer_target_groups(
482
+ self, **kwargs: Unpack[DescribeLoadBalancerTargetGroupsRequestRequestTypeDef]
483
+ ) -> DescribeLoadBalancerTargetGroupsResponseTypeDef:
484
+ """
485
+ This API operation is superseded by <a
486
+ href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_DescribeTrafficSources.html">DescribeTrafficSources</a>,
487
+ which can describe multiple traffic sources types.
488
+
489
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/autoscaling/client/describe_load_balancer_target_groups.html)
490
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_autoscaling/client/#describe_load_balancer_target_groups)
491
+ """
492
+
493
+ def describe_load_balancers(
494
+ self, **kwargs: Unpack[DescribeLoadBalancersRequestRequestTypeDef]
495
+ ) -> DescribeLoadBalancersResponseTypeDef:
496
+ """
497
+ This API operation is superseded by <a
498
+ href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_DescribeTrafficSources.html">DescribeTrafficSources</a>,
499
+ which can describe multiple traffic sources types.
500
+
501
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/autoscaling/client/describe_load_balancers.html)
502
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_autoscaling/client/#describe_load_balancers)
503
+ """
504
+
505
+ def describe_metric_collection_types(self) -> DescribeMetricCollectionTypesAnswerTypeDef:
506
+ """
507
+ Describes the available CloudWatch metrics for Amazon EC2 Auto Scaling.
508
+
509
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/autoscaling/client/describe_metric_collection_types.html)
510
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_autoscaling/client/#describe_metric_collection_types)
511
+ """
512
+
513
+ def describe_notification_configurations(
514
+ self, **kwargs: Unpack[DescribeNotificationConfigurationsTypeRequestTypeDef]
515
+ ) -> DescribeNotificationConfigurationsAnswerTypeDef:
516
+ """
517
+ Gets information about the Amazon SNS notifications that are configured for one
518
+ or more Auto Scaling groups.
519
+
520
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/autoscaling/client/describe_notification_configurations.html)
521
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_autoscaling/client/#describe_notification_configurations)
522
+ """
523
+
524
+ def describe_policies(
525
+ self, **kwargs: Unpack[DescribePoliciesTypeRequestTypeDef]
526
+ ) -> PoliciesTypeTypeDef:
527
+ """
528
+ Gets information about the scaling policies in the account and Region.
529
+
530
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/autoscaling/client/describe_policies.html)
531
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_autoscaling/client/#describe_policies)
532
+ """
533
+
534
+ def describe_scaling_activities(
535
+ self, **kwargs: Unpack[DescribeScalingActivitiesTypeRequestTypeDef]
536
+ ) -> ActivitiesTypeTypeDef:
537
+ """
538
+ Gets information about the scaling activities in the account and Region.
539
+
540
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/autoscaling/client/describe_scaling_activities.html)
541
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_autoscaling/client/#describe_scaling_activities)
542
+ """
543
+
544
+ def describe_scaling_process_types(self) -> ProcessesTypeTypeDef:
545
+ """
546
+ Describes the scaling process types for use with the <a
547
+ href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_ResumeProcesses.html">ResumeProcesses</a>
548
+ and <a
549
+ href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_SuspendProcesses.html">SuspendProcesses</a>
550
+ APIs.
551
+
552
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/autoscaling/client/describe_scaling_process_types.html)
553
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_autoscaling/client/#describe_scaling_process_types)
554
+ """
555
+
556
+ def describe_scheduled_actions(
557
+ self, **kwargs: Unpack[DescribeScheduledActionsTypeRequestTypeDef]
558
+ ) -> ScheduledActionsTypeTypeDef:
559
+ """
560
+ Gets information about the scheduled actions that haven't run or that have not
561
+ reached their end time.
562
+
563
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/autoscaling/client/describe_scheduled_actions.html)
564
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_autoscaling/client/#describe_scheduled_actions)
565
+ """
566
+
567
+ def describe_tags(self, **kwargs: Unpack[DescribeTagsTypeRequestTypeDef]) -> TagsTypeTypeDef:
568
+ """
569
+ Describes the specified tags.
570
+
571
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/autoscaling/client/describe_tags.html)
572
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_autoscaling/client/#describe_tags)
573
+ """
574
+
575
+ def describe_termination_policy_types(self) -> DescribeTerminationPolicyTypesAnswerTypeDef:
576
+ """
577
+ Describes the termination policies supported by Amazon EC2 Auto Scaling.
578
+
579
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/autoscaling/client/describe_termination_policy_types.html)
580
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_autoscaling/client/#describe_termination_policy_types)
581
+ """
582
+
583
+ def describe_traffic_sources(
584
+ self, **kwargs: Unpack[DescribeTrafficSourcesRequestRequestTypeDef]
585
+ ) -> DescribeTrafficSourcesResponseTypeDef:
586
+ """
587
+ Gets information about the traffic sources for the specified Auto Scaling group.
588
+
589
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/autoscaling/client/describe_traffic_sources.html)
590
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_autoscaling/client/#describe_traffic_sources)
591
+ """
592
+
593
+ def describe_warm_pool(
594
+ self, **kwargs: Unpack[DescribeWarmPoolTypeRequestTypeDef]
595
+ ) -> DescribeWarmPoolAnswerTypeDef:
596
+ """
597
+ Gets information about a warm pool and its instances.
598
+
599
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/autoscaling/client/describe_warm_pool.html)
600
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_autoscaling/client/#describe_warm_pool)
601
+ """
602
+
603
+ def detach_instances(
604
+ self, **kwargs: Unpack[DetachInstancesQueryRequestTypeDef]
605
+ ) -> DetachInstancesAnswerTypeDef:
606
+ """
607
+ Removes one or more instances from the specified Auto Scaling group.
608
+
609
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/autoscaling/client/detach_instances.html)
610
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_autoscaling/client/#detach_instances)
611
+ """
612
+
613
+ def detach_load_balancer_target_groups(
614
+ self, **kwargs: Unpack[DetachLoadBalancerTargetGroupsTypeRequestTypeDef]
615
+ ) -> Dict[str, Any]:
616
+ """
617
+ This API operation is superseded by <a
618
+ href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_DescribeTrafficSources.html">DetachTrafficSources</a>,
619
+ which can detach multiple traffic sources types.
620
+
621
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/autoscaling/client/detach_load_balancer_target_groups.html)
622
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_autoscaling/client/#detach_load_balancer_target_groups)
623
+ """
624
+
625
+ def detach_load_balancers(
626
+ self, **kwargs: Unpack[DetachLoadBalancersTypeRequestTypeDef]
627
+ ) -> Dict[str, Any]:
628
+ """
629
+ This API operation is superseded by <a
630
+ href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_DetachTrafficSources.html">DetachTrafficSources</a>,
631
+ which can detach multiple traffic sources types.
632
+
633
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/autoscaling/client/detach_load_balancers.html)
634
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_autoscaling/client/#detach_load_balancers)
635
+ """
636
+
637
+ def detach_traffic_sources(
638
+ self, **kwargs: Unpack[DetachTrafficSourcesTypeRequestTypeDef]
639
+ ) -> Dict[str, Any]:
640
+ """
641
+ Detaches one or more traffic sources from the specified Auto Scaling group.
642
+
643
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/autoscaling/client/detach_traffic_sources.html)
644
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_autoscaling/client/#detach_traffic_sources)
645
+ """
646
+
647
+ def disable_metrics_collection(
648
+ self, **kwargs: Unpack[DisableMetricsCollectionQueryRequestTypeDef]
649
+ ) -> EmptyResponseMetadataTypeDef:
650
+ """
651
+ Disables group metrics collection for the specified Auto Scaling group.
652
+
653
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/autoscaling/client/disable_metrics_collection.html)
654
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_autoscaling/client/#disable_metrics_collection)
655
+ """
656
+
657
+ def enable_metrics_collection(
658
+ self, **kwargs: Unpack[EnableMetricsCollectionQueryRequestTypeDef]
659
+ ) -> EmptyResponseMetadataTypeDef:
660
+ """
661
+ Enables group metrics collection for the specified Auto Scaling group.
662
+
663
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/autoscaling/client/enable_metrics_collection.html)
664
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_autoscaling/client/#enable_metrics_collection)
665
+ """
666
+
667
+ def enter_standby(
668
+ self, **kwargs: Unpack[EnterStandbyQueryRequestTypeDef]
669
+ ) -> EnterStandbyAnswerTypeDef:
670
+ """
671
+ Moves the specified instances into the standby state.
672
+
673
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/autoscaling/client/enter_standby.html)
674
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_autoscaling/client/#enter_standby)
675
+ """
676
+
677
+ def execute_policy(
678
+ self, **kwargs: Unpack[ExecutePolicyTypeRequestTypeDef]
679
+ ) -> EmptyResponseMetadataTypeDef:
680
+ """
681
+ Executes the specified policy.
682
+
683
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/autoscaling/client/execute_policy.html)
684
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_autoscaling/client/#execute_policy)
685
+ """
686
+
687
+ def exit_standby(
688
+ self, **kwargs: Unpack[ExitStandbyQueryRequestTypeDef]
689
+ ) -> ExitStandbyAnswerTypeDef:
690
+ """
691
+ Moves the specified instances out of the standby state.
692
+
693
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/autoscaling/client/exit_standby.html)
694
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_autoscaling/client/#exit_standby)
695
+ """
696
+
697
+ def get_predictive_scaling_forecast(
698
+ self, **kwargs: Unpack[GetPredictiveScalingForecastTypeRequestTypeDef]
699
+ ) -> GetPredictiveScalingForecastAnswerTypeDef:
700
+ """
701
+ Retrieves the forecast data for a predictive scaling policy.
702
+
703
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/autoscaling/client/get_predictive_scaling_forecast.html)
704
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_autoscaling/client/#get_predictive_scaling_forecast)
705
+ """
706
+
707
+ def put_lifecycle_hook(
708
+ self, **kwargs: Unpack[PutLifecycleHookTypeRequestTypeDef]
709
+ ) -> Dict[str, Any]:
710
+ """
711
+ Creates or updates a lifecycle hook for the specified Auto Scaling group.
712
+
713
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/autoscaling/client/put_lifecycle_hook.html)
714
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_autoscaling/client/#put_lifecycle_hook)
715
+ """
716
+
717
+ def put_notification_configuration(
718
+ self, **kwargs: Unpack[PutNotificationConfigurationTypeRequestTypeDef]
719
+ ) -> EmptyResponseMetadataTypeDef:
720
+ """
721
+ Configures an Auto Scaling group to send notifications when specified events
722
+ take place.
723
+
724
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/autoscaling/client/put_notification_configuration.html)
725
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_autoscaling/client/#put_notification_configuration)
726
+ """
727
+
728
+ def put_scaling_policy(
729
+ self, **kwargs: Unpack[PutScalingPolicyTypeRequestTypeDef]
730
+ ) -> PolicyARNTypeTypeDef:
731
+ """
732
+ Creates or updates a scaling policy for an Auto Scaling group.
733
+
734
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/autoscaling/client/put_scaling_policy.html)
735
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_autoscaling/client/#put_scaling_policy)
736
+ """
737
+
738
+ def put_scheduled_update_group_action(
739
+ self, **kwargs: Unpack[PutScheduledUpdateGroupActionTypeRequestTypeDef]
740
+ ) -> EmptyResponseMetadataTypeDef:
741
+ """
742
+ Creates or updates a scheduled scaling action for an Auto Scaling group.
743
+
744
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/autoscaling/client/put_scheduled_update_group_action.html)
745
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_autoscaling/client/#put_scheduled_update_group_action)
746
+ """
747
+
748
+ def put_warm_pool(self, **kwargs: Unpack[PutWarmPoolTypeRequestTypeDef]) -> Dict[str, Any]:
749
+ """
750
+ Creates or updates a warm pool for the specified Auto Scaling group.
751
+
752
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/autoscaling/client/put_warm_pool.html)
753
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_autoscaling/client/#put_warm_pool)
754
+ """
755
+
756
+ def record_lifecycle_action_heartbeat(
757
+ self, **kwargs: Unpack[RecordLifecycleActionHeartbeatTypeRequestTypeDef]
758
+ ) -> Dict[str, Any]:
759
+ """
760
+ Records a heartbeat for the lifecycle action associated with the specified
761
+ token or instance.
762
+
763
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/autoscaling/client/record_lifecycle_action_heartbeat.html)
764
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_autoscaling/client/#record_lifecycle_action_heartbeat)
765
+ """
766
+
767
+ def resume_processes(
768
+ self, **kwargs: Unpack[ScalingProcessQueryRequestTypeDef]
769
+ ) -> EmptyResponseMetadataTypeDef:
770
+ """
771
+ Resumes the specified suspended auto scaling processes, or all suspended
772
+ process, for the specified Auto Scaling group.
773
+
774
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/autoscaling/client/resume_processes.html)
775
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_autoscaling/client/#resume_processes)
776
+ """
777
+
778
+ def rollback_instance_refresh(
779
+ self, **kwargs: Unpack[RollbackInstanceRefreshTypeRequestTypeDef]
780
+ ) -> RollbackInstanceRefreshAnswerTypeDef:
781
+ """
782
+ Cancels an instance refresh that is in progress and rolls back any changes that
783
+ it made.
784
+
785
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/autoscaling/client/rollback_instance_refresh.html)
786
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_autoscaling/client/#rollback_instance_refresh)
787
+ """
788
+
789
+ def set_desired_capacity(
790
+ self, **kwargs: Unpack[SetDesiredCapacityTypeRequestTypeDef]
791
+ ) -> EmptyResponseMetadataTypeDef:
792
+ """
793
+ Sets the size of the specified Auto Scaling group.
794
+
795
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/autoscaling/client/set_desired_capacity.html)
796
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_autoscaling/client/#set_desired_capacity)
797
+ """
798
+
799
+ def set_instance_health(
800
+ self, **kwargs: Unpack[SetInstanceHealthQueryRequestTypeDef]
801
+ ) -> EmptyResponseMetadataTypeDef:
802
+ """
803
+ Sets the health status of the specified instance.
804
+
805
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/autoscaling/client/set_instance_health.html)
806
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_autoscaling/client/#set_instance_health)
807
+ """
808
+
809
+ def set_instance_protection(
810
+ self, **kwargs: Unpack[SetInstanceProtectionQueryRequestTypeDef]
811
+ ) -> Dict[str, Any]:
812
+ """
813
+ Updates the instance protection settings of the specified instances.
814
+
815
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/autoscaling/client/set_instance_protection.html)
816
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_autoscaling/client/#set_instance_protection)
817
+ """
818
+
819
+ def start_instance_refresh(
820
+ self, **kwargs: Unpack[StartInstanceRefreshTypeRequestTypeDef]
821
+ ) -> StartInstanceRefreshAnswerTypeDef:
822
+ """
823
+ Starts an instance refresh.
824
+
825
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/autoscaling/client/start_instance_refresh.html)
826
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_autoscaling/client/#start_instance_refresh)
827
+ """
828
+
829
+ def suspend_processes(
830
+ self, **kwargs: Unpack[ScalingProcessQueryRequestTypeDef]
831
+ ) -> EmptyResponseMetadataTypeDef:
832
+ """
833
+ Suspends the specified auto scaling processes, or all processes, for the
834
+ specified Auto Scaling group.
835
+
836
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/autoscaling/client/suspend_processes.html)
837
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_autoscaling/client/#suspend_processes)
838
+ """
839
+
840
+ def terminate_instance_in_auto_scaling_group(
841
+ self, **kwargs: Unpack[TerminateInstanceInAutoScalingGroupTypeRequestTypeDef]
842
+ ) -> ActivityTypeTypeDef:
843
+ """
844
+ Terminates the specified instance and optionally adjusts the desired group size.
845
+
846
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/autoscaling/client/terminate_instance_in_auto_scaling_group.html)
847
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_autoscaling/client/#terminate_instance_in_auto_scaling_group)
848
+ """
849
+
850
+ def update_auto_scaling_group(
851
+ self, **kwargs: Unpack[UpdateAutoScalingGroupTypeRequestTypeDef]
852
+ ) -> EmptyResponseMetadataTypeDef:
853
+ """
854
+ <b>We strongly recommend that all Auto Scaling groups use launch templates to
855
+ ensure full functionality for Amazon EC2 Auto Scaling and Amazon EC2.</b>.
856
+
857
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/autoscaling/client/update_auto_scaling_group.html)
858
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_autoscaling/client/#update_auto_scaling_group)
859
+ """
860
+
861
+ @overload # type: ignore[override]
862
+ def get_paginator( # type: ignore[override]
863
+ self, operation_name: Literal["describe_auto_scaling_groups"]
864
+ ) -> DescribeAutoScalingGroupsPaginator:
865
+ """
866
+ Create a paginator for an operation.
867
+
868
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/autoscaling/client/get_paginator.html)
869
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_autoscaling/client/#get_paginator)
870
+ """
871
+
872
+ @overload # type: ignore[override]
873
+ def get_paginator( # type: ignore[override]
874
+ self, operation_name: Literal["describe_auto_scaling_instances"]
875
+ ) -> DescribeAutoScalingInstancesPaginator:
876
+ """
877
+ Create a paginator for an operation.
878
+
879
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/autoscaling/client/get_paginator.html)
880
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_autoscaling/client/#get_paginator)
881
+ """
882
+
883
+ @overload # type: ignore[override]
884
+ def get_paginator( # type: ignore[override]
885
+ self, operation_name: Literal["describe_launch_configurations"]
886
+ ) -> DescribeLaunchConfigurationsPaginator:
887
+ """
888
+ Create a paginator for an operation.
889
+
890
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/autoscaling/client/get_paginator.html)
891
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_autoscaling/client/#get_paginator)
892
+ """
893
+
894
+ @overload # type: ignore[override]
895
+ def get_paginator( # type: ignore[override]
896
+ self, operation_name: Literal["describe_load_balancer_target_groups"]
897
+ ) -> DescribeLoadBalancerTargetGroupsPaginator:
898
+ """
899
+ Create a paginator for an operation.
900
+
901
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/autoscaling/client/get_paginator.html)
902
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_autoscaling/client/#get_paginator)
903
+ """
904
+
905
+ @overload # type: ignore[override]
906
+ def get_paginator( # type: ignore[override]
907
+ self, operation_name: Literal["describe_load_balancers"]
908
+ ) -> DescribeLoadBalancersPaginator:
909
+ """
910
+ Create a paginator for an operation.
911
+
912
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/autoscaling/client/get_paginator.html)
913
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_autoscaling/client/#get_paginator)
914
+ """
915
+
916
+ @overload # type: ignore[override]
917
+ def get_paginator( # type: ignore[override]
918
+ self, operation_name: Literal["describe_notification_configurations"]
919
+ ) -> DescribeNotificationConfigurationsPaginator:
920
+ """
921
+ Create a paginator for an operation.
922
+
923
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/autoscaling/client/get_paginator.html)
924
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_autoscaling/client/#get_paginator)
925
+ """
926
+
927
+ @overload # type: ignore[override]
928
+ def get_paginator( # type: ignore[override]
929
+ self, operation_name: Literal["describe_policies"]
930
+ ) -> DescribePoliciesPaginator:
931
+ """
932
+ Create a paginator for an operation.
933
+
934
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/autoscaling/client/get_paginator.html)
935
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_autoscaling/client/#get_paginator)
936
+ """
937
+
938
+ @overload # type: ignore[override]
939
+ def get_paginator( # type: ignore[override]
940
+ self, operation_name: Literal["describe_scaling_activities"]
941
+ ) -> DescribeScalingActivitiesPaginator:
942
+ """
943
+ Create a paginator for an operation.
944
+
945
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/autoscaling/client/get_paginator.html)
946
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_autoscaling/client/#get_paginator)
947
+ """
948
+
949
+ @overload # type: ignore[override]
950
+ def get_paginator( # type: ignore[override]
951
+ self, operation_name: Literal["describe_scheduled_actions"]
952
+ ) -> DescribeScheduledActionsPaginator:
953
+ """
954
+ Create a paginator for an operation.
955
+
956
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/autoscaling/client/get_paginator.html)
957
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_autoscaling/client/#get_paginator)
958
+ """
959
+
960
+ @overload # type: ignore[override]
961
+ def get_paginator( # type: ignore[override]
962
+ self, operation_name: Literal["describe_tags"]
963
+ ) -> DescribeTagsPaginator:
964
+ """
965
+ Create a paginator for an operation.
966
+
967
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/autoscaling/client/get_paginator.html)
968
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_autoscaling/client/#get_paginator)
969
+ """
970
+
971
+ @overload # type: ignore[override]
972
+ def get_paginator( # type: ignore[override]
973
+ self, operation_name: Literal["describe_warm_pool"]
974
+ ) -> DescribeWarmPoolPaginator:
975
+ """
976
+ Create a paginator for an operation.
977
+
978
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/autoscaling/client/get_paginator.html)
979
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_autoscaling/client/#get_paginator)
980
+ """