@aws-sdk/client-auto-scaling 3.933.0 → 3.935.0

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.
@@ -1,5 +1,4 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { AutoScalingServiceException as __BaseException } from "./AutoScalingServiceException";
1
+ import { AcceleratorManufacturer, AcceleratorName, AcceleratorType, BareMetal, BurstablePerformance, CapacityDistributionStrategy, CapacityReservationPreference, CpuManufacturer, ImpairedZoneHealthCheckBehavior, InstanceGeneration, InstanceMetadataEndpointState, InstanceMetadataHttpTokensState, InstanceRefreshStatus, LifecycleState, LocalStorage, LocalStorageType, MetricStatistic, MetricType, PredefinedLoadMetricType, PredefinedMetricPairType, PredefinedScalingMetricType, PredictiveScalingMaxCapacityBreachBehavior, PredictiveScalingMode, RefreshStrategy, RetryStrategy, ScaleInProtectedInstances, ScalingActivityStatusCode, StandbyInstances, WarmPoolState, WarmPoolStatus } from "./enums";
3
2
  /**
4
3
  * <p>Specifies the minimum and maximum for the <code>AcceleratorCount</code> object when
5
4
  * you specify <a href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_InstanceRequirements.html">InstanceRequirements</a> for an Auto Scaling group.</p>
@@ -17,37 +16,6 @@ export interface AcceleratorCountRequest {
17
16
  */
18
17
  Max?: number | undefined;
19
18
  }
20
- /**
21
- * @public
22
- * @enum
23
- */
24
- export declare const AcceleratorManufacturer: {
25
- readonly AMAZON_WEB_SERVICES: "amazon-web-services";
26
- readonly AMD: "amd";
27
- readonly NVIDIA: "nvidia";
28
- readonly XILINX: "xilinx";
29
- };
30
- /**
31
- * @public
32
- */
33
- export type AcceleratorManufacturer = (typeof AcceleratorManufacturer)[keyof typeof AcceleratorManufacturer];
34
- /**
35
- * @public
36
- * @enum
37
- */
38
- export declare const AcceleratorName: {
39
- readonly A100: "a100";
40
- readonly K80: "k80";
41
- readonly M60: "m60";
42
- readonly RADEON_PRO_V520: "radeon-pro-v520";
43
- readonly T4: "t4";
44
- readonly V100: "v100";
45
- readonly VU9P: "vu9p";
46
- };
47
- /**
48
- * @public
49
- */
50
- export type AcceleratorName = (typeof AcceleratorName)[keyof typeof AcceleratorName];
51
19
  /**
52
20
  * <p>Specifies the minimum and maximum for the <code>AcceleratorTotalMemoryMiB</code>
53
21
  * object when you specify <a href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_InstanceRequirements.html">InstanceRequirements</a> for an Auto Scaling group.</p>
@@ -65,55 +33,6 @@ export interface AcceleratorTotalMemoryMiBRequest {
65
33
  */
66
34
  Max?: number | undefined;
67
35
  }
68
- /**
69
- * @public
70
- * @enum
71
- */
72
- export declare const AcceleratorType: {
73
- readonly FPGA: "fpga";
74
- readonly GPU: "gpu";
75
- readonly INFERENCE: "inference";
76
- };
77
- /**
78
- * @public
79
- */
80
- export type AcceleratorType = (typeof AcceleratorType)[keyof typeof AcceleratorType];
81
- /**
82
- * <p>The request failed because an active instance refresh or rollback for the specified
83
- * Auto Scaling group was not found.</p>
84
- * @public
85
- */
86
- export declare class ActiveInstanceRefreshNotFoundFault extends __BaseException {
87
- readonly name: "ActiveInstanceRefreshNotFoundFault";
88
- readonly $fault: "client";
89
- /**
90
- * @internal
91
- */
92
- constructor(opts: __ExceptionOptionType<ActiveInstanceRefreshNotFoundFault, __BaseException>);
93
- }
94
- /**
95
- * @public
96
- * @enum
97
- */
98
- export declare const ScalingActivityStatusCode: {
99
- readonly Cancelled: "Cancelled";
100
- readonly Failed: "Failed";
101
- readonly InProgress: "InProgress";
102
- readonly MidLifecycleAction: "MidLifecycleAction";
103
- readonly PendingSpotBidPlacement: "PendingSpotBidPlacement";
104
- readonly PreInService: "PreInService";
105
- readonly Successful: "Successful";
106
- readonly WaitingForConnectionDraining: "WaitingForConnectionDraining";
107
- readonly WaitingForELBConnectionDraining: "WaitingForELBConnectionDraining";
108
- readonly WaitingForInstanceId: "WaitingForInstanceId";
109
- readonly WaitingForInstanceWarmup: "WaitingForInstanceWarmup";
110
- readonly WaitingForSpotInstanceId: "WaitingForSpotInstanceId";
111
- readonly WaitingForSpotInstanceRequestId: "WaitingForSpotInstanceRequestId";
112
- };
113
- /**
114
- * @public
115
- */
116
- export type ScalingActivityStatusCode = (typeof ScalingActivityStatusCode)[keyof typeof ScalingActivityStatusCode];
117
36
  /**
118
37
  * <p>Describes scaling activity, which is a long-running process that represents a change
119
38
  * to your Auto Scaling group, such as changing its size or replacing an instance.</p>
@@ -251,18 +170,6 @@ export interface AlarmSpecification {
251
170
  */
