@aws-sdk/client-auto-scaling 3.52.0 → 3.53.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-es/index.js CHANGED
@@ -4,3 +4,4 @@ export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
6
  export * from "./waiters";
7
+ export { AutoScalingServiceException } from "./models/AutoScalingServiceException";
@@ -0,0 +1,12 @@
1
+ import { __extends } from "tslib";
2
+ import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
3
+ var AutoScalingServiceException = (function (_super) {
4
+ __extends(AutoScalingServiceException, _super);
5
+ function AutoScalingServiceException(options) {
6
+ var _this = _super.call(this, options) || this;
7
+ Object.setPrototypeOf(_this, AutoScalingServiceException.prototype);
8
+ return _this;
9
+ }
10
+ return AutoScalingServiceException;
11
+ }(__ServiceException));
12
+ export { AutoScalingServiceException };
@@ -1,4 +1,5 @@
1
- import { __assign } from "tslib";
1
+ import { __assign, __extends } from "tslib";
2
+ import { AutoScalingServiceException as __BaseException } from "./AutoScalingServiceException";
2
3
  export var AcceleratorCountRequest;
3
4
  (function (AcceleratorCountRequest) {
4
5
  AcceleratorCountRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -30,6 +31,18 @@ export var AcceleratorType;
30
31
  AcceleratorType["GPU"] = "gpu";
31
32
  AcceleratorType["INFERENCE"] = "inference";
32
33
  })(AcceleratorType || (AcceleratorType = {}));
34
+ var ActiveInstanceRefreshNotFoundFault = (function (_super) {
35
+ __extends(ActiveInstanceRefreshNotFoundFault, _super);
36
+ function ActiveInstanceRefreshNotFoundFault(opts) {
37
+ var _this = _super.call(this, __assign({ name: "ActiveInstanceRefreshNotFoundFault", $fault: "client" }, opts)) || this;
38
+ _this.name = "ActiveInstanceRefreshNotFoundFault";
39
+ _this.$fault = "client";
40
+ Object.setPrototypeOf(_this, ActiveInstanceRefreshNotFoundFault.prototype);
41
+ return _this;
42
+ }
43
+ return ActiveInstanceRefreshNotFoundFault;
44
+ }(__BaseException));
45
+ export { ActiveInstanceRefreshNotFoundFault };
33
46
  export var ScalingActivityStatusCode;
