@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.
- package/README.md +8 -0
- package/dist-cjs/index.js +290 -182
- package/dist-es/AutoScaling.js +2 -0
- package/dist-es/commands/LaunchInstancesCommand.js +16 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +187 -0
- package/dist-es/models/errors.js +135 -0
- package/dist-es/models/models_0.js +1 -304
- package/dist-es/schemas/schemas_0.js +77 -1
- package/dist-types/AutoScaling.d.ts +7 -0
- package/dist-types/AutoScalingClient.d.ts +3 -2
- package/dist-types/commands/LaunchInstancesCommand.d.ts +120 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +427 -0
- package/dist-types/models/errors.d.ts +147 -0
- package/dist-types/models/models_0.d.ts +196 -549
- package/dist-types/schemas/schemas_0.d.ts +11 -0
- package/dist-types/ts3.4/AutoScaling.d.ts +17 -0
- package/dist-types/ts3.4/AutoScalingClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/LaunchInstancesCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +242 -0
- package/dist-types/ts3.4/models/errors.d.ts +81 -0
- package/dist-types/ts3.4/models/models_0.d.ts +64 -307
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +11 -0
- package/package.json +12 -12
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
package/README.md
CHANGED
|
@@ -608,6 +608,14 @@ GetPredictiveScalingForecast
|
|
|
608
608
|
|
|
609
609
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/auto-scaling/command/GetPredictiveScalingForecastCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-auto-scaling/Interface/GetPredictiveScalingForecastCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-auto-scaling/Interface/GetPredictiveScalingForecastCommandOutput/)
|
|
610
610
|
|
|
611
|
+
</details>
|
|
612
|
+
<details>
|
|
613
|
+
<summary>
|
|
614
|
+
LaunchInstances
|
|
615
|
+
</summary>
|
|
616
|
+
|
|
617
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/auto-scaling/command/LaunchInstancesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-auto-scaling/Interface/LaunchInstancesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-auto-scaling/Interface/LaunchInstancesCommandOutput/)
|
|
618
|
+
|
|
611
619
|
</details>
|
|
612
620
|
<details>
|
|
613
621
|
<summary>
|
package/dist-cjs/index.js
CHANGED
|
@@ -118,26 +118,6 @@ let AutoScalingServiceException$1 = class AutoScalingServiceException extends sm
|
|
|
118
118
|
}
|
|
119
119
|
};
|
|
120
120
|
|
|
121
|
-
const AcceleratorManufacturer = {
|
|
122
|
-
AMAZON_WEB_SERVICES: "amazon-web-services",
|
|
123
|
-
AMD: "amd",
|
|
124
|
-
NVIDIA: "nvidia",
|
|
125
|
-
XILINX: "xilinx",
|
|
126
|
-
};
|
|
127
|
-
const AcceleratorName = {
|
|
128
|
-
A100: "a100",
|
|
129
|
-
K80: "k80",
|
|
130
|
-
M60: "m60",
|
|
131
|
-
RADEON_PRO_V520: "radeon-pro-v520",
|
|
132
|
-
T4: "t4",
|
|
133
|
-
V100: "v100",
|
|
134
|
-
VU9P: "vu9p",
|
|
135
|
-
};
|
|
136
|
-
const AcceleratorType = {
|
|
137
|
-
FPGA: "fpga",
|
|
138
|
-
GPU: "gpu",
|
|
139
|
-
INFERENCE: "inference",
|
|
140
|
-
};
|
|
141
121
|
let ActiveInstanceRefreshNotFoundFault$1 = class ActiveInstanceRefreshNotFoundFault extends AutoScalingServiceException$1 {
|
|
142
122
|
name = "ActiveInstanceRefreshNotFoundFault";
|
|
143
123
|
$fault = "client";
|
|
@@ -150,21 +130,6 @@ let ActiveInstanceRefreshNotFoundFault$1 = class ActiveInstanceRefreshNotFoundFa
|
|
|
150
130
|
Object.setPrototypeOf(this, ActiveInstanceRefreshNotFoundFault.prototype);
|
|
151
131
|
}
|
|
152
132
|
};
|
|
153
|
-
const ScalingActivityStatusCode = {
|
|
154
|
-
Cancelled: "Cancelled",
|
|
155
|
-
Failed: "Failed",
|
|
156
|
-
InProgress: "InProgress",
|
|
157
|
-
MidLifecycleAction: "MidLifecycleAction",
|
|
158
|
-
PendingSpotBidPlacement: "PendingSpotBidPlacement",
|
|
159
|
-
PreInService: "PreInService",
|
|
160
|
-
Successful: "Successful",
|
|
161
|
-
WaitingForConnectionDraining: "WaitingForConnectionDraining",
|
|
162
|
-
WaitingForELBConnectionDraining: "WaitingForELBConnectionDraining",
|
|
163
|
-
WaitingForInstanceId: "WaitingForInstanceId",
|
|
164
|
-
WaitingForInstanceWarmup: "WaitingForInstanceWarmup",
|
|
165
|
-
WaitingForSpotInstanceId: "WaitingForSpotInstanceId",
|
|
166
|
-
WaitingForSpotInstanceRequestId: "WaitingForSpotInstanceRequestId",
|
|
167
|
-
};
|
|
168
133
|
let AlreadyExistsFault$1 = class AlreadyExistsFault extends AutoScalingServiceException$1 {
|
|
169
134
|
name = "AlreadyExistsFault";
|
|
170
135
|
$fault = "client";
|
|
@@ -213,57 +178,6 @@ let LimitExceededFault$1 = class LimitExceededFault extends AutoScalingServiceEx
|
|
|
213
178
|
Object.setPrototypeOf(this, LimitExceededFault.prototype);
|
|
214
179
|
}
|
|
215
180
|
};
|
|
216
|
-
const CapacityDistributionStrategy = {
|
|
217
|
-
BALANCED_BEST_EFFORT: "balanced-best-effort",
|
|
218
|
-
BALANCED_ONLY: "balanced-only",
|
|
219
|
-
};
|
|
220
|
-
const ImpairedZoneHealthCheckBehavior = {
|
|
221
|
-
IgnoreUnhealthy: "IgnoreUnhealthy",
|
|
222
|
-
ReplaceUnhealthy: "ReplaceUnhealthy",
|
|
223
|
-
};
|
|
224
|
-
const CapacityReservationPreference = {
|
|
225
|
-
CapacityReservationsFirst: "capacity-reservations-first",
|
|
226
|
-
CapacityReservationsOnly: "capacity-reservations-only",
|
|
227
|
-
Default: "default",
|
|
228
|
-
None: "none",
|
|
229
|
-
};
|
|
230
|
-
const BareMetal = {
|
|
231
|
-
EXCLUDED: "excluded",
|
|
232
|
-
INCLUDED: "included",
|
|
233
|
-
REQUIRED: "required",
|
|
234
|
-
};
|
|
235
|
-
const BurstablePerformance = {
|
|
236
|
-
EXCLUDED: "excluded",
|
|
237
|
-
INCLUDED: "included",
|
|
238
|
-
REQUIRED: "required",
|
|
239
|
-
};
|
|
240
|
-
const CpuManufacturer = {
|
|
241
|
-
AMAZON_WEB_SERVICES: "amazon-web-services",
|
|
242
|
-
AMD: "amd",
|
|
243
|
-
APPLE: "apple",
|
|
244
|
-
INTEL: "intel",
|
|
245
|
-
};
|
|
246
|
-
const InstanceGeneration = {
|
|
247
|
-
CURRENT: "current",
|
|
248
|
-
PREVIOUS: "previous",
|
|
249
|
-
};
|
|
250
|
-
const LocalStorage = {
|
|
251
|
-
EXCLUDED: "excluded",
|
|
252
|
-
INCLUDED: "included",
|
|
253
|
-
REQUIRED: "required",
|
|
254
|
-
};
|
|
255
|
-
const LocalStorageType = {
|
|
256
|
-
HDD: "hdd",
|
|
257
|
-
SSD: "ssd",
|
|
258
|
-
};
|
|
259
|
-
const InstanceMetadataEndpointState = {
|
|
260
|
-
Disabled: "disabled",
|
|
261
|
-
Enabled: "enabled",
|
|
262
|
-
};
|
|
263
|
-
const InstanceMetadataHttpTokensState = {
|
|
264
|
-
Optional: "optional",
|
|
265
|
-
Required: "required",
|
|
266
|
-
};
|
|
267
181
|
let ResourceInUseFault$1 = class ResourceInUseFault extends AutoScalingServiceException$1 {
|
|
268
182
|
name = "ResourceInUseFault";
|
|
269
183
|
$fault = "client";
|
|
@@ -288,39 +202,6 @@ let ScalingActivityInProgressFault$1 = class ScalingActivityInProgressFault exte
|
|
|
288
202
|
Object.setPrototypeOf(this, ScalingActivityInProgressFault.prototype);
|
|
289
203
|
}
|
|
290
204
|
};
|
|
291
|
-
const LifecycleState = {
|
|
292
|
-
DETACHED: "Detached",
|
|
293
|
-
DETACHING: "Detaching",
|
|
294
|
-
ENTERING_STANDBY: "EnteringStandby",
|
|
295
|
-
IN_SERVICE: "InService",
|
|
296
|
-
PENDING: "Pending",
|
|
297
|
-
PENDING_PROCEED: "Pending:Proceed",
|
|
298
|
-
PENDING_WAIT: "Pending:Wait",
|
|
299
|
-
QUARANTINED: "Quarantined",
|
|
300
|
-
STANDBY: "Standby",
|
|
301
|
-
TERMINATED: "Terminated",
|
|
302
|
-
TERMINATING: "Terminating",
|
|
303
|
-
TERMINATING_PROCEED: "Terminating:Proceed",
|
|
304
|
-
TERMINATING_WAIT: "Terminating:Wait",
|
|
305
|
-
WARMED_HIBERNATED: "Warmed:Hibernated",
|
|
306
|
-
WARMED_PENDING: "Warmed:Pending",
|
|
307
|
-
WARMED_PENDING_PROCEED: "Warmed:Pending:Proceed",
|
|
308
|
-
WARMED_PENDING_WAIT: "Warmed:Pending:Wait",
|
|
309
|
-
WARMED_RUNNING: "Warmed:Running",
|
|
310
|
-
WARMED_STOPPED: "Warmed:Stopped",
|
|
311
|
-
WARMED_TERMINATED: "Warmed:Terminated",
|
|
312
|
-
WARMED_TERMINATING: "Warmed:Terminating",
|
|
313
|
-
WARMED_TERMINATING_PROCEED: "Warmed:Terminating:Proceed",
|
|
314
|
-
WARMED_TERMINATING_WAIT: "Warmed:Terminating:Wait",
|
|
315
|
-
};
|
|
316
|
-
const WarmPoolState = {
|
|
317
|
-
Hibernated: "Hibernated",
|
|
318
|
-
Running: "Running",
|
|
319
|
-
Stopped: "Stopped",
|
|
320
|
-
};
|
|
321
|
-
const WarmPoolStatus = {
|
|
322
|
-
PendingDelete: "PendingDelete",
|
|
323
|
-
};
|
|
324
205
|
let InvalidNextToken$1 = class InvalidNextToken extends AutoScalingServiceException$1 {
|
|
325
206
|
name = "InvalidNextToken";
|
|
326
207
|
$fault = "client";
|
|
@@ -333,66 +214,19 @@ let InvalidNextToken$1 = class InvalidNextToken extends AutoScalingServiceExcept
|
|
|
333
214
|
Object.setPrototypeOf(this, InvalidNextToken.prototype);
|
|
334
215
|
}
|
|
335
216
|
};
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
};
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
Cancelling: "Cancelling",
|
|
350
|
-
Failed: "Failed",
|
|
351
|
-
InProgress: "InProgress",
|
|
352
|
-
Pending: "Pending",
|
|
353
|
-
RollbackFailed: "RollbackFailed",
|
|
354
|
-
RollbackInProgress: "RollbackInProgress",
|
|
355
|
-
RollbackSuccessful: "RollbackSuccessful",
|
|
356
|
-
Successful: "Successful",
|
|
357
|
-
};
|
|
358
|
-
const PredictiveScalingMaxCapacityBreachBehavior = {
|
|
359
|
-
HonorMaxCapacity: "HonorMaxCapacity",
|
|
360
|
-
IncreaseMaxCapacity: "IncreaseMaxCapacity",
|
|
361
|
-
};
|
|
362
|
-
const PredefinedLoadMetricType = {
|
|
363
|
-
ALBTargetGroupRequestCount: "ALBTargetGroupRequestCount",
|
|
364
|
-
ASGTotalCPUUtilization: "ASGTotalCPUUtilization",
|
|
365
|
-
ASGTotalNetworkIn: "ASGTotalNetworkIn",
|
|
366
|
-
ASGTotalNetworkOut: "ASGTotalNetworkOut",
|
|
367
|
-
};
|
|
368
|
-
const PredefinedMetricPairType = {
|
|
369
|
-
ALBRequestCount: "ALBRequestCount",
|
|
370
|
-
ASGCPUUtilization: "ASGCPUUtilization",
|
|
371
|
-
ASGNetworkIn: "ASGNetworkIn",
|
|
372
|
-
ASGNetworkOut: "ASGNetworkOut",
|
|
373
|
-
};
|
|
374
|
-
const PredefinedScalingMetricType = {
|
|
375
|
-
ALBRequestCountPerTarget: "ALBRequestCountPerTarget",
|
|
376
|
-
ASGAverageCPUUtilization: "ASGAverageCPUUtilization",
|
|
377
|
-
ASGAverageNetworkIn: "ASGAverageNetworkIn",
|
|
378
|
-
ASGAverageNetworkOut: "ASGAverageNetworkOut",
|
|
379
|
-
};
|
|
380
|
-
const PredictiveScalingMode = {
|
|
381
|
-
ForecastAndScale: "ForecastAndScale",
|
|
382
|
-
ForecastOnly: "ForecastOnly",
|
|
383
|
-
};
|
|
384
|
-
const MetricStatistic = {
|
|
385
|
-
Average: "Average",
|
|
386
|
-
Maximum: "Maximum",
|
|
387
|
-
Minimum: "Minimum",
|
|
388
|
-
SampleCount: "SampleCount",
|
|
389
|
-
Sum: "Sum",
|
|
390
|
-
};
|
|
391
|
-
const MetricType = {
|
|
392
|
-
ALBRequestCountPerTarget: "ALBRequestCountPerTarget",
|
|
393
|
-
ASGAverageCPUUtilization: "ASGAverageCPUUtilization",
|
|
394
|
-
ASGAverageNetworkIn: "ASGAverageNetworkIn",
|
|
395
|
-
ASGAverageNetworkOut: "ASGAverageNetworkOut",
|
|
217
|
+
let IdempotentParameterMismatchError$1 = class IdempotentParameterMismatchError extends AutoScalingServiceException$1 {
|
|
218
|
+
name = "IdempotentParameterMismatchError";
|
|
219
|
+
$fault = "client";
|
|
220
|
+
Message;
|
|
221
|
+
constructor(opts) {
|
|
222
|
+
super({
|
|
223
|
+
name: "IdempotentParameterMismatchError",
|
|
224
|
+
$fault: "client",
|
|
225
|
+
...opts,
|
|
226
|
+
});
|
|
227
|
+
Object.setPrototypeOf(this, IdempotentParameterMismatchError.prototype);
|
|
228
|
+
this.Message = opts.Message;
|
|
229
|
+
}
|
|
396
230
|
};
|
|
397
231
|
let IrreversibleInstanceRefreshFault$1 = class IrreversibleInstanceRefreshFault extends AutoScalingServiceException$1 {
|
|
398
232
|
name = "IrreversibleInstanceRefreshFault";
|
|
@@ -418,9 +252,6 @@ let InstanceRefreshInProgressFault$1 = class InstanceRefreshInProgressFault exte
|
|
|
418
252
|
Object.setPrototypeOf(this, InstanceRefreshInProgressFault.prototype);
|
|
419
253
|
}
|
|
420
254
|
};
|
|
421
|
-
const RefreshStrategy = {
|
|
422
|
-
Rolling: "Rolling",
|
|
423
|
-
};
|
|
424
255
|
|
|
425
256
|
const _A = "Activities";
|
|
426
257
|
const _AARN = "AlarmARN";
|
|
@@ -469,7 +300,9 @@ const _ATd = "AdjustmentType";
|
|
|
469
300
|
const _ATdj = "AdjustmentTypes";
|
|
470
301
|
const _AZ = "AvailabilityZones";
|
|
471
302
|
const _AZD = "AvailabilityZoneDistribution";
|
|
303
|
+
const _AZI = "AvailabilityZoneId";
|
|
472
304
|
const _AZIP = "AvailabilityZoneImpairmentPolicy";
|
|
305
|
+
const _AZIv = "AvailabilityZoneIds";
|
|
473
306
|
const _AZv = "AvailabilityZone";
|
|
474
307
|
const _Ac = "Activity";
|
|
475
308
|
const _Al = "Alarm";
|
|
@@ -522,6 +355,7 @@ const _CRS = "CapacityReservationSpecification";
|
|
|
522
355
|
const _CRT = "CapacityReservationTarget";
|
|
523
356
|
const _CSMS = "CustomizedScalingMetricSpecification";
|
|
524
357
|
const _CT = "CreatedTime";
|
|
358
|
+
const _CTl = "ClientToken";
|
|
525
359
|
const _Co = "Context";
|
|
526
360
|
const _Coo = "Cooldown";
|
|
527
361
|
const _Cp = "Cpu";
|
|
@@ -635,6 +469,7 @@ const _ESx = "ExitStandby";
|
|
|
635
469
|
const _ET = "EndTime";
|
|
636
470
|
const _En = "Encrypted";
|
|
637
471
|
const _Ena = "Enabled";
|
|
472
|
+
const _Er = "Errors";
|
|
638
473
|
const _Ex = "Expression";
|
|
639
474
|
const _F = "Filters";
|
|
640
475
|
const _FD = "ForceDelete";
|
|
@@ -658,6 +493,8 @@ const _HS = "HealthStatus";
|
|
|
658
493
|
const _HT = "HttpTokens";
|
|
659
494
|
const _HTe = "HeartbeatTimeout";
|
|
660
495
|
const _I = "Instances";
|
|
496
|
+
const _IC = "InstanceCollection";
|
|
497
|
+
const _ICn = "InstanceCollections";
|
|
661
498
|
const _ID = "InstancesDistribution";
|
|
662
499
|
const _IDG = "IncludeDeletedGroups";
|
|
663
500
|
const _IF = "InstanceFamily";
|
|
@@ -672,6 +509,7 @@ const _IM = "InstanceMonitoring";
|
|
|
672
509
|
const _IMO = "InstanceMetadataOptions";
|
|
673
510
|
const _IMP = "InstanceMaintenancePolicy";
|
|
674
511
|
const _INT = "InvalidNextToken";
|
|
512
|
+
const _IPME = "IdempotentParameterMismatchError";
|
|
675
513
|
const _IR = "InstanceRefreshes";
|
|
676
514
|
const _IRI = "InstanceRefreshId";
|
|
677
515
|
const _IRIPF = "InstanceRefreshInProgressFault";
|
|
@@ -725,6 +563,11 @@ const _LHSL = "LifecycleHookSpecificationList";
|
|
|
725
563
|
const _LHSi = "LifecycleHookSpecifications";
|
|
726
564
|
const _LHT = "LifecycleHookTypes";
|
|
727
565
|
const _LHi = "LifecycleHook";
|
|
566
|
+
const _LI = "LaunchInstances";
|
|
567
|
+
const _LIE = "LaunchInstancesError";
|
|
568
|
+
const _LIEa = "LaunchInstancesErrors";
|
|
569
|
+
const _LIR = "LaunchInstancesRequest";
|
|
570
|
+
const _LIRa = "LaunchInstancesResult";
|
|
728
571
|
const _LPP = "LivePoolProgress";
|
|
729
572
|
const _LS = "LifecycleState";
|
|
730
573
|
const _LST = "LocalStorageTypes";
|
|
@@ -771,9 +614,11 @@ const _MSa = "MaxSize";
|
|
|
771
614
|
const _MSe = "MetricSpecification";
|
|
772
615
|
const _MSet = "MetricStat";
|
|
773
616
|
const _MSetr = "MetricSpecifications";
|
|
617
|
+
const _MT = "MarketType";
|
|
774
618
|
const _MV = "MetricValue";
|
|
775
619
|
const _Ma = "Max";
|
|
776
620
|
const _Me = "Metrics";
|
|
621
|
+
const _Mes = "Message";
|
|
777
622
|
const _Met = "Metric";
|
|
778
623
|
const _Mo = "Mode";
|
|
779
624
|
const _N = "Namespace";
|
|
@@ -852,6 +697,7 @@ const _Pr = "Preferences";
|
|
|
852
697
|
const _Pro = "Processes";
|
|
853
698
|
const _R = "References";
|
|
854
699
|
const _RARN = "RoleARN";
|
|
700
|
+
const _RC = "RequestedCapacity";
|
|
855
701
|
const _RCF = "ResourceContentionFault";
|
|
856
702
|
const _RD = "RollbackDetails";
|
|
857
703
|
const _RDe = "ReturnData";
|
|
@@ -870,6 +716,7 @@ const _ROSI = "ReuseOnScaleIn";
|
|
|
870
716
|
const _RP = "RefreshPreferences";
|
|
871
717
|
const _RPe = "ResumeProcesses";
|
|
872
718
|
const _RR = "RollbackReason";
|
|
719
|
+
const _RS = "RetryStrategy";
|
|
873
720
|
const _RST = "RollbackStartTime";
|
|
874
721
|
const _RT = "ResourceType";
|
|
875
722
|
const _Re = "Reference";
|
|
@@ -902,6 +749,8 @@ const _SIR = "StartInstanceRefresh";
|
|
|
902
749
|
const _SIRA = "StartInstanceRefreshAnswer";
|
|
903
750
|
const _SIRT = "StartInstanceRefreshType";
|
|
904
751
|
const _SIt = "StandbyInstances";
|
|
752
|
+
const _SIu = "SubnetId";
|
|
753
|
+
const _SIub = "SubnetIds";
|
|
905
754
|
const _SLRARN = "ServiceLinkedRoleARN";
|
|
906
755
|
const _SLRF = "ServiceLinkedRoleFailure";
|
|
907
756
|
const _SM = "StatusMessage";
|
|
@@ -1555,6 +1404,19 @@ var GetPredictiveScalingForecastType = [
|
|
|
1555
1404
|
[_ASGN, _PN, _ST, _ET],
|
|
1556
1405
|
[0, 0, 4, 4],
|
|
1557
1406
|
];
|
|
1407
|
+
var IdempotentParameterMismatchError = [
|
|
1408
|
+
-3,
|
|
1409
|
+
n0,
|
|
1410
|
+
_IPME,
|
|
1411
|
+
{
|
|
1412
|
+
[_e]: _c,
|
|
1413
|
+
[_hE]: 400,
|
|
1414
|
+
[_aQE]: [`IdempotentParameterMismatch`, 400],
|
|
1415
|
+
},
|
|
1416
|
+
[_Mes],
|
|
1417
|
+
[0],
|
|
1418
|
+
];
|
|
1419
|
+
schema.TypeRegistry.for(n0).registerError(IdempotentParameterMismatchError, IdempotentParameterMismatchError$1);
|
|
1558
1420
|
var Instance = [
|
|
1559
1421
|
3,
|
|
1560
1422
|
n0,
|
|
@@ -1563,6 +1425,14 @@ var Instance = [
|
|
|
1563
1425
|
[_IIns, _IT, _AZv, _LS, _HS, _LCN, _LT, _PFSI, _WC],
|
|
1564
1426
|
[0, 0, 0, 0, 0, 0, () => LaunchTemplateSpecification, 2, 0],
|
|
1565
1427
|
];
|
|
1428
|
+
var InstanceCollection = [
|
|
1429
|
+
3,
|
|
1430
|
+
n0,
|
|
1431
|
+
_IC,
|
|
1432
|
+
0,
|
|
1433
|
+
[_IT, _MT, _SIu, _AZv, _AZI, _II],
|
|
1434
|
+
[0, 0, 0, 0, 0, 64 | 0],
|
|
1435
|
+
];
|
|
1566
1436
|
var InstanceMaintenancePolicy = [3, n0, _IMP, 0, [_MHP, _MHPa], [1, 1]];
|
|
1567
1437
|
var InstanceMetadataOptions = [3, n0, _IMO, 0, [_HT, _HPRHL, _HE], [0, 1, 0]];
|
|
1568
1438
|
var InstanceMonitoring = [3, n0, _IM, 0, [_Ena], [2]];
|
|
@@ -1765,6 +1635,30 @@ var LaunchConfigurationsType = [
|
|
|
1765
1635
|
[_LCa, _NT],
|
|
1766
1636
|
[() => LaunchConfigurations, 0],
|
|
1767
1637
|
];
|
|
1638
|
+
var LaunchInstancesError = [
|
|
1639
|
+
3,
|
|
1640
|
+
n0,
|
|
1641
|
+
_LIE,
|
|
1642
|
+
0,
|
|
1643
|
+
[_IT, _MT, _SIu, _AZv, _AZI, _EC, _EMr],
|
|
1644
|
+
[0, 0, 0, 0, 0, 0, 0],
|
|
1645
|
+
];
|
|
1646
|
+
var LaunchInstancesRequest = [
|
|
1647
|
+
3,
|
|
1648
|
+
n0,
|
|
1649
|
+
_LIR,
|
|
1650
|
+
0,
|
|
1651
|
+
[_ASGN, _RC, _CTl, _AZ, _AZIv, _SIub, _RS],
|
|
1652
|
+
[0, 1, [0, 4], 64 | 0, 64 | 0, 64 | 0, 0],
|
|
1653
|
+
];
|
|
1654
|
+
var LaunchInstancesResult = [
|
|
1655
|
+
3,
|
|
1656
|
+
n0,
|
|
1657
|
+
_LIRa,
|
|
1658
|
+
0,
|
|
1659
|
+
[_ASGN, _CTl, _I, _Er],
|
|
1660
|
+
[0, 0, () => InstanceCollections, () => LaunchInstancesErrors],
|
|
1661
|
+
];
|
|
1768
1662
|
var LaunchTemplate = [
|
|
1769
1663
|
3,
|
|
1770
1664
|
n0,
|
|
@@ -2232,9 +2126,11 @@ var FailedScheduledUpdateGroupActionRequests = [
|
|
|
2232
2126
|
() => FailedScheduledUpdateGroupActionRequest,
|
|
2233
2127
|
];
|
|
2234
2128
|
var Filters = [1, n0, _F, 0, () => Filter];
|
|
2129
|
+
var InstanceCollections = [1, n0, _ICn, 0, () => InstanceCollection];
|
|
2235
2130
|
var InstanceRefreshes = [1, n0, _IR, 0, [() => InstanceRefresh, 0]];
|
|
2236
2131
|
var Instances = [1, n0, _I, 0, () => Instance];
|
|
2237
2132
|
var LaunchConfigurations = [1, n0, _LCa, 0, () => LaunchConfiguration];
|
|
2133
|
+
var LaunchInstancesErrors = [1, n0, _LIEa, 0, () => LaunchInstancesError];
|
|
2238
2134
|
var LifecycleHooks = [1, n0, _LH, 0, () => LifecycleHook];
|
|
2239
2135
|
var LifecycleHookSpecifications = [1, n0, _LHSi, 0, () => LifecycleHookSpecification];
|
|
2240
2136
|
var LoadBalancerStates = [1, n0, _LBSo, 0, () => LoadBalancerState];
|
|
@@ -2612,6 +2508,14 @@ var GetPredictiveScalingForecast = [
|
|
|
2612
2508
|
() => GetPredictiveScalingForecastType,
|
|
2613
2509
|
() => GetPredictiveScalingForecastAnswer,
|
|
2614
2510
|
];
|
|
2511
|
+
var LaunchInstances = [
|
|
2512
|
+
9,
|
|
2513
|
+
n0,
|
|
2514
|
+
_LI,
|
|
2515
|
+
0,
|
|
2516
|
+
() => LaunchInstancesRequest,
|
|
2517
|
+
() => LaunchInstancesResult,
|
|
2518
|
+
];
|
|
2615
2519
|
var PutLifecycleHook = [
|
|
2616
2520
|
9,
|
|
2617
2521
|
n0,
|
|
@@ -3291,6 +3195,18 @@ class GetPredictiveScalingForecastCommand extends smithyClient.Command
|
|
|
3291
3195
|
.build() {
|
|
3292
3196
|
}
|
|
3293
3197
|
|
|
3198
|
+
class LaunchInstancesCommand extends smithyClient.Command
|
|
3199
|
+
.classBuilder()
|
|
3200
|
+
.ep(commonParams)
|
|
3201
|
+
.m(function (Command, cs, config, o) {
|
|
3202
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
3203
|
+
})
|
|
3204
|
+
.s("AutoScaling_2011_01_01", "LaunchInstances", {})
|
|
3205
|
+
.n("AutoScalingClient", "LaunchInstancesCommand")
|
|
3206
|
+
.sc(LaunchInstances)
|
|
3207
|
+
.build() {
|
|
3208
|
+
}
|
|
3209
|
+
|
|
3294
3210
|
class PutLifecycleHookCommand extends smithyClient.Command
|
|
3295
3211
|
.classBuilder()
|
|
3296
3212
|
.ep(commonParams)
|
|
@@ -3522,6 +3438,7 @@ const commands = {
|
|
|
3522
3438
|
ExecutePolicyCommand,
|
|
3523
3439
|
ExitStandbyCommand,
|
|
3524
3440
|
GetPredictiveScalingForecastCommand,
|
|
3441
|
+
LaunchInstancesCommand,
|
|
3525
3442
|
PutLifecycleHookCommand,
|
|
3526
3443
|
PutNotificationConfigurationCommand,
|
|
3527
3444
|
PutScalingPolicyCommand,
|
|
@@ -3707,6 +3624,194 @@ const waitUntilGroupNotExists = async (params, input) => {
|
|
|
3707
3624
|
return utilWaiter.checkExceptions(result);
|
|
3708
3625
|
};
|
|
3709
3626
|
|
|
3627
|
+
const AcceleratorManufacturer = {
|
|
3628
|
+
AMAZON_WEB_SERVICES: "amazon-web-services",
|
|
3629
|
+
AMD: "amd",
|
|
3630
|
+
NVIDIA: "nvidia",
|
|
3631
|
+
XILINX: "xilinx",
|
|
3632
|
+
};
|
|
3633
|
+
const AcceleratorName = {
|
|
3634
|
+
A100: "a100",
|
|
3635
|
+
K80: "k80",
|
|
3636
|
+
M60: "m60",
|
|
3637
|
+
RADEON_PRO_V520: "radeon-pro-v520",
|
|
3638
|
+
T4: "t4",
|
|
3639
|
+
V100: "v100",
|
|
3640
|
+
VU9P: "vu9p",
|
|
3641
|
+
};
|
|
3642
|
+
const AcceleratorType = {
|
|
3643
|
+
FPGA: "fpga",
|
|
3644
|
+
GPU: "gpu",
|
|
3645
|
+
INFERENCE: "inference",
|
|
3646
|
+
};
|
|
3647
|
+
const ScalingActivityStatusCode = {
|
|
3648
|
+
Cancelled: "Cancelled",
|
|
3649
|
+
Failed: "Failed",
|
|
3650
|
+
InProgress: "InProgress",
|
|
3651
|
+
MidLifecycleAction: "MidLifecycleAction",
|
|
3652
|
+
PendingSpotBidPlacement: "PendingSpotBidPlacement",
|
|
3653
|
+
PreInService: "PreInService",
|
|
3654
|
+
Successful: "Successful",
|
|
3655
|
+
WaitingForConnectionDraining: "WaitingForConnectionDraining",
|
|
3656
|
+
WaitingForELBConnectionDraining: "WaitingForELBConnectionDraining",
|
|
3657
|
+
WaitingForInstanceId: "WaitingForInstanceId",
|
|
3658
|
+
WaitingForInstanceWarmup: "WaitingForInstanceWarmup",
|
|
3659
|
+
WaitingForSpotInstanceId: "WaitingForSpotInstanceId",
|
|
3660
|
+
WaitingForSpotInstanceRequestId: "WaitingForSpotInstanceRequestId",
|
|
3661
|
+
};
|
|
3662
|
+
const CapacityDistributionStrategy = {
|
|
3663
|
+
BALANCED_BEST_EFFORT: "balanced-best-effort",
|
|
3664
|
+
BALANCED_ONLY: "balanced-only",
|
|
3665
|
+
};
|
|
3666
|
+
const ImpairedZoneHealthCheckBehavior = {
|
|
3667
|
+
IgnoreUnhealthy: "IgnoreUnhealthy",
|
|
3668
|
+
ReplaceUnhealthy: "ReplaceUnhealthy",
|
|
3669
|
+
};
|
|
3670
|
+
const CapacityReservationPreference = {
|
|
3671
|
+
CapacityReservationsFirst: "capacity-reservations-first",
|
|
3672
|
+
CapacityReservationsOnly: "capacity-reservations-only",
|
|
3673
|
+
Default: "default",
|
|
3674
|
+
None: "none",
|
|
3675
|
+
};
|
|
3676
|
+
const BareMetal = {
|
|
3677
|
+
EXCLUDED: "excluded",
|
|
3678
|
+
INCLUDED: "included",
|
|
3679
|
+
REQUIRED: "required",
|
|
3680
|
+
};
|
|
3681
|
+
const BurstablePerformance = {
|
|
3682
|
+
EXCLUDED: "excluded",
|
|
3683
|
+
INCLUDED: "included",
|
|
3684
|
+
REQUIRED: "required",
|
|
3685
|
+
};
|
|
3686
|
+
const CpuManufacturer = {
|
|
3687
|
+
AMAZON_WEB_SERVICES: "amazon-web-services",
|
|
3688
|
+
AMD: "amd",
|
|
3689
|
+
APPLE: "apple",
|
|
3690
|
+
INTEL: "intel",
|
|
3691
|
+
};
|
|
3692
|
+
const InstanceGeneration = {
|
|
3693
|
+
CURRENT: "current",
|
|
3694
|
+
PREVIOUS: "previous",
|
|
3695
|
+
};
|
|
3696
|
+
const LocalStorage = {
|
|
3697
|
+
EXCLUDED: "excluded",
|
|
3698
|
+
INCLUDED: "included",
|
|
3699
|
+
REQUIRED: "required",
|
|
3700
|
+
};
|
|
3701
|
+
const LocalStorageType = {
|
|
3702
|
+
HDD: "hdd",
|
|
3703
|
+
SSD: "ssd",
|
|
3704
|
+
};
|
|
3705
|
+
const InstanceMetadataEndpointState = {
|
|
3706
|
+
Disabled: "disabled",
|
|
3707
|
+
Enabled: "enabled",
|
|
3708
|
+
};
|
|
3709
|
+
const InstanceMetadataHttpTokensState = {
|
|
3710
|
+
Optional: "optional",
|
|
3711
|
+
Required: "required",
|
|
3712
|
+
};
|
|
3713
|
+
const LifecycleState = {
|
|
3714
|
+
DETACHED: "Detached",
|
|
3715
|
+
DETACHING: "Detaching",
|
|
3716
|
+
ENTERING_STANDBY: "EnteringStandby",
|
|
3717
|
+
IN_SERVICE: "InService",
|
|
3718
|
+
PENDING: "Pending",
|
|
3719
|
+
PENDING_PROCEED: "Pending:Proceed",
|
|
3720
|
+
PENDING_WAIT: "Pending:Wait",
|
|
3721
|
+
QUARANTINED: "Quarantined",
|
|
3722
|
+
STANDBY: "Standby",
|
|
3723
|
+
TERMINATED: "Terminated",
|
|
3724
|
+
TERMINATING: "Terminating",
|
|
3725
|
+
TERMINATING_PROCEED: "Terminating:Proceed",
|
|
3726
|
+
TERMINATING_WAIT: "Terminating:Wait",
|
|
3727
|
+
WARMED_HIBERNATED: "Warmed:Hibernated",
|
|
3728
|
+
WARMED_PENDING: "Warmed:Pending",
|
|
3729
|
+
WARMED_PENDING_PROCEED: "Warmed:Pending:Proceed",
|
|
3730
|
+
WARMED_PENDING_WAIT: "Warmed:Pending:Wait",
|
|
3731
|
+
WARMED_RUNNING: "Warmed:Running",
|
|
3732
|
+
WARMED_STOPPED: "Warmed:Stopped",
|
|
3733
|
+
WARMED_TERMINATED: "Warmed:Terminated",
|
|
3734
|
+
WARMED_TERMINATING: "Warmed:Terminating",
|
|
3735
|
+
WARMED_TERMINATING_PROCEED: "Warmed:Terminating:Proceed",
|
|
3736
|
+
WARMED_TERMINATING_WAIT: "Warmed:Terminating:Wait",
|
|
3737
|
+
};
|
|
3738
|
+
const WarmPoolState = {
|
|
3739
|
+
Hibernated: "Hibernated",
|
|
3740
|
+
Running: "Running",
|
|
3741
|
+
Stopped: "Stopped",
|
|
3742
|
+
};
|
|
3743
|
+
const WarmPoolStatus = {
|
|
3744
|
+
PendingDelete: "PendingDelete",
|
|
3745
|
+
};
|
|
3746
|
+
const ScaleInProtectedInstances = {
|
|
3747
|
+
Ignore: "Ignore",
|
|
3748
|
+
Refresh: "Refresh",
|
|
3749
|
+
Wait: "Wait",
|
|
3750
|
+
};
|
|
3751
|
+
const StandbyInstances = {
|
|
3752
|
+
Ignore: "Ignore",
|
|
3753
|
+
Terminate: "Terminate",
|
|
3754
|
+
Wait: "Wait",
|
|
3755
|
+
};
|
|
3756
|
+
const InstanceRefreshStatus = {
|
|
3757
|
+
Baking: "Baking",
|
|
3758
|
+
Cancelled: "Cancelled",
|
|
3759
|
+
Cancelling: "Cancelling",
|
|
3760
|
+
Failed: "Failed",
|
|
3761
|
+
InProgress: "InProgress",
|
|
3762
|
+
Pending: "Pending",
|
|
3763
|
+
RollbackFailed: "RollbackFailed",
|
|
3764
|
+
RollbackInProgress: "RollbackInProgress",
|
|
3765
|
+
RollbackSuccessful: "RollbackSuccessful",
|
|
3766
|
+
Successful: "Successful",
|
|
3767
|
+
};
|
|
3768
|
+
const PredictiveScalingMaxCapacityBreachBehavior = {
|
|
3769
|
+
HonorMaxCapacity: "HonorMaxCapacity",
|
|
3770
|
+
IncreaseMaxCapacity: "IncreaseMaxCapacity",
|
|
3771
|
+
};
|
|
3772
|
+
const PredefinedLoadMetricType = {
|
|
3773
|
+
ALBTargetGroupRequestCount: "ALBTargetGroupRequestCount",
|
|
3774
|
+
ASGTotalCPUUtilization: "ASGTotalCPUUtilization",
|
|
3775
|
+
ASGTotalNetworkIn: "ASGTotalNetworkIn",
|
|
3776
|
+
ASGTotalNetworkOut: "ASGTotalNetworkOut",
|
|
3777
|
+
};
|
|
3778
|
+
const PredefinedMetricPairType = {
|
|
3779
|
+
ALBRequestCount: "ALBRequestCount",
|
|
3780
|
+
ASGCPUUtilization: "ASGCPUUtilization",
|
|
3781
|
+
ASGNetworkIn: "ASGNetworkIn",
|
|
3782
|
+
ASGNetworkOut: "ASGNetworkOut",
|
|
3783
|
+
};
|
|
3784
|
+
const PredefinedScalingMetricType = {
|
|
3785
|
+
ALBRequestCountPerTarget: "ALBRequestCountPerTarget",
|
|
3786
|
+
ASGAverageCPUUtilization: "ASGAverageCPUUtilization",
|
|
3787
|
+
ASGAverageNetworkIn: "ASGAverageNetworkIn",
|
|
3788
|
+
ASGAverageNetworkOut: "ASGAverageNetworkOut",
|
|
3789
|
+
};
|
|
3790
|
+
const PredictiveScalingMode = {
|
|
3791
|
+
ForecastAndScale: "ForecastAndScale",
|
|
3792
|
+
ForecastOnly: "ForecastOnly",
|
|
3793
|
+
};
|
|
3794
|
+
const MetricStatistic = {
|
|
3795
|
+
Average: "Average",
|
|
3796
|
+
Maximum: "Maximum",
|
|
3797
|
+
Minimum: "Minimum",
|
|
3798
|
+
SampleCount: "SampleCount",
|
|
3799
|
+
Sum: "Sum",
|
|
3800
|
+
};
|
|
3801
|
+
const MetricType = {
|
|
3802
|
+
ALBRequestCountPerTarget: "ALBRequestCountPerTarget",
|
|
3803
|
+
ASGAverageCPUUtilization: "ASGAverageCPUUtilization",
|
|
3804
|
+
ASGAverageNetworkIn: "ASGAverageNetworkIn",
|
|
3805
|
+
ASGAverageNetworkOut: "ASGAverageNetworkOut",
|
|
3806
|
+
};
|
|
3807
|
+
const RetryStrategy = {
|
|
3808
|
+
NONE: "none",
|
|
3809
|
+
RETRY_WITH_GROUP_CONFIGURATION: "retry-with-group-configuration",
|
|
3810
|
+
};
|
|
3811
|
+
const RefreshStrategy = {
|
|
3812
|
+
Rolling: "Rolling",
|
|
3813
|
+
};
|
|
3814
|
+
|
|
3710
3815
|
Object.defineProperty(exports, "$Command", {
|
|
3711
3816
|
enumerable: true,
|
|
3712
3817
|
get: function () { return smithyClient.Command; }
|
|
@@ -3778,6 +3883,7 @@ exports.EnterStandbyCommand = EnterStandbyCommand;
|
|
|
3778
3883
|
exports.ExecutePolicyCommand = ExecutePolicyCommand;
|
|
3779
3884
|
exports.ExitStandbyCommand = ExitStandbyCommand;
|
|
3780
3885
|
exports.GetPredictiveScalingForecastCommand = GetPredictiveScalingForecastCommand;
|
|
3886
|
+
exports.IdempotentParameterMismatchError = IdempotentParameterMismatchError$1;
|
|
3781
3887
|
exports.ImpairedZoneHealthCheckBehavior = ImpairedZoneHealthCheckBehavior;
|
|
3782
3888
|
exports.InstanceGeneration = InstanceGeneration;
|
|
3783
3889
|
exports.InstanceMetadataEndpointState = InstanceMetadataEndpointState;
|
|
@@ -3786,6 +3892,7 @@ exports.InstanceRefreshInProgressFault = InstanceRefreshInProgressFault$1;
|
|
|
3786
3892
|
exports.InstanceRefreshStatus = InstanceRefreshStatus;
|
|
3787
3893
|
exports.InvalidNextToken = InvalidNextToken$1;
|
|
3788
3894
|
exports.IrreversibleInstanceRefreshFault = IrreversibleInstanceRefreshFault$1;
|
|
3895
|
+
exports.LaunchInstancesCommand = LaunchInstancesCommand;
|
|
3789
3896
|
exports.LifecycleState = LifecycleState;
|
|
3790
3897
|
exports.LimitExceededFault = LimitExceededFault$1;
|
|
3791
3898
|
exports.LocalStorage = LocalStorage;
|
|
@@ -3807,6 +3914,7 @@ exports.RefreshStrategy = RefreshStrategy;
|
|
|
3807
3914
|
exports.ResourceContentionFault = ResourceContentionFault$1;
|
|
3808
3915
|
exports.ResourceInUseFault = ResourceInUseFault$1;
|
|
3809
3916
|
exports.ResumeProcessesCommand = ResumeProcessesCommand;
|
|
3917
|
+
exports.RetryStrategy = RetryStrategy;
|
|
3810
3918
|
exports.RollbackInstanceRefreshCommand = RollbackInstanceRefreshCommand;
|
|
3811
3919
|
exports.ScaleInProtectedInstances = ScaleInProtectedInstances;
|
|
3812
3920
|
exports.ScalingActivityInProgressFault = ScalingActivityInProgressFault$1;
|
package/dist-es/AutoScaling.js
CHANGED
|
@@ -50,6 +50,7 @@ import { EnterStandbyCommand, } from "./commands/EnterStandbyCommand";
|
|
|
50
50
|
import { ExecutePolicyCommand, } from "./commands/ExecutePolicyCommand";
|
|
51
51
|
import { ExitStandbyCommand } from "./commands/ExitStandbyCommand";
|
|
52
52
|
import { GetPredictiveScalingForecastCommand, } from "./commands/GetPredictiveScalingForecastCommand";
|
|
53
|
+
import { LaunchInstancesCommand, } from "./commands/LaunchInstancesCommand";
|
|
53
54
|
import { PutLifecycleHookCommand, } from "./commands/PutLifecycleHookCommand";
|
|
54
55
|
import { PutNotificationConfigurationCommand, } from "./commands/PutNotificationConfigurationCommand";
|
|
55
56
|
import { PutScalingPolicyCommand, } from "./commands/PutScalingPolicyCommand";
|
|
@@ -116,6 +117,7 @@ const commands = {
|
|
|
116
117
|
ExecutePolicyCommand,
|
|
117
118
|
ExitStandbyCommand,
|
|
118
119
|
GetPredictiveScalingForecastCommand,
|
|
120
|
+
LaunchInstancesCommand,
|
|
119
121
|
PutLifecycleHookCommand,
|
|
120
122
|
PutNotificationConfigurationCommand,
|
|
121
123
|
PutScalingPolicyCommand,
|