@aws-sdk/client-auto-scaling-plans 3.183.0 → 3.185.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.
@@ -1,17 +1,18 @@
1
+ import { __assign, __extends } from "tslib";
1
2
  import { AutoScalingPlansServiceException as __BaseException } from "./AutoScalingPlansServiceException";
2
- export class ConcurrentUpdateException extends __BaseException {
3
- constructor(opts) {
4
- super({
5
- name: "ConcurrentUpdateException",
6
- $fault: "server",
7
- ...opts,
8
- });
9
- this.name = "ConcurrentUpdateException";
10
- this.$fault = "server";
11
- Object.setPrototypeOf(this, ConcurrentUpdateException.prototype);
12
- this.Message = opts.Message;
3
+ var ConcurrentUpdateException = (function (_super) {
4
+ __extends(ConcurrentUpdateException, _super);
5
+ function ConcurrentUpdateException(opts) {
6
+ var _this = _super.call(this, __assign({ name: "ConcurrentUpdateException", $fault: "server" }, opts)) || this;
7
+ _this.name = "ConcurrentUpdateException";
8
+ _this.$fault = "server";
9
+ Object.setPrototypeOf(_this, ConcurrentUpdateException.prototype);
10
+ _this.Message = opts.Message;
11
+ return _this;
13
12
  }
14
- }
13
+ return ConcurrentUpdateException;
14
+ }(__BaseException));
15
+ export { ConcurrentUpdateException };
15
16
  export var MetricStatistic;
16
17
  (function (MetricStatistic) {
17
18
  MetricStatistic["Average"] = "Average";
@@ -78,58 +79,58 @@ export var ScalingMetricType;
78
79
  ScalingMetricType["RDSReaderAverageCPUUtilization"] = "RDSReaderAverageCPUUtilization";
79
80
  ScalingMetricType["RDSReaderAverageDatabaseConnections"] = "RDSReaderAverageDatabaseConnections";
80
81
  })(ScalingMetricType || (ScalingMetricType = {}));
81
- export class InternalServiceException extends __BaseException {
82
- constructor(opts) {
83
- super({
84
- name: "InternalServiceException",
85
- $fault: "server",
86
- ...opts,
87
- });
88
- this.name = "InternalServiceException";
89
- this.$fault = "server";
90
- Object.setPrototypeOf(this, InternalServiceException.prototype);
91
- this.Message = opts.Message;
82
+ var InternalServiceException = (function (_super) {
83
+ __extends(InternalServiceException, _super);
84
+ function InternalServiceException(opts) {
85
+ var _this = _super.call(this, __assign({ name: "InternalServiceException", $fault: "server" }, opts)) || this;
86
+ _this.name = "InternalServiceException";
87
+ _this.$fault = "server";
88
+ Object.setPrototypeOf(_this, InternalServiceException.prototype);
89
+ _this.Message = opts.Message;
90
+ return _this;
92
91
  }
93
- }
94
- export class LimitExceededException extends __BaseException {
95
- constructor(opts) {
96
- super({
97
- name: "LimitExceededException",
98
- $fault: "client",
99
- ...opts,
100
- });
101
- this.name = "LimitExceededException";
102
- this.$fault = "client";
103
- Object.setPrototypeOf(this, LimitExceededException.prototype);
104
- this.Message = opts.Message;
92
+ return InternalServiceException;
93
+ }(__BaseException));
94
+ export { InternalServiceException };
95
+ var LimitExceededException = (function (_super) {
96
+ __extends(LimitExceededException, _super);
97
+ function LimitExceededException(opts) {
98
+ var _this = _super.call(this, __assign({ name: "LimitExceededException", $fault: "client" }, opts)) || this;
99
+ _this.name = "LimitExceededException";
100
+ _this.$fault = "client";
101
+ Object.setPrototypeOf(_this, LimitExceededException.prototype);
102
+ _this.Message = opts.Message;
103
+ return _this;
105
104
  }
106
- }
107
- export class ValidationException extends __BaseException {
108
- constructor(opts) {
109
- super({
110
- name: "ValidationException",
111
- $fault: "client",
112
- ...opts,
113
- });
114
- this.name = "ValidationException";
115
- this.$fault = "client";
116
- Object.setPrototypeOf(this, ValidationException.prototype);
117
- this.Message = opts.Message;
105
+ return LimitExceededException;
106
+ }(__BaseException));
107
+ export { LimitExceededException };
108
+ var ValidationException = (function (_super) {
109
+ __extends(ValidationException, _super);
110
+ function ValidationException(opts) {
111
+ var _this = _super.call(this, __assign({ name: "ValidationException", $fault: "client" }, opts)) || this;
112
+ _this.name = "ValidationException";
113
+ _this.$fault = "client";
114
+ Object.setPrototypeOf(_this, ValidationException.prototype);
115
+ _this.Message = opts.Message;
116
+ return _this;
118
117
  }
119
- }
120
- export class ObjectNotFoundException extends __BaseException {
121
- constructor(opts) {
122
- super({
123
- name: "ObjectNotFoundException",
124
- $fault: "client",
125
- ...opts,
126
- });
127
- this.name = "ObjectNotFoundException";
128
- this.$fault = "client";
129
- Object.setPrototypeOf(this, ObjectNotFoundException.prototype);
130
- this.Message = opts.Message;
118
+ return ValidationException;
119
+ }(__BaseException));
120
+ export { ValidationException };
121
+ var ObjectNotFoundException = (function (_super) {
122
+ __extends(ObjectNotFoundException, _super);
123
+ function ObjectNotFoundException(opts) {
124
+ var _this = _super.call(this, __assign({ name: "ObjectNotFoundException", $fault: "client" }, opts)) || this;
125
+ _this.name = "ObjectNotFoundException";
126
+ _this.$fault = "client";
127
+ Object.setPrototypeOf(_this, ObjectNotFoundException.prototype);
128
+ _this.Message = opts.Message;
129
+ return _this;
131
130
  }
132
- }
131
+ return ObjectNotFoundException;
132
+ }(__BaseException));
133
+ export { ObjectNotFoundException };
133
134
  export var PolicyType;
134
135
  (function (PolicyType) {
135
136
  PolicyType["TargetTrackingScaling"] = "TargetTrackingScaling";
@@ -140,19 +141,19 @@ export var ScalingStatusCode;
140
141
  ScalingStatusCode["Inactive"] = "Inactive";
141
142
  ScalingStatusCode["PartiallyActive"] = "PartiallyActive";
142
143
  })(ScalingStatusCode || (ScalingStatusCode = {}));
143
- export class InvalidNextTokenException extends __BaseException {
144
- constructor(opts) {
145
- super({
146
- name: "InvalidNextTokenException",
147
- $fault: "client",
148
- ...opts,
149
- });
150
- this.name = "InvalidNextTokenException";
151
- this.$fault = "client";
152
- Object.setPrototypeOf(this, InvalidNextTokenException.prototype);
153
- this.Message = opts.Message;
144
+ var InvalidNextTokenException = (function (_super) {
145
+ __extends(InvalidNextTokenException, _super);
146
+ function InvalidNextTokenException(opts) {
147
+ var _this = _super.call(this, __assign({ name: "InvalidNextTokenException", $fault: "client" }, opts)) || this;
148
+ _this.name = "InvalidNextTokenException";
149
+ _this.$fault = "client";
150
+ Object.setPrototypeOf(_this, InvalidNextTokenException.prototype);
151
+ _this.Message = opts.Message;
152
+ return _this;
154
153
  }
155
- }
154
+ return InvalidNextTokenException;
155
+ }(__BaseException));
156
+ export { InvalidNextTokenException };
156
157
  export var ScalingPlanStatusCode;
157
158
  (function (ScalingPlanStatusCode) {
158
159
  ScalingPlanStatusCode["Active"] = "Active";
@@ -171,78 +172,28 @@ export var ForecastDataType;
171
172
  ForecastDataType["ScheduledActionMaxCapacity"] = "ScheduledActionMaxCapacity";
172
173
  ForecastDataType["ScheduledActionMinCapacity"] = "ScheduledActionMinCapacity";
173
174
  })(ForecastDataType || (ForecastDataType = {}));
174
- export const TagFilterFilterSensitiveLog = (obj) => ({
175
- ...obj,
176
- });
177
- export const ApplicationSourceFilterSensitiveLog = (obj) => ({
178
- ...obj,
179
- });
180
- export const MetricDimensionFilterSensitiveLog = (obj) => ({
181
- ...obj,
182
- });
183
- export const CustomizedLoadMetricSpecificationFilterSensitiveLog = (obj) => ({
184
- ...obj,
185
- });
186
- export const PredefinedLoadMetricSpecificationFilterSensitiveLog = (obj) => ({
187
- ...obj,
188
- });
189
- export const CustomizedScalingMetricSpecificationFilterSensitiveLog = (obj) => ({
190
- ...obj,
191
- });
192
- export const PredefinedScalingMetricSpecificationFilterSensitiveLog = (obj) => ({
193
- ...obj,
194
- });
195
- export const TargetTrackingConfigurationFilterSensitiveLog = (obj) => ({
196
- ...obj,
197
- });
198
- export const ScalingInstructionFilterSensitiveLog = (obj) => ({
199
- ...obj,
200
- });
201
- export const CreateScalingPlanRequestFilterSensitiveLog = (obj) => ({
202
- ...obj,
203
- });
204
- export const CreateScalingPlanResponseFilterSensitiveLog = (obj) => ({
205
- ...obj,
206
- });
207
- export const DeleteScalingPlanRequestFilterSensitiveLog = (obj) => ({
208
- ...obj,
209
- });
210
- export const DeleteScalingPlanResponseFilterSensitiveLog = (obj) => ({
211
- ...obj,
212
- });
213
- export const DescribeScalingPlanResourcesRequestFilterSensitiveLog = (obj) => ({
214
- ...obj,
215
- });
216
- export const ScalingPolicyFilterSensitiveLog = (obj) => ({
217
- ...obj,
218
- });
219
- export const ScalingPlanResourceFilterSensitiveLog = (obj) => ({
220
- ...obj,
221
- });
222
- export const DescribeScalingPlanResourcesResponseFilterSensitiveLog = (obj) => ({
223
- ...obj,
224
- });
225
- export const DescribeScalingPlansRequestFilterSensitiveLog = (obj) => ({
226
- ...obj,
227
- });
228
- export const ScalingPlanFilterSensitiveLog = (obj) => ({
229
- ...obj,
230
- });
231
- export const DescribeScalingPlansResponseFilterSensitiveLog = (obj) => ({
232
- ...obj,
233
- });
234
- export const GetScalingPlanResourceForecastDataRequestFilterSensitiveLog = (obj) => ({
235
- ...obj,
236
- });
237
- export const DatapointFilterSensitiveLog = (obj) => ({
238
- ...obj,
239
- });
240
- export const GetScalingPlanResourceForecastDataResponseFilterSensitiveLog = (obj) => ({
241
- ...obj,
242
- });
243
- export const UpdateScalingPlanRequestFilterSensitiveLog = (obj) => ({
244
- ...obj,
245
- });
246
- export const UpdateScalingPlanResponseFilterSensitiveLog = (obj) => ({
247
- ...obj,
248
- });
175
+ export var TagFilterFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
176
+ export var ApplicationSourceFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
177
+ export var MetricDimensionFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
178
+ export var CustomizedLoadMetricSpecificationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
179
+ export var PredefinedLoadMetricSpecificationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
180
+ export var CustomizedScalingMetricSpecificationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
181
+ export var PredefinedScalingMetricSpecificationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
182
+ export var TargetTrackingConfigurationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
183
+ export var ScalingInstructionFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
184
+ export var CreateScalingPlanRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
185
+ export var CreateScalingPlanResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
186
+ export var DeleteScalingPlanRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
187
+ export var DeleteScalingPlanResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
188
+ export var DescribeScalingPlanResourcesRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
189
+ export var ScalingPolicyFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
190
+ export var ScalingPlanResourceFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
191
+ export var DescribeScalingPlanResourcesResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
192
+ export var DescribeScalingPlansRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
193
+ export var ScalingPlanFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
194
+ export var DescribeScalingPlansResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
195
+ export var GetScalingPlanResourceForecastDataRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
196
+ export var DatapointFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
197
+ export var GetScalingPlanResourceForecastDataResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
198
+ export var UpdateScalingPlanRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
199
+ export var UpdateScalingPlanResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };