@aws-sdk/client-appfabric 3.504.0 → 3.507.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +40 -833
- package/dist-es/protocols/Aws_restJson1.js +61 -854
- package/package.json +3 -3
package/dist-cjs/index.js
CHANGED
|
@@ -853,7 +853,7 @@ var se_UpdateIngestionDestinationCommand = /* @__PURE__ */ __name(async (input,
|
|
|
853
853
|
}, "se_UpdateIngestionDestinationCommand");
|
|
854
854
|
var de_BatchGetUserAccessTasksCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
855
855
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
856
|
-
return
|
|
856
|
+
return de_CommandError(output, context);
|
|
857
857
|
}
|
|
858
858
|
const contents = (0, import_smithy_client.map)({
|
|
859
859
|
$metadata: deserializeMetadata(output)
|
|
@@ -865,40 +865,9 @@ var de_BatchGetUserAccessTasksCommand = /* @__PURE__ */ __name(async (output, co
|
|
|
865
865
|
Object.assign(contents, doc);
|
|
866
866
|
return contents;
|
|
867
867
|
}, "de_BatchGetUserAccessTasksCommand");
|
|
868
|
-
var de_BatchGetUserAccessTasksCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
869
|
-
const parsedOutput = {
|
|
870
|
-
...output,
|
|
871
|
-
body: await parseErrorBody(output.body, context)
|
|
872
|
-
};
|
|
873
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
874
|
-
switch (errorCode) {
|
|
875
|
-
case "AccessDeniedException":
|
|
876
|
-
case "com.amazonaws.appfabric#AccessDeniedException":
|
|
877
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
878
|
-
case "InternalServerException":
|
|
879
|
-
case "com.amazonaws.appfabric#InternalServerException":
|
|
880
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
881
|
-
case "ResourceNotFoundException":
|
|
882
|
-
case "com.amazonaws.appfabric#ResourceNotFoundException":
|
|
883
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
884
|
-
case "ThrottlingException":
|
|
885
|
-
case "com.amazonaws.appfabric#ThrottlingException":
|
|
886
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
887
|
-
case "ValidationException":
|
|
888
|
-
case "com.amazonaws.appfabric#ValidationException":
|
|
889
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
890
|
-
default:
|
|
891
|
-
const parsedBody = parsedOutput.body;
|
|
892
|
-
return throwDefaultError({
|
|
893
|
-
output,
|
|
894
|
-
parsedBody,
|
|
895
|
-
errorCode
|
|
896
|
-
});
|
|
897
|
-
}
|
|
898
|
-
}, "de_BatchGetUserAccessTasksCommandError");
|
|
899
868
|
var de_ConnectAppAuthorizationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
900
869
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
901
|
-
return
|
|
870
|
+
return de_CommandError(output, context);
|
|
902
871
|
}
|
|
903
872
|
const contents = (0, import_smithy_client.map)({
|
|
904
873
|
$metadata: deserializeMetadata(output)
|
|
@@ -910,40 +879,9 @@ var de_ConnectAppAuthorizationCommand = /* @__PURE__ */ __name(async (output, co
|
|
|
910
879
|
Object.assign(contents, doc);
|
|
911
880
|
return contents;
|
|
912
881
|
}, "de_ConnectAppAuthorizationCommand");
|
|
913
|
-
var de_ConnectAppAuthorizationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
914
|
-
const parsedOutput = {
|
|
915
|
-
...output,
|
|
916
|
-
body: await parseErrorBody(output.body, context)
|
|
917
|
-
};
|
|
918
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
919
|
-
switch (errorCode) {
|
|
920
|
-
case "AccessDeniedException":
|
|
921
|
-
case "com.amazonaws.appfabric#AccessDeniedException":
|
|
922
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
923
|
-
case "InternalServerException":
|
|
924
|
-
case "com.amazonaws.appfabric#InternalServerException":
|
|
925
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
926
|
-
case "ResourceNotFoundException":
|
|
927
|
-
case "com.amazonaws.appfabric#ResourceNotFoundException":
|
|
928
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
929
|
-
case "ThrottlingException":
|
|
930
|
-
case "com.amazonaws.appfabric#ThrottlingException":
|
|
931
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
932
|
-
case "ValidationException":
|
|
933
|
-
case "com.amazonaws.appfabric#ValidationException":
|
|
934
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
935
|
-
default:
|
|
936
|
-
const parsedBody = parsedOutput.body;
|
|
937
|
-
return throwDefaultError({
|
|
938
|
-
output,
|
|
939
|
-
parsedBody,
|
|
940
|
-
errorCode
|
|
941
|
-
});
|
|
942
|
-
}
|
|
943
|
-
}, "de_ConnectAppAuthorizationCommandError");
|
|
944
882
|
var de_CreateAppAuthorizationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
945
883
|
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
946
|
-
return
|
|
884
|
+
return de_CommandError(output, context);
|
|
947
885
|
}
|
|
948
886
|
const contents = (0, import_smithy_client.map)({
|
|
949
887
|
$metadata: deserializeMetadata(output)
|
|
@@ -955,46 +893,9 @@ var de_CreateAppAuthorizationCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
955
893
|
Object.assign(contents, doc);
|
|
956
894
|
return contents;
|
|
957
895
|
}, "de_CreateAppAuthorizationCommand");
|
|
958
|
-
var de_CreateAppAuthorizationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
959
|
-
const parsedOutput = {
|
|
960
|
-
...output,
|
|
961
|
-
body: await parseErrorBody(output.body, context)
|
|
962
|
-
};
|
|
963
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
964
|
-
switch (errorCode) {
|
|
965
|
-
case "AccessDeniedException":
|
|
966
|
-
case "com.amazonaws.appfabric#AccessDeniedException":
|
|
967
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
968
|
-
case "ConflictException":
|
|
969
|
-
case "com.amazonaws.appfabric#ConflictException":
|
|
970
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
971
|
-
case "InternalServerException":
|
|
972
|
-
case "com.amazonaws.appfabric#InternalServerException":
|
|
973
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
974
|
-
case "ResourceNotFoundException":
|
|
975
|
-
case "com.amazonaws.appfabric#ResourceNotFoundException":
|
|
976
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
977
|
-
case "ServiceQuotaExceededException":
|
|
978
|
-
case "com.amazonaws.appfabric#ServiceQuotaExceededException":
|
|
979
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
980
|
-
case "ThrottlingException":
|
|
981
|
-
case "com.amazonaws.appfabric#ThrottlingException":
|
|
982
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
983
|
-
case "ValidationException":
|
|
984
|
-
case "com.amazonaws.appfabric#ValidationException":
|
|
985
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
986
|
-
default:
|
|
987
|
-
const parsedBody = parsedOutput.body;
|
|
988
|
-
return throwDefaultError({
|
|
989
|
-
output,
|
|
990
|
-
parsedBody,
|
|
991
|
-
errorCode
|
|
992
|
-
});
|
|
993
|
-
}
|
|
994
|
-
}, "de_CreateAppAuthorizationCommandError");
|
|
995
896
|
var de_CreateAppBundleCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
996
897
|
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
997
|
-
return
|
|
898
|
+
return de_CommandError(output, context);
|
|
998
899
|
}
|
|
999
900
|
const contents = (0, import_smithy_client.map)({
|
|
1000
901
|
$metadata: deserializeMetadata(output)
|
|
@@ -1006,43 +907,9 @@ var de_CreateAppBundleCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
1006
907
|
Object.assign(contents, doc);
|
|
1007
908
|
return contents;
|
|
1008
909
|
}, "de_CreateAppBundleCommand");
|
|
1009
|
-
var de_CreateAppBundleCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1010
|
-
const parsedOutput = {
|
|
1011
|
-
...output,
|
|
1012
|
-
body: await parseErrorBody(output.body, context)
|
|
1013
|
-
};
|
|
1014
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1015
|
-
switch (errorCode) {
|
|
1016
|
-
case "AccessDeniedException":
|
|
1017
|
-
case "com.amazonaws.appfabric#AccessDeniedException":
|
|
1018
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1019
|
-
case "ConflictException":
|
|
1020
|
-
case "com.amazonaws.appfabric#ConflictException":
|
|
1021
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1022
|
-
case "InternalServerException":
|
|
1023
|
-
case "com.amazonaws.appfabric#InternalServerException":
|
|
1024
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1025
|
-
case "ServiceQuotaExceededException":
|
|
1026
|
-
case "com.amazonaws.appfabric#ServiceQuotaExceededException":
|
|
1027
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1028
|
-
case "ThrottlingException":
|
|
1029
|
-
case "com.amazonaws.appfabric#ThrottlingException":
|
|
1030
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1031
|
-
case "ValidationException":
|
|
1032
|
-
case "com.amazonaws.appfabric#ValidationException":
|
|
1033
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1034
|
-
default:
|
|
1035
|
-
const parsedBody = parsedOutput.body;
|
|
1036
|
-
return throwDefaultError({
|
|
1037
|
-
output,
|
|
1038
|
-
parsedBody,
|
|
1039
|
-
errorCode
|
|
1040
|
-
});
|
|
1041
|
-
}
|
|
1042
|
-
}, "de_CreateAppBundleCommandError");
|
|
1043
910
|
var de_CreateIngestionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1044
911
|
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
1045
|
-
return
|
|
912
|
+
return de_CommandError(output, context);
|
|
1046
913
|
}
|
|
1047
914
|
const contents = (0, import_smithy_client.map)({
|
|
1048
915
|
$metadata: deserializeMetadata(output)
|
|
@@ -1054,43 +921,9 @@ var de_CreateIngestionCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
1054
921
|
Object.assign(contents, doc);
|
|
1055
922
|
return contents;
|
|
1056
923
|
}, "de_CreateIngestionCommand");
|
|
1057
|
-
var de_CreateIngestionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1058
|
-
const parsedOutput = {
|
|
1059
|
-
...output,
|
|
1060
|
-
body: await parseErrorBody(output.body, context)
|
|
1061
|
-
};
|
|
1062
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1063
|
-
switch (errorCode) {
|
|
1064
|
-
case "AccessDeniedException":
|
|
1065
|
-
case "com.amazonaws.appfabric#AccessDeniedException":
|
|
1066
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1067
|
-
case "ConflictException":
|
|
1068
|
-
case "com.amazonaws.appfabric#ConflictException":
|
|
1069
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1070
|
-
case "InternalServerException":
|
|
1071
|
-
case "com.amazonaws.appfabric#InternalServerException":
|
|
1072
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1073
|
-
case "ServiceQuotaExceededException":
|
|
1074
|
-
case "com.amazonaws.appfabric#ServiceQuotaExceededException":
|
|
1075
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1076
|
-
case "ThrottlingException":
|
|
1077
|
-
case "com.amazonaws.appfabric#ThrottlingException":
|
|
1078
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1079
|
-
case "ValidationException":
|
|
1080
|
-
case "com.amazonaws.appfabric#ValidationException":
|
|
1081
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1082
|
-
default:
|
|
1083
|
-
const parsedBody = parsedOutput.body;
|
|
1084
|
-
return throwDefaultError({
|
|
1085
|
-
output,
|
|
1086
|
-
parsedBody,
|
|
1087
|
-
errorCode
|
|
1088
|
-
});
|
|
1089
|
-
}
|
|
1090
|
-
}, "de_CreateIngestionCommandError");
|
|
1091
924
|
var de_CreateIngestionDestinationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1092
925
|
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
1093
|
-
return
|
|
926
|
+
return de_CommandError(output, context);
|
|
1094
927
|
}
|
|
1095
928
|
const contents = (0, import_smithy_client.map)({
|
|
1096
929
|
$metadata: deserializeMetadata(output)
|
|
@@ -1102,43 +935,9 @@ var de_CreateIngestionDestinationCommand = /* @__PURE__ */ __name(async (output,
|
|
|
1102
935
|
Object.assign(contents, doc);
|
|
1103
936
|
return contents;
|
|
1104
937
|
}, "de_CreateIngestionDestinationCommand");
|
|
1105
|
-
var de_CreateIngestionDestinationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1106
|
-
const parsedOutput = {
|
|
1107
|
-
...output,
|
|
1108
|
-
body: await parseErrorBody(output.body, context)
|
|
1109
|
-
};
|
|
1110
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1111
|
-
switch (errorCode) {
|
|
1112
|
-
case "AccessDeniedException":
|
|
1113
|
-
case "com.amazonaws.appfabric#AccessDeniedException":
|
|
1114
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1115
|
-
case "ConflictException":
|
|
1116
|
-
case "com.amazonaws.appfabric#ConflictException":
|
|
1117
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1118
|
-
case "InternalServerException":
|
|
1119
|
-
case "com.amazonaws.appfabric#InternalServerException":
|
|
1120
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1121
|
-
case "ServiceQuotaExceededException":
|
|
1122
|
-
case "com.amazonaws.appfabric#ServiceQuotaExceededException":
|
|
1123
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1124
|
-
case "ThrottlingException":
|
|
1125
|
-
case "com.amazonaws.appfabric#ThrottlingException":
|
|
1126
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1127
|
-
case "ValidationException":
|
|
1128
|
-
case "com.amazonaws.appfabric#ValidationException":
|
|
1129
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1130
|
-
default:
|
|
1131
|
-
const parsedBody = parsedOutput.body;
|
|
1132
|
-
return throwDefaultError({
|
|
1133
|
-
output,
|
|
1134
|
-
parsedBody,
|
|
1135
|
-
errorCode
|
|
1136
|
-
});
|
|
1137
|
-
}
|
|
1138
|
-
}, "de_CreateIngestionDestinationCommandError");
|
|
1139
938
|
var de_DeleteAppAuthorizationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1140
939
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1141
|
-
return
|
|
940
|
+
return de_CommandError(output, context);
|
|
1142
941
|
}
|
|
1143
942
|
const contents = (0, import_smithy_client.map)({
|
|
1144
943
|
$metadata: deserializeMetadata(output)
|
|
@@ -1146,40 +945,9 @@ var de_DeleteAppAuthorizationCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
1146
945
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1147
946
|
return contents;
|
|
1148
947
|
}, "de_DeleteAppAuthorizationCommand");
|
|
1149
|
-
var de_DeleteAppAuthorizationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1150
|
-
const parsedOutput = {
|
|
1151
|
-
...output,
|
|
1152
|
-
body: await parseErrorBody(output.body, context)
|
|
1153
|
-
};
|
|
1154
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1155
|
-
switch (errorCode) {
|
|
1156
|
-
case "AccessDeniedException":
|
|
1157
|
-
case "com.amazonaws.appfabric#AccessDeniedException":
|
|
1158
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1159
|
-
case "InternalServerException":
|
|
1160
|
-
case "com.amazonaws.appfabric#InternalServerException":
|
|
1161
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1162
|
-
case "ResourceNotFoundException":
|
|
1163
|
-
case "com.amazonaws.appfabric#ResourceNotFoundException":
|
|
1164
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1165
|
-
case "ThrottlingException":
|
|
1166
|
-
case "com.amazonaws.appfabric#ThrottlingException":
|
|
1167
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1168
|
-
case "ValidationException":
|
|
1169
|
-
case "com.amazonaws.appfabric#ValidationException":
|
|
1170
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1171
|
-
default:
|
|
1172
|
-
const parsedBody = parsedOutput.body;
|
|
1173
|
-
return throwDefaultError({
|
|
1174
|
-
output,
|
|
1175
|
-
parsedBody,
|
|
1176
|
-
errorCode
|
|
1177
|
-
});
|
|
1178
|
-
}
|
|
1179
|
-
}, "de_DeleteAppAuthorizationCommandError");
|
|
1180
948
|
var de_DeleteAppBundleCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1181
949
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1182
|
-
return
|
|
950
|
+
return de_CommandError(output, context);
|
|
1183
951
|
}
|
|
1184
952
|
const contents = (0, import_smithy_client.map)({
|
|
1185
953
|
$metadata: deserializeMetadata(output)
|
|
@@ -1187,40 +955,9 @@ var de_DeleteAppBundleCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
1187
955
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1188
956
|
return contents;
|
|
1189
957
|
}, "de_DeleteAppBundleCommand");
|
|
1190
|
-
var de_DeleteAppBundleCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1191
|
-
const parsedOutput = {
|
|
1192
|
-
...output,
|
|
1193
|
-
body: await parseErrorBody(output.body, context)
|
|
1194
|
-
};
|
|
1195
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1196
|
-
switch (errorCode) {
|
|
1197
|
-
case "AccessDeniedException":
|
|
1198
|
-
case "com.amazonaws.appfabric#AccessDeniedException":
|
|
1199
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1200
|
-
case "ConflictException":
|
|
1201
|
-
case "com.amazonaws.appfabric#ConflictException":
|
|
1202
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1203
|
-
case "InternalServerException":
|
|
1204
|
-
case "com.amazonaws.appfabric#InternalServerException":
|
|
1205
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1206
|
-
case "ThrottlingException":
|
|
1207
|
-
case "com.amazonaws.appfabric#ThrottlingException":
|
|
1208
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1209
|
-
case "ValidationException":
|
|
1210
|
-
case "com.amazonaws.appfabric#ValidationException":
|
|
1211
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1212
|
-
default:
|
|
1213
|
-
const parsedBody = parsedOutput.body;
|
|
1214
|
-
return throwDefaultError({
|
|
1215
|
-
output,
|
|
1216
|
-
parsedBody,
|
|
1217
|
-
errorCode
|
|
1218
|
-
});
|
|
1219
|
-
}
|
|
1220
|
-
}, "de_DeleteAppBundleCommandError");
|
|
1221
958
|
var de_DeleteIngestionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1222
959
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1223
|
-
return
|
|
960
|
+
return de_CommandError(output, context);
|
|
1224
961
|
}
|
|
1225
962
|
const contents = (0, import_smithy_client.map)({
|
|
1226
963
|
$metadata: deserializeMetadata(output)
|
|
@@ -1228,40 +965,9 @@ var de_DeleteIngestionCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
1228
965
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1229
966
|
return contents;
|
|
1230
967
|
}, "de_DeleteIngestionCommand");
|
|
1231
|
-
var de_DeleteIngestionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1232
|
-
const parsedOutput = {
|
|
1233
|
-
...output,
|
|
1234
|
-
body: await parseErrorBody(output.body, context)
|
|
1235
|
-
};
|
|
1236
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1237
|
-
switch (errorCode) {
|
|
1238
|
-
case "AccessDeniedException":
|
|
1239
|
-
case "com.amazonaws.appfabric#AccessDeniedException":
|
|
1240
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1241
|
-
case "InternalServerException":
|
|
1242
|
-
case "com.amazonaws.appfabric#InternalServerException":
|
|
1243
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1244
|
-
case "ResourceNotFoundException":
|
|
1245
|
-
case "com.amazonaws.appfabric#ResourceNotFoundException":
|
|
1246
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1247
|
-
case "ThrottlingException":
|
|
1248
|
-
case "com.amazonaws.appfabric#ThrottlingException":
|
|
1249
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1250
|
-
case "ValidationException":
|
|
1251
|
-
case "com.amazonaws.appfabric#ValidationException":
|
|
1252
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1253
|
-
default:
|
|
1254
|
-
const parsedBody = parsedOutput.body;
|
|
1255
|
-
return throwDefaultError({
|
|
1256
|
-
output,
|
|
1257
|
-
parsedBody,
|
|
1258
|
-
errorCode
|
|
1259
|
-
});
|
|
1260
|
-
}
|
|
1261
|
-
}, "de_DeleteIngestionCommandError");
|
|
1262
968
|
var de_DeleteIngestionDestinationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1263
969
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1264
|
-
return
|
|
970
|
+
return de_CommandError(output, context);
|
|
1265
971
|
}
|
|
1266
972
|
const contents = (0, import_smithy_client.map)({
|
|
1267
973
|
$metadata: deserializeMetadata(output)
|
|
@@ -1269,40 +975,9 @@ var de_DeleteIngestionDestinationCommand = /* @__PURE__ */ __name(async (output,
|
|
|
1269
975
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1270
976
|
return contents;
|
|
1271
977
|
}, "de_DeleteIngestionDestinationCommand");
|
|
1272
|
-
var de_DeleteIngestionDestinationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1273
|
-
const parsedOutput = {
|
|
1274
|
-
...output,
|
|
1275
|
-
body: await parseErrorBody(output.body, context)
|
|
1276
|
-
};
|
|
1277
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1278
|
-
switch (errorCode) {
|
|
1279
|
-
case "AccessDeniedException":
|
|
1280
|
-
case "com.amazonaws.appfabric#AccessDeniedException":
|
|
1281
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1282
|
-
case "InternalServerException":
|
|
1283
|
-
case "com.amazonaws.appfabric#InternalServerException":
|
|
1284
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1285
|
-
case "ResourceNotFoundException":
|
|
1286
|
-
case "com.amazonaws.appfabric#ResourceNotFoundException":
|
|
1287
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1288
|
-
case "ThrottlingException":
|
|
1289
|
-
case "com.amazonaws.appfabric#ThrottlingException":
|
|
1290
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1291
|
-
case "ValidationException":
|
|
1292
|
-
case "com.amazonaws.appfabric#ValidationException":
|
|
1293
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1294
|
-
default:
|
|
1295
|
-
const parsedBody = parsedOutput.body;
|
|
1296
|
-
return throwDefaultError({
|
|
1297
|
-
output,
|
|
1298
|
-
parsedBody,
|
|
1299
|
-
errorCode
|
|
1300
|
-
});
|
|
1301
|
-
}
|
|
1302
|
-
}, "de_DeleteIngestionDestinationCommandError");
|
|
1303
978
|
var de_GetAppAuthorizationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1304
979
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1305
|
-
return
|
|
980
|
+
return de_CommandError(output, context);
|
|
1306
981
|
}
|
|
1307
982
|
const contents = (0, import_smithy_client.map)({
|
|
1308
983
|
$metadata: deserializeMetadata(output)
|
|
@@ -1314,40 +989,9 @@ var de_GetAppAuthorizationCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
1314
989
|
Object.assign(contents, doc);
|
|
1315
990
|
return contents;
|
|
1316
991
|
}, "de_GetAppAuthorizationCommand");
|
|
1317
|
-
var de_GetAppAuthorizationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1318
|
-
const parsedOutput = {
|
|
1319
|
-
...output,
|
|
1320
|
-
body: await parseErrorBody(output.body, context)
|
|
1321
|
-
};
|
|
1322
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1323
|
-
switch (errorCode) {
|
|
1324
|
-
case "AccessDeniedException":
|
|
1325
|
-
case "com.amazonaws.appfabric#AccessDeniedException":
|
|
1326
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1327
|
-
case "InternalServerException":
|
|
1328
|
-
case "com.amazonaws.appfabric#InternalServerException":
|
|
1329
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1330
|
-
case "ResourceNotFoundException":
|
|
1331
|
-
case "com.amazonaws.appfabric#ResourceNotFoundException":
|
|
1332
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1333
|
-
case "ThrottlingException":
|
|
1334
|
-
case "com.amazonaws.appfabric#ThrottlingException":
|
|
1335
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1336
|
-
case "ValidationException":
|
|
1337
|
-
case "com.amazonaws.appfabric#ValidationException":
|
|
1338
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1339
|
-
default:
|
|
1340
|
-
const parsedBody = parsedOutput.body;
|
|
1341
|
-
return throwDefaultError({
|
|
1342
|
-
output,
|
|
1343
|
-
parsedBody,
|
|
1344
|
-
errorCode
|
|
1345
|
-
});
|
|
1346
|
-
}
|
|
1347
|
-
}, "de_GetAppAuthorizationCommandError");
|
|
1348
992
|
var de_GetAppBundleCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1349
993
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1350
|
-
return
|
|
994
|
+
return de_CommandError(output, context);
|
|
1351
995
|
}
|
|
1352
996
|
const contents = (0, import_smithy_client.map)({
|
|
1353
997
|
$metadata: deserializeMetadata(output)
|
|
@@ -1359,40 +1003,9 @@ var de_GetAppBundleCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1359
1003
|
Object.assign(contents, doc);
|
|
1360
1004
|
return contents;
|
|
1361
1005
|
}, "de_GetAppBundleCommand");
|
|
1362
|
-
var de_GetAppBundleCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1363
|
-
const parsedOutput = {
|
|
1364
|
-
...output,
|
|
1365
|
-
body: await parseErrorBody(output.body, context)
|
|
1366
|
-
};
|
|
1367
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1368
|
-
switch (errorCode) {
|
|
1369
|
-
case "AccessDeniedException":
|
|
1370
|
-
case "com.amazonaws.appfabric#AccessDeniedException":
|
|
1371
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1372
|
-
case "InternalServerException":
|
|
1373
|
-
case "com.amazonaws.appfabric#InternalServerException":
|
|
1374
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1375
|
-
case "ResourceNotFoundException":
|
|
1376
|
-
case "com.amazonaws.appfabric#ResourceNotFoundException":
|
|
1377
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1378
|
-
case "ThrottlingException":
|
|
1379
|
-
case "com.amazonaws.appfabric#ThrottlingException":
|
|
1380
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1381
|
-
case "ValidationException":
|
|
1382
|
-
case "com.amazonaws.appfabric#ValidationException":
|
|
1383
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1384
|
-
default:
|
|
1385
|
-
const parsedBody = parsedOutput.body;
|
|
1386
|
-
return throwDefaultError({
|
|
1387
|
-
output,
|
|
1388
|
-
parsedBody,
|
|
1389
|
-
errorCode
|
|
1390
|
-
});
|
|
1391
|
-
}
|
|
1392
|
-
}, "de_GetAppBundleCommandError");
|
|
1393
1006
|
var de_GetIngestionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1394
1007
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1395
|
-
return
|
|
1008
|
+
return de_CommandError(output, context);
|
|
1396
1009
|
}
|
|
1397
1010
|
const contents = (0, import_smithy_client.map)({
|
|
1398
1011
|
$metadata: deserializeMetadata(output)
|
|
@@ -1404,40 +1017,9 @@ var de_GetIngestionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1404
1017
|
Object.assign(contents, doc);
|
|
1405
1018
|
return contents;
|
|
1406
1019
|
}, "de_GetIngestionCommand");
|
|
1407
|
-
var de_GetIngestionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1408
|
-
const parsedOutput = {
|
|
1409
|
-
...output,
|
|
1410
|
-
body: await parseErrorBody(output.body, context)
|
|
1411
|
-
};
|
|
1412
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1413
|
-
switch (errorCode) {
|
|
1414
|
-
case "AccessDeniedException":
|
|
1415
|
-
case "com.amazonaws.appfabric#AccessDeniedException":
|
|
1416
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1417
|
-
case "InternalServerException":
|
|
1418
|
-
case "com.amazonaws.appfabric#InternalServerException":
|
|
1419
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1420
|
-
case "ResourceNotFoundException":
|
|
1421
|
-
case "com.amazonaws.appfabric#ResourceNotFoundException":
|
|
1422
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1423
|
-
case "ThrottlingException":
|
|
1424
|
-
case "com.amazonaws.appfabric#ThrottlingException":
|
|
1425
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1426
|
-
case "ValidationException":
|
|
1427
|
-
case "com.amazonaws.appfabric#ValidationException":
|
|
1428
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1429
|
-
default:
|
|
1430
|
-
const parsedBody = parsedOutput.body;
|
|
1431
|
-
return throwDefaultError({
|
|
1432
|
-
output,
|
|
1433
|
-
parsedBody,
|
|
1434
|
-
errorCode
|
|
1435
|
-
});
|
|
1436
|
-
}
|
|
1437
|
-
}, "de_GetIngestionCommandError");
|
|
1438
1020
|
var de_GetIngestionDestinationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1439
1021
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1440
|
-
return
|
|
1022
|
+
return de_CommandError(output, context);
|
|
1441
1023
|
}
|
|
1442
1024
|
const contents = (0, import_smithy_client.map)({
|
|
1443
1025
|
$metadata: deserializeMetadata(output)
|
|
@@ -1449,40 +1031,9 @@ var de_GetIngestionDestinationCommand = /* @__PURE__ */ __name(async (output, co
|
|
|
1449
1031
|
Object.assign(contents, doc);
|
|
1450
1032
|
return contents;
|
|
1451
1033
|
}, "de_GetIngestionDestinationCommand");
|
|
1452
|
-
var de_GetIngestionDestinationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1453
|
-
const parsedOutput = {
|
|
1454
|
-
...output,
|
|
1455
|
-
body: await parseErrorBody(output.body, context)
|
|
1456
|
-
};
|
|
1457
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1458
|
-
switch (errorCode) {
|
|
1459
|
-
case "AccessDeniedException":
|
|
1460
|
-
case "com.amazonaws.appfabric#AccessDeniedException":
|
|
1461
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1462
|
-
case "InternalServerException":
|
|
1463
|
-
case "com.amazonaws.appfabric#InternalServerException":
|
|
1464
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1465
|
-
case "ResourceNotFoundException":
|
|
1466
|
-
case "com.amazonaws.appfabric#ResourceNotFoundException":
|
|
1467
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1468
|
-
case "ThrottlingException":
|
|
1469
|
-
case "com.amazonaws.appfabric#ThrottlingException":
|
|
1470
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1471
|
-
case "ValidationException":
|
|
1472
|
-
case "com.amazonaws.appfabric#ValidationException":
|
|
1473
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1474
|
-
default:
|
|
1475
|
-
const parsedBody = parsedOutput.body;
|
|
1476
|
-
return throwDefaultError({
|
|
1477
|
-
output,
|
|
1478
|
-
parsedBody,
|
|
1479
|
-
errorCode
|
|
1480
|
-
});
|
|
1481
|
-
}
|
|
1482
|
-
}, "de_GetIngestionDestinationCommandError");
|
|
1483
1034
|
var de_ListAppAuthorizationsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1484
1035
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1485
|
-
return
|
|
1036
|
+
return de_CommandError(output, context);
|
|
1486
1037
|
}
|
|
1487
1038
|
const contents = (0, import_smithy_client.map)({
|
|
1488
1039
|
$metadata: deserializeMetadata(output)
|
|
@@ -1495,40 +1046,9 @@ var de_ListAppAuthorizationsCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
1495
1046
|
Object.assign(contents, doc);
|
|
1496
1047
|
return contents;
|
|
1497
1048
|
}, "de_ListAppAuthorizationsCommand");
|
|
1498
|
-
var de_ListAppAuthorizationsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1499
|
-
const parsedOutput = {
|
|
1500
|
-
...output,
|
|
1501
|
-
body: await parseErrorBody(output.body, context)
|
|
1502
|
-
};
|
|
1503
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1504
|
-
switch (errorCode) {
|
|
1505
|
-
case "AccessDeniedException":
|
|
1506
|
-
case "com.amazonaws.appfabric#AccessDeniedException":
|
|
1507
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1508
|
-
case "InternalServerException":
|
|
1509
|
-
case "com.amazonaws.appfabric#InternalServerException":
|
|
1510
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1511
|
-
case "ResourceNotFoundException":
|
|
1512
|
-
case "com.amazonaws.appfabric#ResourceNotFoundException":
|
|
1513
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1514
|
-
case "ThrottlingException":
|
|
1515
|
-
case "com.amazonaws.appfabric#ThrottlingException":
|
|
1516
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1517
|
-
case "ValidationException":
|
|
1518
|
-
case "com.amazonaws.appfabric#ValidationException":
|
|
1519
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1520
|
-
default:
|
|
1521
|
-
const parsedBody = parsedOutput.body;
|
|
1522
|
-
return throwDefaultError({
|
|
1523
|
-
output,
|
|
1524
|
-
parsedBody,
|
|
1525
|
-
errorCode
|
|
1526
|
-
});
|
|
1527
|
-
}
|
|
1528
|
-
}, "de_ListAppAuthorizationsCommandError");
|
|
1529
1049
|
var de_ListAppBundlesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1530
1050
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1531
|
-
return
|
|
1051
|
+
return de_CommandError(output, context);
|
|
1532
1052
|
}
|
|
1533
1053
|
const contents = (0, import_smithy_client.map)({
|
|
1534
1054
|
$metadata: deserializeMetadata(output)
|
|
@@ -1541,83 +1061,24 @@ var de_ListAppBundlesCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1541
1061
|
Object.assign(contents, doc);
|
|
1542
1062
|
return contents;
|
|
1543
1063
|
}, "de_ListAppBundlesCommand");
|
|
1544
|
-
var de_ListAppBundlesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1545
|
-
const parsedOutput = {
|
|
1546
|
-
...output,
|
|
1547
|
-
body: await parseErrorBody(output.body, context)
|
|
1548
|
-
};
|
|
1549
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1550
|
-
switch (errorCode) {
|
|
1551
|
-
case "AccessDeniedException":
|
|
1552
|
-
case "com.amazonaws.appfabric#AccessDeniedException":
|
|
1553
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1554
|
-
case "InternalServerException":
|
|
1555
|
-
case "com.amazonaws.appfabric#InternalServerException":
|
|
1556
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1557
|
-
case "ThrottlingException":
|
|
1558
|
-
case "com.amazonaws.appfabric#ThrottlingException":
|
|
1559
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1560
|
-
case "ValidationException":
|
|
1561
|
-
case "com.amazonaws.appfabric#ValidationException":
|
|
1562
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1563
|
-
default:
|
|
1564
|
-
const parsedBody = parsedOutput.body;
|
|
1565
|
-
return throwDefaultError({
|
|
1566
|
-
output,
|
|
1567
|
-
parsedBody,
|
|
1568
|
-
errorCode
|
|
1569
|
-
});
|
|
1570
|
-
}
|
|
1571
|
-
}, "de_ListAppBundlesCommandError");
|
|
1572
1064
|
var de_ListIngestionDestinationsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1573
1065
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1574
|
-
return
|
|
1066
|
+
return de_CommandError(output, context);
|
|
1575
1067
|
}
|
|
1576
1068
|
const contents = (0, import_smithy_client.map)({
|
|
1577
1069
|
$metadata: deserializeMetadata(output)
|
|
1578
1070
|
});
|
|
1579
1071
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1580
1072
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1581
|
-
ingestionDestinations: import_smithy_client._json,
|
|
1582
|
-
nextToken: import_smithy_client.expectString
|
|
1583
|
-
});
|
|
1584
|
-
Object.assign(contents, doc);
|
|
1585
|
-
return contents;
|
|
1586
|
-
}, "de_ListIngestionDestinationsCommand");
|
|
1587
|
-
var de_ListIngestionDestinationsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1588
|
-
const parsedOutput = {
|
|
1589
|
-
...output,
|
|
1590
|
-
body: await parseErrorBody(output.body, context)
|
|
1591
|
-
};
|
|
1592
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1593
|
-
switch (errorCode) {
|
|
1594
|
-
case "AccessDeniedException":
|
|
1595
|
-
case "com.amazonaws.appfabric#AccessDeniedException":
|
|
1596
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1597
|
-
case "InternalServerException":
|
|
1598
|
-
case "com.amazonaws.appfabric#InternalServerException":
|
|
1599
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1600
|
-
case "ResourceNotFoundException":
|
|
1601
|
-
case "com.amazonaws.appfabric#ResourceNotFoundException":
|
|
1602
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1603
|
-
case "ThrottlingException":
|
|
1604
|
-
case "com.amazonaws.appfabric#ThrottlingException":
|
|
1605
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1606
|
-
case "ValidationException":
|
|
1607
|
-
case "com.amazonaws.appfabric#ValidationException":
|
|
1608
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1609
|
-
default:
|
|
1610
|
-
const parsedBody = parsedOutput.body;
|
|
1611
|
-
return throwDefaultError({
|
|
1612
|
-
output,
|
|
1613
|
-
parsedBody,
|
|
1614
|
-
errorCode
|
|
1615
|
-
});
|
|
1616
|
-
}
|
|
1617
|
-
}, "de_ListIngestionDestinationsCommandError");
|
|
1073
|
+
ingestionDestinations: import_smithy_client._json,
|
|
1074
|
+
nextToken: import_smithy_client.expectString
|
|
1075
|
+
});
|
|
1076
|
+
Object.assign(contents, doc);
|
|
1077
|
+
return contents;
|
|
1078
|
+
}, "de_ListIngestionDestinationsCommand");
|
|
1618
1079
|
var de_ListIngestionsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1619
1080
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1620
|
-
return
|
|
1081
|
+
return de_CommandError(output, context);
|
|
1621
1082
|
}
|
|
1622
1083
|
const contents = (0, import_smithy_client.map)({
|
|
1623
1084
|
$metadata: deserializeMetadata(output)
|
|
@@ -1630,40 +1091,9 @@ var de_ListIngestionsCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1630
1091
|
Object.assign(contents, doc);
|
|
1631
1092
|
return contents;
|
|
1632
1093
|
}, "de_ListIngestionsCommand");
|
|
1633
|
-
var de_ListIngestionsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1634
|
-
const parsedOutput = {
|
|
1635
|
-
...output,
|
|
1636
|
-
body: await parseErrorBody(output.body, context)
|
|
1637
|
-
};
|
|
1638
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1639
|
-
switch (errorCode) {
|
|
1640
|
-
case "AccessDeniedException":
|
|
1641
|
-
case "com.amazonaws.appfabric#AccessDeniedException":
|
|
1642
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1643
|
-
case "InternalServerException":
|
|
1644
|
-
case "com.amazonaws.appfabric#InternalServerException":
|
|
1645
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1646
|
-
case "ResourceNotFoundException":
|
|
1647
|
-
case "com.amazonaws.appfabric#ResourceNotFoundException":
|
|
1648
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1649
|
-
case "ThrottlingException":
|
|
1650
|
-
case "com.amazonaws.appfabric#ThrottlingException":
|
|
1651
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1652
|
-
case "ValidationException":
|
|
1653
|
-
case "com.amazonaws.appfabric#ValidationException":
|
|
1654
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1655
|
-
default:
|
|
1656
|
-
const parsedBody = parsedOutput.body;
|
|
1657
|
-
return throwDefaultError({
|
|
1658
|
-
output,
|
|
1659
|
-
parsedBody,
|
|
1660
|
-
errorCode
|
|
1661
|
-
});
|
|
1662
|
-
}
|
|
1663
|
-
}, "de_ListIngestionsCommandError");
|
|
1664
1094
|
var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1665
1095
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1666
|
-
return
|
|
1096
|
+
return de_CommandError(output, context);
|
|
1667
1097
|
}
|
|
1668
1098
|
const contents = (0, import_smithy_client.map)({
|
|
1669
1099
|
$metadata: deserializeMetadata(output)
|
|
@@ -1675,40 +1105,9 @@ var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
1675
1105
|
Object.assign(contents, doc);
|
|
1676
1106
|
return contents;
|
|
1677
1107
|
}, "de_ListTagsForResourceCommand");
|
|
1678
|
-
var de_ListTagsForResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1679
|
-
const parsedOutput = {
|
|
1680
|
-
...output,
|
|
1681
|
-
body: await parseErrorBody(output.body, context)
|
|
1682
|
-
};
|
|
1683
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1684
|
-
switch (errorCode) {
|
|
1685
|
-
case "AccessDeniedException":
|
|
1686
|
-
case "com.amazonaws.appfabric#AccessDeniedException":
|
|
1687
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1688
|
-
case "InternalServerException":
|
|
1689
|
-
case "com.amazonaws.appfabric#InternalServerException":
|
|
1690
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1691
|
-
case "ResourceNotFoundException":
|
|
1692
|
-
case "com.amazonaws.appfabric#ResourceNotFoundException":
|
|
1693
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1694
|
-
case "ThrottlingException":
|
|
1695
|
-
case "com.amazonaws.appfabric#ThrottlingException":
|
|
1696
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1697
|
-
case "ValidationException":
|
|
1698
|
-
case "com.amazonaws.appfabric#ValidationException":
|
|
1699
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1700
|
-
default:
|
|
1701
|
-
const parsedBody = parsedOutput.body;
|
|
1702
|
-
return throwDefaultError({
|
|
1703
|
-
output,
|
|
1704
|
-
parsedBody,
|
|
1705
|
-
errorCode
|
|
1706
|
-
});
|
|
1707
|
-
}
|
|
1708
|
-
}, "de_ListTagsForResourceCommandError");
|
|
1709
1108
|
var de_StartIngestionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1710
1109
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1711
|
-
return
|
|
1110
|
+
return de_CommandError(output, context);
|
|
1712
1111
|
}
|
|
1713
1112
|
const contents = (0, import_smithy_client.map)({
|
|
1714
1113
|
$metadata: deserializeMetadata(output)
|
|
@@ -1716,43 +1115,9 @@ var de_StartIngestionCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1716
1115
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1717
1116
|
return contents;
|
|
1718
1117
|
}, "de_StartIngestionCommand");
|
|
1719
|
-
var de_StartIngestionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1720
|
-
const parsedOutput = {
|
|
1721
|
-
...output,
|
|
1722
|
-
body: await parseErrorBody(output.body, context)
|
|
1723
|
-
};
|
|
1724
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1725
|
-
switch (errorCode) {
|
|
1726
|
-
case "AccessDeniedException":
|
|
1727
|
-
case "com.amazonaws.appfabric#AccessDeniedException":
|
|
1728
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1729
|
-
case "ConflictException":
|
|
1730
|
-
case "com.amazonaws.appfabric#ConflictException":
|
|
1731
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1732
|
-
case "InternalServerException":
|
|
1733
|
-
case "com.amazonaws.appfabric#InternalServerException":
|
|
1734
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1735
|
-
case "ResourceNotFoundException":
|
|
1736
|
-
case "com.amazonaws.appfabric#ResourceNotFoundException":
|
|
1737
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1738
|
-
case "ThrottlingException":
|
|
1739
|
-
case "com.amazonaws.appfabric#ThrottlingException":
|
|
1740
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1741
|
-
case "ValidationException":
|
|
1742
|
-
case "com.amazonaws.appfabric#ValidationException":
|
|
1743
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1744
|
-
default:
|
|
1745
|
-
const parsedBody = parsedOutput.body;
|
|
1746
|
-
return throwDefaultError({
|
|
1747
|
-
output,
|
|
1748
|
-
parsedBody,
|
|
1749
|
-
errorCode
|
|
1750
|
-
});
|
|
1751
|
-
}
|
|
1752
|
-
}, "de_StartIngestionCommandError");
|
|
1753
1118
|
var de_StartUserAccessTasksCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1754
1119
|
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
1755
|
-
return
|
|
1120
|
+
return de_CommandError(output, context);
|
|
1756
1121
|
}
|
|
1757
1122
|
const contents = (0, import_smithy_client.map)({
|
|
1758
1123
|
$metadata: deserializeMetadata(output)
|
|
@@ -1764,40 +1129,9 @@ var de_StartUserAccessTasksCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
1764
1129
|
Object.assign(contents, doc);
|
|
1765
1130
|
return contents;
|
|
1766
1131
|
}, "de_StartUserAccessTasksCommand");
|
|
1767
|
-
var de_StartUserAccessTasksCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1768
|
-
const parsedOutput = {
|
|
1769
|
-
...output,
|
|
1770
|
-
body: await parseErrorBody(output.body, context)
|
|
1771
|
-
};
|
|
1772
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1773
|
-
switch (errorCode) {
|
|
1774
|
-
case "AccessDeniedException":
|
|
1775
|
-
case "com.amazonaws.appfabric#AccessDeniedException":
|
|
1776
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1777
|
-
case "InternalServerException":
|
|
1778
|
-
case "com.amazonaws.appfabric#InternalServerException":
|
|
1779
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1780
|
-
case "ResourceNotFoundException":
|
|
1781
|
-
case "com.amazonaws.appfabric#ResourceNotFoundException":
|
|
1782
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1783
|
-
case "ThrottlingException":
|
|
1784
|
-
case "com.amazonaws.appfabric#ThrottlingException":
|
|
1785
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1786
|
-
case "ValidationException":
|
|
1787
|
-
case "com.amazonaws.appfabric#ValidationException":
|
|
1788
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1789
|
-
default:
|
|
1790
|
-
const parsedBody = parsedOutput.body;
|
|
1791
|
-
return throwDefaultError({
|
|
1792
|
-
output,
|
|
1793
|
-
parsedBody,
|
|
1794
|
-
errorCode
|
|
1795
|
-
});
|
|
1796
|
-
}
|
|
1797
|
-
}, "de_StartUserAccessTasksCommandError");
|
|
1798
1132
|
var de_StopIngestionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1799
1133
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1800
|
-
return
|
|
1134
|
+
return de_CommandError(output, context);
|
|
1801
1135
|
}
|
|
1802
1136
|
const contents = (0, import_smithy_client.map)({
|
|
1803
1137
|
$metadata: deserializeMetadata(output)
|
|
@@ -1805,43 +1139,9 @@ var de_StopIngestionCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1805
1139
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1806
1140
|
return contents;
|
|
1807
1141
|
}, "de_StopIngestionCommand");
|
|
1808
|
-
var de_StopIngestionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1809
|
-
const parsedOutput = {
|
|
1810
|
-
...output,
|
|
1811
|
-
body: await parseErrorBody(output.body, context)
|
|
1812
|
-
};
|
|
1813
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1814
|
-
switch (errorCode) {
|
|
1815
|
-
case "AccessDeniedException":
|
|
1816
|
-
case "com.amazonaws.appfabric#AccessDeniedException":
|
|
1817
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1818
|
-
case "ConflictException":
|
|
1819
|
-
case "com.amazonaws.appfabric#ConflictException":
|
|
1820
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1821
|
-
case "InternalServerException":
|
|
1822
|
-
case "com.amazonaws.appfabric#InternalServerException":
|
|
1823
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1824
|
-
case "ResourceNotFoundException":
|
|
1825
|
-
case "com.amazonaws.appfabric#ResourceNotFoundException":
|
|
1826
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1827
|
-
case "ThrottlingException":
|
|
1828
|
-
case "com.amazonaws.appfabric#ThrottlingException":
|
|
1829
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1830
|
-
case "ValidationException":
|
|
1831
|
-
case "com.amazonaws.appfabric#ValidationException":
|
|
1832
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1833
|
-
default:
|
|
1834
|
-
const parsedBody = parsedOutput.body;
|
|
1835
|
-
return throwDefaultError({
|
|
1836
|
-
output,
|
|
1837
|
-
parsedBody,
|
|
1838
|
-
errorCode
|
|
1839
|
-
});
|
|
1840
|
-
}
|
|
1841
|
-
}, "de_StopIngestionCommandError");
|
|
1842
1142
|
var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1843
1143
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1844
|
-
return
|
|
1144
|
+
return de_CommandError(output, context);
|
|
1845
1145
|
}
|
|
1846
1146
|
const contents = (0, import_smithy_client.map)({
|
|
1847
1147
|
$metadata: deserializeMetadata(output)
|
|
@@ -1849,40 +1149,9 @@ var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1849
1149
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1850
1150
|
return contents;
|
|
1851
1151
|
}, "de_TagResourceCommand");
|
|
1852
|
-
var de_TagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1853
|
-
const parsedOutput = {
|
|
1854
|
-
...output,
|
|
1855
|
-
body: await parseErrorBody(output.body, context)
|
|
1856
|
-
};
|
|
1857
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1858
|
-
switch (errorCode) {
|
|
1859
|
-
case "AccessDeniedException":
|
|
1860
|
-
case "com.amazonaws.appfabric#AccessDeniedException":
|
|
1861
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1862
|
-
case "InternalServerException":
|
|
1863
|
-
case "com.amazonaws.appfabric#InternalServerException":
|
|
1864
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1865
|
-
case "ResourceNotFoundException":
|
|
1866
|
-
case "com.amazonaws.appfabric#ResourceNotFoundException":
|
|
1867
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1868
|
-
case "ThrottlingException":
|
|
1869
|
-
case "com.amazonaws.appfabric#ThrottlingException":
|
|
1870
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1871
|
-
case "ValidationException":
|
|
1872
|
-
case "com.amazonaws.appfabric#ValidationException":
|
|
1873
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1874
|
-
default:
|
|
1875
|
-
const parsedBody = parsedOutput.body;
|
|
1876
|
-
return throwDefaultError({
|
|
1877
|
-
output,
|
|
1878
|
-
parsedBody,
|
|
1879
|
-
errorCode
|
|
1880
|
-
});
|
|
1881
|
-
}
|
|
1882
|
-
}, "de_TagResourceCommandError");
|
|
1883
1152
|
var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1884
1153
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1885
|
-
return
|
|
1154
|
+
return de_CommandError(output, context);
|
|
1886
1155
|
}
|
|
1887
1156
|
const contents = (0, import_smithy_client.map)({
|
|
1888
1157
|
$metadata: deserializeMetadata(output)
|
|
@@ -1890,40 +1159,9 @@ var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1890
1159
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1891
1160
|
return contents;
|
|
1892
1161
|
}, "de_UntagResourceCommand");
|
|
1893
|
-
var de_UntagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1894
|
-
const parsedOutput = {
|
|
1895
|
-
...output,
|
|
1896
|
-
body: await parseErrorBody(output.body, context)
|
|
1897
|
-
};
|
|
1898
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1899
|
-
switch (errorCode) {
|
|
1900
|
-
case "AccessDeniedException":
|
|
1901
|
-
case "com.amazonaws.appfabric#AccessDeniedException":
|
|
1902
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1903
|
-
case "InternalServerException":
|
|
1904
|
-
case "com.amazonaws.appfabric#InternalServerException":
|
|
1905
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1906
|
-
case "ResourceNotFoundException":
|
|
1907
|
-
case "com.amazonaws.appfabric#ResourceNotFoundException":
|
|
1908
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1909
|
-
case "ThrottlingException":
|
|
1910
|
-
case "com.amazonaws.appfabric#ThrottlingException":
|
|
1911
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1912
|
-
case "ValidationException":
|
|
1913
|
-
case "com.amazonaws.appfabric#ValidationException":
|
|
1914
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1915
|
-
default:
|
|
1916
|
-
const parsedBody = parsedOutput.body;
|
|
1917
|
-
return throwDefaultError({
|
|
1918
|
-
output,
|
|
1919
|
-
parsedBody,
|
|
1920
|
-
errorCode
|
|
1921
|
-
});
|
|
1922
|
-
}
|
|
1923
|
-
}, "de_UntagResourceCommandError");
|
|
1924
1162
|
var de_UpdateAppAuthorizationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1925
1163
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1926
|
-
return
|
|
1164
|
+
return de_CommandError(output, context);
|
|
1927
1165
|
}
|
|
1928
1166
|
const contents = (0, import_smithy_client.map)({
|
|
1929
1167
|
$metadata: deserializeMetadata(output)
|
|
@@ -1935,40 +1173,9 @@ var de_UpdateAppAuthorizationCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
1935
1173
|
Object.assign(contents, doc);
|
|
1936
1174
|
return contents;
|
|
1937
1175
|
}, "de_UpdateAppAuthorizationCommand");
|
|
1938
|
-
var de_UpdateAppAuthorizationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1939
|
-
const parsedOutput = {
|
|
1940
|
-
...output,
|
|
1941
|
-
body: await parseErrorBody(output.body, context)
|
|
1942
|
-
};
|
|
1943
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1944
|
-
switch (errorCode) {
|
|
1945
|
-
case "AccessDeniedException":
|
|
1946
|
-
case "com.amazonaws.appfabric#AccessDeniedException":
|
|
1947
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1948
|
-
case "InternalServerException":
|
|
1949
|
-
case "com.amazonaws.appfabric#InternalServerException":
|
|
1950
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1951
|
-
case "ResourceNotFoundException":
|
|
1952
|
-
case "com.amazonaws.appfabric#ResourceNotFoundException":
|
|
1953
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1954
|
-
case "ThrottlingException":
|
|
1955
|
-
case "com.amazonaws.appfabric#ThrottlingException":
|
|
1956
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1957
|
-
case "ValidationException":
|
|
1958
|
-
case "com.amazonaws.appfabric#ValidationException":
|
|
1959
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1960
|
-
default:
|
|
1961
|
-
const parsedBody = parsedOutput.body;
|
|
1962
|
-
return throwDefaultError({
|
|
1963
|
-
output,
|
|
1964
|
-
parsedBody,
|
|
1965
|
-
errorCode
|
|
1966
|
-
});
|
|
1967
|
-
}
|
|
1968
|
-
}, "de_UpdateAppAuthorizationCommandError");
|
|
1969
1176
|
var de_UpdateIngestionDestinationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1970
1177
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1971
|
-
return
|
|
1178
|
+
return de_CommandError(output, context);
|
|
1972
1179
|
}
|
|
1973
1180
|
const contents = (0, import_smithy_client.map)({
|
|
1974
1181
|
$metadata: deserializeMetadata(output)
|
|
@@ -1980,7 +1187,7 @@ var de_UpdateIngestionDestinationCommand = /* @__PURE__ */ __name(async (output,
|
|
|
1980
1187
|
Object.assign(contents, doc);
|
|
1981
1188
|
return contents;
|
|
1982
1189
|
}, "de_UpdateIngestionDestinationCommand");
|
|
1983
|
-
var
|
|
1190
|
+
var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1984
1191
|
const parsedOutput = {
|
|
1985
1192
|
...output,
|
|
1986
1193
|
body: await parseErrorBody(output.body, context)
|
|
@@ -1990,24 +1197,24 @@ var de_UpdateIngestionDestinationCommandError = /* @__PURE__ */ __name(async (ou
|
|
|
1990
1197
|
case "AccessDeniedException":
|
|
1991
1198
|
case "com.amazonaws.appfabric#AccessDeniedException":
|
|
1992
1199
|
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1993
|
-
case "ConflictException":
|
|
1994
|
-
case "com.amazonaws.appfabric#ConflictException":
|
|
1995
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1996
1200
|
case "InternalServerException":
|
|
1997
1201
|
case "com.amazonaws.appfabric#InternalServerException":
|
|
1998
1202
|
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1999
1203
|
case "ResourceNotFoundException":
|
|
2000
1204
|
case "com.amazonaws.appfabric#ResourceNotFoundException":
|
|
2001
1205
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2002
|
-
case "ServiceQuotaExceededException":
|
|
2003
|
-
case "com.amazonaws.appfabric#ServiceQuotaExceededException":
|
|
2004
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
2005
1206
|
case "ThrottlingException":
|
|
2006
1207
|
case "com.amazonaws.appfabric#ThrottlingException":
|
|
2007
1208
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2008
1209
|
case "ValidationException":
|
|
2009
1210
|
case "com.amazonaws.appfabric#ValidationException":
|
|
2010
1211
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1212
|
+
case "ConflictException":
|
|
1213
|
+
case "com.amazonaws.appfabric#ConflictException":
|
|
1214
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1215
|
+
case "ServiceQuotaExceededException":
|
|
1216
|
+
case "com.amazonaws.appfabric#ServiceQuotaExceededException":
|
|
1217
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
2011
1218
|
default:
|
|
2012
1219
|
const parsedBody = parsedOutput.body;
|
|
2013
1220
|
return throwDefaultError({
|
|
@@ -2016,7 +1223,7 @@ var de_UpdateIngestionDestinationCommandError = /* @__PURE__ */ __name(async (ou
|
|
|
2016
1223
|
errorCode
|
|
2017
1224
|
});
|
|
2018
1225
|
}
|
|
2019
|
-
}, "
|
|
1226
|
+
}, "de_CommandError");
|
|
2020
1227
|
var throwDefaultError = (0, import_smithy_client.withBaseException)(AppFabricServiceException);
|
|
2021
1228
|
var de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2022
1229
|
const contents = (0, import_smithy_client.map)({});
|