@aws-sdk/client-rds-data 3.504.0 → 3.507.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +14 -268
- package/dist-es/protocols/Aws_restJson1.js +13 -267
- package/package.json +3 -3
package/dist-cjs/index.js
CHANGED
|
@@ -629,7 +629,7 @@ var se_RollbackTransactionCommand = /* @__PURE__ */ __name(async (input, context
|
|
|
629
629
|
}, "se_RollbackTransactionCommand");
|
|
630
630
|
var de_BatchExecuteStatementCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
631
631
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
632
|
-
return
|
|
632
|
+
return de_CommandError(output, context);
|
|
633
633
|
}
|
|
634
634
|
const contents = (0, import_smithy_client.map)({
|
|
635
635
|
$metadata: deserializeMetadata(output)
|
|
@@ -641,64 +641,9 @@ var de_BatchExecuteStatementCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
641
641
|
Object.assign(contents, doc);
|
|
642
642
|
return contents;
|
|
643
643
|
}, "de_BatchExecuteStatementCommand");
|
|
644
|
-
var de_BatchExecuteStatementCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
645
|
-
const parsedOutput = {
|
|
646
|
-
...output,
|
|
647
|
-
body: await parseErrorBody(output.body, context)
|
|
648
|
-
};
|
|
649
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
650
|
-
switch (errorCode) {
|
|
651
|
-
case "AccessDeniedException":
|
|
652
|
-
case "com.amazonaws.rdsdata#AccessDeniedException":
|
|
653
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
654
|
-
case "BadRequestException":
|
|
655
|
-
case "com.amazonaws.rdsdata#BadRequestException":
|
|
656
|
-
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
657
|
-
case "DatabaseErrorException":
|
|
658
|
-
case "com.amazonaws.rdsdata#DatabaseErrorException":
|
|
659
|
-
throw await de_DatabaseErrorExceptionRes(parsedOutput, context);
|
|
660
|
-
case "DatabaseNotFoundException":
|
|
661
|
-
case "com.amazonaws.rdsdata#DatabaseNotFoundException":
|
|
662
|
-
throw await de_DatabaseNotFoundExceptionRes(parsedOutput, context);
|
|
663
|
-
case "DatabaseUnavailableException":
|
|
664
|
-
case "com.amazonaws.rdsdata#DatabaseUnavailableException":
|
|
665
|
-
throw await de_DatabaseUnavailableExceptionRes(parsedOutput, context);
|
|
666
|
-
case "ForbiddenException":
|
|
667
|
-
case "com.amazonaws.rdsdata#ForbiddenException":
|
|
668
|
-
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
669
|
-
case "HttpEndpointNotEnabledException":
|
|
670
|
-
case "com.amazonaws.rdsdata#HttpEndpointNotEnabledException":
|
|
671
|
-
throw await de_HttpEndpointNotEnabledExceptionRes(parsedOutput, context);
|
|
672
|
-
case "InternalServerErrorException":
|
|
673
|
-
case "com.amazonaws.rdsdata#InternalServerErrorException":
|
|
674
|
-
throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
|
|
675
|
-
case "InvalidSecretException":
|
|
676
|
-
case "com.amazonaws.rdsdata#InvalidSecretException":
|
|
677
|
-
throw await de_InvalidSecretExceptionRes(parsedOutput, context);
|
|
678
|
-
case "SecretsErrorException":
|
|
679
|
-
case "com.amazonaws.rdsdata#SecretsErrorException":
|
|
680
|
-
throw await de_SecretsErrorExceptionRes(parsedOutput, context);
|
|
681
|
-
case "ServiceUnavailableError":
|
|
682
|
-
case "com.amazonaws.rdsdata#ServiceUnavailableError":
|
|
683
|
-
throw await de_ServiceUnavailableErrorRes(parsedOutput, context);
|
|
684
|
-
case "StatementTimeoutException":
|
|
685
|
-
case "com.amazonaws.rdsdata#StatementTimeoutException":
|
|
686
|
-
throw await de_StatementTimeoutExceptionRes(parsedOutput, context);
|
|
687
|
-
case "TransactionNotFoundException":
|
|
688
|
-
case "com.amazonaws.rdsdata#TransactionNotFoundException":
|
|
689
|
-
throw await de_TransactionNotFoundExceptionRes(parsedOutput, context);
|
|
690
|
-
default:
|
|
691
|
-
const parsedBody = parsedOutput.body;
|
|
692
|
-
return throwDefaultError({
|
|
693
|
-
output,
|
|
694
|
-
parsedBody,
|
|
695
|
-
errorCode
|
|
696
|
-
});
|
|
697
|
-
}
|
|
698
|
-
}, "de_BatchExecuteStatementCommandError");
|
|
699
644
|
var de_BeginTransactionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
700
645
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
701
|
-
return
|
|
646
|
+
return de_CommandError(output, context);
|
|
702
647
|
}
|
|
703
648
|
const contents = (0, import_smithy_client.map)({
|
|
704
649
|
$metadata: deserializeMetadata(output)
|
|
@@ -710,64 +655,9 @@ var de_BeginTransactionCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
710
655
|
Object.assign(contents, doc);
|
|
711
656
|
return contents;
|
|
712
657
|
}, "de_BeginTransactionCommand");
|
|
713
|
-
var de_BeginTransactionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
714
|
-
const parsedOutput = {
|
|
715
|
-
...output,
|
|
716
|
-
body: await parseErrorBody(output.body, context)
|
|
717
|
-
};
|
|
718
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
719
|
-
switch (errorCode) {
|
|
720
|
-
case "AccessDeniedException":
|
|
721
|
-
case "com.amazonaws.rdsdata#AccessDeniedException":
|
|
722
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
723
|
-
case "BadRequestException":
|
|
724
|
-
case "com.amazonaws.rdsdata#BadRequestException":
|
|
725
|
-
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
726
|
-
case "DatabaseErrorException":
|
|
727
|
-
case "com.amazonaws.rdsdata#DatabaseErrorException":
|
|
728
|
-
throw await de_DatabaseErrorExceptionRes(parsedOutput, context);
|
|
729
|
-
case "DatabaseNotFoundException":
|
|
730
|
-
case "com.amazonaws.rdsdata#DatabaseNotFoundException":
|
|
731
|
-
throw await de_DatabaseNotFoundExceptionRes(parsedOutput, context);
|
|
732
|
-
case "DatabaseUnavailableException":
|
|
733
|
-
case "com.amazonaws.rdsdata#DatabaseUnavailableException":
|
|
734
|
-
throw await de_DatabaseUnavailableExceptionRes(parsedOutput, context);
|
|
735
|
-
case "ForbiddenException":
|
|
736
|
-
case "com.amazonaws.rdsdata#ForbiddenException":
|
|
737
|
-
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
738
|
-
case "HttpEndpointNotEnabledException":
|
|
739
|
-
case "com.amazonaws.rdsdata#HttpEndpointNotEnabledException":
|
|
740
|
-
throw await de_HttpEndpointNotEnabledExceptionRes(parsedOutput, context);
|
|
741
|
-
case "InternalServerErrorException":
|
|
742
|
-
case "com.amazonaws.rdsdata#InternalServerErrorException":
|
|
743
|
-
throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
|
|
744
|
-
case "InvalidSecretException":
|
|
745
|
-
case "com.amazonaws.rdsdata#InvalidSecretException":
|
|
746
|
-
throw await de_InvalidSecretExceptionRes(parsedOutput, context);
|
|
747
|
-
case "SecretsErrorException":
|
|
748
|
-
case "com.amazonaws.rdsdata#SecretsErrorException":
|
|
749
|
-
throw await de_SecretsErrorExceptionRes(parsedOutput, context);
|
|
750
|
-
case "ServiceUnavailableError":
|
|
751
|
-
case "com.amazonaws.rdsdata#ServiceUnavailableError":
|
|
752
|
-
throw await de_ServiceUnavailableErrorRes(parsedOutput, context);
|
|
753
|
-
case "StatementTimeoutException":
|
|
754
|
-
case "com.amazonaws.rdsdata#StatementTimeoutException":
|
|
755
|
-
throw await de_StatementTimeoutExceptionRes(parsedOutput, context);
|
|
756
|
-
case "TransactionNotFoundException":
|
|
757
|
-
case "com.amazonaws.rdsdata#TransactionNotFoundException":
|
|
758
|
-
throw await de_TransactionNotFoundExceptionRes(parsedOutput, context);
|
|
759
|
-
default:
|
|
760
|
-
const parsedBody = parsedOutput.body;
|
|
761
|
-
return throwDefaultError({
|
|
762
|
-
output,
|
|
763
|
-
parsedBody,
|
|
764
|
-
errorCode
|
|
765
|
-
});
|
|
766
|
-
}
|
|
767
|
-
}, "de_BeginTransactionCommandError");
|
|
768
658
|
var de_CommitTransactionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
769
659
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
770
|
-
return
|
|
660
|
+
return de_CommandError(output, context);
|
|
771
661
|
}
|
|
772
662
|
const contents = (0, import_smithy_client.map)({
|
|
773
663
|
$metadata: deserializeMetadata(output)
|
|
@@ -779,67 +669,9 @@ var de_CommitTransactionCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
779
669
|
Object.assign(contents, doc);
|
|
780
670
|
return contents;
|
|
781
671
|
}, "de_CommitTransactionCommand");
|
|
782
|
-
var de_CommitTransactionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
783
|
-
const parsedOutput = {
|
|
784
|
-
...output,
|
|
785
|
-
body: await parseErrorBody(output.body, context)
|
|
786
|
-
};
|
|
787
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
788
|
-
switch (errorCode) {
|
|
789
|
-
case "AccessDeniedException":
|
|
790
|
-
case "com.amazonaws.rdsdata#AccessDeniedException":
|
|
791
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
792
|
-
case "BadRequestException":
|
|
793
|
-
case "com.amazonaws.rdsdata#BadRequestException":
|
|
794
|
-
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
795
|
-
case "DatabaseErrorException":
|
|
796
|
-
case "com.amazonaws.rdsdata#DatabaseErrorException":
|
|
797
|
-
throw await de_DatabaseErrorExceptionRes(parsedOutput, context);
|
|
798
|
-
case "DatabaseNotFoundException":
|
|
799
|
-
case "com.amazonaws.rdsdata#DatabaseNotFoundException":
|
|
800
|
-
throw await de_DatabaseNotFoundExceptionRes(parsedOutput, context);
|
|
801
|
-
case "DatabaseUnavailableException":
|
|
802
|
-
case "com.amazonaws.rdsdata#DatabaseUnavailableException":
|
|
803
|
-
throw await de_DatabaseUnavailableExceptionRes(parsedOutput, context);
|
|
804
|
-
case "ForbiddenException":
|
|
805
|
-
case "com.amazonaws.rdsdata#ForbiddenException":
|
|
806
|
-
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
807
|
-
case "HttpEndpointNotEnabledException":
|
|
808
|
-
case "com.amazonaws.rdsdata#HttpEndpointNotEnabledException":
|
|
809
|
-
throw await de_HttpEndpointNotEnabledExceptionRes(parsedOutput, context);
|
|
810
|
-
case "InternalServerErrorException":
|
|
811
|
-
case "com.amazonaws.rdsdata#InternalServerErrorException":
|
|
812
|
-
throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
|
|
813
|
-
case "InvalidSecretException":
|
|
814
|
-
case "com.amazonaws.rdsdata#InvalidSecretException":
|
|
815
|
-
throw await de_InvalidSecretExceptionRes(parsedOutput, context);
|
|
816
|
-
case "NotFoundException":
|
|
817
|
-
case "com.amazonaws.rdsdata#NotFoundException":
|
|
818
|
-
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
819
|
-
case "SecretsErrorException":
|
|
820
|
-
case "com.amazonaws.rdsdata#SecretsErrorException":
|
|
821
|
-
throw await de_SecretsErrorExceptionRes(parsedOutput, context);
|
|
822
|
-
case "ServiceUnavailableError":
|
|
823
|
-
case "com.amazonaws.rdsdata#ServiceUnavailableError":
|
|
824
|
-
throw await de_ServiceUnavailableErrorRes(parsedOutput, context);
|
|
825
|
-
case "StatementTimeoutException":
|
|
826
|
-
case "com.amazonaws.rdsdata#StatementTimeoutException":
|
|
827
|
-
throw await de_StatementTimeoutExceptionRes(parsedOutput, context);
|
|
828
|
-
case "TransactionNotFoundException":
|
|
829
|
-
case "com.amazonaws.rdsdata#TransactionNotFoundException":
|
|
830
|
-
throw await de_TransactionNotFoundExceptionRes(parsedOutput, context);
|
|
831
|
-
default:
|
|
832
|
-
const parsedBody = parsedOutput.body;
|
|
833
|
-
return throwDefaultError({
|
|
834
|
-
output,
|
|
835
|
-
parsedBody,
|
|
836
|
-
errorCode
|
|
837
|
-
});
|
|
838
|
-
}
|
|
839
|
-
}, "de_CommitTransactionCommandError");
|
|
840
672
|
var de_ExecuteSqlCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
841
673
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
842
|
-
return
|
|
674
|
+
return de_CommandError(output, context);
|
|
843
675
|
}
|
|
844
676
|
const contents = (0, import_smithy_client.map)({
|
|
845
677
|
$metadata: deserializeMetadata(output)
|
|
@@ -851,40 +683,9 @@ var de_ExecuteSqlCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
851
683
|
Object.assign(contents, doc);
|
|
852
684
|
return contents;
|
|
853
685
|
}, "de_ExecuteSqlCommand");
|
|
854
|
-
var de_ExecuteSqlCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
855
|
-
const parsedOutput = {
|
|
856
|
-
...output,
|
|
857
|
-
body: await parseErrorBody(output.body, context)
|
|
858
|
-
};
|
|
859
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
860
|
-
switch (errorCode) {
|
|
861
|
-
case "AccessDeniedException":
|
|
862
|
-
case "com.amazonaws.rdsdata#AccessDeniedException":
|
|
863
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
864
|
-
case "BadRequestException":
|
|
865
|
-
case "com.amazonaws.rdsdata#BadRequestException":
|
|
866
|
-
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
867
|
-
case "ForbiddenException":
|
|
868
|
-
case "com.amazonaws.rdsdata#ForbiddenException":
|
|
869
|
-
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
870
|
-
case "InternalServerErrorException":
|
|
871
|
-
case "com.amazonaws.rdsdata#InternalServerErrorException":
|
|
872
|
-
throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
|
|
873
|
-
case "ServiceUnavailableError":
|
|
874
|
-
case "com.amazonaws.rdsdata#ServiceUnavailableError":
|
|
875
|
-
throw await de_ServiceUnavailableErrorRes(parsedOutput, context);
|
|
876
|
-
default:
|
|
877
|
-
const parsedBody = parsedOutput.body;
|
|
878
|
-
return throwDefaultError({
|
|
879
|
-
output,
|
|
880
|
-
parsedBody,
|
|
881
|
-
errorCode
|
|
882
|
-
});
|
|
883
|
-
}
|
|
884
|
-
}, "de_ExecuteSqlCommandError");
|
|
885
686
|
var de_ExecuteStatementCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
886
687
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
887
|
-
return
|
|
688
|
+
return de_CommandError(output, context);
|
|
888
689
|
}
|
|
889
690
|
const contents = (0, import_smithy_client.map)({
|
|
890
691
|
$metadata: deserializeMetadata(output)
|
|
@@ -900,67 +701,9 @@ var de_ExecuteStatementCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
900
701
|
Object.assign(contents, doc);
|
|
901
702
|
return contents;
|
|
902
703
|
}, "de_ExecuteStatementCommand");
|
|
903
|
-
var de_ExecuteStatementCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
904
|
-
const parsedOutput = {
|
|
905
|
-
...output,
|
|
906
|
-
body: await parseErrorBody(output.body, context)
|
|
907
|
-
};
|
|
908
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
909
|
-
switch (errorCode) {
|
|
910
|
-
case "AccessDeniedException":
|
|
911
|
-
case "com.amazonaws.rdsdata#AccessDeniedException":
|
|
912
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
913
|
-
case "BadRequestException":
|
|
914
|
-
case "com.amazonaws.rdsdata#BadRequestException":
|
|
915
|
-
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
916
|
-
case "DatabaseErrorException":
|
|
917
|
-
case "com.amazonaws.rdsdata#DatabaseErrorException":
|
|
918
|
-
throw await de_DatabaseErrorExceptionRes(parsedOutput, context);
|
|
919
|
-
case "DatabaseNotFoundException":
|
|
920
|
-
case "com.amazonaws.rdsdata#DatabaseNotFoundException":
|
|
921
|
-
throw await de_DatabaseNotFoundExceptionRes(parsedOutput, context);
|
|
922
|
-
case "DatabaseUnavailableException":
|
|
923
|
-
case "com.amazonaws.rdsdata#DatabaseUnavailableException":
|
|
924
|
-
throw await de_DatabaseUnavailableExceptionRes(parsedOutput, context);
|
|
925
|
-
case "ForbiddenException":
|
|
926
|
-
case "com.amazonaws.rdsdata#ForbiddenException":
|
|
927
|
-
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
928
|
-
case "HttpEndpointNotEnabledException":
|
|
929
|
-
case "com.amazonaws.rdsdata#HttpEndpointNotEnabledException":
|
|
930
|
-
throw await de_HttpEndpointNotEnabledExceptionRes(parsedOutput, context);
|
|
931
|
-
case "InternalServerErrorException":
|
|
932
|
-
case "com.amazonaws.rdsdata#InternalServerErrorException":
|
|
933
|
-
throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
|
|
934
|
-
case "InvalidSecretException":
|
|
935
|
-
case "com.amazonaws.rdsdata#InvalidSecretException":
|
|
936
|
-
throw await de_InvalidSecretExceptionRes(parsedOutput, context);
|
|
937
|
-
case "SecretsErrorException":
|
|
938
|
-
case "com.amazonaws.rdsdata#SecretsErrorException":
|
|
939
|
-
throw await de_SecretsErrorExceptionRes(parsedOutput, context);
|
|
940
|
-
case "ServiceUnavailableError":
|
|
941
|
-
case "com.amazonaws.rdsdata#ServiceUnavailableError":
|
|
942
|
-
throw await de_ServiceUnavailableErrorRes(parsedOutput, context);
|
|
943
|
-
case "StatementTimeoutException":
|
|
944
|
-
case "com.amazonaws.rdsdata#StatementTimeoutException":
|
|
945
|
-
throw await de_StatementTimeoutExceptionRes(parsedOutput, context);
|
|
946
|
-
case "TransactionNotFoundException":
|
|
947
|
-
case "com.amazonaws.rdsdata#TransactionNotFoundException":
|
|
948
|
-
throw await de_TransactionNotFoundExceptionRes(parsedOutput, context);
|
|
949
|
-
case "UnsupportedResultException":
|
|
950
|
-
case "com.amazonaws.rdsdata#UnsupportedResultException":
|
|
951
|
-
throw await de_UnsupportedResultExceptionRes(parsedOutput, context);
|
|
952
|
-
default:
|
|
953
|
-
const parsedBody = parsedOutput.body;
|
|
954
|
-
return throwDefaultError({
|
|
955
|
-
output,
|
|
956
|
-
parsedBody,
|
|
957
|
-
errorCode
|
|
958
|
-
});
|
|
959
|
-
}
|
|
960
|
-
}, "de_ExecuteStatementCommandError");
|
|
961
704
|
var de_RollbackTransactionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
962
705
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
963
|
-
return
|
|
706
|
+
return de_CommandError(output, context);
|
|
964
707
|
}
|
|
965
708
|
const contents = (0, import_smithy_client.map)({
|
|
966
709
|
$metadata: deserializeMetadata(output)
|
|
@@ -972,7 +715,7 @@ var de_RollbackTransactionCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
972
715
|
Object.assign(contents, doc);
|
|
973
716
|
return contents;
|
|
974
717
|
}, "de_RollbackTransactionCommand");
|
|
975
|
-
var
|
|
718
|
+
var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
976
719
|
const parsedOutput = {
|
|
977
720
|
...output,
|
|
978
721
|
body: await parseErrorBody(output.body, context)
|
|
@@ -1006,9 +749,6 @@ var de_RollbackTransactionCommandError = /* @__PURE__ */ __name(async (output, c
|
|
|
1006
749
|
case "InvalidSecretException":
|
|
1007
750
|
case "com.amazonaws.rdsdata#InvalidSecretException":
|
|
1008
751
|
throw await de_InvalidSecretExceptionRes(parsedOutput, context);
|
|
1009
|
-
case "NotFoundException":
|
|
1010
|
-
case "com.amazonaws.rdsdata#NotFoundException":
|
|
1011
|
-
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1012
752
|
case "SecretsErrorException":
|
|
1013
753
|
case "com.amazonaws.rdsdata#SecretsErrorException":
|
|
1014
754
|
throw await de_SecretsErrorExceptionRes(parsedOutput, context);
|
|
@@ -1021,6 +761,12 @@ var de_RollbackTransactionCommandError = /* @__PURE__ */ __name(async (output, c
|
|
|
1021
761
|
case "TransactionNotFoundException":
|
|
1022
762
|
case "com.amazonaws.rdsdata#TransactionNotFoundException":
|
|
1023
763
|
throw await de_TransactionNotFoundExceptionRes(parsedOutput, context);
|
|
764
|
+
case "NotFoundException":
|
|
765
|
+
case "com.amazonaws.rdsdata#NotFoundException":
|
|
766
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
767
|
+
case "UnsupportedResultException":
|
|
768
|
+
case "com.amazonaws.rdsdata#UnsupportedResultException":
|
|
769
|
+
throw await de_UnsupportedResultExceptionRes(parsedOutput, context);
|
|
1024
770
|
default:
|
|
1025
771
|
const parsedBody = parsedOutput.body;
|
|
1026
772
|
return throwDefaultError({
|
|
@@ -1029,7 +775,7 @@ var de_RollbackTransactionCommandError = /* @__PURE__ */ __name(async (output, c
|
|
|
1029
775
|
errorCode
|
|
1030
776
|
});
|
|
1031
777
|
}
|
|
1032
|
-
}, "
|
|
778
|
+
}, "de_CommandError");
|
|
1033
779
|
var throwDefaultError = (0, import_smithy_client.withBaseException)(RDSDataServiceException);
|
|
1034
780
|
var de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1035
781
|
const contents = (0, import_smithy_client.map)({});
|
|
@@ -110,7 +110,7 @@ export const se_RollbackTransactionCommand = async (input, context) => {
|
|
|
110
110
|
};
|
|
111
111
|
export const de_BatchExecuteStatementCommand = async (output, context) => {
|
|
112
112
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
113
|
-
return
|
|
113
|
+
return de_CommandError(output, context);
|
|
114
114
|
}
|
|
115
115
|
const contents = map({
|
|
116
116
|
$metadata: deserializeMetadata(output),
|
|
@@ -122,64 +122,9 @@ export const de_BatchExecuteStatementCommand = async (output, context) => {
|
|
|
122
122
|
Object.assign(contents, doc);
|
|
123
123
|
return contents;
|
|
124
124
|
};
|
|
125
|
-
const de_BatchExecuteStatementCommandError = async (output, context) => {
|
|
126
|
-
const parsedOutput = {
|
|
127
|
-
...output,
|
|
128
|
-
body: await parseErrorBody(output.body, context),
|
|
129
|
-
};
|
|
130
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
131
|
-
switch (errorCode) {
|
|
132
|
-
case "AccessDeniedException":
|
|
133
|
-
case "com.amazonaws.rdsdata#AccessDeniedException":
|
|
134
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
135
|
-
case "BadRequestException":
|
|
136
|
-
case "com.amazonaws.rdsdata#BadRequestException":
|
|
137
|
-
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
138
|
-
case "DatabaseErrorException":
|
|
139
|
-
case "com.amazonaws.rdsdata#DatabaseErrorException":
|
|
140
|
-
throw await de_DatabaseErrorExceptionRes(parsedOutput, context);
|
|
141
|
-
case "DatabaseNotFoundException":
|
|
142
|
-
case "com.amazonaws.rdsdata#DatabaseNotFoundException":
|
|
143
|
-
throw await de_DatabaseNotFoundExceptionRes(parsedOutput, context);
|
|
144
|
-
case "DatabaseUnavailableException":
|
|
145
|
-
case "com.amazonaws.rdsdata#DatabaseUnavailableException":
|
|
146
|
-
throw await de_DatabaseUnavailableExceptionRes(parsedOutput, context);
|
|
147
|
-
case "ForbiddenException":
|
|
148
|
-
case "com.amazonaws.rdsdata#ForbiddenException":
|
|
149
|
-
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
150
|
-
case "HttpEndpointNotEnabledException":
|
|
151
|
-
case "com.amazonaws.rdsdata#HttpEndpointNotEnabledException":
|
|
152
|
-
throw await de_HttpEndpointNotEnabledExceptionRes(parsedOutput, context);
|
|
153
|
-
case "InternalServerErrorException":
|
|
154
|
-
case "com.amazonaws.rdsdata#InternalServerErrorException":
|
|
155
|
-
throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
|
|
156
|
-
case "InvalidSecretException":
|
|
157
|
-
case "com.amazonaws.rdsdata#InvalidSecretException":
|
|
158
|
-
throw await de_InvalidSecretExceptionRes(parsedOutput, context);
|
|
159
|
-
case "SecretsErrorException":
|
|
160
|
-
case "com.amazonaws.rdsdata#SecretsErrorException":
|
|
161
|
-
throw await de_SecretsErrorExceptionRes(parsedOutput, context);
|
|
162
|
-
case "ServiceUnavailableError":
|
|
163
|
-
case "com.amazonaws.rdsdata#ServiceUnavailableError":
|
|
164
|
-
throw await de_ServiceUnavailableErrorRes(parsedOutput, context);
|
|
165
|
-
case "StatementTimeoutException":
|
|
166
|
-
case "com.amazonaws.rdsdata#StatementTimeoutException":
|
|
167
|
-
throw await de_StatementTimeoutExceptionRes(parsedOutput, context);
|
|
168
|
-
case "TransactionNotFoundException":
|
|
169
|
-
case "com.amazonaws.rdsdata#TransactionNotFoundException":
|
|
170
|
-
throw await de_TransactionNotFoundExceptionRes(parsedOutput, context);
|
|
171
|
-
default:
|
|
172
|
-
const parsedBody = parsedOutput.body;
|
|
173
|
-
return throwDefaultError({
|
|
174
|
-
output,
|
|
175
|
-
parsedBody,
|
|
176
|
-
errorCode,
|
|
177
|
-
});
|
|
178
|
-
}
|
|
179
|
-
};
|
|
180
125
|
export const de_BeginTransactionCommand = async (output, context) => {
|
|
181
126
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
182
|
-
return
|
|
127
|
+
return de_CommandError(output, context);
|
|
183
128
|
}
|
|
184
129
|
const contents = map({
|
|
185
130
|
$metadata: deserializeMetadata(output),
|
|
@@ -191,64 +136,9 @@ export const de_BeginTransactionCommand = async (output, context) => {
|
|
|
191
136
|
Object.assign(contents, doc);
|
|
192
137
|
return contents;
|
|
193
138
|
};
|
|
194
|
-
const de_BeginTransactionCommandError = async (output, context) => {
|
|
195
|
-
const parsedOutput = {
|
|
196
|
-
...output,
|
|
197
|
-
body: await parseErrorBody(output.body, context),
|
|
198
|
-
};
|
|
199
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
200
|
-
switch (errorCode) {
|
|
201
|
-
case "AccessDeniedException":
|
|
202
|
-
case "com.amazonaws.rdsdata#AccessDeniedException":
|
|
203
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
204
|
-
case "BadRequestException":
|
|
205
|
-
case "com.amazonaws.rdsdata#BadRequestException":
|
|
206
|
-
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
207
|
-
case "DatabaseErrorException":
|
|
208
|
-
case "com.amazonaws.rdsdata#DatabaseErrorException":
|
|
209
|
-
throw await de_DatabaseErrorExceptionRes(parsedOutput, context);
|
|
210
|
-
case "DatabaseNotFoundException":
|
|
211
|
-
case "com.amazonaws.rdsdata#DatabaseNotFoundException":
|
|
212
|
-
throw await de_DatabaseNotFoundExceptionRes(parsedOutput, context);
|
|
213
|
-
case "DatabaseUnavailableException":
|
|
214
|
-
case "com.amazonaws.rdsdata#DatabaseUnavailableException":
|
|
215
|
-
throw await de_DatabaseUnavailableExceptionRes(parsedOutput, context);
|
|
216
|
-
case "ForbiddenException":
|
|
217
|
-
case "com.amazonaws.rdsdata#ForbiddenException":
|
|
218
|
-
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
219
|
-
case "HttpEndpointNotEnabledException":
|
|
220
|
-
case "com.amazonaws.rdsdata#HttpEndpointNotEnabledException":
|
|
221
|
-
throw await de_HttpEndpointNotEnabledExceptionRes(parsedOutput, context);
|
|
222
|
-
case "InternalServerErrorException":
|
|
223
|
-
case "com.amazonaws.rdsdata#InternalServerErrorException":
|
|
224
|
-
throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
|
|
225
|
-
case "InvalidSecretException":
|
|
226
|
-
case "com.amazonaws.rdsdata#InvalidSecretException":
|
|
227
|
-
throw await de_InvalidSecretExceptionRes(parsedOutput, context);
|
|
228
|
-
case "SecretsErrorException":
|
|
229
|
-
case "com.amazonaws.rdsdata#SecretsErrorException":
|
|
230
|
-
throw await de_SecretsErrorExceptionRes(parsedOutput, context);
|
|
231
|
-
case "ServiceUnavailableError":
|
|
232
|
-
case "com.amazonaws.rdsdata#ServiceUnavailableError":
|
|
233
|
-
throw await de_ServiceUnavailableErrorRes(parsedOutput, context);
|
|
234
|
-
case "StatementTimeoutException":
|
|
235
|
-
case "com.amazonaws.rdsdata#StatementTimeoutException":
|
|
236
|
-
throw await de_StatementTimeoutExceptionRes(parsedOutput, context);
|
|
237
|
-
case "TransactionNotFoundException":
|
|
238
|
-
case "com.amazonaws.rdsdata#TransactionNotFoundException":
|
|
239
|
-
throw await de_TransactionNotFoundExceptionRes(parsedOutput, context);
|
|
240
|
-
default:
|
|
241
|
-
const parsedBody = parsedOutput.body;
|
|
242
|
-
return throwDefaultError({
|
|
243
|
-
output,
|
|
244
|
-
parsedBody,
|
|
245
|
-
errorCode,
|
|
246
|
-
});
|
|
247
|
-
}
|
|
248
|
-
};
|
|
249
139
|
export const de_CommitTransactionCommand = async (output, context) => {
|
|
250
140
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
251
|
-
return
|
|
141
|
+
return de_CommandError(output, context);
|
|
252
142
|
}
|
|
253
143
|
const contents = map({
|
|
254
144
|
$metadata: deserializeMetadata(output),
|
|
@@ -260,67 +150,9 @@ export const de_CommitTransactionCommand = async (output, context) => {
|
|
|
260
150
|
Object.assign(contents, doc);
|
|
261
151
|
return contents;
|
|
262
152
|
};
|
|
263
|
-
const de_CommitTransactionCommandError = async (output, context) => {
|
|
264
|
-
const parsedOutput = {
|
|
265
|
-
...output,
|
|
266
|
-
body: await parseErrorBody(output.body, context),
|
|
267
|
-
};
|
|
268
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
269
|
-
switch (errorCode) {
|
|
270
|
-
case "AccessDeniedException":
|
|
271
|
-
case "com.amazonaws.rdsdata#AccessDeniedException":
|
|
272
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
273
|
-
case "BadRequestException":
|
|
274
|
-
case "com.amazonaws.rdsdata#BadRequestException":
|
|
275
|
-
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
276
|
-
case "DatabaseErrorException":
|
|
277
|
-
case "com.amazonaws.rdsdata#DatabaseErrorException":
|
|
278
|
-
throw await de_DatabaseErrorExceptionRes(parsedOutput, context);
|
|
279
|
-
case "DatabaseNotFoundException":
|
|
280
|
-
case "com.amazonaws.rdsdata#DatabaseNotFoundException":
|
|
281
|
-
throw await de_DatabaseNotFoundExceptionRes(parsedOutput, context);
|
|
282
|
-
case "DatabaseUnavailableException":
|
|
283
|
-
case "com.amazonaws.rdsdata#DatabaseUnavailableException":
|
|
284
|
-
throw await de_DatabaseUnavailableExceptionRes(parsedOutput, context);
|
|
285
|
-
case "ForbiddenException":
|
|
286
|
-
case "com.amazonaws.rdsdata#ForbiddenException":
|
|
287
|
-
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
288
|
-
case "HttpEndpointNotEnabledException":
|
|
289
|
-
case "com.amazonaws.rdsdata#HttpEndpointNotEnabledException":
|
|
290
|
-
throw await de_HttpEndpointNotEnabledExceptionRes(parsedOutput, context);
|
|
291
|
-
case "InternalServerErrorException":
|
|
292
|
-
case "com.amazonaws.rdsdata#InternalServerErrorException":
|
|
293
|
-
throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
|
|
294
|
-
case "InvalidSecretException":
|
|
295
|
-
case "com.amazonaws.rdsdata#InvalidSecretException":
|
|
296
|
-
throw await de_InvalidSecretExceptionRes(parsedOutput, context);
|
|
297
|
-
case "NotFoundException":
|
|
298
|
-
case "com.amazonaws.rdsdata#NotFoundException":
|
|
299
|
-
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
300
|
-
case "SecretsErrorException":
|
|
301
|
-
case "com.amazonaws.rdsdata#SecretsErrorException":
|
|
302
|
-
throw await de_SecretsErrorExceptionRes(parsedOutput, context);
|
|
303
|
-
case "ServiceUnavailableError":
|
|
304
|
-
case "com.amazonaws.rdsdata#ServiceUnavailableError":
|
|
305
|
-
throw await de_ServiceUnavailableErrorRes(parsedOutput, context);
|
|
306
|
-
case "StatementTimeoutException":
|
|
307
|
-
case "com.amazonaws.rdsdata#StatementTimeoutException":
|
|
308
|
-
throw await de_StatementTimeoutExceptionRes(parsedOutput, context);
|
|
309
|
-
case "TransactionNotFoundException":
|
|
310
|
-
case "com.amazonaws.rdsdata#TransactionNotFoundException":
|
|
311
|
-
throw await de_TransactionNotFoundExceptionRes(parsedOutput, context);
|
|
312
|
-
default:
|
|
313
|
-
const parsedBody = parsedOutput.body;
|
|
314
|
-
return throwDefaultError({
|
|
315
|
-
output,
|
|
316
|
-
parsedBody,
|
|
317
|
-
errorCode,
|
|
318
|
-
});
|
|
319
|
-
}
|
|
320
|
-
};
|
|
321
153
|
export const de_ExecuteSqlCommand = async (output, context) => {
|
|
322
154
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
323
|
-
return
|
|
155
|
+
return de_CommandError(output, context);
|
|
324
156
|
}
|
|
325
157
|
const contents = map({
|
|
326
158
|
$metadata: deserializeMetadata(output),
|
|
@@ -332,40 +164,9 @@ export const de_ExecuteSqlCommand = async (output, context) => {
|
|
|
332
164
|
Object.assign(contents, doc);
|
|
333
165
|
return contents;
|
|
334
166
|
};
|
|
335
|
-
const de_ExecuteSqlCommandError = async (output, context) => {
|
|
336
|
-
const parsedOutput = {
|
|
337
|
-
...output,
|
|
338
|
-
body: await parseErrorBody(output.body, context),
|
|
339
|
-
};
|
|
340
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
341
|
-
switch (errorCode) {
|
|
342
|
-
case "AccessDeniedException":
|
|
343
|
-
case "com.amazonaws.rdsdata#AccessDeniedException":
|
|
344
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
345
|
-
case "BadRequestException":
|
|
346
|
-
case "com.amazonaws.rdsdata#BadRequestException":
|
|
347
|
-
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
348
|
-
case "ForbiddenException":
|
|
349
|
-
case "com.amazonaws.rdsdata#ForbiddenException":
|
|
350
|
-
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
351
|
-
case "InternalServerErrorException":
|
|
352
|
-
case "com.amazonaws.rdsdata#InternalServerErrorException":
|
|
353
|
-
throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
|
|
354
|
-
case "ServiceUnavailableError":
|
|
355
|
-
case "com.amazonaws.rdsdata#ServiceUnavailableError":
|
|
356
|
-
throw await de_ServiceUnavailableErrorRes(parsedOutput, context);
|
|
357
|
-
default:
|
|
358
|
-
const parsedBody = parsedOutput.body;
|
|
359
|
-
return throwDefaultError({
|
|
360
|
-
output,
|
|
361
|
-
parsedBody,
|
|
362
|
-
errorCode,
|
|
363
|
-
});
|
|
364
|
-
}
|
|
365
|
-
};
|
|
366
167
|
export const de_ExecuteStatementCommand = async (output, context) => {
|
|
367
168
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
368
|
-
return
|
|
169
|
+
return de_CommandError(output, context);
|
|
369
170
|
}
|
|
370
171
|
const contents = map({
|
|
371
172
|
$metadata: deserializeMetadata(output),
|
|
@@ -381,67 +182,9 @@ export const de_ExecuteStatementCommand = async (output, context) => {
|
|
|
381
182
|
Object.assign(contents, doc);
|
|
382
183
|
return contents;
|
|
383
184
|
};
|
|
384
|
-
const de_ExecuteStatementCommandError = async (output, context) => {
|
|
385
|
-
const parsedOutput = {
|
|
386
|
-
...output,
|
|
387
|
-
body: await parseErrorBody(output.body, context),
|
|
388
|
-
};
|
|
389
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
390
|
-
switch (errorCode) {
|
|
391
|
-
case "AccessDeniedException":
|
|
392
|
-
case "com.amazonaws.rdsdata#AccessDeniedException":
|
|
393
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
394
|
-
case "BadRequestException":
|
|
395
|
-
case "com.amazonaws.rdsdata#BadRequestException":
|
|
396
|
-
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
397
|
-
case "DatabaseErrorException":
|
|
398
|
-
case "com.amazonaws.rdsdata#DatabaseErrorException":
|
|
399
|
-
throw await de_DatabaseErrorExceptionRes(parsedOutput, context);
|
|
400
|
-
case "DatabaseNotFoundException":
|
|
401
|
-
case "com.amazonaws.rdsdata#DatabaseNotFoundException":
|
|
402
|
-
throw await de_DatabaseNotFoundExceptionRes(parsedOutput, context);
|
|
403
|
-
case "DatabaseUnavailableException":
|
|
404
|
-
case "com.amazonaws.rdsdata#DatabaseUnavailableException":
|
|
405
|
-
throw await de_DatabaseUnavailableExceptionRes(parsedOutput, context);
|
|
406
|
-
case "ForbiddenException":
|
|
407
|
-
case "com.amazonaws.rdsdata#ForbiddenException":
|
|
408
|
-
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
409
|
-
case "HttpEndpointNotEnabledException":
|
|
410
|
-
case "com.amazonaws.rdsdata#HttpEndpointNotEnabledException":
|
|
411
|
-
throw await de_HttpEndpointNotEnabledExceptionRes(parsedOutput, context);
|
|
412
|
-
case "InternalServerErrorException":
|
|
413
|
-
case "com.amazonaws.rdsdata#InternalServerErrorException":
|
|
414
|
-
throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
|
|
415
|
-
case "InvalidSecretException":
|
|
416
|
-
case "com.amazonaws.rdsdata#InvalidSecretException":
|
|
417
|
-
throw await de_InvalidSecretExceptionRes(parsedOutput, context);
|
|
418
|
-
case "SecretsErrorException":
|
|
419
|
-
case "com.amazonaws.rdsdata#SecretsErrorException":
|
|
420
|
-
throw await de_SecretsErrorExceptionRes(parsedOutput, context);
|
|
421
|
-
case "ServiceUnavailableError":
|
|
422
|
-
case "com.amazonaws.rdsdata#ServiceUnavailableError":
|
|
423
|
-
throw await de_ServiceUnavailableErrorRes(parsedOutput, context);
|
|
424
|
-
case "StatementTimeoutException":
|
|
425
|
-
case "com.amazonaws.rdsdata#StatementTimeoutException":
|
|
426
|
-
throw await de_StatementTimeoutExceptionRes(parsedOutput, context);
|
|
427
|
-
case "TransactionNotFoundException":
|
|
428
|
-
case "com.amazonaws.rdsdata#TransactionNotFoundException":
|
|
429
|
-
throw await de_TransactionNotFoundExceptionRes(parsedOutput, context);
|
|
430
|
-
case "UnsupportedResultException":
|
|
431
|
-
case "com.amazonaws.rdsdata#UnsupportedResultException":
|
|
432
|
-
throw await de_UnsupportedResultExceptionRes(parsedOutput, context);
|
|
433
|
-
default:
|
|
434
|
-
const parsedBody = parsedOutput.body;
|
|
435
|
-
return throwDefaultError({
|
|
436
|
-
output,
|
|
437
|
-
parsedBody,
|
|
438
|
-
errorCode,
|
|
439
|
-
});
|
|
440
|
-
}
|
|
441
|
-
};
|
|
442
185
|
export const de_RollbackTransactionCommand = async (output, context) => {
|
|
443
186
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
444
|
-
return
|
|
187
|
+
return de_CommandError(output, context);
|
|
445
188
|
}
|
|
446
189
|
const contents = map({
|
|
447
190
|
$metadata: deserializeMetadata(output),
|
|
@@ -453,7 +196,7 @@ export const de_RollbackTransactionCommand = async (output, context) => {
|
|
|
453
196
|
Object.assign(contents, doc);
|
|
454
197
|
return contents;
|
|
455
198
|
};
|
|
456
|
-
const
|
|
199
|
+
const de_CommandError = async (output, context) => {
|
|
457
200
|
const parsedOutput = {
|
|
458
201
|
...output,
|
|
459
202
|
body: await parseErrorBody(output.body, context),
|
|
@@ -487,9 +230,6 @@ const de_RollbackTransactionCommandError = async (output, context) => {
|
|
|
487
230
|
case "InvalidSecretException":
|
|
488
231
|
case "com.amazonaws.rdsdata#InvalidSecretException":
|
|
489
232
|
throw await de_InvalidSecretExceptionRes(parsedOutput, context);
|
|
490
|
-
case "NotFoundException":
|
|
491
|
-
case "com.amazonaws.rdsdata#NotFoundException":
|
|
492
|
-
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
493
233
|
case "SecretsErrorException":
|
|
494
234
|
case "com.amazonaws.rdsdata#SecretsErrorException":
|
|
495
235
|
throw await de_SecretsErrorExceptionRes(parsedOutput, context);
|
|
@@ -502,6 +242,12 @@ const de_RollbackTransactionCommandError = async (output, context) => {
|
|
|
502
242
|
case "TransactionNotFoundException":
|
|
503
243
|
case "com.amazonaws.rdsdata#TransactionNotFoundException":
|
|
504
244
|
throw await de_TransactionNotFoundExceptionRes(parsedOutput, context);
|
|
245
|
+
case "NotFoundException":
|
|
246
|
+
case "com.amazonaws.rdsdata#NotFoundException":
|
|
247
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
248
|
+
case "UnsupportedResultException":
|
|
249
|
+
case "com.amazonaws.rdsdata#UnsupportedResultException":
|
|
250
|
+
throw await de_UnsupportedResultExceptionRes(parsedOutput, context);
|
|
505
251
|
default:
|
|
506
252
|
const parsedBody = parsedOutput.body;
|
|
507
253
|
return throwDefaultError({
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-rds-data",
|
|
3
3
|
"description": "AWS SDK for JavaScript Rds Data Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.507.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-rds-data",
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.507.0",
|
|
24
24
|
"@aws-sdk/core": "3.496.0",
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.507.0",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.502.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.502.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.502.0",
|