@aws-sdk/client-acm 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 +59 -418
- package/dist-es/protocols/Aws_json1_1.js +58 -417
- package/package.json +3 -3
package/dist-cjs/index.js
CHANGED
|
@@ -686,7 +686,7 @@ var se_UpdateCertificateOptionsCommand = /* @__PURE__ */ __name(async (input, co
|
|
|
686
686
|
}, "se_UpdateCertificateOptionsCommand");
|
|
687
687
|
var de_AddTagsToCertificateCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
688
688
|
if (output.statusCode >= 300) {
|
|
689
|
-
return
|
|
689
|
+
return de_CommandError(output, context);
|
|
690
690
|
}
|
|
691
691
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
692
692
|
const response = {
|
|
@@ -694,46 +694,9 @@ var de_AddTagsToCertificateCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
694
694
|
};
|
|
695
695
|
return response;
|
|
696
696
|
}, "de_AddTagsToCertificateCommand");
|
|
697
|
-
var de_AddTagsToCertificateCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
698
|
-
const parsedOutput = {
|
|
699
|
-
...output,
|
|
700
|
-
body: await parseErrorBody(output.body, context)
|
|
701
|
-
};
|
|
702
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
703
|
-
switch (errorCode) {
|
|
704
|
-
case "InvalidArnException":
|
|
705
|
-
case "com.amazonaws.acm#InvalidArnException":
|
|
706
|
-
throw await de_InvalidArnExceptionRes(parsedOutput, context);
|
|
707
|
-
case "InvalidParameterException":
|
|
708
|
-
case "com.amazonaws.acm#InvalidParameterException":
|
|
709
|
-
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
710
|
-
case "InvalidTagException":
|
|
711
|
-
case "com.amazonaws.acm#InvalidTagException":
|
|
712
|
-
throw await de_InvalidTagExceptionRes(parsedOutput, context);
|
|
713
|
-
case "ResourceNotFoundException":
|
|
714
|
-
case "com.amazonaws.acm#ResourceNotFoundException":
|
|
715
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
716
|
-
case "TagPolicyException":
|
|
717
|
-
case "com.amazonaws.acm#TagPolicyException":
|
|
718
|
-
throw await de_TagPolicyExceptionRes(parsedOutput, context);
|
|
719
|
-
case "ThrottlingException":
|
|
720
|
-
case "com.amazonaws.acm#ThrottlingException":
|
|
721
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
722
|
-
case "TooManyTagsException":
|
|
723
|
-
case "com.amazonaws.acm#TooManyTagsException":
|
|
724
|
-
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
725
|
-
default:
|
|
726
|
-
const parsedBody = parsedOutput.body;
|
|
727
|
-
return throwDefaultError({
|
|
728
|
-
output,
|
|
729
|
-
parsedBody,
|
|
730
|
-
errorCode
|
|
731
|
-
});
|
|
732
|
-
}
|
|
733
|
-
}, "de_AddTagsToCertificateCommandError");
|
|
734
697
|
var de_DeleteCertificateCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
735
698
|
if (output.statusCode >= 300) {
|
|
736
|
-
return
|
|
699
|
+
return de_CommandError(output, context);
|
|
737
700
|
}
|
|
738
701
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
739
702
|
const response = {
|
|
@@ -741,43 +704,9 @@ var de_DeleteCertificateCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
741
704
|
};
|
|
742
705
|
return response;
|
|
743
706
|
}, "de_DeleteCertificateCommand");
|
|
744
|
-
var de_DeleteCertificateCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
745
|
-
const parsedOutput = {
|
|
746
|
-
...output,
|
|
747
|
-
body: await parseErrorBody(output.body, context)
|
|
748
|
-
};
|
|
749
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
750
|
-
switch (errorCode) {
|
|
751
|
-
case "AccessDeniedException":
|
|
752
|
-
case "com.amazonaws.acm#AccessDeniedException":
|
|
753
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
754
|
-
case "ConflictException":
|
|
755
|
-
case "com.amazonaws.acm#ConflictException":
|
|
756
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
757
|
-
case "InvalidArnException":
|
|
758
|
-
case "com.amazonaws.acm#InvalidArnException":
|
|
759
|
-
throw await de_InvalidArnExceptionRes(parsedOutput, context);
|
|
760
|
-
case "ResourceInUseException":
|
|
761
|
-
case "com.amazonaws.acm#ResourceInUseException":
|
|
762
|
-
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
763
|
-
case "ResourceNotFoundException":
|
|
764
|
-
case "com.amazonaws.acm#ResourceNotFoundException":
|
|
765
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
766
|
-
case "ThrottlingException":
|
|
767
|
-
case "com.amazonaws.acm#ThrottlingException":
|
|
768
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
769
|
-
default:
|
|
770
|
-
const parsedBody = parsedOutput.body;
|
|
771
|
-
return throwDefaultError({
|
|
772
|
-
output,
|
|
773
|
-
parsedBody,
|
|
774
|
-
errorCode
|
|
775
|
-
});
|
|
776
|
-
}
|
|
777
|
-
}, "de_DeleteCertificateCommandError");
|
|
778
707
|
var de_DescribeCertificateCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
779
708
|
if (output.statusCode >= 300) {
|
|
780
|
-
return
|
|
709
|
+
return de_CommandError(output, context);
|
|
781
710
|
}
|
|
782
711
|
const data = await parseBody(output.body, context);
|
|
783
712
|
let contents = {};
|
|
@@ -788,31 +717,9 @@ var de_DescribeCertificateCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
788
717
|
};
|
|
789
718
|
return response;
|
|
790
719
|
}, "de_DescribeCertificateCommand");
|
|
791
|
-
var de_DescribeCertificateCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
792
|
-
const parsedOutput = {
|
|
793
|
-
...output,
|
|
794
|
-
body: await parseErrorBody(output.body, context)
|
|
795
|
-
};
|
|
796
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
797
|
-
switch (errorCode) {
|
|
798
|
-
case "InvalidArnException":
|
|
799
|
-
case "com.amazonaws.acm#InvalidArnException":
|
|
800
|
-
throw await de_InvalidArnExceptionRes(parsedOutput, context);
|
|
801
|
-
case "ResourceNotFoundException":
|
|
802
|
-
case "com.amazonaws.acm#ResourceNotFoundException":
|
|
803
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
804
|
-
default:
|
|
805
|
-
const parsedBody = parsedOutput.body;
|
|
806
|
-
return throwDefaultError({
|
|
807
|
-
output,
|
|
808
|
-
parsedBody,
|
|
809
|
-
errorCode
|
|
810
|
-
});
|
|
811
|
-
}
|
|
812
|
-
}, "de_DescribeCertificateCommandError");
|
|
813
720
|
var de_ExportCertificateCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
814
721
|
if (output.statusCode >= 300) {
|
|
815
|
-
return
|
|
722
|
+
return de_CommandError(output, context);
|
|
816
723
|
}
|
|
817
724
|
const data = await parseBody(output.body, context);
|
|
818
725
|
let contents = {};
|
|
@@ -823,34 +730,9 @@ var de_ExportCertificateCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
823
730
|
};
|
|
824
731
|
return response;
|
|
825
732
|
}, "de_ExportCertificateCommand");
|
|
826
|
-
var de_ExportCertificateCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
827
|
-
const parsedOutput = {
|
|
828
|
-
...output,
|
|
829
|
-
body: await parseErrorBody(output.body, context)
|
|
830
|
-
};
|
|
831
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
832
|
-
switch (errorCode) {
|
|
833
|
-
case "InvalidArnException":
|
|
834
|
-
case "com.amazonaws.acm#InvalidArnException":
|
|
835
|
-
throw await de_InvalidArnExceptionRes(parsedOutput, context);
|
|
836
|
-
case "RequestInProgressException":
|
|
837
|
-
case "com.amazonaws.acm#RequestInProgressException":
|
|
838
|
-
throw await de_RequestInProgressExceptionRes(parsedOutput, context);
|
|
839
|
-
case "ResourceNotFoundException":
|
|
840
|
-
case "com.amazonaws.acm#ResourceNotFoundException":
|
|
841
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
842
|
-
default:
|
|
843
|
-
const parsedBody = parsedOutput.body;
|
|
844
|
-
return throwDefaultError({
|
|
845
|
-
output,
|
|
846
|
-
parsedBody,
|
|
847
|
-
errorCode
|
|
848
|
-
});
|
|
849
|
-
}
|
|
850
|
-
}, "de_ExportCertificateCommandError");
|
|
851
733
|
var de_GetAccountConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
852
734
|
if (output.statusCode >= 300) {
|
|
853
|
-
return
|
|
735
|
+
return de_CommandError(output, context);
|
|
854
736
|
}
|
|
855
737
|
const data = await parseBody(output.body, context);
|
|
856
738
|
let contents = {};
|
|
@@ -861,31 +743,9 @@ var de_GetAccountConfigurationCommand = /* @__PURE__ */ __name(async (output, co
|
|
|
861
743
|
};
|
|
862
744
|
return response;
|
|
863
745
|
}, "de_GetAccountConfigurationCommand");
|
|
864
|
-
var de_GetAccountConfigurationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
865
|
-
const parsedOutput = {
|
|
866
|
-
...output,
|
|
867
|
-
body: await parseErrorBody(output.body, context)
|
|
868
|
-
};
|
|
869
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
870
|
-
switch (errorCode) {
|
|
871
|
-
case "AccessDeniedException":
|
|
872
|
-
case "com.amazonaws.acm#AccessDeniedException":
|
|
873
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
874
|
-
case "ThrottlingException":
|
|
875
|
-
case "com.amazonaws.acm#ThrottlingException":
|
|
876
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
877
|
-
default:
|
|
878
|
-
const parsedBody = parsedOutput.body;
|
|
879
|
-
return throwDefaultError({
|
|
880
|
-
output,
|
|
881
|
-
parsedBody,
|
|
882
|
-
errorCode
|
|
883
|
-
});
|
|
884
|
-
}
|
|
885
|
-
}, "de_GetAccountConfigurationCommandError");
|
|
886
746
|
var de_GetCertificateCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
887
747
|
if (output.statusCode >= 300) {
|
|
888
|
-
return
|
|
748
|
+
return de_CommandError(output, context);
|
|
889
749
|
}
|
|
890
750
|
const data = await parseBody(output.body, context);
|
|
891
751
|
let contents = {};
|
|
@@ -896,34 +756,9 @@ var de_GetCertificateCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
896
756
|
};
|
|
897
757
|
return response;
|
|
898
758
|
}, "de_GetCertificateCommand");
|
|
899
|
-
var de_GetCertificateCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
900
|
-
const parsedOutput = {
|
|
901
|
-
...output,
|
|
902
|
-
body: await parseErrorBody(output.body, context)
|
|
903
|
-
};
|
|
904
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
905
|
-
switch (errorCode) {
|
|
906
|
-
case "InvalidArnException":
|
|
907
|
-
case "com.amazonaws.acm#InvalidArnException":
|
|
908
|
-
throw await de_InvalidArnExceptionRes(parsedOutput, context);
|
|
909
|
-
case "RequestInProgressException":
|
|
910
|
-
case "com.amazonaws.acm#RequestInProgressException":
|
|
911
|
-
throw await de_RequestInProgressExceptionRes(parsedOutput, context);
|
|
912
|
-
case "ResourceNotFoundException":
|
|
913
|
-
case "com.amazonaws.acm#ResourceNotFoundException":
|
|
914
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
915
|
-
default:
|
|
916
|
-
const parsedBody = parsedOutput.body;
|
|
917
|
-
return throwDefaultError({
|
|
918
|
-
output,
|
|
919
|
-
parsedBody,
|
|
920
|
-
errorCode
|
|
921
|
-
});
|
|
922
|
-
}
|
|
923
|
-
}, "de_GetCertificateCommandError");
|
|
924
759
|
var de_ImportCertificateCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
925
760
|
if (output.statusCode >= 300) {
|
|
926
|
-
return
|
|
761
|
+
return de_CommandError(output, context);
|
|
927
762
|
}
|
|
928
763
|
const data = await parseBody(output.body, context);
|
|
929
764
|
let contents = {};
|
|
@@ -934,46 +769,9 @@ var de_ImportCertificateCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
934
769
|
};
|
|
935
770
|
return response;
|
|
936
771
|
}, "de_ImportCertificateCommand");
|
|
937
|
-
var de_ImportCertificateCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
938
|
-
const parsedOutput = {
|
|
939
|
-
...output,
|
|
940
|
-
body: await parseErrorBody(output.body, context)
|
|
941
|
-
};
|
|
942
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
943
|
-
switch (errorCode) {
|
|
944
|
-
case "InvalidArnException":
|
|
945
|
-
case "com.amazonaws.acm#InvalidArnException":
|
|
946
|
-
throw await de_InvalidArnExceptionRes(parsedOutput, context);
|
|
947
|
-
case "InvalidParameterException":
|
|
948
|
-
case "com.amazonaws.acm#InvalidParameterException":
|
|
949
|
-
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
950
|
-
case "InvalidTagException":
|
|
951
|
-
case "com.amazonaws.acm#InvalidTagException":
|
|
952
|
-
throw await de_InvalidTagExceptionRes(parsedOutput, context);
|
|
953
|
-
case "LimitExceededException":
|
|
954
|
-
case "com.amazonaws.acm#LimitExceededException":
|
|
955
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
956
|
-
case "ResourceNotFoundException":
|
|
957
|
-
case "com.amazonaws.acm#ResourceNotFoundException":
|
|
958
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
959
|
-
case "TagPolicyException":
|
|
960
|
-
case "com.amazonaws.acm#TagPolicyException":
|
|
961
|
-
throw await de_TagPolicyExceptionRes(parsedOutput, context);
|
|
962
|
-
case "TooManyTagsException":
|
|
963
|
-
case "com.amazonaws.acm#TooManyTagsException":
|
|
964
|
-
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
965
|
-
default:
|
|
966
|
-
const parsedBody = parsedOutput.body;
|
|
967
|
-
return throwDefaultError({
|
|
968
|
-
output,
|
|
969
|
-
parsedBody,
|
|
970
|
-
errorCode
|
|
971
|
-
});
|
|
972
|
-
}
|
|
973
|
-
}, "de_ImportCertificateCommandError");
|
|
974
772
|
var de_ListCertificatesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
975
773
|
if (output.statusCode >= 300) {
|
|
976
|
-
return
|
|
774
|
+
return de_CommandError(output, context);
|
|
977
775
|
}
|
|
978
776
|
const data = await parseBody(output.body, context);
|
|
979
777
|
let contents = {};
|
|
@@ -984,31 +782,9 @@ var de_ListCertificatesCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
984
782
|
};
|
|
985
783
|
return response;
|
|
986
784
|
}, "de_ListCertificatesCommand");
|
|
987
|
-
var de_ListCertificatesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
988
|
-
const parsedOutput = {
|
|
989
|
-
...output,
|
|
990
|
-
body: await parseErrorBody(output.body, context)
|
|
991
|
-
};
|
|
992
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
993
|
-
switch (errorCode) {
|
|
994
|
-
case "InvalidArgsException":
|
|
995
|
-
case "com.amazonaws.acm#InvalidArgsException":
|
|
996
|
-
throw await de_InvalidArgsExceptionRes(parsedOutput, context);
|
|
997
|
-
case "ValidationException":
|
|
998
|
-
case "com.amazonaws.acm#ValidationException":
|
|
999
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1000
|
-
default:
|
|
1001
|
-
const parsedBody = parsedOutput.body;
|
|
1002
|
-
return throwDefaultError({
|
|
1003
|
-
output,
|
|
1004
|
-
parsedBody,
|
|
1005
|
-
errorCode
|
|
1006
|
-
});
|
|
1007
|
-
}
|
|
1008
|
-
}, "de_ListCertificatesCommandError");
|
|
1009
785
|
var de_ListTagsForCertificateCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1010
786
|
if (output.statusCode >= 300) {
|
|
1011
|
-
return
|
|
787
|
+
return de_CommandError(output, context);
|
|
1012
788
|
}
|
|
1013
789
|
const data = await parseBody(output.body, context);
|
|
1014
790
|
let contents = {};
|
|
@@ -1019,31 +795,9 @@ var de_ListTagsForCertificateCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
1019
795
|
};
|
|
1020
796
|
return response;
|
|
1021
797
|
}, "de_ListTagsForCertificateCommand");
|
|
1022
|
-
var de_ListTagsForCertificateCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1023
|
-
const parsedOutput = {
|
|
1024
|
-
...output,
|
|
1025
|
-
body: await parseErrorBody(output.body, context)
|
|
1026
|
-
};
|
|
1027
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1028
|
-
switch (errorCode) {
|
|
1029
|
-
case "InvalidArnException":
|
|
1030
|
-
case "com.amazonaws.acm#InvalidArnException":
|
|
1031
|
-
throw await de_InvalidArnExceptionRes(parsedOutput, context);
|
|
1032
|
-
case "ResourceNotFoundException":
|
|
1033
|
-
case "com.amazonaws.acm#ResourceNotFoundException":
|
|
1034
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1035
|
-
default:
|
|
1036
|
-
const parsedBody = parsedOutput.body;
|
|
1037
|
-
return throwDefaultError({
|
|
1038
|
-
output,
|
|
1039
|
-
parsedBody,
|
|
1040
|
-
errorCode
|
|
1041
|
-
});
|
|
1042
|
-
}
|
|
1043
|
-
}, "de_ListTagsForCertificateCommandError");
|
|
1044
798
|
var de_PutAccountConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1045
799
|
if (output.statusCode >= 300) {
|
|
1046
|
-
return
|
|
800
|
+
return de_CommandError(output, context);
|
|
1047
801
|
}
|
|
1048
802
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1049
803
|
const response = {
|
|
@@ -1051,37 +805,9 @@ var de_PutAccountConfigurationCommand = /* @__PURE__ */ __name(async (output, co
|
|
|
1051
805
|
};
|
|
1052
806
|
return response;
|
|
1053
807
|
}, "de_PutAccountConfigurationCommand");
|
|
1054
|
-
var de_PutAccountConfigurationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1055
|
-
const parsedOutput = {
|
|
1056
|
-
...output,
|
|
1057
|
-
body: await parseErrorBody(output.body, context)
|
|
1058
|
-
};
|
|
1059
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1060
|
-
switch (errorCode) {
|
|
1061
|
-
case "AccessDeniedException":
|
|
1062
|
-
case "com.amazonaws.acm#AccessDeniedException":
|
|
1063
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1064
|
-
case "ConflictException":
|
|
1065
|
-
case "com.amazonaws.acm#ConflictException":
|
|
1066
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1067
|
-
case "ThrottlingException":
|
|
1068
|
-
case "com.amazonaws.acm#ThrottlingException":
|
|
1069
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1070
|
-
case "ValidationException":
|
|
1071
|
-
case "com.amazonaws.acm#ValidationException":
|
|
1072
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1073
|
-
default:
|
|
1074
|
-
const parsedBody = parsedOutput.body;
|
|
1075
|
-
return throwDefaultError({
|
|
1076
|
-
output,
|
|
1077
|
-
parsedBody,
|
|
1078
|
-
errorCode
|
|
1079
|
-
});
|
|
1080
|
-
}
|
|
1081
|
-
}, "de_PutAccountConfigurationCommandError");
|
|
1082
808
|
var de_RemoveTagsFromCertificateCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1083
809
|
if (output.statusCode >= 300) {
|
|
1084
|
-
return
|
|
810
|
+
return de_CommandError(output, context);
|
|
1085
811
|
}
|
|
1086
812
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1087
813
|
const response = {
|
|
@@ -1089,43 +815,9 @@ var de_RemoveTagsFromCertificateCommand = /* @__PURE__ */ __name(async (output,
|
|
|
1089
815
|
};
|
|
1090
816
|
return response;
|
|
1091
817
|
}, "de_RemoveTagsFromCertificateCommand");
|
|
1092
|
-
var de_RemoveTagsFromCertificateCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1093
|
-
const parsedOutput = {
|
|
1094
|
-
...output,
|
|
1095
|
-
body: await parseErrorBody(output.body, context)
|
|
1096
|
-
};
|
|
1097
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1098
|
-
switch (errorCode) {
|
|
1099
|
-
case "InvalidArnException":
|
|
1100
|
-
case "com.amazonaws.acm#InvalidArnException":
|
|
1101
|
-
throw await de_InvalidArnExceptionRes(parsedOutput, context);
|
|
1102
|
-
case "InvalidParameterException":
|
|
1103
|
-
case "com.amazonaws.acm#InvalidParameterException":
|
|
1104
|
-
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1105
|
-
case "InvalidTagException":
|
|
1106
|
-
case "com.amazonaws.acm#InvalidTagException":
|
|
1107
|
-
throw await de_InvalidTagExceptionRes(parsedOutput, context);
|
|
1108
|
-
case "ResourceNotFoundException":
|
|
1109
|
-
case "com.amazonaws.acm#ResourceNotFoundException":
|
|
1110
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1111
|
-
case "TagPolicyException":
|
|
1112
|
-
case "com.amazonaws.acm#TagPolicyException":
|
|
1113
|
-
throw await de_TagPolicyExceptionRes(parsedOutput, context);
|
|
1114
|
-
case "ThrottlingException":
|
|
1115
|
-
case "com.amazonaws.acm#ThrottlingException":
|
|
1116
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1117
|
-
default:
|
|
1118
|
-
const parsedBody = parsedOutput.body;
|
|
1119
|
-
return throwDefaultError({
|
|
1120
|
-
output,
|
|
1121
|
-
parsedBody,
|
|
1122
|
-
errorCode
|
|
1123
|
-
});
|
|
1124
|
-
}
|
|
1125
|
-
}, "de_RemoveTagsFromCertificateCommandError");
|
|
1126
818
|
var de_RenewCertificateCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1127
819
|
if (output.statusCode >= 300) {
|
|
1128
|
-
return
|
|
820
|
+
return de_CommandError(output, context);
|
|
1129
821
|
}
|
|
1130
822
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1131
823
|
const response = {
|
|
@@ -1133,31 +825,9 @@ var de_RenewCertificateCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1133
825
|
};
|
|
1134
826
|
return response;
|
|
1135
827
|
}, "de_RenewCertificateCommand");
|
|
1136
|
-
var de_RenewCertificateCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1137
|
-
const parsedOutput = {
|
|
1138
|
-
...output,
|
|
1139
|
-
body: await parseErrorBody(output.body, context)
|
|
1140
|
-
};
|
|
1141
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1142
|
-
switch (errorCode) {
|
|
1143
|
-
case "InvalidArnException":
|
|
1144
|
-
case "com.amazonaws.acm#InvalidArnException":
|
|
1145
|
-
throw await de_InvalidArnExceptionRes(parsedOutput, context);
|
|
1146
|
-
case "ResourceNotFoundException":
|
|
1147
|
-
case "com.amazonaws.acm#ResourceNotFoundException":
|
|
1148
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1149
|
-
default:
|
|
1150
|
-
const parsedBody = parsedOutput.body;
|
|
1151
|
-
return throwDefaultError({
|
|
1152
|
-
output,
|
|
1153
|
-
parsedBody,
|
|
1154
|
-
errorCode
|
|
1155
|
-
});
|
|
1156
|
-
}
|
|
1157
|
-
}, "de_RenewCertificateCommandError");
|
|
1158
828
|
var de_RequestCertificateCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1159
829
|
if (output.statusCode >= 300) {
|
|
1160
|
-
return
|
|
830
|
+
return de_CommandError(output, context);
|
|
1161
831
|
}
|
|
1162
832
|
const data = await parseBody(output.body, context);
|
|
1163
833
|
let contents = {};
|
|
@@ -1168,46 +838,9 @@ var de_RequestCertificateCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
1168
838
|
};
|
|
1169
839
|
return response;
|
|
1170
840
|
}, "de_RequestCertificateCommand");
|
|
1171
|
-
var de_RequestCertificateCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1172
|
-
const parsedOutput = {
|
|
1173
|
-
...output,
|
|
1174
|
-
body: await parseErrorBody(output.body, context)
|
|
1175
|
-
};
|
|
1176
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1177
|
-
switch (errorCode) {
|
|
1178
|
-
case "InvalidArnException":
|
|
1179
|
-
case "com.amazonaws.acm#InvalidArnException":
|
|
1180
|
-
throw await de_InvalidArnExceptionRes(parsedOutput, context);
|
|
1181
|
-
case "InvalidDomainValidationOptionsException":
|
|
1182
|
-
case "com.amazonaws.acm#InvalidDomainValidationOptionsException":
|
|
1183
|
-
throw await de_InvalidDomainValidationOptionsExceptionRes(parsedOutput, context);
|
|
1184
|
-
case "InvalidParameterException":
|
|
1185
|
-
case "com.amazonaws.acm#InvalidParameterException":
|
|
1186
|
-
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1187
|
-
case "InvalidTagException":
|
|
1188
|
-
case "com.amazonaws.acm#InvalidTagException":
|
|
1189
|
-
throw await de_InvalidTagExceptionRes(parsedOutput, context);
|
|
1190
|
-
case "LimitExceededException":
|
|
1191
|
-
case "com.amazonaws.acm#LimitExceededException":
|
|
1192
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1193
|
-
case "TagPolicyException":
|
|
1194
|
-
case "com.amazonaws.acm#TagPolicyException":
|
|
1195
|
-
throw await de_TagPolicyExceptionRes(parsedOutput, context);
|
|
1196
|
-
case "TooManyTagsException":
|
|
1197
|
-
case "com.amazonaws.acm#TooManyTagsException":
|
|
1198
|
-
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
1199
|
-
default:
|
|
1200
|
-
const parsedBody = parsedOutput.body;
|
|
1201
|
-
return throwDefaultError({
|
|
1202
|
-
output,
|
|
1203
|
-
parsedBody,
|
|
1204
|
-
errorCode
|
|
1205
|
-
});
|
|
1206
|
-
}
|
|
1207
|
-
}, "de_RequestCertificateCommandError");
|
|
1208
841
|
var de_ResendValidationEmailCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1209
842
|
if (output.statusCode >= 300) {
|
|
1210
|
-
return
|
|
843
|
+
return de_CommandError(output, context);
|
|
1211
844
|
}
|
|
1212
845
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1213
846
|
const response = {
|
|
@@ -1215,37 +848,9 @@ var de_ResendValidationEmailCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
1215
848
|
};
|
|
1216
849
|
return response;
|
|
1217
850
|
}, "de_ResendValidationEmailCommand");
|
|
1218
|
-
var de_ResendValidationEmailCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1219
|
-
const parsedOutput = {
|
|
1220
|
-
...output,
|
|
1221
|
-
body: await parseErrorBody(output.body, context)
|
|
1222
|
-
};
|
|
1223
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1224
|
-
switch (errorCode) {
|
|
1225
|
-
case "InvalidArnException":
|
|
1226
|
-
case "com.amazonaws.acm#InvalidArnException":
|
|
1227
|
-
throw await de_InvalidArnExceptionRes(parsedOutput, context);
|
|
1228
|
-
case "InvalidDomainValidationOptionsException":
|
|
1229
|
-
case "com.amazonaws.acm#InvalidDomainValidationOptionsException":
|
|
1230
|
-
throw await de_InvalidDomainValidationOptionsExceptionRes(parsedOutput, context);
|
|
1231
|
-
case "InvalidStateException":
|
|
1232
|
-
case "com.amazonaws.acm#InvalidStateException":
|
|
1233
|
-
throw await de_InvalidStateExceptionRes(parsedOutput, context);
|
|
1234
|
-
case "ResourceNotFoundException":
|
|
1235
|
-
case "com.amazonaws.acm#ResourceNotFoundException":
|
|
1236
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1237
|
-
default:
|
|
1238
|
-
const parsedBody = parsedOutput.body;
|
|
1239
|
-
return throwDefaultError({
|
|
1240
|
-
output,
|
|
1241
|
-
parsedBody,
|
|
1242
|
-
errorCode
|
|
1243
|
-
});
|
|
1244
|
-
}
|
|
1245
|
-
}, "de_ResendValidationEmailCommandError");
|
|
1246
851
|
var de_UpdateCertificateOptionsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1247
852
|
if (output.statusCode >= 300) {
|
|
1248
|
-
return
|
|
853
|
+
return de_CommandError(output, context);
|
|
1249
854
|
}
|
|
1250
855
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1251
856
|
const response = {
|
|
@@ -1253,7 +858,7 @@ var de_UpdateCertificateOptionsCommand = /* @__PURE__ */ __name(async (output, c
|
|
|
1253
858
|
};
|
|
1254
859
|
return response;
|
|
1255
860
|
}, "de_UpdateCertificateOptionsCommand");
|
|
1256
|
-
var
|
|
861
|
+
var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1257
862
|
const parsedOutput = {
|
|
1258
863
|
...output,
|
|
1259
864
|
body: await parseErrorBody(output.body, context)
|
|
@@ -1263,15 +868,51 @@ var de_UpdateCertificateOptionsCommandError = /* @__PURE__ */ __name(async (outp
|
|
|
1263
868
|
case "InvalidArnException":
|
|
1264
869
|
case "com.amazonaws.acm#InvalidArnException":
|
|
1265
870
|
throw await de_InvalidArnExceptionRes(parsedOutput, context);
|
|
1266
|
-
case "
|
|
1267
|
-
case "com.amazonaws.acm#
|
|
1268
|
-
throw await
|
|
1269
|
-
case "
|
|
1270
|
-
case "com.amazonaws.acm#
|
|
1271
|
-
throw await
|
|
871
|
+
case "InvalidParameterException":
|
|
872
|
+
case "com.amazonaws.acm#InvalidParameterException":
|
|
873
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
874
|
+
case "InvalidTagException":
|
|
875
|
+
case "com.amazonaws.acm#InvalidTagException":
|
|
876
|
+
throw await de_InvalidTagExceptionRes(parsedOutput, context);
|
|
1272
877
|
case "ResourceNotFoundException":
|
|
1273
878
|
case "com.amazonaws.acm#ResourceNotFoundException":
|
|
1274
879
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
880
|
+
case "TagPolicyException":
|
|
881
|
+
case "com.amazonaws.acm#TagPolicyException":
|
|
882
|
+
throw await de_TagPolicyExceptionRes(parsedOutput, context);
|
|
883
|
+
case "ThrottlingException":
|
|
884
|
+
case "com.amazonaws.acm#ThrottlingException":
|
|
885
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
886
|
+
case "TooManyTagsException":
|
|
887
|
+
case "com.amazonaws.acm#TooManyTagsException":
|
|
888
|
+
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
889
|
+
case "AccessDeniedException":
|
|
890
|
+
case "com.amazonaws.acm#AccessDeniedException":
|
|
891
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
892
|
+
case "ConflictException":
|
|
893
|
+
case "com.amazonaws.acm#ConflictException":
|
|
894
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
895
|
+
case "ResourceInUseException":
|
|
896
|
+
case "com.amazonaws.acm#ResourceInUseException":
|
|
897
|
+
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
898
|
+
case "RequestInProgressException":
|
|
899
|
+
case "com.amazonaws.acm#RequestInProgressException":
|
|
900
|
+
throw await de_RequestInProgressExceptionRes(parsedOutput, context);
|
|
901
|
+
case "LimitExceededException":
|
|
902
|
+
case "com.amazonaws.acm#LimitExceededException":
|
|
903
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
904
|
+
case "InvalidArgsException":
|
|
905
|
+
case "com.amazonaws.acm#InvalidArgsException":
|
|
906
|
+
throw await de_InvalidArgsExceptionRes(parsedOutput, context);
|
|
907
|
+
case "ValidationException":
|
|
908
|
+
case "com.amazonaws.acm#ValidationException":
|
|
909
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
910
|
+
case "InvalidDomainValidationOptionsException":
|
|
911
|
+
case "com.amazonaws.acm#InvalidDomainValidationOptionsException":
|
|
912
|
+
throw await de_InvalidDomainValidationOptionsExceptionRes(parsedOutput, context);
|
|
913
|
+
case "InvalidStateException":
|
|
914
|
+
case "com.amazonaws.acm#InvalidStateException":
|
|
915
|
+
throw await de_InvalidStateExceptionRes(parsedOutput, context);
|
|
1275
916
|
default:
|
|
1276
917
|
const parsedBody = parsedOutput.body;
|
|
1277
918
|
return throwDefaultError({
|
|
@@ -1280,7 +921,7 @@ var de_UpdateCertificateOptionsCommandError = /* @__PURE__ */ __name(async (outp
|
|
|
1280
921
|
errorCode
|
|
1281
922
|
});
|
|
1282
923
|
}
|
|
1283
|
-
}, "
|
|
924
|
+
}, "de_CommandError");
|
|
1284
925
|
var de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1285
926
|
const body = parsedOutput.body;
|
|
1286
927
|
const deserialized = (0, import_smithy_client._json)(body);
|
|
@@ -93,7 +93,7 @@ export const se_UpdateCertificateOptionsCommand = async (input, context) => {
|
|
|
93
93
|
};
|
|
94
94
|
export const de_AddTagsToCertificateCommand = async (output, context) => {
|
|
95
95
|
if (output.statusCode >= 300) {
|
|
96
|
-
return
|
|
96
|
+
return de_CommandError(output, context);
|
|
97
97
|
}
|
|
98
98
|
await collectBody(output.body, context);
|
|
99
99
|
const response = {
|
|
@@ -101,46 +101,9 @@ export const de_AddTagsToCertificateCommand = async (output, context) => {
|
|
|
101
101
|
};
|
|
102
102
|
return response;
|
|
103
103
|
};
|
|
104
|
-
const de_AddTagsToCertificateCommandError = async (output, context) => {
|
|
105
|
-
const parsedOutput = {
|
|
106
|
-
...output,
|
|
107
|
-
body: await parseErrorBody(output.body, context),
|
|
108
|
-
};
|
|
109
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
110
|
-
switch (errorCode) {
|
|
111
|
-
case "InvalidArnException":
|
|
112
|
-
case "com.amazonaws.acm#InvalidArnException":
|
|
113
|
-
throw await de_InvalidArnExceptionRes(parsedOutput, context);
|
|
114
|
-
case "InvalidParameterException":
|
|
115
|
-
case "com.amazonaws.acm#InvalidParameterException":
|
|
116
|
-
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
117
|
-
case "InvalidTagException":
|
|
118
|
-
case "com.amazonaws.acm#InvalidTagException":
|
|
119
|
-
throw await de_InvalidTagExceptionRes(parsedOutput, context);
|
|
120
|
-
case "ResourceNotFoundException":
|
|
121
|
-
case "com.amazonaws.acm#ResourceNotFoundException":
|
|
122
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
123
|
-
case "TagPolicyException":
|
|
124
|
-
case "com.amazonaws.acm#TagPolicyException":
|
|
125
|
-
throw await de_TagPolicyExceptionRes(parsedOutput, context);
|
|
126
|
-
case "ThrottlingException":
|
|
127
|
-
case "com.amazonaws.acm#ThrottlingException":
|
|
128
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
129
|
-
case "TooManyTagsException":
|
|
130
|
-
case "com.amazonaws.acm#TooManyTagsException":
|
|
131
|
-
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
132
|
-
default:
|
|
133
|
-
const parsedBody = parsedOutput.body;
|
|
134
|
-
return throwDefaultError({
|
|
135
|
-
output,
|
|
136
|
-
parsedBody,
|
|
137
|
-
errorCode,
|
|
138
|
-
});
|
|
139
|
-
}
|
|
140
|
-
};
|
|
141
104
|
export const de_DeleteCertificateCommand = async (output, context) => {
|
|
142
105
|
if (output.statusCode >= 300) {
|
|
143
|
-
return
|
|
106
|
+
return de_CommandError(output, context);
|
|
144
107
|
}
|
|
145
108
|
await collectBody(output.body, context);
|
|
146
109
|
const response = {
|
|
@@ -148,43 +111,9 @@ export const de_DeleteCertificateCommand = async (output, context) => {
|
|
|
148
111
|
};
|
|
149
112
|
return response;
|
|
150
113
|
};
|
|
151
|
-
const de_DeleteCertificateCommandError = async (output, context) => {
|
|
152
|
-
const parsedOutput = {
|
|
153
|
-
...output,
|
|
154
|
-
body: await parseErrorBody(output.body, context),
|
|
155
|
-
};
|
|
156
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
157
|
-
switch (errorCode) {
|
|
158
|
-
case "AccessDeniedException":
|
|
159
|
-
case "com.amazonaws.acm#AccessDeniedException":
|
|
160
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
161
|
-
case "ConflictException":
|
|
162
|
-
case "com.amazonaws.acm#ConflictException":
|
|
163
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
164
|
-
case "InvalidArnException":
|
|
165
|
-
case "com.amazonaws.acm#InvalidArnException":
|
|
166
|
-
throw await de_InvalidArnExceptionRes(parsedOutput, context);
|
|
167
|
-
case "ResourceInUseException":
|
|
168
|
-
case "com.amazonaws.acm#ResourceInUseException":
|
|
169
|
-
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
170
|
-
case "ResourceNotFoundException":
|
|
171
|
-
case "com.amazonaws.acm#ResourceNotFoundException":
|
|
172
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
173
|
-
case "ThrottlingException":
|
|
174
|
-
case "com.amazonaws.acm#ThrottlingException":
|
|
175
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
176
|
-
default:
|
|
177
|
-
const parsedBody = parsedOutput.body;
|
|
178
|
-
return throwDefaultError({
|
|
179
|
-
output,
|
|
180
|
-
parsedBody,
|
|
181
|
-
errorCode,
|
|
182
|
-
});
|
|
183
|
-
}
|
|
184
|
-
};
|
|
185
114
|
export const de_DescribeCertificateCommand = async (output, context) => {
|
|
186
115
|
if (output.statusCode >= 300) {
|
|
187
|
-
return
|
|
116
|
+
return de_CommandError(output, context);
|
|
188
117
|
}
|
|
189
118
|
const data = await parseBody(output.body, context);
|
|
190
119
|
let contents = {};
|
|
@@ -195,31 +124,9 @@ export const de_DescribeCertificateCommand = async (output, context) => {
|
|
|
195
124
|
};
|
|
196
125
|
return response;
|
|
197
126
|
};
|
|
198
|
-
const de_DescribeCertificateCommandError = async (output, context) => {
|
|
199
|
-
const parsedOutput = {
|
|
200
|
-
...output,
|
|
201
|
-
body: await parseErrorBody(output.body, context),
|
|
202
|
-
};
|
|
203
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
204
|
-
switch (errorCode) {
|
|
205
|
-
case "InvalidArnException":
|
|
206
|
-
case "com.amazonaws.acm#InvalidArnException":
|
|
207
|
-
throw await de_InvalidArnExceptionRes(parsedOutput, context);
|
|
208
|
-
case "ResourceNotFoundException":
|
|
209
|
-
case "com.amazonaws.acm#ResourceNotFoundException":
|
|
210
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
211
|
-
default:
|
|
212
|
-
const parsedBody = parsedOutput.body;
|
|
213
|
-
return throwDefaultError({
|
|
214
|
-
output,
|
|
215
|
-
parsedBody,
|
|
216
|
-
errorCode,
|
|
217
|
-
});
|
|
218
|
-
}
|
|
219
|
-
};
|
|
220
127
|
export const de_ExportCertificateCommand = async (output, context) => {
|
|
221
128
|
if (output.statusCode >= 300) {
|
|
222
|
-
return
|
|
129
|
+
return de_CommandError(output, context);
|
|
223
130
|
}
|
|
224
131
|
const data = await parseBody(output.body, context);
|
|
225
132
|
let contents = {};
|
|
@@ -230,34 +137,9 @@ export const de_ExportCertificateCommand = async (output, context) => {
|
|
|
230
137
|
};
|
|
231
138
|
return response;
|
|
232
139
|
};
|
|
233
|
-
const de_ExportCertificateCommandError = async (output, context) => {
|
|
234
|
-
const parsedOutput = {
|
|
235
|
-
...output,
|
|
236
|
-
body: await parseErrorBody(output.body, context),
|
|
237
|
-
};
|
|
238
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
239
|
-
switch (errorCode) {
|
|
240
|
-
case "InvalidArnException":
|
|
241
|
-
case "com.amazonaws.acm#InvalidArnException":
|
|
242
|
-
throw await de_InvalidArnExceptionRes(parsedOutput, context);
|
|
243
|
-
case "RequestInProgressException":
|
|
244
|
-
case "com.amazonaws.acm#RequestInProgressException":
|
|
245
|
-
throw await de_RequestInProgressExceptionRes(parsedOutput, context);
|
|
246
|
-
case "ResourceNotFoundException":
|
|
247
|
-
case "com.amazonaws.acm#ResourceNotFoundException":
|
|
248
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
249
|
-
default:
|
|
250
|
-
const parsedBody = parsedOutput.body;
|
|
251
|
-
return throwDefaultError({
|
|
252
|
-
output,
|
|
253
|
-
parsedBody,
|
|
254
|
-
errorCode,
|
|
255
|
-
});
|
|
256
|
-
}
|
|
257
|
-
};
|
|
258
140
|
export const de_GetAccountConfigurationCommand = async (output, context) => {
|
|
259
141
|
if (output.statusCode >= 300) {
|
|
260
|
-
return
|
|
142
|
+
return de_CommandError(output, context);
|
|
261
143
|
}
|
|
262
144
|
const data = await parseBody(output.body, context);
|
|
263
145
|
let contents = {};
|
|
@@ -268,31 +150,9 @@ export const de_GetAccountConfigurationCommand = async (output, context) => {
|
|
|
268
150
|
};
|
|
269
151
|
return response;
|
|
270
152
|
};
|
|
271
|
-
const de_GetAccountConfigurationCommandError = async (output, context) => {
|
|
272
|
-
const parsedOutput = {
|
|
273
|
-
...output,
|
|
274
|
-
body: await parseErrorBody(output.body, context),
|
|
275
|
-
};
|
|
276
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
277
|
-
switch (errorCode) {
|
|
278
|
-
case "AccessDeniedException":
|
|
279
|
-
case "com.amazonaws.acm#AccessDeniedException":
|
|
280
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
281
|
-
case "ThrottlingException":
|
|
282
|
-
case "com.amazonaws.acm#ThrottlingException":
|
|
283
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
284
|
-
default:
|
|
285
|
-
const parsedBody = parsedOutput.body;
|
|
286
|
-
return throwDefaultError({
|
|
287
|
-
output,
|
|
288
|
-
parsedBody,
|
|
289
|
-
errorCode,
|
|
290
|
-
});
|
|
291
|
-
}
|
|
292
|
-
};
|
|
293
153
|
export const de_GetCertificateCommand = async (output, context) => {
|
|
294
154
|
if (output.statusCode >= 300) {
|
|
295
|
-
return
|
|
155
|
+
return de_CommandError(output, context);
|
|
296
156
|
}
|
|
297
157
|
const data = await parseBody(output.body, context);
|
|
298
158
|
let contents = {};
|
|
@@ -303,34 +163,9 @@ export const de_GetCertificateCommand = async (output, context) => {
|
|
|
303
163
|
};
|
|
304
164
|
return response;
|
|
305
165
|
};
|
|
306
|
-
const de_GetCertificateCommandError = async (output, context) => {
|
|
307
|
-
const parsedOutput = {
|
|
308
|
-
...output,
|
|
309
|
-
body: await parseErrorBody(output.body, context),
|
|
310
|
-
};
|
|
311
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
312
|
-
switch (errorCode) {
|
|
313
|
-
case "InvalidArnException":
|
|
314
|
-
case "com.amazonaws.acm#InvalidArnException":
|
|
315
|
-
throw await de_InvalidArnExceptionRes(parsedOutput, context);
|
|
316
|
-
case "RequestInProgressException":
|
|
317
|
-
case "com.amazonaws.acm#RequestInProgressException":
|
|
318
|
-
throw await de_RequestInProgressExceptionRes(parsedOutput, context);
|
|
319
|
-
case "ResourceNotFoundException":
|
|
320
|
-
case "com.amazonaws.acm#ResourceNotFoundException":
|
|
321
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
322
|
-
default:
|
|
323
|
-
const parsedBody = parsedOutput.body;
|
|
324
|
-
return throwDefaultError({
|
|
325
|
-
output,
|
|
326
|
-
parsedBody,
|
|
327
|
-
errorCode,
|
|
328
|
-
});
|
|
329
|
-
}
|
|
330
|
-
};
|
|
331
166
|
export const de_ImportCertificateCommand = async (output, context) => {
|
|
332
167
|
if (output.statusCode >= 300) {
|
|
333
|
-
return
|
|
168
|
+
return de_CommandError(output, context);
|
|
334
169
|
}
|
|
335
170
|
const data = await parseBody(output.body, context);
|
|
336
171
|
let contents = {};
|
|
@@ -341,46 +176,9 @@ export const de_ImportCertificateCommand = async (output, context) => {
|
|
|
341
176
|
};
|
|
342
177
|
return response;
|
|
343
178
|
};
|
|
344
|
-
const de_ImportCertificateCommandError = async (output, context) => {
|
|
345
|
-
const parsedOutput = {
|
|
346
|
-
...output,
|
|
347
|
-
body: await parseErrorBody(output.body, context),
|
|
348
|
-
};
|
|
349
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
350
|
-
switch (errorCode) {
|
|
351
|
-
case "InvalidArnException":
|
|
352
|
-
case "com.amazonaws.acm#InvalidArnException":
|
|
353
|
-
throw await de_InvalidArnExceptionRes(parsedOutput, context);
|
|
354
|
-
case "InvalidParameterException":
|
|
355
|
-
case "com.amazonaws.acm#InvalidParameterException":
|
|
356
|
-
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
357
|
-
case "InvalidTagException":
|
|
358
|
-
case "com.amazonaws.acm#InvalidTagException":
|
|
359
|
-
throw await de_InvalidTagExceptionRes(parsedOutput, context);
|
|
360
|
-
case "LimitExceededException":
|
|
361
|
-
case "com.amazonaws.acm#LimitExceededException":
|
|
362
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
363
|
-
case "ResourceNotFoundException":
|
|
364
|
-
case "com.amazonaws.acm#ResourceNotFoundException":
|
|
365
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
366
|
-
case "TagPolicyException":
|
|
367
|
-
case "com.amazonaws.acm#TagPolicyException":
|
|
368
|
-
throw await de_TagPolicyExceptionRes(parsedOutput, context);
|
|
369
|
-
case "TooManyTagsException":
|
|
370
|
-
case "com.amazonaws.acm#TooManyTagsException":
|
|
371
|
-
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
372
|
-
default:
|
|
373
|
-
const parsedBody = parsedOutput.body;
|
|
374
|
-
return throwDefaultError({
|
|
375
|
-
output,
|
|
376
|
-
parsedBody,
|
|
377
|
-
errorCode,
|
|
378
|
-
});
|
|
379
|
-
}
|
|
380
|
-
};
|
|
381
179
|
export const de_ListCertificatesCommand = async (output, context) => {
|
|
382
180
|
if (output.statusCode >= 300) {
|
|
383
|
-
return
|
|
181
|
+
return de_CommandError(output, context);
|
|
384
182
|
}
|
|
385
183
|
const data = await parseBody(output.body, context);
|
|
386
184
|
let contents = {};
|
|
@@ -391,31 +189,9 @@ export const de_ListCertificatesCommand = async (output, context) => {
|
|
|
391
189
|
};
|
|
392
190
|
return response;
|
|
393
191
|
};
|
|
394
|
-
const de_ListCertificatesCommandError = async (output, context) => {
|
|
395
|
-
const parsedOutput = {
|
|
396
|
-
...output,
|
|
397
|
-
body: await parseErrorBody(output.body, context),
|
|
398
|
-
};
|
|
399
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
400
|
-
switch (errorCode) {
|
|
401
|
-
case "InvalidArgsException":
|
|
402
|
-
case "com.amazonaws.acm#InvalidArgsException":
|
|
403
|
-
throw await de_InvalidArgsExceptionRes(parsedOutput, context);
|
|
404
|
-
case "ValidationException":
|
|
405
|
-
case "com.amazonaws.acm#ValidationException":
|
|
406
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
407
|
-
default:
|
|
408
|
-
const parsedBody = parsedOutput.body;
|
|
409
|
-
return throwDefaultError({
|
|
410
|
-
output,
|
|
411
|
-
parsedBody,
|
|
412
|
-
errorCode,
|
|
413
|
-
});
|
|
414
|
-
}
|
|
415
|
-
};
|
|
416
192
|
export const de_ListTagsForCertificateCommand = async (output, context) => {
|
|
417
193
|
if (output.statusCode >= 300) {
|
|
418
|
-
return
|
|
194
|
+
return de_CommandError(output, context);
|
|
419
195
|
}
|
|
420
196
|
const data = await parseBody(output.body, context);
|
|
421
197
|
let contents = {};
|
|
@@ -426,31 +202,9 @@ export const de_ListTagsForCertificateCommand = async (output, context) => {
|
|
|
426
202
|
};
|
|
427
203
|
return response;
|
|
428
204
|
};
|
|
429
|
-
const de_ListTagsForCertificateCommandError = async (output, context) => {
|
|
430
|
-
const parsedOutput = {
|
|
431
|
-
...output,
|
|
432
|
-
body: await parseErrorBody(output.body, context),
|
|
433
|
-
};
|
|
434
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
435
|
-
switch (errorCode) {
|
|
436
|
-
case "InvalidArnException":
|
|
437
|
-
case "com.amazonaws.acm#InvalidArnException":
|
|
438
|
-
throw await de_InvalidArnExceptionRes(parsedOutput, context);
|
|
439
|
-
case "ResourceNotFoundException":
|
|
440
|
-
case "com.amazonaws.acm#ResourceNotFoundException":
|
|
441
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
442
|
-
default:
|
|
443
|
-
const parsedBody = parsedOutput.body;
|
|
444
|
-
return throwDefaultError({
|
|
445
|
-
output,
|
|
446
|
-
parsedBody,
|
|
447
|
-
errorCode,
|
|
448
|
-
});
|
|
449
|
-
}
|
|
450
|
-
};
|
|
451
205
|
export const de_PutAccountConfigurationCommand = async (output, context) => {
|
|
452
206
|
if (output.statusCode >= 300) {
|
|
453
|
-
return
|
|
207
|
+
return de_CommandError(output, context);
|
|
454
208
|
}
|
|
455
209
|
await collectBody(output.body, context);
|
|
456
210
|
const response = {
|
|
@@ -458,37 +212,9 @@ export const de_PutAccountConfigurationCommand = async (output, context) => {
|
|
|
458
212
|
};
|
|
459
213
|
return response;
|
|
460
214
|
};
|
|
461
|
-
const de_PutAccountConfigurationCommandError = async (output, context) => {
|
|
462
|
-
const parsedOutput = {
|
|
463
|
-
...output,
|
|
464
|
-
body: await parseErrorBody(output.body, context),
|
|
465
|
-
};
|
|
466
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
467
|
-
switch (errorCode) {
|
|
468
|
-
case "AccessDeniedException":
|
|
469
|
-
case "com.amazonaws.acm#AccessDeniedException":
|
|
470
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
471
|
-
case "ConflictException":
|
|
472
|
-
case "com.amazonaws.acm#ConflictException":
|
|
473
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
474
|
-
case "ThrottlingException":
|
|
475
|
-
case "com.amazonaws.acm#ThrottlingException":
|
|
476
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
477
|
-
case "ValidationException":
|
|
478
|
-
case "com.amazonaws.acm#ValidationException":
|
|
479
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
480
|
-
default:
|
|
481
|
-
const parsedBody = parsedOutput.body;
|
|
482
|
-
return throwDefaultError({
|
|
483
|
-
output,
|
|
484
|
-
parsedBody,
|
|
485
|
-
errorCode,
|
|
486
|
-
});
|
|
487
|
-
}
|
|
488
|
-
};
|
|
489
215
|
export const de_RemoveTagsFromCertificateCommand = async (output, context) => {
|
|
490
216
|
if (output.statusCode >= 300) {
|
|
491
|
-
return
|
|
217
|
+
return de_CommandError(output, context);
|
|
492
218
|
}
|
|
493
219
|
await collectBody(output.body, context);
|
|
494
220
|
const response = {
|
|
@@ -496,43 +222,9 @@ export const de_RemoveTagsFromCertificateCommand = async (output, context) => {
|
|
|
496
222
|
};
|
|
497
223
|
return response;
|
|
498
224
|
};
|
|
499
|
-
const de_RemoveTagsFromCertificateCommandError = async (output, context) => {
|
|
500
|
-
const parsedOutput = {
|
|
501
|
-
...output,
|
|
502
|
-
body: await parseErrorBody(output.body, context),
|
|
503
|
-
};
|
|
504
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
505
|
-
switch (errorCode) {
|
|
506
|
-
case "InvalidArnException":
|
|
507
|
-
case "com.amazonaws.acm#InvalidArnException":
|
|
508
|
-
throw await de_InvalidArnExceptionRes(parsedOutput, context);
|
|
509
|
-
case "InvalidParameterException":
|
|
510
|
-
case "com.amazonaws.acm#InvalidParameterException":
|
|
511
|
-
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
512
|
-
case "InvalidTagException":
|
|
513
|
-
case "com.amazonaws.acm#InvalidTagException":
|
|
514
|
-
throw await de_InvalidTagExceptionRes(parsedOutput, context);
|
|
515
|
-
case "ResourceNotFoundException":
|
|
516
|
-
case "com.amazonaws.acm#ResourceNotFoundException":
|
|
517
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
518
|
-
case "TagPolicyException":
|
|
519
|
-
case "com.amazonaws.acm#TagPolicyException":
|
|
520
|
-
throw await de_TagPolicyExceptionRes(parsedOutput, context);
|
|
521
|
-
case "ThrottlingException":
|
|
522
|
-
case "com.amazonaws.acm#ThrottlingException":
|
|
523
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
524
|
-
default:
|
|
525
|
-
const parsedBody = parsedOutput.body;
|
|
526
|
-
return throwDefaultError({
|
|
527
|
-
output,
|
|
528
|
-
parsedBody,
|
|
529
|
-
errorCode,
|
|
530
|
-
});
|
|
531
|
-
}
|
|
532
|
-
};
|
|
533
225
|
export const de_RenewCertificateCommand = async (output, context) => {
|
|
534
226
|
if (output.statusCode >= 300) {
|
|
535
|
-
return
|
|
227
|
+
return de_CommandError(output, context);
|
|
536
228
|
}
|
|
537
229
|
await collectBody(output.body, context);
|
|
538
230
|
const response = {
|
|
@@ -540,31 +232,9 @@ export const de_RenewCertificateCommand = async (output, context) => {
|
|
|
540
232
|
};
|
|
541
233
|
return response;
|
|
542
234
|
};
|
|
543
|
-
const de_RenewCertificateCommandError = async (output, context) => {
|
|
544
|
-
const parsedOutput = {
|
|
545
|
-
...output,
|
|
546
|
-
body: await parseErrorBody(output.body, context),
|
|
547
|
-
};
|
|
548
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
549
|
-
switch (errorCode) {
|
|
550
|
-
case "InvalidArnException":
|
|
551
|
-
case "com.amazonaws.acm#InvalidArnException":
|
|
552
|
-
throw await de_InvalidArnExceptionRes(parsedOutput, context);
|
|
553
|
-
case "ResourceNotFoundException":
|
|
554
|
-
case "com.amazonaws.acm#ResourceNotFoundException":
|
|
555
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
556
|
-
default:
|
|
557
|
-
const parsedBody = parsedOutput.body;
|
|
558
|
-
return throwDefaultError({
|
|
559
|
-
output,
|
|
560
|
-
parsedBody,
|
|
561
|
-
errorCode,
|
|
562
|
-
});
|
|
563
|
-
}
|
|
564
|
-
};
|
|
565
235
|
export const de_RequestCertificateCommand = async (output, context) => {
|
|
566
236
|
if (output.statusCode >= 300) {
|
|
567
|
-
return
|
|
237
|
+
return de_CommandError(output, context);
|
|
568
238
|
}
|
|
569
239
|
const data = await parseBody(output.body, context);
|
|
570
240
|
let contents = {};
|
|
@@ -575,46 +245,9 @@ export const de_RequestCertificateCommand = async (output, context) => {
|
|
|
575
245
|
};
|
|
576
246
|
return response;
|
|
577
247
|
};
|
|
578
|
-
const de_RequestCertificateCommandError = async (output, context) => {
|
|
579
|
-
const parsedOutput = {
|
|
580
|
-
...output,
|
|
581
|
-
body: await parseErrorBody(output.body, context),
|
|
582
|
-
};
|
|
583
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
584
|
-
switch (errorCode) {
|
|
585
|
-
case "InvalidArnException":
|
|
586
|
-
case "com.amazonaws.acm#InvalidArnException":
|
|
587
|
-
throw await de_InvalidArnExceptionRes(parsedOutput, context);
|
|
588
|
-
case "InvalidDomainValidationOptionsException":
|
|
589
|
-
case "com.amazonaws.acm#InvalidDomainValidationOptionsException":
|
|
590
|
-
throw await de_InvalidDomainValidationOptionsExceptionRes(parsedOutput, context);
|
|
591
|
-
case "InvalidParameterException":
|
|
592
|
-
case "com.amazonaws.acm#InvalidParameterException":
|
|
593
|
-
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
594
|
-
case "InvalidTagException":
|
|
595
|
-
case "com.amazonaws.acm#InvalidTagException":
|
|
596
|
-
throw await de_InvalidTagExceptionRes(parsedOutput, context);
|
|
597
|
-
case "LimitExceededException":
|
|
598
|
-
case "com.amazonaws.acm#LimitExceededException":
|
|
599
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
600
|
-
case "TagPolicyException":
|
|
601
|
-
case "com.amazonaws.acm#TagPolicyException":
|
|
602
|
-
throw await de_TagPolicyExceptionRes(parsedOutput, context);
|
|
603
|
-
case "TooManyTagsException":
|
|
604
|
-
case "com.amazonaws.acm#TooManyTagsException":
|
|
605
|
-
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
606
|
-
default:
|
|
607
|
-
const parsedBody = parsedOutput.body;
|
|
608
|
-
return throwDefaultError({
|
|
609
|
-
output,
|
|
610
|
-
parsedBody,
|
|
611
|
-
errorCode,
|
|
612
|
-
});
|
|
613
|
-
}
|
|
614
|
-
};
|
|
615
248
|
export const de_ResendValidationEmailCommand = async (output, context) => {
|
|
616
249
|
if (output.statusCode >= 300) {
|
|
617
|
-
return
|
|
250
|
+
return de_CommandError(output, context);
|
|
618
251
|
}
|
|
619
252
|
await collectBody(output.body, context);
|
|
620
253
|
const response = {
|
|
@@ -622,37 +255,9 @@ export const de_ResendValidationEmailCommand = async (output, context) => {
|
|
|
622
255
|
};
|
|
623
256
|
return response;
|
|
624
257
|
};
|
|
625
|
-
const de_ResendValidationEmailCommandError = async (output, context) => {
|
|
626
|
-
const parsedOutput = {
|
|
627
|
-
...output,
|
|
628
|
-
body: await parseErrorBody(output.body, context),
|
|
629
|
-
};
|
|
630
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
631
|
-
switch (errorCode) {
|
|
632
|
-
case "InvalidArnException":
|
|
633
|
-
case "com.amazonaws.acm#InvalidArnException":
|
|
634
|
-
throw await de_InvalidArnExceptionRes(parsedOutput, context);
|
|
635
|
-
case "InvalidDomainValidationOptionsException":
|
|
636
|
-
case "com.amazonaws.acm#InvalidDomainValidationOptionsException":
|
|
637
|
-
throw await de_InvalidDomainValidationOptionsExceptionRes(parsedOutput, context);
|
|
638
|
-
case "InvalidStateException":
|
|
639
|
-
case "com.amazonaws.acm#InvalidStateException":
|
|
640
|
-
throw await de_InvalidStateExceptionRes(parsedOutput, context);
|
|
641
|
-
case "ResourceNotFoundException":
|
|
642
|
-
case "com.amazonaws.acm#ResourceNotFoundException":
|
|
643
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
644
|
-
default:
|
|
645
|
-
const parsedBody = parsedOutput.body;
|
|
646
|
-
return throwDefaultError({
|
|
647
|
-
output,
|
|
648
|
-
parsedBody,
|
|
649
|
-
errorCode,
|
|
650
|
-
});
|
|
651
|
-
}
|
|
652
|
-
};
|
|
653
258
|
export const de_UpdateCertificateOptionsCommand = async (output, context) => {
|
|
654
259
|
if (output.statusCode >= 300) {
|
|
655
|
-
return
|
|
260
|
+
return de_CommandError(output, context);
|
|
656
261
|
}
|
|
657
262
|
await collectBody(output.body, context);
|
|
658
263
|
const response = {
|
|
@@ -660,7 +265,7 @@ export const de_UpdateCertificateOptionsCommand = async (output, context) => {
|
|
|
660
265
|
};
|
|
661
266
|
return response;
|
|
662
267
|
};
|
|
663
|
-
const
|
|
268
|
+
const de_CommandError = async (output, context) => {
|
|
664
269
|
const parsedOutput = {
|
|
665
270
|
...output,
|
|
666
271
|
body: await parseErrorBody(output.body, context),
|
|
@@ -670,15 +275,51 @@ const de_UpdateCertificateOptionsCommandError = async (output, context) => {
|
|
|
670
275
|
case "InvalidArnException":
|
|
671
276
|
case "com.amazonaws.acm#InvalidArnException":
|
|
672
277
|
throw await de_InvalidArnExceptionRes(parsedOutput, context);
|
|
673
|
-
case "
|
|
674
|
-
case "com.amazonaws.acm#
|
|
675
|
-
throw await
|
|
676
|
-
case "
|
|
677
|
-
case "com.amazonaws.acm#
|
|
678
|
-
throw await
|
|
278
|
+
case "InvalidParameterException":
|
|
279
|
+
case "com.amazonaws.acm#InvalidParameterException":
|
|
280
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
281
|
+
case "InvalidTagException":
|
|
282
|
+
case "com.amazonaws.acm#InvalidTagException":
|
|
283
|
+
throw await de_InvalidTagExceptionRes(parsedOutput, context);
|
|
679
284
|
case "ResourceNotFoundException":
|
|
680
285
|
case "com.amazonaws.acm#ResourceNotFoundException":
|
|
681
286
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
287
|
+
case "TagPolicyException":
|
|
288
|
+
case "com.amazonaws.acm#TagPolicyException":
|
|
289
|
+
throw await de_TagPolicyExceptionRes(parsedOutput, context);
|
|
290
|
+
case "ThrottlingException":
|
|
291
|
+
case "com.amazonaws.acm#ThrottlingException":
|
|
292
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
293
|
+
case "TooManyTagsException":
|
|
294
|
+
case "com.amazonaws.acm#TooManyTagsException":
|
|
295
|
+
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
296
|
+
case "AccessDeniedException":
|
|
297
|
+
case "com.amazonaws.acm#AccessDeniedException":
|
|
298
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
299
|
+
case "ConflictException":
|
|
300
|
+
case "com.amazonaws.acm#ConflictException":
|
|
301
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
302
|
+
case "ResourceInUseException":
|
|
303
|
+
case "com.amazonaws.acm#ResourceInUseException":
|
|
304
|
+
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
305
|
+
case "RequestInProgressException":
|
|
306
|
+
case "com.amazonaws.acm#RequestInProgressException":
|
|
307
|
+
throw await de_RequestInProgressExceptionRes(parsedOutput, context);
|
|
308
|
+
case "LimitExceededException":
|
|
309
|
+
case "com.amazonaws.acm#LimitExceededException":
|
|
310
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
311
|
+
case "InvalidArgsException":
|
|
312
|
+
case "com.amazonaws.acm#InvalidArgsException":
|
|
313
|
+
throw await de_InvalidArgsExceptionRes(parsedOutput, context);
|
|
314
|
+
case "ValidationException":
|
|
315
|
+
case "com.amazonaws.acm#ValidationException":
|
|
316
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
317
|
+
case "InvalidDomainValidationOptionsException":
|
|
318
|
+
case "com.amazonaws.acm#InvalidDomainValidationOptionsException":
|
|
319
|
+
throw await de_InvalidDomainValidationOptionsExceptionRes(parsedOutput, context);
|
|
320
|
+
case "InvalidStateException":
|
|
321
|
+
case "com.amazonaws.acm#InvalidStateException":
|
|
322
|
+
throw await de_InvalidStateExceptionRes(parsedOutput, context);
|
|
682
323
|
default:
|
|
683
324
|
const parsedBody = parsedOutput.body;
|
|
684
325
|
return throwDefaultError({
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-acm",
|
|
3
3
|
"description": "AWS SDK for JavaScript Acm 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-acm",
|
|
@@ -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",
|