34
47
  (function (ScalingActivityStatusCode) {
35
48
  ScalingActivityStatusCode["Cancelled"] = "Cancelled";
@@ -65,10 +78,46 @@ export var Alarm;
65
78
  (function (Alarm) {
66
79
  Alarm.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
67
80
  })(Alarm || (Alarm = {}));
81
+ var AlreadyExistsFault = (function (_super) {
82
+ __extends(AlreadyExistsFault, _super);
83
+ function AlreadyExistsFault(opts) {
84
+ var _this = _super.call(this, __assign({ name: "AlreadyExistsFault", $fault: "client" }, opts)) || this;
85
+ _this.name = "AlreadyExistsFault";
86
+ _this.$fault = "client";
87
+ Object.setPrototypeOf(_this, AlreadyExistsFault.prototype);
88
+ return _this;
89
+ }
90
+ return AlreadyExistsFault;
91
+ }(__BaseException));
92
+ export { AlreadyExistsFault };
68
93
  export var AttachInstancesQuery;
69
94
  (function (AttachInstancesQuery) {
70
95
  AttachInstancesQuery.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
71
96
  })(AttachInstancesQuery || (AttachInstancesQuery = {}));
97
+ var ResourceContentionFault = (function (_super) {
98
+ __extends(ResourceContentionFault, _super);
99
+ function ResourceContentionFault(opts) {
100
+ var _this = _super.call(this, __assign({ name: "ResourceContentionFault", $fault: "server" }, opts)) || this;
101
+ _this.name = "ResourceContentionFault";
102
+ _this.$fault = "server";
103
+ Object.setPrototypeOf(_this, ResourceContentionFault.prototype);
104
+ return _this;
105
+ }
106
+ return ResourceContentionFault;
107
+ }(__BaseException));
108
+ export { ResourceContentionFault };
109
+ var ServiceLinkedRoleFailure = (function (_super) {
110
+ __extends(ServiceLinkedRoleFailure, _super);
111
+ function ServiceLinkedRoleFailure(opts) {
112
+ var _this = _super.call(this, __assign({ name: "ServiceLinkedRoleFailure", $fault: "server" }, opts)) || this;
113
+ _this.name = "ServiceLinkedRoleFailure";
114
+ _this.$fault = "server";
115
+ Object.setPrototypeOf(_this, ServiceLinkedRoleFailure.prototype);
116
+ return _this;
117
+ }
118
+ return ServiceLinkedRoleFailure;
119
+ }(__BaseException));
120
+ export { ServiceLinkedRoleFailure };
72
121
  export var AttachLoadBalancersResultType;
73
122
  (function (AttachLoadBalancersResultType) {
74
123
  AttachLoadBalancersResultType.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -109,6 +158,18 @@ export var BatchPutScheduledUpdateGroupActionType;
109
158
  (function (BatchPutScheduledUpdateGroupActionType) {
110
159
  BatchPutScheduledUpdateGroupActionType.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
111
160
  })(BatchPutScheduledUpdateGroupActionType || (BatchPutScheduledUpdateGroupActionType = {}));
161
+ var LimitExceededFault = (function (_super) {
162
+ __extends(LimitExceededFault, _super);
163
+ function LimitExceededFault(opts) {
164
+ var _this = _super.call(this, __assign({ name: "LimitExceededFault", $fault: "client" }, opts)) || this;
165
+ _this.name = "LimitExceededFault";
166
+ _this.$fault = "client";
167
+ Object.setPrototypeOf(_this, LimitExceededFault.prototype);
168
+ return _this;
169
+ }
170
+ return LimitExceededFault;
171
+ }(__BaseException));
172
+ export { LimitExceededFault };
112
173
  export var CancelInstanceRefreshAnswer;
113
174
  (function (CancelInstanceRefreshAnswer) {
114
175
  CancelInstanceRefreshAnswer.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -253,10 +314,34 @@ export var CreateOrUpdateTagsType;
253
314
  (function (CreateOrUpdateTagsType) {
254
315
  CreateOrUpdateTagsType.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
255
316
  })(CreateOrUpdateTagsType || (CreateOrUpdateTagsType = {}));
317
+ var ResourceInUseFault = (function (_super) {
318
+ __extends(ResourceInUseFault, _super);
319
+ function ResourceInUseFault(opts) {
320
+ var _this = _super.call(this, __assign({ name: "ResourceInUseFault", $fault: "client" }, opts)) || this;
321
+ _this.name = "ResourceInUseFault";
322
+ _this.$fault = "client";
323
+ Object.setPrototypeOf(_this, ResourceInUseFault.prototype);
324
+ return _this;
325
+ }
326
+ return ResourceInUseFault;
327
+ }(__BaseException));
328
+ export { ResourceInUseFault };
256
329
  export var DeleteAutoScalingGroupType;
257
330
  (function (DeleteAutoScalingGroupType) {
258
331
  DeleteAutoScalingGroupType.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
259
332
  })(DeleteAutoScalingGroupType || (DeleteAutoScalingGroupType = {}));
333
+ var ScalingActivityInProgressFault = (function (_super) {
334
+ __extends(ScalingActivityInProgressFault, _super);
335
+ function ScalingActivityInProgressFault(opts) {
336
+ var _this = _super.call(this, __assign({ name: "ScalingActivityInProgressFault", $fault: "client" }, opts)) || this;
337
+ _this.name = "ScalingActivityInProgressFault";
338
+ _this.$fault = "client";
339
+ Object.setPrototypeOf(_this, ScalingActivityInProgressFault.prototype);
340
+ return _this;
341
+ }
342
+ return ScalingActivityInProgressFault;
343
+ }(__BaseException));
344
+ export { ScalingActivityInProgressFault };
260
345
  export var LaunchConfigurationNameType;
261
346
  (function (LaunchConfigurationNameType) {
262
347
  LaunchConfigurationNameType.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -328,6 +413,7 @@ export var LifecycleState;
328
413
  LifecycleState["TERMINATING"] = "Terminating";
329
414
  LifecycleState["TERMINATING_PROCEED"] = "Terminating:Proceed";
330
415
  LifecycleState["TERMINATING_WAIT"] = "Terminating:Wait";
416
+ LifecycleState["WARMED_HIBERNATED"] = "Warmed:Hibernated";
331
417
  LifecycleState["WARMED_PENDING"] = "Warmed:Pending";
332
418
  LifecycleState["WARMED_PENDING_PROCEED"] = "Warmed:Pending:Proceed";
333
419
  LifecycleState["WARMED_PENDING_WAIT"] = "Warmed:Pending:Wait";
@@ -350,8 +436,13 @@ export var TagDescription;
350
436
  (function (TagDescription) {
351
437
  TagDescription.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
352
438
  })(TagDescription || (TagDescription = {}));
439
+ export var InstanceReusePolicy;
440
+ (function (InstanceReusePolicy) {
441
+ InstanceReusePolicy.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
442
+ })(InstanceReusePolicy || (InstanceReusePolicy = {}));
353
443
  export var WarmPoolState;
354
444
  (function (WarmPoolState) {
445
+ WarmPoolState["Hibernated"] = "Hibernated";
355
446
  WarmPoolState["Running"] = "Running";
356
447
  WarmPoolState["Stopped"] = "Stopped";
357
448
  })(WarmPoolState || (WarmPoolState = {}));
@@ -371,6 +462,18 @@ export var AutoScalingGroupsType;
371
462
  (function (AutoScalingGroupsType) {
372
463
  AutoScalingGroupsType.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
373
464
  })(AutoScalingGroupsType || (AutoScalingGroupsType = {}));
465
+ var InvalidNextToken = (function (_super) {
466
+ __extends(InvalidNextToken, _super);
467
+ function InvalidNextToken(opts) {
468
+ var _this = _super.call(this, __assign({ name: "InvalidNextToken", $fault: "client" }, opts)) || this;
469
+ _this.name = "InvalidNextToken";
470
+ _this.$fault = "client";
471
+ Object.setPrototypeOf(_this, InvalidNextToken.prototype);
472
+ return _this;
473
+ }
474
+ return InvalidNextToken;
475
+ }(__BaseException));
476
+ export { InvalidNextToken };
374
477
  export var AutoScalingInstanceDetails;
375
478
  (function (AutoScalingInstanceDetails) {
376
479
  AutoScalingInstanceDetails.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -798,6 +901,18 @@ export var SetInstanceProtectionQuery;
798
901
  (function (SetInstanceProtectionQuery) {
799
902
  SetInstanceProtectionQuery.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
800
903
  })(SetInstanceProtectionQuery || (SetInstanceProtectionQuery = {}));
904
+ var InstanceRefreshInProgressFault = (function (_super) {
905
+ __extends(InstanceRefreshInProgressFault, _super);
906
+ function InstanceRefreshInProgressFault(opts) {
907
+ var _this = _super.call(this, __assign({ name: "InstanceRefreshInProgressFault", $fault: "client" }, opts)) || this;
908
+ _this.name = "InstanceRefreshInProgressFault";
909
+ _this.$fault = "client";
910
+ Object.setPrototypeOf(_this, InstanceRefreshInProgressFault.prototype);
911
+ return _this;
912
+ }
913
+ return InstanceRefreshInProgressFault;
914
+ }(__BaseException));
915
+ export { InstanceRefreshInProgressFault };
801
916
  export var StartInstanceRefreshAnswer;
802
917
  (function (StartInstanceRefreshAnswer) {
803
918
  StartInstanceRefreshAnswer.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };