@aws-sdk/client-elastic-load-balancing 3.312.0 → 3.315.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.
|
@@ -337,7 +337,7 @@ const de_AddTagsCommand = async (output, context) => {
|
|
|
337
337
|
$metadata: deserializeMetadata(output),
|
|
338
338
|
...contents,
|
|
339
339
|
};
|
|
340
|
-
return
|
|
340
|
+
return response;
|
|
341
341
|
};
|
|
342
342
|
exports.de_AddTagsCommand = de_AddTagsCommand;
|
|
343
343
|
const de_AddTagsCommandError = async (output, context) => {
|
|
@@ -358,10 +358,9 @@ const de_AddTagsCommandError = async (output, context) => {
|
|
|
358
358
|
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
359
359
|
default:
|
|
360
360
|
const parsedBody = parsedOutput.body;
|
|
361
|
-
|
|
361
|
+
return throwDefaultError({
|
|
362
362
|
output,
|
|
363
363
|
parsedBody: parsedBody.Error,
|
|
364
|
-
exceptionCtor: ElasticLoadBalancingServiceException_1.ElasticLoadBalancingServiceException,
|
|
365
364
|
errorCode,
|
|
366
365
|
});
|
|
367
366
|
}
|
|
@@ -377,7 +376,7 @@ const de_ApplySecurityGroupsToLoadBalancerCommand = async (output, context) => {
|
|
|
377
376
|
$metadata: deserializeMetadata(output),
|
|
378
377
|
...contents,
|
|
379
378
|
};
|
|
380
|
-
return
|
|
379
|
+
return response;
|
|
381
380
|
};
|
|
382
381
|
exports.de_ApplySecurityGroupsToLoadBalancerCommand = de_ApplySecurityGroupsToLoadBalancerCommand;
|
|
383
382
|
const de_ApplySecurityGroupsToLoadBalancerCommandError = async (output, context) => {
|
|
@@ -398,10 +397,9 @@ const de_ApplySecurityGroupsToLoadBalancerCommandError = async (output, context)
|
|
|
398
397
|
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
399
398
|
default:
|
|
400
399
|
const parsedBody = parsedOutput.body;
|
|
401
|
-
|
|
400
|
+
return throwDefaultError({
|
|
402
401
|
output,
|
|
403
402
|
parsedBody: parsedBody.Error,
|
|
404
|
-
exceptionCtor: ElasticLoadBalancingServiceException_1.ElasticLoadBalancingServiceException,
|
|
405
403
|
errorCode,
|
|
406
404
|
});
|
|
407
405
|
}
|
|
@@ -417,7 +415,7 @@ const de_AttachLoadBalancerToSubnetsCommand = async (output, context) => {
|
|
|
417
415
|
$metadata: deserializeMetadata(output),
|
|
418
416
|
...contents,
|
|
419
417
|
};
|
|
420
|
-
return
|
|
418
|
+
return response;
|
|
421
419
|
};
|
|
422
420
|
exports.de_AttachLoadBalancerToSubnetsCommand = de_AttachLoadBalancerToSubnetsCommand;
|
|
423
421
|
const de_AttachLoadBalancerToSubnetsCommandError = async (output, context) => {
|
|
@@ -441,10 +439,9 @@ const de_AttachLoadBalancerToSubnetsCommandError = async (output, context) => {
|
|
|
441
439
|
throw await de_SubnetNotFoundExceptionRes(parsedOutput, context);
|
|
442
440
|
default:
|
|
443
441
|
const parsedBody = parsedOutput.body;
|
|
444
|
-
|
|
442
|
+
return throwDefaultError({
|
|
445
443
|
output,
|
|
446
444
|
parsedBody: parsedBody.Error,
|
|
447
|
-
exceptionCtor: ElasticLoadBalancingServiceException_1.ElasticLoadBalancingServiceException,
|
|
448
445
|
errorCode,
|
|
449
446
|
});
|
|
450
447
|
}
|
|
@@ -460,7 +457,7 @@ const de_ConfigureHealthCheckCommand = async (output, context) => {
|
|
|
460
457
|
$metadata: deserializeMetadata(output),
|
|
461
458
|
...contents,
|
|
462
459
|
};
|
|
463
|
-
return
|
|
460
|
+
return response;
|
|
464
461
|
};
|
|
465
462
|
exports.de_ConfigureHealthCheckCommand = de_ConfigureHealthCheckCommand;
|
|
466
463
|
const de_ConfigureHealthCheckCommandError = async (output, context) => {
|
|
@@ -475,10 +472,9 @@ const de_ConfigureHealthCheckCommandError = async (output, context) => {
|
|
|
475
472
|
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
476
473
|
default:
|
|
477
474
|
const parsedBody = parsedOutput.body;
|
|
478
|
-
|
|
475
|
+
return throwDefaultError({
|
|
479
476
|
output,
|
|
480
477
|
parsedBody: parsedBody.Error,
|
|
481
|
-
exceptionCtor: ElasticLoadBalancingServiceException_1.ElasticLoadBalancingServiceException,
|
|
482
478
|
errorCode,
|
|
483
479
|
});
|
|
484
480
|
}
|
|
@@ -494,7 +490,7 @@ const de_CreateAppCookieStickinessPolicyCommand = async (output, context) => {
|
|
|
494
490
|
$metadata: deserializeMetadata(output),
|
|
495
491
|
...contents,
|
|
496
492
|
};
|
|
497
|
-
return
|
|
493
|
+
return response;
|
|
498
494
|
};
|
|
499
495
|
exports.de_CreateAppCookieStickinessPolicyCommand = de_CreateAppCookieStickinessPolicyCommand;
|
|
500
496
|
const de_CreateAppCookieStickinessPolicyCommandError = async (output, context) => {
|
|
@@ -518,10 +514,9 @@ const de_CreateAppCookieStickinessPolicyCommandError = async (output, context) =
|
|
|
518
514
|
throw await de_TooManyPoliciesExceptionRes(parsedOutput, context);
|
|
519
515
|
default:
|
|
520
516
|
const parsedBody = parsedOutput.body;
|
|
521
|
-
|
|
517
|
+
return throwDefaultError({
|
|
522
518
|
output,
|
|
523
519
|
parsedBody: parsedBody.Error,
|
|
524
|
-
exceptionCtor: ElasticLoadBalancingServiceException_1.ElasticLoadBalancingServiceException,
|
|
525
520
|
errorCode,
|
|
526
521
|
});
|
|
527
522
|
}
|
|
@@ -537,7 +532,7 @@ const de_CreateLBCookieStickinessPolicyCommand = async (output, context) => {
|
|
|
537
532
|
$metadata: deserializeMetadata(output),
|
|
538
533
|
...contents,
|
|
539
534
|
};
|
|
540
|
-
return
|
|
535
|
+
return response;
|
|
541
536
|
};
|
|
542
537
|
exports.de_CreateLBCookieStickinessPolicyCommand = de_CreateLBCookieStickinessPolicyCommand;
|
|
543
538
|
const de_CreateLBCookieStickinessPolicyCommandError = async (output, context) => {
|
|
@@ -561,10 +556,9 @@ const de_CreateLBCookieStickinessPolicyCommandError = async (output, context) =>
|
|
|
561
556
|
throw await de_TooManyPoliciesExceptionRes(parsedOutput, context);
|
|
562
557
|
default:
|
|
563
558
|
const parsedBody = parsedOutput.body;
|
|
564
|
-
|
|
559
|
+
return throwDefaultError({
|
|
565
560
|
output,
|
|
566
561
|
parsedBody: parsedBody.Error,
|
|
567
|
-
exceptionCtor: ElasticLoadBalancingServiceException_1.ElasticLoadBalancingServiceException,
|
|
568
562
|
errorCode,
|
|
569
563
|
});
|
|
570
564
|
}
|
|
@@ -580,7 +574,7 @@ const de_CreateLoadBalancerCommand = async (output, context) => {
|
|
|
580
574
|
$metadata: deserializeMetadata(output),
|
|
581
575
|
...contents,
|
|
582
576
|
};
|
|
583
|
-
return
|
|
577
|
+
return response;
|
|
584
578
|
};
|
|
585
579
|
exports.de_CreateLoadBalancerCommand = de_CreateLoadBalancerCommand;
|
|
586
580
|
const de_CreateLoadBalancerCommandError = async (output, context) => {
|
|
@@ -628,10 +622,9 @@ const de_CreateLoadBalancerCommandError = async (output, context) => {
|
|
|
628
622
|
throw await de_UnsupportedProtocolExceptionRes(parsedOutput, context);
|
|
629
623
|
default:
|
|
630
624
|
const parsedBody = parsedOutput.body;
|
|
631
|
-
|
|
625
|
+
return throwDefaultError({
|
|
632
626
|
output,
|
|
633
627
|
parsedBody: parsedBody.Error,
|
|
634
|
-
exceptionCtor: ElasticLoadBalancingServiceException_1.ElasticLoadBalancingServiceException,
|
|
635
628
|
errorCode,
|
|
636
629
|
});
|
|
637
630
|
}
|
|
@@ -647,7 +640,7 @@ const de_CreateLoadBalancerListenersCommand = async (output, context) => {
|
|
|
647
640
|
$metadata: deserializeMetadata(output),
|
|
648
641
|
...contents,
|
|
649
642
|
};
|
|
650
|
-
return
|
|
643
|
+
return response;
|
|
651
644
|
};
|
|
652
645
|
exports.de_CreateLoadBalancerListenersCommand = de_CreateLoadBalancerListenersCommand;
|
|
653
646
|
const de_CreateLoadBalancerListenersCommandError = async (output, context) => {
|
|
@@ -674,10 +667,9 @@ const de_CreateLoadBalancerListenersCommandError = async (output, context) => {
|
|
|
674
667
|
throw await de_UnsupportedProtocolExceptionRes(parsedOutput, context);
|
|
675
668
|
default:
|
|
676
669
|
const parsedBody = parsedOutput.body;
|
|
677
|
-
|
|
670
|
+
return throwDefaultError({
|
|
678
671
|
output,
|
|
679
672
|
parsedBody: parsedBody.Error,
|
|
680
|
-
exceptionCtor: ElasticLoadBalancingServiceException_1.ElasticLoadBalancingServiceException,
|
|
681
673
|
errorCode,
|
|
682
674
|
});
|
|
683
675
|
}
|
|
@@ -693,7 +685,7 @@ const de_CreateLoadBalancerPolicyCommand = async (output, context) => {
|
|
|
693
685
|
$metadata: deserializeMetadata(output),
|
|
694
686
|
...contents,
|
|
695
687
|
};
|
|
696
|
-
return
|
|
688
|
+
return response;
|
|
697
689
|
};
|
|
698
690
|
exports.de_CreateLoadBalancerPolicyCommand = de_CreateLoadBalancerPolicyCommand;
|
|
699
691
|
const de_CreateLoadBalancerPolicyCommandError = async (output, context) => {
|
|
@@ -720,10 +712,9 @@ const de_CreateLoadBalancerPolicyCommandError = async (output, context) => {
|
|
|
720
712
|
throw await de_TooManyPoliciesExceptionRes(parsedOutput, context);
|
|
721
713
|
default:
|
|
722
714
|
const parsedBody = parsedOutput.body;
|
|
723
|
-
|
|
715
|
+
return throwDefaultError({
|
|
724
716
|
output,
|
|
725
717
|
parsedBody: parsedBody.Error,
|
|
726
|
-
exceptionCtor: ElasticLoadBalancingServiceException_1.ElasticLoadBalancingServiceException,
|
|
727
718
|
errorCode,
|
|
728
719
|
});
|
|
729
720
|
}
|
|
@@ -739,7 +730,7 @@ const de_DeleteLoadBalancerCommand = async (output, context) => {
|
|
|
739
730
|
$metadata: deserializeMetadata(output),
|
|
740
731
|
...contents,
|
|
741
732
|
};
|
|
742
|
-
return
|
|
733
|
+
return response;
|
|
743
734
|
};
|
|
744
735
|
exports.de_DeleteLoadBalancerCommand = de_DeleteLoadBalancerCommand;
|
|
745
736
|
const de_DeleteLoadBalancerCommandError = async (output, context) => {
|
|
@@ -749,10 +740,9 @@ const de_DeleteLoadBalancerCommandError = async (output, context) => {
|
|
|
749
740
|
};
|
|
750
741
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
751
742
|
const parsedBody = parsedOutput.body;
|
|
752
|
-
|
|
743
|
+
return throwDefaultError({
|
|
753
744
|
output,
|
|
754
745
|
parsedBody: parsedBody.Error,
|
|
755
|
-
exceptionCtor: ElasticLoadBalancingServiceException_1.ElasticLoadBalancingServiceException,
|
|
756
746
|
errorCode,
|
|
757
747
|
});
|
|
758
748
|
};
|
|
@@ -767,7 +757,7 @@ const de_DeleteLoadBalancerListenersCommand = async (output, context) => {
|
|
|
767
757
|
$metadata: deserializeMetadata(output),
|
|
768
758
|
...contents,
|
|
769
759
|
};
|
|
770
|
-
return
|
|
760
|
+
return response;
|
|
771
761
|
};
|
|
772
762
|
exports.de_DeleteLoadBalancerListenersCommand = de_DeleteLoadBalancerListenersCommand;
|
|
773
763
|
const de_DeleteLoadBalancerListenersCommandError = async (output, context) => {
|
|
@@ -782,10 +772,9 @@ const de_DeleteLoadBalancerListenersCommandError = async (output, context) => {
|
|
|
782
772
|
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
783
773
|
default:
|
|
784
774
|
const parsedBody = parsedOutput.body;
|
|
785
|
-
|
|
775
|
+
return throwDefaultError({
|
|
786
776
|
output,
|
|
787
777
|
parsedBody: parsedBody.Error,
|
|
788
|
-
exceptionCtor: ElasticLoadBalancingServiceException_1.ElasticLoadBalancingServiceException,
|
|
789
778
|
errorCode,
|
|
790
779
|
});
|
|
791
780
|
}
|
|
@@ -801,7 +790,7 @@ const de_DeleteLoadBalancerPolicyCommand = async (output, context) => {
|
|
|
801
790
|
$metadata: deserializeMetadata(output),
|
|
802
791
|
...contents,
|
|
803
792
|
};
|
|
804
|
-
return
|
|
793
|
+
return response;
|
|
805
794
|
};
|
|
806
795
|
exports.de_DeleteLoadBalancerPolicyCommand = de_DeleteLoadBalancerPolicyCommand;
|
|
807
796
|
const de_DeleteLoadBalancerPolicyCommandError = async (output, context) => {
|
|
@@ -819,10 +808,9 @@ const de_DeleteLoadBalancerPolicyCommandError = async (output, context) => {
|
|
|
819
808
|
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
820
809
|
default:
|
|
821
810
|
const parsedBody = parsedOutput.body;
|
|
822
|
-
|
|
811
|
+
return throwDefaultError({
|
|
823
812
|
output,
|
|
824
813
|
parsedBody: parsedBody.Error,
|
|
825
|
-
exceptionCtor: ElasticLoadBalancingServiceException_1.ElasticLoadBalancingServiceException,
|
|
826
814
|
errorCode,
|
|
827
815
|
});
|
|
828
816
|
}
|
|
@@ -838,7 +826,7 @@ const de_DeregisterInstancesFromLoadBalancerCommand = async (output, context) =>
|
|
|
838
826
|
$metadata: deserializeMetadata(output),
|
|
839
827
|
...contents,
|
|
840
828
|
};
|
|
841
|
-
return
|
|
829
|
+
return response;
|
|
842
830
|
};
|
|
843
831
|
exports.de_DeregisterInstancesFromLoadBalancerCommand = de_DeregisterInstancesFromLoadBalancerCommand;
|
|
844
832
|
const de_DeregisterInstancesFromLoadBalancerCommandError = async (output, context) => {
|
|
@@ -856,10 +844,9 @@ const de_DeregisterInstancesFromLoadBalancerCommandError = async (output, contex
|
|
|
856
844
|
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
857
845
|
default:
|
|
858
846
|
const parsedBody = parsedOutput.body;
|
|
859
|
-
|
|
847
|
+
return throwDefaultError({
|
|
860
848
|
output,
|
|
861
849
|
parsedBody: parsedBody.Error,
|
|
862
|
-
exceptionCtor: ElasticLoadBalancingServiceException_1.ElasticLoadBalancingServiceException,
|
|
863
850
|
errorCode,
|
|
864
851
|
});
|
|
865
852
|
}
|
|
@@ -875,7 +862,7 @@ const de_DescribeAccountLimitsCommand = async (output, context) => {
|
|
|
875
862
|
$metadata: deserializeMetadata(output),
|
|
876
863
|
...contents,
|
|
877
864
|
};
|
|
878
|
-
return
|
|
865
|
+
return response;
|
|
879
866
|
};
|
|
880
867
|
exports.de_DescribeAccountLimitsCommand = de_DescribeAccountLimitsCommand;
|
|
881
868
|
const de_DescribeAccountLimitsCommandError = async (output, context) => {
|
|
@@ -885,10 +872,9 @@ const de_DescribeAccountLimitsCommandError = async (output, context) => {
|
|
|
885
872
|
};
|
|
886
873
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
887
874
|
const parsedBody = parsedOutput.body;
|
|
888
|
-
|
|
875
|
+
return throwDefaultError({
|
|
889
876
|
output,
|
|
890
877
|
parsedBody: parsedBody.Error,
|
|
891
|
-
exceptionCtor: ElasticLoadBalancingServiceException_1.ElasticLoadBalancingServiceException,
|
|
892
878
|
errorCode,
|
|
893
879
|
});
|
|
894
880
|
};
|
|
@@ -903,7 +889,7 @@ const de_DescribeInstanceHealthCommand = async (output, context) => {
|
|
|
903
889
|
$metadata: deserializeMetadata(output),
|
|
904
890
|
...contents,
|
|
905
891
|
};
|
|
906
|
-
return
|
|
892
|
+
return response;
|
|
907
893
|
};
|
|
908
894
|
exports.de_DescribeInstanceHealthCommand = de_DescribeInstanceHealthCommand;
|
|
909
895
|
const de_DescribeInstanceHealthCommandError = async (output, context) => {
|
|
@@ -921,10 +907,9 @@ const de_DescribeInstanceHealthCommandError = async (output, context) => {
|
|
|
921
907
|
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
922
908
|
default:
|
|
923
909
|
const parsedBody = parsedOutput.body;
|
|
924
|
-
|
|
910
|
+
return throwDefaultError({
|
|
925
911
|
output,
|
|
926
912
|
parsedBody: parsedBody.Error,
|
|
927
|
-
exceptionCtor: ElasticLoadBalancingServiceException_1.ElasticLoadBalancingServiceException,
|
|
928
913
|
errorCode,
|
|
929
914
|
});
|
|
930
915
|
}
|
|
@@ -940,7 +925,7 @@ const de_DescribeLoadBalancerAttributesCommand = async (output, context) => {
|
|
|
940
925
|
$metadata: deserializeMetadata(output),
|
|
941
926
|
...contents,
|
|
942
927
|
};
|
|
943
|
-
return
|
|
928
|
+
return response;
|
|
944
929
|
};
|
|
945
930
|
exports.de_DescribeLoadBalancerAttributesCommand = de_DescribeLoadBalancerAttributesCommand;
|
|
946
931
|
const de_DescribeLoadBalancerAttributesCommandError = async (output, context) => {
|
|
@@ -958,10 +943,9 @@ const de_DescribeLoadBalancerAttributesCommandError = async (output, context) =>
|
|
|
958
943
|
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
959
944
|
default:
|
|
960
945
|
const parsedBody = parsedOutput.body;
|
|
961
|
-
|
|
946
|
+
return throwDefaultError({
|
|
962
947
|
output,
|
|
963
948
|
parsedBody: parsedBody.Error,
|
|
964
|
-
exceptionCtor: ElasticLoadBalancingServiceException_1.ElasticLoadBalancingServiceException,
|
|
965
949
|
errorCode,
|
|
966
950
|
});
|
|
967
951
|
}
|
|
@@ -977,7 +961,7 @@ const de_DescribeLoadBalancerPoliciesCommand = async (output, context) => {
|
|
|
977
961
|
$metadata: deserializeMetadata(output),
|
|
978
962
|
...contents,
|
|
979
963
|
};
|
|
980
|
-
return
|
|
964
|
+
return response;
|
|
981
965
|
};
|
|
982
966
|
exports.de_DescribeLoadBalancerPoliciesCommand = de_DescribeLoadBalancerPoliciesCommand;
|
|
983
967
|
const de_DescribeLoadBalancerPoliciesCommandError = async (output, context) => {
|
|
@@ -995,10 +979,9 @@ const de_DescribeLoadBalancerPoliciesCommandError = async (output, context) => {
|
|
|
995
979
|
throw await de_PolicyNotFoundExceptionRes(parsedOutput, context);
|
|
996
980
|
default:
|
|
997
981
|
const parsedBody = parsedOutput.body;
|
|
998
|
-
|
|
982
|
+
return throwDefaultError({
|
|
999
983
|
output,
|
|
1000
984
|
parsedBody: parsedBody.Error,
|
|
1001
|
-
exceptionCtor: ElasticLoadBalancingServiceException_1.ElasticLoadBalancingServiceException,
|
|
1002
985
|
errorCode,
|
|
1003
986
|
});
|
|
1004
987
|
}
|
|
@@ -1014,7 +997,7 @@ const de_DescribeLoadBalancerPolicyTypesCommand = async (output, context) => {
|
|
|
1014
997
|
$metadata: deserializeMetadata(output),
|
|
1015
998
|
...contents,
|
|
1016
999
|
};
|
|
1017
|
-
return
|
|
1000
|
+
return response;
|
|
1018
1001
|
};
|
|
1019
1002
|
exports.de_DescribeLoadBalancerPolicyTypesCommand = de_DescribeLoadBalancerPolicyTypesCommand;
|
|
1020
1003
|
const de_DescribeLoadBalancerPolicyTypesCommandError = async (output, context) => {
|
|
@@ -1029,10 +1012,9 @@ const de_DescribeLoadBalancerPolicyTypesCommandError = async (output, context) =
|
|
|
1029
1012
|
throw await de_PolicyTypeNotFoundExceptionRes(parsedOutput, context);
|
|
1030
1013
|
default:
|
|
1031
1014
|
const parsedBody = parsedOutput.body;
|
|
1032
|
-
|
|
1015
|
+
return throwDefaultError({
|
|
1033
1016
|
output,
|
|
1034
1017
|
parsedBody: parsedBody.Error,
|
|
1035
|
-
exceptionCtor: ElasticLoadBalancingServiceException_1.ElasticLoadBalancingServiceException,
|
|
1036
1018
|
errorCode,
|
|
1037
1019
|
});
|
|
1038
1020
|
}
|
|
@@ -1048,7 +1030,7 @@ const de_DescribeLoadBalancersCommand = async (output, context) => {
|
|
|
1048
1030
|
$metadata: deserializeMetadata(output),
|
|
1049
1031
|
...contents,
|
|
1050
1032
|
};
|
|
1051
|
-
return
|
|
1033
|
+
return response;
|
|
1052
1034
|
};
|
|
1053
1035
|
exports.de_DescribeLoadBalancersCommand = de_DescribeLoadBalancersCommand;
|
|
1054
1036
|
const de_DescribeLoadBalancersCommandError = async (output, context) => {
|
|
@@ -1066,10 +1048,9 @@ const de_DescribeLoadBalancersCommandError = async (output, context) => {
|
|
|
1066
1048
|
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
1067
1049
|
default:
|
|
1068
1050
|
const parsedBody = parsedOutput.body;
|
|
1069
|
-
|
|
1051
|
+
return throwDefaultError({
|
|
1070
1052
|
output,
|
|
1071
1053
|
parsedBody: parsedBody.Error,
|
|
1072
|
-
exceptionCtor: ElasticLoadBalancingServiceException_1.ElasticLoadBalancingServiceException,
|
|
1073
1054
|
errorCode,
|
|
1074
1055
|
});
|
|
1075
1056
|
}
|
|
@@ -1085,7 +1066,7 @@ const de_DescribeTagsCommand = async (output, context) => {
|
|
|
1085
1066
|
$metadata: deserializeMetadata(output),
|
|
1086
1067
|
...contents,
|
|
1087
1068
|
};
|
|
1088
|
-
return
|
|
1069
|
+
return response;
|
|
1089
1070
|
};
|
|
1090
1071
|
exports.de_DescribeTagsCommand = de_DescribeTagsCommand;
|
|
1091
1072
|
const de_DescribeTagsCommandError = async (output, context) => {
|
|
@@ -1100,10 +1081,9 @@ const de_DescribeTagsCommandError = async (output, context) => {
|
|
|
1100
1081
|
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
1101
1082
|
default:
|
|
1102
1083
|
const parsedBody = parsedOutput.body;
|
|
1103
|
-
|
|
1084
|
+
return throwDefaultError({
|
|
1104
1085
|
output,
|
|
1105
1086
|
parsedBody: parsedBody.Error,
|
|
1106
|
-
exceptionCtor: ElasticLoadBalancingServiceException_1.ElasticLoadBalancingServiceException,
|
|
1107
1087
|
errorCode,
|
|
1108
1088
|
});
|
|
1109
1089
|
}
|
|
@@ -1119,7 +1099,7 @@ const de_DetachLoadBalancerFromSubnetsCommand = async (output, context) => {
|
|
|
1119
1099
|
$metadata: deserializeMetadata(output),
|
|
1120
1100
|
...contents,
|
|
1121
1101
|
};
|
|
1122
|
-
return
|
|
1102
|
+
return response;
|
|
1123
1103
|
};
|
|
1124
1104
|
exports.de_DetachLoadBalancerFromSubnetsCommand = de_DetachLoadBalancerFromSubnetsCommand;
|
|
1125
1105
|
const de_DetachLoadBalancerFromSubnetsCommandError = async (output, context) => {
|
|
@@ -1137,10 +1117,9 @@ const de_DetachLoadBalancerFromSubnetsCommandError = async (output, context) =>
|
|
|
1137
1117
|
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
1138
1118
|
default:
|
|
1139
1119
|
const parsedBody = parsedOutput.body;
|
|
1140
|
-
|
|
1120
|
+
return throwDefaultError({
|
|
1141
1121
|
output,
|
|
1142
1122
|
parsedBody: parsedBody.Error,
|
|
1143
|
-
exceptionCtor: ElasticLoadBalancingServiceException_1.ElasticLoadBalancingServiceException,
|
|
1144
1123
|
errorCode,
|
|
1145
1124
|
});
|
|
1146
1125
|
}
|
|
@@ -1156,7 +1135,7 @@ const de_DisableAvailabilityZonesForLoadBalancerCommand = async (output, context
|
|
|
1156
1135
|
$metadata: deserializeMetadata(output),
|
|
1157
1136
|
...contents,
|
|
1158
1137
|
};
|
|
1159
|
-
return
|
|
1138
|
+
return response;
|
|
1160
1139
|
};
|
|
1161
1140
|
exports.de_DisableAvailabilityZonesForLoadBalancerCommand = de_DisableAvailabilityZonesForLoadBalancerCommand;
|
|
1162
1141
|
const de_DisableAvailabilityZonesForLoadBalancerCommandError = async (output, context) => {
|
|
@@ -1174,10 +1153,9 @@ const de_DisableAvailabilityZonesForLoadBalancerCommandError = async (output, co
|
|
|
1174
1153
|
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
1175
1154
|
default:
|
|
1176
1155
|
const parsedBody = parsedOutput.body;
|
|
1177
|
-
|
|
1156
|
+
return throwDefaultError({
|
|
1178
1157
|
output,
|
|
1179
1158
|
parsedBody: parsedBody.Error,
|
|
1180
|
-
exceptionCtor: ElasticLoadBalancingServiceException_1.ElasticLoadBalancingServiceException,
|
|
1181
1159
|
errorCode,
|
|
1182
1160
|
});
|
|
1183
1161
|
}
|
|
@@ -1193,7 +1171,7 @@ const de_EnableAvailabilityZonesForLoadBalancerCommand = async (output, context)
|
|
|
1193
1171
|
$metadata: deserializeMetadata(output),
|
|
1194
1172
|
...contents,
|
|
1195
1173
|
};
|
|
1196
|
-
return
|
|
1174
|
+
return response;
|
|
1197
1175
|
};
|
|
1198
1176
|
exports.de_EnableAvailabilityZonesForLoadBalancerCommand = de_EnableAvailabilityZonesForLoadBalancerCommand;
|
|
1199
1177
|
const de_EnableAvailabilityZonesForLoadBalancerCommandError = async (output, context) => {
|
|
@@ -1208,10 +1186,9 @@ const de_EnableAvailabilityZonesForLoadBalancerCommandError = async (output, con
|
|
|
1208
1186
|
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
1209
1187
|
default:
|
|
1210
1188
|
const parsedBody = parsedOutput.body;
|
|
1211
|
-
|
|
1189
|
+
return throwDefaultError({
|
|
1212
1190
|
output,
|
|
1213
1191
|
parsedBody: parsedBody.Error,
|
|
1214
|
-
exceptionCtor: ElasticLoadBalancingServiceException_1.ElasticLoadBalancingServiceException,
|
|
1215
1192
|
errorCode,
|
|
1216
1193
|
});
|
|
1217
1194
|
}
|
|
@@ -1227,7 +1204,7 @@ const de_ModifyLoadBalancerAttributesCommand = async (output, context) => {
|
|
|
1227
1204
|
$metadata: deserializeMetadata(output),
|
|
1228
1205
|
...contents,
|
|
1229
1206
|
};
|
|
1230
|
-
return
|
|
1207
|
+
return response;
|
|
1231
1208
|
};
|
|
1232
1209
|
exports.de_ModifyLoadBalancerAttributesCommand = de_ModifyLoadBalancerAttributesCommand;
|
|
1233
1210
|
const de_ModifyLoadBalancerAttributesCommandError = async (output, context) => {
|
|
@@ -1248,10 +1225,9 @@ const de_ModifyLoadBalancerAttributesCommandError = async (output, context) => {
|
|
|
1248
1225
|
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
1249
1226
|
default:
|
|
1250
1227
|
const parsedBody = parsedOutput.body;
|
|
1251
|
-
|
|
1228
|
+
return throwDefaultError({
|
|
1252
1229
|
output,
|
|
1253
1230
|
parsedBody: parsedBody.Error,
|
|
1254
|
-
exceptionCtor: ElasticLoadBalancingServiceException_1.ElasticLoadBalancingServiceException,
|
|
1255
1231
|
errorCode,
|
|
1256
1232
|
});
|
|
1257
1233
|
}
|
|
@@ -1267,7 +1243,7 @@ const de_RegisterInstancesWithLoadBalancerCommand = async (output, context) => {
|
|
|
1267
1243
|
$metadata: deserializeMetadata(output),
|
|
1268
1244
|
...contents,
|
|
1269
1245
|
};
|
|
1270
|
-
return
|
|
1246
|
+
return response;
|
|
1271
1247
|
};
|
|
1272
1248
|
exports.de_RegisterInstancesWithLoadBalancerCommand = de_RegisterInstancesWithLoadBalancerCommand;
|
|
1273
1249
|
const de_RegisterInstancesWithLoadBalancerCommandError = async (output, context) => {
|
|
@@ -1285,10 +1261,9 @@ const de_RegisterInstancesWithLoadBalancerCommandError = async (output, context)
|
|
|
1285
1261
|
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
1286
1262
|
default:
|
|
1287
1263
|
const parsedBody = parsedOutput.body;
|
|
1288
|
-
|
|
1264
|
+
return throwDefaultError({
|
|
1289
1265
|
output,
|
|
1290
1266
|
parsedBody: parsedBody.Error,
|
|
1291
|
-
exceptionCtor: ElasticLoadBalancingServiceException_1.ElasticLoadBalancingServiceException,
|
|
1292
1267
|
errorCode,
|
|
1293
1268
|
});
|
|
1294
1269
|
}
|
|
@@ -1304,7 +1279,7 @@ const de_RemoveTagsCommand = async (output, context) => {
|
|
|
1304
1279
|
$metadata: deserializeMetadata(output),
|
|
1305
1280
|
...contents,
|
|
1306
1281
|
};
|
|
1307
|
-
return
|
|
1282
|
+
return response;
|
|
1308
1283
|
};
|
|
1309
1284
|
exports.de_RemoveTagsCommand = de_RemoveTagsCommand;
|
|
1310
1285
|
const de_RemoveTagsCommandError = async (output, context) => {
|
|
@@ -1319,10 +1294,9 @@ const de_RemoveTagsCommandError = async (output, context) => {
|
|
|
1319
1294
|
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
1320
1295
|
default:
|
|
1321
1296
|
const parsedBody = parsedOutput.body;
|
|
1322
|
-
|
|
1297
|
+
return throwDefaultError({
|
|
1323
1298
|
output,
|
|
1324
1299
|
parsedBody: parsedBody.Error,
|
|
1325
|
-
exceptionCtor: ElasticLoadBalancingServiceException_1.ElasticLoadBalancingServiceException,
|
|
1326
1300
|
errorCode,
|
|
1327
1301
|
});
|
|
1328
1302
|
}
|
|
@@ -1338,7 +1312,7 @@ const de_SetLoadBalancerListenerSSLCertificateCommand = async (output, context)
|
|
|
1338
1312
|
$metadata: deserializeMetadata(output),
|
|
1339
1313
|
...contents,
|
|
1340
1314
|
};
|
|
1341
|
-
return
|
|
1315
|
+
return response;
|
|
1342
1316
|
};
|
|
1343
1317
|
exports.de_SetLoadBalancerListenerSSLCertificateCommand = de_SetLoadBalancerListenerSSLCertificateCommand;
|
|
1344
1318
|
const de_SetLoadBalancerListenerSSLCertificateCommandError = async (output, context) => {
|
|
@@ -1365,10 +1339,9 @@ const de_SetLoadBalancerListenerSSLCertificateCommandError = async (output, cont
|
|
|
1365
1339
|
throw await de_UnsupportedProtocolExceptionRes(parsedOutput, context);
|
|
1366
1340
|
default:
|
|
1367
1341
|
const parsedBody = parsedOutput.body;
|
|
1368
|
-
|
|
1342
|
+
return throwDefaultError({
|
|
1369
1343
|
output,
|
|
1370
1344
|
parsedBody: parsedBody.Error,
|
|
1371
|
-
exceptionCtor: ElasticLoadBalancingServiceException_1.ElasticLoadBalancingServiceException,
|
|
1372
1345
|
errorCode,
|
|
1373
1346
|
});
|
|
1374
1347
|
}
|
|
@@ -1384,7 +1357,7 @@ const de_SetLoadBalancerPoliciesForBackendServerCommand = async (output, context
|
|
|
1384
1357
|
$metadata: deserializeMetadata(output),
|
|
1385
1358
|
...contents,
|
|
1386
1359
|
};
|
|
1387
|
-
return
|
|
1360
|
+
return response;
|
|
1388
1361
|
};
|
|
1389
1362
|
exports.de_SetLoadBalancerPoliciesForBackendServerCommand = de_SetLoadBalancerPoliciesForBackendServerCommand;
|
|
1390
1363
|
const de_SetLoadBalancerPoliciesForBackendServerCommandError = async (output, context) => {
|
|
@@ -1405,10 +1378,9 @@ const de_SetLoadBalancerPoliciesForBackendServerCommandError = async (output, co
|
|
|
1405
1378
|
throw await de_PolicyNotFoundExceptionRes(parsedOutput, context);
|
|
1406
1379
|
default:
|
|
1407
1380
|
const parsedBody = parsedOutput.body;
|
|
1408
|
-
|
|
1381
|
+
return throwDefaultError({
|
|
1409
1382
|
output,
|
|
1410
1383
|
parsedBody: parsedBody.Error,
|
|
1411
|
-
exceptionCtor: ElasticLoadBalancingServiceException_1.ElasticLoadBalancingServiceException,
|
|
1412
1384
|
errorCode,
|
|
1413
1385
|
});
|
|
1414
1386
|
}
|
|
@@ -1424,7 +1396,7 @@ const de_SetLoadBalancerPoliciesOfListenerCommand = async (output, context) => {
|
|
|
1424
1396
|
$metadata: deserializeMetadata(output),
|
|
1425
1397
|
...contents,
|
|
1426
1398
|
};
|
|
1427
|
-
return
|
|
1399
|
+
return response;
|
|
1428
1400
|
};
|
|
1429
1401
|
exports.de_SetLoadBalancerPoliciesOfListenerCommand = de_SetLoadBalancerPoliciesOfListenerCommand;
|
|
1430
1402
|
const de_SetLoadBalancerPoliciesOfListenerCommandError = async (output, context) => {
|
|
@@ -1448,10 +1420,9 @@ const de_SetLoadBalancerPoliciesOfListenerCommandError = async (output, context)
|
|
|
1448
1420
|
throw await de_PolicyNotFoundExceptionRes(parsedOutput, context);
|
|
1449
1421
|
default:
|
|
1450
1422
|
const parsedBody = parsedOutput.body;
|
|
1451
|
-
|
|
1423
|
+
return throwDefaultError({
|
|
1452
1424
|
output,
|
|
1453
1425
|
parsedBody: parsedBody.Error,
|
|
1454
|
-
exceptionCtor: ElasticLoadBalancingServiceException_1.ElasticLoadBalancingServiceException,
|
|
1455
1426
|
errorCode,
|
|
1456
1427
|
});
|
|
1457
1428
|
}
|
|
@@ -3408,6 +3379,7 @@ const collectBody = (streamBody = new Uint8Array(), context) => {
|
|
|
3408
3379
|
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
3409
3380
|
};
|
|
3410
3381
|
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
3382
|
+
const throwDefaultError = (0, smithy_client_1.withBaseException)(ElasticLoadBalancingServiceException_1.ElasticLoadBalancingServiceException);
|
|
3411
3383
|
const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
|
|
3412
3384
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
3413
3385
|
const contents = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
2
|
-
import { decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, getArrayIfSingleItem as __getArrayIfSingleItem, getValueFromTextNode as __getValueFromTextNode, parseBoolean as __parseBoolean, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, strictParseInt32 as __strictParseInt32, strictParseLong as __strictParseLong,
|
|
2
|
+
import { decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, getArrayIfSingleItem as __getArrayIfSingleItem, getValueFromTextNode as __getValueFromTextNode, parseBoolean as __parseBoolean, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, strictParseInt32 as __strictParseInt32, strictParseLong as __strictParseLong, withBaseException, } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { XMLParser } from "fast-xml-parser";
|
|
4
4
|
import { ElasticLoadBalancingServiceException as __BaseException } from "../models/ElasticLoadBalancingServiceException";
|
|
5
5
|
import { AccessPointNotFoundException, CertificateNotFoundException, DependencyThrottleException, DuplicateAccessPointNameException, DuplicateListenerException, DuplicatePolicyNameException, DuplicateTagKeysException, InvalidConfigurationRequestException, InvalidEndPointException, InvalidSchemeException, InvalidSecurityGroupException, InvalidSubnetException, ListenerNotFoundException, LoadBalancerAttributeNotFoundException, OperationNotPermittedException, PolicyNotFoundException, PolicyTypeNotFoundException, SubnetNotFoundException, TooManyAccessPointsException, TooManyPoliciesException, TooManyTagsException, UnsupportedProtocolException, } from "../models/models_0";
|
|
@@ -304,7 +304,7 @@ export const de_AddTagsCommand = async (output, context) => {
|
|
|
304
304
|
$metadata: deserializeMetadata(output),
|
|
305
305
|
...contents,
|
|
306
306
|
};
|
|
307
|
-
return
|
|
307
|
+
return response;
|
|
308
308
|
};
|
|
309
309
|
const de_AddTagsCommandError = async (output, context) => {
|
|
310
310
|
const parsedOutput = {
|
|
@@ -324,10 +324,9 @@ const de_AddTagsCommandError = async (output, context) => {
|
|
|
324
324
|
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
325
325
|
default:
|
|
326
326
|
const parsedBody = parsedOutput.body;
|
|
327
|
-
throwDefaultError({
|
|
327
|
+
return throwDefaultError({
|
|
328
328
|
output,
|
|
329
329
|
parsedBody: parsedBody.Error,
|
|
330
|
-
exceptionCtor: __BaseException,
|
|
331
330
|
errorCode,
|
|
332
331
|
});
|
|
333
332
|
}
|
|
@@ -343,7 +342,7 @@ export const de_ApplySecurityGroupsToLoadBalancerCommand = async (output, contex
|
|
|
343
342
|
$metadata: deserializeMetadata(output),
|
|
344
343
|
...contents,
|
|
345
344
|
};
|
|
346
|
-
return
|
|
345
|
+
return response;
|
|
347
346
|
};
|
|
348
347
|
const de_ApplySecurityGroupsToLoadBalancerCommandError = async (output, context) => {
|
|
349
348
|
const parsedOutput = {
|
|
@@ -363,10 +362,9 @@ const de_ApplySecurityGroupsToLoadBalancerCommandError = async (output, context)
|
|
|
363
362
|
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
364
363
|
default:
|
|
365
364
|
const parsedBody = parsedOutput.body;
|
|
366
|
-
throwDefaultError({
|
|
365
|
+
return throwDefaultError({
|
|
367
366
|
output,
|
|
368
367
|
parsedBody: parsedBody.Error,
|
|
369
|
-
exceptionCtor: __BaseException,
|
|
370
368
|
errorCode,
|
|
371
369
|
});
|
|
372
370
|
}
|
|
@@ -382,7 +380,7 @@ export const de_AttachLoadBalancerToSubnetsCommand = async (output, context) =>
|
|
|
382
380
|
$metadata: deserializeMetadata(output),
|
|
383
381
|
...contents,
|
|
384
382
|
};
|
|
385
|
-
return
|
|
383
|
+
return response;
|
|
386
384
|
};
|
|
387
385
|
const de_AttachLoadBalancerToSubnetsCommandError = async (output, context) => {
|
|
388
386
|
const parsedOutput = {
|
|
@@ -405,10 +403,9 @@ const de_AttachLoadBalancerToSubnetsCommandError = async (output, context) => {
|
|
|
405
403
|
throw await de_SubnetNotFoundExceptionRes(parsedOutput, context);
|
|
406
404
|
default:
|
|
407
405
|
const parsedBody = parsedOutput.body;
|
|
408
|
-
throwDefaultError({
|
|
406
|
+
return throwDefaultError({
|
|
409
407
|
output,
|
|
410
408
|
parsedBody: parsedBody.Error,
|
|
411
|
-
exceptionCtor: __BaseException,
|
|
412
409
|
errorCode,
|
|
413
410
|
});
|
|
414
411
|
}
|
|
@@ -424,7 +421,7 @@ export const de_ConfigureHealthCheckCommand = async (output, context) => {
|
|
|
424
421
|
$metadata: deserializeMetadata(output),
|
|
425
422
|
...contents,
|
|
426
423
|
};
|
|
427
|
-
return
|
|
424
|
+
return response;
|
|
428
425
|
};
|
|
429
426
|
const de_ConfigureHealthCheckCommandError = async (output, context) => {
|
|
430
427
|
const parsedOutput = {
|
|
@@ -438,10 +435,9 @@ const de_ConfigureHealthCheckCommandError = async (output, context) => {
|
|
|
438
435
|
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
439
436
|
default:
|
|
440
437
|
const parsedBody = parsedOutput.body;
|
|
441
|
-
throwDefaultError({
|
|
438
|
+
return throwDefaultError({
|
|
442
439
|
output,
|
|
443
440
|
parsedBody: parsedBody.Error,
|
|
444
|
-
exceptionCtor: __BaseException,
|
|
445
441
|
errorCode,
|
|
446
442
|
});
|
|
447
443
|
}
|
|
@@ -457,7 +453,7 @@ export const de_CreateAppCookieStickinessPolicyCommand = async (output, context)
|
|
|
457
453
|
$metadata: deserializeMetadata(output),
|
|
458
454
|
...contents,
|
|
459
455
|
};
|
|
460
|
-
return
|
|
456
|
+
return response;
|
|
461
457
|
};
|
|
462
458
|
const de_CreateAppCookieStickinessPolicyCommandError = async (output, context) => {
|
|
463
459
|
const parsedOutput = {
|
|
@@ -480,10 +476,9 @@ const de_CreateAppCookieStickinessPolicyCommandError = async (output, context) =
|
|
|
480
476
|
throw await de_TooManyPoliciesExceptionRes(parsedOutput, context);
|
|
481
477
|
default:
|
|
482
478
|
const parsedBody = parsedOutput.body;
|
|
483
|
-
throwDefaultError({
|
|
479
|
+
return throwDefaultError({
|
|
484
480
|
output,
|
|
485
481
|
parsedBody: parsedBody.Error,
|
|
486
|
-
exceptionCtor: __BaseException,
|
|
487
482
|
errorCode,
|
|
488
483
|
});
|
|
489
484
|
}
|
|
@@ -499,7 +494,7 @@ export const de_CreateLBCookieStickinessPolicyCommand = async (output, context)
|
|
|
499
494
|
$metadata: deserializeMetadata(output),
|
|
500
495
|
...contents,
|
|
501
496
|
};
|
|
502
|
-
return
|
|
497
|
+
return response;
|
|
503
498
|
};
|
|
504
499
|
const de_CreateLBCookieStickinessPolicyCommandError = async (output, context) => {
|
|
505
500
|
const parsedOutput = {
|
|
@@ -522,10 +517,9 @@ const de_CreateLBCookieStickinessPolicyCommandError = async (output, context) =>
|
|
|
522
517
|
throw await de_TooManyPoliciesExceptionRes(parsedOutput, context);
|
|
523
518
|
default:
|
|
524
519
|
const parsedBody = parsedOutput.body;
|
|
525
|
-
throwDefaultError({
|
|
520
|
+
return throwDefaultError({
|
|
526
521
|
output,
|
|
527
522
|
parsedBody: parsedBody.Error,
|
|
528
|
-
exceptionCtor: __BaseException,
|
|
529
523
|
errorCode,
|
|
530
524
|
});
|
|
531
525
|
}
|
|
@@ -541,7 +535,7 @@ export const de_CreateLoadBalancerCommand = async (output, context) => {
|
|
|
541
535
|
$metadata: deserializeMetadata(output),
|
|
542
536
|
...contents,
|
|
543
537
|
};
|
|
544
|
-
return
|
|
538
|
+
return response;
|
|
545
539
|
};
|
|
546
540
|
const de_CreateLoadBalancerCommandError = async (output, context) => {
|
|
547
541
|
const parsedOutput = {
|
|
@@ -588,10 +582,9 @@ const de_CreateLoadBalancerCommandError = async (output, context) => {
|
|
|
588
582
|
throw await de_UnsupportedProtocolExceptionRes(parsedOutput, context);
|
|
589
583
|
default:
|
|
590
584
|
const parsedBody = parsedOutput.body;
|
|
591
|
-
throwDefaultError({
|
|
585
|
+
return throwDefaultError({
|
|
592
586
|
output,
|
|
593
587
|
parsedBody: parsedBody.Error,
|
|
594
|
-
exceptionCtor: __BaseException,
|
|
595
588
|
errorCode,
|
|
596
589
|
});
|
|
597
590
|
}
|
|
@@ -607,7 +600,7 @@ export const de_CreateLoadBalancerListenersCommand = async (output, context) =>
|
|
|
607
600
|
$metadata: deserializeMetadata(output),
|
|
608
601
|
...contents,
|
|
609
602
|
};
|
|
610
|
-
return
|
|
603
|
+
return response;
|
|
611
604
|
};
|
|
612
605
|
const de_CreateLoadBalancerListenersCommandError = async (output, context) => {
|
|
613
606
|
const parsedOutput = {
|
|
@@ -633,10 +626,9 @@ const de_CreateLoadBalancerListenersCommandError = async (output, context) => {
|
|
|
633
626
|
throw await de_UnsupportedProtocolExceptionRes(parsedOutput, context);
|
|
634
627
|
default:
|
|
635
628
|
const parsedBody = parsedOutput.body;
|
|
636
|
-
throwDefaultError({
|
|
629
|
+
return throwDefaultError({
|
|
637
630
|
output,
|
|
638
631
|
parsedBody: parsedBody.Error,
|
|
639
|
-
exceptionCtor: __BaseException,
|
|
640
632
|
errorCode,
|
|
641
633
|
});
|
|
642
634
|
}
|
|
@@ -652,7 +644,7 @@ export const de_CreateLoadBalancerPolicyCommand = async (output, context) => {
|
|
|
652
644
|
$metadata: deserializeMetadata(output),
|
|
653
645
|
...contents,
|
|
654
646
|
};
|
|
655
|
-
return
|
|
647
|
+
return response;
|
|
656
648
|
};
|
|
657
649
|
const de_CreateLoadBalancerPolicyCommandError = async (output, context) => {
|
|
658
650
|
const parsedOutput = {
|
|
@@ -678,10 +670,9 @@ const de_CreateLoadBalancerPolicyCommandError = async (output, context) => {
|
|
|
678
670
|
throw await de_TooManyPoliciesExceptionRes(parsedOutput, context);
|
|
679
671
|
default:
|
|
680
672
|
const parsedBody = parsedOutput.body;
|
|
681
|
-
throwDefaultError({
|
|
673
|
+
return throwDefaultError({
|
|
682
674
|
output,
|
|
683
675
|
parsedBody: parsedBody.Error,
|
|
684
|
-
exceptionCtor: __BaseException,
|
|
685
676
|
errorCode,
|
|
686
677
|
});
|
|
687
678
|
}
|
|
@@ -697,7 +688,7 @@ export const de_DeleteLoadBalancerCommand = async (output, context) => {
|
|
|
697
688
|
$metadata: deserializeMetadata(output),
|
|
698
689
|
...contents,
|
|
699
690
|
};
|
|
700
|
-
return
|
|
691
|
+
return response;
|
|
701
692
|
};
|
|
702
693
|
const de_DeleteLoadBalancerCommandError = async (output, context) => {
|
|
703
694
|
const parsedOutput = {
|
|
@@ -706,10 +697,9 @@ const de_DeleteLoadBalancerCommandError = async (output, context) => {
|
|
|
706
697
|
};
|
|
707
698
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
708
699
|
const parsedBody = parsedOutput.body;
|
|
709
|
-
throwDefaultError({
|
|
700
|
+
return throwDefaultError({
|
|
710
701
|
output,
|
|
711
702
|
parsedBody: parsedBody.Error,
|
|
712
|
-
exceptionCtor: __BaseException,
|
|
713
703
|
errorCode,
|
|
714
704
|
});
|
|
715
705
|
};
|
|
@@ -724,7 +714,7 @@ export const de_DeleteLoadBalancerListenersCommand = async (output, context) =>
|
|
|
724
714
|
$metadata: deserializeMetadata(output),
|
|
725
715
|
...contents,
|
|
726
716
|
};
|
|
727
|
-
return
|
|
717
|
+
return response;
|
|
728
718
|
};
|
|
729
719
|
const de_DeleteLoadBalancerListenersCommandError = async (output, context) => {
|
|
730
720
|
const parsedOutput = {
|
|
@@ -738,10 +728,9 @@ const de_DeleteLoadBalancerListenersCommandError = async (output, context) => {
|
|
|
738
728
|
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
739
729
|
default:
|
|
740
730
|
const parsedBody = parsedOutput.body;
|
|
741
|
-
throwDefaultError({
|
|
731
|
+
return throwDefaultError({
|
|
742
732
|
output,
|
|
743
733
|
parsedBody: parsedBody.Error,
|
|
744
|
-
exceptionCtor: __BaseException,
|
|
745
734
|
errorCode,
|
|
746
735
|
});
|
|
747
736
|
}
|
|
@@ -757,7 +746,7 @@ export const de_DeleteLoadBalancerPolicyCommand = async (output, context) => {
|
|
|
757
746
|
$metadata: deserializeMetadata(output),
|
|
758
747
|
...contents,
|
|
759
748
|
};
|
|
760
|
-
return
|
|
749
|
+
return response;
|
|
761
750
|
};
|
|
762
751
|
const de_DeleteLoadBalancerPolicyCommandError = async (output, context) => {
|
|
763
752
|
const parsedOutput = {
|
|
@@ -774,10 +763,9 @@ const de_DeleteLoadBalancerPolicyCommandError = async (output, context) => {
|
|
|
774
763
|
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
775
764
|
default:
|
|
776
765
|
const parsedBody = parsedOutput.body;
|
|
777
|
-
throwDefaultError({
|
|
766
|
+
return throwDefaultError({
|
|
778
767
|
output,
|
|
779
768
|
parsedBody: parsedBody.Error,
|
|
780
|
-
exceptionCtor: __BaseException,
|
|
781
769
|
errorCode,
|
|
782
770
|
});
|
|
783
771
|
}
|
|
@@ -793,7 +781,7 @@ export const de_DeregisterInstancesFromLoadBalancerCommand = async (output, cont
|
|
|
793
781
|
$metadata: deserializeMetadata(output),
|
|
794
782
|
...contents,
|
|
795
783
|
};
|
|
796
|
-
return
|
|
784
|
+
return response;
|
|
797
785
|
};
|
|
798
786
|
const de_DeregisterInstancesFromLoadBalancerCommandError = async (output, context) => {
|
|
799
787
|
const parsedOutput = {
|
|
@@ -810,10 +798,9 @@ const de_DeregisterInstancesFromLoadBalancerCommandError = async (output, contex
|
|
|
810
798
|
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
811
799
|
default:
|
|
812
800
|
const parsedBody = parsedOutput.body;
|
|
813
|
-
throwDefaultError({
|
|
801
|
+
return throwDefaultError({
|
|
814
802
|
output,
|
|
815
803
|
parsedBody: parsedBody.Error,
|
|
816
|
-
exceptionCtor: __BaseException,
|
|
817
804
|
errorCode,
|
|
818
805
|
});
|
|
819
806
|
}
|
|
@@ -829,7 +816,7 @@ export const de_DescribeAccountLimitsCommand = async (output, context) => {
|
|
|
829
816
|
$metadata: deserializeMetadata(output),
|
|
830
817
|
...contents,
|
|
831
818
|
};
|
|
832
|
-
return
|
|
819
|
+
return response;
|
|
833
820
|
};
|
|
834
821
|
const de_DescribeAccountLimitsCommandError = async (output, context) => {
|
|
835
822
|
const parsedOutput = {
|
|
@@ -838,10 +825,9 @@ const de_DescribeAccountLimitsCommandError = async (output, context) => {
|
|
|
838
825
|
};
|
|
839
826
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
840
827
|
const parsedBody = parsedOutput.body;
|
|
841
|
-
throwDefaultError({
|
|
828
|
+
return throwDefaultError({
|
|
842
829
|
output,
|
|
843
830
|
parsedBody: parsedBody.Error,
|
|
844
|
-
exceptionCtor: __BaseException,
|
|
845
831
|
errorCode,
|
|
846
832
|
});
|
|
847
833
|
};
|
|
@@ -856,7 +842,7 @@ export const de_DescribeInstanceHealthCommand = async (output, context) => {
|
|
|
856
842
|
$metadata: deserializeMetadata(output),
|
|
857
843
|
...contents,
|
|
858
844
|
};
|
|
859
|
-
return
|
|
845
|
+
return response;
|
|
860
846
|
};
|
|
861
847
|
const de_DescribeInstanceHealthCommandError = async (output, context) => {
|
|
862
848
|
const parsedOutput = {
|
|
@@ -873,10 +859,9 @@ const de_DescribeInstanceHealthCommandError = async (output, context) => {
|
|
|
873
859
|
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
874
860
|
default:
|
|
875
861
|
const parsedBody = parsedOutput.body;
|
|
876
|
-
throwDefaultError({
|
|
862
|
+
return throwDefaultError({
|
|
877
863
|
output,
|
|
878
864
|
parsedBody: parsedBody.Error,
|
|
879
|
-
exceptionCtor: __BaseException,
|
|
880
865
|
errorCode,
|
|
881
866
|
});
|
|
882
867
|
}
|
|
@@ -892,7 +877,7 @@ export const de_DescribeLoadBalancerAttributesCommand = async (output, context)
|
|
|
892
877
|
$metadata: deserializeMetadata(output),
|
|
893
878
|
...contents,
|
|
894
879
|
};
|
|
895
|
-
return
|
|
880
|
+
return response;
|
|
896
881
|
};
|
|
897
882
|
const de_DescribeLoadBalancerAttributesCommandError = async (output, context) => {
|
|
898
883
|
const parsedOutput = {
|
|
@@ -909,10 +894,9 @@ const de_DescribeLoadBalancerAttributesCommandError = async (output, context) =>
|
|
|
909
894
|
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
910
895
|
default:
|
|
911
896
|
const parsedBody = parsedOutput.body;
|
|
912
|
-
throwDefaultError({
|
|
897
|
+
return throwDefaultError({
|
|
913
898
|
output,
|
|
914
899
|
parsedBody: parsedBody.Error,
|
|
915
|
-
exceptionCtor: __BaseException,
|
|
916
900
|
errorCode,
|
|
917
901
|
});
|
|
918
902
|
}
|
|
@@ -928,7 +912,7 @@ export const de_DescribeLoadBalancerPoliciesCommand = async (output, context) =>
|
|
|
928
912
|
$metadata: deserializeMetadata(output),
|
|
929
913
|
...contents,
|
|
930
914
|
};
|
|
931
|
-
return
|
|
915
|
+
return response;
|
|
932
916
|
};
|
|
933
917
|
const de_DescribeLoadBalancerPoliciesCommandError = async (output, context) => {
|
|
934
918
|
const parsedOutput = {
|
|
@@ -945,10 +929,9 @@ const de_DescribeLoadBalancerPoliciesCommandError = async (output, context) => {
|
|
|
945
929
|
throw await de_PolicyNotFoundExceptionRes(parsedOutput, context);
|
|
946
930
|
default:
|
|
947
931
|
const parsedBody = parsedOutput.body;
|
|
948
|
-
throwDefaultError({
|
|
932
|
+
return throwDefaultError({
|
|
949
933
|
output,
|
|
950
934
|
parsedBody: parsedBody.Error,
|
|
951
|
-
exceptionCtor: __BaseException,
|
|
952
935
|
errorCode,
|
|
953
936
|
});
|
|
954
937
|
}
|
|
@@ -964,7 +947,7 @@ export const de_DescribeLoadBalancerPolicyTypesCommand = async (output, context)
|
|
|
964
947
|
$metadata: deserializeMetadata(output),
|
|
965
948
|
...contents,
|
|
966
949
|
};
|
|
967
|
-
return
|
|
950
|
+
return response;
|
|
968
951
|
};
|
|
969
952
|
const de_DescribeLoadBalancerPolicyTypesCommandError = async (output, context) => {
|
|
970
953
|
const parsedOutput = {
|
|
@@ -978,10 +961,9 @@ const de_DescribeLoadBalancerPolicyTypesCommandError = async (output, context) =
|
|
|
978
961
|
throw await de_PolicyTypeNotFoundExceptionRes(parsedOutput, context);
|
|
979
962
|
default:
|
|
980
963
|
const parsedBody = parsedOutput.body;
|
|
981
|
-
throwDefaultError({
|
|
964
|
+
return throwDefaultError({
|
|
982
965
|
output,
|
|
983
966
|
parsedBody: parsedBody.Error,
|
|
984
|
-
exceptionCtor: __BaseException,
|
|
985
967
|
errorCode,
|
|
986
968
|
});
|
|
987
969
|
}
|
|
@@ -997,7 +979,7 @@ export const de_DescribeLoadBalancersCommand = async (output, context) => {
|
|
|
997
979
|
$metadata: deserializeMetadata(output),
|
|
998
980
|
...contents,
|
|
999
981
|
};
|
|
1000
|
-
return
|
|
982
|
+
return response;
|
|
1001
983
|
};
|
|
1002
984
|
const de_DescribeLoadBalancersCommandError = async (output, context) => {
|
|
1003
985
|
const parsedOutput = {
|
|
@@ -1014,10 +996,9 @@ const de_DescribeLoadBalancersCommandError = async (output, context) => {
|
|
|
1014
996
|
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
1015
997
|
default:
|
|
1016
998
|
const parsedBody = parsedOutput.body;
|
|
1017
|
-
throwDefaultError({
|
|
999
|
+
return throwDefaultError({
|
|
1018
1000
|
output,
|
|
1019
1001
|
parsedBody: parsedBody.Error,
|
|
1020
|
-
exceptionCtor: __BaseException,
|
|
1021
1002
|
errorCode,
|
|
1022
1003
|
});
|
|
1023
1004
|
}
|
|
@@ -1033,7 +1014,7 @@ export const de_DescribeTagsCommand = async (output, context) => {
|
|
|
1033
1014
|
$metadata: deserializeMetadata(output),
|
|
1034
1015
|
...contents,
|
|
1035
1016
|
};
|
|
1036
|
-
return
|
|
1017
|
+
return response;
|
|
1037
1018
|
};
|
|
1038
1019
|
const de_DescribeTagsCommandError = async (output, context) => {
|
|
1039
1020
|
const parsedOutput = {
|
|
@@ -1047,10 +1028,9 @@ const de_DescribeTagsCommandError = async (output, context) => {
|
|
|
1047
1028
|
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
1048
1029
|
default:
|
|
1049
1030
|
const parsedBody = parsedOutput.body;
|
|
1050
|
-
throwDefaultError({
|
|
1031
|
+
return throwDefaultError({
|
|
1051
1032
|
output,
|
|
1052
1033
|
parsedBody: parsedBody.Error,
|
|
1053
|
-
exceptionCtor: __BaseException,
|
|
1054
1034
|
errorCode,
|
|
1055
1035
|
});
|
|
1056
1036
|
}
|
|
@@ -1066,7 +1046,7 @@ export const de_DetachLoadBalancerFromSubnetsCommand = async (output, context) =
|
|
|
1066
1046
|
$metadata: deserializeMetadata(output),
|
|
1067
1047
|
...contents,
|
|
1068
1048
|
};
|
|
1069
|
-
return
|
|
1049
|
+
return response;
|
|
1070
1050
|
};
|
|
1071
1051
|
const de_DetachLoadBalancerFromSubnetsCommandError = async (output, context) => {
|
|
1072
1052
|
const parsedOutput = {
|
|
@@ -1083,10 +1063,9 @@ const de_DetachLoadBalancerFromSubnetsCommandError = async (output, context) =>
|
|
|
1083
1063
|
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
1084
1064
|
default:
|
|
1085
1065
|
const parsedBody = parsedOutput.body;
|
|
1086
|
-
throwDefaultError({
|
|
1066
|
+
return throwDefaultError({
|
|
1087
1067
|
output,
|
|
1088
1068
|
parsedBody: parsedBody.Error,
|
|
1089
|
-
exceptionCtor: __BaseException,
|
|
1090
1069
|
errorCode,
|
|
1091
1070
|
});
|
|
1092
1071
|
}
|
|
@@ -1102,7 +1081,7 @@ export const de_DisableAvailabilityZonesForLoadBalancerCommand = async (output,
|
|
|
1102
1081
|
$metadata: deserializeMetadata(output),
|
|
1103
1082
|
...contents,
|
|
1104
1083
|
};
|
|
1105
|
-
return
|
|
1084
|
+
return response;
|
|
1106
1085
|
};
|
|
1107
1086
|
const de_DisableAvailabilityZonesForLoadBalancerCommandError = async (output, context) => {
|
|
1108
1087
|
const parsedOutput = {
|
|
@@ -1119,10 +1098,9 @@ const de_DisableAvailabilityZonesForLoadBalancerCommandError = async (output, co
|
|
|
1119
1098
|
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
1120
1099
|
default:
|
|
1121
1100
|
const parsedBody = parsedOutput.body;
|
|
1122
|
-
throwDefaultError({
|
|
1101
|
+
return throwDefaultError({
|
|
1123
1102
|
output,
|
|
1124
1103
|
parsedBody: parsedBody.Error,
|
|
1125
|
-
exceptionCtor: __BaseException,
|
|
1126
1104
|
errorCode,
|
|
1127
1105
|
});
|
|
1128
1106
|
}
|
|
@@ -1138,7 +1116,7 @@ export const de_EnableAvailabilityZonesForLoadBalancerCommand = async (output, c
|
|
|
1138
1116
|
$metadata: deserializeMetadata(output),
|
|
1139
1117
|
...contents,
|
|
1140
1118
|
};
|
|
1141
|
-
return
|
|
1119
|
+
return response;
|
|
1142
1120
|
};
|
|
1143
1121
|
const de_EnableAvailabilityZonesForLoadBalancerCommandError = async (output, context) => {
|
|
1144
1122
|
const parsedOutput = {
|
|
@@ -1152,10 +1130,9 @@ const de_EnableAvailabilityZonesForLoadBalancerCommandError = async (output, con
|
|
|
1152
1130
|
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
1153
1131
|
default:
|
|
1154
1132
|
const parsedBody = parsedOutput.body;
|
|
1155
|
-
throwDefaultError({
|
|
1133
|
+
return throwDefaultError({
|
|
1156
1134
|
output,
|
|
1157
1135
|
parsedBody: parsedBody.Error,
|
|
1158
|
-
exceptionCtor: __BaseException,
|
|
1159
1136
|
errorCode,
|
|
1160
1137
|
});
|
|
1161
1138
|
}
|
|
@@ -1171,7 +1148,7 @@ export const de_ModifyLoadBalancerAttributesCommand = async (output, context) =>
|
|
|
1171
1148
|
$metadata: deserializeMetadata(output),
|
|
1172
1149
|
...contents,
|
|
1173
1150
|
};
|
|
1174
|
-
return
|
|
1151
|
+
return response;
|
|
1175
1152
|
};
|
|
1176
1153
|
const de_ModifyLoadBalancerAttributesCommandError = async (output, context) => {
|
|
1177
1154
|
const parsedOutput = {
|
|
@@ -1191,10 +1168,9 @@ const de_ModifyLoadBalancerAttributesCommandError = async (output, context) => {
|
|
|
1191
1168
|
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
1192
1169
|
default:
|
|
1193
1170
|
const parsedBody = parsedOutput.body;
|
|
1194
|
-
throwDefaultError({
|
|
1171
|
+
return throwDefaultError({
|
|
1195
1172
|
output,
|
|
1196
1173
|
parsedBody: parsedBody.Error,
|
|
1197
|
-
exceptionCtor: __BaseException,
|
|
1198
1174
|
errorCode,
|
|
1199
1175
|
});
|
|
1200
1176
|
}
|
|
@@ -1210,7 +1186,7 @@ export const de_RegisterInstancesWithLoadBalancerCommand = async (output, contex
|
|
|
1210
1186
|
$metadata: deserializeMetadata(output),
|
|
1211
1187
|
...contents,
|
|
1212
1188
|
};
|
|
1213
|
-
return
|
|
1189
|
+
return response;
|
|
1214
1190
|
};
|
|
1215
1191
|
const de_RegisterInstancesWithLoadBalancerCommandError = async (output, context) => {
|
|
1216
1192
|
const parsedOutput = {
|
|
@@ -1227,10 +1203,9 @@ const de_RegisterInstancesWithLoadBalancerCommandError = async (output, context)
|
|
|
1227
1203
|
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
1228
1204
|
default:
|
|
1229
1205
|
const parsedBody = parsedOutput.body;
|
|
1230
|
-
throwDefaultError({
|
|
1206
|
+
return throwDefaultError({
|
|
1231
1207
|
output,
|
|
1232
1208
|
parsedBody: parsedBody.Error,
|
|
1233
|
-
exceptionCtor: __BaseException,
|
|
1234
1209
|
errorCode,
|
|
1235
1210
|
});
|
|
1236
1211
|
}
|
|
@@ -1246,7 +1221,7 @@ export const de_RemoveTagsCommand = async (output, context) => {
|
|
|
1246
1221
|
$metadata: deserializeMetadata(output),
|
|
1247
1222
|
...contents,
|
|
1248
1223
|
};
|
|
1249
|
-
return
|
|
1224
|
+
return response;
|
|
1250
1225
|
};
|
|
1251
1226
|
const de_RemoveTagsCommandError = async (output, context) => {
|
|
1252
1227
|
const parsedOutput = {
|
|
@@ -1260,10 +1235,9 @@ const de_RemoveTagsCommandError = async (output, context) => {
|
|
|
1260
1235
|
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
1261
1236
|
default:
|
|
1262
1237
|
const parsedBody = parsedOutput.body;
|
|
1263
|
-
throwDefaultError({
|
|
1238
|
+
return throwDefaultError({
|
|
1264
1239
|
output,
|
|
1265
1240
|
parsedBody: parsedBody.Error,
|
|
1266
|
-
exceptionCtor: __BaseException,
|
|
1267
1241
|
errorCode,
|
|
1268
1242
|
});
|
|
1269
1243
|
}
|
|
@@ -1279,7 +1253,7 @@ export const de_SetLoadBalancerListenerSSLCertificateCommand = async (output, co
|
|
|
1279
1253
|
$metadata: deserializeMetadata(output),
|
|
1280
1254
|
...contents,
|
|
1281
1255
|
};
|
|
1282
|
-
return
|
|
1256
|
+
return response;
|
|
1283
1257
|
};
|
|
1284
1258
|
const de_SetLoadBalancerListenerSSLCertificateCommandError = async (output, context) => {
|
|
1285
1259
|
const parsedOutput = {
|
|
@@ -1305,10 +1279,9 @@ const de_SetLoadBalancerListenerSSLCertificateCommandError = async (output, cont
|
|
|
1305
1279
|
throw await de_UnsupportedProtocolExceptionRes(parsedOutput, context);
|
|
1306
1280
|
default:
|
|
1307
1281
|
const parsedBody = parsedOutput.body;
|
|
1308
|
-
throwDefaultError({
|
|
1282
|
+
return throwDefaultError({
|
|
1309
1283
|
output,
|
|
1310
1284
|
parsedBody: parsedBody.Error,
|
|
1311
|
-
exceptionCtor: __BaseException,
|
|
1312
1285
|
errorCode,
|
|
1313
1286
|
});
|
|
1314
1287
|
}
|
|
@@ -1324,7 +1297,7 @@ export const de_SetLoadBalancerPoliciesForBackendServerCommand = async (output,
|
|
|
1324
1297
|
$metadata: deserializeMetadata(output),
|
|
1325
1298
|
...contents,
|
|
1326
1299
|
};
|
|
1327
|
-
return
|
|
1300
|
+
return response;
|
|
1328
1301
|
};
|
|
1329
1302
|
const de_SetLoadBalancerPoliciesForBackendServerCommandError = async (output, context) => {
|
|
1330
1303
|
const parsedOutput = {
|
|
@@ -1344,10 +1317,9 @@ const de_SetLoadBalancerPoliciesForBackendServerCommandError = async (output, co
|
|
|
1344
1317
|
throw await de_PolicyNotFoundExceptionRes(parsedOutput, context);
|
|
1345
1318
|
default:
|
|
1346
1319
|
const parsedBody = parsedOutput.body;
|
|
1347
|
-
throwDefaultError({
|
|
1320
|
+
return throwDefaultError({
|
|
1348
1321
|
output,
|
|
1349
1322
|
parsedBody: parsedBody.Error,
|
|
1350
|
-
exceptionCtor: __BaseException,
|
|
1351
1323
|
errorCode,
|
|
1352
1324
|
});
|
|
1353
1325
|
}
|
|
@@ -1363,7 +1335,7 @@ export const de_SetLoadBalancerPoliciesOfListenerCommand = async (output, contex
|
|
|
1363
1335
|
$metadata: deserializeMetadata(output),
|
|
1364
1336
|
...contents,
|
|
1365
1337
|
};
|
|
1366
|
-
return
|
|
1338
|
+
return response;
|
|
1367
1339
|
};
|
|
1368
1340
|
const de_SetLoadBalancerPoliciesOfListenerCommandError = async (output, context) => {
|
|
1369
1341
|
const parsedOutput = {
|
|
@@ -1386,10 +1358,9 @@ const de_SetLoadBalancerPoliciesOfListenerCommandError = async (output, context)
|
|
|
1386
1358
|
throw await de_PolicyNotFoundExceptionRes(parsedOutput, context);
|
|
1387
1359
|
default:
|
|
1388
1360
|
const parsedBody = parsedOutput.body;
|
|
1389
|
-
throwDefaultError({
|
|
1361
|
+
return throwDefaultError({
|
|
1390
1362
|
output,
|
|
1391
1363
|
parsedBody: parsedBody.Error,
|
|
1392
|
-
exceptionCtor: __BaseException,
|
|
1393
1364
|
errorCode,
|
|
1394
1365
|
});
|
|
1395
1366
|
}
|
|
@@ -3346,6 +3317,7 @@ const collectBody = (streamBody = new Uint8Array(), context) => {
|
|
|
3346
3317
|
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
3347
3318
|
};
|
|
3348
3319
|
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
3320
|
+
const throwDefaultError = withBaseException(__BaseException);
|
|
3349
3321
|
const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
|
|
3350
3322
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
3351
3323
|
const contents = {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-elastic-load-balancing",
|
|
3
3
|
"description": "AWS SDK for JavaScript Elastic Load Balancing Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.315.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.315.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.310.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.315.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.310.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.310.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.310.0",
|
|
@@ -40,14 +40,14 @@
|
|
|
40
40
|
"@aws-sdk/node-config-provider": "3.310.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.310.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.310.0",
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
+
"@aws-sdk/smithy-client": "3.315.0",
|
|
44
44
|
"@aws-sdk/types": "3.310.0",
|
|
45
45
|
"@aws-sdk/url-parser": "3.310.0",
|
|
46
46
|
"@aws-sdk/util-base64": "3.310.0",
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.310.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.315.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.315.0",
|
|
51
51
|
"@aws-sdk/util-endpoints": "3.310.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.310.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.310.0",
|