@aws-sdk/client-application-auto-scaling 3.52.0 → 3.54.1

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/CHANGELOG.md CHANGED
@@ -3,6 +3,33 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [3.54.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.54.0...v3.54.1) (2022-03-15)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-application-auto-scaling
9
+
10
+
11
+
12
+
13
+
14
+ # [3.54.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.53.1...v3.54.0) (2022-03-11)
15
+
16
+ **Note:** Version bump only for package @aws-sdk/client-application-auto-scaling
17
+
18
+
19
+
20
+
21
+
22
+ # [3.53.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.52.0...v3.53.0) (2022-02-24)
23
+
24
+
25
+ ### Features
26
+
27
+ * **clients:** generate service exceptions as classes ([#3267](https://github.com/aws/aws-sdk-js-v3/issues/3267)) ([ca64fee](https://github.com/aws/aws-sdk-js-v3/commit/ca64feed3351c394c07dc26b782a5760a396a074))
28
+
29
+
30
+
31
+
32
+
6
33
  # [3.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18)
7
34
 
8
35
  **Note:** Version bump only for package @aws-sdk/client-application-auto-scaling
package/dist-cjs/index.js CHANGED
@@ -1,8 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ApplicationAutoScalingServiceException = void 0;
3
4
  const tslib_1 = require("tslib");
4
5
  tslib_1.__exportStar(require("./ApplicationAutoScaling"), exports);
5
6
  tslib_1.__exportStar(require("./ApplicationAutoScalingClient"), exports);
6
7
  tslib_1.__exportStar(require("./commands"), exports);
7
8
  tslib_1.__exportStar(require("./models"), exports);
8
9
  tslib_1.__exportStar(require("./pagination"), exports);
10
+ var ApplicationAutoScalingServiceException_1 = require("./models/ApplicationAutoScalingServiceException");
11
+ Object.defineProperty(exports, "ApplicationAutoScalingServiceException", { enumerable: true, get: function () { return ApplicationAutoScalingServiceException_1.ApplicationAutoScalingServiceException; } });
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ApplicationAutoScalingServiceException = void 0;
4
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
5
+ class ApplicationAutoScalingServiceException extends smithy_client_1.ServiceException {
6
+ constructor(options) {
7
+ super(options);
8
+ Object.setPrototypeOf(this, ApplicationAutoScalingServiceException.prototype);
9
+ }
10
+ }
11
+ exports.ApplicationAutoScalingServiceException = ApplicationAutoScalingServiceException;
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.RegisterScalableTargetResponse = exports.RegisterScalableTargetRequest = exports.PutScheduledActionResponse = exports.PutScheduledActionRequest = exports.PutScalingPolicyResponse = exports.PutScalingPolicyRequest = exports.DescribeScheduledActionsResponse = exports.ScheduledAction = exports.ScalableTargetAction = exports.DescribeScheduledActionsRequest = exports.DescribeScalingPoliciesResponse = exports.ScalingPolicy = exports.TargetTrackingScalingPolicyConfiguration = exports.PredefinedMetricSpecification = exports.MetricType = exports.CustomizedMetricSpecification = exports.MetricStatistic = exports.MetricDimension = exports.StepScalingPolicyConfiguration = exports.StepAdjustment = exports.MetricAggregationType = exports.PolicyType = exports.DescribeScalingPoliciesRequest = exports.DescribeScalingActivitiesResponse = exports.ScalingActivity = exports.ScalingActivityStatusCode = exports.DescribeScalingActivitiesRequest = exports.DescribeScalableTargetsResponse = exports.ScalableTarget = exports.SuspendedState = exports.DescribeScalableTargetsRequest = exports.DeregisterScalableTargetResponse = exports.DeregisterScalableTargetRequest = exports.DeleteScheduledActionResponse = exports.DeleteScheduledActionRequest = exports.DeleteScalingPolicyResponse = exports.DeleteScalingPolicyRequest = exports.ServiceNamespace = exports.ScalableDimension = exports.Alarm = exports.AdjustmentType = void 0;
3
+ exports.RegisterScalableTargetResponse = exports.RegisterScalableTargetRequest = exports.PutScheduledActionResponse = exports.PutScheduledActionRequest = exports.PutScalingPolicyResponse = exports.PutScalingPolicyRequest = exports.LimitExceededException = exports.DescribeScheduledActionsResponse = exports.ScheduledAction = exports.ScalableTargetAction = exports.DescribeScheduledActionsRequest = exports.FailedResourceAccessException = exports.DescribeScalingPoliciesResponse = exports.ScalingPolicy = exports.TargetTrackingScalingPolicyConfiguration = exports.PredefinedMetricSpecification = exports.MetricType = exports.CustomizedMetricSpecification = exports.MetricStatistic = exports.MetricDimension = exports.StepScalingPolicyConfiguration = exports.StepAdjustment = exports.MetricAggregationType = exports.PolicyType = exports.DescribeScalingPoliciesRequest = exports.DescribeScalingActivitiesResponse = exports.ScalingActivity = exports.ScalingActivityStatusCode = exports.DescribeScalingActivitiesRequest = exports.InvalidNextTokenException = exports.DescribeScalableTargetsResponse = exports.ScalableTarget = exports.SuspendedState = exports.DescribeScalableTargetsRequest = exports.DeregisterScalableTargetResponse = exports.DeregisterScalableTargetRequest = exports.DeleteScheduledActionResponse = exports.DeleteScheduledActionRequest = exports.ValidationException = exports.ObjectNotFoundException = exports.InternalServiceException = exports.DeleteScalingPolicyResponse = exports.DeleteScalingPolicyRequest = exports.ServiceNamespace = exports.ScalableDimension = exports.ConcurrentUpdateException = exports.Alarm = exports.AdjustmentType = void 0;
4
+ const ApplicationAutoScalingServiceException_1 = require("./ApplicationAutoScalingServiceException");
4
5
  var AdjustmentType;
5
6
  (function (AdjustmentType) {
6
7
  AdjustmentType["ChangeInCapacity"] = "ChangeInCapacity";
@@ -13,6 +14,20 @@ var Alarm;
13
14
  ...obj,
14
15
  });
15
16
  })(Alarm = exports.Alarm || (exports.Alarm = {}));
