@aws-sdk/client-arc-region-switch 3.927.0 → 3.929.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.
Files changed (41) hide show
  1. package/dist-cjs/index.js +799 -1027
  2. package/dist-cjs/runtimeConfig.shared.js +7 -0
  3. package/dist-es/ARCRegionSwitchClient.js +2 -0
  4. package/dist-es/commands/ApprovePlanExecutionStepCommand.js +3 -9
  5. package/dist-es/commands/CancelPlanExecutionCommand.js +3 -9
  6. package/dist-es/commands/CreatePlanCommand.js +3 -9
  7. package/dist-es/commands/DeletePlanCommand.js +3 -9
  8. package/dist-es/commands/GetPlanCommand.js +3 -9
  9. package/dist-es/commands/GetPlanEvaluationStatusCommand.js +3 -9
  10. package/dist-es/commands/GetPlanExecutionCommand.js +3 -9
  11. package/dist-es/commands/GetPlanInRegionCommand.js +3 -9
  12. package/dist-es/commands/ListPlanExecutionEventsCommand.js +3 -9
  13. package/dist-es/commands/ListPlanExecutionsCommand.js +3 -9
  14. package/dist-es/commands/ListPlansCommand.js +3 -9
  15. package/dist-es/commands/ListPlansInRegionCommand.js +3 -9
  16. package/dist-es/commands/ListRoute53HealthChecksCommand.js +3 -9
  17. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  18. package/dist-es/commands/StartPlanExecutionCommand.js +3 -9
  19. package/dist-es/commands/TagResourceCommand.js +3 -9
  20. package/dist-es/commands/UntagResourceCommand.js +3 -9
  21. package/dist-es/commands/UpdatePlanCommand.js +3 -9
  22. package/dist-es/commands/UpdatePlanExecutionCommand.js +3 -9
  23. package/dist-es/commands/UpdatePlanExecutionStepCommand.js +3 -9
  24. package/dist-es/runtimeConfig.shared.js +7 -0
  25. package/dist-es/schemas/schemas_0.js +748 -0
  26. package/dist-types/ARCRegionSwitchClient.d.ts +10 -1
  27. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  28. package/dist-types/runtimeConfig.d.ts +1 -0
  29. package/dist-types/runtimeConfig.native.d.ts +1 -0
  30. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  31. package/dist-types/schemas/schemas_0.d.ts +131 -0
  32. package/dist-types/ts3.4/ARCRegionSwitchClient.d.ts +4 -0
  33. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  34. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  35. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  36. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  37. package/dist-types/ts3.4/schemas/schemas_0.d.ts +137 -0
  38. package/package.json +5 -5
  39. package/dist-es/protocols/Aws_json1_0.js +0 -876
  40. package/dist-types/protocols/Aws_json1_0.d.ts +0 -182
  41. package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +0 -245
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
  var utilWaiter = require('@smithy/util-waiter');
20
19
 
21
20
  const resolveClientEndpointParameters = (options) => {
@@ -90,6 +89,7 @@ class ARCRegionSwitchClient extends smithyClient.Client {
90
89
  const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
91
90
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
92
91
  this.config = _config_8;
92
+ this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
93
93
  this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
94
94
  this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
95
95
  this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
@@ -109,12 +109,12 @@ class ARCRegionSwitchClient extends smithyClient.Client {
109
109
  }
110
110
  }
111
111
 
112
- class ARCRegionSwitchServiceException extends smithyClient.ServiceException {
112
+ let ARCRegionSwitchServiceException$1 = class ARCRegionSwitchServiceException extends smithyClient.ServiceException {
113
113
  constructor(options) {
114
114
  super(options);
115
115
  Object.setPrototypeOf(this, ARCRegionSwitchServiceException.prototype);
116
116
  }
117
- }
117
+ };
118
118
 
119
119
  const ExecutionAction = {
120
120
  ACTIVATE: "activate",
@@ -141,7 +141,7 @@ const RecoveryApproach = {
141
141
  ACTIVE_ACTIVE: "activeActive",
142
142
  ACTIVE_PASSIVE: "activePassive",
143
143
  };
144
- class AccessDeniedException extends ARCRegionSwitchServiceException {
144
+ let AccessDeniedException$1 = class AccessDeniedException extends ARCRegionSwitchServiceException$1 {
145
145
  name = "AccessDeniedException";
146
146
  $fault = "client";
147
147
  constructor(opts) {
@@ -152,7 +152,7 @@ class AccessDeniedException extends ARCRegionSwitchServiceException {
152
152
  });
153
153
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
154
154
  }
155
- }
155
+ };
156
156
  const AlarmCondition = {
157
157
  GREEN: "green",
158
158
  RED: "red",
@@ -165,7 +165,7 @@ const Approval = {
165
165
  APPROVE: "approve",
166
166
  DECLINE: "decline",
167
167
  };
168
- class ResourceNotFoundException extends ARCRegionSwitchServiceException {
168
+ let ResourceNotFoundException$1 = class ResourceNotFoundException extends ARCRegionSwitchServiceException$1 {
169
169
  name = "ResourceNotFoundException";
170
170
  $fault = "client";
171
171
  constructor(opts) {
@@ -176,7 +176,7 @@ class ResourceNotFoundException extends ARCRegionSwitchServiceException {
176
176
  });
177
177
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
178
178
  }
179
- }
179
+ };
180
180
  const EvaluationStatus = {
181
181
  ACTION_REQUIRED: "actionRequired",
182
182
  PASSED: "passed",
@@ -268,7 +268,7 @@ const ExecutionEventType = {
268
268
  STEP_UPDATE: "stepUpdate",
269
269
  UNKNOWN: "unknown",
270
270
  };
271
- class InternalServerException extends ARCRegionSwitchServiceException {
271
+ let InternalServerException$1 = class InternalServerException extends ARCRegionSwitchServiceException$1 {
272
272
  name = "InternalServerException";
273
273
  $fault = "server";
274
274
  constructor(opts) {
@@ -279,8 +279,8 @@ class InternalServerException extends ARCRegionSwitchServiceException {
279
279
  });
280
280
  Object.setPrototypeOf(this, InternalServerException.prototype);
281
281
  }
282
- }
283
- class IllegalStateException extends ARCRegionSwitchServiceException {
282
+ };
283
+ let IllegalStateException$1 = class IllegalStateException extends ARCRegionSwitchServiceException$1 {
284
284
  name = "IllegalStateException";
285
285
  $fault = "client";
286
286
  constructor(opts) {
@@ -291,8 +291,8 @@ class IllegalStateException extends ARCRegionSwitchServiceException {
291
291
  });
292
292
  Object.setPrototypeOf(this, IllegalStateException.prototype);
293
293
  }
294
- }
295
- class IllegalArgumentException extends ARCRegionSwitchServiceException {
294
+ };
295
+ let IllegalArgumentException$1 = class IllegalArgumentException extends ARCRegionSwitchServiceException$1 {
296
296
  name = "IllegalArgumentException";
297
297
  $fault = "client";
298
298
  constructor(opts) {
@@ -303,7 +303,7 @@ class IllegalArgumentException extends ARCRegionSwitchServiceException {
303
303
  });
304
304
  Object.setPrototypeOf(this, IllegalArgumentException.prototype);
305
305
  }
306
- }
306
+ };
307
307
  const UpdatePlanExecutionAction = {
308
308
  PAUSE: "pause",
309
309
  RESUME: "resume",
@@ -341,888 +341,755 @@ exports.ExecutionBlockConfiguration = void 0;
341
341
  };
342
342
  })(exports.ExecutionBlockConfiguration || (exports.ExecutionBlockConfiguration = {}));
343
343
 
