@aws-sdk/client-auto-scaling-plans 3.51.0 → 3.54.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/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.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.53.1...v3.54.0) (2022-03-11)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-auto-scaling-plans
9
+
10
+
11
+
12
+
13
+
14
+ # [3.53.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.52.0...v3.53.0) (2022-02-24)
15
+
16
+
17
+ ### Features
18
+
19
+ * **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))
20
+
21
+
22
+
23
+
24
+
25
+ # [3.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18)
26
+
27
+ **Note:** Version bump only for package @aws-sdk/client-auto-scaling-plans
28
+
29
+
30
+
31
+
32
+
6
33
  # [3.51.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.50.0...v3.51.0) (2022-02-12)
7
34
 
8
35
  **Note:** Version bump only for package @aws-sdk/client-auto-scaling-plans
package/dist-cjs/index.js CHANGED
@@ -1,7 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AutoScalingPlansServiceException = void 0;
3
4
  const tslib_1 = require("tslib");
4
5
  tslib_1.__exportStar(require("./AutoScalingPlans"), exports);
5
6
  tslib_1.__exportStar(require("./AutoScalingPlansClient"), exports);
6
7
  tslib_1.__exportStar(require("./commands"), exports);
7
8
  tslib_1.__exportStar(require("./models"), exports);
9
+ var AutoScalingPlansServiceException_1 = require("./models/AutoScalingPlansServiceException");
10
+ Object.defineProperty(exports, "AutoScalingPlansServiceException", { enumerable: true, get: function () { return AutoScalingPlansServiceException_1.AutoScalingPlansServiceException; } });
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AutoScalingPlansServiceException = void 0;
4
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
5
+ class AutoScalingPlansServiceException extends smithy_client_1.ServiceException {
6
+ constructor(options) {
7
+ super(options);
8
+ Object.setPrototypeOf(this, AutoScalingPlansServiceException.prototype);
9
+ }
10
+ }
11
+ exports.AutoScalingPlansServiceException = AutoScalingPlansServiceException;
@@ -1,6 +1,21 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UpdateScalingPlanResponse = exports.UpdateScalingPlanRequest = exports.GetScalingPlanResourceForecastDataResponse = exports.Datapoint = exports.GetScalingPlanResourceForecastDataRequest = exports.ForecastDataType = exports.DescribeScalingPlansResponse = exports.ScalingPlan = exports.ScalingPlanStatusCode = exports.DescribeScalingPlansRequest = exports.DescribeScalingPlanResourcesResponse = exports.ScalingPlanResource = exports.ScalingStatusCode = exports.ScalingPolicy = exports.PolicyType = exports.DescribeScalingPlanResourcesRequest = exports.DeleteScalingPlanResponse = exports.DeleteScalingPlanRequest = exports.CreateScalingPlanResponse = exports.CreateScalingPlanRequest = exports.ScalingInstruction = exports.TargetTrackingConfiguration = exports.PredefinedScalingMetricSpecification = exports.ScalingMetricType = exports.CustomizedScalingMetricSpecification = exports.ServiceNamespace = exports.ScalingPolicyUpdateBehavior = exports.ScalableDimension = exports.PredictiveScalingMode = exports.PredictiveScalingMaxCapacityBehavior = exports.PredefinedLoadMetricSpecification = exports.LoadMetricType = exports.CustomizedLoadMetricSpecification = exports.MetricStatistic = exports.MetricDimension = exports.ApplicationSource = exports.TagFilter = void 0;
3
+ exports.UpdateScalingPlanResponse = exports.UpdateScalingPlanRequest = exports.GetScalingPlanResourceForecastDataResponse = exports.Datapoint = exports.GetScalingPlanResourceForecastDataRequest = exports.ForecastDataType = exports.DescribeScalingPlansResponse = exports.ScalingPlan = exports.ScalingPlanStatusCode = exports.DescribeScalingPlansRequest = exports.InvalidNextTokenException = exports.DescribeScalingPlanResourcesResponse = exports.ScalingPlanResource = exports.ScalingStatusCode = exports.ScalingPolicy = exports.PolicyType = exports.DescribeScalingPlanResourcesRequest = exports.ObjectNotFoundException = exports.DeleteScalingPlanResponse = exports.DeleteScalingPlanRequest = exports.ValidationException = exports.LimitExceededException = exports.InternalServiceException = exports.CreateScalingPlanResponse = exports.CreateScalingPlanRequest = exports.ScalingInstruction = exports.TargetTrackingConfiguration = exports.PredefinedScalingMetricSpecification = exports.ScalingMetricType = exports.CustomizedScalingMetricSpecification = exports.ServiceNamespace = exports.ScalingPolicyUpdateBehavior = exports.ScalableDimension = exports.PredictiveScalingMode = exports.PredictiveScalingMaxCapacityBehavior = exports.PredefinedLoadMetricSpecification = exports.LoadMetricType = exports.CustomizedLoadMetricSpecification = exports.MetricStatistic = exports.MetricDimension = exports.ApplicationSource = exports.TagFilter = exports.ConcurrentUpdateException = void 0;
4
+ const AutoScalingPlansServiceException_1 = require("./AutoScalingPlansServiceException");
5
+ class ConcurrentUpdateException extends AutoScalingPlansServiceException_1.AutoScalingPlansServiceException {
6
+ constructor(opts) {
7
+ super({
8
+ name: "ConcurrentUpdateException",
9
+ $fault: "server",
10
+ ...opts,
11
+ });
12
+ this.name = "ConcurrentUpdateException";
13
+ this.$fault = "server";
14
+ Object.setPrototypeOf(this, ConcurrentUpdateException.prototype);
15
+ this.Message = opts.Message;
16
+ }
17
+ }
18
+ exports.ConcurrentUpdateException = ConcurrentUpdateException;
4
19
  var TagFilter;