252
171
  Alarms?: string[] | undefined;
253
172
  }
254
- /**
255
- * <p>You already have an Auto Scaling group or launch configuration with this name.</p>
256
- * @public
257
- */
258
- export declare class AlreadyExistsFault extends __BaseException {
259
- readonly name: "AlreadyExistsFault";
260
- readonly $fault: "client";
261
- /**
262
- * @internal
263
- */
264
- constructor(opts: __ExceptionOptionType<AlreadyExistsFault, __BaseException>);
265
- }
266
173
  /**
267
174
  * @public
268
175
  */
@@ -278,31 +185,6 @@ export interface AttachInstancesQuery {
278
185
  */
279
186
  AutoScalingGroupName: string | undefined;
280
187
  }
281
- /**
282
- * <p>You already have a pending update to an Amazon EC2 Auto Scaling resource (for example, an Auto Scaling group,
283
- * instance, or load balancer).</p>
284
- * @public
285
- */
286
- export declare class ResourceContentionFault extends __BaseException {
287
- readonly name: "ResourceContentionFault";
288
- readonly $fault: "server";
289
- /**
290
- * @internal
291
- */
292
- constructor(opts: __ExceptionOptionType<ResourceContentionFault, __BaseException>);
293
- }
294
- /**
295
- * <p>The service-linked role is not yet ready for use.</p>
296
- * @public
297
- */
298
- export declare class ServiceLinkedRoleFailure extends __BaseException {
299
- readonly name: "ServiceLinkedRoleFailure";
300
- readonly $fault: "server";
301
- /**
302
- * @internal
303
- */
304
- constructor(opts: __ExceptionOptionType<ServiceLinkedRoleFailure, __BaseException>);
305
- }
306
188
  /**
307
189
  * @public
308
190
  */
@@ -570,21 +452,6 @@ export interface BatchPutScheduledUpdateGroupActionType {
570
452
  */
571
453
  ScheduledUpdateGroupActions: ScheduledUpdateGroupActionRequest[] | undefined;
572
454
  }
573
- /**
574
- * <p>You have already reached a limit for your Amazon EC2 Auto Scaling
575
- * resources (for example, Auto Scaling groups, launch configurations, or lifecycle hooks). For
576
- * more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_DescribeAccountLimits.html">DescribeAccountLimits</a> in the <i>Amazon EC2 Auto Scaling API
577
- * Reference</i>.</p>
578
- * @public
579
- */
580
- export declare class LimitExceededFault extends __BaseException {
581
- readonly name: "LimitExceededFault";
582
- readonly $fault: "client";
583
- /**
584
- * @internal
585
- */
586
- constructor(opts: __ExceptionOptionType<LimitExceededFault, __BaseException>);
587
- }
588
455
  /**
589
456
  * @public
590
457
  */
@@ -652,18 +519,6 @@ export interface CompleteLifecycleActionType {
652
519
  */
653
520
  InstanceId?: string | undefined;
654
521
  }
655
- /**
656
- * @public
657
- * @enum
658
- */
659
- export declare const CapacityDistributionStrategy: {
660
- readonly BALANCED_BEST_EFFORT: "balanced-best-effort";
661
- readonly BALANCED_ONLY: "balanced-only";
662
- };
663
- /**
664
- * @public
665
- */
666
- export type CapacityDistributionStrategy = (typeof CapacityDistributionStrategy)[keyof typeof CapacityDistributionStrategy];
667
522
  /**
668
523
  * <p>
669
524
  * Describes an Availability Zone distribution.
@@ -688,18 +543,6 @@ export interface AvailabilityZoneDistribution {
688
543
  */
689
544
  CapacityDistributionStrategy?: CapacityDistributionStrategy | undefined;
690
545
  }
691
- /**
692
- * @public
693
- * @enum
694
- */
695
- export declare const ImpairedZoneHealthCheckBehavior: {
696
- readonly IgnoreUnhealthy: "IgnoreUnhealthy";
697
- readonly ReplaceUnhealthy: "ReplaceUnhealthy";
698
- };
699
- /**
700
- * @public
701
- */
702
- export type ImpairedZoneHealthCheckBehavior = (typeof ImpairedZoneHealthCheckBehavior)[keyof typeof ImpairedZoneHealthCheckBehavior];
703
546
  /**
704
547
  * <p>
705
548
  * Describes an Availability Zone impairment policy.
@@ -725,20 +568,6 @@ export interface AvailabilityZoneImpairmentPolicy {
725
568
  */
726
569
  ImpairedZoneHealthCheckBehavior?: ImpairedZoneHealthCheckBehavior | undefined;
727
570
  }