344
- const se_ApprovePlanExecutionStepCommand = async (input, context) => {
345
- const headers = sharedHeaders("ApprovePlanExecutionStep");
346
- let body;
347
- body = JSON.stringify(smithyClient._json(input));
348
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
349
- };
350
- const se_CancelPlanExecutionCommand = async (input, context) => {
351
- const headers = sharedHeaders("CancelPlanExecution");
352
- let body;
353
- body = JSON.stringify(smithyClient._json(input));
354
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
355
- };
356
- const se_CreatePlanCommand = async (input, context) => {
357
- const headers = sharedHeaders("CreatePlan");
358
- let body;
359
- body = JSON.stringify(se_CreatePlanRequest(input));
360
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
361
- };
362
- const se_DeletePlanCommand = async (input, context) => {
363
- const headers = sharedHeaders("DeletePlan");
364
- let body;
365
- body = JSON.stringify(smithyClient._json(input));
366
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
367
- };
368
- const se_GetPlanCommand = async (input, context) => {
369
- const headers = sharedHeaders("GetPlan");
370
- let body;
371
- body = JSON.stringify(smithyClient._json(input));
372
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
373
- };
374
- const se_GetPlanEvaluationStatusCommand = async (input, context) => {
375
- const headers = sharedHeaders("GetPlanEvaluationStatus");
376
- let body;
377
- body = JSON.stringify(smithyClient._json(input));
378
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
379
- };
380
- const se_GetPlanExecutionCommand = async (input, context) => {
381
- const headers = sharedHeaders("GetPlanExecution");
382
- let body;
383
- body = JSON.stringify(smithyClient._json(input));
384
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
385
- };
386
- const se_GetPlanInRegionCommand = async (input, context) => {
387
- const headers = sharedHeaders("GetPlanInRegion");
388
- let body;
389
- body = JSON.stringify(smithyClient._json(input));
390
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
391
- };
392
- const se_ListPlanExecutionEventsCommand = async (input, context) => {
393
- const headers = sharedHeaders("ListPlanExecutionEvents");
394
- let body;
395
- body = JSON.stringify(smithyClient._json(input));
396
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
397
- };
398
- const se_ListPlanExecutionsCommand = async (input, context) => {
399
- const headers = sharedHeaders("ListPlanExecutions");
400
- let body;
401
- body = JSON.stringify(smithyClient._json(input));
402
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
403
- };
404
- const se_ListPlansCommand = async (input, context) => {
405
- const headers = sharedHeaders("ListPlans");
406
- let body;
407
- body = JSON.stringify(smithyClient._json(input));
408
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
409
- };
410
- const se_ListPlansInRegionCommand = async (input, context) => {
411
- const headers = sharedHeaders("ListPlansInRegion");
412
- let body;
413
- body = JSON.stringify(smithyClient._json(input));
414
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
415
- };
416
- const se_ListRoute53HealthChecksCommand = async (input, context) => {
417
- const headers = sharedHeaders("ListRoute53HealthChecks");
418
- let body;
419
- body = JSON.stringify(smithyClient._json(input));
420
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
421
- };
422
- const se_ListTagsForResourceCommand = async (input, context) => {
423
- const headers = sharedHeaders("ListTagsForResource");
424
- let body;
425
- body = JSON.stringify(smithyClient._json(input));
426
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
427
- };
428
- const se_StartPlanExecutionCommand = async (input, context) => {
429
- const headers = sharedHeaders("StartPlanExecution");
430
- let body;
431
- body = JSON.stringify(smithyClient._json(input));
432
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
433
- };
434
- const se_TagResourceCommand = async (input, context) => {
435
- const headers = sharedHeaders("TagResource");
436
- let body;
437
- body = JSON.stringify(smithyClient._json(input));
438
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
439
- };
440
- const se_UntagResourceCommand = async (input, context) => {
441
- const headers = sharedHeaders("UntagResource");
442
- let body;
443
- body = JSON.stringify(smithyClient._json(input));
444
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
445
- };
446
- const se_UpdatePlanCommand = async (input, context) => {
447
- const headers = sharedHeaders("UpdatePlan");
448
- let body;
449
- body = JSON.stringify(se_UpdatePlanRequest(input));
450
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
451
- };
452
- const se_UpdatePlanExecutionCommand = async (input, context) => {
453
- const headers = sharedHeaders("UpdatePlanExecution");
454
- let body;
455
- body = JSON.stringify(smithyClient._json(input));
456
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
457
- };
458
- const se_UpdatePlanExecutionStepCommand = async (input, context) => {
459
- const headers = sharedHeaders("UpdatePlanExecutionStep");
460
- let body;
461
- body = JSON.stringify(smithyClient._json(input));
462
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
463
- };
464
- const de_ApprovePlanExecutionStepCommand = async (output, context) => {
465
- if (output.statusCode >= 300) {
466
- return de_CommandError(output, context);
467
- }
468
- const data = await core$1.parseJsonBody(output.body, context);
469
- let contents = {};
470
- contents = smithyClient._json(data);
471
- const response = {
472
- $metadata: deserializeMetadata(output),
473
- ...contents,
474
- };
475
- return response;
476
- };
477
- const de_CancelPlanExecutionCommand = async (output, context) => {
478
- if (output.statusCode >= 300) {
479
- return de_CommandError(output, context);
480
- }
481
- const data = await core$1.parseJsonBody(output.body, context);
482
- let contents = {};
483
- contents = smithyClient._json(data);
484
- const response = {
485
- $metadata: deserializeMetadata(output),
486
- ...contents,
487
- };
488
- return response;
489
- };
490
- const de_CreatePlanCommand = async (output, context) => {
491
- if (output.statusCode >= 300) {
492
- return de_CommandError(output, context);
493
- }
494
- const data = await core$1.parseJsonBody(output.body, context);
495
- let contents = {};
496
- contents = de_CreatePlanResponse(data);
497
- const response = {
498
- $metadata: deserializeMetadata(output),
499
- ...contents,
500
- };
501
- return response;
502
- };
503
- const de_DeletePlanCommand = async (output, context) => {
504
- if (output.statusCode >= 300) {
505
- return de_CommandError(output, context);
506
- }
507
- const data = await core$1.parseJsonBody(output.body, context);
508
- let contents = {};
509
- contents = smithyClient._json(data);
510
- const response = {
511
- $metadata: deserializeMetadata(output),
512
- ...contents,
513
- };
514
- return response;
515
- };
516
- const de_GetPlanCommand = async (output, context) => {
517
- if (output.statusCode >= 300) {
518
- return de_CommandError(output, context);
519
- }
520
- const data = await core$1.parseJsonBody(output.body, context);
521
- let contents = {};
522
- contents = de_GetPlanResponse(data);
523
- const response = {
524
- $metadata: deserializeMetadata(output),
525
- ...contents,
526
- };
527
- return response;
528
- };
529
- const de_GetPlanEvaluationStatusCommand = async (output, context) => {
530
- if (output.statusCode >= 300) {
531
- return de_CommandError(output, context);
532
- }
533
- const data = await core$1.parseJsonBody(output.body, context);
534
- let contents = {};
535
- contents = de_GetPlanEvaluationStatusResponse(data);
536
- const response = {
537
- $metadata: deserializeMetadata(output),
538
- ...contents,
539
- };
540
- return response;
541
- };
542
- const de_GetPlanExecutionCommand = async (output, context) => {
543
- if (output.statusCode >= 300) {
544
- return de_CommandError(output, context);
545
- }
546
- const data = await core$1.parseJsonBody(output.body, context);
547
- let contents = {};
548
- contents = de_GetPlanExecutionResponse(data);
549
- const response = {
550
- $metadata: deserializeMetadata(output),
551
- ...contents,
552
- };
553
- return response;
554
- };
555
- const de_GetPlanInRegionCommand = async (output, context) => {
556
- if (output.statusCode >= 300) {
557
- return de_CommandError(output, context);
558
- }
559
- const data = await core$1.parseJsonBody(output.body, context);
560
- let contents = {};
561
- contents = de_GetPlanInRegionResponse(data);
562
- const response = {
563
- $metadata: deserializeMetadata(output),
564
- ...contents,
565
- };
566
- return response;
567
- };
568
- const de_ListPlanExecutionEventsCommand = async (output, context) => {
569
- if (output.statusCode >= 300) {
570
- return de_CommandError(output, context);
571
- }
572
- const data = await core$1.parseJsonBody(output.body, context);
573
- let contents = {};
574
- contents = de_ListPlanExecutionEventsResponse(data);
575
- const response = {
576
- $metadata: deserializeMetadata(output),
577
- ...contents,
578
- };
579
- return response;
580
- };
581
- const de_ListPlanExecutionsCommand = async (output, context) => {
582
- if (output.statusCode >= 300) {
583
- return de_CommandError(output, context);
584
- }
585
- const data = await core$1.parseJsonBody(output.body, context);
586
- let contents = {};
587
- contents = de_ListPlanExecutionsResponse(data);
588
- const response = {
589
- $metadata: deserializeMetadata(output),
590
- ...contents,
591
- };
592
- return response;
593
- };
594
- const de_ListPlansCommand = async (output, context) => {
595
- if (output.statusCode >= 300) {
596
- return de_CommandError(output, context);
597
- }
598
- const data = await core$1.parseJsonBody(output.body, context);
599
- let contents = {};
600
- contents = de_ListPlansResponse(data);
601
- const response = {
602
- $metadata: deserializeMetadata(output),
603
- ...contents,
604
- };
605
- return response;
606
- };
607
- const de_ListPlansInRegionCommand = async (output, context) => {
608
- if (output.statusCode >= 300) {
609
- return de_CommandError(output, context);
610
- }
611
- const data = await core$1.parseJsonBody(output.body, context);
612
- let contents = {};
613
- contents = de_ListPlansInRegionResponse(data);
614
- const response = {
615
- $metadata: deserializeMetadata(output),
616
- ...contents,
617
- };
618
- return response;
619
- };
620
- const de_ListRoute53HealthChecksCommand = async (output, context) => {
621
- if (output.statusCode >= 300) {
622
- return de_CommandError(output, context);
623
- }
624
- const data = await core$1.parseJsonBody(output.body, context);
625
- let contents = {};
626
- contents = smithyClient._json(data);
627
- const response = {
628
- $metadata: deserializeMetadata(output),
629
- ...contents,
630
- };
631
- return response;
632
- };
633
- const de_ListTagsForResourceCommand = async (output, context) => {
634
- if (output.statusCode >= 300) {
635
- return de_CommandError(output, context);
636
- }
637
- const data = await core$1.parseJsonBody(output.body, context);
638
- let contents = {};
639
- contents = smithyClient._json(data);
640
- const response = {
641
- $metadata: deserializeMetadata(output),
642
- ...contents,
643
- };
644
- return response;
645
- };
646
- const de_StartPlanExecutionCommand = async (output, context) => {
647
- if (output.statusCode >= 300) {
648
- return de_CommandError(output, context);
649
- }
650
- const data = await core$1.parseJsonBody(output.body, context);
651
- let contents = {};
652
- contents = smithyClient._json(data);
653
- const response = {
654
- $metadata: deserializeMetadata(output),
655
- ...contents,
656
- };
657
- return response;
658
- };
659
- const de_TagResourceCommand = async (output, context) => {
660
- if (output.statusCode >= 300) {
661
- return de_CommandError(output, context);
662
- }
663
- const data = await core$1.parseJsonBody(output.body, context);
664
- let contents = {};
665
- contents = smithyClient._json(data);
666
- const response = {
667
- $metadata: deserializeMetadata(output),
668
- ...contents,
669
- };
670
- return response;
671
- };
672
- const de_UntagResourceCommand = async (output, context) => {
673
- if (output.statusCode >= 300) {
674
- return de_CommandError(output, context);
675
- }
676
- const data = await core$1.parseJsonBody(output.body, context);
677
- let contents = {};
678
- contents = smithyClient._json(data);
679
- const response = {
680
- $metadata: deserializeMetadata(output),
681
- ...contents,
682
- };
683
- return response;
684
- };
685
- const de_UpdatePlanCommand = async (output, context) => {
686
- if (output.statusCode >= 300) {
687
- return de_CommandError(output, context);
688
- }
689
- const data = await core$1.parseJsonBody(output.body, context);
690
- let contents = {};
691
- contents = de_UpdatePlanResponse(data);
692
- const response = {
693
- $metadata: deserializeMetadata(output),
694
- ...contents,
695
- };
696
- return response;
697
- };
698
- const de_UpdatePlanExecutionCommand = async (output, context) => {
699
- if (output.statusCode >= 300) {
700
- return de_CommandError(output, context);
701
- }
702
- const data = await core$1.parseJsonBody(output.body, context);
703
- let contents = {};
704
- contents = smithyClient._json(data);
705
- const response = {
706
- $metadata: deserializeMetadata(output),
707
- ...contents,
708
- };
709
- return response;
710
- };
711
- const de_UpdatePlanExecutionStepCommand = async (output, context) => {
712
- if (output.statusCode >= 300) {
713
- return de_CommandError(output, context);
714
- }
715
- const data = await core$1.parseJsonBody(output.body, context);
716
- let contents = {};
717
- contents = smithyClient._json(data);
718
- const response = {
719
- $metadata: deserializeMetadata(output),
720
- ...contents,
721
- };
722
- return response;
723
- };
724
- const de_CommandError = async (output, context) => {
725
- const parsedOutput = {
726
- ...output,
727
- body: await core$1.parseJsonErrorBody(output.body, context),
728
- };
729
- const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
730
- switch (errorCode) {
731
- case "AccessDeniedException":
732
- case "com.amazonaws.arcregionswitch#AccessDeniedException":
733
- throw await de_AccessDeniedExceptionRes(parsedOutput);
734
- case "ResourceNotFoundException":
735
- case "com.amazonaws.arcregionswitch#ResourceNotFoundException":
736
- throw await de_ResourceNotFoundExceptionRes(parsedOutput);
737
- case "IllegalStateException":
738
- case "com.amazonaws.arcregionswitch#IllegalStateException":
739
- throw await de_IllegalStateExceptionRes(parsedOutput);
740
- case "InternalServerException":
741
- case "com.amazonaws.arcregionswitch#InternalServerException":
742
- throw await de_InternalServerExceptionRes(parsedOutput);
743
- case "IllegalArgumentException":
744
- case "com.amazonaws.arcregionswitch#IllegalArgumentException":
745
- throw await de_IllegalArgumentExceptionRes(parsedOutput);
746
- default:
747
- const parsedBody = parsedOutput.body;
748
- return throwDefaultError({
749
- output,
750
- parsedBody,
751
- errorCode,
752
- });
753
- }
754
- };
755
- const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
756
- const body = parsedOutput.body;
757
- const deserialized = smithyClient._json(body);
758
- const exception = new AccessDeniedException({
759
- $metadata: deserializeMetadata(parsedOutput),
760
- ...deserialized,
761
- });
762
- return smithyClient.decorateServiceException(exception, body);
763
- };
764
- const de_IllegalArgumentExceptionRes = async (parsedOutput, context) => {
765
- const body = parsedOutput.body;
766
- const deserialized = smithyClient._json(body);
767
- const exception = new IllegalArgumentException({
768
- $metadata: deserializeMetadata(parsedOutput),
769
- ...deserialized,
770
- });
771
- return smithyClient.decorateServiceException(exception, body);
772
- };
773
- const de_IllegalStateExceptionRes = async (parsedOutput, context) => {
774
- const body = parsedOutput.body;
775
- const deserialized = smithyClient._json(body);
776
- const exception = new IllegalStateException({
777
- $metadata: deserializeMetadata(parsedOutput),
778
- ...deserialized,
779
- });
780
- return smithyClient.decorateServiceException(exception, body);
781
- };
782
- const de_InternalServerExceptionRes = async (parsedOutput, context) => {
783
- const body = parsedOutput.body;
784
- const deserialized = smithyClient._json(body);
785
- const exception = new InternalServerException({
786
- $metadata: deserializeMetadata(parsedOutput),
787
- ...deserialized,
788
- });
789
- return smithyClient.decorateServiceException(exception, body);
790
- };
791
- const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
792
- const body = parsedOutput.body;
793
- const deserialized = smithyClient._json(body);
794
- const exception = new ResourceNotFoundException({
795
- $metadata: deserializeMetadata(parsedOutput),
796
- ...deserialized,
797
- });
798
- return smithyClient.decorateServiceException(exception, body);
799
- };
800
- const se_CreatePlanRequest = (input, context) => {
801
- return smithyClient.take(input, {
802
- associatedAlarms: smithyClient._json,
803
- description: [],
804
- executionRole: [],
805
- name: [],
806
- primaryRegion: [],
807
- recoveryApproach: [],
808
- recoveryTimeObjectiveMinutes: [],
809
- regions: smithyClient._json,
810
- tags: smithyClient._json,
811
- triggers: smithyClient._json,
812
- workflows: (_) => se_WorkflowList(_),
813
- });
814
- };
815
- const se_CustomActionLambdaConfiguration = (input, context) => {
816
- return smithyClient.take(input, {
817
- lambdas: smithyClient._json,
818
- regionToRun: [],
819
- retryIntervalMinutes: smithyClient.serializeFloat,
820
- timeoutMinutes: [],
821
- ungraceful: smithyClient._json,
822
- });
823
- };
824
- const se_ExecutionBlockConfiguration = (input, context) => {
825
- return exports.ExecutionBlockConfiguration.visit(input, {
826
- arcRoutingControlConfig: (value) => ({ arcRoutingControlConfig: smithyClient._json(value) }),
827
- customActionLambdaConfig: (value) => ({
828
- customActionLambdaConfig: se_CustomActionLambdaConfiguration(value),
829
- }),
830
- ec2AsgCapacityIncreaseConfig: (value) => ({ ec2AsgCapacityIncreaseConfig: smithyClient._json(value) }),
831
- ecsCapacityIncreaseConfig: (value) => ({ ecsCapacityIncreaseConfig: smithyClient._json(value) }),
832
- eksResourceScalingConfig: (value) => ({ eksResourceScalingConfig: smithyClient._json(value) }),
833
- executionApprovalConfig: (value) => ({ executionApprovalConfig: smithyClient._json(value) }),
834
- globalAuroraConfig: (value) => ({ globalAuroraConfig: smithyClient._json(value) }),
835
- parallelConfig: (value) => ({ parallelConfig: se_ParallelExecutionBlockConfiguration(value) }),
836
- regionSwitchPlanConfig: (value) => ({ regionSwitchPlanConfig: smithyClient._json(value) }),
837
- route53HealthCheckConfig: (value) => ({ route53HealthCheckConfig: smithyClient._json(value) }),
838
- _: (name, value) => ({ [name]: value }),
839
- });
840
- };
841
- const se_ParallelExecutionBlockConfiguration = (input, context) => {
842
- return smithyClient.take(input, {
843
- steps: (_) => se_Steps(_),
844
- });
845
- };
846
- const se_Step = (input, context) => {
847
- return smithyClient.take(input, {
848
- description: [],
849
- executionBlockConfiguration: (_) => se_ExecutionBlockConfiguration(_),
850
- executionBlockType: [],
851
- name: [],
852
- });
853
- };
854
- const se_Steps = (input, context) => {
855
- return input
856
- .filter((e) => e != null)
857
- .map((entry) => {
858
- return se_Step(entry);
859
- });
860
- };
861
- const se_UpdatePlanRequest = (input, context) => {
862
- return smithyClient.take(input, {
863
- arn: [],
864
- associatedAlarms: smithyClient._json,
865
- description: [],
866
- executionRole: [],
867
- recoveryTimeObjectiveMinutes: [],
868
- triggers: smithyClient._json,
869
- workflows: (_) => se_WorkflowList(_),
870
- });
871
- };
872
- const se_Workflow = (input, context) => {
873
- return smithyClient.take(input, {
874
- steps: (_) => se_Steps(_),
875
- workflowDescription: [],
876
- workflowTargetAction: [],
877
- workflowTargetRegion: [],
878
- });
879
- };
880
- const se_WorkflowList = (input, context) => {
881
- return input
882
- .filter((e) => e != null)
883
- .map((entry) => {
884
- return se_Workflow(entry);
885
- });
886
- };
887
- const de_AbbreviatedExecution = (output, context) => {
888
- return smithyClient.take(output, {
889
- actualRecoveryTime: smithyClient.expectString,
890
- comment: smithyClient.expectString,
891
- endTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
892
- executionAction: smithyClient.expectString,
893
- executionId: smithyClient.expectString,
894
- executionRegion: smithyClient.expectString,
895
- executionState: smithyClient.expectString,
896
- mode: smithyClient.expectString,
897
- planArn: smithyClient.expectString,
898
- startTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
899
- updatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
900
- version: smithyClient.expectString,
901
- });
902
- };
903
- const de_AbbreviatedExecutionsList = (output, context) => {
904
- const retVal = (output || [])
905
- .filter((e) => e != null)
906
- .map((entry) => {
907
- return de_AbbreviatedExecution(entry);
908
- });
909
- return retVal;
910
- };
911
- const de_AbbreviatedPlan = (output, context) => {
912
- return smithyClient.take(output, {
913
- activePlanExecution: smithyClient.expectString,
914
- arn: smithyClient.expectString,
915
- description: smithyClient.expectString,
916
- executionRole: smithyClient.expectString,
917
- name: smithyClient.expectString,
918
- owner: smithyClient.expectString,
919
- primaryRegion: smithyClient.expectString,
920
- recoveryApproach: smithyClient.expectString,
921
- recoveryTimeObjectiveMinutes: smithyClient.expectInt32,
922
- regions: smithyClient._json,
923
- updatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
924
- version: smithyClient.expectString,
925
- });
926
- };
927
- const de_CreatePlanResponse = (output, context) => {
928
- return smithyClient.take(output, {
929
- plan: (_) => de_Plan(_),
930
- });
931
- };
932
- const de_CustomActionLambdaConfiguration = (output, context) => {
933
- return smithyClient.take(output, {
934
- lambdas: smithyClient._json,
935
- regionToRun: smithyClient.expectString,
936
- retryIntervalMinutes: smithyClient.limitedParseFloat32,
937
- timeoutMinutes: smithyClient.expectInt32,
938
- ungraceful: smithyClient._json,
939
- });
940
- };
941
- const de_ExecutionBlockConfiguration = (output, context) => {
942
- if (output.arcRoutingControlConfig != null) {
943
- return {
944
- arcRoutingControlConfig: smithyClient._json(output.arcRoutingControlConfig),
945
- };
946
- }
947
- if (output.customActionLambdaConfig != null) {
948
- return {
949
- customActionLambdaConfig: de_CustomActionLambdaConfiguration(output.customActionLambdaConfig),
950
- };
951
- }
952
- if (output.ec2AsgCapacityIncreaseConfig != null) {
953
- return {
954
- ec2AsgCapacityIncreaseConfig: smithyClient._json(output.ec2AsgCapacityIncreaseConfig),
955
- };
956
- }
957
- if (output.ecsCapacityIncreaseConfig != null) {
958
- return {
959
- ecsCapacityIncreaseConfig: smithyClient._json(output.ecsCapacityIncreaseConfig),
960
- };
961
- }
962
- if (output.eksResourceScalingConfig != null) {
963
- return {
964
- eksResourceScalingConfig: smithyClient._json(output.eksResourceScalingConfig),
965
- };
966
- }
967
- if (output.executionApprovalConfig != null) {
968
- return {
969
- executionApprovalConfig: smithyClient._json(output.executionApprovalConfig),
970
- };
971
- }
972
- if (output.globalAuroraConfig != null) {
973
- return {
974
- globalAuroraConfig: smithyClient._json(output.globalAuroraConfig),
975
- };
976
- }
977
- if (output.parallelConfig != null) {
978
- return {
979
- parallelConfig: de_ParallelExecutionBlockConfiguration(output.parallelConfig),
980
- };
981
- }
982
- if (output.regionSwitchPlanConfig != null) {
983
- return {
984
- regionSwitchPlanConfig: smithyClient._json(output.regionSwitchPlanConfig),
985
- };
986
- }
987
- if (output.route53HealthCheckConfig != null) {
988
- return {
989
- route53HealthCheckConfig: smithyClient._json(output.route53HealthCheckConfig),
990
- };
991
- }
992
- return { $unknown: Object.entries(output)[0] };
993
- };
994
- const de_ExecutionEvent = (output, context) => {
995
- return smithyClient.take(output, {
996
- description: smithyClient.expectString,
997
- error: smithyClient.expectString,
998
- eventId: smithyClient.expectString,
999
- executionBlockType: smithyClient.expectString,
1000
- previousEventId: smithyClient.expectString,
1001
- resources: smithyClient._json,
1002
- stepName: smithyClient.expectString,
1003
- timestamp: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1004
- type: smithyClient.expectString,
1005
- });
1006
- };
1007
- const de_ExecutionEventList = (output, context) => {
1008
- const retVal = (output || [])
1009
- .filter((e) => e != null)
1010
- .map((entry) => {
1011
- return de_ExecutionEvent(entry);
1012
- });
1013
- return retVal;
1014
- };
1015
- const de_GetPlanEvaluationStatusResponse = (output, context) => {
1016
- return smithyClient.take(output, {
1017
- evaluationState: smithyClient.expectString,
1018
- lastEvaluatedVersion: smithyClient.expectString,
1019
- lastEvaluationTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1020
- nextToken: smithyClient.expectString,
1021
- planArn: smithyClient.expectString,
1022
- region: smithyClient.expectString,
1023
- warnings: (_) => de_PlanWarnings(_),
1024
- });
1025
- };
1026
- const de_GetPlanExecutionResponse = (output, context) => {
1027
- return smithyClient.take(output, {
1028
- actualRecoveryTime: smithyClient.expectString,
1029
- comment: smithyClient.expectString,
1030
- endTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1031
- executionAction: smithyClient.expectString,
1032
- executionId: smithyClient.expectString,
1033
- executionRegion: smithyClient.expectString,
1034
- executionState: smithyClient.expectString,
1035
- mode: smithyClient.expectString,
1036
- nextToken: smithyClient.expectString,
1037
- plan: (_) => de_Plan(_),
1038
- planArn: smithyClient.expectString,
1039
- startTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1040
- stepStates: (_) => de_StepStates(_),
1041
- updatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1042
- version: smithyClient.expectString,
1043
- });
1044
- };
1045
- const de_GetPlanInRegionResponse = (output, context) => {
1046
- return smithyClient.take(output, {
1047
- plan: (_) => de_Plan(_),
1048
- });
1049
- };
1050
- const de_GetPlanResponse = (output, context) => {
1051
- return smithyClient.take(output, {
1052
- plan: (_) => de_Plan(_),
1053
- });
1054
- };
1055
- const de_ListPlanExecutionEventsResponse = (output, context) => {
1056
- return smithyClient.take(output, {
1057
- items: (_) => de_ExecutionEventList(_),
1058
- nextToken: smithyClient.expectString,
1059
- });
1060
- };
1061
- const de_ListPlanExecutionsResponse = (output, context) => {
1062
- return smithyClient.take(output, {
1063
- items: (_) => de_AbbreviatedExecutionsList(_),
1064
- nextToken: smithyClient.expectString,
1065
- });
1066
- };
1067
- const de_ListPlansInRegionResponse = (output, context) => {
1068
- return smithyClient.take(output, {
1069
- nextToken: smithyClient.expectString,
1070
- plans: (_) => de_PlanList(_),
1071
- });
1072
- };
1073
- const de_ListPlansResponse = (output, context) => {
1074
- return smithyClient.take(output, {
1075
- nextToken: smithyClient.expectString,
1076
- plans: (_) => de_PlanList(_),
1077
- });
1078
- };
1079
- const de_ParallelExecutionBlockConfiguration = (output, context) => {
1080
- return smithyClient.take(output, {
1081
- steps: (_) => de_Steps(_),
1082
- });
1083
- };
1084
- const de_Plan = (output, context) => {
1085
- return smithyClient.take(output, {
1086
- arn: smithyClient.expectString,
1087
- associatedAlarms: smithyClient._json,
1088
- description: smithyClient.expectString,
1089
- executionRole: smithyClient.expectString,
1090
- name: smithyClient.expectString,
1091
- owner: smithyClient.expectString,
1092
- primaryRegion: smithyClient.expectString,
1093
- recoveryApproach: smithyClient.expectString,
1094
- recoveryTimeObjectiveMinutes: smithyClient.expectInt32,
1095
- regions: smithyClient._json,
1096
- triggers: smithyClient._json,
1097
- updatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1098
- version: smithyClient.expectString,
1099
- workflows: (_) => de_WorkflowList(_),
1100
- });
1101
- };
1102
- const de_PlanList = (output, context) => {
1103
- const retVal = (output || [])
1104
- .filter((e) => e != null)
1105
- .map((entry) => {
1106
- return de_AbbreviatedPlan(entry);
1107
- });
1108
- return retVal;
1109
- };
1110
- const de_PlanWarnings = (output, context) => {
1111
- const retVal = (output || [])
1112
- .filter((e) => e != null)
1113
- .map((entry) => {
1114
- return de_ResourceWarning(entry);
1115
- });
1116
- return retVal;
1117
- };
1118
- const de_ResourceWarning = (output, context) => {
1119
- return smithyClient.take(output, {
1120
- resourceArn: smithyClient.expectString,
1121
- stepName: smithyClient.expectString,
1122
- version: smithyClient.expectString,
1123
- warningMessage: smithyClient.expectString,
1124
- warningStatus: smithyClient.expectString,
1125
- warningUpdatedTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1126
- workflow: smithyClient._json,
1127
- });
1128
- };
1129
- const de_Step = (output, context) => {
1130
- return smithyClient.take(output, {
1131
- description: smithyClient.expectString,
1132
- executionBlockConfiguration: (_) => de_ExecutionBlockConfiguration(core$1.awsExpectUnion(_)),
1133
- executionBlockType: smithyClient.expectString,
1134
- name: smithyClient.expectString,
1135
- });
1136
- };
1137
- const de_Steps = (output, context) => {
1138
- const retVal = (output || [])
1139
- .filter((e) => e != null)
1140
- .map((entry) => {
1141
- return de_Step(entry);
1142
- });
1143
- return retVal;
1144
- };
1145
- const de_StepState = (output, context) => {
1146
- return smithyClient.take(output, {
1147
- endTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1148
- name: smithyClient.expectString,
1149
- startTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1150
- status: smithyClient.expectString,
1151
- stepMode: smithyClient.expectString,
1152
- });
1153
- };
1154
- const de_StepStates = (output, context) => {
1155
- const retVal = (output || [])
1156
- .filter((e) => e != null)
1157
- .map((entry) => {
1158
- return de_StepState(entry);
1159
- });
1160
- return retVal;
1161
- };
1162
- const de_UpdatePlanResponse = (output, context) => {
1163
- return smithyClient.take(output, {
1164
- plan: (_) => de_Plan(_),
1165
- });
1166
- };
1167
- const de_Workflow = (output, context) => {
1168
- return smithyClient.take(output, {
1169
- steps: (_) => de_Steps(_),
1170
- workflowDescription: smithyClient.expectString,
1171
- workflowTargetAction: smithyClient.expectString,
1172
- workflowTargetRegion: smithyClient.expectString,
1173
- });
1174
- };
1175
- const de_WorkflowList = (output, context) => {
1176
- const retVal = (output || [])
1177
- .filter((e) => e != null)
1178
- .map((entry) => {
1179
- return de_Workflow(entry);
1180
- });
1181
- return retVal;
1182
- };
1183
- const deserializeMetadata = (output) => ({
1184
- httpStatusCode: output.statusCode,
1185
- requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
1186
- extendedRequestId: output.headers["x-amz-id-2"],
1187
- cfId: output.headers["x-amz-cf-id"],
1188
- });
1189
- const throwDefaultError = smithyClient.withBaseException(ARCRegionSwitchServiceException);
1190
- const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
1191
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1192
- const contents = {
1193
- protocol,
1194
- hostname,
1195
- port,
1196
- method: "POST",
1197
- path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
1198
- headers,
1199
- };
1200
- if (body !== undefined) {
1201
- contents.body = body;
1202
- }
1203
- return new protocolHttp.HttpRequest(contents);
1204
- };
1205
- function sharedHeaders(operation) {
1206
- return {
1207
- "content-type": "application/x-amz-json-1.0",
1208
- "x-amz-target": `ArcRegionSwitch.${operation}`,
1209
- };
1210
- }
344
+ const _A = "Asg";
345
+ const _AA = "AssociatedAlarm";
346
+ const _AAM = "AssociatedAlarmMap";
347
+ const _ADE = "AccessDeniedException";
348
+ const _AE = "AbbreviatedExecution";
349
+ const _AEL = "AbbreviatedExecutionsList";
350
+ const _AL = "AsgList";
351
+ const _AP = "AbbreviatedPlan";
352
+ const _APES = "ApprovePlanExecutionStep";
353
+ const _APESR = "ApprovePlanExecutionStepRequest";
354
+ const _APESRp = "ApprovePlanExecutionStepResponse";
355
+ const _ARCC = "ArcRoutingControlConfiguration";
356
+ const _ARCS = "ArcRoutingControlState";
357
+ const _ARCSr = "ArcRoutingControlStates";
358
+ const _CALC = "CustomActionLambdaConfiguration";
359
+ const _CP = "CreatePlan";
360
+ const _CPE = "CancelPlanExecution";
361
+ const _CPER = "CancelPlanExecutionRequest";
362
+ const _CPERa = "CancelPlanExecutionResponse";
363
+ const _CPR = "CreatePlanRequest";
364
+ const _CPRr = "CreatePlanResponse";
365
+ const _DP = "DeletePlan";
366
+ const _DPR = "DeletePlanRequest";
367
+ const _DPRe = "DeletePlanResponse";
368
+ const _EAC = "ExecutionApprovalConfiguration";
369
+ const _EACIC = "Ec2AsgCapacityIncreaseConfiguration";
370
+ const _EBC = "ExecutionBlockConfiguration";
371
+ const _EC = "EksCluster";
372
+ const _ECIC = "EcsCapacityIncreaseConfiguration";
373
+ const _ECk = "EksClusters";
374
+ const _EE = "ExecutionEvent";
375
+ const _EEL = "ExecutionEventList";
376
+ const _ERSC = "EksResourceScalingConfiguration";
377
+ const _ERSU = "EksResourceScalingUngraceful";
378
+ const _EU = "Ec2Ungraceful";
379
+ const _EUc = "EcsUngraceful";
380
+ const _GAC = "GlobalAuroraConfiguration";
381
+ const _GAU = "GlobalAuroraUngraceful";
382
+ const _GP = "GetPlan";
383
+ const _GPE = "GetPlanExecution";
384
+ const _GPER = "GetPlanExecutionRequest";
385
+ const _GPERe = "GetPlanExecutionResponse";
386
+ const _GPES = "GetPlanEvaluationStatus";
387
+ const _GPESR = "GetPlanEvaluationStatusRequest";
388
+ const _GPESRe = "GetPlanEvaluationStatusResponse";
389
+ const _GPIR = "GetPlanInRegion";
390
+ const _GPIRR = "GetPlanInRegionRequest";
391
+ const _GPIRRe = "GetPlanInRegionResponse";
392
+ const _GPR = "GetPlanRequest";
393
+ const _GPRe = "GetPlanResponse";
394
+ const _IAE = "IllegalArgumentException";
395
+ const _ISE = "IllegalStateException";
396
+ const _ISEn = "InternalServerException";
397
+ const _KRT = "KubernetesResourceType";
398
+ const _KSA = "KubernetesScalingApps";
399
+ const _KSAu = "KubernetesScalingApplication";
400
+ const _KSR = "KubernetesScalingResource";
401
+ const _L = "Lambdas";
402
+ const _LL = "LambdaList";
403
+ const _LP = "ListPlans";
404
+ const _LPE = "ListPlanExecutions";
405
+ const _LPEE = "ListPlanExecutionEvents";
406
+ const _LPEER = "ListPlanExecutionEventsRequest";
407
+ const _LPEERi = "ListPlanExecutionEventsResponse";
408
+ const _LPER = "ListPlanExecutionsRequest";
409
+ const _LPERi = "ListPlanExecutionsResponse";
410
+ const _LPIR = "ListPlansInRegion";
411
+ const _LPIRR = "ListPlansInRegionRequest";
412
+ const _LPIRRi = "ListPlansInRegionResponse";
413
+ const _LPR = "ListPlansRequest";
414
+ const _LPRi = "ListPlansResponse";
415
+ const _LRHC = "ListRoute53HealthChecks";
416
+ const _LRHCR = "ListRoute53HealthChecksRequest";
417
+ const _LRHCRi = "ListRoute53HealthChecksResponse";
418
+ const _LTFR = "ListTagsForResource";
419
+ const _LTFRR = "ListTagsForResourceRequest";
420
+ const _LTFRRi = "ListTagsForResourceResponse";
421
+ const _LU = "LambdaUngraceful";
422
+ const _MW = "MinimalWorkflow";
423
+ const _P = "Plan";
424
+ const _PEBC = "ParallelExecutionBlockConfiguration";
425
+ const _PL = "PlanList";
426
+ const _PW = "PlanWarnings";
427
+ const _RARC = "RegionAndRoutingControls";
428
+ const _RHC = "Route53HealthCheck";
429
+ const _RHCC = "Route53HealthCheckConfiguration";
430
+ const _RHCL = "Route53HealthCheckList";
431
+ const _RNFE = "ResourceNotFoundException";
432
+ const _RRRS = "Route53ResourceRecordSet";
433
+ const _RRRSL = "Route53ResourceRecordSetList";
434
+ const _RSPC = "RegionSwitchPlanConfiguration";
435
+ const _RSR = "RegionalScalingResource";
436
+ const _RW = "ResourceWarning";
437
+ const _S = "Service";
438
+ const _SL = "ServiceList";
439
+ const _SPE = "StartPlanExecution";
440
+ const _SPER = "StartPlanExecutionRequest";
441
+ const _SPERt = "StartPlanExecutionResponse";
442
+ const _SS = "StepState";
443
+ const _SSt = "StepStates";
444
+ const _St = "Step";
445
+ const _Ste = "Steps";
446
+ const _T = "Trigger";
447
+ const _TC = "TriggerCondition";
448
+ const _TCL = "TriggerConditionList";
449
+ const _TL = "TriggerList";
450
+ const _TR = "TagResource";
451
+ const _TRR = "TagResourceRequest";
452
+ const _TRRa = "TagResourceResponse";
453
+ const _UP = "UpdatePlan";
454
+ const _UPE = "UpdatePlanExecution";
455
+ const _UPER = "UpdatePlanExecutionRequest";
456
+ const _UPERp = "UpdatePlanExecutionResponse";
457
+ const _UPES = "UpdatePlanExecutionStep";
458
+ const _UPESR = "UpdatePlanExecutionStepRequest";
459
+ const _UPESRp = "UpdatePlanExecutionStepResponse";
460
+ const _UPR = "UpdatePlanRequest";
461
+ const _UPRp = "UpdatePlanResponse";
462
+ const _UR = "UntagResource";
463
+ const _URR = "UntagResourceRequest";
464
+ const _URRn = "UntagResourceResponse";
465
+ const _W = "Workflow";
466
+ const _WL = "WorkflowList";
467
+ const _a = "arn";
468
+ const _aA = "associatedAlarms";
469
+ const _aAN = "associatedAlarmName";
470
+ const _aPE = "activePlanExecution";
471
+ const _aR = "approvalRole";
472
+ const _aRCC = "arcRoutingControlConfig";
473
+ const _aRT = "actualRecoveryTime";
474
+ const _aRc = "activateRegion";
475
+ const _aT = "alarmType";
476
+ const _aTT = "actionToTake";
477
+ const _aV = "apiVersion";
478
+ const _ac = "action";
479
+ const _ap = "approval";
480
+ const _as = "asgs";
481
+ const _b = "behavior";
482
+ const _c = "comment";
483
+ const _cA = "clusterArn";
484
+ const _cALC = "customActionLambdaConfig";
485
+ const _cAR = "crossAccountRole";
486
+ const _cMA = "capacityMonitoringApproach";
487
+ const _cl = "client";
488
+ const _co = "conditions";
489
+ const _con = "condition";
490
+ const _d = "description";
491
+ const _dCA = "databaseClusterArns";
492
+ const _dR = "deactivateRegion";
493
+ const _e = "error";
494
+ const _eA = "executionAction";
495
+ const _eAC = "executionApprovalConfig";
496
+ const _eACIC = "ec2AsgCapacityIncreaseConfig";
497
+ const _eBC = "executionBlockConfiguration";
498
+ const _eBT = "executionBlockType";
499
+ const _eC = "eksClusters";
500
+ const _eCIC = "ecsCapacityIncreaseConfig";
501
+ const _eI = "executionId";
502
+ const _eIv = "eventId";
503
+ const _eIx = "externalId";
504
+ const _eR = "executionRegion";
505
+ const _eRSC = "eksResourceScalingConfig";
506
+ const _eRx = "executionRole";
507
+ const _eS = "executionState";
508
+ const _eSv = "evaluationState";
509
+ const _eT = "endTime";
510
+ const _gAC = "globalAuroraConfig";
511
+ const _gCI = "globalClusterIdentifier";
512
+ const _hC = "healthChecks";
513
+ const _hCI = "healthCheckId";
514
+ const _hE = "httpError";
515
+ const _hN = "hpaName";
516
+ const _hZI = "hostedZoneId";
517
+ const _i = "items";
518
+ const _k = "kind";
519
+ const _kRT = "kubernetesResourceType";
520
+ const _l = "lambdas";
521
+ const _lET = "lastEvaluationTime";
522
+ const _lEV = "lastEvaluatedVersion";
523
+ const _lV = "latestVersion";
524
+ const _m = "mode";
525
+ const _mDMBE = "minDelayMinutesBetweenExecutions";
526
+ const _mR = "maxResults";
527
+ const _mSP = "minimumSuccessPercentage";
528
+ const _me = "message";
529
+ const _n = "name";
530
+ const _nT = "nextToken";
531
+ const _na = "namespace";
532
+ const _o = "owner";
533
+ const _p = "plan";
534
+ const _pA = "planArn";
535
+ const _pC = "parallelConfig";
536
+ const _pEI = "previousEventId";
537
+ const _pR = "primaryRegion";
538
+ const _pV = "planVersion";
539
+ const _pl = "plans";
540
+ const _r = "regions";
541
+ const _rA = "recoveryApproach";
542
+ const _rARC = "regionAndRoutingControls";
543
+ const _rAe = "resourceArn";
544
+ const _rCA = "routingControlArn";
545
+ const _rHCC = "route53HealthCheckConfig";
546
+ const _rI = "resourceIdentifier";
547
+ const _rIM = "retryIntervalMinutes";
548
+ const _rN = "recordName";
549
+ const _rS = "recordSets";
550
+ const _rSI = "recordSetIdentifier";
551
+ const _rSPC = "regionSwitchPlanConfig";
552
+ const _rT = "resourceTags";
553
+ const _rTK = "resourceTagKeys";
554
+ const _rTOM = "recoveryTimeObjectiveMinutes";
555
+ const _rTR = "regionToRun";
556
+ const _re = "resources";
557
+ const _reg = "region";
558
+ const _s = "state";
559
+ const _sA = "serviceArn";
560
+ const _sM = "stepMode";
561
+ const _sN = "stepName";
562
+ const _sR = "scalingResources";
563
+ const _sS = "stepStates";
564
+ const _sT = "startTime";
565
+ const _se = "services";
566
+ const _ser = "server";
567
+ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.arcregionswitch";
568
+ const _st = "steps";
569
+ const _sta = "status";
570
+ const _t = "triggers";
571
+ const _tM = "timeoutMinutes";
572
+ const _tP = "targetPercent";
573
+ const _tR = "targetRegion";
574
+ const _ta = "tags";
575
+ const _ti = "timestamp";
576
+ const _ty = "type";
577
+ const _u = "ungraceful";
578
+ const _uA = "updatedAt";
579
+ const _v = "version";
580
+ const _w = "workflows";
581
+ const _wD = "workflowDescription";
582
+ const _wM = "warningMessage";
583
+ const _wS = "warningStatus";
584
+ const _wTA = "workflowTargetAction";
585
+ const _wTR = "workflowTargetRegion";
586
+ const _wUT = "warningUpdatedTime";
587
+ const _wa = "warnings";
588
+ const _wo = "workflow";
589
+ const n0 = "com.amazonaws.arcregionswitch";
590
+ var AbbreviatedExecution = [
591
+ 3,
592
+ n0,
593
+ _AE,
594
+ 0,
595
+ [_pA, _eI, _v, _uA, _c, _sT, _eT, _m, _eS, _eA, _eR, _aRT],
596
+ [0, 0, 0, 4, 0, 4, 4, 0, 0, 0, 0, 0],
597
+ ];
598
+ var AbbreviatedPlan = [
599
+ 3,
600
+ n0,
601
+ _AP,
602
+ 0,
603
+ [_a, _o, _n, _r, _rA, _pR, _v, _uA, _d, _eRx, _aPE, _rTOM],
604
+ [0, 0, 0, 64 | 0, 0, 0, 0, 4, 0, 0, 0, 1],
605
+ ];
606
+ var AccessDeniedException = [
607
+ -3,
608
+ n0,
609
+ _ADE,
610
+ {
611
+ [_e]: _cl,
612
+ [_hE]: 403,
613
+ },
614
+ [_me],
615
+ [0],
616
+ ];
617
+ schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
618
+ var ApprovePlanExecutionStepRequest = [
619
+ 3,
620
+ n0,
621
+ _APESR,
622
+ 0,
623
+ [_pA, _eI, _sN, _ap, _c],
624
+ [0, 0, 0, 0, 0],
625
+ ];
626
+ var ApprovePlanExecutionStepResponse = [3, n0, _APESRp, 0, [], []];
627
+ var ArcRoutingControlConfiguration = [
628
+ 3,
629
+ n0,
630
+ _ARCC,
631
+ 0,
632
+ [_tM, _cAR, _eIx, _rARC],
633
+ [1, 0, 0, () => RegionAndRoutingControls],
634
+ ];
635
+ var ArcRoutingControlState = [3, n0, _ARCS, 0, [_rCA, _s], [0, 0]];
636
+ var Asg = [3, n0, _A, 0, [_cAR, _eIx, _a], [0, 0, 0]];
637
+ var AssociatedAlarm = [3, n0, _AA, 0, [_cAR, _eIx, _rI, _aT], [0, 0, 0, 0]];
638
+ var CancelPlanExecutionRequest = [3, n0, _CPER, 0, [_pA, _eI, _c], [0, 0, 0]];
639
+ var CancelPlanExecutionResponse = [3, n0, _CPERa, 0, [], []];
640
+ var CreatePlanRequest = [
641
+ 3,
642
+ n0,
643
+ _CPR,
644
+ 0,
645
+ [_d, _w, _eRx, _rTOM, _aA, _t, _n, _r, _rA, _pR, _ta],
646
+ [0, () => WorkflowList, 0, 1, () => AssociatedAlarmMap, () => TriggerList, 0, 64 | 0, 0, 0, 128 | 0],
647
+ ];
648
+ var CreatePlanResponse = [3, n0, _CPRr, 0, [_p], [() => Plan]];
649
+ var CustomActionLambdaConfiguration = [
650
+ 3,
651
+ n0,
652
+ _CALC,
653
+ 0,
654
+ [_tM, _l, _rIM, _rTR, _u],
655
+ [1, () => LambdaList, 1, 0, () => LambdaUngraceful],
656
+ ];
657
+ var DeletePlanRequest = [3, n0, _DPR, 0, [_a], [0]];
658
+ var DeletePlanResponse = [3, n0, _DPRe, 0, [], []];
659
+ var Ec2AsgCapacityIncreaseConfiguration = [
660
+ 3,
661
+ n0,
662
+ _EACIC,
663
+ 0,
664
+ [_tM, _as, _u, _tP, _cMA],
665
+ [1, () => AsgList, () => Ec2Ungraceful, 1, 0],
666
+ ];
667
+ var Ec2Ungraceful = [3, n0, _EU, 0, [_mSP], [1]];
668
+ var EcsCapacityIncreaseConfiguration = [
669
+ 3,
670
+ n0,
671
+ _ECIC,
672
+ 0,
673
+ [_tM, _se, _u, _tP, _cMA],
674
+ [1, () => ServiceList, () => EcsUngraceful, 1, 0],
675
+ ];
676
+ var EcsUngraceful = [3, n0, _EUc, 0, [_mSP], [1]];
677
+ var EksCluster = [3, n0, _EC, 0, [_cAR, _eIx, _cA], [0, 0, 0]];
678
+ var EksResourceScalingConfiguration = [
679
+ 3,
680
+ n0,
681
+ _ERSC,
682
+ 0,
683
+ [_tM, _kRT, _sR, _eC, _u, _tP, _cMA],
684
+ [
685
+ 1,
686
+ () => KubernetesResourceType,
687
+ () => KubernetesScalingApps,
688
+ () => EksClusters,
689
+ () => EksResourceScalingUngraceful,
690
+ 1,
691
+ 0,
692
+ ],
693
+ ];
694
+ var EksResourceScalingUngraceful = [3, n0, _ERSU, 0, [_mSP], [1]];
695
+ var ExecutionApprovalConfiguration = [3, n0, _EAC, 0, [_tM, _aR], [1, 0]];
696
+ var ExecutionEvent = [
697
+ 3,
698
+ n0,
699
+ _EE,
700
+ 0,
701
+ [_ti, _ty, _sN, _eBT, _re, _e, _d, _eIv, _pEI],
702
+ [4, 0, 0, 0, 64 | 0, 0, 0, 0, 0],
703
+ ];
704
+ var GetPlanEvaluationStatusRequest = [3, n0, _GPESR, 0, [_pA, _mR, _nT], [0, 1, 0]];
705
+ var GetPlanEvaluationStatusResponse = [
706
+ 3,
707
+ n0,
708
+ _GPESRe,
709
+ 0,
710
+ [_pA, _lET, _lEV, _reg, _eSv, _wa, _nT],
711
+ [0, 4, 0, 0, 0, () => PlanWarnings, 0],
712
+ ];
713
+ var GetPlanExecutionRequest = [3, n0, _GPER, 0, [_pA, _eI, _mR, _nT], [0, 0, 1, 0]];
714
+ var GetPlanExecutionResponse = [
715
+ 3,
716
+ n0,
717
+ _GPERe,
718
+ 0,
719
+ [_pA, _eI, _v, _uA, _c, _sT, _eT, _m, _eS, _eA, _eR, _sS, _p, _aRT, _nT],
720
+ [0, 0, 0, 4, 0, 4, 4, 0, 0, 0, 0, () => StepStates, () => Plan, 0, 0],
721
+ ];
722
+ var GetPlanInRegionRequest = [3, n0, _GPIRR, 0, [_a], [0]];
723
+ var GetPlanInRegionResponse = [3, n0, _GPIRRe, 0, [_p], [() => Plan]];
724
+ var GetPlanRequest = [3, n0, _GPR, 0, [_a], [0]];
725
+ var GetPlanResponse = [3, n0, _GPRe, 0, [_p], [() => Plan]];
726
+ var GlobalAuroraConfiguration = [
727
+ 3,
728
+ n0,
729
+ _GAC,
730
+ 0,
731
+ [_tM, _cAR, _eIx, _b, _u, _gCI, _dCA],
732
+ [1, 0, 0, 0, () => GlobalAuroraUngraceful, 0, 64 | 0],
733
+ ];
734
+ var GlobalAuroraUngraceful = [3, n0, _GAU, 0, [_u], [0]];
735
+ var IllegalArgumentException = [
736
+ -3,
737
+ n0,
738
+ _IAE,
739
+ {
740
+ [_e]: _cl,
741
+ [_hE]: 400,
742
+ },
743
+ [_me],
744
+ [0],
745
+ ];
746
+ schema.TypeRegistry.for(n0).registerError(IllegalArgumentException, IllegalArgumentException$1);
747
+ var IllegalStateException = [
748
+ -3,
749
+ n0,
750
+ _ISE,
751
+ {
752
+ [_e]: _cl,
753
+ [_hE]: 400,
754
+ },
755
+ [_me],
756
+ [0],
757
+ ];
758
+ schema.TypeRegistry.for(n0).registerError(IllegalStateException, IllegalStateException$1);
759
+ var InternalServerException = [
760
+ -3,
761
+ n0,
762
+ _ISEn,
763
+ {
764
+ [_e]: _ser,
765
+ [_hE]: 500,
766
+ },
767
+ [_me],
768
+ [0],
769
+ ];
770
+ schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
771
+ var KubernetesResourceType = [3, n0, _KRT, 0, [_aV, _k], [0, 0]];
772
+ var KubernetesScalingResource = [3, n0, _KSR, 0, [_na, _n, _hN], [0, 0, 0]];
773
+ var Lambdas = [3, n0, _L, 0, [_cAR, _eIx, _a], [0, 0, 0]];
774
+ var LambdaUngraceful = [3, n0, _LU, 0, [_b], [0]];
775
+ var ListPlanExecutionEventsRequest = [
776
+ 3,
777
+ n0,
778
+ _LPEER,
779
+ 0,
780
+ [_pA, _eI, _mR, _nT, _n],
781
+ [0, 0, 1, 0, 0],
782
+ ];
783
+ var ListPlanExecutionEventsResponse = [
784
+ 3,
785
+ n0,
786
+ _LPEERi,
787
+ 0,
788
+ [_i, _nT],
789
+ [() => ExecutionEventList, 0],
790
+ ];
791
+ var ListPlanExecutionsRequest = [3, n0, _LPER, 0, [_pA, _mR, _nT, _s], [0, 1, 0, 0]];
792
+ var ListPlanExecutionsResponse = [
793
+ 3,
794
+ n0,
795
+ _LPERi,
796
+ 0,
797
+ [_i, _nT],
798
+ [() => AbbreviatedExecutionsList, 0],
799
+ ];
800
+ var ListPlansInRegionRequest = [3, n0, _LPIRR, 0, [_mR, _nT], [1, 0]];
801
+ var ListPlansInRegionResponse = [3, n0, _LPIRRi, 0, [_pl, _nT], [() => PlanList, 0]];
802
+ var ListPlansRequest = [3, n0, _LPR, 0, [_mR, _nT], [1, 0]];
803
+ var ListPlansResponse = [3, n0, _LPRi, 0, [_pl, _nT], [() => PlanList, 0]];
804
+ var ListRoute53HealthChecksRequest = [
805
+ 3,
806
+ n0,
807
+ _LRHCR,
808
+ 0,
809
+ [_a, _hZI, _rN, _mR, _nT],
810
+ [0, 0, 0, 1, 0],
811
+ ];
812
+ var ListRoute53HealthChecksResponse = [
813
+ 3,
814
+ n0,
815
+ _LRHCRi,
816
+ 0,
817
+ [_hC, _nT],
818
+ [() => Route53HealthCheckList, 0],
819
+ ];
820
+ var ListTagsForResourceRequest = [3, n0, _LTFRR, 0, [_a], [0]];
821
+ var ListTagsForResourceResponse = [3, n0, _LTFRRi, 0, [_rT], [128 | 0]];
822
+ var MinimalWorkflow = [3, n0, _MW, 0, [_ac, _n], [0, 0]];
823
+ var ParallelExecutionBlockConfiguration = [3, n0, _PEBC, 0, [_st], [() => Steps]];
824
+ var Plan = [
825
+ 3,
826
+ n0,
827
+ _P,
828
+ 0,
829
+ [_a, _d, _w, _eRx, _rTOM, _aA, _t, _n, _r, _rA, _pR, _o, _v, _uA],
830
+ [0, 0, () => WorkflowList, 0, 1, () => AssociatedAlarmMap, () => TriggerList, 0, 64 | 0, 0, 0, 0, 0, 4],
831
+ ];
832
+ var RegionSwitchPlanConfiguration = [3, n0, _RSPC, 0, [_cAR, _eIx, _a], [0, 0, 0]];
833
+ var ResourceNotFoundException = [
834
+ -3,
835
+ n0,
836
+ _RNFE,
837
+ {
838
+ [_e]: _cl,
839
+ [_hE]: 404,
840
+ },
841
+ [_me],
842
+ [0],
843
+ ];
844
+ schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
845
+ var ResourceWarning = [
846
+ 3,
847
+ n0,
848
+ _RW,
849
+ 0,
850
+ [_wo, _v, _sN, _rAe, _wS, _wUT, _wM],
851
+ [() => MinimalWorkflow, 0, 0, 0, 0, 4, 0],
852
+ ];
853
+ var Route53HealthCheck = [3, n0, _RHC, 0, [_hZI, _rN, _hCI, _reg], [0, 0, 0, 0]];
854
+ var Route53HealthCheckConfiguration = [
855
+ 3,
856
+ n0,
857
+ _RHCC,
858
+ 0,
859
+ [_tM, _cAR, _eIx, _hZI, _rN, _rS],
860
+ [1, 0, 0, 0, 0, () => Route53ResourceRecordSetList],
861
+ ];
862
+ var Route53ResourceRecordSet = [3, n0, _RRRS, 0, [_rSI, _reg], [0, 0]];
863
+ var Service = [3, n0, _S, 0, [_cAR, _eIx, _cA, _sA], [0, 0, 0, 0]];
864
+ var StartPlanExecutionRequest = [
865
+ 3,
866
+ n0,
867
+ _SPER,
868
+ 0,
869
+ [_pA, _tR, _ac, _m, _c, _lV],
870
+ [0, 0, 0, 0, 0, 0],
871
+ ];
872
+ var StartPlanExecutionResponse = [
873
+ 3,
874
+ n0,
875
+ _SPERt,
876
+ 0,
877
+ [_eI, _p, _pV, _aRc, _dR],
878
+ [0, 0, 0, 0, 0],
879
+ ];
880
+ var Step = [
881
+ 3,
882
+ n0,
883
+ _St,
884
+ 0,
885
+ [_n, _d, _eBC, _eBT],
886
+ [0, 0, () => ExecutionBlockConfiguration, 0],
887
+ ];
888
+ var StepState = [3, n0, _SS, 0, [_n, _sta, _sT, _eT, _sM], [0, 0, 4, 4, 0]];
889
+ var TagResourceRequest = [3, n0, _TRR, 0, [_a, _ta], [0, 128 | 0]];
890
+ var TagResourceResponse = [3, n0, _TRRa, 0, [], []];
891
+ var Trigger = [
892
+ 3,
893
+ n0,
894
+ _T,
895
+ 0,
896
+ [_d, _tR, _ac, _co, _mDMBE],
897
+ [0, 0, 0, () => TriggerConditionList, 1],
898
+ ];
899
+ var TriggerCondition = [3, n0, _TC, 0, [_aAN, _con], [0, 0]];
900
+ var UntagResourceRequest = [3, n0, _URR, 0, [_a, _rTK], [0, 64 | 0]];
901
+ var UntagResourceResponse = [3, n0, _URRn, 0, [], []];
902
+ var UpdatePlanExecutionRequest = [3, n0, _UPER, 0, [_pA, _eI, _ac, _c], [0, 0, 0, 0]];
903
+ var UpdatePlanExecutionResponse = [3, n0, _UPERp, 0, [], []];
904
+ var UpdatePlanExecutionStepRequest = [
905
+ 3,
906
+ n0,
907
+ _UPESR,
908
+ 0,
909
+ [_pA, _eI, _c, _sN, _aTT],
910
+ [0, 0, 0, 0, 0],
911
+ ];
912
+ var UpdatePlanExecutionStepResponse = [3, n0, _UPESRp, 0, [], []];
913
+ var UpdatePlanRequest = [
914
+ 3,
915
+ n0,
916
+ _UPR,
917
+ 0,
918
+ [_a, _d, _w, _eRx, _rTOM, _aA, _t],
919
+ [0, 0, () => WorkflowList, 0, 1, () => AssociatedAlarmMap, () => TriggerList],
920
+ ];
921
+ var UpdatePlanResponse = [3, n0, _UPRp, 0, [_p], [() => Plan]];
922
+ var Workflow = [3, n0, _W, 0, [_st, _wTA, _wTR, _wD], [() => Steps, 0, 0, 0]];
923
+ var ARCRegionSwitchServiceException = [-3, _sm, "ARCRegionSwitchServiceException", 0, [], []];
924
+ schema.TypeRegistry.for(_sm).registerError(ARCRegionSwitchServiceException, ARCRegionSwitchServiceException$1);
925
+ var AbbreviatedExecutionsList = [1, n0, _AEL, 0, () => AbbreviatedExecution];
926
+ var ArcRoutingControlStates = [1, n0, _ARCSr, 0, () => ArcRoutingControlState];
927
+ var AsgList = [1, n0, _AL, 0, () => Asg];
928
+ var EksClusters = [1, n0, _ECk, 0, () => EksCluster];
929
+ var ExecutionEventList = [1, n0, _EEL, 0, () => ExecutionEvent];
930
+ var KubernetesScalingApps = [1, n0, _KSA, 0, () => KubernetesScalingApplication];
931
+ var LambdaList = [1, n0, _LL, 0, () => Lambdas];
932
+ var PlanList = [1, n0, _PL, 0, () => AbbreviatedPlan];
933
+ var PlanWarnings = [1, n0, _PW, 0, () => ResourceWarning];
934
+ var Route53HealthCheckList = [1, n0, _RHCL, 0, () => Route53HealthCheck];
935
+ var Route53ResourceRecordSetList = [1, n0, _RRRSL, 0, () => Route53ResourceRecordSet];
936
+ var ServiceList = [1, n0, _SL, 0, () => Service];
937
+ var Steps = [1, n0, _Ste, 0, () => Step];
938
+ var StepStates = [1, n0, _SSt, 0, () => StepState];
939
+ var TriggerConditionList = [1, n0, _TCL, 0, () => TriggerCondition];
940
+ var TriggerList = [1, n0, _TL, 0, () => Trigger];
941
+ var WorkflowList = [1, n0, _WL, 0, () => Workflow];
942
+ var AssociatedAlarmMap = [2, n0, _AAM, 0, 0, () => AssociatedAlarm];
943
+ var KubernetesScalingApplication = [2, n0, _KSAu, 0, 0, () => RegionalScalingResource];
944
+ var RegionalScalingResource = [2, n0, _RSR, 0, 0, () => KubernetesScalingResource];
945
+ var RegionAndRoutingControls = [2, n0, _RARC, 0, 0, () => ArcRoutingControlStates];
946
+ var ExecutionBlockConfiguration = [
947
+ 3,
948
+ n0,
949
+ _EBC,
950
+ 0,
951
+ [_cALC, _eACIC, _eAC, _aRCC, _gAC, _pC, _rSPC, _eCIC, _eRSC, _rHCC],
952
+ [
953
+ () => CustomActionLambdaConfiguration,
954
+ () => Ec2AsgCapacityIncreaseConfiguration,
955
+ () => ExecutionApprovalConfiguration,
956
+ () => ArcRoutingControlConfiguration,
957
+ () => GlobalAuroraConfiguration,
958
+ () => ParallelExecutionBlockConfiguration,
959
+ () => RegionSwitchPlanConfiguration,
960
+ () => EcsCapacityIncreaseConfiguration,
961
+ () => EksResourceScalingConfiguration,
962
+ () => Route53HealthCheckConfiguration,
963
+ ],
964
+ ];
965
+ var ApprovePlanExecutionStep = [
966
+ 9,
967
+ n0,
968
+ _APES,
969
+ 0,
970
+ () => ApprovePlanExecutionStepRequest,
971
+ () => ApprovePlanExecutionStepResponse,
972
+ ];
973
+ var CancelPlanExecution = [
974
+ 9,
975
+ n0,
976
+ _CPE,
977
+ 0,
978
+ () => CancelPlanExecutionRequest,
979
+ () => CancelPlanExecutionResponse,
980
+ ];
981
+ var CreatePlan = [9, n0, _CP, 0, () => CreatePlanRequest, () => CreatePlanResponse];
982
+ var DeletePlan = [9, n0, _DP, 2, () => DeletePlanRequest, () => DeletePlanResponse];
983
+ var GetPlan = [9, n0, _GP, 0, () => GetPlanRequest, () => GetPlanResponse];
984
+ var GetPlanEvaluationStatus = [
985
+ 9,
986
+ n0,
987
+ _GPES,
988
+ 0,
989
+ () => GetPlanEvaluationStatusRequest,
990
+ () => GetPlanEvaluationStatusResponse,
991
+ ];
992
+ var GetPlanExecution = [
993
+ 9,
994
+ n0,
995
+ _GPE,
996
+ 0,
997
+ () => GetPlanExecutionRequest,
998
+ () => GetPlanExecutionResponse,
999
+ ];
1000
+ var GetPlanInRegion = [
1001
+ 9,
1002
+ n0,
1003
+ _GPIR,
1004
+ 0,
1005
+ () => GetPlanInRegionRequest,
1006
+ () => GetPlanInRegionResponse,
1007
+ ];
1008
+ var ListPlanExecutionEvents = [
1009
+ 9,
1010
+ n0,
1011
+ _LPEE,
1012
+ 0,
1013
+ () => ListPlanExecutionEventsRequest,
1014
+ () => ListPlanExecutionEventsResponse,
1015
+ ];
1016
+ var ListPlanExecutions = [
1017
+ 9,
1018
+ n0,
1019
+ _LPE,
1020
+ 0,
1021
+ () => ListPlanExecutionsRequest,
1022
+ () => ListPlanExecutionsResponse,
1023
+ ];
1024
+ var ListPlans = [9, n0, _LP, 0, () => ListPlansRequest, () => ListPlansResponse];
1025
+ var ListPlansInRegion = [
1026
+ 9,
1027
+ n0,
1028
+ _LPIR,
1029
+ 0,
1030
+ () => ListPlansInRegionRequest,
1031
+ () => ListPlansInRegionResponse,
1032
+ ];
1033
+ var ListRoute53HealthChecks = [
1034
+ 9,
1035
+ n0,
1036
+ _LRHC,
1037
+ 0,
1038
+ () => ListRoute53HealthChecksRequest,
1039
+ () => ListRoute53HealthChecksResponse,
1040
+ ];
1041
+ var ListTagsForResource = [
1042
+ 9,
1043
+ n0,
1044
+ _LTFR,
1045
+ 0,
1046
+ () => ListTagsForResourceRequest,
1047
+ () => ListTagsForResourceResponse,
1048
+ ];
1049
+ var StartPlanExecution = [
1050
+ 9,
1051
+ n0,
1052
+ _SPE,
1053
+ 0,
1054
+ () => StartPlanExecutionRequest,
1055
+ () => StartPlanExecutionResponse,
1056
+ ];
1057
+ var TagResource = [9, n0, _TR, 0, () => TagResourceRequest, () => TagResourceResponse];
1058
+ var UntagResource = [
1059
+ 9,
1060
+ n0,
1061
+ _UR,
1062
+ 0,
1063
+ () => UntagResourceRequest,
1064
+ () => UntagResourceResponse,
1065
+ ];
1066
+ var UpdatePlan = [9, n0, _UP, 0, () => UpdatePlanRequest, () => UpdatePlanResponse];
1067
+ var UpdatePlanExecution = [
1068
+ 9,
1069
+ n0,
1070
+ _UPE,
1071
+ 0,
1072
+ () => UpdatePlanExecutionRequest,
1073
+ () => UpdatePlanExecutionResponse,
1074
+ ];
1075
+ var UpdatePlanExecutionStep = [
1076
+ 9,
1077
+ n0,
1078
+ _UPES,
1079
+ 0,
1080
+ () => UpdatePlanExecutionStepRequest,
1081
+ () => UpdatePlanExecutionStepResponse,
1082
+ ];
1211
1083
 
