@aws-sdk/client-chime-sdk-meetings 3.303.0 → 3.309.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.
Files changed (37) hide show
  1. package/dist-cjs/commands/BatchCreateAttendeeCommand.js +2 -2
  2. package/dist-cjs/commands/BatchUpdateAttendeeCapabilitiesExceptCommand.js +2 -2
  3. package/dist-cjs/commands/CreateAttendeeCommand.js +2 -2
  4. package/dist-cjs/commands/CreateMeetingCommand.js +2 -2
  5. package/dist-cjs/commands/CreateMeetingWithAttendeesCommand.js +2 -2
  6. package/dist-cjs/commands/DeleteAttendeeCommand.js +2 -2
  7. package/dist-cjs/commands/DeleteMeetingCommand.js +2 -2
  8. package/dist-cjs/commands/GetAttendeeCommand.js +2 -2
  9. package/dist-cjs/commands/GetMeetingCommand.js +2 -2
  10. package/dist-cjs/commands/ListAttendeesCommand.js +2 -2
  11. package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -2
  12. package/dist-cjs/commands/StartMeetingTranscriptionCommand.js +2 -2
  13. package/dist-cjs/commands/StopMeetingTranscriptionCommand.js +2 -2
  14. package/dist-cjs/commands/TagResourceCommand.js +2 -2
  15. package/dist-cjs/commands/UntagResourceCommand.js +2 -2
  16. package/dist-cjs/commands/UpdateAttendeeCapabilitiesCommand.js +2 -2
  17. package/dist-cjs/protocols/Aws_restJson1.js +284 -300
  18. package/dist-es/commands/BatchCreateAttendeeCommand.js +3 -3
  19. package/dist-es/commands/BatchUpdateAttendeeCapabilitiesExceptCommand.js +3 -3
  20. package/dist-es/commands/CreateAttendeeCommand.js +3 -3
  21. package/dist-es/commands/CreateMeetingCommand.js +3 -3
  22. package/dist-es/commands/CreateMeetingWithAttendeesCommand.js +3 -3
  23. package/dist-es/commands/DeleteAttendeeCommand.js +3 -3
  24. package/dist-es/commands/DeleteMeetingCommand.js +3 -3
  25. package/dist-es/commands/GetAttendeeCommand.js +3 -3
  26. package/dist-es/commands/GetMeetingCommand.js +3 -3
  27. package/dist-es/commands/ListAttendeesCommand.js +3 -3
  28. package/dist-es/commands/ListTagsForResourceCommand.js +3 -3
  29. package/dist-es/commands/StartMeetingTranscriptionCommand.js +3 -3
  30. package/dist-es/commands/StopMeetingTranscriptionCommand.js +3 -3
  31. package/dist-es/commands/TagResourceCommand.js +3 -3
  32. package/dist-es/commands/UntagResourceCommand.js +3 -3
  33. package/dist-es/commands/UpdateAttendeeCapabilitiesCommand.js +3 -3
  34. package/dist-es/protocols/Aws_restJson1.js +251 -267
  35. package/dist-types/protocols/Aws_restJson1.d.ts +128 -32
  36. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +32 -32
  37. package/package.json +29 -29
