@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
|
@@ -1,66 +1,43 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
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,22 +963,6 @@ export interface GetPredictiveScalingForecastType {
|
|
|
1216
963
|
StartTime: Date | undefined;
|
|
1217
964
|
EndTime: Date | undefined;
|
|
1218
965
|
}
|
|
1219
|
-
export declare class IdempotentParameterMismatchError extends __BaseException {
|
|
1220
|
-
readonly name: "IdempotentParameterMismatchError";
|
|
1221
|
-
readonly $fault: "client";
|
|
1222
|
-
Message?: string | undefined;
|
|
1223
|
-
constructor(
|
|
1224
|
-
opts: __ExceptionOptionType<
|
|
1225
|
-
IdempotentParameterMismatchError,
|
|
1226
|
-
__BaseException
|
|
1227
|
-
>
|
|
1228
|
-
);
|
|
1229
|
-
}
|
|
1230
|
-
export declare const RetryStrategy: {
|
|
1231
|
-
readonly NONE: "none";
|
|
1232
|
-
readonly RETRY_WITH_GROUP_CONFIGURATION: "retry-with-group-configuration";
|
|
1233
|
-
};
|
|
1234
|
-
export type RetryStrategy = (typeof RetryStrategy)[keyof typeof RetryStrategy];
|
|
1235
966
|
export interface LaunchInstancesRequest {
|
|
1236
967
|
AutoScalingGroupName: string | undefined;
|
|
1237
968
|
RequestedCapacity: number | undefined;
|
|
@@ -1331,16 +1062,6 @@ export interface ScalingProcessQuery {
|
|
|
1331
1062
|
AutoScalingGroupName: string | undefined;
|
|
1332
1063
|
ScalingProcesses?: string[] | undefined;
|
|
1333
1064
|
}
|
|
1334
|
-
export declare class IrreversibleInstanceRefreshFault extends __BaseException {
|
|
1335
|
-
readonly name: "IrreversibleInstanceRefreshFault";
|
|
1336
|
-
readonly $fault: "client";
|
|
1337
|
-
constructor(
|
|
1338
|
-
opts: __ExceptionOptionType<
|
|
1339
|
-
IrreversibleInstanceRefreshFault,
|
|
1340
|
-
__BaseException
|
|
1341
|
-
>
|
|
1342
|
-
);
|
|
1343
|
-
}
|
|
1344
1065
|
export interface RollbackInstanceRefreshAnswer {
|
|
1345
1066
|
InstanceRefreshId?: string | undefined;
|
|
1346
1067
|
}
|
|
@@ -1363,21 +1084,9 @@ export interface SetInstanceProtectionQuery {
|
|
|
1363
1084
|
AutoScalingGroupName: string | undefined;
|
|
1364
1085
|
ProtectedFromScaleIn: boolean | undefined;
|
|
1365
1086
|
}
|
|
1366
|
-
export declare class InstanceRefreshInProgressFault extends __BaseException {
|
|
1367
|
-
readonly name: "InstanceRefreshInProgressFault";
|
|
1368
|
-
readonly $fault: "client";
|
|
1369
|
-
constructor(
|
|
1370
|
-
opts: __ExceptionOptionType<InstanceRefreshInProgressFault, __BaseException>
|
|
1371
|
-
);
|
|
1372
|
-
}
|
|
1373
1087
|
export interface StartInstanceRefreshAnswer {
|
|
1374
1088
|
InstanceRefreshId?: string | undefined;
|
|
1375
1089
|
}
|
|
1376
|
-
export declare const RefreshStrategy: {
|
|
1377
|
-
readonly Rolling: "Rolling";
|
|
1378
|
-
};
|
|
1379
|
-
export type RefreshStrategy =
|
|
1380
|
-
(typeof RefreshStrategy)[keyof typeof RefreshStrategy];
|
|
1381
1090
|
export interface StartInstanceRefreshType {
|
|
1382
1091
|
AutoScalingGroupName: string | undefined;
|
|
1383
1092
|
Strategy?: RefreshStrategy | undefined;
|
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.
|
|
4
|
+
"version": "3.936.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.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
26
|
-
"@aws-sdk/middleware-logger": "3.
|
|
27
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
29
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
30
|
-
"@aws-sdk/types": "3.
|
|
31
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.936.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.936.0",
|
|
25
|
+
"@aws-sdk/middleware-host-header": "3.936.0",
|
|
26
|
+
"@aws-sdk/middleware-logger": "3.936.0",
|
|
27
|
+
"@aws-sdk/middleware-recursion-detection": "3.936.0",
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.936.0",
|
|
29
|
+
"@aws-sdk/region-config-resolver": "3.936.0",
|
|
30
|
+
"@aws-sdk/types": "3.936.0",
|
|
31
|
+
"@aws-sdk/util-endpoints": "3.936.0",
|
|
32
|
+
"@aws-sdk/util-user-agent-browser": "3.936.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.936.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.4.3",
|
|
35
|
-
"@smithy/core": "^3.18.
|
|
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.
|
|
41
|
-
"@smithy/middleware-retry": "^4.4.
|
|
42
|
-
"@smithy/middleware-serde": "^4.2.
|
|
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.
|
|
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.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
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",
|
package/dist-es/models/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|