@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,66 +1,43 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { AutoScalingServiceException as __BaseException } from "./AutoScalingServiceException";
1
+ import {
2
+ AcceleratorManufacturer,
3
+ AcceleratorName,
4
+ AcceleratorType,
5
+ BareMetal,
6
+ BurstablePerformance,
7
+ CapacityDistributionStrategy,
8
+ CapacityReservationPreference,
9
+ CpuManufacturer,
10
+ ImpairedZoneHealthCheckBehavior,
11
+ InstanceGeneration,
12
+ InstanceMetadataEndpointState,
13
+ InstanceMetadataHttpTokensState,
14
+ InstanceRefreshStatus,
15
+ LifecycleState,
16
+ LocalStorage,
17
+ LocalStorageType,
18
+ MetricStatistic,
19
+ MetricType,
20
+ PredefinedLoadMetricType,
21
+ PredefinedMetricPairType,
22
+ PredefinedScalingMetricType,
23
+ PredictiveScalingMaxCapacityBreachBehavior,
24
+ PredictiveScalingMode,
25
+ RefreshStrategy,
26
+ RetryStrategy,
27
+ ScaleInProtectedInstances,
28
+ ScalingActivityStatusCode,
29
+ StandbyInstances,
30
+ WarmPoolState,
31
+ WarmPoolStatus,
32
+ } from "./enums";
3
33
  export interface AcceleratorCountRequest {
4
34
  Min?: number | undefined;
5
35
  Max?: number | undefined;
6
36
  }
7
- export declare const AcceleratorManufacturer: {
8
- readonly AMAZON_WEB_SERVICES: "amazon-web-services";
9
- readonly AMD: "amd";
10
- readonly NVIDIA: "nvidia";
11
- readonly XILINX: "xilinx";
12
- };
13
- export type AcceleratorManufacturer =
14
- (typeof AcceleratorManufacturer)[keyof typeof AcceleratorManufacturer];
15
- export declare const AcceleratorName: {
16
- readonly A100: "a100";
17
- readonly K80: "k80";
18
- readonly M60: "m60";
19
- readonly RADEON_PRO_V520: "radeon-pro-v520";
20
- readonly T4: "t4";
21
- readonly V100: "v100";
22
- readonly VU9P: "vu9p";
23
- };
24
- export type AcceleratorName =
25
- (typeof AcceleratorName)[keyof typeof AcceleratorName];
26
37
  export interface AcceleratorTotalMemoryMiBRequest {
27
38
  Min?: number | undefined;
28
39
  Max?: number | undefined;
29
40
  }