@@ -3,7 +3,7 @@ import { decorateServiceException as __decorateServiceException, expectNonNull a
3
3
  import { v4 as generateIdempotencyToken } from "uuid";
4
4
  import { ChimeSDKMeetingsServiceException as __BaseException } from "../models/ChimeSDKMeetingsServiceException";
5
5
  import { BadRequestException, ConflictException, ForbiddenException, LimitExceededException, NotFoundException, ResourceNotFoundException, ServiceFailureException, ServiceUnavailableException, ThrottlingException, TooManyTagsException, UnauthorizedException, UnprocessableEntityException, } from "../models/models_0";
6
- export const serializeAws_restJson1BatchCreateAttendeeCommand = async (input, context) => {
6
+ export const se_BatchCreateAttendeeCommand = async (input, context) => {
7
7
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
8
8
  const headers = {
9
9
  "content-type": "application/json",
@@ -15,9 +15,7 @@ export const serializeAws_restJson1BatchCreateAttendeeCommand = async (input, co
15
15
  });
16
16
  let body;
17
17
  body = JSON.stringify({
18
- ...(input.Attendees != null && {
19
- Attendees: serializeAws_restJson1CreateAttendeeRequestItemList(input.Attendees, context),
20
- }),
18
+ ...(input.Attendees != null && { Attendees: se_CreateAttendeeRequestItemList(input.Attendees, context) }),
21
19
  });
22
20
  return new __HttpRequest({
23
21
  protocol,
@@ -30,7 +28,7 @@ export const serializeAws_restJson1BatchCreateAttendeeCommand = async (input, co
30
28
  body,
31
29
  });
32
30
  };
33
- export const serializeAws_restJson1BatchUpdateAttendeeCapabilitiesExceptCommand = async (input, context) => {
31
+ export const se_BatchUpdateAttendeeCapabilitiesExceptCommand = async (input, context) => {
34
32
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
35
33
  const headers = {
36
34
  "content-type": "application/json",
@@ -43,11 +41,9 @@ export const serializeAws_restJson1BatchUpdateAttendeeCapabilitiesExceptCommand
43
41
  });
44
42
  let body;
45
43
  body = JSON.stringify({
46
- ...(input.Capabilities != null && {
47
- Capabilities: serializeAws_restJson1AttendeeCapabilities(input.Capabilities, context),
48
- }),
44
+ ...(input.Capabilities != null && { Capabilities: se_AttendeeCapabilities(input.Capabilities, context) }),
49
45
  ...(input.ExcludedAttendeeIds != null && {
50
- ExcludedAttendeeIds: serializeAws_restJson1AttendeeIdsList(input.ExcludedAttendeeIds, context),
46
+ ExcludedAttendeeIds: se_AttendeeIdsList(input.ExcludedAttendeeIds, context),
51
47
  }),
52
48
  });
53
49
  return new __HttpRequest({
@@ -61,7 +57,7 @@ export const serializeAws_restJson1BatchUpdateAttendeeCapabilitiesExceptCommand
61
57
  body,
62
58
  });
63
59
  };
64
- export const serializeAws_restJson1CreateAttendeeCommand = async (input, context) => {
60
+ export const se_CreateAttendeeCommand = async (input, context) => {
65
61
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
66
62
  const headers = {
67
63
  "content-type": "application/json",
@@ -70,9 +66,7 @@ export const serializeAws_restJson1CreateAttendeeCommand = async (input, context
70
66
  resolvedPath = __resolvedPath(resolvedPath, input, "MeetingId", () => input.MeetingId, "{MeetingId}", false);
71
67
  let body;
72
68
  body = JSON.stringify({
73
- ...(input.Capabilities != null && {
74
- Capabilities: serializeAws_restJson1AttendeeCapabilities(input.Capabilities, context),
75
- }),
69
+ ...(input.Capabilities != null && { Capabilities: se_AttendeeCapabilities(input.Capabilities, context) }),
76
70
  ...(input.ExternalUserId != null && { ExternalUserId: input.ExternalUserId }),
77
71
  });
78
72
  return new __HttpRequest({
@@ -85,7 +79,7 @@ export const serializeAws_restJson1CreateAttendeeCommand = async (input, context
85
79
  body,
86
80
  });
87
81
  };
88
- export const serializeAws_restJson1CreateMeetingCommand = async (input, context) => {
82
+ export const se_CreateMeetingCommand = async (input, context) => {
89
83
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
90
84
  const headers = {
91
85
  "content-type": "application/json",
@@ -97,15 +91,15 @@ export const serializeAws_restJson1CreateMeetingCommand = async (input, context)
97
91
  ...(input.ExternalMeetingId != null && { ExternalMeetingId: input.ExternalMeetingId }),
98
92
  ...(input.MediaRegion != null && { MediaRegion: input.MediaRegion }),
99
93
  ...(input.MeetingFeatures != null && {
100
- MeetingFeatures: serializeAws_restJson1MeetingFeaturesConfiguration(input.MeetingFeatures, context),
94
+ MeetingFeatures: se_MeetingFeaturesConfiguration(input.MeetingFeatures, context),
101
95
  }),
102
96
  ...(input.MeetingHostId != null && { MeetingHostId: input.MeetingHostId }),
103
97
  ...(input.NotificationsConfiguration != null && {
104
- NotificationsConfiguration: serializeAws_restJson1NotificationsConfiguration(input.NotificationsConfiguration, context),
98
+ NotificationsConfiguration: se_NotificationsConfiguration(input.NotificationsConfiguration, context),
105
99
  }),
106
100
  ...(input.PrimaryMeetingId != null && { PrimaryMeetingId: input.PrimaryMeetingId }),
107
- ...(input.Tags != null && { Tags: serializeAws_restJson1TagList(input.Tags, context) }),
108
- ...(input.TenantIds != null && { TenantIds: serializeAws_restJson1TenantIdList(input.TenantIds, context) }),
101
+ ...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
102
+ ...(input.TenantIds != null && { TenantIds: se_TenantIdList(input.TenantIds, context) }),
109
103
  });
110
104
  return new __HttpRequest({
111
105
  protocol,
@@ -117,7 +111,7 @@ export const serializeAws_restJson1CreateMeetingCommand = async (input, context)
117
111
  body,
118
112
  });
119
113
  };
120
- export const serializeAws_restJson1CreateMeetingWithAttendeesCommand = async (input, context) => {
114
+ export const se_CreateMeetingWithAttendeesCommand = async (input, context) => {
121
115
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
122
116
  const headers = {
123
117
  "content-type": "application/json",
@@ -129,21 +123,21 @@ export const serializeAws_restJson1CreateMeetingWithAttendeesCommand = async (in
129
123
  let body;
130
124
  body = JSON.stringify({
131
125
  ...(input.Attendees != null && {
132
- Attendees: serializeAws_restJson1CreateMeetingWithAttendeesRequestItemList(input.Attendees, context),
126
+ Attendees: se_CreateMeetingWithAttendeesRequestItemList(input.Attendees, context),
133
127
  }),
134
128
  ClientRequestToken: input.ClientRequestToken ?? generateIdempotencyToken(),
135
129
  ...(input.ExternalMeetingId != null && { ExternalMeetingId: input.ExternalMeetingId }),
136
130
  ...(input.MediaRegion != null && { MediaRegion: input.MediaRegion }),
137
131
  ...(input.MeetingFeatures != null && {
138
- MeetingFeatures: serializeAws_restJson1MeetingFeaturesConfiguration(input.MeetingFeatures, context),
132
+ MeetingFeatures: se_MeetingFeaturesConfiguration(input.MeetingFeatures, context),
139
133
  }),
140
134
  ...(input.MeetingHostId != null && { MeetingHostId: input.MeetingHostId }),
141
135
  ...(input.NotificationsConfiguration != null && {
142
- NotificationsConfiguration: serializeAws_restJson1NotificationsConfiguration(input.NotificationsConfiguration, context),
136
+ NotificationsConfiguration: se_NotificationsConfiguration(input.NotificationsConfiguration, context),
143
137
  }),
144
138
  ...(input.PrimaryMeetingId != null && { PrimaryMeetingId: input.PrimaryMeetingId }),
145
- ...(input.Tags != null && { Tags: serializeAws_restJson1TagList(input.Tags, context) }),
146
- ...(input.TenantIds != null && { TenantIds: serializeAws_restJson1TenantIdList(input.TenantIds, context) }),
139
+ ...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
140
+ ...(input.TenantIds != null && { TenantIds: se_TenantIdList(input.TenantIds, context) }),
147
141
  });
148
142
  return new __HttpRequest({
149
143
  protocol,
@@ -156,7 +150,7 @@ export const serializeAws_restJson1CreateMeetingWithAttendeesCommand = async (in
156
150
  body,
157
151
  });
158
152
  };
159
- export const serializeAws_restJson1DeleteAttendeeCommand = async (input, context) => {
153
+ export const se_DeleteAttendeeCommand = async (input, context) => {
160
154
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
161
155
  const headers = {};
162
156
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -174,7 +168,7 @@ export const serializeAws_restJson1DeleteAttendeeCommand = async (input, context
174
168
  body,
175
169
  });
176
170
  };
177
- export const serializeAws_restJson1DeleteMeetingCommand = async (input, context) => {
171
+ export const se_DeleteMeetingCommand = async (input, context) => {
178
172
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
179
173
  const headers = {};
180
174
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/meetings/{MeetingId}";
@@ -190,7 +184,7 @@ export const serializeAws_restJson1DeleteMeetingCommand = async (input, context)
190
184
  body,
191
185
  });
192
186
  };
193
- export const serializeAws_restJson1GetAttendeeCommand = async (input, context) => {
187
+ export const se_GetAttendeeCommand = async (input, context) => {
194
188
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
195
189
  const headers = {};
196
190
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -208,7 +202,7 @@ export const serializeAws_restJson1GetAttendeeCommand = async (input, context) =
208
202
  body,
209
203
  });
210
204
  };
211
- export const serializeAws_restJson1GetMeetingCommand = async (input, context) => {
205
+ export const se_GetMeetingCommand = async (input, context) => {
212
206
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
213
207
  const headers = {};
214
208
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/meetings/{MeetingId}";
@@ -224,7 +218,7 @@ export const serializeAws_restJson1GetMeetingCommand = async (input, context) =>
224
218
  body,
225
219
  });
226
220
  };
227
- export const serializeAws_restJson1ListAttendeesCommand = async (input, context) => {
221
+ export const se_ListAttendeesCommand = async (input, context) => {
228
222
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
229
223
  const headers = {};
230
224
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/meetings/{MeetingId}/attendees";
@@ -245,7 +239,7 @@ export const serializeAws_restJson1ListAttendeesCommand = async (input, context)
245
239
  body,
246
240
  });
247
241
  };
248
- export const serializeAws_restJson1ListTagsForResourceCommand = async (input, context) => {
242
+ export const se_ListTagsForResourceCommand = async (input, context) => {
249
243
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
250
244
  const headers = {};
251
245
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags";
@@ -264,7 +258,7 @@ export const serializeAws_restJson1ListTagsForResourceCommand = async (input, co
264
258
  body,
265
259
  });
266
260
  };
267
- export const serializeAws_restJson1StartMeetingTranscriptionCommand = async (input, context) => {
261
+ export const se_StartMeetingTranscriptionCommand = async (input, context) => {
268
262
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
269
263
  const headers = {
270
264
  "content-type": "application/json",
@@ -277,7 +271,7 @@ export const serializeAws_restJson1StartMeetingTranscriptionCommand = async (inp
277
271
  let body;
278
272
  body = JSON.stringify({
279
273
  ...(input.TranscriptionConfiguration != null && {
280
- TranscriptionConfiguration: serializeAws_restJson1TranscriptionConfiguration(input.TranscriptionConfiguration, context),
274
+ TranscriptionConfiguration: se_TranscriptionConfiguration(input.TranscriptionConfiguration, context),
281
275
  }),
282
276
  });
283
277
  return new __HttpRequest({
@@ -291,7 +285,7 @@ export const serializeAws_restJson1StartMeetingTranscriptionCommand = async (inp
291
285
  body,
292
286
  });
293
287
  };
294
- export const serializeAws_restJson1StopMeetingTranscriptionCommand = async (input, context) => {
288
+ export const se_StopMeetingTranscriptionCommand = async (input, context) => {
295
289
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
296
290
  const headers = {};
297
291
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/meetings/{MeetingId}/transcription";
@@ -311,7 +305,7 @@ export const serializeAws_restJson1StopMeetingTranscriptionCommand = async (inpu
311
305
  body,
312
306
  });
313
307
  };
314
- export const serializeAws_restJson1TagResourceCommand = async (input, context) => {
308
+ export const se_TagResourceCommand = async (input, context) => {
315
309
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
316
310
  const headers = {
317
311
  "content-type": "application/json",
@@ -323,7 +317,7 @@ export const serializeAws_restJson1TagResourceCommand = async (input, context) =
323
317
  let body;
324
318
  body = JSON.stringify({
325
319
  ...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
326
- ...(input.Tags != null && { Tags: serializeAws_restJson1TagList(input.Tags, context) }),
320
+ ...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
327
321
  });
328
322
  return new __HttpRequest({
329
323
  protocol,
@@ -336,7 +330,7 @@ export const serializeAws_restJson1TagResourceCommand = async (input, context) =
336
330
  body,
337
331
  });
338
332
  };
339
- export const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
333
+ export const se_UntagResourceCommand = async (input, context) => {
340
334
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
341
335
  const headers = {
342
336
  "content-type": "application/json",
@@ -348,7 +342,7 @@ export const serializeAws_restJson1UntagResourceCommand = async (input, context)
348
342
  let body;
349
343
  body = JSON.stringify({
350
344
  ...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
351
- ...(input.TagKeys != null && { TagKeys: serializeAws_restJson1TagKeyList(input.TagKeys, context) }),
345
+ ...(input.TagKeys != null && { TagKeys: se_TagKeyList(input.TagKeys, context) }),
352
346
  });
353
347
  return new __HttpRequest({
354
348
  protocol,
@@ -361,7 +355,7 @@ export const serializeAws_restJson1UntagResourceCommand = async (input, context)
361
355
  body,
362
356
  });
363
357
  };
364
- export const serializeAws_restJson1UpdateAttendeeCapabilitiesCommand = async (input, context) => {
358
+ export const se_UpdateAttendeeCapabilitiesCommand = async (input, context) => {
365
359
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
366
360
  const headers = {
367
361
  "content-type": "application/json",
@@ -372,9 +366,7 @@ export const serializeAws_restJson1UpdateAttendeeCapabilitiesCommand = async (in
372
366
  resolvedPath = __resolvedPath(resolvedPath, input, "AttendeeId", () => input.AttendeeId, "{AttendeeId}", false);
373
367
  let body;
374
368
  body = JSON.stringify({
375
- ...(input.Capabilities != null && {
376
- Capabilities: serializeAws_restJson1AttendeeCapabilities(input.Capabilities, context),
377
- }),
369
+ ...(input.Capabilities != null && { Capabilities: se_AttendeeCapabilities(input.Capabilities, context) }),
378
370
  });
379
371
  return new __HttpRequest({
380
372
  protocol,
@@ -386,23 +378,23 @@ export const serializeAws_restJson1UpdateAttendeeCapabilitiesCommand = async (in
386
378
  body,
387
379
  });
388
380
  };
389
- export const deserializeAws_restJson1BatchCreateAttendeeCommand = async (output, context) => {
381
+ export const de_BatchCreateAttendeeCommand = async (output, context) => {
390
382
  if (output.statusCode !== 200 && output.statusCode >= 300) {
391
- return deserializeAws_restJson1BatchCreateAttendeeCommandError(output, context);
383
+ return de_BatchCreateAttendeeCommandError(output, context);
392
384
  }
393
385
  const contents = map({
394
386
  $metadata: deserializeMetadata(output),
395
387
  });
396
388
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
397
389
  if (data.Attendees != null) {
398
- contents.Attendees = deserializeAws_restJson1AttendeeList(data.Attendees, context);
390
+ contents.Attendees = de_AttendeeList(data.Attendees, context);
399
391
  }
400
392
  if (data.Errors != null) {
401
- contents.Errors = deserializeAws_restJson1BatchCreateAttendeeErrorList(data.Errors, context);
393
+ contents.Errors = de_BatchCreateAttendeeErrorList(data.Errors, context);
402
394
  }
403
395
  return contents;
404
396
  };
405
- const deserializeAws_restJson1BatchCreateAttendeeCommandError = async (output, context) => {
397
+ const de_BatchCreateAttendeeCommandError = async (output, context) => {
406
398
  const parsedOutput = {
407
399
  ...output,
408
400
  body: await parseErrorBody(output.body, context),
@@ -411,31 +403,31 @@ const deserializeAws_restJson1BatchCreateAttendeeCommandError = async (output, c
411
403
  switch (errorCode) {
412
404
  case "BadRequestException":
413
405
  case "com.amazonaws.chimesdkmeetings#BadRequestException":
414
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
406
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
415
407
  case "ForbiddenException":
416
408
  case "com.amazonaws.chimesdkmeetings#ForbiddenException":
417
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
409
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
418
410
  case "LimitExceededException":
419
411
  case "com.amazonaws.chimesdkmeetings#LimitExceededException":
420
- throw await deserializeAws_restJson1LimitExceededExceptionResponse(parsedOutput, context);
412
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
421
413
  case "NotFoundException":
422
414
  case "com.amazonaws.chimesdkmeetings#NotFoundException":
423
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
415
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
424
416
  case "ServiceFailureException":
425
417
  case "com.amazonaws.chimesdkmeetings#ServiceFailureException":
426
- throw await deserializeAws_restJson1ServiceFailureExceptionResponse(parsedOutput, context);
418
+ throw await de_ServiceFailureExceptionRes(parsedOutput, context);
427
419
  case "ServiceUnavailableException":
428
420
  case "com.amazonaws.chimesdkmeetings#ServiceUnavailableException":
429
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
421
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
430
422
  case "ThrottlingException":
431
423
  case "com.amazonaws.chimesdkmeetings#ThrottlingException":
432
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
424
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
433
425
  case "UnauthorizedException":
434
426
  case "com.amazonaws.chimesdkmeetings#UnauthorizedException":
435
- throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
427
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
436
428
  case "UnprocessableEntityException":
437
429
  case "com.amazonaws.chimesdkmeetings#UnprocessableEntityException":
438
- throw await deserializeAws_restJson1UnprocessableEntityExceptionResponse(parsedOutput, context);
430
+ throw await de_UnprocessableEntityExceptionRes(parsedOutput, context);
439
431
  default:
440
432
  const parsedBody = parsedOutput.body;
441
433
  throwDefaultError({
@@ -446,9 +438,9 @@ const deserializeAws_restJson1BatchCreateAttendeeCommandError = async (output, c
446
438
  });
447
439
  }
448
440
  };
449
- export const deserializeAws_restJson1BatchUpdateAttendeeCapabilitiesExceptCommand = async (output, context) => {
441
+ export const de_BatchUpdateAttendeeCapabilitiesExceptCommand = async (output, context) => {
450
442
  if (output.statusCode !== 200 && output.statusCode >= 300) {
451
- return deserializeAws_restJson1BatchUpdateAttendeeCapabilitiesExceptCommandError(output, context);
443
+ return de_BatchUpdateAttendeeCapabilitiesExceptCommandError(output, context);
452
444
  }
453
445
  const contents = map({
454
446
  $metadata: deserializeMetadata(output),
@@ -456,7 +448,7 @@ export const deserializeAws_restJson1BatchUpdateAttendeeCapabilitiesExceptComman
456
448
  await collectBody(output.body, context);
457
449
  return contents;
458
450
  };
459
- const deserializeAws_restJson1BatchUpdateAttendeeCapabilitiesExceptCommandError = async (output, context) => {
451
+ const de_BatchUpdateAttendeeCapabilitiesExceptCommandError = async (output, context) => {
460
452
  const parsedOutput = {
461
453
  ...output,
462
454
  body: await parseErrorBody(output.body, context),
@@ -465,22 +457,22 @@ const deserializeAws_restJson1BatchUpdateAttendeeCapabilitiesExceptCommandError
465
457
  switch (errorCode) {
466
458
  case "BadRequestException":
467
459
  case "com.amazonaws.chimesdkmeetings#BadRequestException":
468
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
460
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
469
461
  case "ConflictException":
470
462
  case "com.amazonaws.chimesdkmeetings#ConflictException":
471
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
463
+ throw await de_ConflictExceptionRes(parsedOutput, context);
472
464
  case "ForbiddenException":
473
465
  case "com.amazonaws.chimesdkmeetings#ForbiddenException":
474
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
466
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
475
467
  case "NotFoundException":
476
468
  case "com.amazonaws.chimesdkmeetings#NotFoundException":
477
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
469
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
478
470
  case "ServiceUnavailableException":
479
471
  case "com.amazonaws.chimesdkmeetings#ServiceUnavailableException":
480
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
472
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
481
473
  case "UnauthorizedException":
482
474
  case "com.amazonaws.chimesdkmeetings#UnauthorizedException":
483
- throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
475
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
484
476
  default:
485
477
  const parsedBody = parsedOutput.body;
486
478
  throwDefaultError({
@@ -491,20 +483,20 @@ const deserializeAws_restJson1BatchUpdateAttendeeCapabilitiesExceptCommandError
491
483
  });
492
484
  }
493
485
  };
494
- export const deserializeAws_restJson1CreateAttendeeCommand = async (output, context) => {
486
+ export const de_CreateAttendeeCommand = async (output, context) => {
495
487
  if (output.statusCode !== 200 && output.statusCode >= 300) {
496
- return deserializeAws_restJson1CreateAttendeeCommandError(output, context);
488
+ return de_CreateAttendeeCommandError(output, context);
497
489
  }
498
490
  const contents = map({
499
491
  $metadata: deserializeMetadata(output),
500
492
  });
501
493
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
502
494
  if (data.Attendee != null) {
503
- contents.Attendee = deserializeAws_restJson1Attendee(data.Attendee, context);
495
+ contents.Attendee = de_Attendee(data.Attendee, context);
504
496
  }
505
497
  return contents;
506
498
  };
507
- const deserializeAws_restJson1CreateAttendeeCommandError = async (output, context) => {
499
+ const de_CreateAttendeeCommandError = async (output, context) => {
508
500
  const parsedOutput = {
509
501
  ...output,
510
502
  body: await parseErrorBody(output.body, context),
@@ -513,31 +505,31 @@ const deserializeAws_restJson1CreateAttendeeCommandError = async (output, contex
513
505
  switch (errorCode) {
514
506
  case "BadRequestException":
515
507
  case "com.amazonaws.chimesdkmeetings#BadRequestException":
516
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
508
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
517
509
  case "ForbiddenException":
518
510
  case "com.amazonaws.chimesdkmeetings#ForbiddenException":
519
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
511
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
520
512
  case "LimitExceededException":
521
513
  case "com.amazonaws.chimesdkmeetings#LimitExceededException":
522
- throw await deserializeAws_restJson1LimitExceededExceptionResponse(parsedOutput, context);
514
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
523
515
  case "NotFoundException":
524
516
  case "com.amazonaws.chimesdkmeetings#NotFoundException":
525
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
517
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
526
518
  case "ServiceFailureException":
527
519
  case "com.amazonaws.chimesdkmeetings#ServiceFailureException":
528
- throw await deserializeAws_restJson1ServiceFailureExceptionResponse(parsedOutput, context);
520
+ throw await de_ServiceFailureExceptionRes(parsedOutput, context);
529
521
  case "ServiceUnavailableException":
530
522
  case "com.amazonaws.chimesdkmeetings#ServiceUnavailableException":
531
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
523
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
532
524
  case "ThrottlingException":
533
525
  case "com.amazonaws.chimesdkmeetings#ThrottlingException":
534
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
526
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
535
527
  case "UnauthorizedException":
536
528
  case "com.amazonaws.chimesdkmeetings#UnauthorizedException":
537
- throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
529
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
538
530
  case "UnprocessableEntityException":
539
531
  case "com.amazonaws.chimesdkmeetings#UnprocessableEntityException":
540
- throw await deserializeAws_restJson1UnprocessableEntityExceptionResponse(parsedOutput, context);
532
+ throw await de_UnprocessableEntityExceptionRes(parsedOutput, context);
541
533
  default:
542
534
  const parsedBody = parsedOutput.body;
543
535
  throwDefaultError({
@@ -548,20 +540,20 @@ const deserializeAws_restJson1CreateAttendeeCommandError = async (output, contex
548
540
  });
549
541
  }
550
542
  };
551
- export const deserializeAws_restJson1CreateMeetingCommand = async (output, context) => {
543
+ export const de_CreateMeetingCommand = async (output, context) => {
552
544
  if (output.statusCode !== 200 && output.statusCode >= 300) {
553
- return deserializeAws_restJson1CreateMeetingCommandError(output, context);
545
+ return de_CreateMeetingCommandError(output, context);
554
546
  }
555
547
  const contents = map({
556
548
  $metadata: deserializeMetadata(output),
557
549
  });
558
550
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
559
551
  if (data.Meeting != null) {
560
- contents.Meeting = deserializeAws_restJson1Meeting(data.Meeting, context);
552
+ contents.Meeting = de_Meeting(data.Meeting, context);
561
553
  }
562
554
  return contents;
563
555
  };
564
- const deserializeAws_restJson1CreateMeetingCommandError = async (output, context) => {
556
+ const de_CreateMeetingCommandError = async (output, context) => {
565
557
  const parsedOutput = {
566
558
  ...output,
567
559
  body: await parseErrorBody(output.body, context),
@@ -570,25 +562,25 @@ const deserializeAws_restJson1CreateMeetingCommandError = async (output, context
570
562
  switch (errorCode) {
571
563
  case "BadRequestException":
572
564
  case "com.amazonaws.chimesdkmeetings#BadRequestException":
573
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
565
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
574
566
  case "ForbiddenException":
575
567
  case "com.amazonaws.chimesdkmeetings#ForbiddenException":
576
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
568
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
577
569
  case "LimitExceededException":
578
570
  case "com.amazonaws.chimesdkmeetings#LimitExceededException":
579
- throw await deserializeAws_restJson1LimitExceededExceptionResponse(parsedOutput, context);
571
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
580
572
  case "ServiceFailureException":
581
573
  case "com.amazonaws.chimesdkmeetings#ServiceFailureException":
582
- throw await deserializeAws_restJson1ServiceFailureExceptionResponse(parsedOutput, context);
574
+ throw await de_ServiceFailureExceptionRes(parsedOutput, context);
583
575
  case "ServiceUnavailableException":
584
576
  case "com.amazonaws.chimesdkmeetings#ServiceUnavailableException":
585
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
577
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
586
578
  case "ThrottlingException":
587
579
  case "com.amazonaws.chimesdkmeetings#ThrottlingException":
588
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
580
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
589
581
  case "UnauthorizedException":
590
582
  case "com.amazonaws.chimesdkmeetings#UnauthorizedException":
591
- throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
583
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
592
584
  default:
593
585
  const parsedBody = parsedOutput.body;
594
586
  throwDefaultError({
@@ -599,26 +591,26 @@ const deserializeAws_restJson1CreateMeetingCommandError = async (output, context
599
591
  });
600
592
  }
601
593
  };
602
- export const deserializeAws_restJson1CreateMeetingWithAttendeesCommand = async (output, context) => {
594
+ export const de_CreateMeetingWithAttendeesCommand = async (output, context) => {
603
595
  if (output.statusCode !== 200 && output.statusCode >= 300) {
604
- return deserializeAws_restJson1CreateMeetingWithAttendeesCommandError(output, context);
596
+ return de_CreateMeetingWithAttendeesCommandError(output, context);
605
597
  }
606
598
  const contents = map({
607
599
  $metadata: deserializeMetadata(output),
608
600
  });
609
601
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
610
602
  if (data.Attendees != null) {
611
- contents.Attendees = deserializeAws_restJson1AttendeeList(data.Attendees, context);
603
+ contents.Attendees = de_AttendeeList(data.Attendees, context);
612
604
  }
613
605
  if (data.Errors != null) {
614
- contents.Errors = deserializeAws_restJson1BatchCreateAttendeeErrorList(data.Errors, context);
606
+ contents.Errors = de_BatchCreateAttendeeErrorList(data.Errors, context);
615
607
  }
616
608
  if (data.Meeting != null) {
617
- contents.Meeting = deserializeAws_restJson1Meeting(data.Meeting, context);
609
+ contents.Meeting = de_Meeting(data.Meeting, context);
618
610
  }
619
611
  return contents;
620
612
  };
621
- const deserializeAws_restJson1CreateMeetingWithAttendeesCommandError = async (output, context) => {
613
+ const de_CreateMeetingWithAttendeesCommandError = async (output, context) => {
622
614
  const parsedOutput = {
623
615
  ...output,
624
616
  body: await parseErrorBody(output.body, context),
@@ -627,25 +619,25 @@ const deserializeAws_restJson1CreateMeetingWithAttendeesCommandError = async (ou
627
619
  switch (errorCode) {
628
620
  case "BadRequestException":
629
621
  case "com.amazonaws.chimesdkmeetings#BadRequestException":
630
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
622
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
631
623
  case "ForbiddenException":
632
624
  case "com.amazonaws.chimesdkmeetings#ForbiddenException":
633
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
625
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
634
626
  case "LimitExceededException":
635
627
  case "com.amazonaws.chimesdkmeetings#LimitExceededException":
636
- throw await deserializeAws_restJson1LimitExceededExceptionResponse(parsedOutput, context);
628
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
637
629
  case "ServiceFailureException":
638
630
  case "com.amazonaws.chimesdkmeetings#ServiceFailureException":
639
- throw await deserializeAws_restJson1ServiceFailureExceptionResponse(parsedOutput, context);
631
+ throw await de_ServiceFailureExceptionRes(parsedOutput, context);
640
632
  case "ServiceUnavailableException":
641
633
  case "com.amazonaws.chimesdkmeetings#ServiceUnavailableException":
642
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
634
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
643
635
  case "ThrottlingException":
644
636
  case "com.amazonaws.chimesdkmeetings#ThrottlingException":
645
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
637
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
646
638
  case "UnauthorizedException":
647
639
  case "com.amazonaws.chimesdkmeetings#UnauthorizedException":
648
- throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
640
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
649
641
  default:
650
642
  const parsedBody = parsedOutput.body;
651
643
  throwDefaultError({
@@ -656,9 +648,9 @@ const deserializeAws_restJson1CreateMeetingWithAttendeesCommandError = async (ou
656
648
  });
657
649
  }
658
650
  };
659
- export const deserializeAws_restJson1DeleteAttendeeCommand = async (output, context) => {
651
+ export const de_DeleteAttendeeCommand = async (output, context) => {
660
652
  if (output.statusCode !== 204 && output.statusCode >= 300) {
661
- return deserializeAws_restJson1DeleteAttendeeCommandError(output, context);
653
+ return de_DeleteAttendeeCommandError(output, context);
662
654
  }
663
655
  const contents = map({
664
656
  $metadata: deserializeMetadata(output),
@@ -666,7 +658,7 @@ export const deserializeAws_restJson1DeleteAttendeeCommand = async (output, cont
666
658
  await collectBody(output.body, context);
667
659
  return contents;
668
660
  };
669
- const deserializeAws_restJson1DeleteAttendeeCommandError = async (output, context) => {
661
+ const de_DeleteAttendeeCommandError = async (output, context) => {
670
662
  const parsedOutput = {
671
663
  ...output,
672
664
  body: await parseErrorBody(output.body, context),
@@ -675,25 +667,25 @@ const deserializeAws_restJson1DeleteAttendeeCommandError = async (output, contex
675
667
  switch (errorCode) {
676
668
  case "BadRequestException":
677
669
  case "com.amazonaws.chimesdkmeetings#BadRequestException":
678
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
670
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
679
671
  case "ForbiddenException":
680
672
  case "com.amazonaws.chimesdkmeetings#ForbiddenException":
681
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
673
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
682
674
  case "NotFoundException":
683
675
  case "com.amazonaws.chimesdkmeetings#NotFoundException":
684
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
676
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
685
677
  case "ServiceFailureException":
686
678
  case "com.amazonaws.chimesdkmeetings#ServiceFailureException":
687
- throw await deserializeAws_restJson1ServiceFailureExceptionResponse(parsedOutput, context);
679
+ throw await de_ServiceFailureExceptionRes(parsedOutput, context);
688
680
  case "ServiceUnavailableException":
689
681
  case "com.amazonaws.chimesdkmeetings#ServiceUnavailableException":
690
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
682
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
691
683
  case "ThrottlingException":
692
684
  case "com.amazonaws.chimesdkmeetings#ThrottlingException":
693
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
685
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
694
686
  case "UnauthorizedException":
695
687
  case "com.amazonaws.chimesdkmeetings#UnauthorizedException":
696
- throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
688
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
697
689
  default:
698
690
  const parsedBody = parsedOutput.body;
699
691
  throwDefaultError({
@@ -704,9 +696,9 @@ const deserializeAws_restJson1DeleteAttendeeCommandError = async (output, contex
704
696
  });
705
697
  }
706
698
  };
707
- export const deserializeAws_restJson1DeleteMeetingCommand = async (output, context) => {
699
+ export const de_DeleteMeetingCommand = async (output, context) => {
708
700
  if (output.statusCode !== 204 && output.statusCode >= 300) {
709
- return deserializeAws_restJson1DeleteMeetingCommandError(output, context);
701
+ return de_DeleteMeetingCommandError(output, context);
710
702
  }
711
703
  const contents = map({
712
704
  $metadata: deserializeMetadata(output),
@@ -714,7 +706,7 @@ export const deserializeAws_restJson1DeleteMeetingCommand = async (output, conte
714
706
  await collectBody(output.body, context);
715
707
  return contents;
716
708
  };
717
- const deserializeAws_restJson1DeleteMeetingCommandError = async (output, context) => {
709
+ const de_DeleteMeetingCommandError = async (output, context) => {
718
710
  const parsedOutput = {
719
711
  ...output,
720
712
  body: await parseErrorBody(output.body, context),
@@ -723,25 +715,25 @@ const deserializeAws_restJson1DeleteMeetingCommandError = async (output, context
723
715
  switch (errorCode) {
724
716
  case "BadRequestException":
725
717
  case "com.amazonaws.chimesdkmeetings#BadRequestException":
726
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
718
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
727
719
  case "ForbiddenException":
728
720
  case "com.amazonaws.chimesdkmeetings#ForbiddenException":
729
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
721
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
730
722
  case "NotFoundException":
731
723
  case "com.amazonaws.chimesdkmeetings#NotFoundException":
732
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
724
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
733
725
  case "ServiceFailureException":
734
726
  case "com.amazonaws.chimesdkmeetings#ServiceFailureException":
735
- throw await deserializeAws_restJson1ServiceFailureExceptionResponse(parsedOutput, context);
727
+ throw await de_ServiceFailureExceptionRes(parsedOutput, context);
736
728
  case "ServiceUnavailableException":
737
729
  case "com.amazonaws.chimesdkmeetings#ServiceUnavailableException":
738
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
730
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
739
731
  case "ThrottlingException":
740
732
  case "com.amazonaws.chimesdkmeetings#ThrottlingException":
741
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
733
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
742
734
  case "UnauthorizedException":
743
735
  case "com.amazonaws.chimesdkmeetings#UnauthorizedException":
744
- throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
736
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
745
737
  default:
746
738
  const parsedBody = parsedOutput.body;
747
739
  throwDefaultError({
@@ -752,20 +744,20 @@ const deserializeAws_restJson1DeleteMeetingCommandError = async (output, context
752
744
  });
753
745
  }
754
746
  };
755
- export const deserializeAws_restJson1GetAttendeeCommand = async (output, context) => {
747
+ export const de_GetAttendeeCommand = async (output, context) => {
756
748
  if (output.statusCode !== 200 && output.statusCode >= 300) {
757
- return deserializeAws_restJson1GetAttendeeCommandError(output, context);
749
+ return de_GetAttendeeCommandError(output, context);
758
750
  }
759
751
  const contents = map({
760
752
  $metadata: deserializeMetadata(output),
761
753
  });
762
754
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
763
755
  if (data.Attendee != null) {
764
- contents.Attendee = deserializeAws_restJson1Attendee(data.Attendee, context);
756
+ contents.Attendee = de_Attendee(data.Attendee, context);
765
757
  }
766
758
  return contents;
767
759
  };
768
- const deserializeAws_restJson1GetAttendeeCommandError = async (output, context) => {
760
+ const de_GetAttendeeCommandError = async (output, context) => {
769
761
  const parsedOutput = {
770
762
  ...output,
771
763
  body: await parseErrorBody(output.body, context),
@@ -774,25 +766,25 @@ const deserializeAws_restJson1GetAttendeeCommandError = async (output, context)
774
766
  switch (errorCode) {
775
767
  case "BadRequestException":
776
768
  case "com.amazonaws.chimesdkmeetings#BadRequestException":
777
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
769
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
778
770
  case "ForbiddenException":
779
771
  case "com.amazonaws.chimesdkmeetings#ForbiddenException":
780
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
772
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
781
773
  case "NotFoundException":
782
774
  case "com.amazonaws.chimesdkmeetings#NotFoundException":
783
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
775
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
784
776
  case "ServiceFailureException":
785
777
  case "com.amazonaws.chimesdkmeetings#ServiceFailureException":
786
- throw await deserializeAws_restJson1ServiceFailureExceptionResponse(parsedOutput, context);
778
+ throw await de_ServiceFailureExceptionRes(parsedOutput, context);
787
779
  case "ServiceUnavailableException":
788
780
  case "com.amazonaws.chimesdkmeetings#ServiceUnavailableException":
789
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
781
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
790
782
  case "ThrottlingException":
791
783
  case "com.amazonaws.chimesdkmeetings#ThrottlingException":
792
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
784
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
793
785
  case "UnauthorizedException":
794
786
  case "com.amazonaws.chimesdkmeetings#UnauthorizedException":
795
- throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
787
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
796
788
  default:
797
789
  const parsedBody = parsedOutput.body;
798
790
  throwDefaultError({
@@ -803,20 +795,20 @@ const deserializeAws_restJson1GetAttendeeCommandError = async (output, context)
803
795
  });
804
796
  }
805
797
  };
806
- export const deserializeAws_restJson1GetMeetingCommand = async (output, context) => {
798
+ export const de_GetMeetingCommand = async (output, context) => {
807
799
  if (output.statusCode !== 200 && output.statusCode >= 300) {
808
- return deserializeAws_restJson1GetMeetingCommandError(output, context);
800
+ return de_GetMeetingCommandError(output, context);
809
801
  }
810
802
  const contents = map({
811
803
  $metadata: deserializeMetadata(output),
812
804
  });
813
805
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
814
806
  if (data.Meeting != null) {
815
- contents.Meeting = deserializeAws_restJson1Meeting(data.Meeting, context);
807
+ contents.Meeting = de_Meeting(data.Meeting, context);
816
808
  }
817
809
  return contents;
818
810
  };
819
- const deserializeAws_restJson1GetMeetingCommandError = async (output, context) => {
811
+ const de_GetMeetingCommandError = async (output, context) => {
820
812
  const parsedOutput = {
821
813
  ...output,
822
814
  body: await parseErrorBody(output.body, context),
@@ -825,25 +817,25 @@ const deserializeAws_restJson1GetMeetingCommandError = async (output, context) =
825
817
  switch (errorCode) {
826
818
  case "BadRequestException":
827
819
  case "com.amazonaws.chimesdkmeetings#BadRequestException":
828
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
820
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
829
821
  case "ForbiddenException":
830
822
  case "com.amazonaws.chimesdkmeetings#ForbiddenException":
831
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
823
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
832
824
  case "NotFoundException":
833
825
  case "com.amazonaws.chimesdkmeetings#NotFoundException":
834
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
826
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
835
827
  case "ServiceFailureException":
836
828
  case "com.amazonaws.chimesdkmeetings#ServiceFailureException":
837
- throw await deserializeAws_restJson1ServiceFailureExceptionResponse(parsedOutput, context);
829
+ throw await de_ServiceFailureExceptionRes(parsedOutput, context);
838
830
  case "ServiceUnavailableException":
839
831
  case "com.amazonaws.chimesdkmeetings#ServiceUnavailableException":
840
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
832
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
841
833
  case "ThrottlingException":
842
834
  case "com.amazonaws.chimesdkmeetings#ThrottlingException":
843
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
835
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
844
836
  case "UnauthorizedException":
845
837
  case "com.amazonaws.chimesdkmeetings#UnauthorizedException":
846
- throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
838
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
847
839
  default:
848
840
  const parsedBody = parsedOutput.body;
849
841
  throwDefaultError({
@@ -854,23 +846,23 @@ const deserializeAws_restJson1GetMeetingCommandError = async (output, context) =
854
846
  });
855
847
  }
856
848
  };
857
- export const deserializeAws_restJson1ListAttendeesCommand = async (output, context) => {
849
+ export const de_ListAttendeesCommand = async (output, context) => {
858
850
  if (output.statusCode !== 200 && output.statusCode >= 300) {
859
- return deserializeAws_restJson1ListAttendeesCommandError(output, context);
851
+ return de_ListAttendeesCommandError(output, context);
860
852
  }
861
853
  const contents = map({
862
854
  $metadata: deserializeMetadata(output),
863
855
  });
864
856
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
865
857
  if (data.Attendees != null) {
866
- contents.Attendees = deserializeAws_restJson1AttendeeList(data.Attendees, context);
858
+ contents.Attendees = de_AttendeeList(data.Attendees, context);
867
859
  }
868
860
  if (data.NextToken != null) {
869
861
  contents.NextToken = __expectString(data.NextToken);
870
862
  }
871
863
  return contents;
872
864
  };
873
- const deserializeAws_restJson1ListAttendeesCommandError = async (output, context) => {
865
+ const de_ListAttendeesCommandError = async (output, context) => {
874
866
  const parsedOutput = {
875
867
  ...output,
876
868
  body: await parseErrorBody(output.body, context),
@@ -879,25 +871,25 @@ const deserializeAws_restJson1ListAttendeesCommandError = async (output, context
879
871
  switch (errorCode) {
880
872
  case "BadRequestException":
881
873
  case "com.amazonaws.chimesdkmeetings#BadRequestException":
882
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
874
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
883
875
  case "ForbiddenException":
884
876
  case "com.amazonaws.chimesdkmeetings#ForbiddenException":
885
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
877
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
886
878
  case "NotFoundException":
887
879
  case "com.amazonaws.chimesdkmeetings#NotFoundException":
888
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
880
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
889
881
  case "ServiceFailureException":
890
882
  case "com.amazonaws.chimesdkmeetings#ServiceFailureException":
891
- throw await deserializeAws_restJson1ServiceFailureExceptionResponse(parsedOutput, context);
883
+ throw await de_ServiceFailureExceptionRes(parsedOutput, context);
892
884
  case "ServiceUnavailableException":
893
885
  case "com.amazonaws.chimesdkmeetings#ServiceUnavailableException":
894
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
886
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
895
887
  case "ThrottlingException":
896
888
  case "com.amazonaws.chimesdkmeetings#ThrottlingException":
897
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
889
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
898
890
  case "UnauthorizedException":
899
891
  case "com.amazonaws.chimesdkmeetings#UnauthorizedException":
900
- throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
892
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
901
893
  default:
902
894
  const parsedBody = parsedOutput.body;
903
895
  throwDefaultError({
@@ -908,20 +900,20 @@ const deserializeAws_restJson1ListAttendeesCommandError = async (output, context
908
900
  });
909
901
  }
910
902
  };
911
- export const deserializeAws_restJson1ListTagsForResourceCommand = async (output, context) => {
903
+ export const de_ListTagsForResourceCommand = async (output, context) => {
912
904
  if (output.statusCode !== 200 && output.statusCode >= 300) {
913
- return deserializeAws_restJson1ListTagsForResourceCommandError(output, context);
905
+ return de_ListTagsForResourceCommandError(output, context);
914
906
  }
915
907
  const contents = map({
916
908
  $metadata: deserializeMetadata(output),
917
909
  });
918
910
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
919
911
  if (data.Tags != null) {
920
- contents.Tags = deserializeAws_restJson1TagList(data.Tags, context);
912
+ contents.Tags = de_TagList(data.Tags, context);
921
913
  }
922
914
  return contents;
923
915
  };
924
- const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, context) => {
916
+ const de_ListTagsForResourceCommandError = async (output, context) => {
925
917
  const parsedOutput = {
926
918
  ...output,
927
919
  body: await parseErrorBody(output.body, context),
@@ -930,7 +922,7 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
930
922
  switch (errorCode) {
931
923
  case "ResourceNotFoundException":
932
924
  case "com.amazonaws.chimesdkmeetings#ResourceNotFoundException":
933
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
925
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
934
926
  default:
935
927
  const parsedBody = parsedOutput.body;
936
928
  throwDefaultError({
@@ -941,9 +933,9 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
941
933
  });
942
934
  }
943
935
  };
944
- export const deserializeAws_restJson1StartMeetingTranscriptionCommand = async (output, context) => {
936
+ export const de_StartMeetingTranscriptionCommand = async (output, context) => {
945
937
  if (output.statusCode !== 200 && output.statusCode >= 300) {
946
- return deserializeAws_restJson1StartMeetingTranscriptionCommandError(output, context);
938
+ return de_StartMeetingTranscriptionCommandError(output, context);
947
939
  }
948
940
  const contents = map({
949
941
  $metadata: deserializeMetadata(output),
@@ -951,7 +943,7 @@ export const deserializeAws_restJson1StartMeetingTranscriptionCommand = async (o
951
943
  await collectBody(output.body, context);
952
944
  return contents;
953
945
  };
954
- const deserializeAws_restJson1StartMeetingTranscriptionCommandError = async (output, context) => {
946
+ const de_StartMeetingTranscriptionCommandError = async (output, context) => {
955
947
  const parsedOutput = {
956
948
  ...output,
957
949
  body: await parseErrorBody(output.body, context),
@@ -960,31 +952,31 @@ const deserializeAws_restJson1StartMeetingTranscriptionCommandError = async (out
960
952
  switch (errorCode) {
961
953
  case "BadRequestException":
962
954
  case "com.amazonaws.chimesdkmeetings#BadRequestException":
963
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
955
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
964
956
  case "ForbiddenException":
965
957
  case "com.amazonaws.chimesdkmeetings#ForbiddenException":
966
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
958
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
967
959
  case "LimitExceededException":
968
960
  case "com.amazonaws.chimesdkmeetings#LimitExceededException":
969
- throw await deserializeAws_restJson1LimitExceededExceptionResponse(parsedOutput, context);
961
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
970
962
  case "NotFoundException":
971
963
  case "com.amazonaws.chimesdkmeetings#NotFoundException":
972
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
964
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
973
965
  case "ServiceFailureException":
974
966
  case "com.amazonaws.chimesdkmeetings#ServiceFailureException":
975
- throw await deserializeAws_restJson1ServiceFailureExceptionResponse(parsedOutput, context);
967
+ throw await de_ServiceFailureExceptionRes(parsedOutput, context);
976
968
  case "ServiceUnavailableException":
977
969
  case "com.amazonaws.chimesdkmeetings#ServiceUnavailableException":
978
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
970
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
979
971
  case "ThrottlingException":
980
972
  case "com.amazonaws.chimesdkmeetings#ThrottlingException":
981
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
973
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
982
974
  case "UnauthorizedException":
983
975
  case "com.amazonaws.chimesdkmeetings#UnauthorizedException":
984
- throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
976
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
985
977
  case "UnprocessableEntityException":
986
978
  case "com.amazonaws.chimesdkmeetings#UnprocessableEntityException":
987
- throw await deserializeAws_restJson1UnprocessableEntityExceptionResponse(parsedOutput, context);
979
+ throw await de_UnprocessableEntityExceptionRes(parsedOutput, context);
988
980
  default:
989
981
  const parsedBody = parsedOutput.body;
990
982
  throwDefaultError({
@@ -995,9 +987,9 @@ const deserializeAws_restJson1StartMeetingTranscriptionCommandError = async (out
995
987
  });
996
988
  }
997
989
  };
998
- export const deserializeAws_restJson1StopMeetingTranscriptionCommand = async (output, context) => {
990
+ export const de_StopMeetingTranscriptionCommand = async (output, context) => {
999
991
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1000
- return deserializeAws_restJson1StopMeetingTranscriptionCommandError(output, context);
992
+ return de_StopMeetingTranscriptionCommandError(output, context);
1001
993
  }
1002
994
  const contents = map({
1003
995
  $metadata: deserializeMetadata(output),
@@ -1005,7 +997,7 @@ export const deserializeAws_restJson1StopMeetingTranscriptionCommand = async (ou
1005
997
  await collectBody(output.body, context);
1006
998
  return contents;
1007
999
  };
1008
- const deserializeAws_restJson1StopMeetingTranscriptionCommandError = async (output, context) => {
1000
+ const de_StopMeetingTranscriptionCommandError = async (output, context) => {
1009
1001
  const parsedOutput = {
1010
1002
  ...output,
1011
1003
  body: await parseErrorBody(output.body, context),
@@ -1014,28 +1006,28 @@ const deserializeAws_restJson1StopMeetingTranscriptionCommandError = async (outp
1014
1006
  switch (errorCode) {
1015
1007
  case "BadRequestException":
1016
1008
  case "com.amazonaws.chimesdkmeetings#BadRequestException":
1017
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
1009
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1018
1010
  case "ForbiddenException":
1019
1011
  case "com.amazonaws.chimesdkmeetings#ForbiddenException":
1020
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
1012
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
1021
1013
  case "NotFoundException":
1022
1014
  case "com.amazonaws.chimesdkmeetings#NotFoundException":
1023
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
1015
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
1024
1016
  case "ServiceFailureException":
1025
1017
  case "com.amazonaws.chimesdkmeetings#ServiceFailureException":
1026
- throw await deserializeAws_restJson1ServiceFailureExceptionResponse(parsedOutput, context);
1018
+ throw await de_ServiceFailureExceptionRes(parsedOutput, context);
1027
1019
  case "ServiceUnavailableException":
1028
1020
  case "com.amazonaws.chimesdkmeetings#ServiceUnavailableException":
1029
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
1021
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
1030
1022
  case "ThrottlingException":
1031
1023
  case "com.amazonaws.chimesdkmeetings#ThrottlingException":
1032
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1024
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1033
1025
  case "UnauthorizedException":
1034
1026
  case "com.amazonaws.chimesdkmeetings#UnauthorizedException":
1035
- throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
1027
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
1036
1028
  case "UnprocessableEntityException":
1037
1029
  case "com.amazonaws.chimesdkmeetings#UnprocessableEntityException":
1038
- throw await deserializeAws_restJson1UnprocessableEntityExceptionResponse(parsedOutput, context);
1030
+ throw await de_UnprocessableEntityExceptionRes(parsedOutput, context);
1039
1031
  default:
1040
1032
  const parsedBody = parsedOutput.body;
1041
1033
  throwDefaultError({
@@ -1046,9 +1038,9 @@ const deserializeAws_restJson1StopMeetingTranscriptionCommandError = async (outp
1046
1038
  });
1047
1039
  }
1048
1040
  };
1049
- export const deserializeAws_restJson1TagResourceCommand = async (output, context) => {
1041
+ export const de_TagResourceCommand = async (output, context) => {
1050
1042
  if (output.statusCode !== 204 && output.statusCode >= 300) {
1051
- return deserializeAws_restJson1TagResourceCommandError(output, context);
1043
+ return de_TagResourceCommandError(output, context);
1052
1044
  }
1053
1045
  const contents = map({
1054
1046
  $metadata: deserializeMetadata(output),
@@ -1056,7 +1048,7 @@ export const deserializeAws_restJson1TagResourceCommand = async (output, context
1056
1048
  await collectBody(output.body, context);
1057
1049
  return contents;
1058
1050
  };
1059
- const deserializeAws_restJson1TagResourceCommandError = async (output, context) => {
1051
+ const de_TagResourceCommandError = async (output, context) => {
1060
1052
  const parsedOutput = {
1061
1053
  ...output,
1062
1054
  body: await parseErrorBody(output.body, context),
@@ -1065,13 +1057,13 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
1065
1057
  switch (errorCode) {
1066
1058
  case "BadRequestException":
1067
1059
  case "com.amazonaws.chimesdkmeetings#BadRequestException":
1068
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
1060
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1069
1061
  case "ResourceNotFoundException":
1070
1062
  case "com.amazonaws.chimesdkmeetings#ResourceNotFoundException":
1071
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1063
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1072
1064
  case "TooManyTagsException":
1073
1065
  case "com.amazonaws.chimesdkmeetings#TooManyTagsException":
1074
- throw await deserializeAws_restJson1TooManyTagsExceptionResponse(parsedOutput, context);
1066
+ throw await de_TooManyTagsExceptionRes(parsedOutput, context);
1075
1067
  default:
1076
1068
  const parsedBody = parsedOutput.body;
1077
1069
  throwDefaultError({
@@ -1082,9 +1074,9 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
1082
1074
  });
1083
1075
  }
1084
1076
  };
1085
- export const deserializeAws_restJson1UntagResourceCommand = async (output, context) => {
1077
+ export const de_UntagResourceCommand = async (output, context) => {
1086
1078
  if (output.statusCode !== 204 && output.statusCode >= 300) {
1087
- return deserializeAws_restJson1UntagResourceCommandError(output, context);
1079
+ return de_UntagResourceCommandError(output, context);
1088
1080
  }
1089
1081
  const contents = map({
1090
1082
  $metadata: deserializeMetadata(output),
@@ -1092,7 +1084,7 @@ export const deserializeAws_restJson1UntagResourceCommand = async (output, conte
1092
1084
  await collectBody(output.body, context);
1093
1085
  return contents;
1094
1086
  };
1095
- const deserializeAws_restJson1UntagResourceCommandError = async (output, context) => {
1087
+ const de_UntagResourceCommandError = async (output, context) => {
1096
1088
  const parsedOutput = {
1097
1089
  ...output,
1098
1090
  body: await parseErrorBody(output.body, context),
@@ -1101,10 +1093,10 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
1101
1093
  switch (errorCode) {
1102
1094
  case "BadRequestException":
1103
1095
  case "com.amazonaws.chimesdkmeetings#BadRequestException":
1104
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
1096
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1105
1097
  case "ResourceNotFoundException":
1106
1098
  case "com.amazonaws.chimesdkmeetings#ResourceNotFoundException":
1107
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1099
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1108
1100
  default:
1109
1101
  const parsedBody = parsedOutput.body;
1110
1102
  throwDefaultError({
@@ -1115,20 +1107,20 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
1115
1107
  });
1116
1108
  }
1117
1109
  };
1118
- export const deserializeAws_restJson1UpdateAttendeeCapabilitiesCommand = async (output, context) => {
1110
+ export const de_UpdateAttendeeCapabilitiesCommand = async (output, context) => {
1119
1111
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1120
- return deserializeAws_restJson1UpdateAttendeeCapabilitiesCommandError(output, context);
1112
+ return de_UpdateAttendeeCapabilitiesCommandError(output, context);
1121
1113
  }
1122
1114
  const contents = map({
1123
1115
  $metadata: deserializeMetadata(output),
1124
1116
  });
1125
1117
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1126
1118
  if (data.Attendee != null) {
1127
- contents.Attendee = deserializeAws_restJson1Attendee(data.Attendee, context);
1119
+ contents.Attendee = de_Attendee(data.Attendee, context);
1128
1120
  }
1129
1121
  return contents;
1130
1122
  };
1131
- const deserializeAws_restJson1UpdateAttendeeCapabilitiesCommandError = async (output, context) => {
1123
+ const de_UpdateAttendeeCapabilitiesCommandError = async (output, context) => {
1132
1124
  const parsedOutput = {
1133
1125
  ...output,
1134
1126
  body: await parseErrorBody(output.body, context),
@@ -1137,22 +1129,22 @@ const deserializeAws_restJson1UpdateAttendeeCapabilitiesCommandError = async (ou
1137
1129
  switch (errorCode) {
1138
1130
  case "BadRequestException":
1139
1131
  case "com.amazonaws.chimesdkmeetings#BadRequestException":
1140
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
1132
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1141
1133
  case "ConflictException":
1142
1134
  case "com.amazonaws.chimesdkmeetings#ConflictException":
1143
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1135
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1144
1136
  case "ForbiddenException":
1145
1137
  case "com.amazonaws.chimesdkmeetings#ForbiddenException":
1146
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
1138
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
1147
1139
  case "NotFoundException":
1148
1140
  case "com.amazonaws.chimesdkmeetings#NotFoundException":
1149
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
1141
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
1150
1142
  case "ServiceUnavailableException":
1151
1143
  case "com.amazonaws.chimesdkmeetings#ServiceUnavailableException":
1152
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
1144
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
1153
1145
  case "UnauthorizedException":
1154
1146
  case "com.amazonaws.chimesdkmeetings#UnauthorizedException":
1155
- throw await deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context);
1147
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
1156
1148
  default:
1157
1149
  const parsedBody = parsedOutput.body;
1158
1150
  throwDefaultError({
@@ -1164,7 +1156,7 @@ const deserializeAws_restJson1UpdateAttendeeCapabilitiesCommandError = async (ou
1164
1156
  }
1165
1157
  };
1166
1158
  const map = __map;
1167
- const deserializeAws_restJson1BadRequestExceptionResponse = async (parsedOutput, context) => {
1159
+ const de_BadRequestExceptionRes = async (parsedOutput, context) => {
1168
1160
  const contents = map({});
1169
1161
  const data = parsedOutput.body;
1170
1162
  if (data.Code != null) {
@@ -1182,7 +1174,7 @@ const deserializeAws_restJson1BadRequestExceptionResponse = async (parsedOutput,
1182
1174
  });
1183
1175
  return __decorateServiceException(exception, parsedOutput.body);
1184
1176
  };
1185
- const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, context) => {
1177
+ const de_ConflictExceptionRes = async (parsedOutput, context) => {
1186
1178
  const contents = map({});
1187
1179
  const data = parsedOutput.body;
1188
1180
  if (data.Code != null) {
@@ -1200,7 +1192,7 @@ const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, c
1200
1192
  });
1201
1193
  return __decorateServiceException(exception, parsedOutput.body);
1202
1194
  };
1203
- const deserializeAws_restJson1ForbiddenExceptionResponse = async (parsedOutput, context) => {
1195
+ const de_ForbiddenExceptionRes = async (parsedOutput, context) => {
1204
1196
  const contents = map({});
1205
1197
  const data = parsedOutput.body;
1206
1198
  if (data.Code != null) {
@@ -1218,7 +1210,7 @@ const deserializeAws_restJson1ForbiddenExceptionResponse = async (parsedOutput,
1218
1210
  });
1219
1211
  return __decorateServiceException(exception, parsedOutput.body);
1220
1212
  };
1221
- const deserializeAws_restJson1LimitExceededExceptionResponse = async (parsedOutput, context) => {
1213
+ const de_LimitExceededExceptionRes = async (parsedOutput, context) => {
1222
1214
  const contents = map({});
1223
1215
  const data = parsedOutput.body;
1224
1216
  if (data.Code != null) {
@@ -1236,7 +1228,7 @@ const deserializeAws_restJson1LimitExceededExceptionResponse = async (parsedOutp
1236
1228
  });
1237
1229
  return __decorateServiceException(exception, parsedOutput.body);
1238
1230
  };
1239
- const deserializeAws_restJson1NotFoundExceptionResponse = async (parsedOutput, context) => {
1231
+ const de_NotFoundExceptionRes = async (parsedOutput, context) => {
1240
1232
  const contents = map({});
1241
1233
  const data = parsedOutput.body;
1242
1234
  if (data.Code != null) {
@@ -1254,7 +1246,7 @@ const deserializeAws_restJson1NotFoundExceptionResponse = async (parsedOutput, c
1254
1246
  });
1255
1247
  return __decorateServiceException(exception, parsedOutput.body);
1256
1248
  };
1257
- const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
1249
+ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
1258
1250
  const contents = map({});
1259
1251
  const data = parsedOutput.body;
1260
1252
  if (data.Code != null) {
@@ -1275,7 +1267,7 @@ const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedO
1275
1267
  });
1276
1268
  return __decorateServiceException(exception, parsedOutput.body);
1277
1269
  };
1278
- const deserializeAws_restJson1ServiceFailureExceptionResponse = async (parsedOutput, context) => {
1270
+ const de_ServiceFailureExceptionRes = async (parsedOutput, context) => {
1279
1271
  const contents = map({});
1280
1272
  const data = parsedOutput.body;
1281
1273
  if (data.Code != null) {
@@ -1293,7 +1285,7 @@ const deserializeAws_restJson1ServiceFailureExceptionResponse = async (parsedOut
1293
1285
  });
1294
1286
  return __decorateServiceException(exception, parsedOutput.body);
1295
1287
  };
1296
- const deserializeAws_restJson1ServiceUnavailableExceptionResponse = async (parsedOutput, context) => {
1288
+ const de_ServiceUnavailableExceptionRes = async (parsedOutput, context) => {
1297
1289
  const contents = map({
1298
1290
  RetryAfterSeconds: [, parsedOutput.headers["retry-after"]],
1299
1291
  });
@@ -1313,7 +1305,7 @@ const deserializeAws_restJson1ServiceUnavailableExceptionResponse = async (parse
1313
1305
  });
1314
1306
  return __decorateServiceException(exception, parsedOutput.body);
1315
1307
  };
1316
- const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput, context) => {
1308
+ const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
1317
1309
  const contents = map({});
1318
1310
  const data = parsedOutput.body;
1319
1311
  if (data.Code != null) {
@@ -1331,7 +1323,7 @@ const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput,
1331
1323
  });
1332
1324
  return __decorateServiceException(exception, parsedOutput.body);
1333
1325
  };
1334
- const deserializeAws_restJson1TooManyTagsExceptionResponse = async (parsedOutput, context) => {
1326
+ const de_TooManyTagsExceptionRes = async (parsedOutput, context) => {
1335
1327
  const contents = map({});
1336
1328
  const data = parsedOutput.body;
1337
1329
  if (data.Code != null) {
@@ -1352,7 +1344,7 @@ const deserializeAws_restJson1TooManyTagsExceptionResponse = async (parsedOutput
1352
1344
  });
1353
1345
  return __decorateServiceException(exception, parsedOutput.body);
1354
1346
  };
1355
- const deserializeAws_restJson1UnauthorizedExceptionResponse = async (parsedOutput, context) => {
1347
+ const de_UnauthorizedExceptionRes = async (parsedOutput, context) => {
1356
1348
  const contents = map({});
1357
1349
  const data = parsedOutput.body;
1358
1350
  if (data.Code != null) {
@@ -1370,7 +1362,7 @@ const deserializeAws_restJson1UnauthorizedExceptionResponse = async (parsedOutpu
1370
1362
  });
1371
1363
  return __decorateServiceException(exception, parsedOutput.body);
1372
1364
  };
1373
- const deserializeAws_restJson1UnprocessableEntityExceptionResponse = async (parsedOutput, context) => {
1365
+ const de_UnprocessableEntityExceptionRes = async (parsedOutput, context) => {
1374
1366
  const contents = map({});
1375
1367
  const data = parsedOutput.body;
1376
1368
  if (data.Code != null) {
@@ -1388,53 +1380,51 @@ const deserializeAws_restJson1UnprocessableEntityExceptionResponse = async (pars
1388
1380
  });
1389
1381
  return __decorateServiceException(exception, parsedOutput.body);
1390
1382
  };
1391
- const serializeAws_restJson1AttendeeCapabilities = (input, context) => {
1383
+ const se_AttendeeCapabilities = (input, context) => {
1392
1384
  return {
1393
1385
  ...(input.Audio != null && { Audio: input.Audio }),
1394
1386
  ...(input.Content != null && { Content: input.Content }),
1395
1387
  ...(input.Video != null && { Video: input.Video }),
1396
1388
  };
1397
1389
  };
1398
- const serializeAws_restJson1AttendeeIdItem = (input, context) => {
1390
+ const se_AttendeeIdItem = (input, context) => {
1399
1391
  return {
1400
1392
  ...(input.AttendeeId != null && { AttendeeId: input.AttendeeId }),
1401
1393
  };
1402
1394
  };
1403
- const serializeAws_restJson1AttendeeIdsList = (input, context) => {
1395
+ const se_AttendeeIdsList = (input, context) => {
1404
1396
  return input
1405
1397
  .filter((e) => e != null)
1406
1398
  .map((entry) => {
1407
- return serializeAws_restJson1AttendeeIdItem(entry, context);
1399
+ return se_AttendeeIdItem(entry, context);
1408
1400
  });
1409
1401
  };
1410
- const serializeAws_restJson1AudioFeatures = (input, context) => {
1402
+ const se_AudioFeatures = (input, context) => {
1411
1403
  return {
1412
1404
  ...(input.EchoReduction != null && { EchoReduction: input.EchoReduction }),
1413
1405
  };
1414
1406
  };
1415
- const serializeAws_restJson1CreateAttendeeRequestItem = (input, context) => {
1407
+ const se_CreateAttendeeRequestItem = (input, context) => {
1416
1408
  return {
1417
- ...(input.Capabilities != null && {
1418
- Capabilities: serializeAws_restJson1AttendeeCapabilities(input.Capabilities, context),
1419
- }),
1409
+ ...(input.Capabilities != null && { Capabilities: se_AttendeeCapabilities(input.Capabilities, context) }),
1420
1410
  ...(input.ExternalUserId != null && { ExternalUserId: input.ExternalUserId }),
1421
1411
  };
1422
1412
  };
1423
- const serializeAws_restJson1CreateAttendeeRequestItemList = (input, context) => {
1413
+ const se_CreateAttendeeRequestItemList = (input, context) => {
1424
1414
  return input
1425
1415
  .filter((e) => e != null)
1426
1416
  .map((entry) => {
1427
- return serializeAws_restJson1CreateAttendeeRequestItem(entry, context);
1417
+ return se_CreateAttendeeRequestItem(entry, context);
1428
1418
  });
1429
1419
  };
1430
- const serializeAws_restJson1CreateMeetingWithAttendeesRequestItemList = (input, context) => {
1420
+ const se_CreateMeetingWithAttendeesRequestItemList = (input, context) => {
1431
1421
  return input
1432
1422
  .filter((e) => e != null)
1433
1423
  .map((entry) => {
1434
- return serializeAws_restJson1CreateAttendeeRequestItem(entry, context);
1424
+ return se_CreateAttendeeRequestItem(entry, context);
1435
1425
  });
1436
1426
  };
1437
- const serializeAws_restJson1EngineTranscribeMedicalSettings = (input, context) => {
1427
+ const se_EngineTranscribeMedicalSettings = (input, context) => {
1438
1428
  return {
1439
1429
  ...(input.ContentIdentificationType != null && { ContentIdentificationType: input.ContentIdentificationType }),
1440
1430
  ...(input.LanguageCode != null && { LanguageCode: input.LanguageCode }),
@@ -1444,7 +1434,7 @@ const serializeAws_restJson1EngineTranscribeMedicalSettings = (input, context) =
1444
1434
  ...(input.VocabularyName != null && { VocabularyName: input.VocabularyName }),
1445
1435
  };
1446
1436
  };
1447
- const serializeAws_restJson1EngineTranscribeSettings = (input, context) => {
1437
+ const se_EngineTranscribeSettings = (input, context) => {
1448
1438
  return {
1449
1439
  ...(input.ContentIdentificationType != null && { ContentIdentificationType: input.ContentIdentificationType }),
1450
1440
  ...(input.ContentRedactionType != null && { ContentRedactionType: input.ContentRedactionType }),
@@ -1464,107 +1454,105 @@ const serializeAws_restJson1EngineTranscribeSettings = (input, context) => {
1464
1454
  ...(input.VocabularyName != null && { VocabularyName: input.VocabularyName }),
1465
1455
  };
1466
1456
  };
1467
- const serializeAws_restJson1MeetingFeaturesConfiguration = (input, context) => {
1457
+ const se_MeetingFeaturesConfiguration = (input, context) => {
1468
1458
  return {
1469
- ...(input.Audio != null && { Audio: serializeAws_restJson1AudioFeatures(input.Audio, context) }),
1459
+ ...(input.Audio != null && { Audio: se_AudioFeatures(input.Audio, context) }),
1470
1460
  };
1471
1461
  };
1472
- const serializeAws_restJson1NotificationsConfiguration = (input, context) => {
1462
+ const se_NotificationsConfiguration = (input, context) => {
1473
1463
  return {
1474
1464
  ...(input.LambdaFunctionArn != null && { LambdaFunctionArn: input.LambdaFunctionArn }),
1475
1465
  ...(input.SnsTopicArn != null && { SnsTopicArn: input.SnsTopicArn }),
1476
1466
  ...(input.SqsQueueArn != null && { SqsQueueArn: input.SqsQueueArn }),
1477
1467
  };
1478
1468
  };
1479
- const serializeAws_restJson1Tag = (input, context) => {
1469
+ const se_Tag = (input, context) => {
1480
1470
  return {
1481
1471
  ...(input.Key != null && { Key: input.Key }),
1482
1472
  ...(input.Value != null && { Value: input.Value }),
1483
1473
  };
1484
1474
  };
1485
- const serializeAws_restJson1TagKeyList = (input, context) => {
1475
+ const se_TagKeyList = (input, context) => {
1486
1476
  return input
1487
1477
  .filter((e) => e != null)
1488
1478
  .map((entry) => {
1489
1479
  return entry;
1490
1480
  });
1491
1481
  };
1492
- const serializeAws_restJson1TagList = (input, context) => {
1482
+ const se_TagList = (input, context) => {
1493
1483
  return input
1494
1484
  .filter((e) => e != null)
1495
1485
  .map((entry) => {
1496
- return serializeAws_restJson1Tag(entry, context);
1486
+ return se_Tag(entry, context);
1497
1487
  });
1498
1488
  };
1499
- const serializeAws_restJson1TenantIdList = (input, context) => {
1489
+ const se_TenantIdList = (input, context) => {
1500
1490
  return input
1501
1491
  .filter((e) => e != null)
1502
1492
  .map((entry) => {
1503
1493
  return entry;
1504
1494
  });
1505
1495
  };
1506
- const serializeAws_restJson1TranscriptionConfiguration = (input, context) => {
1496
+ const se_TranscriptionConfiguration = (input, context) => {
1507
1497
  return {
1508
1498
  ...(input.EngineTranscribeMedicalSettings != null && {
1509
- EngineTranscribeMedicalSettings: serializeAws_restJson1EngineTranscribeMedicalSettings(input.EngineTranscribeMedicalSettings, context),
1499
+ EngineTranscribeMedicalSettings: se_EngineTranscribeMedicalSettings(input.EngineTranscribeMedicalSettings, context),
1510
1500
  }),
1511
1501
  ...(input.EngineTranscribeSettings != null && {
1512
- EngineTranscribeSettings: serializeAws_restJson1EngineTranscribeSettings(input.EngineTranscribeSettings, context),
1502
+ EngineTranscribeSettings: se_EngineTranscribeSettings(input.EngineTranscribeSettings, context),
1513
1503
  }),
1514
1504
  };
1515
1505
  };
1516
- const deserializeAws_restJson1Attendee = (output, context) => {
1506
+ const de_Attendee = (output, context) => {
1517
1507
  return {
1518
1508
  AttendeeId: __expectString(output.AttendeeId),
1519
- Capabilities: output.Capabilities != null
1520
- ? deserializeAws_restJson1AttendeeCapabilities(output.Capabilities, context)
1521
- : undefined,
1509
+ Capabilities: output.Capabilities != null ? de_AttendeeCapabilities(output.Capabilities, context) : undefined,
1522
1510
  ExternalUserId: __expectString(output.ExternalUserId),
1523
1511
  JoinToken: __expectString(output.JoinToken),
1524
1512
  };
1525
1513
  };
1526
- const deserializeAws_restJson1AttendeeCapabilities = (output, context) => {
1514
+ const de_AttendeeCapabilities = (output, context) => {
1527
1515
  return {
1528
1516
  Audio: __expectString(output.Audio),
1529
1517
  Content: __expectString(output.Content),
1530
1518
  Video: __expectString(output.Video),
1531
1519
  };
1532
1520
  };
1533
- const deserializeAws_restJson1AttendeeList = (output, context) => {
1521
+ const de_AttendeeList = (output, context) => {
1534
1522
  const retVal = (output || [])
1535
1523
  .filter((e) => e != null)
1536
1524
  .map((entry) => {
1537
1525
  if (entry === null) {
1538
1526
  return null;
1539
1527
  }
1540
- return deserializeAws_restJson1Attendee(entry, context);
1528
+ return de_Attendee(entry, context);
1541
1529
  });
1542
1530
  return retVal;
1543
1531
  };
1544
- const deserializeAws_restJson1AudioFeatures = (output, context) => {
1532
+ const de_AudioFeatures = (output, context) => {
1545
1533
  return {
1546
1534
  EchoReduction: __expectString(output.EchoReduction),
1547
1535
  };
1548
1536
  };
1549
- const deserializeAws_restJson1BatchCreateAttendeeErrorList = (output, context) => {
1537
+ const de_BatchCreateAttendeeErrorList = (output, context) => {
1550
1538
  const retVal = (output || [])
1551
1539
  .filter((e) => e != null)
1552
1540
  .map((entry) => {
1553
1541
  if (entry === null) {
1554
1542
  return null;
1555
1543
  }
1556
- return deserializeAws_restJson1CreateAttendeeError(entry, context);
1544
+ return de_CreateAttendeeError(entry, context);
1557
1545
  });
1558
1546
  return retVal;
1559
1547
  };
1560
- const deserializeAws_restJson1CreateAttendeeError = (output, context) => {
1548
+ const de_CreateAttendeeError = (output, context) => {
1561
1549
  return {
1562
1550
  ErrorCode: __expectString(output.ErrorCode),
1563
1551
  ErrorMessage: __expectString(output.ErrorMessage),
1564
1552
  ExternalUserId: __expectString(output.ExternalUserId),
1565
1553
  };
1566
1554
  };
1567
- const deserializeAws_restJson1MediaPlacement = (output, context) => {
1555
+ const de_MediaPlacement = (output, context) => {
1568
1556
  return {
1569
1557
  AudioFallbackUrl: __expectString(output.AudioFallbackUrl),
1570
1558
  AudioHostUrl: __expectString(output.AudioHostUrl),
@@ -1576,46 +1564,42 @@ const deserializeAws_restJson1MediaPlacement = (output, context) => {
1576
1564
  TurnControlUrl: __expectString(output.TurnControlUrl),
1577
1565
  };
1578
1566
  };
1579
- const deserializeAws_restJson1Meeting = (output, context) => {
1567
+ const de_Meeting = (output, context) => {
1580
1568
  return {
1581
1569
  ExternalMeetingId: __expectString(output.ExternalMeetingId),
1582
- MediaPlacement: output.MediaPlacement != null
1583
- ? deserializeAws_restJson1MediaPlacement(output.MediaPlacement, context)
1584
- : undefined,
1570
+ MediaPlacement: output.MediaPlacement != null ? de_MediaPlacement(output.MediaPlacement, context) : undefined,
1585
1571
  MediaRegion: __expectString(output.MediaRegion),
1586
1572
  MeetingArn: __expectString(output.MeetingArn),
1587
- MeetingFeatures: output.MeetingFeatures != null
1588
- ? deserializeAws_restJson1MeetingFeaturesConfiguration(output.MeetingFeatures, context)
1589
- : undefined,
1573
+ MeetingFeatures: output.MeetingFeatures != null ? de_MeetingFeaturesConfiguration(output.MeetingFeatures, context) : undefined,
1590
1574
  MeetingHostId: __expectString(output.MeetingHostId),
1591
1575
  MeetingId: __expectString(output.MeetingId),
1592
1576
  PrimaryMeetingId: __expectString(output.PrimaryMeetingId),
1593
- TenantIds: output.TenantIds != null ? deserializeAws_restJson1TenantIdList(output.TenantIds, context) : undefined,
1577
+ TenantIds: output.TenantIds != null ? de_TenantIdList(output.TenantIds, context) : undefined,
1594
1578
  };
1595
1579
  };
1596
- const deserializeAws_restJson1MeetingFeaturesConfiguration = (output, context) => {
1580
+ const de_MeetingFeaturesConfiguration = (output, context) => {
1597
1581
  return {
1598
- Audio: output.Audio != null ? deserializeAws_restJson1AudioFeatures(output.Audio, context) : undefined,
1582
+ Audio: output.Audio != null ? de_AudioFeatures(output.Audio, context) : undefined,
1599
1583
  };
1600
1584
  };
1601
- const deserializeAws_restJson1Tag = (output, context) => {
1585
+ const de_Tag = (output, context) => {
1602
1586
  return {
1603
1587
  Key: __expectString(output.Key),
1604
1588
  Value: __expectString(output.Value),
1605
1589
  };
1606
1590
  };
1607
- const deserializeAws_restJson1TagList = (output, context) => {
1591
+ const de_TagList = (output, context) => {
1608
1592
  const retVal = (output || [])
1609
1593
  .filter((e) => e != null)
1610
1594
  .map((entry) => {
1611
1595
  if (entry === null) {
1612
1596
  return null;
1613
1597
  }
1614
- return deserializeAws_restJson1Tag(entry, context);
1598
+ return de_Tag(entry, context);
1615
1599
  });
1616
1600
  return retVal;
1617
1601
  };
1618
- const deserializeAws_restJson1TenantIdList = (output, context) => {
1602
+ const de_TenantIdList = (output, context) => {
1619
1603
  const retVal = (output || [])
1620
1604
  .filter((e) => e != null)
1621
1605
  .map((entry) => {