17
+ class ConcurrentUpdateException extends ApplicationAutoScalingServiceException_1.ApplicationAutoScalingServiceException {
18
+ constructor(opts) {
19
+ super({
20
+ name: "ConcurrentUpdateException",
21
+ $fault: "server",
22
+ ...opts,
23
+ });
24
+ this.name = "ConcurrentUpdateException";
25
+ this.$fault = "server";
26
+ Object.setPrototypeOf(this, ConcurrentUpdateException.prototype);
27
+ this.Message = opts.Message;
28
+ }
29
+ }
30
+ exports.ConcurrentUpdateException = ConcurrentUpdateException;
16
31
  var ScalableDimension;
17
32
  (function (ScalableDimension) {
18
33
  ScalableDimension["AppstreamFleetDesiredCapacity"] = "appstream:fleet:DesiredCapacity";
@@ -65,6 +80,48 @@ var DeleteScalingPolicyResponse;
65
80
  ...obj,
66
81
  });
67
82
  })(DeleteScalingPolicyResponse = exports.DeleteScalingPolicyResponse || (exports.DeleteScalingPolicyResponse = {}));
83
+ class InternalServiceException extends ApplicationAutoScalingServiceException_1.ApplicationAutoScalingServiceException {
84
+ constructor(opts) {
85
+ super({
86
+ name: "InternalServiceException",
87
+ $fault: "server",
88
+ ...opts,
89
+ });
90
+ this.name = "InternalServiceException";
91
+ this.$fault = "server";
92
+ Object.setPrototypeOf(this, InternalServiceException.prototype);
93
+ this.Message = opts.Message;
94
+ }
95
+ }
96
+ exports.InternalServiceException = InternalServiceException;
97
+ class ObjectNotFoundException extends ApplicationAutoScalingServiceException_1.ApplicationAutoScalingServiceException {
98
+ constructor(opts) {
99
+ super({
100
+ name: "ObjectNotFoundException",
101
+ $fault: "client",
102
+ ...opts,
103
+ });
104
+ this.name = "ObjectNotFoundException";
105
+ this.$fault = "client";
106
+ Object.setPrototypeOf(this, ObjectNotFoundException.prototype);
107
+ this.Message = opts.Message;
108
+ }
109
+ }
110
+ exports.ObjectNotFoundException = ObjectNotFoundException;
111
+ class ValidationException extends ApplicationAutoScalingServiceException_1.ApplicationAutoScalingServiceException {
112
+ constructor(opts) {
113
+ super({
114
+ name: "ValidationException",
115
+ $fault: "client",
116
+ ...opts,
117
+ });
118
+ this.name = "ValidationException";
119
+ this.$fault = "client";
120
+ Object.setPrototypeOf(this, ValidationException.prototype);
121
+ this.Message = opts.Message;
122
+ }
123
+ }
124
+ exports.ValidationException = ValidationException;
68
125
  var DeleteScheduledActionRequest;