728
- /**
729
- * @public
730
- * @enum
731
- */
732
- export declare const CapacityReservationPreference: {
733
- readonly CapacityReservationsFirst: "capacity-reservations-first";
734
- readonly CapacityReservationsOnly: "capacity-reservations-only";
735
- readonly Default: "default";
736
- readonly None: "none";
737
- };
738
- /**
739
- * @public
740
- */
741
- export type CapacityReservationPreference = (typeof CapacityReservationPreference)[keyof typeof CapacityReservationPreference];
742
571
  /**
743
572
  * <p>
744
573
  * The target for the Capacity Reservation. Specify Capacity Reservations IDs or Capacity Reservation resource group ARNs.
@@ -1053,19 +882,6 @@ export interface InstancesDistribution {
1053
882
  */
1054
883
  SpotMaxPrice?: string | undefined;
1055
884
  }
1056
- /**
1057
- * @public
1058
- * @enum
1059
- */
1060
- export declare const BareMetal: {
1061
- readonly EXCLUDED: "excluded";
1062
- readonly INCLUDED: "included";
1063
- readonly REQUIRED: "required";
1064
- };
1065
- /**
1066
- * @public
1067
- */
1068
- export type BareMetal = (typeof BareMetal)[keyof typeof BareMetal];
1069
885
  /**
1070
886
  * <p>Specifies the minimum and maximum for the <code>BaselineEbsBandwidthMbps</code> object
1071
887
  * when you specify <a href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_InstanceRequirements.html">InstanceRequirements</a> for an Auto Scaling group.</p>
@@ -1189,70 +1005,6 @@ export interface BaselinePerformanceFactorsRequest {
1189
1005
  */
1190
1006
  Cpu?: CpuPerformanceFactorRequest | undefined;
1191
1007
  }
1192
- /**
1193
- * @public
1194
- * @enum
1195
- */
1196
- export declare const BurstablePerformance: {
1197
- readonly EXCLUDED: "excluded";
1198
- readonly INCLUDED: "included";
1199
- readonly REQUIRED: "required";
1200
- };
1201
- /**
1202
- * @public
1203
- */
1204
- export type BurstablePerformance = (typeof BurstablePerformance)[keyof typeof BurstablePerformance];
1205
- /**
1206
- * @public
1207
- * @enum
1208
- */
1209
- export declare const CpuManufacturer: {
1210
- readonly AMAZON_WEB_SERVICES: "amazon-web-services";
1211
- readonly AMD: "amd";
1212
- readonly APPLE: "apple";
1213
- readonly INTEL: "intel";
1214
- };
1215
- /**
1216
- * @public
1217
- */
1218
- export type CpuManufacturer = (typeof CpuManufacturer)[keyof typeof CpuManufacturer];
1219
- /**
1220
- * @public
1221
- * @enum
1222
- */
1223
- export declare const InstanceGeneration: {
1224
- readonly CURRENT: "current";
1225
- readonly PREVIOUS: "previous";
1226
- };
1227
- /**
1228
- * @public
1229
- */
1230
- export type InstanceGeneration = (typeof InstanceGeneration)[keyof typeof InstanceGeneration];
1231
- /**
1232
- * @public
1233
- * @enum
1234
- */
1235
- export declare const LocalStorage: {
1236
- readonly EXCLUDED: "excluded";
1237
- readonly INCLUDED: "included";
1238
- readonly REQUIRED: "required";
1239
- };
1240
- /**
1241
- * @public
1242
- */
1243
- export type LocalStorage = (typeof LocalStorage)[keyof typeof LocalStorage];
1244
- /**
1245
- * @public
1246
- * @enum
1247
- */
1248
- export declare const LocalStorageType: {
1249
- readonly HDD: "hdd";
1250
- readonly SSD: "ssd";
1251
- };
1252
- /**
1253
- * @public
1254
- */
1255
- export type LocalStorageType = (typeof LocalStorageType)[keyof typeof LocalStorageType];
1256
1008
  /**
1257
1009
  * <p>Specifies the minimum and maximum for the <code>MemoryGiBPerVCpu</code> object when
1258
1010
  * you specify <a href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_InstanceRequirements.html">InstanceRequirements</a> for an Auto Scaling group.</p>
@@ -1937,8 +1689,7 @@ export interface CreateAutoScalingGroupType {
1937
1689
  */
1938
1690
  MixedInstancesPolicy?: MixedInstancesPolicy | undefined;
1939
1691
  /**
1940
- * <p>The ID of the instance used to base the launch configuration on. If specified, Amazon
1941
- * EC2 Auto Scaling uses the configuration values from the specified instance to create a
1692
+ * <p>The ID of the instance used to base the launch configuration on. If specified, Amazon EC2 Auto Scaling uses the configuration values from the specified instance to create a
1942
1693
  * new launch configuration. To get the instance ID, use the Amazon EC2 <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeInstances.html">DescribeInstances</a> API operation. For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-asg-from-instance.html">Create an Auto Scaling group using parameters from an existing instance</a> in the
1943
1694
  * <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
1944
1695
  * @public
@@ -2354,30 +2105,6 @@ export interface InstanceMonitoring {
2354
2105
  */
2355
2106
  Enabled?: boolean | undefined;
2356
2107
  }
2357
- /**
2358
- * @public
2359
- * @enum
2360
- */
2361
- export declare const InstanceMetadataEndpointState: {
2362
- readonly Disabled: "disabled";
2363
- readonly Enabled: "enabled";
2364
- };
2365
- /**
2366
- * @public
2367
- */
2368
- export type InstanceMetadataEndpointState = (typeof InstanceMetadataEndpointState)[keyof typeof InstanceMetadataEndpointState];
2369
- /**
2370
- * @public
2371
- * @enum
2372
- */
2373
- export declare const InstanceMetadataHttpTokensState: {
2374
- readonly Optional: "optional";
2375
- readonly Required: "required";
2376
- };
2377
- /**
2378
- * @public
2379
- */
2380
- export type InstanceMetadataHttpTokensState = (typeof InstanceMetadataHttpTokensState)[keyof typeof InstanceMetadataHttpTokensState];
2381
2108
  /**
2382
2109
  * <p>The metadata options for the instances. For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-launch-config.html#launch-configurations-imds">Configure the instance metadata options</a> in the
2383
2110
  * <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
@@ -2612,18 +2339,6 @@ export interface CreateOrUpdateTagsType {
2612
2339
  */
2613
2340
  Tags: Tag[] | undefined;
2614
2341
  }
2615
- /**
2616
- * <p>The operation can't be performed because the resource is in use.</p>
2617
- * @public
2618
- */
2619
- export declare class ResourceInUseFault extends __BaseException {
2620
- readonly name: "ResourceInUseFault";
2621
- readonly $fault: "client";
2622
- /**
2623
- * @internal
2624
- */
2625
- constructor(opts: __ExceptionOptionType<ResourceInUseFault, __BaseException>);
2626
- }
2627
2342
  /**
2628
2343
  * @public
2629
2344
  */
@@ -2641,19 +2356,6 @@ export interface DeleteAutoScalingGroupType {
2641
2356
  */
2642
2357
  ForceDelete?: boolean | undefined;
2643
2358
  }
2644
- /**
2645
- * <p>The operation can't be performed because there are scaling activities in
2646
- * progress.</p>
2647
- * @public
2648
- */
2649
- export declare class ScalingActivityInProgressFault extends __BaseException {
2650
- readonly name: "ScalingActivityInProgressFault";
2651
- readonly $fault: "client";
2652
- /**
2653
- * @internal
2654
- */
2655
- constructor(opts: __ExceptionOptionType<ScalingActivityInProgressFault, __BaseException>);
2656
- }
2657
2359
  /**
2658
2360
  * @public
2659
2361
  */
@@ -3037,39 +2739,6 @@ export interface EnabledMetric {
3037
2739
  */
3038
2740
  Granularity?: string | undefined;
3039
2741
  }
3040
- /**
3041
- * @public
3042
- * @enum
3043
- */
3044
- export declare const LifecycleState: {
3045
- readonly DETACHED: "Detached";
3046
- readonly DETACHING: "Detaching";
3047
- readonly ENTERING_STANDBY: "EnteringStandby";
3048
- readonly IN_SERVICE: "InService";
3049
- readonly PENDING: "Pending";
3050
- readonly PENDING_PROCEED: "Pending:Proceed";
3051
- readonly PENDING_WAIT: "Pending:Wait";
3052
- readonly QUARANTINED: "Quarantined";
3053
- readonly STANDBY: "Standby";
3054
- readonly TERMINATED: "Terminated";
3055
- readonly TERMINATING: "Terminating";
3056
- readonly TERMINATING_PROCEED: "Terminating:Proceed";
3057
- readonly TERMINATING_WAIT: "Terminating:Wait";
3058
- readonly WARMED_HIBERNATED: "Warmed:Hibernated";
3059
- readonly WARMED_PENDING: "Warmed:Pending";
3060
- readonly WARMED_PENDING_PROCEED: "Warmed:Pending:Proceed";
3061
- readonly WARMED_PENDING_WAIT: "Warmed:Pending:Wait";
3062
- readonly WARMED_RUNNING: "Warmed:Running";
3063
- readonly WARMED_STOPPED: "Warmed:Stopped";
3064
- readonly WARMED_TERMINATED: "Warmed:Terminated";
3065
- readonly WARMED_TERMINATING: "Warmed:Terminating";
3066
- readonly WARMED_TERMINATING_PROCEED: "Warmed:Terminating:Proceed";
3067
- readonly WARMED_TERMINATING_WAIT: "Warmed:Terminating:Wait";
3068
- };
3069
- /**
3070
- * @public
3071
- */
3072
- export type LifecycleState = (typeof LifecycleState)[keyof typeof LifecycleState];
3073
2742
  /**
3074
2743
  * <p>Describes an EC2 instance.</p>
3075
2744
  * @public
@@ -3193,30 +2862,6 @@ export interface InstanceReusePolicy {
3193
2862
  */
3194
2863
  ReuseOnScaleIn?: boolean | undefined;
3195
2864
  }
3196
- /**
3197
- * @public
3198
- * @enum
3199
- */
3200
- export declare const WarmPoolState: {
3201
- readonly Hibernated: "Hibernated";
3202
- readonly Running: "Running";
3203
- readonly Stopped: "Stopped";
3204
- };
3205
- /**
3206
- * @public
3207
- */
3208
- export type WarmPoolState = (typeof WarmPoolState)[keyof typeof WarmPoolState];
3209
- /**
3210
- * @public
3211
- * @enum
3212
- */
3213
- export declare const WarmPoolStatus: {
3214
- readonly PendingDelete: "PendingDelete";
3215
- };
3216
- /**
3217
- * @public
3218
- */
3219
- export type WarmPoolStatus = (typeof WarmPoolStatus)[keyof typeof WarmPoolStatus];
3220
2865
  /**
3221
2866
  * <p>Describes a warm pool configuration. </p>
3222
2867
  * @public
@@ -3476,18 +3121,6 @@ export interface AutoScalingGroupsType {
3476
3121
  */
3477
3122
  NextToken?: string | undefined;
3478
3123
  }
3479
- /**
3480
- * <p>The <code>NextToken</code> value is not valid.</p>
3481
- * @public
3482
- */
3483
- export declare class InvalidNextToken extends __BaseException {
3484
- readonly name: "InvalidNextToken";
3485
- readonly $fault: "client";
3486
- /**
3487
- * @internal
3488
- */
3489
- constructor(opts: __ExceptionOptionType<InvalidNextToken, __BaseException>);
3490
- }
3491
3124
  /**
3492
3125
  * <p>Describes an EC2 instance associated with an Auto Scaling group.</p>
3493
3126
  * @public
@@ -3640,32 +3273,6 @@ export interface DesiredConfiguration {
3640
3273
  */
3641
3274
  MixedInstancesPolicy?: MixedInstancesPolicy | undefined;
3642
3275
  }
3643
- /**
3644
- * @public
3645
- * @enum
3646
- */
3647
- export declare const ScaleInProtectedInstances: {
3648
- readonly Ignore: "Ignore";
3649
- readonly Refresh: "Refresh";
3650
- readonly Wait: "Wait";
3651
- };
3652
- /**
3653
- * @public
3654
- */
3655
- export type ScaleInProtectedInstances = (typeof ScaleInProtectedInstances)[keyof typeof ScaleInProtectedInstances];
3656
- /**
3657
- * @public
3658
- * @enum
3659
- */
3660
- export declare const StandbyInstances: {
3661
- readonly Ignore: "Ignore";
3662
- readonly Terminate: "Terminate";
3663
- readonly Wait: "Wait";
3664
- };
3665
- /**
3666
- * @public
3667
- */
3668
- export type StandbyInstances = (typeof StandbyInstances)[keyof typeof StandbyInstances];
3669
3276
  /**
3670
3277
  * <p>Describes the preferences for an instance refresh.</p>
3671
3278
  * @public
@@ -3916,26 +3523,6 @@ export interface RollbackDetails {
3916
3523
  */
3917
3524
  ProgressDetailsOnRollback?: InstanceRefreshProgressDetails | undefined;
3918
3525
  }
3919
- /**
3920
- * @public
3921
- * @enum
3922
- */
3923
- export declare const InstanceRefreshStatus: {
3924
- readonly Baking: "Baking";
3925
- readonly Cancelled: "Cancelled";
3926
- readonly Cancelling: "Cancelling";
3927
- readonly Failed: "Failed";
3928
- readonly InProgress: "InProgress";
3929
- readonly Pending: "Pending";
3930
- readonly RollbackFailed: "RollbackFailed";
3931
- readonly RollbackInProgress: "RollbackInProgress";
3932
- readonly RollbackSuccessful: "RollbackSuccessful";
3933
- readonly Successful: "Successful";
3934
- };
3935
- /**
3936
- * @public
3937
- */
3938
- export type InstanceRefreshStatus = (typeof InstanceRefreshStatus)[keyof typeof InstanceRefreshStatus];
3939
3526
  /**
3940
3527
  * <p>Describes an instance refresh for an Auto Scaling group. </p>
3941
3528
  * @public
@@ -4831,18 +4418,6 @@ export interface DescribePoliciesType {
4831
4418
  */
4832
4419
  MaxRecords?: number | undefined;
4833
4420
  }
4834
- /**
4835
- * @public
4836
- * @enum
4837
- */
4838
- export declare const PredictiveScalingMaxCapacityBreachBehavior: {
4839
- readonly HonorMaxCapacity: "HonorMaxCapacity";
4840
- readonly IncreaseMaxCapacity: "IncreaseMaxCapacity";
4841
- };
4842
- /**
4843
- * @public
4844
- */
4845
- export type PredictiveScalingMaxCapacityBreachBehavior = (typeof PredictiveScalingMaxCapacityBreachBehavior)[keyof typeof PredictiveScalingMaxCapacityBreachBehavior];
4846
4421
  /**
4847
4422
  * <p>Describes the dimension of a metric.</p>
4848
4423
  * @public
@@ -5012,20 +4587,6 @@ export interface PredictiveScalingCustomizedScalingMetric {
5012
4587
  */
5013
4588
  MetricDataQueries: MetricDataQuery[] | undefined;
5014
4589
  }