1212
1084
  class ApprovePlanExecutionStepCommand extends smithyClient.Command
1213
1085
  .classBuilder()
1214
1086
  .ep(commonParams)
1215
1087
  .m(function (Command, cs, config, o) {
1216
- return [
1217
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1218
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1219
- ];
1088
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1220
1089
  })
1221
1090
  .s("ArcRegionSwitch", "ApprovePlanExecutionStep", {})
1222
1091
  .n("ARCRegionSwitchClient", "ApprovePlanExecutionStepCommand")
1223
- .f(void 0, void 0)
1224
- .ser(se_ApprovePlanExecutionStepCommand)
1225
- .de(de_ApprovePlanExecutionStepCommand)
1092
+ .sc(ApprovePlanExecutionStep)
1226
1093
  .build() {
1227
1094
  }
1228
1095
 
@@ -1230,16 +1097,11 @@ class CancelPlanExecutionCommand extends smithyClient.Command
1230
1097
  .classBuilder()
1231
1098
  .ep(commonParams)
1232
1099
  .m(function (Command, cs, config, o) {
1233
- return [
1234
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1235
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1236
- ];
1100
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1237
1101
  })
1238
1102
  .s("ArcRegionSwitch", "CancelPlanExecution", {})
1239
1103
  .n("ARCRegionSwitchClient", "CancelPlanExecutionCommand")