69
126
  (function (DeleteScheduledActionRequest) {
70
127
  DeleteScheduledActionRequest.filterSensitiveLog = (obj) => ({
@@ -113,6 +170,20 @@ var DescribeScalableTargetsResponse;
113
170
  ...obj,
114
171
  });
115
172
  })(DescribeScalableTargetsResponse = exports.DescribeScalableTargetsResponse || (exports.DescribeScalableTargetsResponse = {}));
173
+ class InvalidNextTokenException extends ApplicationAutoScalingServiceException_1.ApplicationAutoScalingServiceException {
174
+ constructor(opts) {
175
+ super({
176
+ name: "InvalidNextTokenException",
177
+ $fault: "client",
178
+ ...opts,
179
+ });
180
+ this.name = "InvalidNextTokenException";
181
+ this.$fault = "client";
182
+ Object.setPrototypeOf(this, InvalidNextTokenException.prototype);
183
+ this.Message = opts.Message;
184
+ }
185
+ }
186
+ exports.InvalidNextTokenException = InvalidNextTokenException;
116
187
  var DescribeScalingActivitiesRequest;
117
188
  (function (DescribeScalingActivitiesRequest) {
118
189
  DescribeScalingActivitiesRequest.filterSensitiveLog = (obj) => ({
@@ -237,6 +308,20 @@ var DescribeScalingPoliciesResponse;
237
308
  ...obj,
238
309
  });
239
310
  })(DescribeScalingPoliciesResponse = exports.DescribeScalingPoliciesResponse || (exports.DescribeScalingPoliciesResponse = {}));
311
+ class FailedResourceAccessException extends ApplicationAutoScalingServiceException_1.ApplicationAutoScalingServiceException {
312
+ constructor(opts) {
313
+ super({
314
+ name: "FailedResourceAccessException",
315
+ $fault: "client",
316
+ ...opts,
317
+ });
318
+ this.name = "FailedResourceAccessException";
319
+ this.$fault = "client";
320
+ Object.setPrototypeOf(this, FailedResourceAccessException.prototype);
321
+ this.Message = opts.Message;
322
+ }
323
+ }
324
+ exports.FailedResourceAccessException = FailedResourceAccessException;
240
325
  var DescribeScheduledActionsRequest;
241
326
  (function (DescribeScheduledActionsRequest) {
242
327
  DescribeScheduledActionsRequest.filterSensitiveLog = (obj) => ({
@@ -261,6 +346,20 @@ var DescribeScheduledActionsResponse;
261
346
  ...obj,
262
347
  });
263
348
  })(DescribeScheduledActionsResponse = exports.DescribeScheduledActionsResponse || (exports.DescribeScheduledActionsResponse = {}));
349
+ class LimitExceededException extends ApplicationAutoScalingServiceException_1.ApplicationAutoScalingServiceException {
350
+ constructor(opts) {
351
+ super({
352
+ name: "LimitExceededException",
353
+ $fault: "client",
354
+ ...opts,
355
+ });
356
+ this.name = "LimitExceededException";
357
+ this.$fault = "client";
358
+ Object.setPrototypeOf(this, LimitExceededException.prototype);
359
+ this.Message = opts.Message;
360
+ }
361
+ }
362
+ exports.LimitExceededException = LimitExceededException;
264
363
  var PutScalingPolicyRequest;
265
364
  (function (PutScalingPolicyRequest) {
266
365
  PutScalingPolicyRequest.filterSensitiveLog = (obj) => ({