@aws-sdk/client-auto-scaling-plans 3.131.0 → 3.142.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.
@@ -84,7 +84,6 @@ const deserializeAws_json1_1CreateScalingPlanCommandError = async (output, conte
84
84
  ...output,
85
85
  body: await parseBody(output.body, context),
86
86
  };
87
- let response;
88
87
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
89
88
  switch (errorCode) {
90
89
  case "ConcurrentUpdateException":
@@ -101,14 +100,12 @@ const deserializeAws_json1_1CreateScalingPlanCommandError = async (output, conte
101
100
  throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
102
101
  default:
103
102
  const parsedBody = parsedOutput.body;
104
- const $metadata = deserializeMetadata(output);
105
- const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
106
- response = new AutoScalingPlansServiceException_1.AutoScalingPlansServiceException({
107
- name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
108
- $fault: "client",
109
- $metadata,
103
+ (0, smithy_client_1.throwDefaultError)({
104
+ output,
105
+ parsedBody,
106
+ exceptionCtor: AutoScalingPlansServiceException_1.AutoScalingPlansServiceException,
107
+ errorCode,
110
108
  });
111
- throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
112
109
  }
113
110
  };
114
111
  const deserializeAws_json1_1DeleteScalingPlanCommand = async (output, context) => {
@@ -130,7 +127,6 @@ const deserializeAws_json1_1DeleteScalingPlanCommandError = async (output, conte
130
127
  ...output,
131
128
  body: await parseBody(output.body, context),
132
129
  };
133
- let response;
134
130
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
135
131
  switch (errorCode) {
136
132
  case "ConcurrentUpdateException":
@@ -147,14 +143,12 @@ const deserializeAws_json1_1DeleteScalingPlanCommandError = async (output, conte
147
143
  throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
148
144
  default:
149
145
  const parsedBody = parsedOutput.body;
150
- const $metadata = deserializeMetadata(output);
151
- const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
152
- response = new AutoScalingPlansServiceException_1.AutoScalingPlansServiceException({
153
- name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
154
- $fault: "client",
155
- $metadata,
146
+ (0, smithy_client_1.throwDefaultError)({
147
+ output,
148
+ parsedBody,
149
+ exceptionCtor: AutoScalingPlansServiceException_1.AutoScalingPlansServiceException,
150
+ errorCode,
156
151
  });
157
- throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
158
152
  }
159
153
  };
160
154
  const deserializeAws_json1_1DescribeScalingPlanResourcesCommand = async (output, context) => {
@@ -176,7 +170,6 @@ const deserializeAws_json1_1DescribeScalingPlanResourcesCommandError = async (ou
176
170
  ...output,
177
171
  body: await parseBody(output.body, context),
178
172
  };
179
- let response;
180
173
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
181
174
  switch (errorCode) {
182
175
  case "ConcurrentUpdateException":
@@ -193,14 +186,12 @@ const deserializeAws_json1_1DescribeScalingPlanResourcesCommandError = async (ou
193
186
  throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
194
187
  default:
195
188
  const parsedBody = parsedOutput.body;
196
- const $metadata = deserializeMetadata(output);
197
- const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
198
- response = new AutoScalingPlansServiceException_1.AutoScalingPlansServiceException({
199
- name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
200
- $fault: "client",
201
- $metadata,
189
+ (0, smithy_client_1.throwDefaultError)({
190
+ output,
191
+ parsedBody,
192
+ exceptionCtor: AutoScalingPlansServiceException_1.AutoScalingPlansServiceException,
193
+ errorCode,
202
194
  });
203
- throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
204
195
  }
205
196
  };
206
197
  const deserializeAws_json1_1DescribeScalingPlansCommand = async (output, context) => {
@@ -222,7 +213,6 @@ const deserializeAws_json1_1DescribeScalingPlansCommandError = async (output, co
222
213
  ...output,
223
214
  body: await parseBody(output.body, context),
224
215
  };
225
- let response;
226
216
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
227
217
  switch (errorCode) {
228
218
  case "ConcurrentUpdateException":
@@ -239,14 +229,12 @@ const deserializeAws_json1_1DescribeScalingPlansCommandError = async (output, co
239
229
  throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
240
230
  default:
241
231
  const parsedBody = parsedOutput.body;
242
- const $metadata = deserializeMetadata(output);
243
- const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
244
- response = new AutoScalingPlansServiceException_1.AutoScalingPlansServiceException({
245
- name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
246
- $fault: "client",
247
- $metadata,
232
+ (0, smithy_client_1.throwDefaultError)({
233
+ output,
234
+ parsedBody,
235
+ exceptionCtor: AutoScalingPlansServiceException_1.AutoScalingPlansServiceException,
236
+ errorCode,
248
237
  });
249
- throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
250
238
  }
251
239
  };
252
240
  const deserializeAws_json1_1GetScalingPlanResourceForecastDataCommand = async (output, context) => {
@@ -268,7 +256,6 @@ const deserializeAws_json1_1GetScalingPlanResourceForecastDataCommandError = asy
268
256
  ...output,
269
257
  body: await parseBody(output.body, context),
270
258
  };
271
- let response;
272
259
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
273
260
  switch (errorCode) {
274
261
  case "InternalServiceException":
@@ -279,14 +266,12 @@ const deserializeAws_json1_1GetScalingPlanResourceForecastDataCommandError = asy
279
266
  throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
280
267
  default:
281
268
  const parsedBody = parsedOutput.body;
282
- const $metadata = deserializeMetadata(output);
283
- const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
284
- response = new AutoScalingPlansServiceException_1.AutoScalingPlansServiceException({
285
- name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
286
- $fault: "client",
287
- $metadata,
269
+ (0, smithy_client_1.throwDefaultError)({
270
+ output,
271
+ parsedBody,
272
+ exceptionCtor: AutoScalingPlansServiceException_1.AutoScalingPlansServiceException,
273
+ errorCode,
288
274
  });
289
- throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
290
275
  }
291
276
  };
292
277
  const deserializeAws_json1_1UpdateScalingPlanCommand = async (output, context) => {
@@ -308,7 +293,6 @@ const deserializeAws_json1_1UpdateScalingPlanCommandError = async (output, conte
308
293
  ...output,
309
294
  body: await parseBody(output.body, context),
310
295
  };
311
- let response;
312
296
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
313
297
  switch (errorCode) {
314
298
  case "ConcurrentUpdateException":
@@ -325,14 +309,12 @@ const deserializeAws_json1_1UpdateScalingPlanCommandError = async (output, conte
325
309
  throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
326
310
  default:
327
311
  const parsedBody = parsedOutput.body;
328
- const $metadata = deserializeMetadata(output);
329
- const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
330
- response = new AutoScalingPlansServiceException_1.AutoScalingPlansServiceException({
331
- name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
332
- $fault: "client",
333
- $metadata,
312
+ (0, smithy_client_1.throwDefaultError)({
313
+ output,
314
+ parsedBody,
315
+ exceptionCtor: AutoScalingPlansServiceException_1.AutoScalingPlansServiceException,
316
+ errorCode,
334
317
  });
335
- throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
336
318
  }
337
319
  };
338
320
  const deserializeAws_json1_1ConcurrentUpdateExceptionResponse = async (parsedOutput, context) => {
@@ -399,9 +381,6 @@ const serializeAws_json1_1ApplicationSources = (input, context) => {
399
381
  return input
400
382
  .filter((e) => e != null)
401
383
  .map((entry) => {
402
- if (entry === null) {
403
- return null;
404
- }
405
384
  return serializeAws_json1_1ApplicationSource(entry, context);
406
385
  });
407
386
  };
@@ -483,9 +462,6 @@ const serializeAws_json1_1MetricDimensions = (input, context) => {
483
462
  return input
484
463
  .filter((e) => e != null)
485
464
  .map((entry) => {
486
- if (entry === null) {
487
- return null;
488
- }
489
465
  return serializeAws_json1_1MetricDimension(entry, context);
490
466
  });
491
467
  };
@@ -537,9 +513,6 @@ const serializeAws_json1_1ScalingInstructions = (input, context) => {
537
513
  return input
538
514
  .filter((e) => e != null)
539
515
  .map((entry) => {
540
- if (entry === null) {
541
- return null;
542
- }
543
516
  return serializeAws_json1_1ScalingInstruction(entry, context);
544
517
  });
545
518
  };
@@ -547,9 +520,6 @@ const serializeAws_json1_1ScalingPlanNames = (input, context) => {
547
520
  return input
548
521
  .filter((e) => e != null)
549
522
  .map((entry) => {
550
- if (entry === null) {
551
- return null;
552
- }
553
523
  return entry;
554
524
  });
555
525
  };
@@ -563,9 +533,6 @@ const serializeAws_json1_1TagFilters = (input, context) => {
563
533
  return input
564
534
  .filter((e) => e != null)
565
535
  .map((entry) => {
566
- if (entry === null) {
567
- return null;
568
- }
569
536
  return serializeAws_json1_1TagFilter(entry, context);
570
537
  });
571
538
  };
@@ -573,9 +540,6 @@ const serializeAws_json1_1TagValues = (input, context) => {
573
540
  return input
574
541
  .filter((e) => e != null)
575
542
  .map((entry) => {
576
- if (entry === null) {
577
- return null;
578
- }
579
543
  return entry;
580
544
  });
581
545
  };
@@ -598,9 +562,6 @@ const serializeAws_json1_1TargetTrackingConfigurations = (input, context) => {
598
562
  return input
599
563
  .filter((e) => e != null)
600
564
  .map((entry) => {
601
- if (entry === null) {
602
- return null;
603
- }
604
565
  return serializeAws_json1_1TargetTrackingConfiguration(entry, context);
605
566
  });
606
567
  };
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { CreateScalingPlanRequest, CreateScalingPlanResponse } from "../models/models_0";
4
+ import { CreateScalingPlanRequestFilterSensitiveLog, CreateScalingPlanResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_json1_1CreateScalingPlanCommand, serializeAws_json1_1CreateScalingPlanCommand, } from "../protocols/Aws_json1_1";
6
6
  var CreateScalingPlanCommand = (function (_super) {
7
7
  __extends(CreateScalingPlanCommand, _super);
@@ -20,8 +20,8 @@ var CreateScalingPlanCommand = (function (_super) {
20
20
  logger: logger,
21
21
  clientName: clientName,
22
22
  commandName: commandName,
23
- inputFilterSensitiveLog: CreateScalingPlanRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: CreateScalingPlanResponse.filterSensitiveLog,
23
+ inputFilterSensitiveLog: CreateScalingPlanRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: CreateScalingPlanResponseFilterSensitiveLog,
25
25
  };
26
26
  var requestHandler = configuration.requestHandler;
27
27
  return stack.resolve(function (request) {
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { DeleteScalingPlanRequest, DeleteScalingPlanResponse } from "../models/models_0";
4
+ import { DeleteScalingPlanRequestFilterSensitiveLog, DeleteScalingPlanResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_json1_1DeleteScalingPlanCommand, serializeAws_json1_1DeleteScalingPlanCommand, } from "../protocols/Aws_json1_1";
6
6
  var DeleteScalingPlanCommand = (function (_super) {
7
7
  __extends(DeleteScalingPlanCommand, _super);
@@ -20,8 +20,8 @@ var DeleteScalingPlanCommand = (function (_super) {
20
20
  logger: logger,
21
21
  clientName: clientName,
22
22
  commandName: commandName,
23
- inputFilterSensitiveLog: DeleteScalingPlanRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: DeleteScalingPlanResponse.filterSensitiveLog,
23
+ inputFilterSensitiveLog: DeleteScalingPlanRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: DeleteScalingPlanResponseFilterSensitiveLog,
25
25
  };
26
26
  var requestHandler = configuration.requestHandler;
27
27
  return stack.resolve(function (request) {
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { DescribeScalingPlanResourcesRequest, DescribeScalingPlanResourcesResponse } from "../models/models_0";
4
+ import { DescribeScalingPlanResourcesRequestFilterSensitiveLog, DescribeScalingPlanResourcesResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_json1_1DescribeScalingPlanResourcesCommand, serializeAws_json1_1DescribeScalingPlanResourcesCommand, } from "../protocols/Aws_json1_1";
6
6
  var DescribeScalingPlanResourcesCommand = (function (_super) {
7
7
  __extends(DescribeScalingPlanResourcesCommand, _super);
@@ -20,8 +20,8 @@ var DescribeScalingPlanResourcesCommand = (function (_super) {
20
20
  logger: logger,
21
21
  clientName: clientName,
22
22
  commandName: commandName,
23
- inputFilterSensitiveLog: DescribeScalingPlanResourcesRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: DescribeScalingPlanResourcesResponse.filterSensitiveLog,
23
+ inputFilterSensitiveLog: DescribeScalingPlanResourcesRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: DescribeScalingPlanResourcesResponseFilterSensitiveLog,
25
25
  };
26
26
  var requestHandler = configuration.requestHandler;
27
27
  return stack.resolve(function (request) {
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { DescribeScalingPlansRequest, DescribeScalingPlansResponse } from "../models/models_0";
4
+ import { DescribeScalingPlansRequestFilterSensitiveLog, DescribeScalingPlansResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_json1_1DescribeScalingPlansCommand, serializeAws_json1_1DescribeScalingPlansCommand, } from "../protocols/Aws_json1_1";
6
6
  var DescribeScalingPlansCommand = (function (_super) {
7
7
  __extends(DescribeScalingPlansCommand, _super);
@@ -20,8 +20,8 @@ var DescribeScalingPlansCommand = (function (_super) {
20
20
  logger: logger,
21
21
  clientName: clientName,
22
22
  commandName: commandName,
23
- inputFilterSensitiveLog: DescribeScalingPlansRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: DescribeScalingPlansResponse.filterSensitiveLog,
23
+ inputFilterSensitiveLog: DescribeScalingPlansRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: DescribeScalingPlansResponseFilterSensitiveLog,
25
25
  };
26
26
  var requestHandler = configuration.requestHandler;
27
27
  return stack.resolve(function (request) {
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { GetScalingPlanResourceForecastDataRequest, GetScalingPlanResourceForecastDataResponse, } from "../models/models_0";
4
+ import { GetScalingPlanResourceForecastDataRequestFilterSensitiveLog, GetScalingPlanResourceForecastDataResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_json1_1GetScalingPlanResourceForecastDataCommand, serializeAws_json1_1GetScalingPlanResourceForecastDataCommand, } from "../protocols/Aws_json1_1";
6
6
  var GetScalingPlanResourceForecastDataCommand = (function (_super) {
7
7
  __extends(GetScalingPlanResourceForecastDataCommand, _super);
@@ -20,8 +20,8 @@ var GetScalingPlanResourceForecastDataCommand = (function (_super) {
20
20
  logger: logger,
21
21
  clientName: clientName,
22
22
  commandName: commandName,
23
- inputFilterSensitiveLog: GetScalingPlanResourceForecastDataRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: GetScalingPlanResourceForecastDataResponse.filterSensitiveLog,
23
+ inputFilterSensitiveLog: GetScalingPlanResourceForecastDataRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: GetScalingPlanResourceForecastDataResponseFilterSensitiveLog,
25
25
  };
26
26
  var requestHandler = configuration.requestHandler;
27
27
  return stack.resolve(function (request) {
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { UpdateScalingPlanRequest, UpdateScalingPlanResponse } from "../models/models_0";
4
+ import { UpdateScalingPlanRequestFilterSensitiveLog, UpdateScalingPlanResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_json1_1UpdateScalingPlanCommand, serializeAws_json1_1UpdateScalingPlanCommand, } from "../protocols/Aws_json1_1";
6
6
  var UpdateScalingPlanCommand = (function (_super) {
7
7
  __extends(UpdateScalingPlanCommand, _super);
@@ -20,8 +20,8 @@ var UpdateScalingPlanCommand = (function (_super) {
20
20
  logger: logger,
21
21
  clientName: clientName,
22
22
  commandName: commandName,
23
- inputFilterSensitiveLog: UpdateScalingPlanRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: UpdateScalingPlanResponse.filterSensitiveLog,
23
+ inputFilterSensitiveLog: UpdateScalingPlanRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: UpdateScalingPlanResponseFilterSensitiveLog,
25
25
  };
26
26
  var requestHandler = configuration.requestHandler;
27
27
  return stack.resolve(function (request) {
@@ -13,18 +13,6 @@ var ConcurrentUpdateException = (function (_super) {
13
13
  return ConcurrentUpdateException;
14
14
  }(__BaseException));
15
15
  export { ConcurrentUpdateException };
16
- export var TagFilter;
17
- (function (TagFilter) {
18
- TagFilter.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
19
- })(TagFilter || (TagFilter = {}));
20
- export var ApplicationSource;
21
- (function (ApplicationSource) {
22
- ApplicationSource.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
23
- })(ApplicationSource || (ApplicationSource = {}));
24
- export var MetricDimension;
25
- (function (MetricDimension) {
26
- MetricDimension.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
27
- })(MetricDimension || (MetricDimension = {}));
28
16
  export var MetricStatistic;
29
17
  (function (MetricStatistic) {
30
18
  MetricStatistic["Average"] = "Average";
@@ -33,10 +21,6 @@ export var MetricStatistic;
33
21
  MetricStatistic["SampleCount"] = "SampleCount";
34
22
  MetricStatistic["Sum"] = "Sum";
35
23
  })(MetricStatistic || (MetricStatistic = {}));
36
- export var CustomizedLoadMetricSpecification;
37
- (function (CustomizedLoadMetricSpecification) {
38
- CustomizedLoadMetricSpecification.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
39
- })(CustomizedLoadMetricSpecification || (CustomizedLoadMetricSpecification = {}));
40
24
  export var LoadMetricType;
41
25
  (function (LoadMetricType) {
42
26
  LoadMetricType["ALBTargetGroupRequestCount"] = "ALBTargetGroupRequestCount";
@@ -44,10 +28,6 @@ export var LoadMetricType;
44
28
  LoadMetricType["ASGTotalNetworkIn"] = "ASGTotalNetworkIn";
45
29
  LoadMetricType["ASGTotalNetworkOut"] = "ASGTotalNetworkOut";
46
30
  })(LoadMetricType || (LoadMetricType = {}));
47
- export var PredefinedLoadMetricSpecification;
48
- (function (PredefinedLoadMetricSpecification) {
49
- PredefinedLoadMetricSpecification.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
50
- })(PredefinedLoadMetricSpecification || (PredefinedLoadMetricSpecification = {}));
51
31
  export var PredictiveScalingMaxCapacityBehavior;
52
32
  (function (PredictiveScalingMaxCapacityBehavior) {
53
33
  PredictiveScalingMaxCapacityBehavior["SetForecastCapacityToMaxCapacity"] = "SetForecastCapacityToMaxCapacity";
@@ -83,10 +63,6 @@ export var ServiceNamespace;
83
63
  ServiceNamespace["ECS"] = "ecs";
84
64
  ServiceNamespace["RDS"] = "rds";
85
65
  })(ServiceNamespace || (ServiceNamespace = {}));
86
- export var CustomizedScalingMetricSpecification;
87
- (function (CustomizedScalingMetricSpecification) {
88
- CustomizedScalingMetricSpecification.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
89
- })(CustomizedScalingMetricSpecification || (CustomizedScalingMetricSpecification = {}));
90
66
  export var ScalingMetricType;
91
67
  (function (ScalingMetricType) {
92
68
  ScalingMetricType["ALBRequestCountPerTarget"] = "ALBRequestCountPerTarget";
@@ -103,26 +79,6 @@ export var ScalingMetricType;
103
79
  ScalingMetricType["RDSReaderAverageCPUUtilization"] = "RDSReaderAverageCPUUtilization";
104
80
  ScalingMetricType["RDSReaderAverageDatabaseConnections"] = "RDSReaderAverageDatabaseConnections";
105
81
  })(ScalingMetricType || (ScalingMetricType = {}));
106
- export var PredefinedScalingMetricSpecification;
107
- (function (PredefinedScalingMetricSpecification) {
108
- PredefinedScalingMetricSpecification.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
109
- })(PredefinedScalingMetricSpecification || (PredefinedScalingMetricSpecification = {}));
110
- export var TargetTrackingConfiguration;
111
- (function (TargetTrackingConfiguration) {
112
- TargetTrackingConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
113
- })(TargetTrackingConfiguration || (TargetTrackingConfiguration = {}));
114
- export var ScalingInstruction;
115
- (function (ScalingInstruction) {
116
- ScalingInstruction.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
117
- })(ScalingInstruction || (ScalingInstruction = {}));
118
- export var CreateScalingPlanRequest;
119
- (function (CreateScalingPlanRequest) {
120
- CreateScalingPlanRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
121
- })(CreateScalingPlanRequest || (CreateScalingPlanRequest = {}));
122
- export var CreateScalingPlanResponse;
123
- (function (CreateScalingPlanResponse) {
124
- CreateScalingPlanResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
125
- })(CreateScalingPlanResponse || (CreateScalingPlanResponse = {}));
126
82
  var InternalServiceException = (function (_super) {
127
83
  __extends(InternalServiceException, _super);
128
84
  function InternalServiceException(opts) {
@@ -162,14 +118,6 @@ var ValidationException = (function (_super) {
162
118
  return ValidationException;
163
119
  }(__BaseException));
164
120
  export { ValidationException };
165
- export var DeleteScalingPlanRequest;
166
- (function (DeleteScalingPlanRequest) {
167
- DeleteScalingPlanRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
168
- })(DeleteScalingPlanRequest || (DeleteScalingPlanRequest = {}));
169
- export var DeleteScalingPlanResponse;
170
- (function (DeleteScalingPlanResponse) {
171
- DeleteScalingPlanResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
172
- })(DeleteScalingPlanResponse || (DeleteScalingPlanResponse = {}));
173
121
  var ObjectNotFoundException = (function (_super) {
174
122
  __extends(ObjectNotFoundException, _super);
175
123
  function ObjectNotFoundException(opts) {
@@ -183,32 +131,16 @@ var ObjectNotFoundException = (function (_super) {
183
131
  return ObjectNotFoundException;
184
132
  }(__BaseException));
185
133
  export { ObjectNotFoundException };
186
- export var DescribeScalingPlanResourcesRequest;
187
- (function (DescribeScalingPlanResourcesRequest) {
188
- DescribeScalingPlanResourcesRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
189
- })(DescribeScalingPlanResourcesRequest || (DescribeScalingPlanResourcesRequest = {}));
190
134
  export var PolicyType;
191
135
  (function (PolicyType) {
192
136
  PolicyType["TargetTrackingScaling"] = "TargetTrackingScaling";
193
137
  })(PolicyType || (PolicyType = {}));
194
- export var ScalingPolicy;
195
- (function (ScalingPolicy) {
196
- ScalingPolicy.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
197
- })(ScalingPolicy || (ScalingPolicy = {}));
198
138
  export var ScalingStatusCode;
199
139
  (function (ScalingStatusCode) {
200
140
  ScalingStatusCode["Active"] = "Active";
201
141
  ScalingStatusCode["Inactive"] = "Inactive";
202
142
  ScalingStatusCode["PartiallyActive"] = "PartiallyActive";
203
143
  })(ScalingStatusCode || (ScalingStatusCode = {}));
204
- export var ScalingPlanResource;
205
- (function (ScalingPlanResource) {
206
- ScalingPlanResource.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
207
- })(ScalingPlanResource || (ScalingPlanResource = {}));
208
- export var DescribeScalingPlanResourcesResponse;
209
- (function (DescribeScalingPlanResourcesResponse) {
210
- DescribeScalingPlanResourcesResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
211
- })(DescribeScalingPlanResourcesResponse || (DescribeScalingPlanResourcesResponse = {}));
212
144
  var InvalidNextTokenException = (function (_super) {
213
145
  __extends(InvalidNextTokenException, _super);
214
146
  function InvalidNextTokenException(opts) {
@@ -222,10 +154,6 @@ var InvalidNextTokenException = (function (_super) {
222
154
  return InvalidNextTokenException;
223
155
  }(__BaseException));
224
156
  export { InvalidNextTokenException };
225
- export var DescribeScalingPlansRequest;
226
- (function (DescribeScalingPlansRequest) {
227
- DescribeScalingPlansRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
228
- })(DescribeScalingPlansRequest || (DescribeScalingPlansRequest = {}));
229
157
  export var ScalingPlanStatusCode;
230
158
  (function (ScalingPlanStatusCode) {
231
159
  ScalingPlanStatusCode["Active"] = "Active";
@@ -237,14 +165,6 @@ export var ScalingPlanStatusCode;
237
165
  ScalingPlanStatusCode["UpdateFailed"] = "UpdateFailed";
238
166
  ScalingPlanStatusCode["UpdateInProgress"] = "UpdateInProgress";
239
167
  })(ScalingPlanStatusCode || (ScalingPlanStatusCode = {}));
240
- export var ScalingPlan;
241
- (function (ScalingPlan) {
242
- ScalingPlan.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
243
- })(ScalingPlan || (ScalingPlan = {}));
244
- export var DescribeScalingPlansResponse;
245
- (function (DescribeScalingPlansResponse) {
246
- DescribeScalingPlansResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
247
- })(DescribeScalingPlansResponse || (DescribeScalingPlansResponse = {}));
248
168
  export var ForecastDataType;
249
169
  (function (ForecastDataType) {
250
170
  ForecastDataType["CapacityForecast"] = "CapacityForecast";
@@ -252,23 +172,28 @@ export var ForecastDataType;
252
172
  ForecastDataType["ScheduledActionMaxCapacity"] = "ScheduledActionMaxCapacity";
253
173
  ForecastDataType["ScheduledActionMinCapacity"] = "ScheduledActionMinCapacity";
254
174
  })(ForecastDataType || (ForecastDataType = {}));
255
- export var GetScalingPlanResourceForecastDataRequest;
256
- (function (GetScalingPlanResourceForecastDataRequest) {
257
- GetScalingPlanResourceForecastDataRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
258
- })(GetScalingPlanResourceForecastDataRequest || (GetScalingPlanResourceForecastDataRequest = {}));
259
- export var Datapoint;
260
- (function (Datapoint) {
261
- Datapoint.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
262
- })(Datapoint || (Datapoint = {}));
263
- export var GetScalingPlanResourceForecastDataResponse;
264
- (function (GetScalingPlanResourceForecastDataResponse) {
265
- GetScalingPlanResourceForecastDataResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
266
- })(GetScalingPlanResourceForecastDataResponse || (GetScalingPlanResourceForecastDataResponse = {}));
267
- export var UpdateScalingPlanRequest;
268
- (function (UpdateScalingPlanRequest) {
269
- UpdateScalingPlanRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
270
- })(UpdateScalingPlanRequest || (UpdateScalingPlanRequest = {}));
271
- export var UpdateScalingPlanResponse;
272
- (function (UpdateScalingPlanResponse) {
273
- UpdateScalingPlanResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
274
- })(UpdateScalingPlanResponse || (UpdateScalingPlanResponse = {}));
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)); };