5015
- /**
5016
- * @public
5017
- * @enum
5018
- */
5019
- export declare const PredefinedLoadMetricType: {
5020
- readonly ALBTargetGroupRequestCount: "ALBTargetGroupRequestCount";
5021
- readonly ASGTotalCPUUtilization: "ASGTotalCPUUtilization";
5022
- readonly ASGTotalNetworkIn: "ASGTotalNetworkIn";
5023
- readonly ASGTotalNetworkOut: "ASGTotalNetworkOut";
5024
- };
5025
- /**
5026
- * @public
5027
- */
5028
- export type PredefinedLoadMetricType = (typeof PredefinedLoadMetricType)[keyof typeof PredefinedLoadMetricType];
5029
4590
  /**
5030
4591
  * <p>Describes a load metric for a predictive scaling policy.</p>
5031
4592
  * <p>When returned in the output of <code>DescribePolicies</code>, it indicates that a
@@ -5065,20 +4626,6 @@ export interface PredictiveScalingPredefinedLoadMetric {
5065
4626
  */
5066
4627
  ResourceLabel?: string | undefined;
5067
4628
  }
5068
- /**
5069
- * @public
5070
- * @enum
5071
- */
5072
- export declare const PredefinedMetricPairType: {
5073
- readonly ALBRequestCount: "ALBRequestCount";
5074
- readonly ASGCPUUtilization: "ASGCPUUtilization";
5075
- readonly ASGNetworkIn: "ASGNetworkIn";
5076
- readonly ASGNetworkOut: "ASGNetworkOut";
5077
- };
5078
- /**
5079
- * @public
5080
- */
5081
- export type PredefinedMetricPairType = (typeof PredefinedMetricPairType)[keyof typeof PredefinedMetricPairType];
5082
4629
  /**
5083
4630
  * <p>Represents a metric pair for a predictive scaling policy. </p>
5084
4631
  * @public
@@ -5118,20 +4665,6 @@ export interface PredictiveScalingPredefinedMetricPair {
5118
4665
  */
5119
4666
  ResourceLabel?: string | undefined;
5120
4667
  }
5121
- /**
5122
- * @public
5123
- * @enum
5124
- */
5125
- export declare const PredefinedScalingMetricType: {
5126
- readonly ALBRequestCountPerTarget: "ALBRequestCountPerTarget";
5127
- readonly ASGAverageCPUUtilization: "ASGAverageCPUUtilization";
5128
- readonly ASGAverageNetworkIn: "ASGAverageNetworkIn";
5129
- readonly ASGAverageNetworkOut: "ASGAverageNetworkOut";
5130
- };
5131
- /**
5132
- * @public
5133
- */
5134
- export type PredefinedScalingMetricType = (typeof PredefinedScalingMetricType)[keyof typeof PredefinedScalingMetricType];
5135
4668
  /**
5136
4669
  * <p>Describes a scaling metric for a predictive scaling policy.</p>
5137
4670
  * <p>When returned in the output of <code>DescribePolicies</code>, it indicates that a
@@ -5263,18 +4796,6 @@ export interface PredictiveScalingMetricSpecification {
5263
4796
  */
5264
4797
  CustomizedCapacityMetricSpecification?: PredictiveScalingCustomizedCapacityMetric | undefined;
5265
4798
  }
5266
- /**
5267
- * @public
5268
- * @enum
5269
- */
5270
- export declare const PredictiveScalingMode: {
5271
- readonly ForecastAndScale: "ForecastAndScale";
5272
- readonly ForecastOnly: "ForecastOnly";
5273
- };
5274
- /**
5275
- * @public
5276
- */
5277
- export type PredictiveScalingMode = (typeof PredictiveScalingMode)[keyof typeof PredictiveScalingMode];
5278
4799
  /**
5279
4800
  * <p>Represents a predictive scaling policy configuration to use with Amazon EC2 Auto Scaling.</p>
5280
4801
  * @public
@@ -5516,21 +5037,6 @@ export interface TargetTrackingMetricDataQuery {
5516
5037
  */
5517
5038
  ReturnData?: boolean | undefined;
5518
5039
  }
5519
- /**
5520
- * @public
5521
- * @enum
5522
- */
5523
- export declare const MetricStatistic: {
5524
- readonly Average: "Average";
5525
- readonly Maximum: "Maximum";
5526
- readonly Minimum: "Minimum";
5527
- readonly SampleCount: "SampleCount";
5528
- readonly Sum: "Sum";
5529
- };
5530
- /**
5531
- * @public
5532
- */
5533
- export type MetricStatistic = (typeof MetricStatistic)[keyof typeof MetricStatistic];
5534
5040
  /**
5535
5041
  * <p>Represents a CloudWatch metric of your choosing for a target tracking scaling policy to use
5536
5042
  * with Amazon EC2 Auto Scaling.</p>
@@ -5606,20 +5112,6 @@ export interface CustomizedMetricSpecification {
5606
5112
  */
5607
5113
  Metrics?: TargetTrackingMetricDataQuery[] | undefined;
5608
5114
  }
