@aws-sdk/client-auto-scaling 3.934.0 → 3.936.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/dist-cjs/index.js +188 -187
- 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 -322
- package/dist-es/schemas/schemas_0.js +1 -1
- 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 +1 -574
- 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 +32 -323
- package/package.json +19 -19
- 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/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,67 +214,6 @@ let InvalidNextToken$1 = class InvalidNextToken extends AutoScalingServiceExcept
|
|
|
333
214
|
Object.setPrototypeOf(this, InvalidNextToken.prototype);
|
|
334
215
|
}
|
|
335
216
|
};
|
|
336
|
-
const ScaleInProtectedInstances = {
|
|
337
|
-
Ignore: "Ignore",
|
|
338
|
-
Refresh: "Refresh",
|
|
339
|
-
Wait: "Wait",
|
|
340
|
-
};
|
|
341
|
-
const StandbyInstances = {
|
|
342
|
-
Ignore: "Ignore",
|
|
343
|
-
Terminate: "Terminate",
|
|
344
|
-
Wait: "Wait",
|
|
345
|
-
};
|
|
346
|
-
const InstanceRefreshStatus = {
|
|
347
|
-
Baking: "Baking",
|
|
348
|
-
Cancelled: "Cancelled",
|
|
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",
|
|
396
|
-
};
|
|
397
217
|
let IdempotentParameterMismatchError$1 = class IdempotentParameterMismatchError extends AutoScalingServiceException$1 {
|
|
398
218
|
name = "IdempotentParameterMismatchError";
|
|
399
219
|
$fault = "client";
|
|
@@ -408,10 +228,6 @@ let IdempotentParameterMismatchError$1 = class IdempotentParameterMismatchError
|
|
|
408
228
|
this.Message = opts.Message;
|
|
409
229
|
}
|
|
410
230
|
};
|
|
411
|
-
const RetryStrategy = {
|
|
412
|
-
NONE: "none",
|
|
413
|
-
RETRY_WITH_GROUP_CONFIGURATION: "retry-with-group-configuration",
|
|
414
|
-
};
|
|
415
231
|
let IrreversibleInstanceRefreshFault$1 = class IrreversibleInstanceRefreshFault extends AutoScalingServiceException$1 {
|
|
416
232
|
name = "IrreversibleInstanceRefreshFault";
|
|
417
233
|
$fault = "client";
|
|
@@ -436,9 +252,6 @@ let InstanceRefreshInProgressFault$1 = class InstanceRefreshInProgressFault exte
|
|
|
436
252
|
Object.setPrototypeOf(this, InstanceRefreshInProgressFault.prototype);
|
|
437
253
|
}
|
|
438
254
|
};
|
|
439
|
-
const RefreshStrategy = {
|
|
440
|
-
Rolling: "Rolling",
|
|
441
|
-
};
|
|
442
255
|
|
|
443
256
|
const _A = "Activities";
|
|
444
257
|
const _AARN = "AlarmARN";
|
|
@@ -3811,6 +3624,194 @@ const waitUntilGroupNotExists = async (params, input) => {
|
|
|
3811
3624
|
return utilWaiter.checkExceptions(result);
|
|
3812
3625
|
};
|
|
3813
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
|
+
|
|
3814
3815
|
Object.defineProperty(exports, "$Command", {
|
|
3815
3816
|
enumerable: true,
|
|
3816
3817
|
get: function () { return smithyClient.Command; }
|
package/dist-es/index.js
CHANGED
|
@@ -3,5 +3,6 @@ export * from "./AutoScaling";
|
|
|
3
3
|
export * from "./commands";
|
|
4
4
|
export * from "./pagination";
|
|
5
5
|
export * from "./waiters";
|
|
6
|
-
export * from "./models";
|
|
6
|
+
export * from "./models/enums";
|
|
7
|
+
export * from "./models/errors";
|
|
7
8
|
export { AutoScalingServiceException } from "./models/AutoScalingServiceException";
|
|
@@ -0,0 +1,187 @@
|
|
|
1
|
+
export const AcceleratorManufacturer = {
|
|
2
|
+
AMAZON_WEB_SERVICES: "amazon-web-services",
|
|
3
|
+
AMD: "amd",
|
|
4
|
+
NVIDIA: "nvidia",
|
|
5
|
+
XILINX: "xilinx",
|
|
6
|
+
};
|
|
7
|
+
export const AcceleratorName = {
|
|
8
|
+
A100: "a100",
|
|
9
|
+
K80: "k80",
|
|
10
|
+
M60: "m60",
|
|
11
|
+
RADEON_PRO_V520: "radeon-pro-v520",
|
|
12
|
+
T4: "t4",
|
|
13
|
+
V100: "v100",
|
|
14
|
+
VU9P: "vu9p",
|
|
15
|
+
};
|
|
16
|
+
export const AcceleratorType = {
|
|
17
|
+
FPGA: "fpga",
|
|
18
|
+
GPU: "gpu",
|
|
19
|
+
INFERENCE: "inference",
|
|
20
|
+
};
|
|
21
|
+
export const ScalingActivityStatusCode = {
|
|
22
|
+
Cancelled: "Cancelled",
|
|
23
|
+
Failed: "Failed",
|
|
24
|
+
InProgress: "InProgress",
|
|
25
|
+
MidLifecycleAction: "MidLifecycleAction",
|
|
26
|
+
PendingSpotBidPlacement: "PendingSpotBidPlacement",
|
|
27
|
+
PreInService: "PreInService",
|
|
28
|
+
Successful: "Successful",
|
|
29
|
+
WaitingForConnectionDraining: "WaitingForConnectionDraining",
|
|
30
|
+
WaitingForELBConnectionDraining: "WaitingForELBConnectionDraining",
|
|
31
|
+
WaitingForInstanceId: "WaitingForInstanceId",
|
|
32
|
+
WaitingForInstanceWarmup: "WaitingForInstanceWarmup",
|
|
33
|
+
WaitingForSpotInstanceId: "WaitingForSpotInstanceId",
|
|
34
|
+
WaitingForSpotInstanceRequestId: "WaitingForSpotInstanceRequestId",
|
|
35
|
+
};
|
|
36
|
+
export const CapacityDistributionStrategy = {
|
|
37
|
+
BALANCED_BEST_EFFORT: "balanced-best-effort",
|
|
38
|
+
BALANCED_ONLY: "balanced-only",
|
|
39
|
+
};
|
|
40
|
+
export const ImpairedZoneHealthCheckBehavior = {
|
|
41
|
+
IgnoreUnhealthy: "IgnoreUnhealthy",
|
|
42
|
+
ReplaceUnhealthy: "ReplaceUnhealthy",
|
|
43
|
+
};
|
|
44
|
+
export const CapacityReservationPreference = {
|
|
45
|
+
CapacityReservationsFirst: "capacity-reservations-first",
|
|
46
|
+
CapacityReservationsOnly: "capacity-reservations-only",
|
|
47
|
+
Default: "default",
|
|
48
|
+
None: "none",
|
|
49
|
+
};
|
|
50
|
+
export const BareMetal = {
|
|
51
|
+
EXCLUDED: "excluded",
|
|
52
|
+
INCLUDED: "included",
|
|
53
|
+
REQUIRED: "required",
|
|
54
|
+
};
|
|
55
|
+
export const BurstablePerformance = {
|
|
56
|
+
EXCLUDED: "excluded",
|
|
57
|
+
INCLUDED: "included",
|
|
58
|
+
REQUIRED: "required",
|
|
59
|
+
};
|
|
60
|
+
export const CpuManufacturer = {
|
|
61
|
+
AMAZON_WEB_SERVICES: "amazon-web-services",
|
|
62
|
+
AMD: "amd",
|
|
63
|
+
APPLE: "apple",
|
|
64
|
+
INTEL: "intel",
|
|
65
|
+
};
|
|
66
|
+
export const InstanceGeneration = {
|
|
67
|
+
CURRENT: "current",
|
|
68
|
+
PREVIOUS: "previous",
|
|
69
|
+
};
|
|
70
|
+
export const LocalStorage = {
|
|
71
|
+
EXCLUDED: "excluded",
|
|
72
|
+
INCLUDED: "included",
|
|
73
|
+
REQUIRED: "required",
|
|
74
|
+
};
|
|
75
|
+
export const LocalStorageType = {
|
|
76
|
+
HDD: "hdd",
|
|
77
|
+
SSD: "ssd",
|
|
78
|
+
};
|
|
79
|
+
export const InstanceMetadataEndpointState = {
|
|
80
|
+
Disabled: "disabled",
|
|
81
|
+
Enabled: "enabled",
|
|
82
|
+
};
|
|
83
|
+
export const InstanceMetadataHttpTokensState = {
|
|
84
|
+
Optional: "optional",
|
|
85
|
+
Required: "required",
|
|
86
|
+
};
|
|
87
|
+
export const LifecycleState = {
|
|
88
|
+
DETACHED: "Detached",
|
|
89
|
+
DETACHING: "Detaching",
|
|
90
|
+
ENTERING_STANDBY: "EnteringStandby",
|
|
91
|
+
IN_SERVICE: "InService",
|
|
92
|
+
PENDING: "Pending",
|
|
93
|
+
PENDING_PROCEED: "Pending:Proceed",
|
|
94
|
+
PENDING_WAIT: "Pending:Wait",
|
|
95
|
+
QUARANTINED: "Quarantined",
|
|
96
|
+
STANDBY: "Standby",
|
|
97
|
+
TERMINATED: "Terminated",
|
|
98
|
+
TERMINATING: "Terminating",
|
|
99
|
+
TERMINATING_PROCEED: "Terminating:Proceed",
|
|
100
|
+
TERMINATING_WAIT: "Terminating:Wait",
|
|
101
|
+
WARMED_HIBERNATED: "Warmed:Hibernated",
|
|
102
|
+
WARMED_PENDING: "Warmed:Pending",
|
|
103
|
+
WARMED_PENDING_PROCEED: "Warmed:Pending:Proceed",
|
|
104
|
+
WARMED_PENDING_WAIT: "Warmed:Pending:Wait",
|
|
105
|
+
WARMED_RUNNING: "Warmed:Running",
|
|
106
|
+
WARMED_STOPPED: "Warmed:Stopped",
|
|
107
|
+
WARMED_TERMINATED: "Warmed:Terminated",
|
|
108
|
+
WARMED_TERMINATING: "Warmed:Terminating",
|
|
109
|
+
WARMED_TERMINATING_PROCEED: "Warmed:Terminating:Proceed",
|
|
110
|
+
WARMED_TERMINATING_WAIT: "Warmed:Terminating:Wait",
|
|
111
|
+
};
|
|
112
|
+
export const WarmPoolState = {
|
|
113
|
+
Hibernated: "Hibernated",
|
|
114
|
+
Running: "Running",
|
|
115
|
+
Stopped: "Stopped",
|
|
116
|
+
};
|
|
117
|
+
export const WarmPoolStatus = {
|
|
118
|
+
PendingDelete: "PendingDelete",
|
|
119
|
+
};
|
|
120
|
+
export const ScaleInProtectedInstances = {
|
|
121
|
+
Ignore: "Ignore",
|
|
122
|
+
Refresh: "Refresh",
|
|
123
|
+
Wait: "Wait",
|
|
124
|
+
};
|
|
125
|
+
export const StandbyInstances = {
|
|
126
|
+
Ignore: "Ignore",
|
|
127
|
+
Terminate: "Terminate",
|
|
128
|
+
Wait: "Wait",
|
|
129
|
+
};
|
|
130
|
+
export const InstanceRefreshStatus = {
|
|
131
|
+
Baking: "Baking",
|
|
132
|
+
Cancelled: "Cancelled",
|
|
133
|
+
Cancelling: "Cancelling",
|
|
134
|
+
Failed: "Failed",
|
|
135
|
+
InProgress: "InProgress",
|
|
136
|
+
Pending: "Pending",
|
|
137
|
+
RollbackFailed: "RollbackFailed",
|
|
138
|
+
RollbackInProgress: "RollbackInProgress",
|
|
139
|
+
RollbackSuccessful: "RollbackSuccessful",
|
|
140
|
+
Successful: "Successful",
|
|
141
|
+
};
|
|
142
|
+
export const PredictiveScalingMaxCapacityBreachBehavior = {
|
|
143
|
+
HonorMaxCapacity: "HonorMaxCapacity",
|
|
144
|
+
IncreaseMaxCapacity: "IncreaseMaxCapacity",
|
|
145
|
+
};
|
|
146
|
+
export const PredefinedLoadMetricType = {
|
|
147
|
+
ALBTargetGroupRequestCount: "ALBTargetGroupRequestCount",
|
|
148
|
+
ASGTotalCPUUtilization: "ASGTotalCPUUtilization",
|
|
149
|
+
ASGTotalNetworkIn: "ASGTotalNetworkIn",
|
|
150
|
+
ASGTotalNetworkOut: "ASGTotalNetworkOut",
|
|
151
|
+
};
|
|
152
|
+
export const PredefinedMetricPairType = {
|
|
153
|
+
ALBRequestCount: "ALBRequestCount",
|
|
154
|
+
ASGCPUUtilization: "ASGCPUUtilization",
|
|
155
|
+
ASGNetworkIn: "ASGNetworkIn",
|
|
156
|
+
ASGNetworkOut: "ASGNetworkOut",
|
|
157
|
+
};
|
|
158
|
+
export const PredefinedScalingMetricType = {
|
|
159
|
+
ALBRequestCountPerTarget: "ALBRequestCountPerTarget",
|
|
160
|
+
ASGAverageCPUUtilization: "ASGAverageCPUUtilization",
|
|
161
|
+
ASGAverageNetworkIn: "ASGAverageNetworkIn",
|
|
162
|
+
ASGAverageNetworkOut: "ASGAverageNetworkOut",
|
|
163
|
+
};
|
|
164
|
+
export const PredictiveScalingMode = {
|
|
165
|
+
ForecastAndScale: "ForecastAndScale",
|
|
166
|
+
ForecastOnly: "ForecastOnly",
|
|
167
|
+
};
|
|
168
|
+
export const MetricStatistic = {
|
|
169
|
+
Average: "Average",
|
|
170
|
+
Maximum: "Maximum",
|
|
171
|
+
Minimum: "Minimum",
|
|
172
|
+
SampleCount: "SampleCount",
|
|
173
|
+
Sum: "Sum",
|
|
174
|
+
};
|
|
175
|
+
export const MetricType = {
|
|
176
|
+
ALBRequestCountPerTarget: "ALBRequestCountPerTarget",
|
|
177
|
+
ASGAverageCPUUtilization: "ASGAverageCPUUtilization",
|
|
178
|
+
ASGAverageNetworkIn: "ASGAverageNetworkIn",
|
|
179
|
+
ASGAverageNetworkOut: "ASGAverageNetworkOut",
|
|
180
|
+
};
|
|
181
|
+
export const RetryStrategy = {
|
|
182
|
+
NONE: "none",
|
|
183
|
+
RETRY_WITH_GROUP_CONFIGURATION: "retry-with-group-configuration",
|
|
184
|
+
};
|
|
185
|
+
export const RefreshStrategy = {
|
|
186
|
+
Rolling: "Rolling",
|
|
187
|
+
};
|