@aws-sdk/client-auto-scaling 3.934.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.
@@ -0,0 +1,427 @@
1
+ /**
2
+ * @public
3
+ * @enum
4
+ */
5
+ export declare const AcceleratorManufacturer: {
6
+ readonly AMAZON_WEB_SERVICES: "amazon-web-services";
7
+ readonly AMD: "amd";
8
+ readonly NVIDIA: "nvidia";
9
+ readonly XILINX: "xilinx";
10
+ };
11
+ /**
12
+ * @public
13
+ */
14
+ export type AcceleratorManufacturer = (typeof AcceleratorManufacturer)[keyof typeof AcceleratorManufacturer];
15
+ /**
16
+ * @public
17
+ * @enum
18
+ */
19
+ export declare const AcceleratorName: {
20
+ readonly A100: "a100";
21
+ readonly K80: "k80";
22
+ readonly M60: "m60";
23
+ readonly RADEON_PRO_V520: "radeon-pro-v520";
24
+ readonly T4: "t4";
25
+ readonly V100: "v100";
26
+ readonly VU9P: "vu9p";
27
+ };
28
+ /**
29
+ * @public
30
+ */
31
+ export type AcceleratorName = (typeof AcceleratorName)[keyof typeof AcceleratorName];
32
+ /**
33
+ * @public
34
+ * @enum
35
+ */
36
+ export declare const AcceleratorType: {
37
+ readonly FPGA: "fpga";
38
+ readonly GPU: "gpu";
39
+ readonly INFERENCE: "inference";
40
+ };
41
+ /**
42
+ * @public
43
+ */
44
+ export type AcceleratorType = (typeof AcceleratorType)[keyof typeof AcceleratorType];
45
+ /**
46
+ * @public
47
+ * @enum
48
+ */
49
+ export declare const ScalingActivityStatusCode: {
50
+ readonly Cancelled: "Cancelled";
51
+ readonly Failed: "Failed";
52
+ readonly InProgress: "InProgress";
53
+ readonly MidLifecycleAction: "MidLifecycleAction";
54
+ readonly PendingSpotBidPlacement: "PendingSpotBidPlacement";
55
+ readonly PreInService: "PreInService";
56
+ readonly Successful: "Successful";
57
+ readonly WaitingForConnectionDraining: "WaitingForConnectionDraining";
58
+ readonly WaitingForELBConnectionDraining: "WaitingForELBConnectionDraining";
59
+ readonly WaitingForInstanceId: "WaitingForInstanceId";
60
+ readonly WaitingForInstanceWarmup: "WaitingForInstanceWarmup";
61
+ readonly WaitingForSpotInstanceId: "WaitingForSpotInstanceId";
62
+ readonly WaitingForSpotInstanceRequestId: "WaitingForSpotInstanceRequestId";
63
+ };
64
+ /**
65
+ * @public
66
+ */
67
+ export type ScalingActivityStatusCode = (typeof ScalingActivityStatusCode)[keyof typeof ScalingActivityStatusCode];
68
+ /**
69
+ * @public
70
+ * @enum
71
+ */
72
+ export declare const CapacityDistributionStrategy: {
73
+ readonly BALANCED_BEST_EFFORT: "balanced-best-effort";
74
+ readonly BALANCED_ONLY: "balanced-only";
75
+ };
76
+ /**
77
+ * @public
78
+ */
79
+ export type CapacityDistributionStrategy = (typeof CapacityDistributionStrategy)[keyof typeof CapacityDistributionStrategy];
80
+ /**
81
+ * @public
82
+ * @enum
83
+ */
84
+ export declare const ImpairedZoneHealthCheckBehavior: {
85
+ readonly IgnoreUnhealthy: "IgnoreUnhealthy";
86
+ readonly ReplaceUnhealthy: "ReplaceUnhealthy";
87
+ };
88
+ /**
89
+ * @public
90
+ */
91
+ export type ImpairedZoneHealthCheckBehavior = (typeof ImpairedZoneHealthCheckBehavior)[keyof typeof ImpairedZoneHealthCheckBehavior];
92
+ /**
93
+ * @public
94
+ * @enum
95
+ */
96
+ export declare const CapacityReservationPreference: {
97
+ readonly CapacityReservationsFirst: "capacity-reservations-first";
98
+ readonly CapacityReservationsOnly: "capacity-reservations-only";
99
+ readonly Default: "default";
100
+ readonly None: "none";
101
+ };
102
+ /**
103
+ * @public
104
+ */
105
+ export type CapacityReservationPreference = (typeof CapacityReservationPreference)[keyof typeof CapacityReservationPreference];
106
+ /**
107
+ * @public
108
+ * @enum
109
+ */
110
+ export declare const BareMetal: {
111
+ readonly EXCLUDED: "excluded";
112
+ readonly INCLUDED: "included";
113
+ readonly REQUIRED: "required";
114
+ };
115
+ /**
116
+ * @public
117
+ */
118
+ export type BareMetal = (typeof BareMetal)[keyof typeof BareMetal];
119
+ /**
120
+ * @public
121
+ * @enum
122
+ */
123
+ export declare const BurstablePerformance: {
124
+ readonly EXCLUDED: "excluded";
125
+ readonly INCLUDED: "included";
126
+ readonly REQUIRED: "required";
127
+ };
128
+ /**
129
+ * @public
130
+ */
131
+ export type BurstablePerformance = (typeof BurstablePerformance)[keyof typeof BurstablePerformance];
132
+ /**
133
+ * @public
134
+ * @enum
135
+ */
136
+ export declare const CpuManufacturer: {
137
+ readonly AMAZON_WEB_SERVICES: "amazon-web-services";
138
+ readonly AMD: "amd";
139
+ readonly APPLE: "apple";
140
+ readonly INTEL: "intel";
141
+ };
142
+ /**
143
+ * @public
144
+ */
145
+ export type CpuManufacturer = (typeof CpuManufacturer)[keyof typeof CpuManufacturer];
146
+ /**
147
+ * @public
148
+ * @enum
149
+ */
150
+ export declare const InstanceGeneration: {
151
+ readonly CURRENT: "current";
152
+ readonly PREVIOUS: "previous";
153
+ };
154
+ /**
155
+ * @public
156
+ */
157
+ export type InstanceGeneration = (typeof InstanceGeneration)[keyof typeof InstanceGeneration];
158
+ /**
159
+ * @public
160
+ * @enum
161
+ */
162
+ export declare const LocalStorage: {
163
+ readonly EXCLUDED: "excluded";
164
+ readonly INCLUDED: "included";
165
+ readonly REQUIRED: "required";
166
+ };
167
+ /**
168
+ * @public
169
+ */
170
+ export type LocalStorage = (typeof LocalStorage)[keyof typeof LocalStorage];
171
+ /**
172
+ * @public
173
+ * @enum
174
+ */
175
+ export declare const LocalStorageType: {
176
+ readonly HDD: "hdd";
177
+ readonly SSD: "ssd";
178
+ };
179
+ /**
180
+ * @public
181
+ */
182
+ export type LocalStorageType = (typeof LocalStorageType)[keyof typeof LocalStorageType];
183
+ /**
184
+ * @public
185
+ * @enum
186
+ */
187
+ export declare const InstanceMetadataEndpointState: {
188
+ readonly Disabled: "disabled";
189
+ readonly Enabled: "enabled";
190
+ };
191
+ /**
192
+ * @public
193
+ */
194
+ export type InstanceMetadataEndpointState = (typeof InstanceMetadataEndpointState)[keyof typeof InstanceMetadataEndpointState];
195
+ /**
196
+ * @public
197
+ * @enum
198
+ */
199
+ export declare const InstanceMetadataHttpTokensState: {
200
+ readonly Optional: "optional";
201
+ readonly Required: "required";
202
+ };
203
+ /**
204
+ * @public
205
+ */
206
+ export type InstanceMetadataHttpTokensState = (typeof InstanceMetadataHttpTokensState)[keyof typeof InstanceMetadataHttpTokensState];
207
+ /**
208
+ * @public
209
+ * @enum
210
+ */
211
+ export declare const LifecycleState: {
212
+ readonly DETACHED: "Detached";
213
+ readonly DETACHING: "Detaching";
214
+ readonly ENTERING_STANDBY: "EnteringStandby";
215
+ readonly IN_SERVICE: "InService";
216
+ readonly PENDING: "Pending";
217
+ readonly PENDING_PROCEED: "Pending:Proceed";
218
+ readonly PENDING_WAIT: "Pending:Wait";
219
+ readonly QUARANTINED: "Quarantined";
220
+ readonly STANDBY: "Standby";
221
+ readonly TERMINATED: "Terminated";
222
+ readonly TERMINATING: "Terminating";
223
+ readonly TERMINATING_PROCEED: "Terminating:Proceed";
224
+ readonly TERMINATING_WAIT: "Terminating:Wait";
225
+ readonly WARMED_HIBERNATED: "Warmed:Hibernated";
226
+ readonly WARMED_PENDING: "Warmed:Pending";
227
+ readonly WARMED_PENDING_PROCEED: "Warmed:Pending:Proceed";
228
+ readonly WARMED_PENDING_WAIT: "Warmed:Pending:Wait";
229
+ readonly WARMED_RUNNING: "Warmed:Running";
230
+ readonly WARMED_STOPPED: "Warmed:Stopped";
231
+ readonly WARMED_TERMINATED: "Warmed:Terminated";
232
+ readonly WARMED_TERMINATING: "Warmed:Terminating";
233
+ readonly WARMED_TERMINATING_PROCEED: "Warmed:Terminating:Proceed";
234
+ readonly WARMED_TERMINATING_WAIT: "Warmed:Terminating:Wait";
235
+ };
236
+ /**
237
+ * @public
238
+ */
239
+ export type LifecycleState = (typeof LifecycleState)[keyof typeof LifecycleState];
240
+ /**
241
+ * @public
242
+ * @enum
243
+ */
244
+ export declare const WarmPoolState: {
245
+ readonly Hibernated: "Hibernated";
246
+ readonly Running: "Running";
247
+ readonly Stopped: "Stopped";
248
+ };
249
+ /**
250
+ * @public
251
+ */
252
+ export type WarmPoolState = (typeof WarmPoolState)[keyof typeof WarmPoolState];
253
+ /**
254
+ * @public
255
+ * @enum
256
+ */
257
+ export declare const WarmPoolStatus: {
258
+ readonly PendingDelete: "PendingDelete";
259
+ };
260
+ /**
261
+ * @public
262
+ */
263
+ export type WarmPoolStatus = (typeof WarmPoolStatus)[keyof typeof WarmPoolStatus];
264
+ /**
265
+ * @public
266
+ * @enum
267
+ */
268
+ export declare const ScaleInProtectedInstances: {
269
+ readonly Ignore: "Ignore";
270
+ readonly Refresh: "Refresh";
271
+ readonly Wait: "Wait";
272
+ };
273
+ /**
274
+ * @public
275
+ */
276
+ export type ScaleInProtectedInstances = (typeof ScaleInProtectedInstances)[keyof typeof ScaleInProtectedInstances];
277
+ /**
278
+ * @public
279
+ * @enum
280
+ */
281
+ export declare const StandbyInstances: {
282
+ readonly Ignore: "Ignore";
283
+ readonly Terminate: "Terminate";
284
+ readonly Wait: "Wait";
285
+ };
286
+ /**
287
+ * @public
288
+ */
289
+ export type StandbyInstances = (typeof StandbyInstances)[keyof typeof StandbyInstances];
290
+ /**
291
+ * @public
292
+ * @enum
293
+ */
294
+ export declare const InstanceRefreshStatus: {
295
+ readonly Baking: "Baking";
296
+ readonly Cancelled: "Cancelled";
297
+ readonly Cancelling: "Cancelling";
298
+ readonly Failed: "Failed";
299
+ readonly InProgress: "InProgress";
300
+ readonly Pending: "Pending";
301
+ readonly RollbackFailed: "RollbackFailed";
302
+ readonly RollbackInProgress: "RollbackInProgress";
303
+ readonly RollbackSuccessful: "RollbackSuccessful";
304
+ readonly Successful: "Successful";
305
+ };
306
+ /**
307
+ * @public
308
+ */
309
+ export type InstanceRefreshStatus = (typeof InstanceRefreshStatus)[keyof typeof InstanceRefreshStatus];
310
+ /**
311
+ * @public
312
+ * @enum
313
+ */
314
+ export declare const PredictiveScalingMaxCapacityBreachBehavior: {
315
+ readonly HonorMaxCapacity: "HonorMaxCapacity";
316
+ readonly IncreaseMaxCapacity: "IncreaseMaxCapacity";
317
+ };
318
+ /**
319
+ * @public
320
+ */
321
+ export type PredictiveScalingMaxCapacityBreachBehavior = (typeof PredictiveScalingMaxCapacityBreachBehavior)[keyof typeof PredictiveScalingMaxCapacityBreachBehavior];
322
+ /**
323
+ * @public
324
+ * @enum
325
+ */
326
+ export declare const PredefinedLoadMetricType: {
327
+ readonly ALBTargetGroupRequestCount: "ALBTargetGroupRequestCount";
328
+ readonly ASGTotalCPUUtilization: "ASGTotalCPUUtilization";
329
+ readonly ASGTotalNetworkIn: "ASGTotalNetworkIn";
330
+ readonly ASGTotalNetworkOut: "ASGTotalNetworkOut";
331
+ };
332
+ /**
333
+ * @public
334
+ */
335
+ export type PredefinedLoadMetricType = (typeof PredefinedLoadMetricType)[keyof typeof PredefinedLoadMetricType];
336
+ /**
337
+ * @public
338
+ * @enum
339
+ */
340
+ export declare const PredefinedMetricPairType: {
341
+ readonly ALBRequestCount: "ALBRequestCount";
342
+ readonly ASGCPUUtilization: "ASGCPUUtilization";
343
+ readonly ASGNetworkIn: "ASGNetworkIn";
344
+ readonly ASGNetworkOut: "ASGNetworkOut";
345
+ };
346
+ /**
347
+ * @public
348
+ */
349
+ export type PredefinedMetricPairType = (typeof PredefinedMetricPairType)[keyof typeof PredefinedMetricPairType];
350
+ /**
351
+ * @public
352
+ * @enum
353
+ */
354
+ export declare const PredefinedScalingMetricType: {
355
+ readonly ALBRequestCountPerTarget: "ALBRequestCountPerTarget";
356
+ readonly ASGAverageCPUUtilization: "ASGAverageCPUUtilization";
357
+ readonly ASGAverageNetworkIn: "ASGAverageNetworkIn";
358
+ readonly ASGAverageNetworkOut: "ASGAverageNetworkOut";
359
+ };
360
+ /**
361
+ * @public
362
+ */
363
+ export type PredefinedScalingMetricType = (typeof PredefinedScalingMetricType)[keyof typeof PredefinedScalingMetricType];
364
+ /**
365
+ * @public
366
+ * @enum
367
+ */
368
+ export declare const PredictiveScalingMode: {
369
+ readonly ForecastAndScale: "ForecastAndScale";
370
+ readonly ForecastOnly: "ForecastOnly";
371
+ };
372
+ /**
373
+ * @public
374
+ */
375
+ export type PredictiveScalingMode = (typeof PredictiveScalingMode)[keyof typeof PredictiveScalingMode];
376
+ /**
377
+ * @public
378
+ * @enum
379
+ */
380
+ export declare const MetricStatistic: {
381
+ readonly Average: "Average";
382
+ readonly Maximum: "Maximum";
383
+ readonly Minimum: "Minimum";
384
+ readonly SampleCount: "SampleCount";
385
+ readonly Sum: "Sum";
386
+ };
387
+ /**
388
+ * @public
389
+ */
390
+ export type MetricStatistic = (typeof MetricStatistic)[keyof typeof MetricStatistic];
391
+ /**
392
+ * @public
393
+ * @enum
394
+ */
395
+ export declare const MetricType: {
396
+ readonly ALBRequestCountPerTarget: "ALBRequestCountPerTarget";
397
+ readonly ASGAverageCPUUtilization: "ASGAverageCPUUtilization";
398
+ readonly ASGAverageNetworkIn: "ASGAverageNetworkIn";
399
+ readonly ASGAverageNetworkOut: "ASGAverageNetworkOut";
400
+ };
401
+ /**
402
+ * @public
403
+ */
404
+ export type MetricType = (typeof MetricType)[keyof typeof MetricType];
405
+ /**
406
+ * @public
407
+ * @enum
408
+ */
409
+ export declare const RetryStrategy: {
410
+ readonly NONE: "none";
411
+ readonly RETRY_WITH_GROUP_CONFIGURATION: "retry-with-group-configuration";
412
+ };
413
+ /**
414
+ * @public
415
+ */
416
+ export type RetryStrategy = (typeof RetryStrategy)[keyof typeof RetryStrategy];
417
+ /**
418
+ * @public
419
+ * @enum
420
+ */
421
+ export declare const RefreshStrategy: {
422
+ readonly Rolling: "Rolling";
423
+ };
424
+ /**
425
+ * @public
426
+ */
427
+ export type RefreshStrategy = (typeof RefreshStrategy)[keyof typeof RefreshStrategy];
@@ -0,0 +1,147 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { AutoScalingServiceException as __BaseException } from "./AutoScalingServiceException";
3
+ /**
4
+ * <p>The request failed because an active instance refresh or rollback for the specified
5
+ * Auto Scaling group was not found.</p>
6
+ * @public
7
+ */
8
+ export declare class ActiveInstanceRefreshNotFoundFault extends __BaseException {
9
+ readonly name: "ActiveInstanceRefreshNotFoundFault";
10
+ readonly $fault: "client";
11
+ /**
12
+ * @internal
13
+ */
14
+ constructor(opts: __ExceptionOptionType<ActiveInstanceRefreshNotFoundFault, __BaseException>);
15
+ }
16
+ /**
17
+ * <p>You already have an Auto Scaling group or launch configuration with this name.</p>
18
+ * @public
19
+ */
20
+ export declare class AlreadyExistsFault extends __BaseException {
21
+ readonly name: "AlreadyExistsFault";
22
+ readonly $fault: "client";
23
+ /**
24
+ * @internal
25
+ */
26
+ constructor(opts: __ExceptionOptionType<AlreadyExistsFault, __BaseException>);
27
+ }
28
+ /**
29
+ * <p>You already have a pending update to an Amazon EC2 Auto Scaling resource (for example, an Auto Scaling group,
30
+ * instance, or load balancer).</p>
31
+ * @public
32
+ */
33
+ export declare class ResourceContentionFault extends __BaseException {
34
+ readonly name: "ResourceContentionFault";
35
+ readonly $fault: "server";
36
+ /**
37
+ * @internal
38
+ */
39
+ constructor(opts: __ExceptionOptionType<ResourceContentionFault, __BaseException>);
40
+ }
41
+ /**
42
+ * <p>The service-linked role is not yet ready for use.</p>
43
+ * @public
44
+ */
45
+ export declare class ServiceLinkedRoleFailure extends __BaseException {
46
+ readonly name: "ServiceLinkedRoleFailure";
47
+ readonly $fault: "server";
48
+ /**
49
+ * @internal
50
+ */
51
+ constructor(opts: __ExceptionOptionType<ServiceLinkedRoleFailure, __BaseException>);
52
+ }
53
+ /**
54
+ * <p>You have already reached a limit for your Amazon EC2 Auto Scaling
55
+ * resources (for example, Auto Scaling groups, launch configurations, or lifecycle hooks). For
56
+ * more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_DescribeAccountLimits.html">DescribeAccountLimits</a> in the <i>Amazon EC2 Auto Scaling API
57
+ * Reference</i>.</p>
58
+ * @public
59
+ */
60
+ export declare class LimitExceededFault extends __BaseException {
61
+ readonly name: "LimitExceededFault";
62
+ readonly $fault: "client";
63
+ /**
64
+ * @internal
65
+ */
66
+ constructor(opts: __ExceptionOptionType<LimitExceededFault, __BaseException>);
67
+ }
68
+ /**
69
+ * <p>The operation can't be performed because the resource is in use.</p>
70
+ * @public
71
+ */
72
+ export declare class ResourceInUseFault extends __BaseException {
73
+ readonly name: "ResourceInUseFault";
74
+ readonly $fault: "client";
75
+ /**
76
+ * @internal
77
+ */
78
+ constructor(opts: __ExceptionOptionType<ResourceInUseFault, __BaseException>);
79
+ }
80
+ /**
81
+ * <p>The operation can't be performed because there are scaling activities in
82
+ * progress.</p>
83
+ * @public
84
+ */
85
+ export declare class ScalingActivityInProgressFault extends __BaseException {
86
+ readonly name: "ScalingActivityInProgressFault";
87
+ readonly $fault: "client";
88
+ /**
89
+ * @internal
90
+ */
91
+ constructor(opts: __ExceptionOptionType<ScalingActivityInProgressFault, __BaseException>);
92
+ }
93
+ /**
94
+ * <p>The <code>NextToken</code> value is not valid.</p>
95
+ * @public
96
+ */
97
+ export declare class InvalidNextToken extends __BaseException {
98
+ readonly name: "InvalidNextToken";
99
+ readonly $fault: "client";
100
+ /**
101
+ * @internal
102
+ */
103
+ constructor(opts: __ExceptionOptionType<InvalidNextToken, __BaseException>);
104
+ }
105
+ /**
106
+ * <p>
107
+ * Indicates that the parameters in the current request do not match the parameters from a previous request with the same client token within the idempotency window.
108
+ * </p>
109
+ * @public
110
+ */
111
+ export declare class IdempotentParameterMismatchError extends __BaseException {
112
+ readonly name: "IdempotentParameterMismatchError";
113
+ readonly $fault: "client";
114
+ Message?: string | undefined;
115
+ /**
116
+ * @internal
117
+ */
118
+ constructor(opts: __ExceptionOptionType<IdempotentParameterMismatchError, __BaseException>);
119
+ }
120
+ /**
121
+ * <p>The request failed because a desired configuration was not found or an incompatible
122
+ * launch template (uses a Systems Manager parameter instead of an AMI ID) or launch
123
+ * template version (<code>$Latest</code> or <code>$Default</code>) is present on the Auto Scaling
124
+ * group.</p>
125
+ * @public
126
+ */
127
+ export declare class IrreversibleInstanceRefreshFault extends __BaseException {
128
+ readonly name: "IrreversibleInstanceRefreshFault";
129
+ readonly $fault: "client";
130
+ /**
131
+ * @internal
132
+ */
133
+ constructor(opts: __ExceptionOptionType<IrreversibleInstanceRefreshFault, __BaseException>);
134
+ }
135
+ /**
136
+ * <p>The request failed because an active instance refresh already exists for the specified
137
+ * Auto Scaling group.</p>
138
+ * @public
139
+ */
140
+ export declare class InstanceRefreshInProgressFault extends __BaseException {
141
+ readonly name: "InstanceRefreshInProgressFault";
142
+ readonly $fault: "client";
143
+ /**
144
+ * @internal
145
+ */
146
+ constructor(opts: __ExceptionOptionType<InstanceRefreshInProgressFault, __BaseException>);
147
+ }