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):
|
|
@@ -193,7 +194,7 @@ class AutoScalingClient(BaseClient):
|
|
|
193
194
|
"""
|
|
194
195
|
|
|
195
196
|
def attach_instances(
|
|
196
|
-
self, **kwargs: Unpack[
|
|
197
|
+
self, **kwargs: Unpack[AttachInstancesQueryTypeDef]
|
|
197
198
|
) -> EmptyResponseMetadataTypeDef:
|
|
198
199
|
"""
|
|
199
200
|
Attaches one or more EC2 instances to the specified Auto Scaling group.
|
|
@@ -203,7 +204,7 @@ class AutoScalingClient(BaseClient):
|
|
|
203
204
|
"""
|
|
204
205
|
|
|
205
206
|
def attach_load_balancer_target_groups(
|
|
206
|
-
self, **kwargs: Unpack[
|
|
207
|
+
self, **kwargs: Unpack[AttachLoadBalancerTargetGroupsTypeTypeDef]
|
|
207
208
|
) -> Dict[str, Any]:
|
|
208
209
|
"""
|
|
209
210
|
This API operation is superseded by <a
|
|
@@ -215,7 +216,7 @@ class AutoScalingClient(BaseClient):
|
|
|
215
216
|
"""
|
|
216
217
|
|
|
217
218
|
def attach_load_balancers(
|
|
218
|
-
self, **kwargs: Unpack[
|
|
219
|
+
self, **kwargs: Unpack[AttachLoadBalancersTypeTypeDef]
|
|
219
220
|
) -> Dict[str, Any]:
|
|
220
221
|
"""
|
|
221
222
|
This API operation is superseded by <a
|
|
@@ -227,7 +228,7 @@ class AutoScalingClient(BaseClient):
|
|
|
227
228
|
"""
|
|
228
229
|
|
|
229
230
|
def attach_traffic_sources(
|
|
230
|
-
self, **kwargs: Unpack[
|
|
231
|
+
self, **kwargs: Unpack[AttachTrafficSourcesTypeTypeDef]
|
|
231
232
|
) -> Dict[str, Any]:
|
|
232
233
|
"""
|
|
233
234
|
Attaches one or more traffic sources to the specified Auto Scaling group.
|
|
@@ -237,7 +238,7 @@ class AutoScalingClient(BaseClient):
|
|
|
237
238
|
"""
|
|
238
239
|
|
|
239
240
|
def batch_delete_scheduled_action(
|
|
240
|
-
self, **kwargs: Unpack[
|
|
241
|
+
self, **kwargs: Unpack[BatchDeleteScheduledActionTypeTypeDef]
|
|
241
242
|
) -> BatchDeleteScheduledActionAnswerTypeDef:
|
|
242
243
|
"""
|
|
243
244
|
Deletes one or more scheduled actions for the specified Auto Scaling group.
|
|
@@ -247,7 +248,7 @@ class AutoScalingClient(BaseClient):
|
|
|
247
248
|
"""
|
|
248
249
|
|
|
249
250
|
def batch_put_scheduled_update_group_action(
|
|
250
|
-
self, **kwargs: Unpack[
|
|
251
|
+
self, **kwargs: Unpack[BatchPutScheduledUpdateGroupActionTypeTypeDef]
|
|
251
252
|
) -> BatchPutScheduledUpdateGroupActionAnswerTypeDef:
|
|
252
253
|
"""
|
|
253
254
|
Creates or updates one or more scheduled scaling actions for an Auto Scaling
|
|
@@ -258,7 +259,7 @@ class AutoScalingClient(BaseClient):
|
|
|
258
259
|
"""
|
|
259
260
|
|
|
260
261
|
def cancel_instance_refresh(
|
|
261
|
-
self, **kwargs: Unpack[
|
|
262
|
+
self, **kwargs: Unpack[CancelInstanceRefreshTypeTypeDef]
|
|
262
263
|
) -> CancelInstanceRefreshAnswerTypeDef:
|
|
263
264
|
"""
|
|
264
265
|
Cancels an instance refresh or rollback that is in progress.
|
|
@@ -268,7 +269,7 @@ class AutoScalingClient(BaseClient):
|
|
|
268
269
|
"""
|
|
269
270
|
|
|
270
271
|
def complete_lifecycle_action(
|
|
271
|
-
self, **kwargs: Unpack[
|
|
272
|
+
self, **kwargs: Unpack[CompleteLifecycleActionTypeTypeDef]
|
|
272
273
|
) -> Dict[str, Any]:
|
|
273
274
|
"""
|
|
274
275
|
Completes the lifecycle action for the specified token or instance with the
|
|
@@ -279,7 +280,7 @@ class AutoScalingClient(BaseClient):
|
|
|
279
280
|
"""
|
|
280
281
|
|
|
281
282
|
def create_auto_scaling_group(
|
|
282
|
-
self, **kwargs: Unpack[
|
|
283
|
+
self, **kwargs: Unpack[CreateAutoScalingGroupTypeTypeDef]
|
|
283
284
|
) -> EmptyResponseMetadataTypeDef:
|
|
284
285
|
"""
|
|
285
286
|
<b>We strongly recommend using a launch template when calling this operation to
|
|
@@ -290,7 +291,7 @@ class AutoScalingClient(BaseClient):
|
|
|
290
291
|
"""
|
|
291
292
|
|
|
292
293
|
def create_launch_configuration(
|
|
293
|
-
self, **kwargs: Unpack[
|
|
294
|
+
self, **kwargs: Unpack[CreateLaunchConfigurationTypeTypeDef]
|
|
294
295
|
) -> EmptyResponseMetadataTypeDef:
|
|
295
296
|
"""
|
|
296
297
|
Creates a launch configuration.
|
|
@@ -300,7 +301,7 @@ class AutoScalingClient(BaseClient):
|
|
|
300
301
|
"""
|
|
301
302
|
|
|
302
303
|
def create_or_update_tags(
|
|
303
|
-
self, **kwargs: Unpack[
|
|
304
|
+
self, **kwargs: Unpack[CreateOrUpdateTagsTypeTypeDef]
|
|
304
305
|
) -> EmptyResponseMetadataTypeDef:
|
|
305
306
|
"""
|
|
306
307
|
Creates or updates tags for the specified Auto Scaling group.
|
|
@@ -310,7 +311,7 @@ class AutoScalingClient(BaseClient):
|
|
|
310
311
|
"""
|
|
311
312
|
|
|
312
313
|
def delete_auto_scaling_group(
|
|
313
|
-
self, **kwargs: Unpack[
|
|
314
|
+
self, **kwargs: Unpack[DeleteAutoScalingGroupTypeTypeDef]
|
|
314
315
|
) -> EmptyResponseMetadataTypeDef:
|
|
315
316
|
"""
|
|
316
317
|
Deletes the specified Auto Scaling group.
|
|
@@ -320,7 +321,7 @@ class AutoScalingClient(BaseClient):
|
|
|
320
321
|
"""
|
|
321
322
|
|
|
322
323
|
def delete_launch_configuration(
|
|
323
|
-
self, **kwargs: Unpack[
|
|
324
|
+
self, **kwargs: Unpack[LaunchConfigurationNameTypeTypeDef]
|
|
324
325
|
) -> EmptyResponseMetadataTypeDef:
|
|
325
326
|
"""
|
|
326
327
|
Deletes the specified launch configuration.
|
|
@@ -330,7 +331,7 @@ class AutoScalingClient(BaseClient):
|
|
|
330
331
|
"""
|
|
331
332
|
|
|
332
333
|
def delete_lifecycle_hook(
|
|
333
|
-
self, **kwargs: Unpack[
|
|
334
|
+
self, **kwargs: Unpack[DeleteLifecycleHookTypeTypeDef]
|
|
334
335
|
) -> Dict[str, Any]:
|
|
335
336
|
"""
|
|
336
337
|
Deletes the specified lifecycle hook.
|
|
@@ -340,7 +341,7 @@ class AutoScalingClient(BaseClient):
|
|
|
340
341
|
"""
|
|
341
342
|
|
|
342
343
|
def delete_notification_configuration(
|
|
343
|
-
self, **kwargs: Unpack[
|
|
344
|
+
self, **kwargs: Unpack[DeleteNotificationConfigurationTypeTypeDef]
|
|
344
345
|
) -> EmptyResponseMetadataTypeDef:
|
|
345
346
|
"""
|
|
346
347
|
Deletes the specified notification.
|
|
@@ -350,7 +351,7 @@ class AutoScalingClient(BaseClient):
|
|
|
350
351
|
"""
|
|
351
352
|
|
|
352
353
|
def delete_policy(
|
|
353
|
-
self, **kwargs: Unpack[
|
|
354
|
+
self, **kwargs: Unpack[DeletePolicyTypeTypeDef]
|
|
354
355
|
) -> EmptyResponseMetadataTypeDef:
|
|
355
356
|
"""
|
|
356
357
|
Deletes the specified scaling policy.
|
|
@@ -360,7 +361,7 @@ class AutoScalingClient(BaseClient):
|
|
|
360
361
|
"""
|
|
361
362
|
|
|
362
363
|
def delete_scheduled_action(
|
|
363
|
-
self, **kwargs: Unpack[
|
|
364
|
+
self, **kwargs: Unpack[DeleteScheduledActionTypeTypeDef]
|
|
364
365
|
) -> EmptyResponseMetadataTypeDef:
|
|
365
366
|
"""
|
|
366
367
|
Deletes the specified scheduled action.
|
|
@@ -369,9 +370,7 @@ class AutoScalingClient(BaseClient):
|
|
|
369
370
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_autoscaling/client/#delete_scheduled_action)
|
|
370
371
|
"""
|
|
371
372
|
|
|
372
|
-
def delete_tags(
|
|
373
|
-
self, **kwargs: Unpack[DeleteTagsTypeRequestTypeDef]
|
|
374
|
-
) -> EmptyResponseMetadataTypeDef:
|
|
373
|
+
def delete_tags(self, **kwargs: Unpack[DeleteTagsTypeTypeDef]) -> EmptyResponseMetadataTypeDef:
|
|
375
374
|
"""
|
|
376
375
|
Deletes the specified tags.
|
|
377
376
|
|
|
@@ -379,9 +378,7 @@ class AutoScalingClient(BaseClient):
|
|
|
379
378
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_autoscaling/client/#delete_tags)
|
|
380
379
|
"""
|
|
381
380
|
|
|
382
|
-
def delete_warm_pool(
|
|
383
|
-
self, **kwargs: Unpack[DeleteWarmPoolTypeRequestTypeDef]
|
|
384
|
-
) -> Dict[str, Any]:
|
|
381
|
+
def delete_warm_pool(self, **kwargs: Unpack[DeleteWarmPoolTypeTypeDef]) -> Dict[str, Any]:
|
|
385
382
|
"""
|
|
386
383
|
Deletes the warm pool for the specified Auto Scaling group.
|
|
387
384
|
|
|
@@ -407,7 +404,7 @@ class AutoScalingClient(BaseClient):
|
|
|
407
404
|
"""
|
|
408
405
|
|
|
409
406
|
def describe_auto_scaling_groups(
|
|
410
|
-
self, **kwargs: Unpack[
|
|
407
|
+
self, **kwargs: Unpack[AutoScalingGroupNamesTypeTypeDef]
|
|
411
408
|
) -> AutoScalingGroupsTypeTypeDef:
|
|
412
409
|
"""
|
|
413
410
|
Gets information about the Auto Scaling groups in the account and Region.
|
|
@@ -417,7 +414,7 @@ class AutoScalingClient(BaseClient):
|
|
|
417
414
|
"""
|
|
418
415
|
|
|
419
416
|
def describe_auto_scaling_instances(
|
|
420
|
-
self, **kwargs: Unpack[
|
|
417
|
+
self, **kwargs: Unpack[DescribeAutoScalingInstancesTypeTypeDef]
|
|
421
418
|
) -> AutoScalingInstancesTypeTypeDef:
|
|
422
419
|
"""
|
|
423
420
|
Gets information about the Auto Scaling instances in the account and Region.
|
|
@@ -437,7 +434,7 @@ class AutoScalingClient(BaseClient):
|
|
|
437
434
|
"""
|
|
438
435
|
|
|
439
436
|
def describe_instance_refreshes(
|
|
440
|
-
self, **kwargs: Unpack[
|
|
437
|
+
self, **kwargs: Unpack[DescribeInstanceRefreshesTypeTypeDef]
|
|
441
438
|
) -> DescribeInstanceRefreshesAnswerTypeDef:
|
|
442
439
|
"""
|
|
443
440
|
Gets information about the instance refreshes for the specified Auto Scaling
|
|
@@ -448,7 +445,7 @@ class AutoScalingClient(BaseClient):
|
|
|
448
445
|
"""
|
|
449
446
|
|
|
450
447
|
def describe_launch_configurations(
|
|
451
|
-
self, **kwargs: Unpack[
|
|
448
|
+
self, **kwargs: Unpack[LaunchConfigurationNamesTypeTypeDef]
|
|
452
449
|
) -> LaunchConfigurationsTypeTypeDef:
|
|
453
450
|
"""
|
|
454
451
|
Gets information about the launch configurations in the account and Region.
|
|
@@ -466,7 +463,7 @@ class AutoScalingClient(BaseClient):
|
|
|
466
463
|
"""
|
|
467
464
|
|
|
468
465
|
def describe_lifecycle_hooks(
|
|
469
|
-
self, **kwargs: Unpack[
|
|
466
|
+
self, **kwargs: Unpack[DescribeLifecycleHooksTypeTypeDef]
|
|
470
467
|
) -> DescribeLifecycleHooksAnswerTypeDef:
|
|
471
468
|
"""
|
|
472
469
|
Gets information about the lifecycle hooks for the specified Auto Scaling group.
|
|
@@ -476,7 +473,7 @@ class AutoScalingClient(BaseClient):
|
|
|
476
473
|
"""
|
|
477
474
|
|
|
478
475
|
def describe_load_balancer_target_groups(
|
|
479
|
-
self, **kwargs: Unpack[
|
|
476
|
+
self, **kwargs: Unpack[DescribeLoadBalancerTargetGroupsRequestTypeDef]
|
|
480
477
|
) -> DescribeLoadBalancerTargetGroupsResponseTypeDef:
|
|
481
478
|
"""
|
|
482
479
|
This API operation is superseded by <a
|
|
@@ -488,7 +485,7 @@ class AutoScalingClient(BaseClient):
|
|
|
488
485
|
"""
|
|
489
486
|
|
|
490
487
|
def describe_load_balancers(
|
|
491
|
-
self, **kwargs: Unpack[
|
|
488
|
+
self, **kwargs: Unpack[DescribeLoadBalancersRequestTypeDef]
|
|
492
489
|
) -> DescribeLoadBalancersResponseTypeDef:
|
|
493
490
|
"""
|
|
494
491
|
This API operation is superseded by <a
|
|
@@ -508,7 +505,7 @@ class AutoScalingClient(BaseClient):
|
|
|
508
505
|
"""
|
|
509
506
|
|
|
510
507
|
def describe_notification_configurations(
|
|
511
|
-
self, **kwargs: Unpack[
|
|
508
|
+
self, **kwargs: Unpack[DescribeNotificationConfigurationsTypeTypeDef]
|
|
512
509
|
) -> DescribeNotificationConfigurationsAnswerTypeDef:
|
|
513
510
|
"""
|
|
514
511
|
Gets information about the Amazon SNS notifications that are configured for one
|
|
@@ -519,7 +516,7 @@ class AutoScalingClient(BaseClient):
|
|
|
519
516
|
"""
|
|
520
517
|
|
|
521
518
|
def describe_policies(
|
|
522
|
-
self, **kwargs: Unpack[
|
|
519
|
+
self, **kwargs: Unpack[DescribePoliciesTypeTypeDef]
|
|
523
520
|
) -> PoliciesTypeTypeDef:
|
|
524
521
|
"""
|
|
525
522
|
Gets information about the scaling policies in the account and Region.
|
|
@@ -529,7 +526,7 @@ class AutoScalingClient(BaseClient):
|
|
|
529
526
|
"""
|
|
530
527
|
|
|
531
528
|
def describe_scaling_activities(
|
|
532
|
-
self, **kwargs: Unpack[
|
|
529
|
+
self, **kwargs: Unpack[DescribeScalingActivitiesTypeTypeDef]
|
|
533
530
|
) -> ActivitiesTypeTypeDef:
|
|
534
531
|
"""
|
|
535
532
|
Gets information about the scaling activities in the account and Region.
|
|
@@ -551,7 +548,7 @@ class AutoScalingClient(BaseClient):
|
|
|
551
548
|
"""
|
|
552
549
|
|
|
553
550
|
def describe_scheduled_actions(
|
|
554
|
-
self, **kwargs: Unpack[
|
|
551
|
+
self, **kwargs: Unpack[DescribeScheduledActionsTypeTypeDef]
|
|
555
552
|
) -> ScheduledActionsTypeTypeDef:
|
|
556
553
|
"""
|
|
557
554
|
Gets information about the scheduled actions that haven't run or that have not
|
|
@@ -561,7 +558,7 @@ class AutoScalingClient(BaseClient):
|
|
|
561
558
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_autoscaling/client/#describe_scheduled_actions)
|
|
562
559
|
"""
|
|
563
560
|
|
|
564
|
-
def describe_tags(self, **kwargs: Unpack[
|
|
561
|
+
def describe_tags(self, **kwargs: Unpack[DescribeTagsTypeTypeDef]) -> TagsTypeTypeDef:
|
|
565
562
|
"""
|
|
566
563
|
Describes the specified tags.
|
|
567
564
|
|
|
@@ -578,7 +575,7 @@ class AutoScalingClient(BaseClient):
|
|
|
578
575
|
"""
|
|
579
576
|
|
|
580
577
|
def describe_traffic_sources(
|
|
581
|
-
self, **kwargs: Unpack[
|
|
578
|
+
self, **kwargs: Unpack[DescribeTrafficSourcesRequestTypeDef]
|
|
582
579
|
) -> DescribeTrafficSourcesResponseTypeDef:
|
|
583
580
|
"""
|
|
584
581
|
Gets information about the traffic sources for the specified Auto Scaling group.
|
|
@@ -588,7 +585,7 @@ class AutoScalingClient(BaseClient):
|
|
|
588
585
|
"""
|
|
589
586
|
|
|
590
587
|
def describe_warm_pool(
|
|
591
|
-
self, **kwargs: Unpack[
|
|
588
|
+
self, **kwargs: Unpack[DescribeWarmPoolTypeTypeDef]
|
|
592
589
|
) -> DescribeWarmPoolAnswerTypeDef:
|
|
593
590
|
"""
|
|
594
591
|
Gets information about a warm pool and its instances.
|
|
@@ -598,7 +595,7 @@ class AutoScalingClient(BaseClient):
|
|
|
598
595
|
"""
|
|
599
596
|
|
|
600
597
|
def detach_instances(
|
|
601
|
-
self, **kwargs: Unpack[
|
|
598
|
+
self, **kwargs: Unpack[DetachInstancesQueryTypeDef]
|
|
602
599
|
) -> DetachInstancesAnswerTypeDef:
|
|
603
600
|
"""
|
|
604
601
|
Removes one or more instances from the specified Auto Scaling group.
|
|
@@ -608,7 +605,7 @@ class AutoScalingClient(BaseClient):
|
|
|
608
605
|
"""
|
|
609
606
|
|
|
610
607
|
def detach_load_balancer_target_groups(
|
|
611
|
-
self, **kwargs: Unpack[
|
|
608
|
+
self, **kwargs: Unpack[DetachLoadBalancerTargetGroupsTypeTypeDef]
|
|
612
609
|
) -> Dict[str, Any]:
|
|
613
610
|
"""
|
|
614
611
|
This API operation is superseded by <a
|
|
@@ -620,7 +617,7 @@ class AutoScalingClient(BaseClient):
|
|
|
620
617
|
"""
|
|
621
618
|
|
|
622
619
|
def detach_load_balancers(
|
|
623
|
-
self, **kwargs: Unpack[
|
|
620
|
+
self, **kwargs: Unpack[DetachLoadBalancersTypeTypeDef]
|
|
624
621
|
) -> Dict[str, Any]:
|
|
625
622
|
"""
|
|
626
623
|
This API operation is superseded by <a
|
|
@@ -632,7 +629,7 @@ class AutoScalingClient(BaseClient):
|
|
|
632
629
|
"""
|
|
633
630
|
|
|
634
631
|
def detach_traffic_sources(
|
|
635
|
-
self, **kwargs: Unpack[
|
|
632
|
+
self, **kwargs: Unpack[DetachTrafficSourcesTypeTypeDef]
|
|
636
633
|
) -> Dict[str, Any]:
|
|
637
634
|
"""
|
|
638
635
|
Detaches one or more traffic sources from the specified Auto Scaling group.
|
|
@@ -642,7 +639,7 @@ class AutoScalingClient(BaseClient):
|
|
|
642
639
|
"""
|
|
643
640
|
|
|
644
641
|
def disable_metrics_collection(
|
|
645
|
-
self, **kwargs: Unpack[
|
|
642
|
+
self, **kwargs: Unpack[DisableMetricsCollectionQueryTypeDef]
|
|
646
643
|
) -> EmptyResponseMetadataTypeDef:
|
|
647
644
|
"""
|
|
648
645
|
Disables group metrics collection for the specified Auto Scaling group.
|
|
@@ -652,7 +649,7 @@ class AutoScalingClient(BaseClient):
|
|
|
652
649
|
"""
|
|
653
650
|
|
|
654
651
|
def enable_metrics_collection(
|
|
655
|
-
self, **kwargs: Unpack[
|
|
652
|
+
self, **kwargs: Unpack[EnableMetricsCollectionQueryTypeDef]
|
|
656
653
|
) -> EmptyResponseMetadataTypeDef:
|
|
657
654
|
"""
|
|
658
655
|
Enables group metrics collection for the specified Auto Scaling group.
|
|
@@ -662,7 +659,7 @@ class AutoScalingClient(BaseClient):
|
|
|
662
659
|
"""
|
|
663
660
|
|
|
664
661
|
def enter_standby(
|
|
665
|
-
self, **kwargs: Unpack[
|
|
662
|
+
self, **kwargs: Unpack[EnterStandbyQueryTypeDef]
|
|
666
663
|
) -> EnterStandbyAnswerTypeDef:
|
|
667
664
|
"""
|
|
668
665
|
Moves the specified instances into the standby state.
|
|
@@ -672,7 +669,7 @@ class AutoScalingClient(BaseClient):
|
|
|
672
669
|
"""
|
|
673
670
|
|
|
674
671
|
def execute_policy(
|
|
675
|
-
self, **kwargs: Unpack[
|
|
672
|
+
self, **kwargs: Unpack[ExecutePolicyTypeTypeDef]
|
|
676
673
|
) -> EmptyResponseMetadataTypeDef:
|
|
677
674
|
"""
|
|
678
675
|
Executes the specified policy.
|
|
@@ -681,9 +678,7 @@ class AutoScalingClient(BaseClient):
|
|
|
681
678
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_autoscaling/client/#execute_policy)
|
|
682
679
|
"""
|
|
683
680
|
|
|
684
|
-
def exit_standby(
|
|
685
|
-
self, **kwargs: Unpack[ExitStandbyQueryRequestTypeDef]
|
|
686
|
-
) -> ExitStandbyAnswerTypeDef:
|
|
681
|
+
def exit_standby(self, **kwargs: Unpack[ExitStandbyQueryTypeDef]) -> ExitStandbyAnswerTypeDef:
|
|
687
682
|
"""
|
|
688
683
|
Moves the specified instances out of the standby state.
|
|
689
684
|
|
|
@@ -692,7 +687,7 @@ class AutoScalingClient(BaseClient):
|
|
|
692
687
|
"""
|
|
693
688
|
|
|
694
689
|
def get_predictive_scaling_forecast(
|
|
695
|
-
self, **kwargs: Unpack[
|
|
690
|
+
self, **kwargs: Unpack[GetPredictiveScalingForecastTypeTypeDef]
|
|
696
691
|
) -> GetPredictiveScalingForecastAnswerTypeDef:
|
|
697
692
|
"""
|
|
698
693
|
Retrieves the forecast data for a predictive scaling policy.
|
|
@@ -701,9 +696,7 @@ class AutoScalingClient(BaseClient):
|
|
|
701
696
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_autoscaling/client/#get_predictive_scaling_forecast)
|
|
702
697
|
"""
|
|
703
698
|
|
|
704
|
-
def put_lifecycle_hook(
|
|
705
|
-
self, **kwargs: Unpack[PutLifecycleHookTypeRequestTypeDef]
|
|
706
|
-
) -> Dict[str, Any]:
|
|
699
|
+
def put_lifecycle_hook(self, **kwargs: Unpack[PutLifecycleHookTypeTypeDef]) -> Dict[str, Any]:
|
|
707
700
|
"""
|
|
708
701
|
Creates or updates a lifecycle hook for the specified Auto Scaling group.
|
|
709
702
|
|
|
@@ -712,7 +705,7 @@ class AutoScalingClient(BaseClient):
|
|
|
712
705
|
"""
|
|
713
706
|
|
|
714
707
|
def put_notification_configuration(
|
|
715
|
-
self, **kwargs: Unpack[
|
|
708
|
+
self, **kwargs: Unpack[PutNotificationConfigurationTypeTypeDef]
|
|
716
709
|
) -> EmptyResponseMetadataTypeDef:
|
|
717
710
|
"""
|
|
718
711
|
Configures an Auto Scaling group to send notifications when specified events
|
|
@@ -723,7 +716,7 @@ class AutoScalingClient(BaseClient):
|
|
|
723
716
|
"""
|
|
724
717
|
|
|
725
718
|
def put_scaling_policy(
|
|
726
|
-
self, **kwargs: Unpack[
|
|
719
|
+
self, **kwargs: Unpack[PutScalingPolicyTypeTypeDef]
|
|
727
720
|
) -> PolicyARNTypeTypeDef:
|
|
728
721
|
"""
|
|
729
722
|
Creates or updates a scaling policy for an Auto Scaling group.
|
|
@@ -733,7 +726,7 @@ class AutoScalingClient(BaseClient):
|
|
|
733
726
|
"""
|
|
734
727
|
|
|
735
728
|
def put_scheduled_update_group_action(
|
|
736
|
-
self, **kwargs: Unpack[
|
|
729
|
+
self, **kwargs: Unpack[PutScheduledUpdateGroupActionTypeTypeDef]
|
|
737
730
|
) -> EmptyResponseMetadataTypeDef:
|
|
738
731
|
"""
|
|
739
732
|
Creates or updates a scheduled scaling action for an Auto Scaling group.
|
|
@@ -742,7 +735,7 @@ class AutoScalingClient(BaseClient):
|
|
|
742
735
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_autoscaling/client/#put_scheduled_update_group_action)
|
|
743
736
|
"""
|
|
744
737
|
|
|
745
|
-
def put_warm_pool(self, **kwargs: Unpack[
|
|
738
|
+
def put_warm_pool(self, **kwargs: Unpack[PutWarmPoolTypeTypeDef]) -> Dict[str, Any]:
|
|
746
739
|
"""
|
|
747
740
|
Creates or updates a warm pool for the specified Auto Scaling group.
|
|
748
741
|
|
|
@@ -751,7 +744,7 @@ class AutoScalingClient(BaseClient):
|
|
|
751
744
|
"""
|
|
752
745
|
|
|
753
746
|
def record_lifecycle_action_heartbeat(
|
|
754
|
-
self, **kwargs: Unpack[
|
|
747
|
+
self, **kwargs: Unpack[RecordLifecycleActionHeartbeatTypeTypeDef]
|
|
755
748
|
) -> Dict[str, Any]:
|
|
756
749
|
"""
|
|
757
750
|
Records a heartbeat for the lifecycle action associated with the specified
|
|
@@ -762,7 +755,7 @@ class AutoScalingClient(BaseClient):
|
|
|
762
755
|
"""
|
|
763
756
|
|
|
764
757
|
def resume_processes(
|
|
765
|
-
self, **kwargs: Unpack[
|
|
758
|
+
self, **kwargs: Unpack[ScalingProcessQueryTypeDef]
|
|
766
759
|
) -> EmptyResponseMetadataTypeDef:
|
|
767
760
|
"""
|
|
768
761
|
Resumes the specified suspended auto scaling processes, or all suspended
|
|
@@ -773,7 +766,7 @@ class AutoScalingClient(BaseClient):
|
|
|
773
766
|
"""
|
|
774
767
|
|
|
775
768
|
def rollback_instance_refresh(
|
|
776
|
-
self, **kwargs: Unpack[
|
|
769
|
+
self, **kwargs: Unpack[RollbackInstanceRefreshTypeTypeDef]
|
|
777
770
|
) -> RollbackInstanceRefreshAnswerTypeDef:
|
|
778
771
|
"""
|
|
779
772
|
Cancels an instance refresh that is in progress and rolls back any changes that
|
|
@@ -784,7 +777,7 @@ class AutoScalingClient(BaseClient):
|
|
|
784
777
|
"""
|
|
785
778
|
|
|
786
779
|
def set_desired_capacity(
|
|
787
|
-
self, **kwargs: Unpack[
|
|
780
|
+
self, **kwargs: Unpack[SetDesiredCapacityTypeTypeDef]
|
|
788
781
|
) -> EmptyResponseMetadataTypeDef:
|
|
789
782
|
"""
|
|
790
783
|
Sets the size of the specified Auto Scaling group.
|
|
@@ -794,7 +787,7 @@ class AutoScalingClient(BaseClient):
|
|
|
794
787
|
"""
|
|
795
788
|
|
|
796
789
|
def set_instance_health(
|
|
797
|
-
self, **kwargs: Unpack[
|
|
790
|
+
self, **kwargs: Unpack[SetInstanceHealthQueryTypeDef]
|
|
798
791
|
) -> EmptyResponseMetadataTypeDef:
|
|
799
792
|
"""
|
|
800
793
|
Sets the health status of the specified instance.
|
|
@@ -804,7 +797,7 @@ class AutoScalingClient(BaseClient):
|
|
|
804
797
|
"""
|
|
805
798
|
|
|
806
799
|
def set_instance_protection(
|
|
807
|
-
self, **kwargs: Unpack[
|
|
800
|
+
self, **kwargs: Unpack[SetInstanceProtectionQueryTypeDef]
|
|
808
801
|
) -> Dict[str, Any]:
|
|
809
802
|
"""
|
|
810
803
|
Updates the instance protection settings of the specified instances.
|
|
@@ -814,7 +807,7 @@ class AutoScalingClient(BaseClient):
|
|
|
814
807
|
"""
|
|
815
808
|
|
|
816
809
|
def start_instance_refresh(
|
|
817
|
-
self, **kwargs: Unpack[
|
|
810
|
+
self, **kwargs: Unpack[StartInstanceRefreshTypeTypeDef]
|
|
818
811
|
) -> StartInstanceRefreshAnswerTypeDef:
|
|
819
812
|
"""
|
|
820
813
|
Starts an instance refresh.
|
|
@@ -835,7 +828,7 @@ class AutoScalingClient(BaseClient):
|
|
|
835
828
|
"""
|
|
836
829
|
|
|
837
830
|
def terminate_instance_in_auto_scaling_group(
|
|
838
|
-
self, **kwargs: Unpack[
|
|
831
|
+
self, **kwargs: Unpack[TerminateInstanceInAutoScalingGroupTypeTypeDef]
|
|
839
832
|
) -> ActivityTypeTypeDef:
|
|
840
833
|
"""
|
|
841
834
|
Terminates the specified instance and optionally adjusts the desired group size.
|
|
@@ -845,7 +838,7 @@ class AutoScalingClient(BaseClient):
|
|
|
845
838
|
"""
|
|
846
839
|
|
|
847
840
|
def update_auto_scaling_group(
|
|
848
|
-
self, **kwargs: Unpack[
|
|
841
|
+
self, **kwargs: Unpack[UpdateAutoScalingGroupTypeTypeDef]
|
|
849
842
|
) -> EmptyResponseMetadataTypeDef:
|
|
850
843
|
"""
|
|
851
844
|
<b>We strongly recommend that all Auto Scaling groups use launch templates to
|