30
- export declare const AcceleratorType: {
31
- readonly FPGA: "fpga";
32
- readonly GPU: "gpu";
33
- readonly INFERENCE: "inference";
34
- };
35
- export type AcceleratorType =
36
- (typeof AcceleratorType)[keyof typeof AcceleratorType];
37
- export declare class ActiveInstanceRefreshNotFoundFault extends __BaseException {
38
- readonly name: "ActiveInstanceRefreshNotFoundFault";
39
- readonly $fault: "client";
40
- constructor(
41
- opts: __ExceptionOptionType<
42
- ActiveInstanceRefreshNotFoundFault,
43
- __BaseException
44
- >
45
- );
46
- }
47
- export declare const ScalingActivityStatusCode: {
48
- readonly Cancelled: "Cancelled";
49
- readonly Failed: "Failed";
50
- readonly InProgress: "InProgress";
51
- readonly MidLifecycleAction: "MidLifecycleAction";
52
- readonly PendingSpotBidPlacement: "PendingSpotBidPlacement";
53
- readonly PreInService: "PreInService";
54
- readonly Successful: "Successful";
55
- readonly WaitingForConnectionDraining: "WaitingForConnectionDraining";
56
- readonly WaitingForELBConnectionDraining: "WaitingForELBConnectionDraining";
57
- readonly WaitingForInstanceId: "WaitingForInstanceId";
58
- readonly WaitingForInstanceWarmup: "WaitingForInstanceWarmup";
59
- readonly WaitingForSpotInstanceId: "WaitingForSpotInstanceId";
60
- readonly WaitingForSpotInstanceRequestId: "WaitingForSpotInstanceRequestId";
61
- };
62
- export type ScalingActivityStatusCode =
63
- (typeof ScalingActivityStatusCode)[keyof typeof ScalingActivityStatusCode];
64
41
  export interface Activity {
65
42
  ActivityId: string | undefined;
66
43
  AutoScalingGroupName: string | undefined;
@@ -92,29 +69,10 @@ export interface Alarm {
92
69
  export interface AlarmSpecification {
93
70
  Alarms?: string[] | undefined;
94
71
  }
95
- export declare class AlreadyExistsFault extends __BaseException {
96
- readonly name: "AlreadyExistsFault";
97
- readonly $fault: "client";
98
- constructor(opts: __ExceptionOptionType<AlreadyExistsFault, __BaseException>);
99
- }
100
72
  export interface AttachInstancesQuery {
101
73
  InstanceIds?: string[] | undefined;
102
74
  AutoScalingGroupName: string | undefined;
103
75
  }
104
- export declare class ResourceContentionFault extends __BaseException {
105
- readonly name: "ResourceContentionFault";
106
- readonly $fault: "server";
107
- constructor(
108
- opts: __ExceptionOptionType<ResourceContentionFault, __BaseException>
109
- );
110
- }
111
- export declare class ServiceLinkedRoleFailure extends __BaseException {
112
- readonly name: "ServiceLinkedRoleFailure";
113
- readonly $fault: "server";
114
- constructor(
115
- opts: __ExceptionOptionType<ServiceLinkedRoleFailure, __BaseException>
116
- );
117
- }
118
76
  export interface AttachLoadBalancersResultType {}
119
77
  export interface AttachLoadBalancersType {
120
78
  AutoScalingGroupName: string | undefined;
@@ -168,11 +126,6 @@ export interface BatchPutScheduledUpdateGroupActionType {
168
126
  AutoScalingGroupName: string | undefined;
169
127
  ScheduledUpdateGroupActions: ScheduledUpdateGroupActionRequest[] | undefined;
170
128
  }
171
- export declare class LimitExceededFault extends __BaseException {
172
- readonly name: "LimitExceededFault";
173
- readonly $fault: "client";
174
- constructor(opts: __ExceptionOptionType<LimitExceededFault, __BaseException>);
175
- }
176
129
  export interface CancelInstanceRefreshAnswer {
177
130
  InstanceRefreshId?: string | undefined;
178
131
  }
@@ -188,33 +141,13 @@ export interface CompleteLifecycleActionType {
188
141
  LifecycleActionResult: string | undefined;
189
142
  InstanceId?: string | undefined;
190
143
  }
191
- export declare const CapacityDistributionStrategy: {
192
- readonly BALANCED_BEST_EFFORT: "balanced-best-effort";
193
- readonly BALANCED_ONLY: "balanced-only";
194
- };
195
- export type CapacityDistributionStrategy =
196
- (typeof CapacityDistributionStrategy)[keyof typeof CapacityDistributionStrategy];
197
144
  export interface AvailabilityZoneDistribution {
198
145
  CapacityDistributionStrategy?: CapacityDistributionStrategy | undefined;
199
146
  }
200
- export declare const ImpairedZoneHealthCheckBehavior: {
201
- readonly IgnoreUnhealthy: "IgnoreUnhealthy";
202
- readonly ReplaceUnhealthy: "ReplaceUnhealthy";
203
- };
204
- export type ImpairedZoneHealthCheckBehavior =
205
- (typeof ImpairedZoneHealthCheckBehavior)[keyof typeof ImpairedZoneHealthCheckBehavior];
206
147
  export interface AvailabilityZoneImpairmentPolicy {
207
148
  ZonalShiftEnabled?: boolean | undefined;
208
149
  ImpairedZoneHealthCheckBehavior?: ImpairedZoneHealthCheckBehavior | undefined;
209
150
  }
210
- export declare const CapacityReservationPreference: {
211
- readonly CapacityReservationsFirst: "capacity-reservations-first";
212
- readonly CapacityReservationsOnly: "capacity-reservations-only";
213
- readonly Default: "default";
214
- readonly None: "none";
215
- };
216
- export type CapacityReservationPreference =
217
- (typeof CapacityReservationPreference)[keyof typeof CapacityReservationPreference];
218
151
  export interface CapacityReservationTarget {
219
152
  CapacityReservationIds?: string[] | undefined;
220
153
  CapacityReservationResourceGroupArns?: string[] | undefined;
@@ -249,12 +182,6 @@ export interface InstancesDistribution {
249
182
  SpotInstancePools?: number | undefined;
250
183
  SpotMaxPrice?: string | undefined;
251
184
  }
252
- export declare const BareMetal: {
253
- readonly EXCLUDED: "excluded";
254
- readonly INCLUDED: "included";
255
- readonly REQUIRED: "required";
256
- };
257
- export type BareMetal = (typeof BareMetal)[keyof typeof BareMetal];
258
185
  export interface BaselineEbsBandwidthMbpsRequest {
259
186
  Min?: number | undefined;
260
187
  Max?: number | undefined;
@@ -268,39 +195,6 @@ export interface CpuPerformanceFactorRequest {
268
195
  export interface BaselinePerformanceFactorsRequest {
269
196
  Cpu?: CpuPerformanceFactorRequest | undefined;
270
197
  }
271
- export declare const BurstablePerformance: {
272
- readonly EXCLUDED: "excluded";
273
- readonly INCLUDED: "included";
274
- readonly REQUIRED: "required";
275
- };
276
- export type BurstablePerformance =
277
- (typeof BurstablePerformance)[keyof typeof BurstablePerformance];
278
- export declare const CpuManufacturer: {
279
- readonly AMAZON_WEB_SERVICES: "amazon-web-services";
280
- readonly AMD: "amd";
281
- readonly APPLE: "apple";
282
- readonly INTEL: "intel";
283
- };
284
- export type CpuManufacturer =
285
- (typeof CpuManufacturer)[keyof typeof CpuManufacturer];
286
- export declare const InstanceGeneration: {
287
- readonly CURRENT: "current";
288
- readonly PREVIOUS: "previous";
289
- };
290
- export type InstanceGeneration =
291
- (typeof InstanceGeneration)[keyof typeof InstanceGeneration];
292
- export declare const LocalStorage: {
293
- readonly EXCLUDED: "excluded";
294
- readonly INCLUDED: "included";
295
- readonly REQUIRED: "required";
296
- };
297
- export type LocalStorage = (typeof LocalStorage)[keyof typeof LocalStorage];
298
- export declare const LocalStorageType: {
299
- readonly HDD: "hdd";
300
- readonly SSD: "ssd";
301
- };
302
- export type LocalStorageType =
303
- (typeof LocalStorageType)[keyof typeof LocalStorageType];
304
198
  export interface MemoryGiBPerVCpuRequest {
305
199
  Min?: number | undefined;
306
200
  Max?: number | undefined;
@@ -429,18 +323,6 @@ export interface BlockDeviceMapping {
429
323
  export interface InstanceMonitoring {
430
324
  Enabled?: boolean | undefined;
431
325
  }
432
- export declare const InstanceMetadataEndpointState: {
433
- readonly Disabled: "disabled";
434
- readonly Enabled: "enabled";
435
- };
436
- export type InstanceMetadataEndpointState =
437
- (typeof InstanceMetadataEndpointState)[keyof typeof InstanceMetadataEndpointState];
438
- export declare const InstanceMetadataHttpTokensState: {
439
- readonly Optional: "optional";
440
- readonly Required: "required";
441
- };
442
- export type InstanceMetadataHttpTokensState =
443
- (typeof InstanceMetadataHttpTokensState)[keyof typeof InstanceMetadataHttpTokensState];
444
326
  export interface InstanceMetadataOptions {
445
327
  HttpTokens?: InstanceMetadataHttpTokensState | undefined;
446
328
  HttpPutResponseHopLimit?: number | undefined;
@@ -470,22 +352,10 @@ export interface CreateLaunchConfigurationType {
470
352
  export interface CreateOrUpdateTagsType {
471
353
  Tags: Tag[] | undefined;
472
354
  }
473
- export declare class ResourceInUseFault extends __BaseException {
474
- readonly name: "ResourceInUseFault";
475
- readonly $fault: "client";
476
- constructor(opts: __ExceptionOptionType<ResourceInUseFault, __BaseException>);
477
- }
478
355
  export interface DeleteAutoScalingGroupType {
479
356
  AutoScalingGroupName: string | undefined;
480
357
  ForceDelete?: boolean | undefined;
481
358
  }
482
- export declare class ScalingActivityInProgressFault extends __BaseException {
483
- readonly name: "ScalingActivityInProgressFault";
484
- readonly $fault: "client";
485
- constructor(
486
- opts: __ExceptionOptionType<ScalingActivityInProgressFault, __BaseException>
487
- );
488
- }
489
359
  export interface LaunchConfigurationNameType {
490
360
  LaunchConfigurationName: string | undefined;
491
361
  }
@@ -538,33 +408,6 @@ export interface EnabledMetric {
538
408
  Metric?: string | undefined;
539
409
  Granularity?: string | undefined;
540
410
  }
541
- export declare const LifecycleState: {
542
- readonly DETACHED: "Detached";
543
- readonly DETACHING: "Detaching";
544
- readonly ENTERING_STANDBY: "EnteringStandby";
545
- readonly IN_SERVICE: "InService";
546
- readonly PENDING: "Pending";
547
- readonly PENDING_PROCEED: "Pending:Proceed";
548
- readonly PENDING_WAIT: "Pending:Wait";
549
- readonly QUARANTINED: "Quarantined";
550
- readonly STANDBY: "Standby";
551
- readonly TERMINATED: "Terminated";
552
- readonly TERMINATING: "Terminating";
553
- readonly TERMINATING_PROCEED: "Terminating:Proceed";
554
- readonly TERMINATING_WAIT: "Terminating:Wait";
555
- readonly WARMED_HIBERNATED: "Warmed:Hibernated";
556
- readonly WARMED_PENDING: "Warmed:Pending";
557
- readonly WARMED_PENDING_PROCEED: "Warmed:Pending:Proceed";
558
- readonly WARMED_PENDING_WAIT: "Warmed:Pending:Wait";
559
- readonly WARMED_RUNNING: "Warmed:Running";
560
- readonly WARMED_STOPPED: "Warmed:Stopped";
561
- readonly WARMED_TERMINATED: "Warmed:Terminated";
562
- readonly WARMED_TERMINATING: "Warmed:Terminating";
563
- readonly WARMED_TERMINATING_PROCEED: "Warmed:Terminating:Proceed";
564
- readonly WARMED_TERMINATING_WAIT: "Warmed:Terminating:Wait";
565
- };
566
- export type LifecycleState =
567
- (typeof LifecycleState)[keyof typeof LifecycleState];
568
411
  export interface Instance {
569
412
  InstanceId: string | undefined;
570
413
  InstanceType?: string | undefined;
@@ -590,17 +433,6 @@ export interface TagDescription {
590
433
  export interface InstanceReusePolicy {
591
434
  ReuseOnScaleIn?: boolean | undefined;
592
435
  }
593
- export declare const WarmPoolState: {
594
- readonly Hibernated: "Hibernated";
595
- readonly Running: "Running";
596
- readonly Stopped: "Stopped";
597
- };
598
- export type WarmPoolState = (typeof WarmPoolState)[keyof typeof WarmPoolState];
599
- export declare const WarmPoolStatus: {
600
- readonly PendingDelete: "PendingDelete";
601
- };
602
- export type WarmPoolStatus =
603
- (typeof WarmPoolStatus)[keyof typeof WarmPoolStatus];
604
436
  export interface WarmPoolConfiguration {
605
437
  MaxGroupPreparedCapacity?: number | undefined;
606
438
  MinSize?: number | undefined;
@@ -656,11 +488,6 @@ export interface AutoScalingGroupsType {
656
488
  AutoScalingGroups: AutoScalingGroup[] | undefined;
657
489
  NextToken?: string | undefined;
658
490
  }
659
- export declare class InvalidNextToken extends __BaseException {
660
- readonly name: "InvalidNextToken";
661
- readonly $fault: "client";
662
- constructor(opts: __ExceptionOptionType<InvalidNextToken, __BaseException>);
663
- }
664
491
  export interface AutoScalingInstanceDetails {
665
492
  InstanceId: string | undefined;
666
493
  InstanceType?: string | undefined;
@@ -689,20 +516,6 @@ export interface DesiredConfiguration {
689
516
  LaunchTemplate?: LaunchTemplateSpecification | undefined;
690
517
  MixedInstancesPolicy?: MixedInstancesPolicy | undefined;
691
518
  }
692
- export declare const ScaleInProtectedInstances: {
693
- readonly Ignore: "Ignore";
694
- readonly Refresh: "Refresh";
695
- readonly Wait: "Wait";
696
- };
697
- export type ScaleInProtectedInstances =
698
- (typeof ScaleInProtectedInstances)[keyof typeof ScaleInProtectedInstances];
699
- export declare const StandbyInstances: {
700
- readonly Ignore: "Ignore";
701
- readonly Terminate: "Terminate";
702
- readonly Wait: "Wait";
703
- };
704
- export type StandbyInstances =
705
- (typeof StandbyInstances)[keyof typeof StandbyInstances];
706
519
  export interface RefreshPreferences {
707
520
  MinHealthyPercentage?: number | undefined;
708
521
  InstanceWarmup?: number | undefined;
@@ -735,20 +548,6 @@ export interface RollbackDetails {
735
548
  InstancesToUpdateOnRollback?: number | undefined;
736
549
  ProgressDetailsOnRollback?: InstanceRefreshProgressDetails | undefined;
737
550
  }
738
- export declare const InstanceRefreshStatus: {
739
- readonly Baking: "Baking";
740
- readonly Cancelled: "Cancelled";
741
- readonly Cancelling: "Cancelling";
742
- readonly Failed: "Failed";
743
- readonly InProgress: "InProgress";
744
- readonly Pending: "Pending";
745
- readonly RollbackFailed: "RollbackFailed";
746
- readonly RollbackInProgress: "RollbackInProgress";
747
- readonly RollbackSuccessful: "RollbackSuccessful";
748
- readonly Successful: "Successful";
749
- };
750
- export type InstanceRefreshStatus =
751
- (typeof InstanceRefreshStatus)[keyof typeof InstanceRefreshStatus];
752
551
  export interface InstanceRefresh {
753
552
  InstanceRefreshId?: string | undefined;
754
553
  AutoScalingGroupName?: string | undefined;
@@ -882,12 +681,6 @@ export interface DescribePoliciesType {
882
681
  NextToken?: string | undefined;
883
682
  MaxRecords?: number | undefined;
884
683
  }
885
- export declare const PredictiveScalingMaxCapacityBreachBehavior: {
886
- readonly HonorMaxCapacity: "HonorMaxCapacity";
887
- readonly IncreaseMaxCapacity: "IncreaseMaxCapacity";
888
- };
889
- export type PredictiveScalingMaxCapacityBreachBehavior =
890
- (typeof PredictiveScalingMaxCapacityBreachBehavior)[keyof typeof PredictiveScalingMaxCapacityBreachBehavior];
891
684
  export interface MetricDimension {
892
685
  Name: string | undefined;
893
686
  Value: string | undefined;
@@ -918,38 +711,14 @@ export interface PredictiveScalingCustomizedLoadMetric {
918
711
  export interface PredictiveScalingCustomizedScalingMetric {
919
712
  MetricDataQueries: MetricDataQuery[] | undefined;
920
713
  }
921
- export declare const PredefinedLoadMetricType: {
922
- readonly ALBTargetGroupRequestCount: "ALBTargetGroupRequestCount";
923
- readonly ASGTotalCPUUtilization: "ASGTotalCPUUtilization";
924
- readonly ASGTotalNetworkIn: "ASGTotalNetworkIn";
925
- readonly ASGTotalNetworkOut: "ASGTotalNetworkOut";
926
- };
927
- export type PredefinedLoadMetricType =
928
- (typeof PredefinedLoadMetricType)[keyof typeof PredefinedLoadMetricType];
929
714
  export interface PredictiveScalingPredefinedLoadMetric {
930
715
  PredefinedMetricType: PredefinedLoadMetricType | undefined;
931
716
  ResourceLabel?: string | undefined;
932
717
  }
933
- export declare const PredefinedMetricPairType: {
934
- readonly ALBRequestCount: "ALBRequestCount";
935
- readonly ASGCPUUtilization: "ASGCPUUtilization";
936
- readonly ASGNetworkIn: "ASGNetworkIn";
937
- readonly ASGNetworkOut: "ASGNetworkOut";
938
- };
939
- export type PredefinedMetricPairType =
940
- (typeof PredefinedMetricPairType)[keyof typeof PredefinedMetricPairType];
941
718
  export interface PredictiveScalingPredefinedMetricPair {
942
719
  PredefinedMetricType: PredefinedMetricPairType | undefined;
943
720
  ResourceLabel?: string | undefined;
944
721
  }
945
- export declare const PredefinedScalingMetricType: {
946
- readonly ALBRequestCountPerTarget: "ALBRequestCountPerTarget";
947
- readonly ASGAverageCPUUtilization: "ASGAverageCPUUtilization";
948
- readonly ASGAverageNetworkIn: "ASGAverageNetworkIn";
949
- readonly ASGAverageNetworkOut: "ASGAverageNetworkOut";
950
- };
951
- export type PredefinedScalingMetricType =
952
- (typeof PredefinedScalingMetricType)[keyof typeof PredefinedScalingMetricType];
953
722
  export interface PredictiveScalingPredefinedScalingMetric {
954
723
  PredefinedMetricType: PredefinedScalingMetricType | undefined;
955
724
  ResourceLabel?: string | undefined;
@@ -975,12 +744,6 @@ export interface PredictiveScalingMetricSpecification {
975
744
  | PredictiveScalingCustomizedCapacityMetric
976
745
  | undefined;
977
746
  }
978
- export declare const PredictiveScalingMode: {
979
- readonly ForecastAndScale: "ForecastAndScale";
980
- readonly ForecastOnly: "ForecastOnly";
981
- };
982
- export type PredictiveScalingMode =
983
- (typeof PredictiveScalingMode)[keyof typeof PredictiveScalingMode];
984
747
  export interface PredictiveScalingConfiguration {
985
748
  MetricSpecifications: PredictiveScalingMetricSpecification[] | undefined;
986
749
  Mode?: PredictiveScalingMode | undefined;
@@ -1009,15 +772,6 @@ export interface TargetTrackingMetricDataQuery {
1009
772
  Period?: number | undefined;
1010
773
  ReturnData?: boolean | undefined;
1011
774
  }
1012
- export declare const MetricStatistic: {
1013
- readonly Average: "Average";
1014
- readonly Maximum: "Maximum";
1015
- readonly Minimum: "Minimum";
1016
- readonly SampleCount: "SampleCount";
1017
- readonly Sum: "Sum";
1018
- };
1019
- export type MetricStatistic =
1020
- (typeof MetricStatistic)[keyof typeof MetricStatistic];
1021
775
  export interface CustomizedMetricSpecification {
1022
776
  MetricName?: string | undefined;
1023
777
  Namespace?: string | undefined;
@@ -1027,13 +781,6 @@ export interface CustomizedMetricSpecification {
1027
781
  Period?: number | undefined;
1028
782
  Metrics?: TargetTrackingMetricDataQuery[] | undefined;
1029
783
  }
1030
- export declare const MetricType: {
1031
- readonly ALBRequestCountPerTarget: "ALBRequestCountPerTarget";
1032
- readonly ASGAverageCPUUtilization: "ASGAverageCPUUtilization";
1033
- readonly ASGAverageNetworkIn: "ASGAverageNetworkIn";
1034
- readonly ASGAverageNetworkOut: "ASGAverageNetworkOut";
1035
- };
1036
- export type MetricType = (typeof MetricType)[keyof typeof MetricType];
1037
784
  export interface PredefinedMetricSpecification {
1038
785
  PredefinedMetricType: MetricType | undefined;
1039
786
  ResourceLabel?: string | undefined;
@@ -1216,6 +963,38 @@ export interface GetPredictiveScalingForecastType {
1216
963
  StartTime: Date | undefined;
1217
964
  EndTime: Date | undefined;
1218
965
  }
966
+ export interface LaunchInstancesRequest {
967
+ AutoScalingGroupName: string | undefined;
968
+ RequestedCapacity: number | undefined;
969
+ ClientToken?: string | undefined;
970
+ AvailabilityZones?: string[] | undefined;
971
+ AvailabilityZoneIds?: string[] | undefined;
972
+ SubnetIds?: string[] | undefined;
973
+ RetryStrategy?: RetryStrategy | undefined;
974
+ }
975
+ export interface LaunchInstancesError {
976
+ InstanceType?: string | undefined;
977
+ MarketType?: string | undefined;
978
+ SubnetId?: string | undefined;
979
+ AvailabilityZone?: string | undefined;
980
+ AvailabilityZoneId?: string | undefined;
981
+ ErrorCode?: string | undefined;
982
+ ErrorMessage?: string | undefined;
983
+ }
984
+ export interface InstanceCollection {
985
+ InstanceType?: string | undefined;
986
+ MarketType?: string | undefined;
987
+ SubnetId?: string | undefined;
988
+ AvailabilityZone?: string | undefined;
989
+ AvailabilityZoneId?: string | undefined;
990
+ InstanceIds?: string[] | undefined;
991
+ }
992
+ export interface LaunchInstancesResult {
993
+ AutoScalingGroupName?: string | undefined;
994
+ ClientToken?: string | undefined;
995
+ Instances?: InstanceCollection[] | undefined;
996
+ Errors?: LaunchInstancesError[] | undefined;
997
+ }
1219
998
  export interface PutLifecycleHookAnswer {}
1220
999
  export interface PutLifecycleHookType {
1221
1000
  LifecycleHookName: string | undefined;
@@ -1283,16 +1062,6 @@ export interface ScalingProcessQuery {
1283
1062
  AutoScalingGroupName: string | undefined;
1284
1063
  ScalingProcesses?: string[] | undefined;
1285
1064
  }
1286
- export declare class IrreversibleInstanceRefreshFault extends __BaseException {
1287
- readonly name: "IrreversibleInstanceRefreshFault";
1288
- readonly $fault: "client";
1289
- constructor(
1290
- opts: __ExceptionOptionType<
1291
- IrreversibleInstanceRefreshFault,
1292
- __BaseException
1293
- >
1294
- );
1295
- }
1296
1065
  export interface RollbackInstanceRefreshAnswer {
1297
1066
  InstanceRefreshId?: string | undefined;
1298
1067
  }
@@ -1315,21 +1084,9 @@ export interface SetInstanceProtectionQuery {
1315
1084
  AutoScalingGroupName: string | undefined;
1316
1085
  ProtectedFromScaleIn: boolean | undefined;
1317
1086
  }
1318
- export declare class InstanceRefreshInProgressFault extends __BaseException {
1319
- readonly name: "InstanceRefreshInProgressFault";
1320
- readonly $fault: "client";
1321
- constructor(
1322
- opts: __ExceptionOptionType<InstanceRefreshInProgressFault, __BaseException>
1323
- );
1324
- }
1325
1087
  export interface StartInstanceRefreshAnswer {
1326
1088
  InstanceRefreshId?: string | undefined;
1327
1089
  }
1328
- export declare const RefreshStrategy: {
1329
- readonly Rolling: "Rolling";
1330
- };
1331
- export type RefreshStrategy =
1332
- (typeof RefreshStrategy)[keyof typeof RefreshStrategy];
1333
1090
  export interface StartInstanceRefreshType {
1334
1091
  AutoScalingGroupName: string | undefined;
1335
1092
  Strategy?: RefreshStrategy | undefined;
@@ -103,7 +103,9 @@ export declare var FailedScheduledUpdateGroupActionRequest: StaticStructureSchem
103
103
  export declare var Filter: StaticStructureSchema;
104
104
  export declare var GetPredictiveScalingForecastAnswer: StaticStructureSchema;
105
105
  export declare var GetPredictiveScalingForecastType: StaticStructureSchema;
106
+ export declare var IdempotentParameterMismatchError: StaticErrorSchema;
106
107
  export declare var Instance: StaticStructureSchema;
108
+ export declare var InstanceCollection: StaticStructureSchema;
107
109
  export declare var InstanceMaintenancePolicy: StaticStructureSchema;
108
110
  export declare var InstanceMetadataOptions: StaticStructureSchema;
109
111
  export declare var InstanceMonitoring: StaticStructureSchema;
@@ -121,6 +123,9 @@ export declare var LaunchConfiguration: StaticStructureSchema;
121
123
  export declare var LaunchConfigurationNamesType: StaticStructureSchema;
122
124
  export declare var LaunchConfigurationNameType: StaticStructureSchema;
123
125
  export declare var LaunchConfigurationsType: StaticStructureSchema;
126
+ export declare var LaunchInstancesError: StaticStructureSchema;
127
+ export declare var LaunchInstancesRequest: StaticStructureSchema;
128
+ export declare var LaunchInstancesResult: StaticStructureSchema;
124
129
  export declare var LaunchTemplate: StaticStructureSchema;
125
130
  export declare var LaunchTemplateOverrides: StaticStructureSchema;
126
131
  export declare var LaunchTemplateSpecification: StaticStructureSchema;
@@ -214,7 +219,9 @@ export declare var AutoScalingGroupNames: number;
214
219
  export declare var AutoScalingGroups: StaticListSchema;
215
220
  export declare var AutoScalingInstances: StaticListSchema;
216
221
  export declare var AutoScalingNotificationTypes: number;
222
+ export declare var AvailabilityZoneIdsLimit1: number;
217
223
  export declare var AvailabilityZones: number;
224
+ export declare var AvailabilityZonesLimit1: number;
218
225
  export declare var BlockDeviceMappings: StaticListSchema;
219
226
  export declare var CapacityReservationIds: number;
220
227
  export declare var CapacityReservationResourceGroupArns: number;
@@ -225,6 +232,7 @@ export declare var EnabledMetrics: StaticListSchema;
225
232
  export declare var ExcludedInstanceTypes: number;
226
233
  export declare var FailedScheduledUpdateGroupActionRequests: StaticListSchema;
227
234
  export declare var Filters: StaticListSchema;
235
+ export declare var InstanceCollections: StaticListSchema;
228
236
  export declare var InstanceGenerations: number;
229
237
  export declare var InstanceIds: number;
230
238
  export declare var InstanceRefreshes: StaticListSchema;
@@ -232,6 +240,7 @@ export declare var InstanceRefreshIds: number;
232
240
  export declare var Instances: StaticListSchema;
233
241
  export declare var LaunchConfigurationNames: number;
234
242
  export declare var LaunchConfigurations: StaticListSchema;
243
+ export declare var LaunchInstancesErrors: StaticListSchema;
235
244
  export declare var LifecycleHookNames: number;
236
245
  export declare var LifecycleHooks: StaticListSchema;
237
246
  export declare var LifecycleHookSpecifications: StaticListSchema;
@@ -261,6 +270,7 @@ export declare var ScheduledUpdateGroupActionRequests: StaticListSchema;
261
270
  export declare var ScheduledUpdateGroupActions: StaticListSchema;
262
271
  export declare var SecurityGroups: number;
263
272
  export declare var StepAdjustments: StaticListSchema;
273
+ export declare var SubnetIdsLimit1: number;
264
274
  export declare var SuspendedProcesses: StaticListSchema;
265
275
  export declare var TagDescriptionList: StaticListSchema;
266
276
  export declare var Tags: StaticListSchema;
@@ -320,6 +330,7 @@ export declare var EnterStandby: StaticOperationSchema;
320
330
  export declare var ExecutePolicy: StaticOperationSchema;
321
331
  export declare var ExitStandby: StaticOperationSchema;
322
332
  export declare var GetPredictiveScalingForecast: StaticOperationSchema;
333
+ export declare var LaunchInstances: StaticOperationSchema;
323
334
  export declare var PutLifecycleHook: StaticOperationSchema;
324
335
  export declare var PutNotificationConfiguration: StaticOperationSchema;
325
336
  export declare var PutScalingPolicy: StaticOperationSchema;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-auto-scaling",
3
3
  "description": "AWS SDK for JavaScript Auto Scaling Client for Node.js, Browser and React Native",
4
- "version": "3.933.0",
4
+ "version": "3.935.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-auto-scaling",
@@ -20,38 +20,38 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.932.0",
24
- "@aws-sdk/credential-provider-node": "3.933.0",
23
+ "@aws-sdk/core": "3.935.0",
24
+ "@aws-sdk/credential-provider-node": "3.935.0",
25
25
  "@aws-sdk/middleware-host-header": "3.930.0",
26
26
  "@aws-sdk/middleware-logger": "3.930.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.933.0",
28
- "@aws-sdk/middleware-user-agent": "3.932.0",
28
+ "@aws-sdk/middleware-user-agent": "3.935.0",
29
29
  "@aws-sdk/region-config-resolver": "3.930.0",
30
30
  "@aws-sdk/types": "3.930.0",
31
31
  "@aws-sdk/util-endpoints": "3.930.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.930.0",
33
- "@aws-sdk/util-user-agent-node": "3.932.0",
33
+ "@aws-sdk/util-user-agent-node": "3.935.0",
34
34
  "@smithy/config-resolver": "^4.4.3",
35
- "@smithy/core": "^3.18.2",
35
+ "@smithy/core": "^3.18.5",
36
36
  "@smithy/fetch-http-handler": "^5.3.6",
37
37
  "@smithy/hash-node": "^4.2.5",
38
38
  "@smithy/invalid-dependency": "^4.2.5",
39
39
  "@smithy/middleware-content-length": "^4.2.5",
40
- "@smithy/middleware-endpoint": "^4.3.9",
41
- "@smithy/middleware-retry": "^4.4.9",
42
- "@smithy/middleware-serde": "^4.2.5",
40
+ "@smithy/middleware-endpoint": "^4.3.12",
41
+ "@smithy/middleware-retry": "^4.4.12",
42
+ "@smithy/middleware-serde": "^4.2.6",
43
43
  "@smithy/middleware-stack": "^4.2.5",
44
44
  "@smithy/node-config-provider": "^4.3.5",
45
45
  "@smithy/node-http-handler": "^4.4.5",
46
46
  "@smithy/protocol-http": "^5.3.5",
47
- "@smithy/smithy-client": "^4.9.5",
47
+ "@smithy/smithy-client": "^4.9.8",
48
48
  "@smithy/types": "^4.9.0",
49
49
  "@smithy/url-parser": "^4.2.5",
50
50
  "@smithy/util-base64": "^4.3.0",
51
51
  "@smithy/util-body-length-browser": "^4.2.0",
52
52
  "@smithy/util-body-length-node": "^4.2.1",
53
- "@smithy/util-defaults-mode-browser": "^4.3.8",
54
- "@smithy/util-defaults-mode-node": "^4.2.11",
53
+ "@smithy/util-defaults-mode-browser": "^4.3.11",
54
+ "@smithy/util-defaults-mode-node": "^4.2.14",
55
55
  "@smithy/util-endpoints": "^3.2.5",
56
56
  "@smithy/util-middleware": "^4.2.5",
57
57
  "@smithy/util-retry": "^4.2.5",
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";