@aws-sdk/client-auto-scaling-plans 3.927.0 → 3.928.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-cjs/index.js CHANGED
@@ -6,6 +6,7 @@ var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detect
6
6
  var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
7
7
  var configResolver = require('@smithy/config-resolver');
8
8
  var core = require('@smithy/core');
9
+ var schema = require('@smithy/core/schema');
9
10
  var middlewareContentLength = require('@smithy/middleware-content-length');
10
11
  var middlewareEndpoint = require('@smithy/middleware-endpoint');
11
12
  var middlewareRetry = require('@smithy/middleware-retry');
@@ -14,8 +15,6 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
14
15
  var runtimeConfig = require('./runtimeConfig');
15
16
  var regionConfigResolver = require('@aws-sdk/region-config-resolver');
16
17
  var protocolHttp = require('@smithy/protocol-http');
17
- var middlewareSerde = require('@smithy/middleware-serde');
18
- var core$1 = require('@aws-sdk/core');
19
18
 
20
19
  const resolveClientEndpointParameters = (options) => {
21
20
  return Object.assign(options, {
@@ -91,6 +90,7 @@ class AutoScalingPlansClient extends smithyClient.Client {
91
90
  const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
92
91
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
93
92
  this.config = _config_8;
93
+ this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
94
94
  this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
95
95
  this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
96
96
  this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
@@ -110,14 +110,14 @@ class AutoScalingPlansClient extends smithyClient.Client {
110
110
  }
111
111
  }
112
112
 
113
- class AutoScalingPlansServiceException extends smithyClient.ServiceException {
113
+ let AutoScalingPlansServiceException$1 = class AutoScalingPlansServiceException extends smithyClient.ServiceException {
114
114
  constructor(options) {
115
115
  super(options);
116
116
  Object.setPrototypeOf(this, AutoScalingPlansServiceException.prototype);
117
117
  }
118
- }
118
+ };
119
119
 
120
- class ConcurrentUpdateException extends AutoScalingPlansServiceException {
120
+ let ConcurrentUpdateException$1 = class ConcurrentUpdateException extends AutoScalingPlansServiceException$1 {
121
121
  name = "ConcurrentUpdateException";
122
122
  $fault = "server";
123
123
  Message;
@@ -130,7 +130,7 @@ class ConcurrentUpdateException extends AutoScalingPlansServiceException {
130
130
  Object.setPrototypeOf(this, ConcurrentUpdateException.prototype);
131
131
  this.Message = opts.Message;
132
132
  }
133
- }
133
+ };
134
134
  const MetricStatistic = {
135
135
  Average: "Average",
136
136
  Maximum: "Maximum",
@@ -189,7 +189,7 @@ const ScalingMetricType = {
189
189
  RDSReaderAverageCPUUtilization: "RDSReaderAverageCPUUtilization",
190
190
  RDSReaderAverageDatabaseConnections: "RDSReaderAverageDatabaseConnections",
191
191
  };
192
- class InternalServiceException extends AutoScalingPlansServiceException {
192
+ let InternalServiceException$1 = class InternalServiceException extends AutoScalingPlansServiceException$1 {
193
193
  name = "InternalServiceException";
194
194
  $fault = "server";
195
195
  Message;
@@ -202,8 +202,8 @@ class InternalServiceException extends AutoScalingPlansServiceException {
202
202
  Object.setPrototypeOf(this, InternalServiceException.prototype);
203
203
  this.Message = opts.Message;
204
204
  }
205
- }
206
- class LimitExceededException extends AutoScalingPlansServiceException {
205
+ };
206
+ let LimitExceededException$1 = class LimitExceededException extends AutoScalingPlansServiceException$1 {
207
207
  name = "LimitExceededException";
208
208
  $fault = "client";
209
209
  Message;
@@ -216,8 +216,8 @@ class LimitExceededException extends AutoScalingPlansServiceException {
216
216
  Object.setPrototypeOf(this, LimitExceededException.prototype);
217
217
  this.Message = opts.Message;
218
218
  }
219
- }
220
- class ValidationException extends AutoScalingPlansServiceException {
219
+ };
220
+ let ValidationException$1 = class ValidationException extends AutoScalingPlansServiceException$1 {
221
221
  name = "ValidationException";
222
222
  $fault = "client";
223
223
  Message;
@@ -230,8 +230,8 @@ class ValidationException extends AutoScalingPlansServiceException {
230
230
  Object.setPrototypeOf(this, ValidationException.prototype);
231
231
  this.Message = opts.Message;
232
232
  }
233
- }
234
- class ObjectNotFoundException extends AutoScalingPlansServiceException {
233
+ };
234
+ let ObjectNotFoundException$1 = class ObjectNotFoundException extends AutoScalingPlansServiceException$1 {
235
235
  name = "ObjectNotFoundException";
236
236
  $fault = "client";
237
237
  Message;
@@ -244,7 +244,7 @@ class ObjectNotFoundException extends AutoScalingPlansServiceException {
244
244
  Object.setPrototypeOf(this, ObjectNotFoundException.prototype);
245
245
  this.Message = opts.Message;
246
246
  }
247
- }
247
+ };
248
248
  const PolicyType = {
249
249
  TargetTrackingScaling: "TargetTrackingScaling",
250
250
  };
@@ -253,7 +253,7 @@ const ScalingStatusCode = {
253
253
  Inactive: "Inactive",
254
254
  PartiallyActive: "PartiallyActive",
255
255
  };
256
- class InvalidNextTokenException extends AutoScalingPlansServiceException {
256
+ let InvalidNextTokenException$1 = class InvalidNextTokenException extends AutoScalingPlansServiceException$1 {
257
257
  name = "InvalidNextTokenException";
258
258
  $fault = "client";
259
259
  Message;
@@ -266,7 +266,7 @@ class InvalidNextTokenException extends AutoScalingPlansServiceException {
266
266
  Object.setPrototypeOf(this, InvalidNextTokenException.prototype);
267
267
  this.Message = opts.Message;
268
268
  }
269
- }
269
+ };
270
270
  const ScalingPlanStatusCode = {
271
271
  Active: "Active",
272
272
  ActiveWithProblems: "ActiveWithProblems",
@@ -284,452 +284,405 @@ const ForecastDataType = {
284
284
  ScheduledActionMinCapacity: "ScheduledActionMinCapacity",
285
285
  };
286
286
 
287
- const se_CreateScalingPlanCommand = async (input, context) => {
288
- const headers = sharedHeaders("CreateScalingPlan");
289
- let body;
290
- body = JSON.stringify(se_CreateScalingPlanRequest(input));
291
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
292
- };
293
- const se_DeleteScalingPlanCommand = async (input, context) => {
294
- const headers = sharedHeaders("DeleteScalingPlan");
295
- let body;
296
- body = JSON.stringify(smithyClient._json(input));
297
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
298
- };
299
- const se_DescribeScalingPlanResourcesCommand = async (input, context) => {
300
- const headers = sharedHeaders("DescribeScalingPlanResources");
301
- let body;
302
- body = JSON.stringify(smithyClient._json(input));
303
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
304
- };
305
- const se_DescribeScalingPlansCommand = async (input, context) => {
306
- const headers = sharedHeaders("DescribeScalingPlans");
307
- let body;
308
- body = JSON.stringify(smithyClient._json(input));
309
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
310
- };
311
- const se_GetScalingPlanResourceForecastDataCommand = async (input, context) => {
312
- const headers = sharedHeaders("GetScalingPlanResourceForecastData");
313
- let body;
314
- body = JSON.stringify(se_GetScalingPlanResourceForecastDataRequest(input));
315
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
316
- };
317
- const se_UpdateScalingPlanCommand = async (input, context) => {
318
- const headers = sharedHeaders("UpdateScalingPlan");
319
- let body;
320
- body = JSON.stringify(se_UpdateScalingPlanRequest(input));
321
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
322
- };
323
- const de_CreateScalingPlanCommand = async (output, context) => {
324
- if (output.statusCode >= 300) {
325
- return de_CommandError(output, context);
326
- }
327
- const data = await core$1.parseJsonBody(output.body, context);
328
- let contents = {};
329
- contents = smithyClient._json(data);
330
- const response = {
331
- $metadata: deserializeMetadata(output),
332
- ...contents,
333
- };
334
- return response;
335
- };
336
- const de_DeleteScalingPlanCommand = async (output, context) => {
337
- if (output.statusCode >= 300) {
338
- return de_CommandError(output, context);
339
- }
340
- const data = await core$1.parseJsonBody(output.body, context);
341
- let contents = {};
342
- contents = smithyClient._json(data);
343
- const response = {
344
- $metadata: deserializeMetadata(output),
345
- ...contents,
346
- };
347
- return response;
348
- };
349
- const de_DescribeScalingPlanResourcesCommand = async (output, context) => {
350
- if (output.statusCode >= 300) {
351
- return de_CommandError(output, context);
352
- }
353
- const data = await core$1.parseJsonBody(output.body, context);
354
- let contents = {};
355
- contents = de_DescribeScalingPlanResourcesResponse(data);
356
- const response = {
357
- $metadata: deserializeMetadata(output),
358
- ...contents,
359
- };
360
- return response;
361
- };
362
- const de_DescribeScalingPlansCommand = async (output, context) => {
363
- if (output.statusCode >= 300) {
364
- return de_CommandError(output, context);
365
- }
366
- const data = await core$1.parseJsonBody(output.body, context);
367
- let contents = {};
368
- contents = de_DescribeScalingPlansResponse(data);
369
- const response = {
370
- $metadata: deserializeMetadata(output),
371
- ...contents,
372
- };
373
- return response;
374
- };
375
- const de_GetScalingPlanResourceForecastDataCommand = async (output, context) => {
376
- if (output.statusCode >= 300) {
377
- return de_CommandError(output, context);
378
- }
379
- const data = await core$1.parseJsonBody(output.body, context);
380
- let contents = {};
381
- contents = de_GetScalingPlanResourceForecastDataResponse(data);
382
- const response = {
383
- $metadata: deserializeMetadata(output),
384
- ...contents,
385
- };
386
- return response;
387
- };
388
- const de_UpdateScalingPlanCommand = async (output, context) => {
389
- if (output.statusCode >= 300) {
390
- return de_CommandError(output, context);
391
- }
392
- const data = await core$1.parseJsonBody(output.body, context);
393
- let contents = {};
394
- contents = smithyClient._json(data);
395
- const response = {
396
- $metadata: deserializeMetadata(output),
397
- ...contents,
398
- };
399
- return response;
400
- };
401
- const de_CommandError = async (output, context) => {
402
- const parsedOutput = {
403
- ...output,
404
- body: await core$1.parseJsonErrorBody(output.body, context),
405
- };
406
- const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
407
- switch (errorCode) {
408
- case "ConcurrentUpdateException":
409
- case "com.amazonaws.autoscalingplans#ConcurrentUpdateException":
410
- throw await de_ConcurrentUpdateExceptionRes(parsedOutput);
411
- case "InternalServiceException":
412
- case "com.amazonaws.autoscalingplans#InternalServiceException":
413
- throw await de_InternalServiceExceptionRes(parsedOutput);
414
- case "LimitExceededException":
415
- case "com.amazonaws.autoscalingplans#LimitExceededException":
416
- throw await de_LimitExceededExceptionRes(parsedOutput);
417
- case "ValidationException":
418
- case "com.amazonaws.autoscalingplans#ValidationException":
419
- throw await de_ValidationExceptionRes(parsedOutput);
420
- case "ObjectNotFoundException":
421
- case "com.amazonaws.autoscalingplans#ObjectNotFoundException":
422
- throw await de_ObjectNotFoundExceptionRes(parsedOutput);
423
- case "InvalidNextTokenException":
424
- case "com.amazonaws.autoscalingplans#InvalidNextTokenException":
425
- throw await de_InvalidNextTokenExceptionRes(parsedOutput);
426
- default:
427
- const parsedBody = parsedOutput.body;
428
- return throwDefaultError({
429
- output,
430
- parsedBody,
431
- errorCode,
432
- });
433
- }
434
- };
435
- const de_ConcurrentUpdateExceptionRes = async (parsedOutput, context) => {
436
- const body = parsedOutput.body;
437
- const deserialized = smithyClient._json(body);
438
- const exception = new ConcurrentUpdateException({
439
- $metadata: deserializeMetadata(parsedOutput),
440
- ...deserialized,
441
- });
442
- return smithyClient.decorateServiceException(exception, body);
443
- };
444
- const de_InternalServiceExceptionRes = async (parsedOutput, context) => {
445
- const body = parsedOutput.body;
446
- const deserialized = smithyClient._json(body);
447
- const exception = new InternalServiceException({
448
- $metadata: deserializeMetadata(parsedOutput),
449
- ...deserialized,
450
- });
451
- return smithyClient.decorateServiceException(exception, body);
452
- };
453
- const de_InvalidNextTokenExceptionRes = async (parsedOutput, context) => {
454
- const body = parsedOutput.body;
455
- const deserialized = smithyClient._json(body);
456
- const exception = new InvalidNextTokenException({
457
- $metadata: deserializeMetadata(parsedOutput),
458
- ...deserialized,
459
- });
460
- return smithyClient.decorateServiceException(exception, body);
461
- };
462
- const de_LimitExceededExceptionRes = async (parsedOutput, context) => {
463
- const body = parsedOutput.body;
464
- const deserialized = smithyClient._json(body);
465
- const exception = new LimitExceededException({
466
- $metadata: deserializeMetadata(parsedOutput),
467
- ...deserialized,
468
- });
469
- return smithyClient.decorateServiceException(exception, body);
470
- };
471
- const de_ObjectNotFoundExceptionRes = async (parsedOutput, context) => {
472
- const body = parsedOutput.body;
473
- const deserialized = smithyClient._json(body);
474
- const exception = new ObjectNotFoundException({
475
- $metadata: deserializeMetadata(parsedOutput),
476
- ...deserialized,
477
- });
478
- return smithyClient.decorateServiceException(exception, body);
479
- };
480
- const de_ValidationExceptionRes = async (parsedOutput, context) => {
481
- const body = parsedOutput.body;
482
- const deserialized = smithyClient._json(body);
483
- const exception = new ValidationException({
484
- $metadata: deserializeMetadata(parsedOutput),
485
- ...deserialized,
486
- });
487
- return smithyClient.decorateServiceException(exception, body);
488
- };
489
- const se_CreateScalingPlanRequest = (input, context) => {
490
- return smithyClient.take(input, {
491
- ApplicationSource: smithyClient._json,
492
- ScalingInstructions: (_) => se_ScalingInstructions(_),
493
- ScalingPlanName: [],
494
- });
495
- };
496
- const se_GetScalingPlanResourceForecastDataRequest = (input, context) => {
497
- return smithyClient.take(input, {
498
- EndTime: (_) => _.getTime() / 1_000,
499
- ForecastDataType: [],
500
- ResourceId: [],
501
- ScalableDimension: [],
502
- ScalingPlanName: [],
503
- ScalingPlanVersion: [],
504
- ServiceNamespace: [],
505
- StartTime: (_) => _.getTime() / 1_000,
506
- });
507
- };
508
- const se_ScalingInstruction = (input, context) => {
509
- return smithyClient.take(input, {
510
- CustomizedLoadMetricSpecification: smithyClient._json,
511
- DisableDynamicScaling: [],
512
- MaxCapacity: [],
513
- MinCapacity: [],
514
- PredefinedLoadMetricSpecification: smithyClient._json,
515
- PredictiveScalingMaxCapacityBehavior: [],
516
- PredictiveScalingMaxCapacityBuffer: [],
517
- PredictiveScalingMode: [],
518
- ResourceId: [],
519
- ScalableDimension: [],
520
- ScalingPolicyUpdateBehavior: [],
521
- ScheduledActionBufferTime: [],
522
- ServiceNamespace: [],
523
- TargetTrackingConfigurations: (_) => se_TargetTrackingConfigurations(_),
524
- });
525
- };
526
- const se_ScalingInstructions = (input, context) => {
527
- return input
528
- .filter((e) => e != null)
529
- .map((entry) => {
530
- return se_ScalingInstruction(entry);
531
- });
532
- };
533
- const se_TargetTrackingConfiguration = (input, context) => {
534
- return smithyClient.take(input, {
535
- CustomizedScalingMetricSpecification: smithyClient._json,
536
- DisableScaleIn: [],
537
- EstimatedInstanceWarmup: [],
538
- PredefinedScalingMetricSpecification: smithyClient._json,
539
- ScaleInCooldown: [],
540
- ScaleOutCooldown: [],
541
- TargetValue: smithyClient.serializeFloat,
542
- });
543
- };
544
- const se_TargetTrackingConfigurations = (input, context) => {
545
- return input
546
- .filter((e) => e != null)
547
- .map((entry) => {
548
- return se_TargetTrackingConfiguration(entry);
549
- });
550
- };
551
- const se_UpdateScalingPlanRequest = (input, context) => {
552
- return smithyClient.take(input, {
553
- ApplicationSource: smithyClient._json,
554
- ScalingInstructions: (_) => se_ScalingInstructions(_),
555
- ScalingPlanName: [],
556
- ScalingPlanVersion: [],
557
- });
558
- };
559
- const de_Datapoint = (output, context) => {
560
- return smithyClient.take(output, {
561
- Timestamp: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
562
- Value: smithyClient.limitedParseDouble,
563
- });
564
- };
565
- const de_Datapoints = (output, context) => {
566
- const retVal = (output || [])
567
- .filter((e) => e != null)
568
- .map((entry) => {
569
- return de_Datapoint(entry);
570
- });
571
- return retVal;
572
- };
573
- const de_DescribeScalingPlanResourcesResponse = (output, context) => {
574
- return smithyClient.take(output, {
575
- NextToken: smithyClient.expectString,
576
- ScalingPlanResources: (_) => de_ScalingPlanResources(_),
577
- });
578
- };
579
- const de_DescribeScalingPlansResponse = (output, context) => {
580
- return smithyClient.take(output, {
581
- NextToken: smithyClient.expectString,
582
- ScalingPlans: (_) => de_ScalingPlans(_),
583
- });
584
- };
585
- const de_GetScalingPlanResourceForecastDataResponse = (output, context) => {
586
- return smithyClient.take(output, {
587
- Datapoints: (_) => de_Datapoints(_),
588
- });
589
- };
590
- const de_ScalingInstruction = (output, context) => {
591
- return smithyClient.take(output, {
592
- CustomizedLoadMetricSpecification: smithyClient._json,
593
- DisableDynamicScaling: smithyClient.expectBoolean,
594
- MaxCapacity: smithyClient.expectInt32,
595
- MinCapacity: smithyClient.expectInt32,
596
- PredefinedLoadMetricSpecification: smithyClient._json,
597
- PredictiveScalingMaxCapacityBehavior: smithyClient.expectString,
598
- PredictiveScalingMaxCapacityBuffer: smithyClient.expectInt32,
599
- PredictiveScalingMode: smithyClient.expectString,
600
- ResourceId: smithyClient.expectString,
601
- ScalableDimension: smithyClient.expectString,
602
- ScalingPolicyUpdateBehavior: smithyClient.expectString,
603
- ScheduledActionBufferTime: smithyClient.expectInt32,
604
- ServiceNamespace: smithyClient.expectString,
605
- TargetTrackingConfigurations: (_) => de_TargetTrackingConfigurations(_),
606
- });
607
- };
608
- const de_ScalingInstructions = (output, context) => {
609
- const retVal = (output || [])
610
- .filter((e) => e != null)
611
- .map((entry) => {
612
- return de_ScalingInstruction(entry);
613
- });
614
- return retVal;
615
- };
616
- const de_ScalingPlan = (output, context) => {
617
- return smithyClient.take(output, {
618
- ApplicationSource: smithyClient._json,
619
- CreationTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
620
- ScalingInstructions: (_) => de_ScalingInstructions(_),
621
- ScalingPlanName: smithyClient.expectString,
622
- ScalingPlanVersion: smithyClient.expectLong,
623
- StatusCode: smithyClient.expectString,
624
- StatusMessage: smithyClient.expectString,
625
- StatusStartTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
626
- });
627
- };
628
- const de_ScalingPlanResource = (output, context) => {
629
- return smithyClient.take(output, {
630
- ResourceId: smithyClient.expectString,
631
- ScalableDimension: smithyClient.expectString,
632
- ScalingPlanName: smithyClient.expectString,
633
- ScalingPlanVersion: smithyClient.expectLong,
634
- ScalingPolicies: (_) => de_ScalingPolicies(_),
635
- ScalingStatusCode: smithyClient.expectString,
636
- ScalingStatusMessage: smithyClient.expectString,
637
- ServiceNamespace: smithyClient.expectString,
638
- });
639
- };
640
- const de_ScalingPlanResources = (output, context) => {
641
- const retVal = (output || [])
642
- .filter((e) => e != null)
643
- .map((entry) => {
644
- return de_ScalingPlanResource(entry);
645
- });
646
- return retVal;
647
- };
648
- const de_ScalingPlans = (output, context) => {
649
- const retVal = (output || [])
650
- .filter((e) => e != null)
651
- .map((entry) => {
652
- return de_ScalingPlan(entry);
653
- });
654
- return retVal;
655
- };
656
- const de_ScalingPolicies = (output, context) => {
657
- const retVal = (output || [])
658
- .filter((e) => e != null)
659
- .map((entry) => {
660
- return de_ScalingPolicy(entry);
661
- });
662
- return retVal;
663
- };
664
- const de_ScalingPolicy = (output, context) => {
665
- return smithyClient.take(output, {
666
- PolicyName: smithyClient.expectString,
667
- PolicyType: smithyClient.expectString,
668
- TargetTrackingConfiguration: (_) => de_TargetTrackingConfiguration(_),
669
- });
670
- };
671
- const de_TargetTrackingConfiguration = (output, context) => {
672
- return smithyClient.take(output, {
673
- CustomizedScalingMetricSpecification: smithyClient._json,
674
- DisableScaleIn: smithyClient.expectBoolean,
675
- EstimatedInstanceWarmup: smithyClient.expectInt32,
676
- PredefinedScalingMetricSpecification: smithyClient._json,
677
- ScaleInCooldown: smithyClient.expectInt32,
678
- ScaleOutCooldown: smithyClient.expectInt32,
679
- TargetValue: smithyClient.limitedParseDouble,
680
- });
681
- };
682
- const de_TargetTrackingConfigurations = (output, context) => {
683
- const retVal = (output || [])
684
- .filter((e) => e != null)
685
- .map((entry) => {
686
- return de_TargetTrackingConfiguration(entry);
687
- });
688
- return retVal;
689
- };
690
- const deserializeMetadata = (output) => ({
691
- httpStatusCode: output.statusCode,
692
- requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
693
- extendedRequestId: output.headers["x-amz-id-2"],
694
- cfId: output.headers["x-amz-cf-id"],
695
- });
696
- const throwDefaultError = smithyClient.withBaseException(AutoScalingPlansServiceException);
697
- const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
698
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
699
- const contents = {
700
- protocol,
701
- hostname,
702
- port,
703
- method: "POST",
704
- path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
705
- headers,
706
- };
707
- if (body !== undefined) {
708
- contents.body = body;
709
- }
710
- return new protocolHttp.HttpRequest(contents);
711
- };
712
- function sharedHeaders(operation) {
713
- return {
714
- "content-type": "application/x-amz-json-1.1",
715
- "x-amz-target": `AnyScaleScalingPlannerFrontendService.${operation}`,
716
- };
717
- }
287
+ const _AS = "ApplicationSource";
288
+ const _ASp = "ApplicationSources";
289
+ const _CFSARN = "CloudFormationStackARN";
290
+ const _CLMS = "CustomizedLoadMetricSpecification";
291
+ const _CSMS = "CustomizedScalingMetricSpecification";
292
+ const _CSP = "CreateScalingPlan";
293
+ const _CSPR = "CreateScalingPlanRequest";
294
+ const _CSPRr = "CreateScalingPlanResponse";
295
+ const _CT = "CreationTime";
296
+ const _CUE = "ConcurrentUpdateException";
297
+ const _D = "Dimensions";
298
+ const _DDS = "DisableDynamicScaling";
299
+ const _DSI = "DisableScaleIn";
300
+ const _DSP = "DeleteScalingPlan";
301
+ const _DSPR = "DeleteScalingPlanRequest";
302
+ const _DSPRR = "DescribeScalingPlanResourcesRequest";
303
+ const _DSPRRe = "DescribeScalingPlanResourcesResponse";
304
+ const _DSPRe = "DeleteScalingPlanResponse";
305
+ const _DSPRes = "DescribeScalingPlansRequest";
306
+ const _DSPResc = "DescribeScalingPlansResponse";
307
+ const _DSPRescr = "DescribeScalingPlanResources";
308
+ const _DSPe = "DescribeScalingPlans";
309
+ const _Da = "Datapoint";
310
+ const _Dat = "Datapoints";
311
+ const _EIW = "EstimatedInstanceWarmup";
312
+ const _ET = "EndTime";
313
+ const _FDT = "ForecastDataType";
314
+ const _GSPRFD = "GetScalingPlanResourceForecastData";
315
+ const _GSPRFDR = "GetScalingPlanResourceForecastDataRequest";
316
+ const _GSPRFDRe = "GetScalingPlanResourceForecastDataResponse";
317
+ const _INTE = "InvalidNextTokenException";
318
+ const _ISE = "InternalServiceException";
319
+ const _K = "Key";
320
+ const _LEE = "LimitExceededException";
321
+ const _M = "Message";
322
+ const _MC = "MinCapacity";
323
+ const _MCa = "MaxCapacity";
324
+ const _MD = "MetricDimension";
325
+ const _MDe = "MetricDimensions";
326
+ const _MN = "MetricName";
327
+ const _MR = "MaxResults";
328
+ const _N = "Namespace";
329
+ const _NT = "NextToken";
330
+ const _Na = "Name";
331
+ const _ONFE = "ObjectNotFoundException";
332
+ const _PLMS = "PredefinedLoadMetricSpecification";
333
+ const _PLMT = "PredefinedLoadMetricType";
334
+ const _PN = "PolicyName";
335
+ const _PSM = "PredictiveScalingMode";
336
+ const _PSMCB = "PredictiveScalingMaxCapacityBehavior";
337
+ const _PSMCBr = "PredictiveScalingMaxCapacityBuffer";
338
+ const _PSMS = "PredefinedScalingMetricSpecification";
339
+ const _PSMT = "PredefinedScalingMetricType";
340
+ const _PT = "PolicyType";
341
+ const _RI = "ResourceId";
342
+ const _RL = "ResourceLabel";
343
+ const _S = "Statistic";
344
+ const _SABT = "ScheduledActionBufferTime";
345
+ const _SC = "StatusCode";
346
+ const _SD = "ScalableDimension";
347
+ const _SI = "ScalingInstructions";
348
+ const _SIC = "ScaleInCooldown";
349
+ const _SIc = "ScalingInstruction";
350
+ const _SM = "StatusMessage";
351
+ const _SN = "ServiceNamespace";
352
+ const _SOC = "ScaleOutCooldown";
353
+ const _SP = "ScalingPlans";
354
+ const _SPN = "ScalingPlanName";
355
+ const _SPNc = "ScalingPlanNames";
356
+ const _SPR = "ScalingPlanResources";
357
+ const _SPRc = "ScalingPlanResource";
358
+ const _SPUB = "ScalingPolicyUpdateBehavior";
359
+ const _SPV = "ScalingPlanVersion";
360
+ const _SPc = "ScalingPlan";
361
+ const _SPca = "ScalingPolicies";
362
+ const _SPcal = "ScalingPolicy";
363
+ const _SSC = "ScalingStatusCode";
364
+ const _SSM = "ScalingStatusMessage";
365
+ const _SST = "StatusStartTime";
366
+ const _ST = "StartTime";
367
+ const _T = "Timestamp";
368
+ const _TF = "TagFilters";
369
+ const _TFa = "TagFilter";
370
+ const _TTC = "TargetTrackingConfigurations";
371
+ const _TTCa = "TargetTrackingConfiguration";
372
+ const _TV = "TargetValue";
373
+ const _U = "Unit";
374
+ const _USP = "UpdateScalingPlan";
375
+ const _USPR = "UpdateScalingPlanRequest";
376
+ const _USPRp = "UpdateScalingPlanResponse";
377
+ const _V = "Value";
378
+ const _VE = "ValidationException";
379
+ const _Va = "Values";
380
+ const _aQE = "awsQueryError";
381
+ const _c = "client";
382
+ const _e = "error";
383
+ const _hE = "httpError";
384
+ const _s = "server";
385
+ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.autoscalingplans";
386
+ const n0 = "com.amazonaws.autoscalingplans";
387
+ var ApplicationSource = [3, n0, _AS, 0, [_CFSARN, _TF], [0, () => TagFilters]];
388
+ var ConcurrentUpdateException = [
389
+ -3,
390
+ n0,
391
+ _CUE,
392
+ {
393
+ [_e]: _s,
394
+ [_hE]: 500,
395
+ [_aQE]: [`ConcurrentUpdateException`, 500],
396
+ },
397
+ [_M],
398
+ [0],
399
+ ];
400
+ schema.TypeRegistry.for(n0).registerError(ConcurrentUpdateException, ConcurrentUpdateException$1);
401
+ var CreateScalingPlanRequest = [
402
+ 3,
403
+ n0,
404
+ _CSPR,
405
+ 0,
406
+ [_SPN, _AS, _SI],
407
+ [0, () => ApplicationSource, () => ScalingInstructions],
408
+ ];
409
+ var CreateScalingPlanResponse = [3, n0, _CSPRr, 0, [_SPV], [1]];
410
+ var CustomizedLoadMetricSpecification = [
411
+ 3,
412
+ n0,
413
+ _CLMS,
414
+ 0,
415
+ [_MN, _N, _D, _S, _U],
416
+ [0, 0, () => MetricDimensions, 0, 0],
417
+ ];
418
+ var CustomizedScalingMetricSpecification = [
419
+ 3,
420
+ n0,
421
+ _CSMS,
422
+ 0,
423
+ [_MN, _N, _D, _S, _U],
424
+ [0, 0, () => MetricDimensions, 0, 0],
425
+ ];
426
+ var Datapoint = [3, n0, _Da, 0, [_T, _V], [4, 1]];
427
+ var DeleteScalingPlanRequest = [3, n0, _DSPR, 0, [_SPN, _SPV], [0, 1]];
428
+ var DeleteScalingPlanResponse = [3, n0, _DSPRe, 0, [], []];
429
+ var DescribeScalingPlanResourcesRequest = [
430
+ 3,
431
+ n0,
432
+ _DSPRR,
433
+ 0,
434
+ [_SPN, _SPV, _MR, _NT],
435
+ [0, 1, 1, 0],
436
+ ];
437
+ var DescribeScalingPlanResourcesResponse = [
438
+ 3,
439
+ n0,
440
+ _DSPRRe,
441
+ 0,
442
+ [_SPR, _NT],
443
+ [() => ScalingPlanResources, 0],
444
+ ];
445
+ var DescribeScalingPlansRequest = [
446
+ 3,
447
+ n0,
448
+ _DSPRes,
449
+ 0,
450
+ [_SPNc, _SPV, _ASp, _MR, _NT],
451
+ [64 | 0, 1, () => ApplicationSources, 1, 0],
452
+ ];
453
+ var DescribeScalingPlansResponse = [
454
+ 3,
455
+ n0,
456
+ _DSPResc,
457
+ 0,
458
+ [_SP, _NT],
459
+ [() => ScalingPlans, 0],
460
+ ];
461
+ var GetScalingPlanResourceForecastDataRequest = [
462
+ 3,
463
+ n0,
464
+ _GSPRFDR,
465
+ 0,
466
+ [_SPN, _SPV, _SN, _RI, _SD, _FDT, _ST, _ET],
467
+ [0, 1, 0, 0, 0, 0, 4, 4],
468
+ ];
469
+ var GetScalingPlanResourceForecastDataResponse = [
470
+ 3,
471
+ n0,
472
+ _GSPRFDRe,
473
+ 0,
474
+ [_Dat],
475
+ [() => Datapoints],
476
+ ];
477
+ var InternalServiceException = [
478
+ -3,
479
+ n0,
480
+ _ISE,
481
+ {
482
+ [_e]: _s,
483
+ [_hE]: 500,
484
+ [_aQE]: [`InternalServiceException`, 500],
485
+ },
486
+ [_M],
487
+ [0],
488
+ ];
489
+ schema.TypeRegistry.for(n0).registerError(InternalServiceException, InternalServiceException$1);
490
+ var InvalidNextTokenException = [
491
+ -3,
492
+ n0,
493
+ _INTE,
494
+ {
495
+ [_e]: _c,
496
+ [_hE]: 400,
497
+ [_aQE]: [`InvalidNextTokenException`, 400],
498
+ },
499
+ [_M],
500
+ [0],
501
+ ];
502
+ schema.TypeRegistry.for(n0).registerError(InvalidNextTokenException, InvalidNextTokenException$1);
503
+ var LimitExceededException = [
504
+ -3,
505
+ n0,
506
+ _LEE,
507
+ {
508
+ [_e]: _c,
509
+ [_hE]: 400,
510
+ [_aQE]: [`LimitExceededException`, 400],
511
+ },
512
+ [_M],
513
+ [0],
514
+ ];
515
+ schema.TypeRegistry.for(n0).registerError(LimitExceededException, LimitExceededException$1);
516
+ var MetricDimension = [3, n0, _MD, 0, [_Na, _V], [0, 0]];
517
+ var ObjectNotFoundException = [
518
+ -3,
519
+ n0,
520
+ _ONFE,
521
+ {
522
+ [_e]: _c,
523
+ [_hE]: 400,
524
+ [_aQE]: [`ObjectNotFoundException`, 400],
525
+ },
526
+ [_M],
527
+ [0],
528
+ ];
529
+ schema.TypeRegistry.for(n0).registerError(ObjectNotFoundException, ObjectNotFoundException$1);
530
+ var PredefinedLoadMetricSpecification = [3, n0, _PLMS, 0, [_PLMT, _RL], [0, 0]];
531
+ var PredefinedScalingMetricSpecification = [3, n0, _PSMS, 0, [_PSMT, _RL], [0, 0]];
532
+ var ScalingInstruction = [
533
+ 3,
534
+ n0,
535
+ _SIc,
536
+ 0,
537
+ [_SN, _RI, _SD, _MC, _MCa, _TTC, _PLMS, _CLMS, _SABT, _PSMCB, _PSMCBr, _PSM, _SPUB, _DDS],
538
+ [
539
+ 0,
540
+ 0,
541
+ 0,
542
+ 1,
543
+ 1,
544
+ () => TargetTrackingConfigurations,
545
+ () => PredefinedLoadMetricSpecification,
546
+ () => CustomizedLoadMetricSpecification,
547
+ 1,
548
+ 0,
549
+ 1,
550
+ 0,
551
+ 0,
552
+ 2,
553
+ ],
554
+ ];
555
+ var ScalingPlan = [
556
+ 3,
557
+ n0,
558
+ _SPc,
559
+ 0,
560
+ [_SPN, _SPV, _AS, _SI, _SC, _SM, _SST, _CT],
561
+ [0, 1, () => ApplicationSource, () => ScalingInstructions, 0, 0, 4, 4],
562
+ ];
563
+ var ScalingPlanResource = [
564
+ 3,
565
+ n0,
566
+ _SPRc,
567
+ 0,
568
+ [_SPN, _SPV, _SN, _RI, _SD, _SPca, _SSC, _SSM],
569
+ [0, 1, 0, 0, 0, () => ScalingPolicies, 0, 0],
570
+ ];
571
+ var ScalingPolicy = [
572
+ 3,
573
+ n0,
574
+ _SPcal,
575
+ 0,
576
+ [_PN, _PT, _TTCa],
577
+ [0, 0, () => TargetTrackingConfiguration],
578
+ ];
579
+ var TagFilter = [3, n0, _TFa, 0, [_K, _Va], [0, 64 | 0]];
580
+ var TargetTrackingConfiguration = [
581
+ 3,
582
+ n0,
583
+ _TTCa,
584
+ 0,
585
+ [_PSMS, _CSMS, _TV, _DSI, _SOC, _SIC, _EIW],
586
+ [() => PredefinedScalingMetricSpecification, () => CustomizedScalingMetricSpecification, 1, 2, 1, 1, 1],
587
+ ];
588
+ var UpdateScalingPlanRequest = [
589
+ 3,
590
+ n0,
591
+ _USPR,
592
+ 0,
593
+ [_SPN, _SPV, _AS, _SI],
594
+ [0, 1, () => ApplicationSource, () => ScalingInstructions],
595
+ ];
596
+ var UpdateScalingPlanResponse = [3, n0, _USPRp, 0, [], []];
597
+ var ValidationException = [
598
+ -3,
599
+ n0,
600
+ _VE,
601
+ {
602
+ [_e]: _c,
603
+ [_hE]: 400,
604
+ [_aQE]: [`ValidationException`, 400],
605
+ },
606
+ [_M],
607
+ [0],
608
+ ];
609
+ schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
610
+ var AutoScalingPlansServiceException = [
611
+ -3,
612
+ _sm,
613
+ "AutoScalingPlansServiceException",
614
+ 0,
615
+ [],
616
+ [],
617
+ ];
618
+ schema.TypeRegistry.for(_sm).registerError(AutoScalingPlansServiceException, AutoScalingPlansServiceException$1);
619
+ var ApplicationSources = [1, n0, _ASp, 0, () => ApplicationSource];
620
+ var Datapoints = [1, n0, _Dat, 0, () => Datapoint];
621
+ var MetricDimensions = [1, n0, _MDe, 0, () => MetricDimension];
622
+ var ScalingInstructions = [1, n0, _SI, 0, () => ScalingInstruction];
623
+ var ScalingPlanResources = [1, n0, _SPR, 0, () => ScalingPlanResource];
624
+ var ScalingPlans = [1, n0, _SP, 0, () => ScalingPlan];
625
+ var ScalingPolicies = [1, n0, _SPca, 0, () => ScalingPolicy];
626
+ var TagFilters = [1, n0, _TF, 0, () => TagFilter];
627
+ var TargetTrackingConfigurations = [1, n0, _TTC, 0, () => TargetTrackingConfiguration];
628
+ var CreateScalingPlan = [
629
+ 9,
630
+ n0,
631
+ _CSP,
632
+ 0,
633
+ () => CreateScalingPlanRequest,
634
+ () => CreateScalingPlanResponse,
635
+ ];
636
+ var DeleteScalingPlan = [
637
+ 9,
638
+ n0,
639
+ _DSP,
640
+ 0,
641
+ () => DeleteScalingPlanRequest,
642
+ () => DeleteScalingPlanResponse,
643
+ ];
644
+ var DescribeScalingPlanResources = [
645
+ 9,
646
+ n0,
647
+ _DSPRescr,
648
+ 0,
649
+ () => DescribeScalingPlanResourcesRequest,
650
+ () => DescribeScalingPlanResourcesResponse,
651
+ ];
652
+ var DescribeScalingPlans = [
653
+ 9,
654
+ n0,
655
+ _DSPe,
656
+ 0,
657
+ () => DescribeScalingPlansRequest,
658
+ () => DescribeScalingPlansResponse,
659
+ ];
660
+ var GetScalingPlanResourceForecastData = [
661
+ 9,
662
+ n0,
663
+ _GSPRFD,
664
+ 0,
665
+ () => GetScalingPlanResourceForecastDataRequest,
666
+ () => GetScalingPlanResourceForecastDataResponse,
667
+ ];
668
+ var UpdateScalingPlan = [
669
+ 9,
670
+ n0,
671
+ _USP,
672
+ 0,
673
+ () => UpdateScalingPlanRequest,
674
+ () => UpdateScalingPlanResponse,
675
+ ];
718
676
 
719
677
  class CreateScalingPlanCommand extends smithyClient.Command
720
678
  .classBuilder()
721
679
  .ep(commonParams)
722
680
  .m(function (Command, cs, config, o) {
723
- return [
724
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
725
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
726
- ];
681
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
727
682
  })
728
683
  .s("AnyScaleScalingPlannerFrontendService", "CreateScalingPlan", {})
729
684
  .n("AutoScalingPlansClient", "CreateScalingPlanCommand")
730
- .f(void 0, void 0)
731
- .ser(se_CreateScalingPlanCommand)
732
- .de(de_CreateScalingPlanCommand)
685
+ .sc(CreateScalingPlan)
733
686
  .build() {
734
687
  }
735
688
 
@@ -737,16 +690,11 @@ class DeleteScalingPlanCommand extends smithyClient.Command
737
690
  .classBuilder()
738
691
  .ep(commonParams)
739
692
  .m(function (Command, cs, config, o) {
740
- return [
741
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
742
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
743
- ];
693
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
744
694
  })
745
695
  .s("AnyScaleScalingPlannerFrontendService", "DeleteScalingPlan", {})
746
696
  .n("AutoScalingPlansClient", "DeleteScalingPlanCommand")
747
- .f(void 0, void 0)
748
- .ser(se_DeleteScalingPlanCommand)
749
- .de(de_DeleteScalingPlanCommand)
697
+ .sc(DeleteScalingPlan)
750
698
  .build() {
751
699
  }
752
700
 
@@ -754,16 +702,11 @@ class DescribeScalingPlanResourcesCommand extends smithyClient.Command
754
702
  .classBuilder()
755
703
  .ep(commonParams)
756
704
  .m(function (Command, cs, config, o) {
757
- return [
758
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
759
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
760
- ];
705
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
761
706
  })
762
707
  .s("AnyScaleScalingPlannerFrontendService", "DescribeScalingPlanResources", {})
763
708
  .n("AutoScalingPlansClient", "DescribeScalingPlanResourcesCommand")
764
- .f(void 0, void 0)
765
- .ser(se_DescribeScalingPlanResourcesCommand)
766
- .de(de_DescribeScalingPlanResourcesCommand)
709
+ .sc(DescribeScalingPlanResources)
767
710
  .build() {
768
711
  }
769
712
 
@@ -771,16 +714,11 @@ class DescribeScalingPlansCommand extends smithyClient.Command
771
714
  .classBuilder()
772
715
  .ep(commonParams)
773
716
  .m(function (Command, cs, config, o) {
774
- return [
775
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
776
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
777
- ];
717
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
778
718
  })
779
719
  .s("AnyScaleScalingPlannerFrontendService", "DescribeScalingPlans", {})
780
720
  .n("AutoScalingPlansClient", "DescribeScalingPlansCommand")
781
- .f(void 0, void 0)
782
- .ser(se_DescribeScalingPlansCommand)
783
- .de(de_DescribeScalingPlansCommand)
721
+ .sc(DescribeScalingPlans)
784
722
  .build() {
785
723
  }
786
724
 
@@ -788,16 +726,11 @@ class GetScalingPlanResourceForecastDataCommand extends smithyClient.Command
788
726
  .classBuilder()
789
727
  .ep(commonParams)
790
728
  .m(function (Command, cs, config, o) {
791
- return [
792
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
793
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
794
- ];
729
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
795
730
  })
796
731
  .s("AnyScaleScalingPlannerFrontendService", "GetScalingPlanResourceForecastData", {})
797
732
  .n("AutoScalingPlansClient", "GetScalingPlanResourceForecastDataCommand")
798
- .f(void 0, void 0)
799
- .ser(se_GetScalingPlanResourceForecastDataCommand)
800
- .de(de_GetScalingPlanResourceForecastDataCommand)
733
+ .sc(GetScalingPlanResourceForecastData)
801
734
  .build() {
802
735
  }
803
736
 
@@ -805,16 +738,11 @@ class UpdateScalingPlanCommand extends smithyClient.Command
805
738
  .classBuilder()
806
739
  .ep(commonParams)
807
740
  .m(function (Command, cs, config, o) {
808
- return [
809
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
810
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
811
- ];
741
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
812
742
  })
813
743
  .s("AnyScaleScalingPlannerFrontendService", "UpdateScalingPlan", {})
814
744
  .n("AutoScalingPlansClient", "UpdateScalingPlanCommand")
815
- .f(void 0, void 0)
816
- .ser(se_UpdateScalingPlanCommand)
817
- .de(de_UpdateScalingPlanCommand)
745
+ .sc(UpdateScalingPlan)
818
746
  .build() {
819
747
  }
820
748
 
@@ -840,20 +768,20 @@ Object.defineProperty(exports, "__Client", {
840
768
  });
841
769
  exports.AutoScalingPlans = AutoScalingPlans;
842
770
  exports.AutoScalingPlansClient = AutoScalingPlansClient;
843
- exports.AutoScalingPlansServiceException = AutoScalingPlansServiceException;
844
- exports.ConcurrentUpdateException = ConcurrentUpdateException;
771
+ exports.AutoScalingPlansServiceException = AutoScalingPlansServiceException$1;
772
+ exports.ConcurrentUpdateException = ConcurrentUpdateException$1;
845
773
  exports.CreateScalingPlanCommand = CreateScalingPlanCommand;
846
774
  exports.DeleteScalingPlanCommand = DeleteScalingPlanCommand;
847
775
  exports.DescribeScalingPlanResourcesCommand = DescribeScalingPlanResourcesCommand;
848
776
  exports.DescribeScalingPlansCommand = DescribeScalingPlansCommand;
849
777
  exports.ForecastDataType = ForecastDataType;
850
778
  exports.GetScalingPlanResourceForecastDataCommand = GetScalingPlanResourceForecastDataCommand;
851
- exports.InternalServiceException = InternalServiceException;
852
- exports.InvalidNextTokenException = InvalidNextTokenException;
853
- exports.LimitExceededException = LimitExceededException;
779
+ exports.InternalServiceException = InternalServiceException$1;
780
+ exports.InvalidNextTokenException = InvalidNextTokenException$1;
781
+ exports.LimitExceededException = LimitExceededException$1;
854
782
  exports.LoadMetricType = LoadMetricType;
855
783
  exports.MetricStatistic = MetricStatistic;
856
- exports.ObjectNotFoundException = ObjectNotFoundException;
784
+ exports.ObjectNotFoundException = ObjectNotFoundException$1;
857
785
  exports.PolicyType = PolicyType;
858
786
  exports.PredictiveScalingMaxCapacityBehavior = PredictiveScalingMaxCapacityBehavior;
859
787
  exports.PredictiveScalingMode = PredictiveScalingMode;
@@ -864,4 +792,4 @@ exports.ScalingPolicyUpdateBehavior = ScalingPolicyUpdateBehavior;
864
792
  exports.ScalingStatusCode = ScalingStatusCode;
865
793
  exports.ServiceNamespace = ServiceNamespace;
866
794
  exports.UpdateScalingPlanCommand = UpdateScalingPlanCommand;
867
- exports.ValidationException = ValidationException;
795
+ exports.ValidationException = ValidationException$1;