@aws-sdk/client-chime-sdk-meetings 3.504.0 → 3.509.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 -625
- package/dist-es/protocols/Aws_restJson1.js +33 -618
- package/package.json +3 -3
package/dist-cjs/index.js
CHANGED
|
@@ -885,7 +885,7 @@ var se_UpdateAttendeeCapabilitiesCommand = /* @__PURE__ */ __name(async (input,
|
|
|
885
885
|
}, "se_UpdateAttendeeCapabilitiesCommand");
|
|
886
886
|
var de_BatchCreateAttendeeCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
887
887
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
888
|
-
return
|
|
888
|
+
return de_CommandError(output, context);
|
|
889
889
|
}
|
|
890
890
|
const contents = (0, import_smithy_client.map)({
|
|
891
891
|
$metadata: deserializeMetadata(output)
|
|
@@ -898,52 +898,9 @@ var de_BatchCreateAttendeeCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
898
898
|
Object.assign(contents, doc);
|
|
899
899
|
return contents;
|
|
900
900
|
}, "de_BatchCreateAttendeeCommand");
|
|
901
|
-
var de_BatchCreateAttendeeCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
902
|
-
const parsedOutput = {
|
|
903
|
-
...output,
|
|
904
|
-
body: await parseErrorBody(output.body, context)
|
|
905
|
-
};
|
|
906
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
907
|
-
switch (errorCode) {
|
|
908
|
-
case "BadRequestException":
|
|
909
|
-
case "com.amazonaws.chimesdkmeetings#BadRequestException":
|
|
910
|
-
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
911
|
-
case "ForbiddenException":
|
|
912
|
-
case "com.amazonaws.chimesdkmeetings#ForbiddenException":
|
|
913
|
-
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
914
|
-
case "LimitExceededException":
|
|
915
|
-
case "com.amazonaws.chimesdkmeetings#LimitExceededException":
|
|
916
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
917
|
-
case "NotFoundException":
|
|
918
|
-
case "com.amazonaws.chimesdkmeetings#NotFoundException":
|
|
919
|
-
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
920
|
-
case "ServiceFailureException":
|
|
921
|
-
case "com.amazonaws.chimesdkmeetings#ServiceFailureException":
|
|
922
|
-
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
923
|
-
case "ServiceUnavailableException":
|
|
924
|
-
case "com.amazonaws.chimesdkmeetings#ServiceUnavailableException":
|
|
925
|
-
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
926
|
-
case "ThrottlingException":
|
|
927
|
-
case "com.amazonaws.chimesdkmeetings#ThrottlingException":
|
|
928
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
929
|
-
case "UnauthorizedException":
|
|
930
|
-
case "com.amazonaws.chimesdkmeetings#UnauthorizedException":
|
|
931
|
-
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
932
|
-
case "UnprocessableEntityException":
|
|
933
|
-
case "com.amazonaws.chimesdkmeetings#UnprocessableEntityException":
|
|
934
|
-
throw await de_UnprocessableEntityExceptionRes(parsedOutput, context);
|
|
935
|
-
default:
|
|
936
|
-
const parsedBody = parsedOutput.body;
|
|
937
|
-
return throwDefaultError({
|
|
938
|
-
output,
|
|
939
|
-
parsedBody,
|
|
940
|
-
errorCode
|
|
941
|
-
});
|
|
942
|
-
}
|
|
943
|
-
}, "de_BatchCreateAttendeeCommandError");
|
|
944
901
|
var de_BatchUpdateAttendeeCapabilitiesExceptCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
945
902
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
946
|
-
return
|
|
903
|
+
return de_CommandError(output, context);
|
|
947
904
|
}
|
|
948
905
|
const contents = (0, import_smithy_client.map)({
|
|
949
906
|
$metadata: deserializeMetadata(output)
|
|
@@ -951,49 +908,9 @@ var de_BatchUpdateAttendeeCapabilitiesExceptCommand = /* @__PURE__ */ __name(asy
|
|
|
951
908
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
952
909
|
return contents;
|
|
953
910
|
}, "de_BatchUpdateAttendeeCapabilitiesExceptCommand");
|
|
954
|
-
var de_BatchUpdateAttendeeCapabilitiesExceptCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
955
|
-
const parsedOutput = {
|
|
956
|
-
...output,
|
|
957
|
-
body: await parseErrorBody(output.body, context)
|
|
958
|
-
};
|
|
959
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
960
|
-
switch (errorCode) {
|
|
961
|
-
case "BadRequestException":
|
|
962
|
-
case "com.amazonaws.chimesdkmeetings#BadRequestException":
|
|
963
|
-
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
964
|
-
case "ConflictException":
|
|
965
|
-
case "com.amazonaws.chimesdkmeetings#ConflictException":
|
|
966
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
967
|
-
case "ForbiddenException":
|
|
968
|
-
case "com.amazonaws.chimesdkmeetings#ForbiddenException":
|
|
969
|
-
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
970
|
-
case "NotFoundException":
|
|
971
|
-
case "com.amazonaws.chimesdkmeetings#NotFoundException":
|
|
972
|
-
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
973
|
-
case "ServiceFailureException":
|
|
974
|
-
case "com.amazonaws.chimesdkmeetings#ServiceFailureException":
|
|
975
|
-
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
976
|
-
case "ServiceUnavailableException":
|
|
977
|
-
case "com.amazonaws.chimesdkmeetings#ServiceUnavailableException":
|
|
978
|
-
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
979
|
-
case "ThrottlingException":
|
|
980
|
-
case "com.amazonaws.chimesdkmeetings#ThrottlingException":
|
|
981
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
982
|
-
case "UnauthorizedException":
|
|
983
|
-
case "com.amazonaws.chimesdkmeetings#UnauthorizedException":
|
|
984
|
-
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
985
|
-
default:
|
|
986
|
-
const parsedBody = parsedOutput.body;
|
|
987
|
-
return throwDefaultError({
|
|
988
|
-
output,
|
|
989
|
-
parsedBody,
|
|
990
|
-
errorCode
|
|
991
|
-
});
|
|
992
|
-
}
|
|
993
|
-
}, "de_BatchUpdateAttendeeCapabilitiesExceptCommandError");
|
|
994
911
|
var de_CreateAttendeeCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
995
912
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
996
|
-
return
|
|
913
|
+
return de_CommandError(output, context);
|
|
997
914
|
}
|
|
998
915
|
const contents = (0, import_smithy_client.map)({
|
|
999
916
|
$metadata: deserializeMetadata(output)
|
|
@@ -1005,52 +922,9 @@ var de_CreateAttendeeCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1005
922
|
Object.assign(contents, doc);
|
|
1006
923
|
return contents;
|
|
1007
924
|
}, "de_CreateAttendeeCommand");
|
|
1008
|
-
var de_CreateAttendeeCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1009
|
-
const parsedOutput = {
|
|
1010
|
-
...output,
|
|
1011
|
-
body: await parseErrorBody(output.body, context)
|
|
1012
|
-
};
|
|
1013
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1014
|
-
switch (errorCode) {
|
|
1015
|
-
case "BadRequestException":
|
|
1016
|
-
case "com.amazonaws.chimesdkmeetings#BadRequestException":
|
|
1017
|
-
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1018
|
-
case "ForbiddenException":
|
|
1019
|
-
case "com.amazonaws.chimesdkmeetings#ForbiddenException":
|
|
1020
|
-
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
1021
|
-
case "LimitExceededException":
|
|
1022
|
-
case "com.amazonaws.chimesdkmeetings#LimitExceededException":
|
|
1023
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1024
|
-
case "NotFoundException":
|
|
1025
|
-
case "com.amazonaws.chimesdkmeetings#NotFoundException":
|
|
1026
|
-
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1027
|
-
case "ServiceFailureException":
|
|
1028
|
-
case "com.amazonaws.chimesdkmeetings#ServiceFailureException":
|
|
1029
|
-
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
1030
|
-
case "ServiceUnavailableException":
|
|
1031
|
-
case "com.amazonaws.chimesdkmeetings#ServiceUnavailableException":
|
|
1032
|
-
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1033
|
-
case "ThrottlingException":
|
|
1034
|
-
case "com.amazonaws.chimesdkmeetings#ThrottlingException":
|
|
1035
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1036
|
-
case "UnauthorizedException":
|
|
1037
|
-
case "com.amazonaws.chimesdkmeetings#UnauthorizedException":
|
|
1038
|
-
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
1039
|
-
case "UnprocessableEntityException":
|
|
1040
|
-
case "com.amazonaws.chimesdkmeetings#UnprocessableEntityException":
|
|
1041
|
-
throw await de_UnprocessableEntityExceptionRes(parsedOutput, context);
|
|
1042
|
-
default:
|
|
1043
|
-
const parsedBody = parsedOutput.body;
|
|
1044
|
-
return throwDefaultError({
|
|
1045
|
-
output,
|
|
1046
|
-
parsedBody,
|
|
1047
|
-
errorCode
|
|
1048
|
-
});
|
|
1049
|
-
}
|
|
1050
|
-
}, "de_CreateAttendeeCommandError");
|
|
1051
925
|
var de_CreateMeetingCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1052
926
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1053
|
-
return
|
|
927
|
+
return de_CommandError(output, context);
|
|
1054
928
|
}
|
|
1055
929
|
const contents = (0, import_smithy_client.map)({
|
|
1056
930
|
$metadata: deserializeMetadata(output)
|
|
@@ -1062,49 +936,9 @@ var de_CreateMeetingCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1062
936
|
Object.assign(contents, doc);
|
|
1063
937
|
return contents;
|
|
1064
938
|
}, "de_CreateMeetingCommand");
|
|
1065
|
-
var de_CreateMeetingCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1066
|
-
const parsedOutput = {
|
|
1067
|
-
...output,
|
|
1068
|
-
body: await parseErrorBody(output.body, context)
|
|
1069
|
-
};
|
|
1070
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1071
|
-
switch (errorCode) {
|
|
1072
|
-
case "BadRequestException":
|
|
1073
|
-
case "com.amazonaws.chimesdkmeetings#BadRequestException":
|
|
1074
|
-
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1075
|
-
case "ConflictException":
|
|
1076
|
-
case "com.amazonaws.chimesdkmeetings#ConflictException":
|
|
1077
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1078
|
-
case "ForbiddenException":
|
|
1079
|
-
case "com.amazonaws.chimesdkmeetings#ForbiddenException":
|
|
1080
|
-
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
1081
|
-
case "LimitExceededException":
|
|
1082
|
-
case "com.amazonaws.chimesdkmeetings#LimitExceededException":
|
|
1083
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1084
|
-
case "ServiceFailureException":
|
|
1085
|
-
case "com.amazonaws.chimesdkmeetings#ServiceFailureException":
|
|
1086
|
-
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
1087
|
-
case "ServiceUnavailableException":
|
|
1088
|
-
case "com.amazonaws.chimesdkmeetings#ServiceUnavailableException":
|
|
1089
|
-
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1090
|
-
case "ThrottlingException":
|
|
1091
|
-
case "com.amazonaws.chimesdkmeetings#ThrottlingException":
|
|
1092
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1093
|
-
case "UnauthorizedException":
|
|
1094
|
-
case "com.amazonaws.chimesdkmeetings#UnauthorizedException":
|
|
1095
|
-
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
1096
|
-
default:
|
|
1097
|
-
const parsedBody = parsedOutput.body;
|
|
1098
|
-
return throwDefaultError({
|
|
1099
|
-
output,
|
|
1100
|
-
parsedBody,
|
|
1101
|
-
errorCode
|
|
1102
|
-
});
|
|
1103
|
-
}
|
|
1104
|
-
}, "de_CreateMeetingCommandError");
|
|
1105
939
|
var de_CreateMeetingWithAttendeesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1106
940
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1107
|
-
return
|
|
941
|
+
return de_CommandError(output, context);
|
|
1108
942
|
}
|
|
1109
943
|
const contents = (0, import_smithy_client.map)({
|
|
1110
944
|
$metadata: deserializeMetadata(output)
|
|
@@ -1118,49 +952,9 @@ var de_CreateMeetingWithAttendeesCommand = /* @__PURE__ */ __name(async (output,
|
|
|
1118
952
|
Object.assign(contents, doc);
|
|
1119
953
|
return contents;
|
|
1120
954
|
}, "de_CreateMeetingWithAttendeesCommand");
|
|
1121
|
-
var de_CreateMeetingWithAttendeesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1122
|
-
const parsedOutput = {
|
|
1123
|
-
...output,
|
|
1124
|
-
body: await parseErrorBody(output.body, context)
|
|
1125
|
-
};
|
|
1126
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1127
|
-
switch (errorCode) {
|
|
1128
|
-
case "BadRequestException":
|
|
1129
|
-
case "com.amazonaws.chimesdkmeetings#BadRequestException":
|
|
1130
|
-
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1131
|
-
case "ConflictException":
|
|
1132
|
-
case "com.amazonaws.chimesdkmeetings#ConflictException":
|
|
1133
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1134
|
-
case "ForbiddenException":
|
|
1135
|
-
case "com.amazonaws.chimesdkmeetings#ForbiddenException":
|
|
1136
|
-
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
1137
|
-
case "LimitExceededException":
|
|
1138
|
-
case "com.amazonaws.chimesdkmeetings#LimitExceededException":
|
|
1139
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1140
|
-
case "ServiceFailureException":
|
|
1141
|
-
case "com.amazonaws.chimesdkmeetings#ServiceFailureException":
|
|
1142
|
-
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
1143
|
-
case "ServiceUnavailableException":
|
|
1144
|
-
case "com.amazonaws.chimesdkmeetings#ServiceUnavailableException":
|
|
1145
|
-
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1146
|
-
case "ThrottlingException":
|
|
1147
|
-
case "com.amazonaws.chimesdkmeetings#ThrottlingException":
|
|
1148
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1149
|
-
case "UnauthorizedException":
|
|
1150
|
-
case "com.amazonaws.chimesdkmeetings#UnauthorizedException":
|
|
1151
|
-
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
1152
|
-
default:
|
|
1153
|
-
const parsedBody = parsedOutput.body;
|
|
1154
|
-
return throwDefaultError({
|
|
1155
|
-
output,
|
|
1156
|
-
parsedBody,
|
|
1157
|
-
errorCode
|
|
1158
|
-
});
|
|
1159
|
-
}
|
|
1160
|
-
}, "de_CreateMeetingWithAttendeesCommandError");
|
|
1161
955
|
var de_DeleteAttendeeCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1162
956
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1163
|
-
return
|
|
957
|
+
return de_CommandError(output, context);
|
|
1164
958
|
}
|
|
1165
959
|
const contents = (0, import_smithy_client.map)({
|
|
1166
960
|
$metadata: deserializeMetadata(output)
|
|
@@ -1168,46 +962,9 @@ var de_DeleteAttendeeCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1168
962
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1169
963
|
return contents;
|
|
1170
964
|
}, "de_DeleteAttendeeCommand");
|
|
1171
|
-
var de_DeleteAttendeeCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1172
|
-
const parsedOutput = {
|
|
1173
|
-
...output,
|
|
1174
|
-
body: await parseErrorBody(output.body, context)
|
|
1175
|
-
};
|
|
1176
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1177
|
-
switch (errorCode) {
|
|
1178
|
-
case "BadRequestException":
|
|
1179
|
-
case "com.amazonaws.chimesdkmeetings#BadRequestException":
|
|
1180
|
-
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1181
|
-
case "ForbiddenException":
|
|
1182
|
-
case "com.amazonaws.chimesdkmeetings#ForbiddenException":
|
|
1183
|
-
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
1184
|
-
case "NotFoundException":
|
|
1185
|
-
case "com.amazonaws.chimesdkmeetings#NotFoundException":
|
|
1186
|
-
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1187
|
-
case "ServiceFailureException":
|
|
1188
|
-
case "com.amazonaws.chimesdkmeetings#ServiceFailureException":
|
|
1189
|
-
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
1190
|
-
case "ServiceUnavailableException":
|
|
1191
|
-
case "com.amazonaws.chimesdkmeetings#ServiceUnavailableException":
|
|
1192
|
-
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1193
|
-
case "ThrottlingException":
|
|
1194
|
-
case "com.amazonaws.chimesdkmeetings#ThrottlingException":
|
|
1195
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1196
|
-
case "UnauthorizedException":
|
|
1197
|
-
case "com.amazonaws.chimesdkmeetings#UnauthorizedException":
|
|
1198
|
-
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
1199
|
-
default:
|
|
1200
|
-
const parsedBody = parsedOutput.body;
|
|
1201
|
-
return throwDefaultError({
|
|
1202
|
-
output,
|
|
1203
|
-
parsedBody,
|
|
1204
|
-
errorCode
|
|
1205
|
-
});
|
|
1206
|
-
}
|
|
1207
|
-
}, "de_DeleteAttendeeCommandError");
|
|
1208
965
|
var de_DeleteMeetingCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1209
966
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1210
|
-
return
|
|
967
|
+
return de_CommandError(output, context);
|
|
1211
968
|
}
|
|
1212
969
|
const contents = (0, import_smithy_client.map)({
|
|
1213
970
|
$metadata: deserializeMetadata(output)
|
|
@@ -1215,46 +972,9 @@ var de_DeleteMeetingCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1215
972
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1216
973
|
return contents;
|
|
1217
974
|
}, "de_DeleteMeetingCommand");
|
|
1218
|
-
var de_DeleteMeetingCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1219
|
-
const parsedOutput = {
|
|
1220
|
-
...output,
|
|
1221
|
-
body: await parseErrorBody(output.body, context)
|
|
1222
|
-
};
|
|
1223
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1224
|
-
switch (errorCode) {
|
|
1225
|
-
case "BadRequestException":
|
|
1226
|
-
case "com.amazonaws.chimesdkmeetings#BadRequestException":
|
|
1227
|
-
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1228
|
-
case "ForbiddenException":
|
|
1229
|
-
case "com.amazonaws.chimesdkmeetings#ForbiddenException":
|
|
1230
|
-
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
1231
|
-
case "NotFoundException":
|
|
1232
|
-
case "com.amazonaws.chimesdkmeetings#NotFoundException":
|
|
1233
|
-
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1234
|
-
case "ServiceFailureException":
|
|
1235
|
-
case "com.amazonaws.chimesdkmeetings#ServiceFailureException":
|
|
1236
|
-
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
1237
|
-
case "ServiceUnavailableException":
|
|
1238
|
-
case "com.amazonaws.chimesdkmeetings#ServiceUnavailableException":
|
|
1239
|
-
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1240
|
-
case "ThrottlingException":
|
|
1241
|
-
case "com.amazonaws.chimesdkmeetings#ThrottlingException":
|
|
1242
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1243
|
-
case "UnauthorizedException":
|
|
1244
|
-
case "com.amazonaws.chimesdkmeetings#UnauthorizedException":
|
|
1245
|
-
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
1246
|
-
default:
|
|
1247
|
-
const parsedBody = parsedOutput.body;
|
|
1248
|
-
return throwDefaultError({
|
|
1249
|
-
output,
|
|
1250
|
-
parsedBody,
|
|
1251
|
-
errorCode
|
|
1252
|
-
});
|
|
1253
|
-
}
|
|
1254
|
-
}, "de_DeleteMeetingCommandError");
|
|
1255
975
|
var de_GetAttendeeCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1256
976
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1257
|
-
return
|
|
977
|
+
return de_CommandError(output, context);
|
|
1258
978
|
}
|
|
1259
979
|
const contents = (0, import_smithy_client.map)({
|
|
1260
980
|
$metadata: deserializeMetadata(output)
|
|
@@ -1266,97 +986,23 @@ var de_GetAttendeeCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1266
986
|
Object.assign(contents, doc);
|
|
1267
987
|
return contents;
|
|
1268
988
|
}, "de_GetAttendeeCommand");
|
|
1269
|
-
var de_GetAttendeeCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1270
|
-
const parsedOutput = {
|
|
1271
|
-
...output,
|
|
1272
|
-
body: await parseErrorBody(output.body, context)
|
|
1273
|
-
};
|
|
1274
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1275
|
-
switch (errorCode) {
|
|
1276
|
-
case "BadRequestException":
|
|
1277
|
-
case "com.amazonaws.chimesdkmeetings#BadRequestException":
|
|
1278
|
-
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1279
|
-
case "ForbiddenException":
|
|
1280
|
-
case "com.amazonaws.chimesdkmeetings#ForbiddenException":
|
|
1281
|
-
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
1282
|
-
case "NotFoundException":
|
|
1283
|
-
case "com.amazonaws.chimesdkmeetings#NotFoundException":
|
|
1284
|
-
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1285
|
-
case "ServiceFailureException":
|
|
1286
|
-
case "com.amazonaws.chimesdkmeetings#ServiceFailureException":
|
|
1287
|
-
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
1288
|
-
case "ServiceUnavailableException":
|
|
1289
|
-
case "com.amazonaws.chimesdkmeetings#ServiceUnavailableException":
|
|
1290
|
-
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1291
|
-
case "ThrottlingException":
|
|
1292
|
-
case "com.amazonaws.chimesdkmeetings#ThrottlingException":
|
|
1293
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1294
|
-
case "UnauthorizedException":
|
|
1295
|
-
case "com.amazonaws.chimesdkmeetings#UnauthorizedException":
|
|
1296
|
-
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
1297
|
-
default:
|
|
1298
|
-
const parsedBody = parsedOutput.body;
|
|
1299
|
-
return throwDefaultError({
|
|
1300
|
-
output,
|
|
1301
|
-
parsedBody,
|
|
1302
|
-
errorCode
|
|
1303
|
-
});
|
|
1304
|
-
}
|
|
1305
|
-
}, "de_GetAttendeeCommandError");
|
|
1306
989
|
var de_GetMeetingCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1307
990
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1308
|
-
return
|
|
991
|
+
return de_CommandError(output, context);
|
|
1309
992
|
}
|
|
1310
993
|
const contents = (0, import_smithy_client.map)({
|
|
1311
994
|
$metadata: deserializeMetadata(output)
|
|
1312
995
|
});
|
|
1313
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1314
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1315
|
-
Meeting: import_smithy_client._json
|
|
1316
|
-
});
|
|
1317
|
-
Object.assign(contents, doc);
|
|
1318
|
-
return contents;
|
|
1319
|
-
}, "de_GetMeetingCommand");
|
|
1320
|
-
var de_GetMeetingCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1321
|
-
const parsedOutput = {
|
|
1322
|
-
...output,
|
|
1323
|
-
body: await parseErrorBody(output.body, context)
|
|
1324
|
-
};
|
|
1325
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1326
|
-
switch (errorCode) {
|
|
1327
|
-
case "BadRequestException":
|
|
1328
|
-
case "com.amazonaws.chimesdkmeetings#BadRequestException":
|
|
1329
|
-
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1330
|
-
case "ForbiddenException":
|
|
1331
|
-
case "com.amazonaws.chimesdkmeetings#ForbiddenException":
|
|
1332
|
-
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
1333
|
-
case "NotFoundException":
|
|
1334
|
-
case "com.amazonaws.chimesdkmeetings#NotFoundException":
|
|
1335
|
-
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1336
|
-
case "ServiceFailureException":
|
|
1337
|
-
case "com.amazonaws.chimesdkmeetings#ServiceFailureException":
|
|
1338
|
-
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
1339
|
-
case "ServiceUnavailableException":
|
|
1340
|
-
case "com.amazonaws.chimesdkmeetings#ServiceUnavailableException":
|
|
1341
|
-
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1342
|
-
case "ThrottlingException":
|
|
1343
|
-
case "com.amazonaws.chimesdkmeetings#ThrottlingException":
|
|
1344
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1345
|
-
case "UnauthorizedException":
|
|
1346
|
-
case "com.amazonaws.chimesdkmeetings#UnauthorizedException":
|
|
1347
|
-
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
1348
|
-
default:
|
|
1349
|
-
const parsedBody = parsedOutput.body;
|
|
1350
|
-
return throwDefaultError({
|
|
1351
|
-
output,
|
|
1352
|
-
parsedBody,
|
|
1353
|
-
errorCode
|
|
1354
|
-
});
|
|
1355
|
-
}
|
|
1356
|
-
}, "de_GetMeetingCommandError");
|
|
996
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
997
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
998
|
+
Meeting: import_smithy_client._json
|
|
999
|
+
});
|
|
1000
|
+
Object.assign(contents, doc);
|
|
1001
|
+
return contents;
|
|
1002
|
+
}, "de_GetMeetingCommand");
|
|
1357
1003
|
var de_ListAttendeesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1358
1004
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1359
|
-
return
|
|
1005
|
+
return de_CommandError(output, context);
|
|
1360
1006
|
}
|
|
1361
1007
|
const contents = (0, import_smithy_client.map)({
|
|
1362
1008
|
$metadata: deserializeMetadata(output)
|
|
@@ -1369,46 +1015,9 @@ var de_ListAttendeesCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1369
1015
|
Object.assign(contents, doc);
|
|
1370
1016
|
return contents;
|
|
1371
1017
|
}, "de_ListAttendeesCommand");
|
|
1372
|
-
var de_ListAttendeesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1373
|
-
const parsedOutput = {
|
|
1374
|
-
...output,
|
|
1375
|
-
body: await parseErrorBody(output.body, context)
|
|
1376
|
-
};
|
|
1377
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1378
|
-
switch (errorCode) {
|
|
1379
|
-
case "BadRequestException":
|
|
1380
|
-
case "com.amazonaws.chimesdkmeetings#BadRequestException":
|
|
1381
|
-
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1382
|
-
case "ForbiddenException":
|
|
1383
|
-
case "com.amazonaws.chimesdkmeetings#ForbiddenException":
|
|
1384
|
-
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
1385
|
-
case "NotFoundException":
|
|
1386
|
-
case "com.amazonaws.chimesdkmeetings#NotFoundException":
|
|
1387
|
-
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1388
|
-
case "ServiceFailureException":
|
|
1389
|
-
case "com.amazonaws.chimesdkmeetings#ServiceFailureException":
|
|
1390
|
-
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
1391
|
-
case "ServiceUnavailableException":
|
|
1392
|
-
case "com.amazonaws.chimesdkmeetings#ServiceUnavailableException":
|
|
1393
|
-
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1394
|
-
case "ThrottlingException":
|
|
1395
|
-
case "com.amazonaws.chimesdkmeetings#ThrottlingException":
|
|
1396
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1397
|
-
case "UnauthorizedException":
|
|
1398
|
-
case "com.amazonaws.chimesdkmeetings#UnauthorizedException":
|
|
1399
|
-
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
1400
|
-
default:
|
|
1401
|
-
const parsedBody = parsedOutput.body;
|
|
1402
|
-
return throwDefaultError({
|
|
1403
|
-
output,
|
|
1404
|
-
parsedBody,
|
|
1405
|
-
errorCode
|
|
1406
|
-
});
|
|
1407
|
-
}
|
|
1408
|
-
}, "de_ListAttendeesCommandError");
|
|
1409
1018
|
var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1410
1019
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1411
|
-
return
|
|
1020
|
+
return de_CommandError(output, context);
|
|
1412
1021
|
}
|
|
1413
1022
|
const contents = (0, import_smithy_client.map)({
|
|
1414
1023
|
$metadata: deserializeMetadata(output)
|
|
@@ -1420,49 +1029,9 @@ var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
1420
1029
|
Object.assign(contents, doc);
|
|
1421
1030
|
return contents;
|
|
1422
1031
|
}, "de_ListTagsForResourceCommand");
|
|
1423
|
-
var de_ListTagsForResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1424
|
-
const parsedOutput = {
|
|
1425
|
-
...output,
|
|
1426
|
-
body: await parseErrorBody(output.body, context)
|
|
1427
|
-
};
|
|
1428
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1429
|
-
switch (errorCode) {
|
|
1430
|
-
case "BadRequestException":
|
|
1431
|
-
case "com.amazonaws.chimesdkmeetings#BadRequestException":
|
|
1432
|
-
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1433
|
-
case "ForbiddenException":
|
|
1434
|
-
case "com.amazonaws.chimesdkmeetings#ForbiddenException":
|
|
1435
|
-
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
1436
|
-
case "LimitExceededException":
|
|
1437
|
-
case "com.amazonaws.chimesdkmeetings#LimitExceededException":
|
|
1438
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1439
|
-
case "ResourceNotFoundException":
|
|
1440
|
-
case "com.amazonaws.chimesdkmeetings#ResourceNotFoundException":
|
|
1441
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1442
|
-
case "ServiceFailureException":
|
|
1443
|
-
case "com.amazonaws.chimesdkmeetings#ServiceFailureException":
|
|
1444
|
-
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
1445
|
-
case "ServiceUnavailableException":
|
|
1446
|
-
case "com.amazonaws.chimesdkmeetings#ServiceUnavailableException":
|
|
1447
|
-
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1448
|
-
case "ThrottlingException":
|
|
1449
|
-
case "com.amazonaws.chimesdkmeetings#ThrottlingException":
|
|
1450
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1451
|
-
case "UnauthorizedException":
|
|
1452
|
-
case "com.amazonaws.chimesdkmeetings#UnauthorizedException":
|
|
1453
|
-
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
1454
|
-
default:
|
|
1455
|
-
const parsedBody = parsedOutput.body;
|
|
1456
|
-
return throwDefaultError({
|
|
1457
|
-
output,
|
|
1458
|
-
parsedBody,
|
|
1459
|
-
errorCode
|
|
1460
|
-
});
|
|
1461
|
-
}
|
|
1462
|
-
}, "de_ListTagsForResourceCommandError");
|
|
1463
1032
|
var de_StartMeetingTranscriptionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1464
1033
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1465
|
-
return
|
|
1034
|
+
return de_CommandError(output, context);
|
|
1466
1035
|
}
|
|
1467
1036
|
const contents = (0, import_smithy_client.map)({
|
|
1468
1037
|
$metadata: deserializeMetadata(output)
|
|
@@ -1470,52 +1039,9 @@ var de_StartMeetingTranscriptionCommand = /* @__PURE__ */ __name(async (output,
|
|
|
1470
1039
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1471
1040
|
return contents;
|
|
1472
1041
|
}, "de_StartMeetingTranscriptionCommand");
|
|
1473
|
-
var de_StartMeetingTranscriptionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1474
|
-
const parsedOutput = {
|
|
1475
|
-
...output,
|
|
1476
|
-
body: await parseErrorBody(output.body, context)
|
|
1477
|
-
};
|
|
1478
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1479
|
-
switch (errorCode) {
|
|
1480
|
-
case "BadRequestException":
|
|
1481
|
-
case "com.amazonaws.chimesdkmeetings#BadRequestException":
|
|
1482
|
-
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1483
|
-
case "ForbiddenException":
|
|
1484
|
-
case "com.amazonaws.chimesdkmeetings#ForbiddenException":
|
|
1485
|
-
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
1486
|
-
case "LimitExceededException":
|
|
1487
|
-
case "com.amazonaws.chimesdkmeetings#LimitExceededException":
|
|
1488
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1489
|
-
case "NotFoundException":
|
|
1490
|
-
case "com.amazonaws.chimesdkmeetings#NotFoundException":
|
|
1491
|
-
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1492
|
-
case "ServiceFailureException":
|
|
1493
|
-
case "com.amazonaws.chimesdkmeetings#ServiceFailureException":
|
|
1494
|
-
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
1495
|
-
case "ServiceUnavailableException":
|
|
1496
|
-
case "com.amazonaws.chimesdkmeetings#ServiceUnavailableException":
|
|
1497
|
-
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1498
|
-
case "ThrottlingException":
|
|
1499
|
-
case "com.amazonaws.chimesdkmeetings#ThrottlingException":
|
|
1500
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1501
|
-
case "UnauthorizedException":
|
|
1502
|
-
case "com.amazonaws.chimesdkmeetings#UnauthorizedException":
|
|
1503
|
-
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
1504
|
-
case "UnprocessableEntityException":
|
|
1505
|
-
case "com.amazonaws.chimesdkmeetings#UnprocessableEntityException":
|
|
1506
|
-
throw await de_UnprocessableEntityExceptionRes(parsedOutput, context);
|
|
1507
|
-
default:
|
|
1508
|
-
const parsedBody = parsedOutput.body;
|
|
1509
|
-
return throwDefaultError({
|
|
1510
|
-
output,
|
|
1511
|
-
parsedBody,
|
|
1512
|
-
errorCode
|
|
1513
|
-
});
|
|
1514
|
-
}
|
|
1515
|
-
}, "de_StartMeetingTranscriptionCommandError");
|
|
1516
1042
|
var de_StopMeetingTranscriptionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1517
1043
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1518
|
-
return
|
|
1044
|
+
return de_CommandError(output, context);
|
|
1519
1045
|
}
|
|
1520
1046
|
const contents = (0, import_smithy_client.map)({
|
|
1521
1047
|
$metadata: deserializeMetadata(output)
|
|
@@ -1523,49 +1049,9 @@ var de_StopMeetingTranscriptionCommand = /* @__PURE__ */ __name(async (output, c
|
|
|
1523
1049
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1524
1050
|
return contents;
|
|
1525
1051
|
}, "de_StopMeetingTranscriptionCommand");
|
|
1526
|
-
var de_StopMeetingTranscriptionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1527
|
-
const parsedOutput = {
|
|
1528
|
-
...output,
|
|
1529
|
-
body: await parseErrorBody(output.body, context)
|
|
1530
|
-
};
|
|
1531
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1532
|
-
switch (errorCode) {
|
|
1533
|
-
case "BadRequestException":
|
|
1534
|
-
case "com.amazonaws.chimesdkmeetings#BadRequestException":
|
|
1535
|
-
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1536
|
-
case "ForbiddenException":
|
|
1537
|
-
case "com.amazonaws.chimesdkmeetings#ForbiddenException":
|
|
1538
|
-
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
1539
|
-
case "NotFoundException":
|
|
1540
|
-
case "com.amazonaws.chimesdkmeetings#NotFoundException":
|
|
1541
|
-
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1542
|
-
case "ServiceFailureException":
|
|
1543
|
-
case "com.amazonaws.chimesdkmeetings#ServiceFailureException":
|
|
1544
|
-
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
1545
|
-
case "ServiceUnavailableException":
|
|
1546
|
-
case "com.amazonaws.chimesdkmeetings#ServiceUnavailableException":
|
|
1547
|
-
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1548
|
-
case "ThrottlingException":
|
|
1549
|
-
case "com.amazonaws.chimesdkmeetings#ThrottlingException":
|
|
1550
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1551
|
-
case "UnauthorizedException":
|
|
1552
|
-
case "com.amazonaws.chimesdkmeetings#UnauthorizedException":
|
|
1553
|
-
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
1554
|
-
case "UnprocessableEntityException":
|
|
1555
|
-
case "com.amazonaws.chimesdkmeetings#UnprocessableEntityException":
|
|
1556
|
-
throw await de_UnprocessableEntityExceptionRes(parsedOutput, context);
|
|
1557
|
-
default:
|
|
1558
|
-
const parsedBody = parsedOutput.body;
|
|
1559
|
-
return throwDefaultError({
|
|
1560
|
-
output,
|
|
1561
|
-
parsedBody,
|
|
1562
|
-
errorCode
|
|
1563
|
-
});
|
|
1564
|
-
}
|
|
1565
|
-
}, "de_StopMeetingTranscriptionCommandError");
|
|
1566
1052
|
var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1567
1053
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1568
|
-
return
|
|
1054
|
+
return de_CommandError(output, context);
|
|
1569
1055
|
}
|
|
1570
1056
|
const contents = (0, import_smithy_client.map)({
|
|
1571
1057
|
$metadata: deserializeMetadata(output)
|
|
@@ -1573,52 +1059,9 @@ var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1573
1059
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1574
1060
|
return contents;
|
|
1575
1061
|
}, "de_TagResourceCommand");
|
|
1576
|
-
var de_TagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1577
|
-
const parsedOutput = {
|
|
1578
|
-
...output,
|
|
1579
|
-
body: await parseErrorBody(output.body, context)
|
|
1580
|
-
};
|
|
1581
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1582
|
-
switch (errorCode) {
|
|
1583
|
-
case "BadRequestException":
|
|
1584
|
-
case "com.amazonaws.chimesdkmeetings#BadRequestException":
|
|
1585
|
-
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1586
|
-
case "ForbiddenException":
|
|
1587
|
-
case "com.amazonaws.chimesdkmeetings#ForbiddenException":
|
|
1588
|
-
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
1589
|
-
case "LimitExceededException":
|
|
1590
|
-
case "com.amazonaws.chimesdkmeetings#LimitExceededException":
|
|
1591
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1592
|
-
case "ResourceNotFoundException":
|
|
1593
|
-
case "com.amazonaws.chimesdkmeetings#ResourceNotFoundException":
|
|
1594
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1595
|
-
case "ServiceFailureException":
|
|
1596
|
-
case "com.amazonaws.chimesdkmeetings#ServiceFailureException":
|
|
1597
|
-
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
1598
|
-
case "ServiceUnavailableException":
|
|
1599
|
-
case "com.amazonaws.chimesdkmeetings#ServiceUnavailableException":
|
|
1600
|
-
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1601
|
-
case "ThrottlingException":
|
|
1602
|
-
case "com.amazonaws.chimesdkmeetings#ThrottlingException":
|
|
1603
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1604
|
-
case "TooManyTagsException":
|
|
1605
|
-
case "com.amazonaws.chimesdkmeetings#TooManyTagsException":
|
|
1606
|
-
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
1607
|
-
case "UnauthorizedException":
|
|
1608
|
-
case "com.amazonaws.chimesdkmeetings#UnauthorizedException":
|
|
1609
|
-
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
1610
|
-
default:
|
|
1611
|
-
const parsedBody = parsedOutput.body;
|
|
1612
|
-
return throwDefaultError({
|
|
1613
|
-
output,
|
|
1614
|
-
parsedBody,
|
|
1615
|
-
errorCode
|
|
1616
|
-
});
|
|
1617
|
-
}
|
|
1618
|
-
}, "de_TagResourceCommandError");
|
|
1619
1062
|
var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1620
1063
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1621
|
-
return
|
|
1064
|
+
return de_CommandError(output, context);
|
|
1622
1065
|
}
|
|
1623
1066
|
const contents = (0, import_smithy_client.map)({
|
|
1624
1067
|
$metadata: deserializeMetadata(output)
|
|
@@ -1626,49 +1069,9 @@ var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1626
1069
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1627
1070
|
return contents;
|
|
1628
1071
|
}, "de_UntagResourceCommand");
|
|
1629
|
-
var de_UntagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1630
|
-
const parsedOutput = {
|
|
1631
|
-
...output,
|
|
1632
|
-
body: await parseErrorBody(output.body, context)
|
|
1633
|
-
};
|
|
1634
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1635
|
-
switch (errorCode) {
|
|
1636
|
-
case "BadRequestException":
|
|
1637
|
-
case "com.amazonaws.chimesdkmeetings#BadRequestException":
|
|
1638
|
-
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1639
|
-
case "ForbiddenException":
|
|
1640
|
-
case "com.amazonaws.chimesdkmeetings#ForbiddenException":
|
|
1641
|
-
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
1642
|
-
case "LimitExceededException":
|
|
1643
|
-
case "com.amazonaws.chimesdkmeetings#LimitExceededException":
|
|
1644
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1645
|
-
case "ResourceNotFoundException":
|
|
1646
|
-
case "com.amazonaws.chimesdkmeetings#ResourceNotFoundException":
|
|
1647
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1648
|
-
case "ServiceFailureException":
|
|
1649
|
-
case "com.amazonaws.chimesdkmeetings#ServiceFailureException":
|
|
1650
|
-
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
1651
|
-
case "ServiceUnavailableException":
|
|
1652
|
-
case "com.amazonaws.chimesdkmeetings#ServiceUnavailableException":
|
|
1653
|
-
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1654
|
-
case "ThrottlingException":
|
|
1655
|
-
case "com.amazonaws.chimesdkmeetings#ThrottlingException":
|
|
1656
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1657
|
-
case "UnauthorizedException":
|
|
1658
|
-
case "com.amazonaws.chimesdkmeetings#UnauthorizedException":
|
|
1659
|
-
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
1660
|
-
default:
|
|
1661
|
-
const parsedBody = parsedOutput.body;
|
|
1662
|
-
return throwDefaultError({
|
|
1663
|
-
output,
|
|
1664
|
-
parsedBody,
|
|
1665
|
-
errorCode
|
|
1666
|
-
});
|
|
1667
|
-
}
|
|
1668
|
-
}, "de_UntagResourceCommandError");
|
|
1669
1072
|
var de_UpdateAttendeeCapabilitiesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1670
1073
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1671
|
-
return
|
|
1074
|
+
return de_CommandError(output, context);
|
|
1672
1075
|
}
|
|
1673
1076
|
const contents = (0, import_smithy_client.map)({
|
|
1674
1077
|
$metadata: deserializeMetadata(output)
|
|
@@ -1680,7 +1083,7 @@ var de_UpdateAttendeeCapabilitiesCommand = /* @__PURE__ */ __name(async (output,
|
|
|
1680
1083
|
Object.assign(contents, doc);
|
|
1681
1084
|
return contents;
|
|
1682
1085
|
}, "de_UpdateAttendeeCapabilitiesCommand");
|
|
1683
|
-
var
|
|
1086
|
+
var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1684
1087
|
const parsedOutput = {
|
|
1685
1088
|
...output,
|
|
1686
1089
|
body: await parseErrorBody(output.body, context)
|
|
@@ -1690,12 +1093,12 @@ var de_UpdateAttendeeCapabilitiesCommandError = /* @__PURE__ */ __name(async (ou
|
|
|
1690
1093
|
case "BadRequestException":
|
|
1691
1094
|
case "com.amazonaws.chimesdkmeetings#BadRequestException":
|
|
1692
1095
|
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1693
|
-
case "ConflictException":
|
|
1694
|
-
case "com.amazonaws.chimesdkmeetings#ConflictException":
|
|
1695
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1696
1096
|
case "ForbiddenException":
|
|
1697
1097
|
case "com.amazonaws.chimesdkmeetings#ForbiddenException":
|
|
1698
1098
|
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
1099
|
+
case "LimitExceededException":
|
|
1100
|
+
case "com.amazonaws.chimesdkmeetings#LimitExceededException":
|
|
1101
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1699
1102
|
case "NotFoundException":
|
|
1700
1103
|
case "com.amazonaws.chimesdkmeetings#NotFoundException":
|
|
1701
1104
|
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
@@ -1711,6 +1114,18 @@ var de_UpdateAttendeeCapabilitiesCommandError = /* @__PURE__ */ __name(async (ou
|
|
|
1711
1114
|
case "UnauthorizedException":
|
|
1712
1115
|
case "com.amazonaws.chimesdkmeetings#UnauthorizedException":
|
|
1713
1116
|
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
1117
|
+
case "UnprocessableEntityException":
|
|
1118
|
+
case "com.amazonaws.chimesdkmeetings#UnprocessableEntityException":
|
|
1119
|
+
throw await de_UnprocessableEntityExceptionRes(parsedOutput, context);
|
|
1120
|
+
case "ConflictException":
|
|
1121
|
+
case "com.amazonaws.chimesdkmeetings#ConflictException":
|
|
1122
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1123
|
+
case "ResourceNotFoundException":
|
|
1124
|
+
case "com.amazonaws.chimesdkmeetings#ResourceNotFoundException":
|
|
1125
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1126
|
+
case "TooManyTagsException":
|
|
1127
|
+
case "com.amazonaws.chimesdkmeetings#TooManyTagsException":
|
|
1128
|
+
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
1714
1129
|
default:
|
|
1715
1130
|
const parsedBody = parsedOutput.body;
|
|
1716
1131
|
return throwDefaultError({
|
|
@@ -1719,7 +1134,7 @@ var de_UpdateAttendeeCapabilitiesCommandError = /* @__PURE__ */ __name(async (ou
|
|
|
1719
1134
|
errorCode
|
|
1720
1135
|
});
|
|
1721
1136
|
}
|
|
1722
|
-
}, "
|
|
1137
|
+
}, "de_CommandError");
|
|
1723
1138
|
var throwDefaultError = (0, import_smithy_client.withBaseException)(ChimeSDKMeetingsServiceException);
|
|
1724
1139
|
var de_BadRequestExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1725
1140
|
const contents = (0, import_smithy_client.map)({});
|