5609
- /**
5610
- * @public
5611
- * @enum
5612
- */
5613
- export declare const MetricType: {
5614
- readonly ALBRequestCountPerTarget: "ALBRequestCountPerTarget";
5615
- readonly ASGAverageCPUUtilization: "ASGAverageCPUUtilization";
5616
- readonly ASGAverageNetworkIn: "ASGAverageNetworkIn";
5617
- readonly ASGAverageNetworkOut: "ASGAverageNetworkOut";
5618
- };
5619
- /**
5620
- * @public
5621
- */
5622
- export type MetricType = (typeof MetricType)[keyof typeof MetricType];
5623
5115
  /**
5624
5116
  * <p>Represents a predefined metric for a target tracking scaling policy to use with
5625
5117
  * Amazon EC2 Auto Scaling.</p>
@@ -6861,6 +6353,200 @@ export interface GetPredictiveScalingForecastType {
6861
6353
  */
6862
6354
  EndTime: Date | undefined;
6863
6355
  }
6356
+ /**
6357
+ * @public
6358
+ */
6359
+ export interface LaunchInstancesRequest {
6360
+ /**
6361
+ * <p>
6362
+ * The name of the Auto Scaling group to launch instances into.
6363
+ * </p>
6364
+ * @public
6365
+ */
6366
+ AutoScalingGroupName: string | undefined;
6367
+ /**
6368
+ * <p>
6369
+ * The number of instances to launch. Although this value can exceed 100 for instance weights, the actual instance count is limited to 100 instances per launch.
6370
+ * </p>
6371
+ * @public
6372
+ */
6373
+ RequestedCapacity: number | undefined;
6374
+ /**
6375
+ * <p>
6376
+ * A unique, case-sensitive identifier to ensure idempotency of the request.
6377
+ * </p>
6378
+ * @public
6379
+ */
6380
+ ClientToken?: string | undefined;
6381
+ /**
6382
+ * <p>
6383
+ * The Availability Zones for the instance launch. Must match or be included in the Auto Scaling group's Availability Zone configuration. Either <code>AvailabilityZones</code> or <code>SubnetIds</code> must be specified for groups with multiple Availability Zone configurations.
6384
+ * </p>
6385
+ * @public
6386
+ */
6387
+ AvailabilityZones?: string[] | undefined;
6388
+ /**
6389
+ * <p>
6390
+ * A list of Availability Zone IDs where instances should be launched. Must match or be included in the group's AZ configuration. You cannot specify both AvailabilityZones and AvailabilityZoneIds. Required for multi-AZ groups, optional for single-AZ groups.
6391
+ * </p>
6392
+ * @public
6393
+ */
6394
+ AvailabilityZoneIds?: string[] | undefined;
6395
+ /**
6396
+ * <p>
6397
+ * The subnet IDs for the instance launch. Either <code>AvailabilityZones</code> or <code>SubnetIds</code> must be specified. If both are specified, the subnets must reside in the specified Availability Zones.
6398
+ * </p>
6399
+ * @public
6400
+ */
6401
+ SubnetIds?: string[] | undefined;
6402
+ /**
6403
+ * <p>
6404
+ * Specifies whether to retry asynchronously if the synchronous launch fails. Valid values are NONE (default, no async retry) and RETRY_WITH_GROUP_CONFIGURATION (increase desired capacity and retry with group configuration).
6405
+ * </p>
6406
+ * @public
6407
+ */
6408
+ RetryStrategy?: RetryStrategy | undefined;
6409
+ }
6410
+ /**
6411
+ * <p>
6412
+ * Contains details about errors encountered during instance launch attempts.
6413
+ * </p>
6414
+ * @public
6415
+ */
6416
+ export interface LaunchInstancesError {
6417
+ /**
6418
+ * <p>
6419
+ * The instance type that failed to launch.
6420
+ * </p>
6421
+ * @public
6422
+ */
6423
+ InstanceType?: string | undefined;
6424
+ /**
6425
+ * <p>
6426
+ * The market type (On-Demand or Spot) that encountered the launch error.
6427
+ * </p>
6428
+ * @public
6429
+ */
6430
+ MarketType?: string | undefined;
6431
+ /**
6432
+ * <p>
6433
+ * The subnet ID where the instance launch was attempted.
6434
+ * </p>
6435
+ * @public
6436
+ */
6437
+ SubnetId?: string | undefined;
6438
+ /**
6439
+ * <p>
6440
+ * The Availability Zone where the instance launch was attempted.
6441
+ * </p>
6442
+ * @public
6443
+ */
6444
+ AvailabilityZone?: string | undefined;
6445
+ /**
6446
+ * <p>
6447
+ * The Availability Zone ID where the launch error occurred.
6448
+ * </p>
6449
+ * @public
6450
+ */
6451
+ AvailabilityZoneId?: string | undefined;
6452
+ /**
6453
+ * <p>
6454
+ * The error code representing the type of error encountered (e.g., InsufficientInstanceCapacity).
6455
+ * </p>
6456
+ * @public
6457
+ */
6458
+ ErrorCode?: string | undefined;
6459
+ /**
6460
+ * <p>
6461
+ * A descriptive message providing details about the error encountered during the launch attempt.
6462
+ * </p>
6463
+ * @public
6464
+ */
6465
+ ErrorMessage?: string | undefined;
6466
+ }
6467
+ /**
6468
+ * <p>
6469
+ * Contains details about a collection of instances launched in the Auto Scaling group.
6470
+ * </p>
6471
+ * @public
6472
+ */
6473
+ export interface InstanceCollection {
6474
+ /**
6475
+ * <p>
6476
+ * The instance type of the launched instances.
6477
+ * </p>
6478
+ * @public
6479
+ */
6480
+ InstanceType?: string | undefined;
6481
+ /**
6482
+ * <p>
6483
+ * The market type for the instances (On-Demand or Spot).
6484
+ * </p>
6485
+ * @public
6486
+ */
6487
+ MarketType?: string | undefined;
6488
+ /**
6489
+ * <p>
6490
+ * The ID of the subnet where the instances were launched.
6491
+ * </p>
6492
+ * @public
6493
+ */
6494
+ SubnetId?: string | undefined;
6495
+ /**
6496
+ * <p>
6497
+ * The Availability Zone where the instances were launched.
6498
+ * </p>
6499
+ * @public
6500
+ */
6501
+ AvailabilityZone?: string | undefined;
6502
+ /**
6503
+ * <p>
6504
+ * The Availability Zone ID where the instances in this collection were launched.
6505
+ * </p>
6506
+ * @public
6507
+ */
6508
+ AvailabilityZoneId?: string | undefined;
6509
+ /**
6510
+ * <p>
6511
+ * A list of instance IDs for the successfully launched instances.
6512
+ * </p>
6513
+ * @public
6514
+ */
6515
+ InstanceIds?: string[] | undefined;
6516
+ }
6517
+ /**
6518
+ * @public
6519
+ */
6520
+ export interface LaunchInstancesResult {
6521
+ /**
6522
+ * <p>
6523
+ * The name of the Auto Scaling group where the instances were launched.
6524
+ * </p>
6525
+ * @public
6526
+ */
6527
+ AutoScalingGroupName?: string | undefined;
6528
+ /**
6529
+ * <p>
6530
+ * The idempotency token used for the request, either customer-specified or auto-generated.
6531
+ * </p>
6532
+ * @public
6533
+ */
6534
+ ClientToken?: string | undefined;
6535
+ /**
6536
+ * <p>
6537
+ * A list of successfully launched instances including details such as instance type, Availability Zone, subnet, lifecycle state, and instance IDs.
6538
+ * </p>
6539
+ * @public
6540
+ */
6541
+ Instances?: InstanceCollection[] | undefined;
6542
+ /**
6543
+ * <p>
6544
+ * A list of errors encountered during the launch attempt including details about failed instance launches with their corresponding error codes and messages.
6545
+ * </p>
6546
+ * @public
6547
+ */
6548
+ Errors?: LaunchInstancesError[] | undefined;
6549
+ }
6864
6550
  /**
6865
6551
  * @public
6866
6552
  */
