@aws-sdk/client-directory-service 3.131.0 → 3.142.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/CHANGELOG.md +33 -0
- package/README.md +1 -1
- package/dist-cjs/commands/AcceptSharedDirectoryCommand.js +2 -2
- package/dist-cjs/commands/AddIpRoutesCommand.js +2 -2
- package/dist-cjs/commands/AddRegionCommand.js +2 -2
- package/dist-cjs/commands/AddTagsToResourceCommand.js +2 -2
- package/dist-cjs/commands/CancelSchemaExtensionCommand.js +2 -2
- package/dist-cjs/commands/ConnectDirectoryCommand.js +2 -2
- package/dist-cjs/commands/CreateAliasCommand.js +2 -2
- package/dist-cjs/commands/CreateComputerCommand.js +2 -2
- package/dist-cjs/commands/CreateConditionalForwarderCommand.js +2 -2
- package/dist-cjs/commands/CreateDirectoryCommand.js +2 -2
- package/dist-cjs/commands/CreateLogSubscriptionCommand.js +2 -2
- package/dist-cjs/commands/CreateMicrosoftADCommand.js +2 -2
- package/dist-cjs/commands/CreateSnapshotCommand.js +2 -2
- package/dist-cjs/commands/CreateTrustCommand.js +2 -2
- package/dist-cjs/commands/DeleteConditionalForwarderCommand.js +2 -2
- package/dist-cjs/commands/DeleteDirectoryCommand.js +2 -2
- package/dist-cjs/commands/DeleteLogSubscriptionCommand.js +2 -2
- package/dist-cjs/commands/DeleteSnapshotCommand.js +2 -2
- package/dist-cjs/commands/DeleteTrustCommand.js +2 -2
- package/dist-cjs/commands/DeregisterCertificateCommand.js +2 -2
- package/dist-cjs/commands/DeregisterEventTopicCommand.js +2 -2
- package/dist-cjs/commands/DescribeCertificateCommand.js +2 -2
- package/dist-cjs/commands/DescribeClientAuthenticationSettingsCommand.js +2 -2
- package/dist-cjs/commands/DescribeConditionalForwardersCommand.js +2 -2
- package/dist-cjs/commands/DescribeDirectoriesCommand.js +2 -2
- package/dist-cjs/commands/DescribeDomainControllersCommand.js +2 -2
- package/dist-cjs/commands/DescribeEventTopicsCommand.js +2 -2
- package/dist-cjs/commands/DescribeLDAPSSettingsCommand.js +2 -2
- package/dist-cjs/commands/DescribeRegionsCommand.js +2 -2
- package/dist-cjs/commands/DescribeSettingsCommand.js +2 -2
- package/dist-cjs/commands/DescribeSharedDirectoriesCommand.js +2 -2
- package/dist-cjs/commands/DescribeSnapshotsCommand.js +2 -2
- package/dist-cjs/commands/DescribeTrustsCommand.js +2 -2
- package/dist-cjs/commands/DisableClientAuthenticationCommand.js +2 -2
- package/dist-cjs/commands/DisableLDAPSCommand.js +2 -2
- package/dist-cjs/commands/DisableRadiusCommand.js +2 -2
- package/dist-cjs/commands/DisableSsoCommand.js +2 -2
- package/dist-cjs/commands/EnableClientAuthenticationCommand.js +2 -2
- package/dist-cjs/commands/EnableLDAPSCommand.js +2 -2
- package/dist-cjs/commands/EnableRadiusCommand.js +2 -2
- package/dist-cjs/commands/EnableSsoCommand.js +2 -2
- package/dist-cjs/commands/GetDirectoryLimitsCommand.js +2 -2
- package/dist-cjs/commands/GetSnapshotLimitsCommand.js +2 -2
- package/dist-cjs/commands/ListCertificatesCommand.js +2 -2
- package/dist-cjs/commands/ListIpRoutesCommand.js +2 -2
- package/dist-cjs/commands/ListLogSubscriptionsCommand.js +2 -2
- package/dist-cjs/commands/ListSchemaExtensionsCommand.js +2 -2
- package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -2
- package/dist-cjs/commands/RegisterCertificateCommand.js +2 -2
- package/dist-cjs/commands/RegisterEventTopicCommand.js +2 -2
- package/dist-cjs/commands/RejectSharedDirectoryCommand.js +2 -2
- package/dist-cjs/commands/RemoveIpRoutesCommand.js +2 -2
- package/dist-cjs/commands/RemoveRegionCommand.js +2 -2
- package/dist-cjs/commands/RemoveTagsFromResourceCommand.js +2 -2
- package/dist-cjs/commands/ResetUserPasswordCommand.js +2 -2
- package/dist-cjs/commands/RestoreFromSnapshotCommand.js +2 -2
- package/dist-cjs/commands/ShareDirectoryCommand.js +2 -2
- package/dist-cjs/commands/StartSchemaExtensionCommand.js +2 -2
- package/dist-cjs/commands/UnshareDirectoryCommand.js +2 -2
- package/dist-cjs/commands/UpdateConditionalForwarderCommand.js +2 -2
- package/dist-cjs/commands/UpdateNumberOfDomainControllersCommand.js +2 -2
- package/dist-cjs/commands/UpdateRadiusCommand.js +2 -2
- package/dist-cjs/commands/UpdateSettingsCommand.js +2 -2
- package/dist-cjs/commands/UpdateTrustCommand.js +2 -2
- package/dist-cjs/commands/VerifyTrustCommand.js +2 -2
- package/dist-cjs/models/models_0.js +683 -1009
- package/dist-cjs/protocols/Aws_json1_1.js +325 -565
- package/dist-es/commands/AcceptSharedDirectoryCommand.js +3 -3
- package/dist-es/commands/AddIpRoutesCommand.js +3 -3
- package/dist-es/commands/AddRegionCommand.js +3 -3
- package/dist-es/commands/AddTagsToResourceCommand.js +3 -3
- package/dist-es/commands/CancelSchemaExtensionCommand.js +3 -3
- package/dist-es/commands/ConnectDirectoryCommand.js +3 -3
- package/dist-es/commands/CreateAliasCommand.js +3 -3
- package/dist-es/commands/CreateComputerCommand.js +3 -3
- package/dist-es/commands/CreateConditionalForwarderCommand.js +3 -3
- package/dist-es/commands/CreateDirectoryCommand.js +3 -3
- package/dist-es/commands/CreateLogSubscriptionCommand.js +3 -3
- package/dist-es/commands/CreateMicrosoftADCommand.js +3 -3
- package/dist-es/commands/CreateSnapshotCommand.js +3 -3
- package/dist-es/commands/CreateTrustCommand.js +3 -3
- package/dist-es/commands/DeleteConditionalForwarderCommand.js +3 -3
- package/dist-es/commands/DeleteDirectoryCommand.js +3 -3
- package/dist-es/commands/DeleteLogSubscriptionCommand.js +3 -3
- package/dist-es/commands/DeleteSnapshotCommand.js +3 -3
- package/dist-es/commands/DeleteTrustCommand.js +3 -3
- package/dist-es/commands/DeregisterCertificateCommand.js +3 -3
- package/dist-es/commands/DeregisterEventTopicCommand.js +3 -3
- package/dist-es/commands/DescribeCertificateCommand.js +3 -3
- package/dist-es/commands/DescribeClientAuthenticationSettingsCommand.js +3 -3
- package/dist-es/commands/DescribeConditionalForwardersCommand.js +3 -3
- package/dist-es/commands/DescribeDirectoriesCommand.js +3 -3
- package/dist-es/commands/DescribeDomainControllersCommand.js +3 -3
- package/dist-es/commands/DescribeEventTopicsCommand.js +3 -3
- package/dist-es/commands/DescribeLDAPSSettingsCommand.js +3 -3
- package/dist-es/commands/DescribeRegionsCommand.js +3 -3
- package/dist-es/commands/DescribeSettingsCommand.js +3 -3
- package/dist-es/commands/DescribeSharedDirectoriesCommand.js +3 -3
- package/dist-es/commands/DescribeSnapshotsCommand.js +3 -3
- package/dist-es/commands/DescribeTrustsCommand.js +3 -3
- package/dist-es/commands/DisableClientAuthenticationCommand.js +3 -3
- package/dist-es/commands/DisableLDAPSCommand.js +3 -3
- package/dist-es/commands/DisableRadiusCommand.js +3 -3
- package/dist-es/commands/DisableSsoCommand.js +3 -3
- package/dist-es/commands/EnableClientAuthenticationCommand.js +3 -3
- package/dist-es/commands/EnableLDAPSCommand.js +3 -3
- package/dist-es/commands/EnableRadiusCommand.js +3 -3
- package/dist-es/commands/EnableSsoCommand.js +3 -3
- package/dist-es/commands/GetDirectoryLimitsCommand.js +3 -3
- package/dist-es/commands/GetSnapshotLimitsCommand.js +3 -3
- package/dist-es/commands/ListCertificatesCommand.js +3 -3
- package/dist-es/commands/ListIpRoutesCommand.js +3 -3
- package/dist-es/commands/ListLogSubscriptionsCommand.js +3 -3
- package/dist-es/commands/ListSchemaExtensionsCommand.js +3 -3
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-es/commands/RegisterCertificateCommand.js +3 -3
- package/dist-es/commands/RegisterEventTopicCommand.js +3 -3
- package/dist-es/commands/RejectSharedDirectoryCommand.js +3 -3
- package/dist-es/commands/RemoveIpRoutesCommand.js +3 -3
- package/dist-es/commands/RemoveRegionCommand.js +3 -3
- package/dist-es/commands/RemoveTagsFromResourceCommand.js +3 -3
- package/dist-es/commands/ResetUserPasswordCommand.js +3 -3
- package/dist-es/commands/RestoreFromSnapshotCommand.js +3 -3
- package/dist-es/commands/ShareDirectoryCommand.js +3 -3
- package/dist-es/commands/StartSchemaExtensionCommand.js +3 -3
- package/dist-es/commands/UnshareDirectoryCommand.js +3 -3
- package/dist-es/commands/UpdateConditionalForwarderCommand.js +3 -3
- package/dist-es/commands/UpdateNumberOfDomainControllersCommand.js +3 -3
- package/dist-es/commands/UpdateRadiusCommand.js +3 -3
- package/dist-es/commands/UpdateSettingsCommand.js +3 -3
- package/dist-es/commands/UpdateTrustCommand.js +3 -3
- package/dist-es/commands/VerifyTrustCommand.js +3 -3
- package/dist-es/models/models_0.js +169 -658
- package/dist-es/protocols/Aws_json1_1.js +521 -566
- package/dist-types/models/models_0.d.ts +652 -978
- package/dist-types/ts3.4/models/models_0.d.ts +326 -652
- package/package.json +6 -6
|
@@ -676,7 +676,6 @@ const deserializeAws_json1_1AcceptSharedDirectoryCommandError = async (output, c
|
|
|
676
676
|
...output,
|
|
677
677
|
body: await parseBody(output.body, context),
|
|
678
678
|
};
|
|
679
|
-
let response;
|
|
680
679
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
681
680
|
switch (errorCode) {
|
|
682
681
|
case "ClientException":
|
|
@@ -696,14 +695,12 @@ const deserializeAws_json1_1AcceptSharedDirectoryCommandError = async (output, c
|
|
|
696
695
|
throw await deserializeAws_json1_1ServiceExceptionResponse(parsedOutput, context);
|
|
697
696
|
default:
|
|
698
697
|
const parsedBody = parsedOutput.body;
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
$metadata,
|
|
698
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
699
|
+
output,
|
|
700
|
+
parsedBody,
|
|
701
|
+
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
702
|
+
errorCode,
|
|
705
703
|
});
|
|
706
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
707
704
|
}
|
|
708
705
|
};
|
|
709
706
|
const deserializeAws_json1_1AddIpRoutesCommand = async (output, context) => {
|
|
@@ -725,7 +722,6 @@ const deserializeAws_json1_1AddIpRoutesCommandError = async (output, context) =>
|
|
|
725
722
|
...output,
|
|
726
723
|
body: await parseBody(output.body, context),
|
|
727
724
|
};
|
|
728
|
-
let response;
|
|
729
725
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
730
726
|
switch (errorCode) {
|
|
731
727
|
case "ClientException":
|
|
@@ -751,14 +747,12 @@ const deserializeAws_json1_1AddIpRoutesCommandError = async (output, context) =>
|
|
|
751
747
|
throw await deserializeAws_json1_1ServiceExceptionResponse(parsedOutput, context);
|
|
752
748
|
default:
|
|
753
749
|
const parsedBody = parsedOutput.body;
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
$metadata,
|
|
750
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
751
|
+
output,
|
|
752
|
+
parsedBody,
|
|
753
|
+
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
754
|
+
errorCode,
|
|
760
755
|
});
|
|
761
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
762
756
|
}
|
|
763
757
|
};
|
|
764
758
|
const deserializeAws_json1_1AddRegionCommand = async (output, context) => {
|
|
@@ -780,7 +774,6 @@ const deserializeAws_json1_1AddRegionCommandError = async (output, context) => {
|
|
|
780
774
|
...output,
|
|
781
775
|
body: await parseBody(output.body, context),
|
|
782
776
|
};
|
|
783
|
-
let response;
|
|
784
777
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
785
778
|
switch (errorCode) {
|
|
786
779
|
case "AccessDeniedException":
|
|
@@ -815,14 +808,12 @@ const deserializeAws_json1_1AddRegionCommandError = async (output, context) => {
|
|
|
815
808
|
throw await deserializeAws_json1_1UnsupportedOperationExceptionResponse(parsedOutput, context);
|
|
816
809
|
default:
|
|
817
810
|
const parsedBody = parsedOutput.body;
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
$metadata,
|
|
811
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
812
|
+
output,
|
|
813
|
+
parsedBody,
|
|
814
|
+
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
815
|
+
errorCode,
|
|
824
816
|
});
|
|
825
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
826
817
|
}
|
|
827
818
|
};
|
|
828
819
|
const deserializeAws_json1_1AddTagsToResourceCommand = async (output, context) => {
|
|
@@ -844,7 +835,6 @@ const deserializeAws_json1_1AddTagsToResourceCommandError = async (output, conte
|
|
|
844
835
|
...output,
|
|
845
836
|
body: await parseBody(output.body, context),
|
|
846
837
|
};
|
|
847
|
-
let response;
|
|
848
838
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
849
839
|
switch (errorCode) {
|
|
850
840
|
case "ClientException":
|
|
@@ -864,14 +854,12 @@ const deserializeAws_json1_1AddTagsToResourceCommandError = async (output, conte
|
|
|
864
854
|
throw await deserializeAws_json1_1TagLimitExceededExceptionResponse(parsedOutput, context);
|
|
865
855
|
default:
|
|
866
856
|
const parsedBody = parsedOutput.body;
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
$metadata,
|
|
857
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
858
|
+
output,
|
|
859
|
+
parsedBody,
|
|
860
|
+
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
861
|
+
errorCode,
|
|
873
862
|
});
|
|
874
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
875
863
|
}
|
|
876
864
|
};
|
|
877
865
|
const deserializeAws_json1_1CancelSchemaExtensionCommand = async (output, context) => {
|
|
@@ -893,7 +881,6 @@ const deserializeAws_json1_1CancelSchemaExtensionCommandError = async (output, c
|
|
|
893
881
|
...output,
|
|
894
882
|
body: await parseBody(output.body, context),
|
|
895
883
|
};
|
|
896
|
-
let response;
|
|
897
884
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
898
885
|
switch (errorCode) {
|
|
899
886
|
case "ClientException":
|
|
@@ -907,14 +894,12 @@ const deserializeAws_json1_1CancelSchemaExtensionCommandError = async (output, c
|
|
|
907
894
|
throw await deserializeAws_json1_1ServiceExceptionResponse(parsedOutput, context);
|
|
908
895
|
default:
|
|
909
896
|
const parsedBody = parsedOutput.body;
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
$metadata,
|
|
897
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
898
|
+
output,
|
|
899
|
+
parsedBody,
|
|
900
|
+
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
901
|
+
errorCode,
|
|
916
902
|
});
|
|
917
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
918
903
|
}
|
|
919
904
|
};
|
|
920
905
|
const deserializeAws_json1_1ConnectDirectoryCommand = async (output, context) => {
|
|
@@ -936,7 +921,6 @@ const deserializeAws_json1_1ConnectDirectoryCommandError = async (output, contex
|
|
|
936
921
|
...output,
|
|
937
922
|
body: await parseBody(output.body, context),
|
|
938
923
|
};
|
|
939
|
-
let response;
|
|
940
924
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
941
925
|
switch (errorCode) {
|
|
942
926
|
case "ClientException":
|
|
@@ -953,14 +937,12 @@ const deserializeAws_json1_1ConnectDirectoryCommandError = async (output, contex
|
|
|
953
937
|
throw await deserializeAws_json1_1ServiceExceptionResponse(parsedOutput, context);
|
|
954
938
|
default:
|
|
955
939
|
const parsedBody = parsedOutput.body;
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
$metadata,
|
|
940
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
941
|
+
output,
|
|
942
|
+
parsedBody,
|
|
943
|
+
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
944
|
+
errorCode,
|
|
962
945
|
});
|
|
963
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
964
946
|
}
|
|
965
947
|
};
|
|
966
948
|
const deserializeAws_json1_1CreateAliasCommand = async (output, context) => {
|
|
@@ -982,7 +964,6 @@ const deserializeAws_json1_1CreateAliasCommandError = async (output, context) =>
|
|
|
982
964
|
...output,
|
|
983
965
|
body: await parseBody(output.body, context),
|
|
984
966
|
};
|
|
985
|
-
let response;
|
|
986
967
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
987
968
|
switch (errorCode) {
|
|
988
969
|
case "ClientException":
|
|
@@ -1002,14 +983,12 @@ const deserializeAws_json1_1CreateAliasCommandError = async (output, context) =>
|
|
|
1002
983
|
throw await deserializeAws_json1_1ServiceExceptionResponse(parsedOutput, context);
|
|
1003
984
|
default:
|
|
1004
985
|
const parsedBody = parsedOutput.body;
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
$metadata,
|
|
986
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
987
|
+
output,
|
|
988
|
+
parsedBody,
|
|
989
|
+
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
990
|
+
errorCode,
|
|
1011
991
|
});
|
|
1012
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1013
992
|
}
|
|
1014
993
|
};
|
|
1015
994
|
const deserializeAws_json1_1CreateComputerCommand = async (output, context) => {
|
|
@@ -1031,7 +1010,6 @@ const deserializeAws_json1_1CreateComputerCommandError = async (output, context)
|
|
|
1031
1010
|
...output,
|
|
1032
1011
|
body: await parseBody(output.body, context),
|
|
1033
1012
|
};
|
|
1034
|
-
let response;
|
|
1035
1013
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1036
1014
|
switch (errorCode) {
|
|
1037
1015
|
case "AuthenticationFailedException":
|
|
@@ -1060,14 +1038,12 @@ const deserializeAws_json1_1CreateComputerCommandError = async (output, context)
|
|
|
1060
1038
|
throw await deserializeAws_json1_1UnsupportedOperationExceptionResponse(parsedOutput, context);
|
|
1061
1039
|
default:
|
|
1062
1040
|
const parsedBody = parsedOutput.body;
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
$metadata,
|
|
1041
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1042
|
+
output,
|
|
1043
|
+
parsedBody,
|
|
1044
|
+
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
1045
|
+
errorCode,
|
|
1069
1046
|
});
|
|
1070
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1071
1047
|
}
|
|
1072
1048
|
};
|
|
1073
1049
|
const deserializeAws_json1_1CreateConditionalForwarderCommand = async (output, context) => {
|
|
@@ -1089,7 +1065,6 @@ const deserializeAws_json1_1CreateConditionalForwarderCommandError = async (outp
|
|
|
1089
1065
|
...output,
|
|
1090
1066
|
body: await parseBody(output.body, context),
|
|
1091
1067
|
};
|
|
1092
|
-
let response;
|
|
1093
1068
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1094
1069
|
switch (errorCode) {
|
|
1095
1070
|
case "ClientException":
|
|
@@ -1115,14 +1090,12 @@ const deserializeAws_json1_1CreateConditionalForwarderCommandError = async (outp
|
|
|
1115
1090
|
throw await deserializeAws_json1_1UnsupportedOperationExceptionResponse(parsedOutput, context);
|
|
1116
1091
|
default:
|
|
1117
1092
|
const parsedBody = parsedOutput.body;
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
$metadata,
|
|
1093
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1094
|
+
output,
|
|
1095
|
+
parsedBody,
|
|
1096
|
+
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
1097
|
+
errorCode,
|
|
1124
1098
|
});
|
|
1125
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1126
1099
|
}
|
|
1127
1100
|
};
|
|
1128
1101
|
const deserializeAws_json1_1CreateDirectoryCommand = async (output, context) => {
|
|
@@ -1144,7 +1117,6 @@ const deserializeAws_json1_1CreateDirectoryCommandError = async (output, context
|
|
|
1144
1117
|
...output,
|
|
1145
1118
|
body: await parseBody(output.body, context),
|
|
1146
1119
|
};
|
|
1147
|
-
let response;
|
|
1148
1120
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1149
1121
|
switch (errorCode) {
|
|
1150
1122
|
case "ClientException":
|
|
@@ -1161,14 +1133,12 @@ const deserializeAws_json1_1CreateDirectoryCommandError = async (output, context
|
|
|
1161
1133
|
throw await deserializeAws_json1_1ServiceExceptionResponse(parsedOutput, context);
|
|
1162
1134
|
default:
|
|
1163
1135
|
const parsedBody = parsedOutput.body;
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
$metadata,
|
|
1136
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1137
|
+
output,
|
|
1138
|
+
parsedBody,
|
|
1139
|
+
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
1140
|
+
errorCode,
|
|
1170
1141
|
});
|
|
1171
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1172
1142
|
}
|
|
1173
1143
|
};
|
|
1174
1144
|
const deserializeAws_json1_1CreateLogSubscriptionCommand = async (output, context) => {
|
|
@@ -1190,7 +1160,6 @@ const deserializeAws_json1_1CreateLogSubscriptionCommandError = async (output, c
|
|
|
1190
1160
|
...output,
|
|
1191
1161
|
body: await parseBody(output.body, context),
|
|
1192
1162
|
};
|
|
1193
|
-
let response;
|
|
1194
1163
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1195
1164
|
switch (errorCode) {
|
|
1196
1165
|
case "ClientException":
|
|
@@ -1213,14 +1182,12 @@ const deserializeAws_json1_1CreateLogSubscriptionCommandError = async (output, c
|
|
|
1213
1182
|
throw await deserializeAws_json1_1UnsupportedOperationExceptionResponse(parsedOutput, context);
|
|
1214
1183
|
default:
|
|
1215
1184
|
const parsedBody = parsedOutput.body;
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
$metadata,
|
|
1185
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1186
|
+
output,
|
|
1187
|
+
parsedBody,
|
|
1188
|
+
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
1189
|
+
errorCode,
|
|
1222
1190
|
});
|
|
1223
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1224
1191
|
}
|
|
1225
1192
|
};
|
|
1226
1193
|
const deserializeAws_json1_1CreateMicrosoftADCommand = async (output, context) => {
|
|
@@ -1242,7 +1209,6 @@ const deserializeAws_json1_1CreateMicrosoftADCommandError = async (output, conte
|
|
|
1242
1209
|
...output,
|
|
1243
1210
|
body: await parseBody(output.body, context),
|
|
1244
1211
|
};
|
|
1245
|
-
let response;
|
|
1246
1212
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1247
1213
|
switch (errorCode) {
|
|
1248
1214
|
case "ClientException":
|
|
@@ -1262,14 +1228,12 @@ const deserializeAws_json1_1CreateMicrosoftADCommandError = async (output, conte
|
|
|
1262
1228
|
throw await deserializeAws_json1_1UnsupportedOperationExceptionResponse(parsedOutput, context);
|
|
1263
1229
|
default:
|
|
1264
1230
|
const parsedBody = parsedOutput.body;
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
$metadata,
|
|
1231
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1232
|
+
output,
|
|
1233
|
+
parsedBody,
|
|
1234
|
+
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
1235
|
+
errorCode,
|
|
1271
1236
|
});
|
|
1272
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1273
1237
|
}
|
|
1274
1238
|
};
|
|
1275
1239
|
const deserializeAws_json1_1CreateSnapshotCommand = async (output, context) => {
|
|
@@ -1291,7 +1255,6 @@ const deserializeAws_json1_1CreateSnapshotCommandError = async (output, context)
|
|
|
1291
1255
|
...output,
|
|
1292
1256
|
body: await parseBody(output.body, context),
|
|
1293
1257
|
};
|
|
1294
|
-
let response;
|
|
1295
1258
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1296
1259
|
switch (errorCode) {
|
|
1297
1260
|
case "ClientException":
|
|
@@ -1311,14 +1274,12 @@ const deserializeAws_json1_1CreateSnapshotCommandError = async (output, context)
|
|
|
1311
1274
|
throw await deserializeAws_json1_1SnapshotLimitExceededExceptionResponse(parsedOutput, context);
|
|
1312
1275
|
default:
|
|
1313
1276
|
const parsedBody = parsedOutput.body;
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
$metadata,
|
|
1277
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1278
|
+
output,
|
|
1279
|
+
parsedBody,
|
|
1280
|
+
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
1281
|
+
errorCode,
|
|
1320
1282
|
});
|
|
1321
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1322
1283
|
}
|
|
1323
1284
|
};
|
|
1324
1285
|
const deserializeAws_json1_1CreateTrustCommand = async (output, context) => {
|
|
@@ -1340,7 +1301,6 @@ const deserializeAws_json1_1CreateTrustCommandError = async (output, context) =>
|
|
|
1340
1301
|
...output,
|
|
1341
1302
|
body: await parseBody(output.body, context),
|
|
1342
1303
|
};
|
|
1343
|
-
let response;
|
|
1344
1304
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1345
1305
|
switch (errorCode) {
|
|
1346
1306
|
case "ClientException":
|
|
@@ -1363,14 +1323,12 @@ const deserializeAws_json1_1CreateTrustCommandError = async (output, context) =>
|
|
|
1363
1323
|
throw await deserializeAws_json1_1UnsupportedOperationExceptionResponse(parsedOutput, context);
|
|
1364
1324
|
default:
|
|
1365
1325
|
const parsedBody = parsedOutput.body;
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
$metadata,
|
|
1326
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1327
|
+
output,
|
|
1328
|
+
parsedBody,
|
|
1329
|
+
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
1330
|
+
errorCode,
|
|
1372
1331
|
});
|
|
1373
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1374
1332
|
}
|
|
1375
1333
|
};
|
|
1376
1334
|
const deserializeAws_json1_1DeleteConditionalForwarderCommand = async (output, context) => {
|
|
@@ -1392,7 +1350,6 @@ const deserializeAws_json1_1DeleteConditionalForwarderCommandError = async (outp
|
|
|
1392
1350
|
...output,
|
|
1393
1351
|
body: await parseBody(output.body, context),
|
|
1394
1352
|
};
|
|
1395
|
-
let response;
|
|
1396
1353
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1397
1354
|
switch (errorCode) {
|
|
1398
1355
|
case "ClientException":
|
|
@@ -1415,14 +1372,12 @@ const deserializeAws_json1_1DeleteConditionalForwarderCommandError = async (outp
|
|
|
1415
1372
|
throw await deserializeAws_json1_1UnsupportedOperationExceptionResponse(parsedOutput, context);
|
|
1416
1373
|
default:
|
|
1417
1374
|
const parsedBody = parsedOutput.body;
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
$metadata,
|
|
1375
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1376
|
+
output,
|
|
1377
|
+
parsedBody,
|
|
1378
|
+
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
1379
|
+
errorCode,
|
|
1424
1380
|
});
|
|
1425
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1426
1381
|
}
|
|
1427
1382
|
};
|
|
1428
1383
|
const deserializeAws_json1_1DeleteDirectoryCommand = async (output, context) => {
|
|
@@ -1444,7 +1399,6 @@ const deserializeAws_json1_1DeleteDirectoryCommandError = async (output, context
|
|
|
1444
1399
|
...output,
|
|
1445
1400
|
body: await parseBody(output.body, context),
|
|
1446
1401
|
};
|
|
1447
|
-
let response;
|
|
1448
1402
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1449
1403
|
switch (errorCode) {
|
|
1450
1404
|
case "ClientException":
|
|
@@ -1458,14 +1412,12 @@ const deserializeAws_json1_1DeleteDirectoryCommandError = async (output, context
|
|
|
1458
1412
|
throw await deserializeAws_json1_1ServiceExceptionResponse(parsedOutput, context);
|
|
1459
1413
|
default:
|
|
1460
1414
|
const parsedBody = parsedOutput.body;
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
$metadata,
|
|
1415
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1416
|
+
output,
|
|
1417
|
+
parsedBody,
|
|
1418
|
+
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
1419
|
+
errorCode,
|
|
1467
1420
|
});
|
|
1468
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1469
1421
|
}
|
|
1470
1422
|
};
|
|
1471
1423
|
const deserializeAws_json1_1DeleteLogSubscriptionCommand = async (output, context) => {
|
|
@@ -1487,7 +1439,6 @@ const deserializeAws_json1_1DeleteLogSubscriptionCommandError = async (output, c
|
|
|
1487
1439
|
...output,
|
|
1488
1440
|
body: await parseBody(output.body, context),
|
|
1489
1441
|
};
|
|
1490
|
-
let response;
|
|
1491
1442
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1492
1443
|
switch (errorCode) {
|
|
1493
1444
|
case "ClientException":
|
|
@@ -1504,14 +1455,12 @@ const deserializeAws_json1_1DeleteLogSubscriptionCommandError = async (output, c
|
|
|
1504
1455
|
throw await deserializeAws_json1_1UnsupportedOperationExceptionResponse(parsedOutput, context);
|
|
1505
1456
|
default:
|
|
1506
1457
|
const parsedBody = parsedOutput.body;
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
$metadata,
|
|
1458
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1459
|
+
output,
|
|
1460
|
+
parsedBody,
|
|
1461
|
+
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
1462
|
+
errorCode,
|
|
1513
1463
|
});
|
|
1514
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1515
1464
|
}
|
|
1516
1465
|
};
|
|
1517
1466
|
const deserializeAws_json1_1DeleteSnapshotCommand = async (output, context) => {
|
|
@@ -1533,7 +1482,6 @@ const deserializeAws_json1_1DeleteSnapshotCommandError = async (output, context)
|
|
|
1533
1482
|
...output,
|
|
1534
1483
|
body: await parseBody(output.body, context),
|
|
1535
1484
|
};
|
|
1536
|
-
let response;
|
|
1537
1485
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1538
1486
|
switch (errorCode) {
|
|
1539
1487
|
case "ClientException":
|
|
@@ -1550,14 +1498,12 @@ const deserializeAws_json1_1DeleteSnapshotCommandError = async (output, context)
|
|
|
1550
1498
|
throw await deserializeAws_json1_1ServiceExceptionResponse(parsedOutput, context);
|
|
1551
1499
|
default:
|
|
1552
1500
|
const parsedBody = parsedOutput.body;
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
$metadata,
|
|
1501
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1502
|
+
output,
|
|
1503
|
+
parsedBody,
|
|
1504
|
+
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
1505
|
+
errorCode,
|
|
1559
1506
|
});
|
|
1560
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1561
1507
|
}
|
|
1562
1508
|
};
|
|
1563
1509
|
const deserializeAws_json1_1DeleteTrustCommand = async (output, context) => {
|
|
@@ -1579,7 +1525,6 @@ const deserializeAws_json1_1DeleteTrustCommandError = async (output, context) =>
|
|
|
1579
1525
|
...output,
|
|
1580
1526
|
body: await parseBody(output.body, context),
|
|
1581
1527
|
};
|
|
1582
|
-
let response;
|
|
1583
1528
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1584
1529
|
switch (errorCode) {
|
|
1585
1530
|
case "ClientException":
|
|
@@ -1599,14 +1544,12 @@ const deserializeAws_json1_1DeleteTrustCommandError = async (output, context) =>
|
|
|
1599
1544
|
throw await deserializeAws_json1_1UnsupportedOperationExceptionResponse(parsedOutput, context);
|
|
1600
1545
|
default:
|
|
1601
1546
|
const parsedBody = parsedOutput.body;
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
$metadata,
|
|
1547
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1548
|
+
output,
|
|
1549
|
+
parsedBody,
|
|
1550
|
+
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
1551
|
+
errorCode,
|
|
1608
1552
|
});
|
|
1609
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1610
1553
|
}
|
|
1611
1554
|
};
|
|
1612
1555
|
const deserializeAws_json1_1DeregisterCertificateCommand = async (output, context) => {
|
|
@@ -1628,7 +1571,6 @@ const deserializeAws_json1_1DeregisterCertificateCommandError = async (output, c
|
|
|
1628
1571
|
...output,
|
|
1629
1572
|
body: await parseBody(output.body, context),
|
|
1630
1573
|
};
|
|
1631
|
-
let response;
|
|
1632
1574
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1633
1575
|
switch (errorCode) {
|
|
1634
1576
|
case "CertificateDoesNotExistException":
|
|
@@ -1657,14 +1599,12 @@ const deserializeAws_json1_1DeregisterCertificateCommandError = async (output, c
|
|
|
1657
1599
|
throw await deserializeAws_json1_1UnsupportedOperationExceptionResponse(parsedOutput, context);
|
|
1658
1600
|
default:
|
|
1659
1601
|
const parsedBody = parsedOutput.body;
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
$metadata,
|
|
1602
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1603
|
+
output,
|
|
1604
|
+
parsedBody,
|
|
1605
|
+
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
1606
|
+
errorCode,
|
|
1666
1607
|
});
|
|
1667
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1668
1608
|
}
|
|
1669
1609
|
};
|
|
1670
1610
|
const deserializeAws_json1_1DeregisterEventTopicCommand = async (output, context) => {
|
|
@@ -1686,7 +1626,6 @@ const deserializeAws_json1_1DeregisterEventTopicCommandError = async (output, co
|
|
|
1686
1626
|
...output,
|
|
1687
1627
|
body: await parseBody(output.body, context),
|
|
1688
1628
|
};
|
|
1689
|
-
let response;
|
|
1690
1629
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1691
1630
|
switch (errorCode) {
|
|
1692
1631
|
case "ClientException":
|
|
@@ -1703,14 +1642,12 @@ const deserializeAws_json1_1DeregisterEventTopicCommandError = async (output, co
|
|
|
1703
1642
|
throw await deserializeAws_json1_1ServiceExceptionResponse(parsedOutput, context);
|
|
1704
1643
|
default:
|
|
1705
1644
|
const parsedBody = parsedOutput.body;
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
$metadata,
|
|
1645
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1646
|
+
output,
|
|
1647
|
+
parsedBody,
|
|
1648
|
+
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
1649
|
+
errorCode,
|
|
1712
1650
|
});
|
|
1713
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1714
1651
|
}
|
|
1715
1652
|
};
|
|
1716
1653
|
const deserializeAws_json1_1DescribeCertificateCommand = async (output, context) => {
|
|
@@ -1732,7 +1669,6 @@ const deserializeAws_json1_1DescribeCertificateCommandError = async (output, con
|
|
|
1732
1669
|
...output,
|
|
1733
1670
|
body: await parseBody(output.body, context),
|
|
1734
1671
|
};
|
|
1735
|
-
let response;
|
|
1736
1672
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1737
1673
|
switch (errorCode) {
|
|
1738
1674
|
case "CertificateDoesNotExistException":
|
|
@@ -1755,14 +1691,12 @@ const deserializeAws_json1_1DescribeCertificateCommandError = async (output, con
|
|
|
1755
1691
|
throw await deserializeAws_json1_1UnsupportedOperationExceptionResponse(parsedOutput, context);
|
|
1756
1692
|
default:
|
|
1757
1693
|
const parsedBody = parsedOutput.body;
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
$metadata,
|
|
1694
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1695
|
+
output,
|
|
1696
|
+
parsedBody,
|
|
1697
|
+
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
1698
|
+
errorCode,
|
|
1764
1699
|
});
|
|
1765
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1766
1700
|
}
|
|
1767
1701
|
};
|
|
1768
1702
|
const deserializeAws_json1_1DescribeClientAuthenticationSettingsCommand = async (output, context) => {
|
|
@@ -1784,7 +1718,6 @@ const deserializeAws_json1_1DescribeClientAuthenticationSettingsCommandError = a
|
|
|
1784
1718
|
...output,
|
|
1785
1719
|
body: await parseBody(output.body, context),
|
|
1786
1720
|
};
|
|
1787
|
-
let response;
|
|
1788
1721
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1789
1722
|
switch (errorCode) {
|
|
1790
1723
|
case "AccessDeniedException":
|
|
@@ -1807,14 +1740,12 @@ const deserializeAws_json1_1DescribeClientAuthenticationSettingsCommandError = a
|
|
|
1807
1740
|
throw await deserializeAws_json1_1UnsupportedOperationExceptionResponse(parsedOutput, context);
|
|
1808
1741
|
default:
|
|
1809
1742
|
const parsedBody = parsedOutput.body;
|
|
1810
|
-
|
|
1811
|
-
|
|
1812
|
-
|
|
1813
|
-
|
|
1814
|
-
|
|
1815
|
-
$metadata,
|
|
1743
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1744
|
+
output,
|
|
1745
|
+
parsedBody,
|
|
1746
|
+
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
1747
|
+
errorCode,
|
|
1816
1748
|
});
|
|
1817
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1818
1749
|
}
|
|
1819
1750
|
};
|
|
1820
1751
|
const deserializeAws_json1_1DescribeConditionalForwardersCommand = async (output, context) => {
|
|
@@ -1836,7 +1767,6 @@ const deserializeAws_json1_1DescribeConditionalForwardersCommandError = async (o
|
|
|
1836
1767
|
...output,
|
|
1837
1768
|
body: await parseBody(output.body, context),
|
|
1838
1769
|
};
|
|
1839
|
-
let response;
|
|
1840
1770
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1841
1771
|
switch (errorCode) {
|
|
1842
1772
|
case "ClientException":
|
|
@@ -1859,14 +1789,12 @@ const deserializeAws_json1_1DescribeConditionalForwardersCommandError = async (o
|
|
|
1859
1789
|
throw await deserializeAws_json1_1UnsupportedOperationExceptionResponse(parsedOutput, context);
|
|
1860
1790
|
default:
|
|
1861
1791
|
const parsedBody = parsedOutput.body;
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
$metadata,
|
|
1792
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1793
|
+
output,
|
|
1794
|
+
parsedBody,
|
|
1795
|
+
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
1796
|
+
errorCode,
|
|
1868
1797
|
});
|
|
1869
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1870
1798
|
}
|
|
1871
1799
|
};
|
|
1872
1800
|
const deserializeAws_json1_1DescribeDirectoriesCommand = async (output, context) => {
|
|
@@ -1888,7 +1816,6 @@ const deserializeAws_json1_1DescribeDirectoriesCommandError = async (output, con
|
|
|
1888
1816
|
...output,
|
|
1889
1817
|
body: await parseBody(output.body, context),
|
|
1890
1818
|
};
|
|
1891
|
-
let response;
|
|
1892
1819
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1893
1820
|
switch (errorCode) {
|
|
1894
1821
|
case "ClientException":
|
|
@@ -1908,14 +1835,12 @@ const deserializeAws_json1_1DescribeDirectoriesCommandError = async (output, con
|
|
|
1908
1835
|
throw await deserializeAws_json1_1ServiceExceptionResponse(parsedOutput, context);
|
|
1909
1836
|
default:
|
|
1910
1837
|
const parsedBody = parsedOutput.body;
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
|
|
1914
|
-
|
|
1915
|
-
|
|
1916
|
-
$metadata,
|
|
1838
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1839
|
+
output,
|
|
1840
|
+
parsedBody,
|
|
1841
|
+
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
1842
|
+
errorCode,
|
|
1917
1843
|
});
|
|
1918
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1919
1844
|
}
|
|
1920
1845
|
};
|
|
1921
1846
|
const deserializeAws_json1_1DescribeDomainControllersCommand = async (output, context) => {
|
|
@@ -1937,7 +1862,6 @@ const deserializeAws_json1_1DescribeDomainControllersCommandError = async (outpu
|
|
|
1937
1862
|
...output,
|
|
1938
1863
|
body: await parseBody(output.body, context),
|
|
1939
1864
|
};
|
|
1940
|
-
let response;
|
|
1941
1865
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1942
1866
|
switch (errorCode) {
|
|
1943
1867
|
case "ClientException":
|
|
@@ -1960,14 +1884,12 @@ const deserializeAws_json1_1DescribeDomainControllersCommandError = async (outpu
|
|
|
1960
1884
|
throw await deserializeAws_json1_1UnsupportedOperationExceptionResponse(parsedOutput, context);
|
|
1961
1885
|
default:
|
|
1962
1886
|
const parsedBody = parsedOutput.body;
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
|
-
|
|
1966
|
-
|
|
1967
|
-
|
|
1968
|
-
$metadata,
|
|
1887
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1888
|
+
output,
|
|
1889
|
+
parsedBody,
|
|
1890
|
+
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
1891
|
+
errorCode,
|
|
1969
1892
|
});
|
|
1970
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1971
1893
|
}
|
|
1972
1894
|
};
|
|
1973
1895
|
const deserializeAws_json1_1DescribeEventTopicsCommand = async (output, context) => {
|
|
@@ -1989,7 +1911,6 @@ const deserializeAws_json1_1DescribeEventTopicsCommandError = async (output, con
|
|
|
1989
1911
|
...output,
|
|
1990
1912
|
body: await parseBody(output.body, context),
|
|
1991
1913
|
};
|
|
1992
|
-
let response;
|
|
1993
1914
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1994
1915
|
switch (errorCode) {
|
|
1995
1916
|
case "ClientException":
|
|
@@ -2006,14 +1927,12 @@ const deserializeAws_json1_1DescribeEventTopicsCommandError = async (output, con
|
|
|
2006
1927
|
throw await deserializeAws_json1_1ServiceExceptionResponse(parsedOutput, context);
|
|
2007
1928
|
default:
|
|
2008
1929
|
const parsedBody = parsedOutput.body;
|
|
2009
|
-
|
|
2010
|
-
|
|
2011
|
-
|
|
2012
|
-
|
|
2013
|
-
|
|
2014
|
-
$metadata,
|
|
1930
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1931
|
+
output,
|
|
1932
|
+
parsedBody,
|
|
1933
|
+
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
1934
|
+
errorCode,
|
|
2015
1935
|
});
|
|
2016
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2017
1936
|
}
|
|
2018
1937
|
};
|
|
2019
1938
|
const deserializeAws_json1_1DescribeLDAPSSettingsCommand = async (output, context) => {
|
|
@@ -2035,7 +1954,6 @@ const deserializeAws_json1_1DescribeLDAPSSettingsCommandError = async (output, c
|
|
|
2035
1954
|
...output,
|
|
2036
1955
|
body: await parseBody(output.body, context),
|
|
2037
1956
|
};
|
|
2038
|
-
let response;
|
|
2039
1957
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2040
1958
|
switch (errorCode) {
|
|
2041
1959
|
case "ClientException":
|
|
@@ -2058,14 +1976,12 @@ const deserializeAws_json1_1DescribeLDAPSSettingsCommandError = async (output, c
|
|
|
2058
1976
|
throw await deserializeAws_json1_1UnsupportedOperationExceptionResponse(parsedOutput, context);
|
|
2059
1977
|
default:
|
|
2060
1978
|
const parsedBody = parsedOutput.body;
|
|
2061
|
-
|
|
2062
|
-
|
|
2063
|
-
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
$metadata,
|
|
1979
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1980
|
+
output,
|
|
1981
|
+
parsedBody,
|
|
1982
|
+
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
1983
|
+
errorCode,
|
|
2067
1984
|
});
|
|
2068
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2069
1985
|
}
|
|
2070
1986
|
};
|
|
2071
1987
|
const deserializeAws_json1_1DescribeRegionsCommand = async (output, context) => {
|
|
@@ -2087,7 +2003,6 @@ const deserializeAws_json1_1DescribeRegionsCommandError = async (output, context
|
|
|
2087
2003
|
...output,
|
|
2088
2004
|
body: await parseBody(output.body, context),
|
|
2089
2005
|
};
|
|
2090
|
-
let response;
|
|
2091
2006
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2092
2007
|
switch (errorCode) {
|
|
2093
2008
|
case "AccessDeniedException":
|
|
@@ -2113,14 +2028,12 @@ const deserializeAws_json1_1DescribeRegionsCommandError = async (output, context
|
|
|
2113
2028
|
throw await deserializeAws_json1_1UnsupportedOperationExceptionResponse(parsedOutput, context);
|
|
2114
2029
|
default:
|
|
2115
2030
|
const parsedBody = parsedOutput.body;
|
|
2116
|
-
|
|
2117
|
-
|
|
2118
|
-
|
|
2119
|
-
|
|
2120
|
-
|
|
2121
|
-
$metadata,
|
|
2031
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2032
|
+
output,
|
|
2033
|
+
parsedBody,
|
|
2034
|
+
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
2035
|
+
errorCode,
|
|
2122
2036
|
});
|
|
2123
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2124
2037
|
}
|
|
2125
2038
|
};
|
|
2126
2039
|
const deserializeAws_json1_1DescribeSettingsCommand = async (output, context) => {
|
|
@@ -2142,7 +2055,6 @@ const deserializeAws_json1_1DescribeSettingsCommandError = async (output, contex
|
|
|
2142
2055
|
...output,
|
|
2143
2056
|
body: await parseBody(output.body, context),
|
|
2144
2057
|
};
|
|
2145
|
-
let response;
|
|
2146
2058
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2147
2059
|
switch (errorCode) {
|
|
2148
2060
|
case "ClientException":
|
|
@@ -2165,14 +2077,12 @@ const deserializeAws_json1_1DescribeSettingsCommandError = async (output, contex
|
|
|
2165
2077
|
throw await deserializeAws_json1_1UnsupportedOperationExceptionResponse(parsedOutput, context);
|
|
2166
2078
|
default:
|
|
2167
2079
|
const parsedBody = parsedOutput.body;
|
|
2168
|
-
|
|
2169
|
-
|
|
2170
|
-
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
$metadata,
|
|
2080
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2081
|
+
output,
|
|
2082
|
+
parsedBody,
|
|
2083
|
+
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
2084
|
+
errorCode,
|
|
2174
2085
|
});
|
|
2175
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2176
2086
|
}
|
|
2177
2087
|
};
|
|
2178
2088
|
const deserializeAws_json1_1DescribeSharedDirectoriesCommand = async (output, context) => {
|
|
@@ -2194,7 +2104,6 @@ const deserializeAws_json1_1DescribeSharedDirectoriesCommandError = async (outpu
|
|
|
2194
2104
|
...output,
|
|
2195
2105
|
body: await parseBody(output.body, context),
|
|
2196
2106
|
};
|
|
2197
|
-
let response;
|
|
2198
2107
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2199
2108
|
switch (errorCode) {
|
|
2200
2109
|
case "ClientException":
|
|
@@ -2217,14 +2126,12 @@ const deserializeAws_json1_1DescribeSharedDirectoriesCommandError = async (outpu
|
|
|
2217
2126
|
throw await deserializeAws_json1_1UnsupportedOperationExceptionResponse(parsedOutput, context);
|
|
2218
2127
|
default:
|
|
2219
2128
|
const parsedBody = parsedOutput.body;
|
|
2220
|
-
|
|
2221
|
-
|
|
2222
|
-
|
|
2223
|
-
|
|
2224
|
-
|
|
2225
|
-
$metadata,
|
|
2129
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2130
|
+
output,
|
|
2131
|
+
parsedBody,
|
|
2132
|
+
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
2133
|
+
errorCode,
|
|
2226
2134
|
});
|
|
2227
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2228
2135
|
}
|
|
2229
2136
|
};
|
|
2230
2137
|
const deserializeAws_json1_1DescribeSnapshotsCommand = async (output, context) => {
|
|
@@ -2246,7 +2153,6 @@ const deserializeAws_json1_1DescribeSnapshotsCommandError = async (output, conte
|
|
|
2246
2153
|
...output,
|
|
2247
2154
|
body: await parseBody(output.body, context),
|
|
2248
2155
|
};
|
|
2249
|
-
let response;
|
|
2250
2156
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2251
2157
|
switch (errorCode) {
|
|
2252
2158
|
case "ClientException":
|
|
@@ -2266,14 +2172,12 @@ const deserializeAws_json1_1DescribeSnapshotsCommandError = async (output, conte
|
|
|
2266
2172
|
throw await deserializeAws_json1_1ServiceExceptionResponse(parsedOutput, context);
|
|
2267
2173
|
default:
|
|
2268
2174
|
const parsedBody = parsedOutput.body;
|
|
2269
|
-
|
|
2270
|
-
|
|
2271
|
-
|
|
2272
|
-
|
|
2273
|
-
|
|
2274
|
-
$metadata,
|
|
2175
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2176
|
+
output,
|
|
2177
|
+
parsedBody,
|
|
2178
|
+
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
2179
|
+
errorCode,
|
|
2275
2180
|
});
|
|
2276
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2277
2181
|
}
|
|
2278
2182
|
};
|
|
2279
2183
|
const deserializeAws_json1_1DescribeTrustsCommand = async (output, context) => {
|
|
@@ -2295,7 +2199,6 @@ const deserializeAws_json1_1DescribeTrustsCommandError = async (output, context)
|
|
|
2295
2199
|
...output,
|
|
2296
2200
|
body: await parseBody(output.body, context),
|
|
2297
2201
|
};
|
|
2298
|
-
let response;
|
|
2299
2202
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2300
2203
|
switch (errorCode) {
|
|
2301
2204
|
case "ClientException":
|
|
@@ -2318,14 +2221,12 @@ const deserializeAws_json1_1DescribeTrustsCommandError = async (output, context)
|
|
|
2318
2221
|
throw await deserializeAws_json1_1UnsupportedOperationExceptionResponse(parsedOutput, context);
|
|
2319
2222
|
default:
|
|
2320
2223
|
const parsedBody = parsedOutput.body;
|
|
2321
|
-
|
|
2322
|
-
|
|
2323
|
-
|
|
2324
|
-
|
|
2325
|
-
|
|
2326
|
-
$metadata,
|
|
2224
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2225
|
+
output,
|
|
2226
|
+
parsedBody,
|
|
2227
|
+
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
2228
|
+
errorCode,
|
|
2327
2229
|
});
|
|
2328
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2329
2230
|
}
|
|
2330
2231
|
};
|
|
2331
2232
|
const deserializeAws_json1_1DisableClientAuthenticationCommand = async (output, context) => {
|
|
@@ -2347,7 +2248,6 @@ const deserializeAws_json1_1DisableClientAuthenticationCommandError = async (out
|
|
|
2347
2248
|
...output,
|
|
2348
2249
|
body: await parseBody(output.body, context),
|
|
2349
2250
|
};
|
|
2350
|
-
let response;
|
|
2351
2251
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2352
2252
|
switch (errorCode) {
|
|
2353
2253
|
case "AccessDeniedException":
|
|
@@ -2370,14 +2270,12 @@ const deserializeAws_json1_1DisableClientAuthenticationCommandError = async (out
|
|
|
2370
2270
|
throw await deserializeAws_json1_1UnsupportedOperationExceptionResponse(parsedOutput, context);
|
|
2371
2271
|
default:
|
|
2372
2272
|
const parsedBody = parsedOutput.body;
|
|
2373
|
-
|
|
2374
|
-
|
|
2375
|
-
|
|
2376
|
-
|
|
2377
|
-
|
|
2378
|
-
$metadata,
|
|
2273
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2274
|
+
output,
|
|
2275
|
+
parsedBody,
|
|
2276
|
+
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
2277
|
+
errorCode,
|
|
2379
2278
|
});
|
|
2380
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2381
2279
|
}
|
|
2382
2280
|
};
|
|
2383
2281
|
const deserializeAws_json1_1DisableLDAPSCommand = async (output, context) => {
|
|
@@ -2399,7 +2297,6 @@ const deserializeAws_json1_1DisableLDAPSCommandError = async (output, context) =
|
|
|
2399
2297
|
...output,
|
|
2400
2298
|
body: await parseBody(output.body, context),
|
|
2401
2299
|
};
|
|
2402
|
-
let response;
|
|
2403
2300
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2404
2301
|
switch (errorCode) {
|
|
2405
2302
|
case "ClientException":
|
|
@@ -2425,14 +2322,12 @@ const deserializeAws_json1_1DisableLDAPSCommandError = async (output, context) =
|
|
|
2425
2322
|
throw await deserializeAws_json1_1UnsupportedOperationExceptionResponse(parsedOutput, context);
|
|
2426
2323
|
default:
|
|
2427
2324
|
const parsedBody = parsedOutput.body;
|
|
2428
|
-
|
|
2429
|
-
|
|
2430
|
-
|
|
2431
|
-
|
|
2432
|
-
|
|
2433
|
-
$metadata,
|
|
2325
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2326
|
+
output,
|
|
2327
|
+
parsedBody,
|
|
2328
|
+
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
2329
|
+
errorCode,
|
|
2434
2330
|
});
|
|
2435
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2436
2331
|
}
|
|
2437
2332
|
};
|
|
2438
2333
|
const deserializeAws_json1_1DisableRadiusCommand = async (output, context) => {
|
|
@@ -2454,7 +2349,6 @@ const deserializeAws_json1_1DisableRadiusCommandError = async (output, context)
|
|
|
2454
2349
|
...output,
|
|
2455
2350
|
body: await parseBody(output.body, context),
|
|
2456
2351
|
};
|
|
2457
|
-
let response;
|
|
2458
2352
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2459
2353
|
switch (errorCode) {
|
|
2460
2354
|
case "ClientException":
|
|
@@ -2468,14 +2362,12 @@ const deserializeAws_json1_1DisableRadiusCommandError = async (output, context)
|
|
|
2468
2362
|
throw await deserializeAws_json1_1ServiceExceptionResponse(parsedOutput, context);
|
|
2469
2363
|
default:
|
|
2470
2364
|
const parsedBody = parsedOutput.body;
|
|
2471
|
-
|
|
2472
|
-
|
|
2473
|
-
|
|
2474
|
-
|
|
2475
|
-
|
|
2476
|
-
$metadata,
|
|
2365
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2366
|
+
output,
|
|
2367
|
+
parsedBody,
|
|
2368
|
+
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
2369
|
+
errorCode,
|
|
2477
2370
|
});
|
|
2478
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2479
2371
|
}
|
|
2480
2372
|
};
|
|
2481
2373
|
const deserializeAws_json1_1DisableSsoCommand = async (output, context) => {
|
|
@@ -2497,7 +2389,6 @@ const deserializeAws_json1_1DisableSsoCommandError = async (output, context) =>
|
|
|
2497
2389
|
...output,
|
|
2498
2390
|
body: await parseBody(output.body, context),
|
|
2499
2391
|
};
|
|
2500
|
-
let response;
|
|
2501
2392
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2502
2393
|
switch (errorCode) {
|
|
2503
2394
|
case "AuthenticationFailedException":
|
|
@@ -2517,14 +2408,12 @@ const deserializeAws_json1_1DisableSsoCommandError = async (output, context) =>
|
|
|
2517
2408
|
throw await deserializeAws_json1_1ServiceExceptionResponse(parsedOutput, context);
|
|
2518
2409
|
default:
|
|
2519
2410
|
const parsedBody = parsedOutput.body;
|
|
2520
|
-
|
|
2521
|
-
|
|
2522
|
-
|
|
2523
|
-
|
|
2524
|
-
|
|
2525
|
-
$metadata,
|
|
2411
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2412
|
+
output,
|
|
2413
|
+
parsedBody,
|
|
2414
|
+
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
2415
|
+
errorCode,
|
|
2526
2416
|
});
|
|
2527
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2528
2417
|
}
|
|
2529
2418
|
};
|
|
2530
2419
|
const deserializeAws_json1_1EnableClientAuthenticationCommand = async (output, context) => {
|
|
@@ -2546,7 +2435,6 @@ const deserializeAws_json1_1EnableClientAuthenticationCommandError = async (outp
|
|
|
2546
2435
|
...output,
|
|
2547
2436
|
body: await parseBody(output.body, context),
|
|
2548
2437
|
};
|
|
2549
|
-
let response;
|
|
2550
2438
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2551
2439
|
switch (errorCode) {
|
|
2552
2440
|
case "AccessDeniedException":
|
|
@@ -2572,14 +2460,12 @@ const deserializeAws_json1_1EnableClientAuthenticationCommandError = async (outp
|
|
|
2572
2460
|
throw await deserializeAws_json1_1UnsupportedOperationExceptionResponse(parsedOutput, context);
|
|
2573
2461
|
default:
|
|
2574
2462
|
const parsedBody = parsedOutput.body;
|
|
2575
|
-
|
|
2576
|
-
|
|
2577
|
-
|
|
2578
|
-
|
|
2579
|
-
|
|
2580
|
-
$metadata,
|
|
2463
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2464
|
+
output,
|
|
2465
|
+
parsedBody,
|
|
2466
|
+
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
2467
|
+
errorCode,
|
|
2581
2468
|
});
|
|
2582
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2583
2469
|
}
|
|
2584
2470
|
};
|
|
2585
2471
|
const deserializeAws_json1_1EnableLDAPSCommand = async (output, context) => {
|
|
@@ -2601,7 +2487,6 @@ const deserializeAws_json1_1EnableLDAPSCommandError = async (output, context) =>
|
|
|
2601
2487
|
...output,
|
|
2602
2488
|
body: await parseBody(output.body, context),
|
|
2603
2489
|
};
|
|
2604
|
-
let response;
|
|
2605
2490
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2606
2491
|
switch (errorCode) {
|
|
2607
2492
|
case "ClientException":
|
|
@@ -2630,14 +2515,12 @@ const deserializeAws_json1_1EnableLDAPSCommandError = async (output, context) =>
|
|
|
2630
2515
|
throw await deserializeAws_json1_1UnsupportedOperationExceptionResponse(parsedOutput, context);
|
|
2631
2516
|
default:
|
|
2632
2517
|
const parsedBody = parsedOutput.body;
|
|
2633
|
-
|
|
2634
|
-
|
|
2635
|
-
|
|
2636
|
-
|
|
2637
|
-
|
|
2638
|
-
$metadata,
|
|
2518
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2519
|
+
output,
|
|
2520
|
+
parsedBody,
|
|
2521
|
+
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
2522
|
+
errorCode,
|
|
2639
2523
|
});
|
|
2640
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2641
2524
|
}
|
|
2642
2525
|
};
|
|
2643
2526
|
const deserializeAws_json1_1EnableRadiusCommand = async (output, context) => {
|
|
@@ -2659,7 +2542,6 @@ const deserializeAws_json1_1EnableRadiusCommandError = async (output, context) =
|
|
|
2659
2542
|
...output,
|
|
2660
2543
|
body: await parseBody(output.body, context),
|
|
2661
2544
|
};
|
|
2662
|
-
let response;
|
|
2663
2545
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2664
2546
|
switch (errorCode) {
|
|
2665
2547
|
case "ClientException":
|
|
@@ -2679,14 +2561,12 @@ const deserializeAws_json1_1EnableRadiusCommandError = async (output, context) =
|
|
|
2679
2561
|
throw await deserializeAws_json1_1ServiceExceptionResponse(parsedOutput, context);
|
|
2680
2562
|
default:
|
|
2681
2563
|
const parsedBody = parsedOutput.body;
|
|
2682
|
-
|
|
2683
|
-
|
|
2684
|
-
|
|
2685
|
-
|
|
2686
|
-
|
|
2687
|
-
$metadata,
|
|
2564
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2565
|
+
output,
|
|
2566
|
+
parsedBody,
|
|
2567
|
+
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
2568
|
+
errorCode,
|
|
2688
2569
|
});
|
|
2689
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2690
2570
|
}
|
|
2691
2571
|
};
|
|
2692
2572
|
const deserializeAws_json1_1EnableSsoCommand = async (output, context) => {
|
|
@@ -2708,7 +2588,6 @@ const deserializeAws_json1_1EnableSsoCommandError = async (output, context) => {
|
|
|
2708
2588
|
...output,
|
|
2709
2589
|
body: await parseBody(output.body, context),
|
|
2710
2590
|
};
|
|
2711
|
-
let response;
|
|
2712
2591
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2713
2592
|
switch (errorCode) {
|
|
2714
2593
|
case "AuthenticationFailedException":
|
|
@@ -2728,14 +2607,12 @@ const deserializeAws_json1_1EnableSsoCommandError = async (output, context) => {
|
|
|
2728
2607
|
throw await deserializeAws_json1_1ServiceExceptionResponse(parsedOutput, context);
|
|
2729
2608
|
default:
|
|
2730
2609
|
const parsedBody = parsedOutput.body;
|
|
2731
|
-
|
|
2732
|
-
|
|
2733
|
-
|
|
2734
|
-
|
|
2735
|
-
|
|
2736
|
-
$metadata,
|
|
2610
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2611
|
+
output,
|
|
2612
|
+
parsedBody,
|
|
2613
|
+
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
2614
|
+
errorCode,
|
|
2737
2615
|
});
|
|
2738
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2739
2616
|
}
|
|
2740
2617
|
};
|
|
2741
2618
|
const deserializeAws_json1_1GetDirectoryLimitsCommand = async (output, context) => {
|
|
@@ -2757,7 +2634,6 @@ const deserializeAws_json1_1GetDirectoryLimitsCommandError = async (output, cont
|
|
|
2757
2634
|
...output,
|
|
2758
2635
|
body: await parseBody(output.body, context),
|
|
2759
2636
|
};
|
|
2760
|
-
let response;
|
|
2761
2637
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2762
2638
|
switch (errorCode) {
|
|
2763
2639
|
case "ClientException":
|
|
@@ -2771,14 +2647,12 @@ const deserializeAws_json1_1GetDirectoryLimitsCommandError = async (output, cont
|
|
|
2771
2647
|
throw await deserializeAws_json1_1ServiceExceptionResponse(parsedOutput, context);
|
|
2772
2648
|
default:
|
|
2773
2649
|
const parsedBody = parsedOutput.body;
|
|
2774
|
-
|
|
2775
|
-
|
|
2776
|
-
|
|
2777
|
-
|
|
2778
|
-
|
|
2779
|
-
$metadata,
|
|
2650
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2651
|
+
output,
|
|
2652
|
+
parsedBody,
|
|
2653
|
+
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
2654
|
+
errorCode,
|
|
2780
2655
|
});
|
|
2781
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2782
2656
|
}
|
|
2783
2657
|
};
|
|
2784
2658
|
const deserializeAws_json1_1GetSnapshotLimitsCommand = async (output, context) => {
|
|
@@ -2800,7 +2674,6 @@ const deserializeAws_json1_1GetSnapshotLimitsCommandError = async (output, conte
|
|
|
2800
2674
|
...output,
|
|
2801
2675
|
body: await parseBody(output.body, context),
|
|
2802
2676
|
};
|
|
2803
|
-
let response;
|
|
2804
2677
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2805
2678
|
switch (errorCode) {
|
|
2806
2679
|
case "ClientException":
|
|
@@ -2814,14 +2687,12 @@ const deserializeAws_json1_1GetSnapshotLimitsCommandError = async (output, conte
|
|
|
2814
2687
|
throw await deserializeAws_json1_1ServiceExceptionResponse(parsedOutput, context);
|
|
2815
2688
|
default:
|
|
2816
2689
|
const parsedBody = parsedOutput.body;
|
|
2817
|
-
|
|
2818
|
-
|
|
2819
|
-
|
|
2820
|
-
|
|
2821
|
-
|
|
2822
|
-
$metadata,
|
|
2690
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2691
|
+
output,
|
|
2692
|
+
parsedBody,
|
|
2693
|
+
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
2694
|
+
errorCode,
|
|
2823
2695
|
});
|
|
2824
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2825
2696
|
}
|
|
2826
2697
|
};
|
|
2827
2698
|
const deserializeAws_json1_1ListCertificatesCommand = async (output, context) => {
|
|
@@ -2843,7 +2714,6 @@ const deserializeAws_json1_1ListCertificatesCommandError = async (output, contex
|
|
|
2843
2714
|
...output,
|
|
2844
2715
|
body: await parseBody(output.body, context),
|
|
2845
2716
|
};
|
|
2846
|
-
let response;
|
|
2847
2717
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2848
2718
|
switch (errorCode) {
|
|
2849
2719
|
case "ClientException":
|
|
@@ -2866,14 +2736,12 @@ const deserializeAws_json1_1ListCertificatesCommandError = async (output, contex
|
|
|
2866
2736
|
throw await deserializeAws_json1_1UnsupportedOperationExceptionResponse(parsedOutput, context);
|
|
2867
2737
|
default:
|
|
2868
2738
|
const parsedBody = parsedOutput.body;
|
|
2869
|
-
|
|
2870
|
-
|
|
2871
|
-
|
|
2872
|
-
|
|
2873
|
-
|
|
2874
|
-
$metadata,
|
|
2739
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2740
|
+
output,
|
|
2741
|
+
parsedBody,
|
|
2742
|
+
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
2743
|
+
errorCode,
|
|
2875
2744
|
});
|
|
2876
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2877
2745
|
}
|
|
2878
2746
|
};
|
|
2879
2747
|
const deserializeAws_json1_1ListIpRoutesCommand = async (output, context) => {
|
|
@@ -2895,7 +2763,6 @@ const deserializeAws_json1_1ListIpRoutesCommandError = async (output, context) =
|
|
|
2895
2763
|
...output,
|
|
2896
2764
|
body: await parseBody(output.body, context),
|
|
2897
2765
|
};
|
|
2898
|
-
let response;
|
|
2899
2766
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2900
2767
|
switch (errorCode) {
|
|
2901
2768
|
case "ClientException":
|
|
@@ -2915,14 +2782,12 @@ const deserializeAws_json1_1ListIpRoutesCommandError = async (output, context) =
|
|
|
2915
2782
|
throw await deserializeAws_json1_1ServiceExceptionResponse(parsedOutput, context);
|
|
2916
2783
|
default:
|
|
2917
2784
|
const parsedBody = parsedOutput.body;
|
|
2918
|
-
|
|
2919
|
-
|
|
2920
|
-
|
|
2921
|
-
|
|
2922
|
-
|
|
2923
|
-
$metadata,
|
|
2785
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2786
|
+
output,
|
|
2787
|
+
parsedBody,
|
|
2788
|
+
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
2789
|
+
errorCode,
|
|
2924
2790
|
});
|
|
2925
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2926
2791
|
}
|
|
2927
2792
|
};
|
|
2928
2793
|
const deserializeAws_json1_1ListLogSubscriptionsCommand = async (output, context) => {
|
|
@@ -2944,7 +2809,6 @@ const deserializeAws_json1_1ListLogSubscriptionsCommandError = async (output, co
|
|
|
2944
2809
|
...output,
|
|
2945
2810
|
body: await parseBody(output.body, context),
|
|
2946
2811
|
};
|
|
2947
|
-
let response;
|
|
2948
2812
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2949
2813
|
switch (errorCode) {
|
|
2950
2814
|
case "ClientException":
|
|
@@ -2961,14 +2825,12 @@ const deserializeAws_json1_1ListLogSubscriptionsCommandError = async (output, co
|
|
|
2961
2825
|
throw await deserializeAws_json1_1ServiceExceptionResponse(parsedOutput, context);
|
|
2962
2826
|
default:
|
|
2963
2827
|
const parsedBody = parsedOutput.body;
|
|
2964
|
-
|
|
2965
|
-
|
|
2966
|
-
|
|
2967
|
-
|
|
2968
|
-
|
|
2969
|
-
$metadata,
|
|
2828
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2829
|
+
output,
|
|
2830
|
+
parsedBody,
|
|
2831
|
+
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
2832
|
+
errorCode,
|
|
2970
2833
|
});
|
|
2971
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2972
2834
|
}
|
|
2973
2835
|
};
|
|
2974
2836
|
const deserializeAws_json1_1ListSchemaExtensionsCommand = async (output, context) => {
|
|
@@ -2990,7 +2852,6 @@ const deserializeAws_json1_1ListSchemaExtensionsCommandError = async (output, co
|
|
|
2990
2852
|
...output,
|
|
2991
2853
|
body: await parseBody(output.body, context),
|
|
2992
2854
|
};
|
|
2993
|
-
let response;
|
|
2994
2855
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2995
2856
|
switch (errorCode) {
|
|
2996
2857
|
case "ClientException":
|
|
@@ -3007,14 +2868,12 @@ const deserializeAws_json1_1ListSchemaExtensionsCommandError = async (output, co
|
|
|
3007
2868
|
throw await deserializeAws_json1_1ServiceExceptionResponse(parsedOutput, context);
|
|
3008
2869
|
default:
|
|
3009
2870
|
const parsedBody = parsedOutput.body;
|
|
3010
|
-
|
|
3011
|
-
|
|
3012
|
-
|
|
3013
|
-
|
|
3014
|
-
|
|
3015
|
-
$metadata,
|
|
2871
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2872
|
+
output,
|
|
2873
|
+
parsedBody,
|
|
2874
|
+
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
2875
|
+
errorCode,
|
|
3016
2876
|
});
|
|
3017
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3018
2877
|
}
|
|
3019
2878
|
};
|
|
3020
2879
|
const deserializeAws_json1_1ListTagsForResourceCommand = async (output, context) => {
|
|
@@ -3036,7 +2895,6 @@ const deserializeAws_json1_1ListTagsForResourceCommandError = async (output, con
|
|
|
3036
2895
|
...output,
|
|
3037
2896
|
body: await parseBody(output.body, context),
|
|
3038
2897
|
};
|
|
3039
|
-
let response;
|
|
3040
2898
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3041
2899
|
switch (errorCode) {
|
|
3042
2900
|
case "ClientException":
|
|
@@ -3056,14 +2914,12 @@ const deserializeAws_json1_1ListTagsForResourceCommandError = async (output, con
|
|
|
3056
2914
|
throw await deserializeAws_json1_1ServiceExceptionResponse(parsedOutput, context);
|
|
3057
2915
|
default:
|
|
3058
2916
|
const parsedBody = parsedOutput.body;
|
|
3059
|
-
|
|
3060
|
-
|
|
3061
|
-
|
|
3062
|
-
|
|
3063
|
-
|
|
3064
|
-
$metadata,
|
|
2917
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2918
|
+
output,
|
|
2919
|
+
parsedBody,
|
|
2920
|
+
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
2921
|
+
errorCode,
|
|
3065
2922
|
});
|
|
3066
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3067
2923
|
}
|
|
3068
2924
|
};
|
|
3069
2925
|
const deserializeAws_json1_1RegisterCertificateCommand = async (output, context) => {
|
|
@@ -3085,7 +2941,6 @@ const deserializeAws_json1_1RegisterCertificateCommandError = async (output, con
|
|
|
3085
2941
|
...output,
|
|
3086
2942
|
body: await parseBody(output.body, context),
|
|
3087
2943
|
};
|
|
3088
|
-
let response;
|
|
3089
2944
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3090
2945
|
switch (errorCode) {
|
|
3091
2946
|
case "CertificateAlreadyExistsException":
|
|
@@ -3117,14 +2972,12 @@ const deserializeAws_json1_1RegisterCertificateCommandError = async (output, con
|
|
|
3117
2972
|
throw await deserializeAws_json1_1UnsupportedOperationExceptionResponse(parsedOutput, context);
|
|
3118
2973
|
default:
|
|
3119
2974
|
const parsedBody = parsedOutput.body;
|
|
3120
|
-
|
|
3121
|
-
|
|
3122
|
-
|
|
3123
|
-
|
|
3124
|
-
|
|
3125
|
-
$metadata,
|
|
2975
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2976
|
+
output,
|
|
2977
|
+
parsedBody,
|
|
2978
|
+
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
2979
|
+
errorCode,
|
|
3126
2980
|
});
|
|
3127
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3128
2981
|
}
|
|
3129
2982
|
};
|
|
3130
2983
|
const deserializeAws_json1_1RegisterEventTopicCommand = async (output, context) => {
|
|
@@ -3146,7 +2999,6 @@ const deserializeAws_json1_1RegisterEventTopicCommandError = async (output, cont
|
|
|
3146
2999
|
...output,
|
|
3147
3000
|
body: await parseBody(output.body, context),
|
|
3148
3001
|
};
|
|
3149
|
-
let response;
|
|
3150
3002
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3151
3003
|
switch (errorCode) {
|
|
3152
3004
|
case "ClientException":
|
|
@@ -3163,14 +3015,12 @@ const deserializeAws_json1_1RegisterEventTopicCommandError = async (output, cont
|
|
|
3163
3015
|
throw await deserializeAws_json1_1ServiceExceptionResponse(parsedOutput, context);
|
|
3164
3016
|
default:
|
|
3165
3017
|
const parsedBody = parsedOutput.body;
|
|
3166
|
-
|
|
3167
|
-
|
|
3168
|
-
|
|
3169
|
-
|
|
3170
|
-
|
|
3171
|
-
$metadata,
|
|
3018
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3019
|
+
output,
|
|
3020
|
+
parsedBody,
|
|
3021
|
+
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
3022
|
+
errorCode,
|
|
3172
3023
|
});
|
|
3173
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3174
3024
|
}
|
|
3175
3025
|
};
|
|
3176
3026
|
const deserializeAws_json1_1RejectSharedDirectoryCommand = async (output, context) => {
|
|
@@ -3192,7 +3042,6 @@ const deserializeAws_json1_1RejectSharedDirectoryCommandError = async (output, c
|
|
|
3192
3042
|
...output,
|
|
3193
3043
|
body: await parseBody(output.body, context),
|
|
3194
3044
|
};
|
|
3195
|
-
let response;
|
|
3196
3045
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3197
3046
|
switch (errorCode) {
|
|
3198
3047
|
case "ClientException":
|
|
@@ -3212,14 +3061,12 @@ const deserializeAws_json1_1RejectSharedDirectoryCommandError = async (output, c
|
|
|
3212
3061
|
throw await deserializeAws_json1_1ServiceExceptionResponse(parsedOutput, context);
|
|
3213
3062
|
default:
|
|
3214
3063
|
const parsedBody = parsedOutput.body;
|
|
3215
|
-
|
|
3216
|
-
|
|
3217
|
-
|
|
3218
|
-
|
|
3219
|
-
|
|
3220
|
-
$metadata,
|
|
3064
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3065
|
+
output,
|
|
3066
|
+
parsedBody,
|
|
3067
|
+
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
3068
|
+
errorCode,
|
|
3221
3069
|
});
|
|
3222
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3223
3070
|
}
|
|
3224
3071
|
};
|
|
3225
3072
|
const deserializeAws_json1_1RemoveIpRoutesCommand = async (output, context) => {
|
|
@@ -3241,7 +3088,6 @@ const deserializeAws_json1_1RemoveIpRoutesCommandError = async (output, context)
|
|
|
3241
3088
|
...output,
|
|
3242
3089
|
body: await parseBody(output.body, context),
|
|
3243
3090
|
};
|
|
3244
|
-
let response;
|
|
3245
3091
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3246
3092
|
switch (errorCode) {
|
|
3247
3093
|
case "ClientException":
|
|
@@ -3261,14 +3107,12 @@ const deserializeAws_json1_1RemoveIpRoutesCommandError = async (output, context)
|
|
|
3261
3107
|
throw await deserializeAws_json1_1ServiceExceptionResponse(parsedOutput, context);
|
|
3262
3108
|
default:
|
|
3263
3109
|
const parsedBody = parsedOutput.body;
|
|
3264
|
-
|
|
3265
|
-
|
|
3266
|
-
|
|
3267
|
-
|
|
3268
|
-
|
|
3269
|
-
$metadata,
|
|
3110
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3111
|
+
output,
|
|
3112
|
+
parsedBody,
|
|
3113
|
+
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
3114
|
+
errorCode,
|
|
3270
3115
|
});
|
|
3271
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3272
3116
|
}
|
|
3273
3117
|
};
|
|
3274
3118
|
const deserializeAws_json1_1RemoveRegionCommand = async (output, context) => {
|
|
@@ -3290,7 +3134,6 @@ const deserializeAws_json1_1RemoveRegionCommandError = async (output, context) =
|
|
|
3290
3134
|
...output,
|
|
3291
3135
|
body: await parseBody(output.body, context),
|
|
3292
3136
|
};
|
|
3293
|
-
let response;
|
|
3294
3137
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3295
3138
|
switch (errorCode) {
|
|
3296
3139
|
case "AccessDeniedException":
|
|
@@ -3313,14 +3156,12 @@ const deserializeAws_json1_1RemoveRegionCommandError = async (output, context) =
|
|
|
3313
3156
|
throw await deserializeAws_json1_1UnsupportedOperationExceptionResponse(parsedOutput, context);
|
|
3314
3157
|
default:
|
|
3315
3158
|
const parsedBody = parsedOutput.body;
|
|
3316
|
-
|
|
3317
|
-
|
|
3318
|
-
|
|
3319
|
-
|
|
3320
|
-
|
|
3321
|
-
$metadata,
|
|
3159
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3160
|
+
output,
|
|
3161
|
+
parsedBody,
|
|
3162
|
+
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
3163
|
+
errorCode,
|
|
3322
3164
|
});
|
|
3323
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3324
3165
|
}
|
|
3325
3166
|
};
|
|
3326
3167
|
const deserializeAws_json1_1RemoveTagsFromResourceCommand = async (output, context) => {
|
|
@@ -3342,7 +3183,6 @@ const deserializeAws_json1_1RemoveTagsFromResourceCommandError = async (output,
|
|
|
3342
3183
|
...output,
|
|
3343
3184
|
body: await parseBody(output.body, context),
|
|
3344
3185
|
};
|
|
3345
|
-
let response;
|
|
3346
3186
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3347
3187
|
switch (errorCode) {
|
|
3348
3188
|
case "ClientException":
|
|
@@ -3359,14 +3199,12 @@ const deserializeAws_json1_1RemoveTagsFromResourceCommandError = async (output,
|
|
|
3359
3199
|
throw await deserializeAws_json1_1ServiceExceptionResponse(parsedOutput, context);
|
|
3360
3200
|
default:
|
|
3361
3201
|
const parsedBody = parsedOutput.body;
|
|
3362
|
-
|
|
3363
|
-
|
|
3364
|
-
|
|
3365
|
-
|
|
3366
|
-
|
|
3367
|
-
$metadata,
|
|
3202
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3203
|
+
output,
|
|
3204
|
+
parsedBody,
|
|
3205
|
+
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
3206
|
+
errorCode,
|
|
3368
3207
|
});
|
|
3369
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3370
3208
|
}
|
|
3371
3209
|
};
|
|
3372
3210
|
const deserializeAws_json1_1ResetUserPasswordCommand = async (output, context) => {
|
|
@@ -3388,7 +3226,6 @@ const deserializeAws_json1_1ResetUserPasswordCommandError = async (output, conte
|
|
|
3388
3226
|
...output,
|
|
3389
3227
|
body: await parseBody(output.body, context),
|
|
3390
3228
|
};
|
|
3391
|
-
let response;
|
|
3392
3229
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3393
3230
|
switch (errorCode) {
|
|
3394
3231
|
case "ClientException":
|
|
@@ -3414,14 +3251,12 @@ const deserializeAws_json1_1ResetUserPasswordCommandError = async (output, conte
|
|
|
3414
3251
|
throw await deserializeAws_json1_1UserDoesNotExistExceptionResponse(parsedOutput, context);
|
|
3415
3252
|
default:
|
|
3416
3253
|
const parsedBody = parsedOutput.body;
|
|
3417
|
-
|
|
3418
|
-
|
|
3419
|
-
|
|
3420
|
-
|
|
3421
|
-
|
|
3422
|
-
$metadata,
|
|
3254
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3255
|
+
output,
|
|
3256
|
+
parsedBody,
|
|
3257
|
+
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
3258
|
+
errorCode,
|
|
3423
3259
|
});
|
|
3424
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3425
3260
|
}
|
|
3426
3261
|
};
|
|
3427
3262
|
const deserializeAws_json1_1RestoreFromSnapshotCommand = async (output, context) => {
|
|
@@ -3443,7 +3278,6 @@ const deserializeAws_json1_1RestoreFromSnapshotCommandError = async (output, con
|
|
|
3443
3278
|
...output,
|
|
3444
3279
|
body: await parseBody(output.body, context),
|
|
3445
3280
|
};
|
|
3446
|
-
let response;
|
|
3447
3281
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3448
3282
|
switch (errorCode) {
|
|
3449
3283
|
case "ClientException":
|
|
@@ -3460,14 +3294,12 @@ const deserializeAws_json1_1RestoreFromSnapshotCommandError = async (output, con
|
|
|
3460
3294
|
throw await deserializeAws_json1_1ServiceExceptionResponse(parsedOutput, context);
|
|
3461
3295
|
default:
|
|
3462
3296
|
const parsedBody = parsedOutput.body;
|
|
3463
|
-
|
|
3464
|
-
|
|
3465
|
-
|
|
3466
|
-
|
|
3467
|
-
|
|
3468
|
-
$metadata,
|
|
3297
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3298
|
+
output,
|
|
3299
|
+
parsedBody,
|
|
3300
|
+
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
3301
|
+
errorCode,
|
|
3469
3302
|
});
|
|
3470
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3471
3303
|
}
|
|
3472
3304
|
};
|
|
3473
3305
|
const deserializeAws_json1_1ShareDirectoryCommand = async (output, context) => {
|
|
@@ -3489,7 +3321,6 @@ const deserializeAws_json1_1ShareDirectoryCommandError = async (output, context)
|
|
|
3489
3321
|
...output,
|
|
3490
3322
|
body: await parseBody(output.body, context),
|
|
3491
3323
|
};
|
|
3492
|
-
let response;
|
|
3493
3324
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3494
3325
|
switch (errorCode) {
|
|
3495
3326
|
case "AccessDeniedException":
|
|
@@ -3524,14 +3355,12 @@ const deserializeAws_json1_1ShareDirectoryCommandError = async (output, context)
|
|
|
3524
3355
|
throw await deserializeAws_json1_1UnsupportedOperationExceptionResponse(parsedOutput, context);
|
|
3525
3356
|
default:
|
|
3526
3357
|
const parsedBody = parsedOutput.body;
|
|
3527
|
-
|
|
3528
|
-
|
|
3529
|
-
|
|
3530
|
-
|
|
3531
|
-
|
|
3532
|
-
$metadata,
|
|
3358
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3359
|
+
output,
|
|
3360
|
+
parsedBody,
|
|
3361
|
+
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
3362
|
+
errorCode,
|
|
3533
3363
|
});
|
|
3534
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3535
3364
|
}
|
|
3536
3365
|
};
|
|
3537
3366
|
const deserializeAws_json1_1StartSchemaExtensionCommand = async (output, context) => {
|
|
@@ -3553,7 +3382,6 @@ const deserializeAws_json1_1StartSchemaExtensionCommandError = async (output, co
|
|
|
3553
3382
|
...output,
|
|
3554
3383
|
body: await parseBody(output.body, context),
|
|
3555
3384
|
};
|
|
3556
|
-
let response;
|
|
3557
3385
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3558
3386
|
switch (errorCode) {
|
|
3559
3387
|
case "ClientException":
|
|
@@ -3576,14 +3404,12 @@ const deserializeAws_json1_1StartSchemaExtensionCommandError = async (output, co
|
|
|
3576
3404
|
throw await deserializeAws_json1_1SnapshotLimitExceededExceptionResponse(parsedOutput, context);
|
|
3577
3405
|
default:
|
|
3578
3406
|
const parsedBody = parsedOutput.body;
|
|
3579
|
-
|
|
3580
|
-
|
|
3581
|
-
|
|
3582
|
-
|
|
3583
|
-
|
|
3584
|
-
$metadata,
|
|
3407
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3408
|
+
output,
|
|
3409
|
+
parsedBody,
|
|
3410
|
+
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
3411
|
+
errorCode,
|
|
3585
3412
|
});
|
|
3586
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3587
3413
|
}
|
|
3588
3414
|
};
|
|
3589
3415
|
const deserializeAws_json1_1UnshareDirectoryCommand = async (output, context) => {
|
|
@@ -3605,7 +3431,6 @@ const deserializeAws_json1_1UnshareDirectoryCommandError = async (output, contex
|
|
|
3605
3431
|
...output,
|
|
3606
3432
|
body: await parseBody(output.body, context),
|
|
3607
3433
|
};
|
|
3608
|
-
let response;
|
|
3609
3434
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3610
3435
|
switch (errorCode) {
|
|
3611
3436
|
case "ClientException":
|
|
@@ -3625,14 +3450,12 @@ const deserializeAws_json1_1UnshareDirectoryCommandError = async (output, contex
|
|
|
3625
3450
|
throw await deserializeAws_json1_1ServiceExceptionResponse(parsedOutput, context);
|
|
3626
3451
|
default:
|
|
3627
3452
|
const parsedBody = parsedOutput.body;
|
|
3628
|
-
|
|
3629
|
-
|
|
3630
|
-
|
|
3631
|
-
|
|
3632
|
-
|
|
3633
|
-
$metadata,
|
|
3453
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3454
|
+
output,
|
|
3455
|
+
parsedBody,
|
|
3456
|
+
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
3457
|
+
errorCode,
|
|
3634
3458
|
});
|
|
3635
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3636
3459
|
}
|
|
3637
3460
|
};
|
|
3638
3461
|
const deserializeAws_json1_1UpdateConditionalForwarderCommand = async (output, context) => {
|
|
@@ -3654,7 +3477,6 @@ const deserializeAws_json1_1UpdateConditionalForwarderCommandError = async (outp
|
|
|
3654
3477
|
...output,
|
|
3655
3478
|
body: await parseBody(output.body, context),
|
|
3656
3479
|
};
|
|
3657
|
-
let response;
|
|
3658
3480
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3659
3481
|
switch (errorCode) {
|
|
3660
3482
|
case "ClientException":
|
|
@@ -3677,14 +3499,12 @@ const deserializeAws_json1_1UpdateConditionalForwarderCommandError = async (outp
|
|
|
3677
3499
|
throw await deserializeAws_json1_1UnsupportedOperationExceptionResponse(parsedOutput, context);
|
|
3678
3500
|
default:
|
|
3679
3501
|
const parsedBody = parsedOutput.body;
|
|
3680
|
-
|
|
3681
|
-
|
|
3682
|
-
|
|
3683
|
-
|
|
3684
|
-
|
|
3685
|
-
$metadata,
|
|
3502
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3503
|
+
output,
|
|
3504
|
+
parsedBody,
|
|
3505
|
+
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
3506
|
+
errorCode,
|
|
3686
3507
|
});
|
|
3687
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3688
3508
|
}
|
|
3689
3509
|
};
|
|
3690
3510
|
const deserializeAws_json1_1UpdateNumberOfDomainControllersCommand = async (output, context) => {
|
|
@@ -3706,7 +3526,6 @@ const deserializeAws_json1_1UpdateNumberOfDomainControllersCommandError = async
|
|
|
3706
3526
|
...output,
|
|
3707
3527
|
body: await parseBody(output.body, context),
|
|
3708
3528
|
};
|
|
3709
|
-
let response;
|
|
3710
3529
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3711
3530
|
switch (errorCode) {
|
|
3712
3531
|
case "ClientException":
|
|
@@ -3732,14 +3551,12 @@ const deserializeAws_json1_1UpdateNumberOfDomainControllersCommandError = async
|
|
|
3732
3551
|
throw await deserializeAws_json1_1UnsupportedOperationExceptionResponse(parsedOutput, context);
|
|
3733
3552
|
default:
|
|
3734
3553
|
const parsedBody = parsedOutput.body;
|
|
3735
|
-
|
|
3736
|
-
|
|
3737
|
-
|
|
3738
|
-
|
|
3739
|
-
|
|
3740
|
-
$metadata,
|
|
3554
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3555
|
+
output,
|
|
3556
|
+
parsedBody,
|
|
3557
|
+
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
3558
|
+
errorCode,
|
|
3741
3559
|
});
|
|
3742
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3743
3560
|
}
|
|
3744
3561
|
};
|
|
3745
3562
|
const deserializeAws_json1_1UpdateRadiusCommand = async (output, context) => {
|
|
@@ -3761,7 +3578,6 @@ const deserializeAws_json1_1UpdateRadiusCommandError = async (output, context) =
|
|
|
3761
3578
|
...output,
|
|
3762
3579
|
body: await parseBody(output.body, context),
|
|
3763
3580
|
};
|
|
3764
|
-
let response;
|
|
3765
3581
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3766
3582
|
switch (errorCode) {
|
|
3767
3583
|
case "ClientException":
|
|
@@ -3778,14 +3594,12 @@ const deserializeAws_json1_1UpdateRadiusCommandError = async (output, context) =
|
|
|
3778
3594
|
throw await deserializeAws_json1_1ServiceExceptionResponse(parsedOutput, context);
|
|
3779
3595
|
default:
|
|
3780
3596
|
const parsedBody = parsedOutput.body;
|
|
3781
|
-
|
|
3782
|
-
|
|
3783
|
-
|
|
3784
|
-
|
|
3785
|
-
|
|
3786
|
-
$metadata,
|
|
3597
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3598
|
+
output,
|
|
3599
|
+
parsedBody,
|
|
3600
|
+
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
3601
|
+
errorCode,
|
|
3787
3602
|
});
|
|
3788
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3789
3603
|
}
|
|
3790
3604
|
};
|
|
3791
3605
|
const deserializeAws_json1_1UpdateSettingsCommand = async (output, context) => {
|
|
@@ -3807,7 +3621,6 @@ const deserializeAws_json1_1UpdateSettingsCommandError = async (output, context)
|
|
|
3807
3621
|
...output,
|
|
3808
3622
|
body: await parseBody(output.body, context),
|
|
3809
3623
|
};
|
|
3810
|
-
let response;
|
|
3811
3624
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3812
3625
|
switch (errorCode) {
|
|
3813
3626
|
case "ClientException":
|
|
@@ -3836,14 +3649,12 @@ const deserializeAws_json1_1UpdateSettingsCommandError = async (output, context)
|
|
|
3836
3649
|
throw await deserializeAws_json1_1UnsupportedSettingsExceptionResponse(parsedOutput, context);
|
|
3837
3650
|
default:
|
|
3838
3651
|
const parsedBody = parsedOutput.body;
|
|
3839
|
-
|
|
3840
|
-
|
|
3841
|
-
|
|
3842
|
-
|
|
3843
|
-
|
|
3844
|
-
$metadata,
|
|
3652
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3653
|
+
output,
|
|
3654
|
+
parsedBody,
|
|
3655
|
+
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
3656
|
+
errorCode,
|
|
3845
3657
|
});
|
|
3846
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3847
3658
|
}
|
|
3848
3659
|
};
|
|
3849
3660
|
const deserializeAws_json1_1UpdateTrustCommand = async (output, context) => {
|
|
@@ -3865,7 +3676,6 @@ const deserializeAws_json1_1UpdateTrustCommandError = async (output, context) =>
|
|
|
3865
3676
|
...output,
|
|
3866
3677
|
body: await parseBody(output.body, context),
|
|
3867
3678
|
};
|
|
3868
|
-
let response;
|
|
3869
3679
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3870
3680
|
switch (errorCode) {
|
|
3871
3681
|
case "ClientException":
|
|
@@ -3882,14 +3692,12 @@ const deserializeAws_json1_1UpdateTrustCommandError = async (output, context) =>
|
|
|
3882
3692
|
throw await deserializeAws_json1_1ServiceExceptionResponse(parsedOutput, context);
|
|
3883
3693
|
default:
|
|
3884
3694
|
const parsedBody = parsedOutput.body;
|
|
3885
|
-
|
|
3886
|
-
|
|
3887
|
-
|
|
3888
|
-
|
|
3889
|
-
|
|
3890
|
-
$metadata,
|
|
3695
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3696
|
+
output,
|
|
3697
|
+
parsedBody,
|
|
3698
|
+
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
3699
|
+
errorCode,
|
|
3891
3700
|
});
|
|
3892
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3893
3701
|
}
|
|
3894
3702
|
};
|
|
3895
3703
|
const deserializeAws_json1_1VerifyTrustCommand = async (output, context) => {
|
|
@@ -3911,7 +3719,6 @@ const deserializeAws_json1_1VerifyTrustCommandError = async (output, context) =>
|
|
|
3911
3719
|
...output,
|
|
3912
3720
|
body: await parseBody(output.body, context),
|
|
3913
3721
|
};
|
|
3914
|
-
let response;
|
|
3915
3722
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3916
3723
|
switch (errorCode) {
|
|
3917
3724
|
case "ClientException":
|
|
@@ -3931,14 +3738,12 @@ const deserializeAws_json1_1VerifyTrustCommandError = async (output, context) =>
|
|
|
3931
3738
|
throw await deserializeAws_json1_1UnsupportedOperationExceptionResponse(parsedOutput, context);
|
|
3932
3739
|
default:
|
|
3933
3740
|
const parsedBody = parsedOutput.body;
|
|
3934
|
-
|
|
3935
|
-
|
|
3936
|
-
|
|
3937
|
-
|
|
3938
|
-
|
|
3939
|
-
$metadata,
|
|
3741
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3742
|
+
output,
|
|
3743
|
+
parsedBody,
|
|
3744
|
+
exceptionCtor: DirectoryServiceServiceException_1.DirectoryServiceServiceException,
|
|
3745
|
+
errorCode,
|
|
3940
3746
|
});
|
|
3941
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3942
3747
|
}
|
|
3943
3748
|
};
|
|
3944
3749
|
const deserializeAws_json1_1AccessDeniedExceptionResponse = async (parsedOutput, context) => {
|
|
@@ -4304,9 +4109,6 @@ const serializeAws_json1_1Attributes = (input, context) => {
|
|
|
4304
4109
|
return input
|
|
4305
4110
|
.filter((e) => e != null)
|
|
4306
4111
|
.map((entry) => {
|
|
4307
|
-
if (entry === null) {
|
|
4308
|
-
return null;
|
|
4309
|
-
}
|
|
4310
4112
|
return serializeAws_json1_1Attribute(entry, context);
|
|
4311
4113
|
});
|
|
4312
4114
|
};
|
|
@@ -4320,9 +4122,6 @@ const serializeAws_json1_1CidrIps = (input, context) => {
|
|
|
4320
4122
|
return input
|
|
4321
4123
|
.filter((e) => e != null)
|
|
4322
4124
|
.map((entry) => {
|
|
4323
|
-
if (entry === null) {
|
|
4324
|
-
return null;
|
|
4325
|
-
}
|
|
4326
4125
|
return entry;
|
|
4327
4126
|
});
|
|
4328
4127
|
};
|
|
@@ -4569,9 +4368,6 @@ const serializeAws_json1_1DirectoryIds = (input, context) => {
|
|
|
4569
4368
|
return input
|
|
4570
4369
|
.filter((e) => e != null)
|
|
4571
4370
|
.map((entry) => {
|
|
4572
|
-
if (entry === null) {
|
|
4573
|
-
return null;
|
|
4574
|
-
}
|
|
4575
4371
|
return entry;
|
|
4576
4372
|
});
|
|
4577
4373
|
};
|
|
@@ -4609,9 +4405,6 @@ const serializeAws_json1_1DnsIpAddrs = (input, context) => {
|
|
|
4609
4405
|
return input
|
|
4610
4406
|
.filter((e) => e != null)
|
|
4611
4407
|
.map((entry) => {
|
|
4612
|
-
if (entry === null) {
|
|
4613
|
-
return null;
|
|
4614
|
-
}
|
|
4615
4408
|
return entry;
|
|
4616
4409
|
});
|
|
4617
4410
|
};
|
|
@@ -4619,9 +4412,6 @@ const serializeAws_json1_1DomainControllerIds = (input, context) => {
|
|
|
4619
4412
|
return input
|
|
4620
4413
|
.filter((e) => e != null)
|
|
4621
4414
|
.map((entry) => {
|
|
4622
|
-
if (entry === null) {
|
|
4623
|
-
return null;
|
|
4624
|
-
}
|
|
4625
4415
|
return entry;
|
|
4626
4416
|
});
|
|
4627
4417
|
};
|
|
@@ -4670,9 +4460,6 @@ const serializeAws_json1_1IpRoutes = (input, context) => {
|
|
|
4670
4460
|
return input
|
|
4671
4461
|
.filter((e) => e != null)
|
|
4672
4462
|
.map((entry) => {
|
|
4673
|
-
if (entry === null) {
|
|
4674
|
-
return null;
|
|
4675
|
-
}
|
|
4676
4463
|
return serializeAws_json1_1IpRoute(entry, context);
|
|
4677
4464
|
});
|
|
4678
4465
|
};
|
|
@@ -4748,9 +4535,6 @@ const serializeAws_json1_1RemoteDomainNames = (input, context) => {
|
|
|
4748
4535
|
return input
|
|
4749
4536
|
.filter((e) => e != null)
|
|
4750
4537
|
.map((entry) => {
|
|
4751
|
-
if (entry === null) {
|
|
4752
|
-
return null;
|
|
4753
|
-
}
|
|
4754
4538
|
return entry;
|
|
4755
4539
|
});
|
|
4756
4540
|
};
|
|
@@ -4787,9 +4571,6 @@ const serializeAws_json1_1Servers = (input, context) => {
|
|
|
4787
4571
|
return input
|
|
4788
4572
|
.filter((e) => e != null)
|
|
4789
4573
|
.map((entry) => {
|
|
4790
|
-
if (entry === null) {
|
|
4791
|
-
return null;
|
|
4792
|
-
}
|
|
4793
4574
|
return entry;
|
|
4794
4575
|
});
|
|
4795
4576
|
};
|
|
@@ -4803,9 +4584,6 @@ const serializeAws_json1_1Settings = (input, context) => {
|
|
|
4803
4584
|
return input
|
|
4804
4585
|
.filter((e) => e != null)
|
|
4805
4586
|
.map((entry) => {
|
|
4806
|
-
if (entry === null) {
|
|
4807
|
-
return null;
|
|
4808
|
-
}
|
|
4809
4587
|
return serializeAws_json1_1Setting(entry, context);
|
|
4810
4588
|
});
|
|
4811
4589
|
};
|
|
@@ -4827,9 +4605,6 @@ const serializeAws_json1_1SnapshotIds = (input, context) => {
|
|
|
4827
4605
|
return input
|
|
4828
4606
|
.filter((e) => e != null)
|
|
4829
4607
|
.map((entry) => {
|
|
4830
|
-
if (entry === null) {
|
|
4831
|
-
return null;
|
|
4832
|
-
}
|
|
4833
4608
|
return entry;
|
|
4834
4609
|
});
|
|
4835
4610
|
};
|
|
@@ -4847,9 +4622,6 @@ const serializeAws_json1_1SubnetIds = (input, context) => {
|
|
|
4847
4622
|
return input
|
|
4848
4623
|
.filter((e) => e != null)
|
|
4849
4624
|
.map((entry) => {
|
|
4850
|
-
if (entry === null) {
|
|
4851
|
-
return null;
|
|
4852
|
-
}
|
|
4853
4625
|
return entry;
|
|
4854
4626
|
});
|
|
4855
4627
|
};
|
|
@@ -4863,9 +4635,6 @@ const serializeAws_json1_1TagKeys = (input, context) => {
|
|
|
4863
4635
|
return input
|
|
4864
4636
|
.filter((e) => e != null)
|
|
4865
4637
|
.map((entry) => {
|
|
4866
|
-
if (entry === null) {
|
|
4867
|
-
return null;
|
|
4868
|
-
}
|
|
4869
4638
|
return entry;
|
|
4870
4639
|
});
|
|
4871
4640
|
};
|
|
@@ -4873,9 +4642,6 @@ const serializeAws_json1_1Tags = (input, context) => {
|
|
|
4873
4642
|
return input
|
|
4874
4643
|
.filter((e) => e != null)
|
|
4875
4644
|
.map((entry) => {
|
|
4876
|
-
if (entry === null) {
|
|
4877
|
-
return null;
|
|
4878
|
-
}
|
|
4879
4645
|
return serializeAws_json1_1Tag(entry, context);
|
|
4880
4646
|
});
|
|
4881
4647
|
};
|
|
@@ -4883,9 +4649,6 @@ const serializeAws_json1_1TopicNames = (input, context) => {
|
|
|
4883
4649
|
return input
|
|
4884
4650
|
.filter((e) => e != null)
|
|
4885
4651
|
.map((entry) => {
|
|
4886
|
-
if (entry === null) {
|
|
4887
|
-
return null;
|
|
4888
|
-
}
|
|
4889
4652
|
return entry;
|
|
4890
4653
|
});
|
|
4891
4654
|
};
|
|
@@ -4893,9 +4656,6 @@ const serializeAws_json1_1TrustIds = (input, context) => {
|
|
|
4893
4656
|
return input
|
|
4894
4657
|
.filter((e) => e != null)
|
|
4895
4658
|
.map((entry) => {
|
|
4896
|
-
if (entry === null) {
|
|
4897
|
-
return null;
|
|
4898
|
-
}
|
|
4899
4659
|
return entry;
|
|
4900
4660
|
});
|
|
4901
4661
|
};
|