5
20
  (function (TagFilter) {
6
21
  TagFilter.filterSensitiveLog = (obj) => ({
@@ -133,6 +148,48 @@ var CreateScalingPlanResponse;
133
148
  ...obj,
134
149
  });
135
150
  })(CreateScalingPlanResponse = exports.CreateScalingPlanResponse || (exports.CreateScalingPlanResponse = {}));
151
+ class InternalServiceException extends AutoScalingPlansServiceException_1.AutoScalingPlansServiceException {
152
+ constructor(opts) {
153
+ super({
154
+ name: "InternalServiceException",
155
+ $fault: "server",
156
+ ...opts,
157
+ });
158
+ this.name = "InternalServiceException";
159
+ this.$fault = "server";
160
+ Object.setPrototypeOf(this, InternalServiceException.prototype);
161
+ this.Message = opts.Message;
162
+ }
163
+ }
164
+ exports.InternalServiceException = InternalServiceException;
165
+ class LimitExceededException extends AutoScalingPlansServiceException_1.AutoScalingPlansServiceException {
166
+ constructor(opts) {
167
+ super({
168
+ name: "LimitExceededException",
169
+ $fault: "client",
170
+ ...opts,
171
+ });
172
+ this.name = "LimitExceededException";
173
+ this.$fault = "client";
174
+ Object.setPrototypeOf(this, LimitExceededException.prototype);
175
+ this.Message = opts.Message;
176
+ }
177
+ }
178
+ exports.LimitExceededException = LimitExceededException;
179
+ class ValidationException extends AutoScalingPlansServiceException_1.AutoScalingPlansServiceException {
180
+ constructor(opts) {
181
+ super({
182
+ name: "ValidationException",
183
+ $fault: "client",
184
+ ...opts,
185
+ });
186
+ this.name = "ValidationException";
187
+ this.$fault = "client";
188
+ Object.setPrototypeOf(this, ValidationException.prototype);
189
+ this.Message = opts.Message;
190
+ }
191
+ }
192
+ exports.ValidationException = ValidationException;
136
193
  var DeleteScalingPlanRequest;
137
194
  (function (DeleteScalingPlanRequest) {
138
195
  DeleteScalingPlanRequest.filterSensitiveLog = (obj) => ({
@@ -145,6 +202,20 @@ var DeleteScalingPlanResponse;
145
202
  ...obj,
146
203
  });
147
204
  })(DeleteScalingPlanResponse = exports.DeleteScalingPlanResponse || (exports.DeleteScalingPlanResponse = {}));
205
+ class ObjectNotFoundException extends AutoScalingPlansServiceException_1.AutoScalingPlansServiceException {
206
+ constructor(opts) {
207
+ super({
208
+ name: "ObjectNotFoundException",
209
+ $fault: "client",
210
+ ...opts,
211
+ });
212
+ this.name = "ObjectNotFoundException";
213
+ this.$fault = "client";
214
+ Object.setPrototypeOf(this, ObjectNotFoundException.prototype);
215
+ this.Message = opts.Message;
216
+ }
217
+ }
218
+ exports.ObjectNotFoundException = ObjectNotFoundException;
148
219
  var DescribeScalingPlanResourcesRequest;
149
220
  (function (DescribeScalingPlanResourcesRequest) {
150
221
  DescribeScalingPlanResourcesRequest.filterSensitiveLog = (obj) => ({
@@ -179,6 +250,20 @@ var DescribeScalingPlanResourcesResponse;
179
250
  ...obj,
180
251
  });
181
252
  })(DescribeScalingPlanResourcesResponse = exports.DescribeScalingPlanResourcesResponse || (exports.DescribeScalingPlanResourcesResponse = {}));
253
+ class InvalidNextTokenException extends AutoScalingPlansServiceException_1.AutoScalingPlansServiceException {
254
+ constructor(opts) {
255
+ super({
256
+ name: "InvalidNextTokenException",
257
+ $fault: "client",
258
+ ...opts,
259
+ });
260
+ this.name = "InvalidNextTokenException";
261
+ this.$fault = "client";
262
+ Object.setPrototypeOf(this, InvalidNextTokenException.prototype);
263
+ this.Message = opts.Message;
264
+ }
265
+ }
266
+ exports.InvalidNextTokenException = InvalidNextTokenException;
182
267
  var DescribeScalingPlansRequest;
183
268
  (function (DescribeScalingPlansRequest) {
184
269
  DescribeScalingPlansRequest.filterSensitiveLog = (obj) => ({