@@ -7391,21 +7077,6 @@ export interface ScalingProcessQuery {
7391
7077
  */
7392
7078
  ScalingProcesses?: string[] | undefined;
7393
7079
  }
7394
- /**
7395
- * <p>The request failed because a desired configuration was not found or an incompatible
7396
- * launch template (uses a Systems Manager parameter instead of an AMI ID) or launch
7397
- * template version (<code>$Latest</code> or <code>$Default</code>) is present on the Auto Scaling
7398
- * group.</p>
7399
- * @public
7400
- */
7401
- export declare class IrreversibleInstanceRefreshFault extends __BaseException {
7402
- readonly name: "IrreversibleInstanceRefreshFault";
7403
- readonly $fault: "client";
7404
- /**
7405
- * @internal
7406
- */
7407
- constructor(opts: __ExceptionOptionType<IrreversibleInstanceRefreshFault, __BaseException>);
7408
- }
7409
7080
  /**
7410
7081
  * @public
7411
7082
  */
@@ -7503,19 +7174,6 @@ export interface SetInstanceProtectionQuery {
7503
7174
  */
7504
7175
  ProtectedFromScaleIn: boolean | undefined;
7505
7176
  }
7506
- /**
7507
- * <p>The request failed because an active instance refresh already exists for the specified
7508
- * Auto Scaling group.</p>
7509
- * @public
7510
- */
7511
- export declare class InstanceRefreshInProgressFault extends __BaseException {
7512
- readonly name: "InstanceRefreshInProgressFault";
7513
- readonly $fault: "client";
7514
- /**
7515
- * @internal
7516
- */
7517
- constructor(opts: __ExceptionOptionType<InstanceRefreshInProgressFault, __BaseException>);
7518
- }
7519
7177
  /**
7520
7178
  * @public
7521
7179
  */
@@ -7526,17 +7184,6 @@ export interface StartInstanceRefreshAnswer {
7526
7184
  */
7527
7185
  InstanceRefreshId?: string | undefined;
7528
7186
  }
7529
- /**
7530
- * @public
7531
- * @enum
7532
- */
7533
- export declare const RefreshStrategy: {
7534
- readonly Rolling: "Rolling";
7535
- };
7536
- /**
7537
- * @public
7538
- */
7539
- export type RefreshStrategy = (typeof RefreshStrategy)[keyof typeof RefreshStrategy];
7540
7187
  /**
7541
7188
  * @public
7542
7189
  */