types-boto3-autoscaling 1.35.93__py3-none-any.whl → 1.37.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.
- types_boto3_autoscaling/__init__.py +4 -2
- types_boto3_autoscaling/__init__.pyi +4 -2
- types_boto3_autoscaling/__main__.py +4 -4
- types_boto3_autoscaling/client.py +116 -123
- types_boto3_autoscaling/client.pyi +116 -123
- types_boto3_autoscaling/literals.py +4 -5
- types_boto3_autoscaling/literals.pyi +4 -5
- types_boto3_autoscaling/paginator.py +2 -2
- types_boto3_autoscaling/paginator.pyi +2 -2
- types_boto3_autoscaling/type_defs.py +283 -337
- types_boto3_autoscaling/type_defs.pyi +276 -323
- types_boto3_autoscaling/version.py +1 -1
- {types_boto3_autoscaling-1.35.93.dist-info → types_boto3_autoscaling-1.37.0.dist-info}/METADATA +25 -9
- types_boto3_autoscaling-1.37.0.dist-info/RECORD +18 -0
- {types_boto3_autoscaling-1.35.93.dist-info → types_boto3_autoscaling-1.37.0.dist-info}/WHEEL +1 -1
- types_boto3_autoscaling-1.35.93.dist-info/RECORD +0 -18
- {types_boto3_autoscaling-1.35.93.dist-info → types_boto3_autoscaling-1.37.0.dist-info}/LICENSE +0 -0
- {types_boto3_autoscaling-1.35.93.dist-info → types_boto3_autoscaling-1.37.0.dist-info}/top_level.txt +0 -0
|
@@ -3,6 +3,8 @@ Type annotations for autoscaling service Client.
|
|
|
3
3
|
|
|
4
4
|
[Documentation](https://youtype.github.io/types_boto3_docs/types_boto3_autoscaling/client/)
|
|
5
5
|
|
|
6
|
+
Copyright 2025 Vlad Emelianov
|
|
7
|
+
|
|
6
8
|
Usage::
|
|
7
9
|
|
|
8
10
|
```python
|
|
@@ -12,8 +14,6 @@ Usage::
|
|
|
12
14
|
session = Session()
|
|
13
15
|
client: AutoScalingClient = session.client("autoscaling")
|
|
14
16
|
```
|
|
15
|
-
|
|
16
|
-
Copyright 2025 Vlad Emelianov
|
|
17
17
|
"""
|
|
18
18
|
|
|
19
19
|
from __future__ import annotations
|
|
@@ -41,94 +41,95 @@ from .paginator import (
|
|
|
41
41
|
from .type_defs import (
|
|
42
42
|
ActivitiesTypeTypeDef,
|
|
43
43
|
ActivityTypeTypeDef,
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
44
|
+
AttachInstancesQueryTypeDef,
|
|
45
|
+
AttachLoadBalancersTypeTypeDef,
|
|
46
|
+
AttachLoadBalancerTargetGroupsTypeTypeDef,
|
|
47
|
+
AttachTrafficSourcesTypeTypeDef,
|
|
48
|
+
AutoScalingGroupNamesTypeTypeDef,
|
|
49
49
|
AutoScalingGroupsTypeTypeDef,
|
|
50
50
|
AutoScalingInstancesTypeTypeDef,
|
|
51
51
|
BatchDeleteScheduledActionAnswerTypeDef,
|
|
52
|
-
|
|
52
|
+
BatchDeleteScheduledActionTypeTypeDef,
|
|
53
53
|
BatchPutScheduledUpdateGroupActionAnswerTypeDef,
|
|
54
|
-
|
|
54
|
+
BatchPutScheduledUpdateGroupActionTypeTypeDef,
|
|
55
55
|
CancelInstanceRefreshAnswerTypeDef,
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
56
|
+
CancelInstanceRefreshTypeTypeDef,
|
|
57
|
+
CompleteLifecycleActionTypeTypeDef,
|
|
58
|
+
CreateAutoScalingGroupTypeTypeDef,
|
|
59
|
+
CreateLaunchConfigurationTypeTypeDef,
|
|
60
|
+
CreateOrUpdateTagsTypeTypeDef,
|
|
61
|
+
DeleteAutoScalingGroupTypeTypeDef,
|
|
62
|
+
DeleteLifecycleHookTypeTypeDef,
|
|
63
|
+
DeleteNotificationConfigurationTypeTypeDef,
|
|
64
|
+
DeletePolicyTypeTypeDef,
|
|
65
|
+
DeleteScheduledActionTypeTypeDef,
|
|
66
|
+
DeleteTagsTypeTypeDef,
|
|
67
|
+
DeleteWarmPoolTypeTypeDef,
|
|
68
68
|
DescribeAccountLimitsAnswerTypeDef,
|
|
69
69
|
DescribeAdjustmentTypesAnswerTypeDef,
|
|
70
|
-
|
|
70
|
+
DescribeAutoScalingInstancesTypeTypeDef,
|
|
71
71
|
DescribeAutoScalingNotificationTypesAnswerTypeDef,
|
|
72
72
|
DescribeInstanceRefreshesAnswerTypeDef,
|
|
73
|
-
|
|
73
|
+
DescribeInstanceRefreshesTypeTypeDef,
|
|
74
74
|
DescribeLifecycleHooksAnswerTypeDef,
|
|
75
|
-
|
|
75
|
+
DescribeLifecycleHooksTypeTypeDef,
|
|
76
76
|
DescribeLifecycleHookTypesAnswerTypeDef,
|
|
77
|
-
|
|
77
|
+
DescribeLoadBalancersRequestTypeDef,
|
|
78
78
|
DescribeLoadBalancersResponseTypeDef,
|
|
79
|
-
|
|
79
|
+
DescribeLoadBalancerTargetGroupsRequestTypeDef,
|
|
80
80
|
DescribeLoadBalancerTargetGroupsResponseTypeDef,
|
|
81
81
|
DescribeMetricCollectionTypesAnswerTypeDef,
|
|
82
82
|
DescribeNotificationConfigurationsAnswerTypeDef,
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
83
|
+
DescribeNotificationConfigurationsTypeTypeDef,
|
|
84
|
+
DescribePoliciesTypeTypeDef,
|
|
85
|
+
DescribeScalingActivitiesTypeTypeDef,
|
|
86
|
+
DescribeScheduledActionsTypeTypeDef,
|
|
87
|
+
DescribeTagsTypeTypeDef,
|
|
88
88
|
DescribeTerminationPolicyTypesAnswerTypeDef,
|
|
89
|
-
|
|
89
|
+
DescribeTrafficSourcesRequestTypeDef,
|
|
90
90
|
DescribeTrafficSourcesResponseTypeDef,
|
|
91
91
|
DescribeWarmPoolAnswerTypeDef,
|
|
92
|
-
|
|
92
|
+
DescribeWarmPoolTypeTypeDef,
|
|
93
93
|
DetachInstancesAnswerTypeDef,
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
94
|
+
DetachInstancesQueryTypeDef,
|
|
95
|
+
DetachLoadBalancersTypeTypeDef,
|
|
96
|
+
DetachLoadBalancerTargetGroupsTypeTypeDef,
|
|
97
|
+
DetachTrafficSourcesTypeTypeDef,
|
|
98
|
+
DisableMetricsCollectionQueryTypeDef,
|
|
99
99
|
EmptyResponseMetadataTypeDef,
|
|
100
|
-
|
|
100
|
+
EnableMetricsCollectionQueryTypeDef,
|
|
101
101
|
EnterStandbyAnswerTypeDef,
|
|
102
|
-
|
|
103
|
-
|
|
102
|
+
EnterStandbyQueryTypeDef,
|
|
103
|
+
ExecutePolicyTypeTypeDef,
|
|
104
104
|
ExitStandbyAnswerTypeDef,
|
|
105
|
-
|
|
105
|
+
ExitStandbyQueryTypeDef,
|
|
106
106
|
GetPredictiveScalingForecastAnswerTypeDef,
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
107
|
+
GetPredictiveScalingForecastTypeTypeDef,
|
|
108
|
+
LaunchConfigurationNamesTypeTypeDef,
|
|
109
|
+
LaunchConfigurationNameTypeTypeDef,
|
|
110
110
|
LaunchConfigurationsTypeTypeDef,
|
|
111
111
|
PoliciesTypeTypeDef,
|
|
112
112
|
PolicyARNTypeTypeDef,
|
|
113
113
|
ProcessesTypeTypeDef,
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
114
|
+
PutLifecycleHookTypeTypeDef,
|
|
115
|
+
PutNotificationConfigurationTypeTypeDef,
|
|
116
|
+
PutScalingPolicyTypeTypeDef,
|
|
117
|
+
PutScheduledUpdateGroupActionTypeTypeDef,
|
|
118
|
+
PutWarmPoolTypeTypeDef,
|
|
119
|
+
RecordLifecycleActionHeartbeatTypeTypeDef,
|
|
120
120
|
RollbackInstanceRefreshAnswerTypeDef,
|
|
121
|
-
|
|
121
|
+
RollbackInstanceRefreshTypeTypeDef,
|
|
122
122
|
ScalingProcessQueryRequestTypeDef,
|
|
123
|
+
ScalingProcessQueryTypeDef,
|
|
123
124
|
ScheduledActionsTypeTypeDef,
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
125
|
+
SetDesiredCapacityTypeTypeDef,
|
|
126
|
+
SetInstanceHealthQueryTypeDef,
|
|
127
|
+
SetInstanceProtectionQueryTypeDef,
|
|
127
128
|
StartInstanceRefreshAnswerTypeDef,
|
|
128
|
-
|
|
129
|
+
StartInstanceRefreshTypeTypeDef,
|
|
129
130
|
TagsTypeTypeDef,
|
|
130
|
-
|
|
131
|
-
|
|
131
|
+
TerminateInstanceInAutoScalingGroupTypeTypeDef,
|
|
132
|
+
UpdateAutoScalingGroupTypeTypeDef,
|
|
132
133
|
)
|
|
133
134
|
|
|
134
135
|
if sys.version_info >= (3, 9):
|
|
@@ -196,7 +197,7 @@ class AutoScalingClient(BaseClient):
|
|
|
196
197
|
"""
|
|
197
198
|
|
|
198
199
|
def attach_instances(
|
|
199
|
-
self, **kwargs: Unpack[
|
|
200
|
+
self, **kwargs: Unpack[AttachInstancesQueryTypeDef]
|
|
200
201
|
) -> EmptyResponseMetadataTypeDef:
|
|
201
202
|
"""
|
|
202
203
|
Attaches one or more EC2 instances to the specified Auto Scaling group.
|
|
@@ -206,7 +207,7 @@ class AutoScalingClient(BaseClient):
|
|
|
206
207
|
"""
|
|
207
208
|
|
|
208
209
|
def attach_load_balancer_target_groups(
|
|
209
|
-
self, **kwargs: Unpack[
|
|
210
|
+
self, **kwargs: Unpack[AttachLoadBalancerTargetGroupsTypeTypeDef]
|
|
210
211
|
) -> Dict[str, Any]:
|
|
211
212
|
"""
|
|
212
213
|
This API operation is superseded by <a
|
|
@@ -218,7 +219,7 @@ class AutoScalingClient(BaseClient):
|
|
|
218
219
|
"""
|
|
219
220
|
|
|
220
221
|
def attach_load_balancers(
|
|
221
|
-
self, **kwargs: Unpack[
|
|
222
|
+
self, **kwargs: Unpack[AttachLoadBalancersTypeTypeDef]
|
|
222
223
|
) -> Dict[str, Any]:
|
|
223
224
|
"""
|
|
224
225
|
This API operation is superseded by <a
|
|
@@ -230,7 +231,7 @@ class AutoScalingClient(BaseClient):
|
|
|
230
231
|
"""
|
|
231
232
|
|
|
232
233
|
def attach_traffic_sources(
|
|
233
|
-
self, **kwargs: Unpack[
|
|
234
|
+
self, **kwargs: Unpack[AttachTrafficSourcesTypeTypeDef]
|
|
234
235
|
) -> Dict[str, Any]:
|
|
235
236
|
"""
|
|
236
237
|
Attaches one or more traffic sources to the specified Auto Scaling group.
|
|
@@ -240,7 +241,7 @@ class AutoScalingClient(BaseClient):
|
|
|
240
241
|
"""
|
|
241
242
|
|
|
242
243
|
def batch_delete_scheduled_action(
|
|
243
|
-
self, **kwargs: Unpack[
|
|
244
|
+
self, **kwargs: Unpack[BatchDeleteScheduledActionTypeTypeDef]
|
|
244
245
|
) -> BatchDeleteScheduledActionAnswerTypeDef:
|
|
245
246
|
"""
|
|
246
247
|
Deletes one or more scheduled actions for the specified Auto Scaling group.
|
|
@@ -250,7 +251,7 @@ class AutoScalingClient(BaseClient):
|
|
|
250
251
|
"""
|
|
251
252
|
|
|
252
253
|
def batch_put_scheduled_update_group_action(
|
|
253
|
-
self, **kwargs: Unpack[
|
|
254
|
+
self, **kwargs: Unpack[BatchPutScheduledUpdateGroupActionTypeTypeDef]
|
|
254
255
|
) -> BatchPutScheduledUpdateGroupActionAnswerTypeDef:
|
|
255
256
|
"""
|
|
256
257
|
Creates or updates one or more scheduled scaling actions for an Auto Scaling
|
|
@@ -261,7 +262,7 @@ class AutoScalingClient(BaseClient):
|
|
|
261
262
|
"""
|
|
262
263
|
|
|
263
264
|
def cancel_instance_refresh(
|
|
264
|
-
self, **kwargs: Unpack[
|
|
265
|
+
self, **kwargs: Unpack[CancelInstanceRefreshTypeTypeDef]
|
|
265
266
|
) -> CancelInstanceRefreshAnswerTypeDef:
|
|
266
267
|
"""
|
|
267
268
|
Cancels an instance refresh or rollback that is in progress.
|
|
@@ -271,7 +272,7 @@ class AutoScalingClient(BaseClient):
|
|
|
271
272
|
"""
|
|
272
273
|
|
|
273
274
|
def complete_lifecycle_action(
|
|
274
|
-
self, **kwargs: Unpack[
|
|
275
|
+
self, **kwargs: Unpack[CompleteLifecycleActionTypeTypeDef]
|
|
275
276
|
) -> Dict[str, Any]:
|
|
276
277
|
"""
|
|
277
278
|
Completes the lifecycle action for the specified token or instance with the
|
|
@@ -282,7 +283,7 @@ class AutoScalingClient(BaseClient):
|
|
|
282
283
|
"""
|
|
283
284
|
|
|
284
285
|
def create_auto_scaling_group(
|
|
285
|
-
self, **kwargs: Unpack[
|
|
286
|
+
self, **kwargs: Unpack[CreateAutoScalingGroupTypeTypeDef]
|
|
286
287
|
) -> EmptyResponseMetadataTypeDef:
|
|
287
288
|
"""
|
|
288
289
|
<b>We strongly recommend using a launch template when calling this operation to
|
|
@@ -293,7 +294,7 @@ class AutoScalingClient(BaseClient):
|
|
|
293
294
|
"""
|
|
294
295
|
|
|
295
296
|
def create_launch_configuration(
|
|
296
|
-
self, **kwargs: Unpack[
|
|
297
|
+
self, **kwargs: Unpack[CreateLaunchConfigurationTypeTypeDef]
|
|
297
298
|
) -> EmptyResponseMetadataTypeDef:
|
|
298
299
|
"""
|
|
299
300
|
Creates a launch configuration.
|
|
@@ -303,7 +304,7 @@ class AutoScalingClient(BaseClient):
|
|
|
303
304
|
"""
|
|
304
305
|
|
|
305
306
|
def create_or_update_tags(
|
|
306
|
-
self, **kwargs: Unpack[
|
|
307
|
+
self, **kwargs: Unpack[CreateOrUpdateTagsTypeTypeDef]
|
|
307
308
|
) -> EmptyResponseMetadataTypeDef:
|
|
308
309
|
"""
|
|
309
310
|
Creates or updates tags for the specified Auto Scaling group.
|
|
@@ -313,7 +314,7 @@ class AutoScalingClient(BaseClient):
|
|
|
313
314
|
"""
|
|
314
315
|
|
|
315
316
|
def delete_auto_scaling_group(
|
|
316
|
-
self, **kwargs: Unpack[
|
|
317
|
+
self, **kwargs: Unpack[DeleteAutoScalingGroupTypeTypeDef]
|
|
317
318
|
) -> EmptyResponseMetadataTypeDef:
|
|
318
319
|
"""
|
|
319
320
|
Deletes the specified Auto Scaling group.
|
|
@@ -323,7 +324,7 @@ class AutoScalingClient(BaseClient):
|
|
|
323
324
|
"""
|
|
324
325
|
|
|
325
326
|
def delete_launch_configuration(
|
|
326
|
-
self, **kwargs: Unpack[
|
|
327
|
+
self, **kwargs: Unpack[LaunchConfigurationNameTypeTypeDef]
|
|
327
328
|
) -> EmptyResponseMetadataTypeDef:
|
|
328
329
|
"""
|
|
329
330
|
Deletes the specified launch configuration.
|
|
@@ -333,7 +334,7 @@ class AutoScalingClient(BaseClient):
|
|
|
333
334
|
"""
|
|
334
335
|
|
|
335
336
|
def delete_lifecycle_hook(
|
|
336
|
-
self, **kwargs: Unpack[
|
|
337
|
+
self, **kwargs: Unpack[DeleteLifecycleHookTypeTypeDef]
|
|
337
338
|
) -> Dict[str, Any]:
|
|
338
339
|
"""
|
|
339
340
|
Deletes the specified lifecycle hook.
|
|
@@ -343,7 +344,7 @@ class AutoScalingClient(BaseClient):
|
|
|
343
344
|
"""
|
|
344
345
|
|
|
345
346
|
def delete_notification_configuration(
|
|
346
|
-
self, **kwargs: Unpack[
|
|
347
|
+
self, **kwargs: Unpack[DeleteNotificationConfigurationTypeTypeDef]
|
|
347
348
|
) -> EmptyResponseMetadataTypeDef:
|
|
348
349
|
"""
|
|
349
350
|
Deletes the specified notification.
|
|
@@ -353,7 +354,7 @@ class AutoScalingClient(BaseClient):
|
|
|
353
354
|
"""
|
|
354
355
|
|
|
355
356
|
def delete_policy(
|
|
356
|
-
self, **kwargs: Unpack[
|
|
357
|
+
self, **kwargs: Unpack[DeletePolicyTypeTypeDef]
|
|
357
358
|
) -> EmptyResponseMetadataTypeDef:
|
|
358
359
|
"""
|
|
359
360
|
Deletes the specified scaling policy.
|
|
@@ -363,7 +364,7 @@ class AutoScalingClient(BaseClient):
|
|
|
363
364
|
"""
|
|
364
365
|
|
|
365
366
|
def delete_scheduled_action(
|
|
366
|
-
self, **kwargs: Unpack[
|
|
367
|
+
self, **kwargs: Unpack[DeleteScheduledActionTypeTypeDef]
|
|
367
368
|
) -> EmptyResponseMetadataTypeDef:
|
|
368
369
|
"""
|
|
369
370
|
Deletes the specified scheduled action.
|
|
@@ -372,9 +373,7 @@ class AutoScalingClient(BaseClient):
|
|
|
372
373
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_autoscaling/client/#delete_scheduled_action)
|
|
373
374
|
"""
|
|
374
375
|
|
|
375
|
-
def delete_tags(
|
|
376
|
-
self, **kwargs: Unpack[DeleteTagsTypeRequestTypeDef]
|
|
377
|
-
) -> EmptyResponseMetadataTypeDef:
|
|
376
|
+
def delete_tags(self, **kwargs: Unpack[DeleteTagsTypeTypeDef]) -> EmptyResponseMetadataTypeDef:
|
|
378
377
|
"""
|
|
379
378
|
Deletes the specified tags.
|
|
380
379
|
|
|
@@ -382,9 +381,7 @@ class AutoScalingClient(BaseClient):
|
|
|
382
381
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_autoscaling/client/#delete_tags)
|
|
383
382
|
"""
|
|
384
383
|
|
|
385
|
-
def delete_warm_pool(
|
|
386
|
-
self, **kwargs: Unpack[DeleteWarmPoolTypeRequestTypeDef]
|
|
387
|
-
) -> Dict[str, Any]:
|
|
384
|
+
def delete_warm_pool(self, **kwargs: Unpack[DeleteWarmPoolTypeTypeDef]) -> Dict[str, Any]:
|
|
388
385
|
"""
|
|
389
386
|
Deletes the warm pool for the specified Auto Scaling group.
|
|
390
387
|
|
|
@@ -410,7 +407,7 @@ class AutoScalingClient(BaseClient):
|
|
|
410
407
|
"""
|
|
411
408
|
|
|
412
409
|
def describe_auto_scaling_groups(
|
|
413
|
-
self, **kwargs: Unpack[
|
|
410
|
+
self, **kwargs: Unpack[AutoScalingGroupNamesTypeTypeDef]
|
|
414
411
|
) -> AutoScalingGroupsTypeTypeDef:
|
|
415
412
|
"""
|
|
416
413
|
Gets information about the Auto Scaling groups in the account and Region.
|
|
@@ -420,7 +417,7 @@ class AutoScalingClient(BaseClient):
|
|
|
420
417
|
"""
|
|
421
418
|
|
|
422
419
|
def describe_auto_scaling_instances(
|
|
423
|
-
self, **kwargs: Unpack[
|
|
420
|
+
self, **kwargs: Unpack[DescribeAutoScalingInstancesTypeTypeDef]
|
|
424
421
|
) -> AutoScalingInstancesTypeTypeDef:
|
|
425
422
|
"""
|
|
426
423
|
Gets information about the Auto Scaling instances in the account and Region.
|
|
@@ -440,7 +437,7 @@ class AutoScalingClient(BaseClient):
|
|
|
440
437
|
"""
|
|
441
438
|
|
|
442
439
|
def describe_instance_refreshes(
|
|
443
|
-
self, **kwargs: Unpack[
|
|
440
|
+
self, **kwargs: Unpack[DescribeInstanceRefreshesTypeTypeDef]
|
|
444
441
|
) -> DescribeInstanceRefreshesAnswerTypeDef:
|
|
445
442
|
"""
|
|
446
443
|
Gets information about the instance refreshes for the specified Auto Scaling
|
|
@@ -451,7 +448,7 @@ class AutoScalingClient(BaseClient):
|
|
|
451
448
|
"""
|
|
452
449
|
|
|
453
450
|
def describe_launch_configurations(
|
|
454
|
-
self, **kwargs: Unpack[
|
|
451
|
+
self, **kwargs: Unpack[LaunchConfigurationNamesTypeTypeDef]
|
|
455
452
|
) -> LaunchConfigurationsTypeTypeDef:
|
|
456
453
|
"""
|
|
457
454
|
Gets information about the launch configurations in the account and Region.
|
|
@@ -469,7 +466,7 @@ class AutoScalingClient(BaseClient):
|
|
|
469
466
|
"""
|
|
470
467
|
|
|
471
468
|
def describe_lifecycle_hooks(
|
|
472
|
-
self, **kwargs: Unpack[
|
|
469
|
+
self, **kwargs: Unpack[DescribeLifecycleHooksTypeTypeDef]
|
|
473
470
|
) -> DescribeLifecycleHooksAnswerTypeDef:
|
|
474
471
|
"""
|
|
475
472
|
Gets information about the lifecycle hooks for the specified Auto Scaling group.
|
|
@@ -479,7 +476,7 @@ class AutoScalingClient(BaseClient):
|
|
|
479
476
|
"""
|
|
480
477
|
|
|
481
478
|
def describe_load_balancer_target_groups(
|
|
482
|
-
self, **kwargs: Unpack[
|
|
479
|
+
self, **kwargs: Unpack[DescribeLoadBalancerTargetGroupsRequestTypeDef]
|
|
483
480
|
) -> DescribeLoadBalancerTargetGroupsResponseTypeDef:
|
|
484
481
|
"""
|
|
485
482
|
This API operation is superseded by <a
|
|
@@ -491,7 +488,7 @@ class AutoScalingClient(BaseClient):
|
|
|
491
488
|
"""
|
|
492
489
|
|
|
493
490
|
def describe_load_balancers(
|
|
494
|
-
self, **kwargs: Unpack[
|
|
491
|
+
self, **kwargs: Unpack[DescribeLoadBalancersRequestTypeDef]
|
|
495
492
|
) -> DescribeLoadBalancersResponseTypeDef:
|
|
496
493
|
"""
|
|
497
494
|
This API operation is superseded by <a
|
|
@@ -511,7 +508,7 @@ class AutoScalingClient(BaseClient):
|
|
|
511
508
|
"""
|
|
512
509
|
|
|
513
510
|
def describe_notification_configurations(
|
|
514
|
-
self, **kwargs: Unpack[
|
|
511
|
+
self, **kwargs: Unpack[DescribeNotificationConfigurationsTypeTypeDef]
|
|
515
512
|
) -> DescribeNotificationConfigurationsAnswerTypeDef:
|
|
516
513
|
"""
|
|
517
514
|
Gets information about the Amazon SNS notifications that are configured for one
|
|
@@ -522,7 +519,7 @@ class AutoScalingClient(BaseClient):
|
|
|
522
519
|
"""
|
|
523
520
|
|
|
524
521
|
def describe_policies(
|
|
525
|
-
self, **kwargs: Unpack[
|
|
522
|
+
self, **kwargs: Unpack[DescribePoliciesTypeTypeDef]
|
|
526
523
|
) -> PoliciesTypeTypeDef:
|
|
527
524
|
"""
|
|
528
525
|
Gets information about the scaling policies in the account and Region.
|
|
@@ -532,7 +529,7 @@ class AutoScalingClient(BaseClient):
|
|
|
532
529
|
"""
|
|
533
530
|
|
|
534
531
|
def describe_scaling_activities(
|
|
535
|
-
self, **kwargs: Unpack[
|
|
532
|
+
self, **kwargs: Unpack[DescribeScalingActivitiesTypeTypeDef]
|
|
536
533
|
) -> ActivitiesTypeTypeDef:
|
|
537
534
|
"""
|
|
538
535
|
Gets information about the scaling activities in the account and Region.
|
|
@@ -554,7 +551,7 @@ class AutoScalingClient(BaseClient):
|
|
|
554
551
|
"""
|
|
555
552
|
|
|
556
553
|
def describe_scheduled_actions(
|
|
557
|
-
self, **kwargs: Unpack[
|
|
554
|
+
self, **kwargs: Unpack[DescribeScheduledActionsTypeTypeDef]
|
|
558
555
|
) -> ScheduledActionsTypeTypeDef:
|
|
559
556
|
"""
|
|
560
557
|
Gets information about the scheduled actions that haven't run or that have not
|
|
@@ -564,7 +561,7 @@ class AutoScalingClient(BaseClient):
|
|
|
564
561
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_autoscaling/client/#describe_scheduled_actions)
|
|
565
562
|
"""
|
|
566
563
|
|
|
567
|
-
def describe_tags(self, **kwargs: Unpack[
|
|
564
|
+
def describe_tags(self, **kwargs: Unpack[DescribeTagsTypeTypeDef]) -> TagsTypeTypeDef:
|
|
568
565
|
"""
|
|
569
566
|
Describes the specified tags.
|
|
570
567
|
|
|
@@ -581,7 +578,7 @@ class AutoScalingClient(BaseClient):
|
|
|
581
578
|
"""
|
|
582
579
|
|
|
583
580
|
def describe_traffic_sources(
|
|
584
|
-
self, **kwargs: Unpack[
|
|
581
|
+
self, **kwargs: Unpack[DescribeTrafficSourcesRequestTypeDef]
|
|
585
582
|
) -> DescribeTrafficSourcesResponseTypeDef:
|
|
586
583
|
"""
|
|
587
584
|
Gets information about the traffic sources for the specified Auto Scaling group.
|
|
@@ -591,7 +588,7 @@ class AutoScalingClient(BaseClient):
|
|
|
591
588
|
"""
|
|
592
589
|
|
|
593
590
|
def describe_warm_pool(
|
|
594
|
-
self, **kwargs: Unpack[
|
|
591
|
+
self, **kwargs: Unpack[DescribeWarmPoolTypeTypeDef]
|
|
595
592
|
) -> DescribeWarmPoolAnswerTypeDef:
|
|
596
593
|
"""
|
|
597
594
|
Gets information about a warm pool and its instances.
|
|
@@ -601,7 +598,7 @@ class AutoScalingClient(BaseClient):
|
|
|
601
598
|
"""
|
|
602
599
|
|
|
603
600
|
def detach_instances(
|
|
604
|
-
self, **kwargs: Unpack[
|
|
601
|
+
self, **kwargs: Unpack[DetachInstancesQueryTypeDef]
|
|
605
602
|
) -> DetachInstancesAnswerTypeDef:
|
|
606
603
|
"""
|
|
607
604
|
Removes one or more instances from the specified Auto Scaling group.
|
|
@@ -611,7 +608,7 @@ class AutoScalingClient(BaseClient):
|
|
|
611
608
|
"""
|
|
612
609
|
|
|
613
610
|
def detach_load_balancer_target_groups(
|
|
614
|
-
self, **kwargs: Unpack[
|
|
611
|
+
self, **kwargs: Unpack[DetachLoadBalancerTargetGroupsTypeTypeDef]
|
|
615
612
|
) -> Dict[str, Any]:
|
|
616
613
|
"""
|
|
617
614
|
This API operation is superseded by <a
|
|
@@ -623,7 +620,7 @@ class AutoScalingClient(BaseClient):
|
|
|
623
620
|
"""
|
|
624
621
|
|
|
625
622
|
def detach_load_balancers(
|
|
626
|
-
self, **kwargs: Unpack[
|
|
623
|
+
self, **kwargs: Unpack[DetachLoadBalancersTypeTypeDef]
|
|
627
624
|
) -> Dict[str, Any]:
|
|
628
625
|
"""
|
|
629
626
|
This API operation is superseded by <a
|
|
@@ -635,7 +632,7 @@ class AutoScalingClient(BaseClient):
|
|
|
635
632
|
"""
|
|
636
633
|
|
|
637
634
|
def detach_traffic_sources(
|
|
638
|
-
self, **kwargs: Unpack[
|
|
635
|
+
self, **kwargs: Unpack[DetachTrafficSourcesTypeTypeDef]
|
|
639
636
|
) -> Dict[str, Any]:
|
|
640
637
|
"""
|
|
641
638
|
Detaches one or more traffic sources from the specified Auto Scaling group.
|
|
@@ -645,7 +642,7 @@ class AutoScalingClient(BaseClient):
|
|
|
645
642
|
"""
|
|
646
643
|
|
|
647
644
|
def disable_metrics_collection(
|
|
648
|
-
self, **kwargs: Unpack[
|
|
645
|
+
self, **kwargs: Unpack[DisableMetricsCollectionQueryTypeDef]
|
|
649
646
|
) -> EmptyResponseMetadataTypeDef:
|
|
650
647
|
"""
|
|
651
648
|
Disables group metrics collection for the specified Auto Scaling group.
|
|
@@ -655,7 +652,7 @@ class AutoScalingClient(BaseClient):
|
|
|
655
652
|
"""
|
|
656
653
|
|
|
657
654
|
def enable_metrics_collection(
|
|
658
|
-
self, **kwargs: Unpack[
|
|
655
|
+
self, **kwargs: Unpack[EnableMetricsCollectionQueryTypeDef]
|
|
659
656
|
) -> EmptyResponseMetadataTypeDef:
|
|
660
657
|
"""
|
|
661
658
|
Enables group metrics collection for the specified Auto Scaling group.
|
|
@@ -665,7 +662,7 @@ class AutoScalingClient(BaseClient):
|
|
|
665
662
|
"""
|
|
666
663
|
|
|
667
664
|
def enter_standby(
|
|
668
|
-
self, **kwargs: Unpack[
|
|
665
|
+
self, **kwargs: Unpack[EnterStandbyQueryTypeDef]
|
|
669
666
|
) -> EnterStandbyAnswerTypeDef:
|
|
670
667
|
"""
|
|
671
668
|
Moves the specified instances into the standby state.
|
|
@@ -675,7 +672,7 @@ class AutoScalingClient(BaseClient):
|
|
|
675
672
|
"""
|
|
676
673
|
|
|
677
674
|
def execute_policy(
|
|
678
|
-
self, **kwargs: Unpack[
|
|
675
|
+
self, **kwargs: Unpack[ExecutePolicyTypeTypeDef]
|
|
679
676
|
) -> EmptyResponseMetadataTypeDef:
|
|
680
677
|
"""
|
|
681
678
|
Executes the specified policy.
|
|
@@ -684,9 +681,7 @@ class AutoScalingClient(BaseClient):
|
|
|
684
681
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_autoscaling/client/#execute_policy)
|
|
685
682
|
"""
|
|
686
683
|
|
|
687
|
-
def exit_standby(
|
|
688
|
-
self, **kwargs: Unpack[ExitStandbyQueryRequestTypeDef]
|
|
689
|
-
) -> ExitStandbyAnswerTypeDef:
|
|
684
|
+
def exit_standby(self, **kwargs: Unpack[ExitStandbyQueryTypeDef]) -> ExitStandbyAnswerTypeDef:
|
|
690
685
|
"""
|
|
691
686
|
Moves the specified instances out of the standby state.
|
|
692
687
|
|
|
@@ -695,7 +690,7 @@ class AutoScalingClient(BaseClient):
|
|
|
695
690
|
"""
|
|
696
691
|
|
|
697
692
|
def get_predictive_scaling_forecast(
|
|
698
|
-
self, **kwargs: Unpack[
|
|
693
|
+
self, **kwargs: Unpack[GetPredictiveScalingForecastTypeTypeDef]
|
|
699
694
|
) -> GetPredictiveScalingForecastAnswerTypeDef:
|
|
700
695
|
"""
|
|
701
696
|
Retrieves the forecast data for a predictive scaling policy.
|
|
@@ -704,9 +699,7 @@ class AutoScalingClient(BaseClient):
|
|
|
704
699
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_autoscaling/client/#get_predictive_scaling_forecast)
|
|
705
700
|
"""
|
|
706
701
|
|
|
707
|
-
def put_lifecycle_hook(
|
|
708
|
-
self, **kwargs: Unpack[PutLifecycleHookTypeRequestTypeDef]
|
|
709
|
-
) -> Dict[str, Any]:
|
|
702
|
+
def put_lifecycle_hook(self, **kwargs: Unpack[PutLifecycleHookTypeTypeDef]) -> Dict[str, Any]:
|
|
710
703
|
"""
|
|
711
704
|
Creates or updates a lifecycle hook for the specified Auto Scaling group.
|
|
712
705
|
|
|
@@ -715,7 +708,7 @@ class AutoScalingClient(BaseClient):
|
|
|
715
708
|
"""
|
|
716
709
|
|
|
717
710
|
def put_notification_configuration(
|
|
718
|
-
self, **kwargs: Unpack[
|
|
711
|
+
self, **kwargs: Unpack[PutNotificationConfigurationTypeTypeDef]
|
|
719
712
|
) -> EmptyResponseMetadataTypeDef:
|
|
720
713
|
"""
|
|
721
714
|
Configures an Auto Scaling group to send notifications when specified events
|
|
@@ -726,7 +719,7 @@ class AutoScalingClient(BaseClient):
|
|
|
726
719
|
"""
|
|
727
720
|
|
|
728
721
|
def put_scaling_policy(
|
|
729
|
-
self, **kwargs: Unpack[
|
|
722
|
+
self, **kwargs: Unpack[PutScalingPolicyTypeTypeDef]
|
|
730
723
|
) -> PolicyARNTypeTypeDef:
|
|
731
724
|
"""
|
|
732
725
|
Creates or updates a scaling policy for an Auto Scaling group.
|
|
@@ -736,7 +729,7 @@ class AutoScalingClient(BaseClient):
|
|
|
736
729
|
"""
|
|
737
730
|
|
|
738
731
|
def put_scheduled_update_group_action(
|
|
739
|
-
self, **kwargs: Unpack[
|
|
732
|
+
self, **kwargs: Unpack[PutScheduledUpdateGroupActionTypeTypeDef]
|
|
740
733
|
) -> EmptyResponseMetadataTypeDef:
|
|
741
734
|
"""
|
|
742
735
|
Creates or updates a scheduled scaling action for an Auto Scaling group.
|
|
@@ -745,7 +738,7 @@ class AutoScalingClient(BaseClient):
|
|
|
745
738
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_autoscaling/client/#put_scheduled_update_group_action)
|
|
746
739
|
"""
|
|
747
740
|
|
|
748
|
-
def put_warm_pool(self, **kwargs: Unpack[
|
|
741
|
+
def put_warm_pool(self, **kwargs: Unpack[PutWarmPoolTypeTypeDef]) -> Dict[str, Any]:
|
|
749
742
|
"""
|
|
750
743
|
Creates or updates a warm pool for the specified Auto Scaling group.
|
|
751
744
|
|
|
@@ -754,7 +747,7 @@ class AutoScalingClient(BaseClient):
|
|
|
754
747
|
"""
|
|
755
748
|
|
|
756
749
|
def record_lifecycle_action_heartbeat(
|
|
757
|
-
self, **kwargs: Unpack[
|
|
750
|
+
self, **kwargs: Unpack[RecordLifecycleActionHeartbeatTypeTypeDef]
|
|
758
751
|
) -> Dict[str, Any]:
|
|
759
752
|
"""
|
|
760
753
|
Records a heartbeat for the lifecycle action associated with the specified
|
|
@@ -765,7 +758,7 @@ class AutoScalingClient(BaseClient):
|
|
|
765
758
|
"""
|
|
766
759
|
|
|
767
760
|
def resume_processes(
|
|
768
|
-
self, **kwargs: Unpack[
|
|
761
|
+
self, **kwargs: Unpack[ScalingProcessQueryTypeDef]
|
|
769
762
|
) -> EmptyResponseMetadataTypeDef:
|
|
770
763
|
"""
|
|
771
764
|
Resumes the specified suspended auto scaling processes, or all suspended
|
|
@@ -776,7 +769,7 @@ class AutoScalingClient(BaseClient):
|
|
|
776
769
|
"""
|
|
777
770
|
|
|
778
771
|
def rollback_instance_refresh(
|
|
779
|
-
self, **kwargs: Unpack[
|
|
772
|
+
self, **kwargs: Unpack[RollbackInstanceRefreshTypeTypeDef]
|
|
780
773
|
) -> RollbackInstanceRefreshAnswerTypeDef:
|
|
781
774
|
"""
|
|
782
775
|
Cancels an instance refresh that is in progress and rolls back any changes that
|
|
@@ -787,7 +780,7 @@ class AutoScalingClient(BaseClient):
|
|
|
787
780
|
"""
|
|
788
781
|
|
|
789
782
|
def set_desired_capacity(
|
|
790
|
-
self, **kwargs: Unpack[
|
|
783
|
+
self, **kwargs: Unpack[SetDesiredCapacityTypeTypeDef]
|
|
791
784
|
) -> EmptyResponseMetadataTypeDef:
|
|
792
785
|
"""
|
|
793
786
|
Sets the size of the specified Auto Scaling group.
|
|
@@ -797,7 +790,7 @@ class AutoScalingClient(BaseClient):
|
|
|
797
790
|
"""
|
|
798
791
|
|
|
799
792
|
def set_instance_health(
|
|
800
|
-
self, **kwargs: Unpack[
|
|
793
|
+
self, **kwargs: Unpack[SetInstanceHealthQueryTypeDef]
|
|
801
794
|
) -> EmptyResponseMetadataTypeDef:
|
|
802
795
|
"""
|
|
803
796
|
Sets the health status of the specified instance.
|
|
@@ -807,7 +800,7 @@ class AutoScalingClient(BaseClient):
|
|
|
807
800
|
"""
|
|
808
801
|
|
|
809
802
|
def set_instance_protection(
|
|
810
|
-
self, **kwargs: Unpack[
|
|
803
|
+
self, **kwargs: Unpack[SetInstanceProtectionQueryTypeDef]
|
|
811
804
|
) -> Dict[str, Any]:
|
|
812
805
|
"""
|
|
813
806
|
Updates the instance protection settings of the specified instances.
|
|
@@ -817,7 +810,7 @@ class AutoScalingClient(BaseClient):
|
|
|
817
810
|
"""
|
|
818
811
|
|
|
819
812
|
def start_instance_refresh(
|
|
820
|
-
self, **kwargs: Unpack[
|
|
813
|
+
self, **kwargs: Unpack[StartInstanceRefreshTypeTypeDef]
|
|
821
814
|
) -> StartInstanceRefreshAnswerTypeDef:
|
|
822
815
|
"""
|
|
823
816
|
Starts an instance refresh.
|
|
@@ -838,7 +831,7 @@ class AutoScalingClient(BaseClient):
|
|
|
838
831
|
"""
|
|
839
832
|
|
|
840
833
|
def terminate_instance_in_auto_scaling_group(
|
|
841
|
-
self, **kwargs: Unpack[
|
|
834
|
+
self, **kwargs: Unpack[TerminateInstanceInAutoScalingGroupTypeTypeDef]
|
|
842
835
|
) -> ActivityTypeTypeDef:
|
|
843
836
|
"""
|
|
844
837
|
Terminates the specified instance and optionally adjusts the desired group size.
|
|
@@ -848,7 +841,7 @@ class AutoScalingClient(BaseClient):
|
|
|
848
841
|
"""
|
|
849
842
|
|
|
850
843
|
def update_auto_scaling_group(
|
|
851
|
-
self, **kwargs: Unpack[
|
|
844
|
+
self, **kwargs: Unpack[UpdateAutoScalingGroupTypeTypeDef]
|
|
852
845
|
) -> EmptyResponseMetadataTypeDef:
|
|
853
846
|
"""
|
|
854
847
|
<b>We strongly recommend that all Auto Scaling groups use launch templates to
|