1240
- .f(void 0, void 0)
1241
- .ser(se_CancelPlanExecutionCommand)
1242
- .de(de_CancelPlanExecutionCommand)
1104
+ .sc(CancelPlanExecution)
1243
1105
  .build() {
1244
1106
  }
1245
1107
 
@@ -1250,16 +1112,11 @@ class CreatePlanCommand extends smithyClient.Command
1250
1112
  UseControlPlaneEndpoint: { type: "staticContextParams", value: true },
1251
1113
  })
1252
1114
  .m(function (Command, cs, config, o) {
1253
- return [
1254
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1255
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1256
- ];
1115
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1257
1116
  })
1258
1117
  .s("ArcRegionSwitch", "CreatePlan", {})
1259
1118
  .n("ARCRegionSwitchClient", "CreatePlanCommand")
1260
- .f(void 0, void 0)
1261
- .ser(se_CreatePlanCommand)
1262
- .de(de_CreatePlanCommand)
1119
+ .sc(CreatePlan)
1263
1120
  .build() {
1264
1121
  }
1265
1122
 
@@ -1270,16 +1127,11 @@ class DeletePlanCommand extends smithyClient.Command
1270
1127
  UseControlPlaneEndpoint: { type: "staticContextParams", value: true },
1271
1128
  })
1272
1129
  .m(function (Command, cs, config, o) {
1273
- return [
1274
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1275
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1276
- ];
1130
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1277
1131
  })
1278
1132
  .s("ArcRegionSwitch", "DeletePlan", {})
1279
1133
  .n("ARCRegionSwitchClient", "DeletePlanCommand")
1280
- .f(void 0, void 0)
1281
- .ser(se_DeletePlanCommand)
1282
- .de(de_DeletePlanCommand)
1134
+ .sc(DeletePlan)
1283
1135
  .build() {
1284
1136
  }
1285
1137
 
@@ -1290,16 +1142,11 @@ class GetPlanCommand extends smithyClient.Command
1290
1142
  UseControlPlaneEndpoint: { type: "staticContextParams", value: true },
1291
1143
  })
1292
1144
  .m(function (Command, cs, config, o) {
1293
- return [
1294
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1295
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1296
- ];
1145
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1297
1146
  })
1298
1147
  .s("ArcRegionSwitch", "GetPlan", {})
1299
1148
  .n("ARCRegionSwitchClient", "GetPlanCommand")
1300
- .f(void 0, void 0)
1301
- .ser(se_GetPlanCommand)
1302
- .de(de_GetPlanCommand)
1149
+ .sc(GetPlan)
1303
1150
  .build() {
1304
1151
  }
