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