1305
1152
 
@@ -1307,16 +1154,11 @@ class GetPlanEvaluationStatusCommand extends smithyClient.Command
1307
1154
  .classBuilder()
1308
1155
  .ep(commonParams)
1309
1156
  .m(function (Command, cs, config, o) {
1310
- return [
1311
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1312
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1313
- ];
1157
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1314
1158
  })
1315
1159
  .s("ArcRegionSwitch", "GetPlanEvaluationStatus", {})
1316
1160
  .n("ARCRegionSwitchClient", "GetPlanEvaluationStatusCommand")
1317
- .f(void 0, void 0)
1318
- .ser(se_GetPlanEvaluationStatusCommand)
1319
- .de(de_GetPlanEvaluationStatusCommand)
1161
+ .sc(GetPlanEvaluationStatus)
1320
1162
  .build() {
1321
1163
  }
1322
1164
 
@@ -1324,16 +1166,11 @@ class GetPlanExecutionCommand extends smithyClient.Command
1324
1166
  .classBuilder()
1325
1167
  .ep(commonParams)
1326
1168
  .m(function (Command, cs, config, o) {
1327
- return [
1328
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1329
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1330
- ];
1169
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1331
1170
  })
1332
1171
  .s("ArcRegionSwitch", "GetPlanExecution", {})
1333
1172
  .n("ARCRegionSwitchClient", "GetPlanExecutionCommand")
1334
- .f(void 0, void 0)
1335
- .ser(se_GetPlanExecutionCommand)
1336
- .de(de_GetPlanExecutionCommand)
1173
+ .sc(GetPlanExecution)
1337
1174
  .build() {
1338
1175
  }
1339
1176
 
@@ -1341,16 +1178,11 @@ class GetPlanInRegionCommand extends smithyClient.Command
1341
1178
  .classBuilder()
1342
1179
  .ep(commonParams)
1343
1180
  .m(function (Command, cs, config, o) {
1344
- return [
1345
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1346
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1347
- ];
1181
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1348
1182
  })
1349
1183
  .s("ArcRegionSwitch", "GetPlanInRegion", {})
1350
1184
  .n("ARCRegionSwitchClient", "GetPlanInRegionCommand")
1351
- .f(void 0, void 0)
1352
- .ser(se_GetPlanInRegionCommand)
1353
- .de(de_GetPlanInRegionCommand)
1185
+ .sc(GetPlanInRegion)
1354
1186
  .build() {
1355
1187
  }
1356
1188
 
@@ -1358,16 +1190,11 @@ class ListPlanExecutionEventsCommand extends smithyClient.Command
1358
1190
  .classBuilder()
1359
1191
  .ep(commonParams)
1360
1192
  .m(function (Command, cs, config, o) {
1361
- return [
1362
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1363
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1364
- ];
1193
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1365
1194
  })
1366
1195
  .s("ArcRegionSwitch", "ListPlanExecutionEvents", {})
1367
1196
  .n("ARCRegionSwitchClient", "ListPlanExecutionEventsCommand")
1368
- .f(void 0, void 0)
1369
- .ser(se_ListPlanExecutionEventsCommand)
1370
- .de(de_ListPlanExecutionEventsCommand)
1197
+ .sc(ListPlanExecutionEvents)
1371
1198
  .build() {
1372
1199
  }
1373
1200
 
@@ -1375,16 +1202,11 @@ class ListPlanExecutionsCommand extends smithyClient.Command
1375
1202
  .classBuilder()
1376
1203
  .ep(commonParams)
1377
1204
  .m(function (Command, cs, config, o) {
1378
- return [
1379
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1380
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1381
- ];
1205
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1382
1206
  })
1383
1207
  .s("ArcRegionSwitch", "ListPlanExecutions", {})
1384
1208
  .n("ARCRegionSwitchClient", "ListPlanExecutionsCommand")
1385
- .f(void 0, void 0)
1386
- .ser(se_ListPlanExecutionsCommand)
1387
- .de(de_ListPlanExecutionsCommand)
1209
+ .sc(ListPlanExecutions)
1388
1210
  .build() {
1389
1211
  }
1390
1212
 
@@ -1395,16 +1217,11 @@ class ListPlansCommand extends smithyClient.Command
1395
1217
  UseControlPlaneEndpoint: { type: "staticContextParams", value: true },
1396
1218
  })
1397
1219
  .m(function (Command, cs, config, o) {
1398
- return [
1399
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1400
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1401
- ];
1220
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1402
1221
  })
1403
1222
  .s("ArcRegionSwitch", "ListPlans", {})
1404
1223
  .n("ARCRegionSwitchClient", "ListPlansCommand")
1405
- .f(void 0, void 0)
1406
- .ser(se_ListPlansCommand)
1407
- .de(de_ListPlansCommand)
1224
+ .sc(ListPlans)
1408
1225
  .build() {
1409
1226
  }
1410
1227
 
@@ -1412,16 +1229,11 @@ class ListPlansInRegionCommand extends smithyClient.Command
1412
1229
  .classBuilder()
1413
1230
  .ep(commonParams)
1414
1231
  .m(function (Command, cs, config, o) {
1415
- return [
1416
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1417
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1418
- ];
1232
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1419
1233
  })
1420
1234
  .s("ArcRegionSwitch", "ListPlansInRegion", {})
1421
1235
  .n("ARCRegionSwitchClient", "ListPlansInRegionCommand")
1422
- .f(void 0, void 0)
1423
- .ser(se_ListPlansInRegionCommand)
1424
- .de(de_ListPlansInRegionCommand)
1236
+ .sc(ListPlansInRegion)
1425
1237
  .build() {
1426
1238
  }
1427
1239
 
@@ -1432,16 +1244,11 @@ class ListRoute53HealthChecksCommand extends smithyClient.Command
1432
1244
  UseControlPlaneEndpoint: { type: "staticContextParams", value: true },
1433
1245
  })
1434
1246
  .m(function (Command, cs, config, o) {
1435
- return [
1436
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1437
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1438
- ];
1247
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1439
1248
  })
1440
1249
  .s("ArcRegionSwitch", "ListRoute53HealthChecks", {})
1441
1250
  .n("ARCRegionSwitchClient", "ListRoute53HealthChecksCommand")
1442
- .f(void 0, void 0)
1443
- .ser(se_ListRoute53HealthChecksCommand)
1444
- .de(de_ListRoute53HealthChecksCommand)
1251
+ .sc(ListRoute53HealthChecks)
1445
1252
  .build() {
1446
1253
  }
1447
1254
 
@@ -1452,16 +1259,11 @@ class ListTagsForResourceCommand extends smithyClient.Command
1452
1259
  UseControlPlaneEndpoint: { type: "staticContextParams", value: true },
1453
1260
  })
1454
1261
  .m(function (Command, cs, config, o) {
1455
- return [
1456
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1457
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1458
- ];
1262
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1459
1263
  })
1460
1264
  .s("ArcRegionSwitch", "ListTagsForResource", {})
1461
1265
  .n("ARCRegionSwitchClient", "ListTagsForResourceCommand")
1462
- .f(void 0, void 0)
1463
- .ser(se_ListTagsForResourceCommand)
1464
- .de(de_ListTagsForResourceCommand)
1266
+ .sc(ListTagsForResource)
1465
1267
  .build() {
1466
1268
  }
1467
1269
 
@@ -1469,16 +1271,11 @@ class StartPlanExecutionCommand extends smithyClient.Command
1469
1271
  .classBuilder()
1470
1272
  .ep(commonParams)
1471
1273
  .m(function (Command, cs, config, o) {
1472
- return [
1473
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1474
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1475
- ];
1274
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1476
1275
  })
1477
1276
  .s("ArcRegionSwitch", "StartPlanExecution", {})
1478
1277
  .n("ARCRegionSwitchClient", "StartPlanExecutionCommand")
1479
- .f(void 0, void 0)
1480
- .ser(se_StartPlanExecutionCommand)
1481
- .de(de_StartPlanExecutionCommand)
1278
+ .sc(StartPlanExecution)
1482
1279
  .build() {
1483
1280
  }
1484
1281
 
@@ -1489,16 +1286,11 @@ class TagResourceCommand extends smithyClient.Command
1489
1286
  UseControlPlaneEndpoint: { type: "staticContextParams", value: true },
1490
1287
  })
1491
1288
  .m(function (Command, cs, config, o) {
1492
- return [
1493
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1494
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1495
- ];
1289
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1496
1290
  })
1497
1291
  .s("ArcRegionSwitch", "TagResource", {})
1498
1292
  .n("ARCRegionSwitchClient", "TagResourceCommand")
1499
- .f(void 0, void 0)
1500
- .ser(se_TagResourceCommand)
1501
- .de(de_TagResourceCommand)
1293
+ .sc(TagResource)
1502
1294
  .build() {
1503
1295
  }
1504
1296
 
@@ -1509,16 +1301,11 @@ class UntagResourceCommand extends smithyClient.Command
1509
1301
  UseControlPlaneEndpoint: { type: "staticContextParams", value: true },
1510
1302
  })
1511
1303
  .m(function (Command, cs, config, o) {
1512
- return [
1513
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1514
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1515
- ];
1304
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1516
1305
  })
1517
1306
  .s("ArcRegionSwitch", "UntagResource", {})
1518
1307
  .n("ARCRegionSwitchClient", "UntagResourceCommand")
1519
- .f(void 0, void 0)
1520
- .ser(se_UntagResourceCommand)
1521
- .de(de_UntagResourceCommand)
1308
+ .sc(UntagResource)
1522
1309
  .build() {
1523
1310
  }
1524
1311
 
@@ -1529,16 +1316,11 @@ class UpdatePlanCommand extends smithyClient.Command
1529
1316
  UseControlPlaneEndpoint: { type: "staticContextParams", value: true },
1530
1317
  })
1531
1318
  .m(function (Command, cs, config, o) {
1532
- return [
1533
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1534
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1535
- ];
1319
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1536
1320
  })
1537
1321
  .s("ArcRegionSwitch", "UpdatePlan", {})
1538
1322
  .n("ARCRegionSwitchClient", "UpdatePlanCommand")
1539
- .f(void 0, void 0)
1540
- .ser(se_UpdatePlanCommand)
1541
- .de(de_UpdatePlanCommand)
1323
+ .sc(UpdatePlan)
1542
1324
  .build() {
1543
1325
  }
1544
1326
 
@@ -1546,16 +1328,11 @@ class UpdatePlanExecutionCommand extends smithyClient.Command
1546
1328
  .classBuilder()
1547
1329
  .ep(commonParams)
1548
1330
  .m(function (Command, cs, config, o) {
1549
- return [
1550
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1551
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1552
- ];
1331
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1553
1332
  })
1554
1333
  .s("ArcRegionSwitch", "UpdatePlanExecution", {})
1555
1334
  .n("ARCRegionSwitchClient", "UpdatePlanExecutionCommand")
1556
- .f(void 0, void 0)
1557
- .ser(se_UpdatePlanExecutionCommand)
1558
- .de(de_UpdatePlanExecutionCommand)
1335
+ .sc(UpdatePlanExecution)
1559
1336
  .build() {
1560
1337
  }
1561
1338
 
@@ -1563,16 +1340,11 @@ class UpdatePlanExecutionStepCommand extends smithyClient.Command
1563
1340
  .classBuilder()
1564
1341
  .ep(commonParams)
1565
1342
  .m(function (Command, cs, config, o) {
1566
- return [
1567
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1568
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1569
- ];
1343
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1570
1344
  })
1571
1345
  .s("ArcRegionSwitch", "UpdatePlanExecutionStep", {})
1572
1346
  .n("ARCRegionSwitchClient", "UpdatePlanExecutionStepCommand")
1573
- .f(void 0, void 0)
1574
- .ser(se_UpdatePlanExecutionStepCommand)
1575
- .de(de_UpdatePlanExecutionStepCommand)
1347
+ .sc(UpdatePlanExecutionStep)
1576
1348
  .build() {
1577
1349
  }
1578
1350
 
@@ -1740,8 +1512,8 @@ Object.defineProperty(exports, "__Client", {
1740
1512
  });
1741
1513
  exports.ARCRegionSwitch = ARCRegionSwitch;
1742
1514
  exports.ARCRegionSwitchClient = ARCRegionSwitchClient;
1743
- exports.ARCRegionSwitchServiceException = ARCRegionSwitchServiceException;
1744
- exports.AccessDeniedException = AccessDeniedException;
1515
+ exports.ARCRegionSwitchServiceException = ARCRegionSwitchServiceException$1;
1516
+ exports.AccessDeniedException = AccessDeniedException$1;
1745
1517
  exports.AlarmCondition = AlarmCondition;
1746
1518
  exports.AlarmType = AlarmType;
1747
1519
  exports.Approval = Approval;
@@ -1764,9 +1536,9 @@ exports.GetPlanExecutionCommand = GetPlanExecutionCommand;
1764
1536
  exports.GetPlanInRegionCommand = GetPlanInRegionCommand;
1765
1537
  exports.GlobalAuroraDefaultBehavior = GlobalAuroraDefaultBehavior;
1766
1538
  exports.GlobalAuroraUngracefulBehavior = GlobalAuroraUngracefulBehavior;
1767
- exports.IllegalArgumentException = IllegalArgumentException;
1768
- exports.IllegalStateException = IllegalStateException;
1769
- exports.InternalServerException = InternalServerException;
1539
+ exports.IllegalArgumentException = IllegalArgumentException$1;
1540
+ exports.IllegalStateException = IllegalStateException$1;
1541
+ exports.InternalServerException = InternalServerException$1;
1770
1542
  exports.LambdaUngracefulBehavior = LambdaUngracefulBehavior;
1771
1543
  exports.ListPlanExecutionEventsCommand = ListPlanExecutionEventsCommand;
1772
1544
  exports.ListPlanExecutionsCommand = ListPlanExecutionsCommand;
@@ -1776,7 +1548,7 @@ exports.ListRoute53HealthChecksCommand = ListRoute53HealthChecksCommand;
1776
1548
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
1777
1549
  exports.RecoveryApproach = RecoveryApproach;
1778
1550
  exports.RegionToRunIn = RegionToRunIn;
1779
- exports.ResourceNotFoundException = ResourceNotFoundException;
1551
+ exports.ResourceNotFoundException = ResourceNotFoundException$1;
1780
1552
  exports.ResourceWarningStatus = ResourceWarningStatus;
1781
1553
  exports.RoutingControlStateChange = RoutingControlStateChange;
1782
1554
  exports.StartPlanExecutionCommand = StartPlanExecutionCommand;