@aws-sdk/client-chime-sdk-media-pipelines 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 (43) hide show
  1. package/dist-cjs/commands/CreateMediaCapturePipelineCommand.js +2 -2
  2. package/dist-cjs/commands/CreateMediaConcatenationPipelineCommand.js +2 -2
  3. package/dist-cjs/commands/CreateMediaInsightsPipelineCommand.js +2 -2
  4. package/dist-cjs/commands/CreateMediaInsightsPipelineConfigurationCommand.js +2 -2
  5. package/dist-cjs/commands/CreateMediaLiveConnectorPipelineCommand.js +2 -2
  6. package/dist-cjs/commands/DeleteMediaCapturePipelineCommand.js +2 -2
  7. package/dist-cjs/commands/DeleteMediaInsightsPipelineConfigurationCommand.js +2 -2
  8. package/dist-cjs/commands/DeleteMediaPipelineCommand.js +2 -2
  9. package/dist-cjs/commands/GetMediaCapturePipelineCommand.js +2 -2
  10. package/dist-cjs/commands/GetMediaInsightsPipelineConfigurationCommand.js +2 -2
  11. package/dist-cjs/commands/GetMediaPipelineCommand.js +2 -2
  12. package/dist-cjs/commands/ListMediaCapturePipelinesCommand.js +2 -2
  13. package/dist-cjs/commands/ListMediaInsightsPipelineConfigurationsCommand.js +2 -2
  14. package/dist-cjs/commands/ListMediaPipelinesCommand.js +2 -2
  15. package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -2
  16. package/dist-cjs/commands/TagResourceCommand.js +2 -2
  17. package/dist-cjs/commands/UntagResourceCommand.js +2 -2
  18. package/dist-cjs/commands/UpdateMediaInsightsPipelineConfigurationCommand.js +2 -2
  19. package/dist-cjs/commands/UpdateMediaInsightsPipelineStatusCommand.js +2 -2
  20. package/dist-cjs/protocols/Aws_restJson1.js +574 -613
  21. package/dist-es/commands/CreateMediaCapturePipelineCommand.js +3 -3
  22. package/dist-es/commands/CreateMediaConcatenationPipelineCommand.js +3 -3
  23. package/dist-es/commands/CreateMediaInsightsPipelineCommand.js +3 -3
  24. package/dist-es/commands/CreateMediaInsightsPipelineConfigurationCommand.js +3 -3
  25. package/dist-es/commands/CreateMediaLiveConnectorPipelineCommand.js +3 -3
  26. package/dist-es/commands/DeleteMediaCapturePipelineCommand.js +3 -3
  27. package/dist-es/commands/DeleteMediaInsightsPipelineConfigurationCommand.js +3 -3
  28. package/dist-es/commands/DeleteMediaPipelineCommand.js +3 -3
  29. package/dist-es/commands/GetMediaCapturePipelineCommand.js +3 -3
  30. package/dist-es/commands/GetMediaInsightsPipelineConfigurationCommand.js +3 -3
  31. package/dist-es/commands/GetMediaPipelineCommand.js +3 -3
  32. package/dist-es/commands/ListMediaCapturePipelinesCommand.js +3 -3
  33. package/dist-es/commands/ListMediaInsightsPipelineConfigurationsCommand.js +3 -3
  34. package/dist-es/commands/ListMediaPipelinesCommand.js +3 -3
  35. package/dist-es/commands/ListTagsForResourceCommand.js +3 -3
  36. package/dist-es/commands/TagResourceCommand.js +3 -3
  37. package/dist-es/commands/UntagResourceCommand.js +3 -3
  38. package/dist-es/commands/UpdateMediaInsightsPipelineConfigurationCommand.js +3 -3
  39. package/dist-es/commands/UpdateMediaInsightsPipelineStatusCommand.js +3 -3
  40. package/dist-es/protocols/Aws_restJson1.js +535 -574
  41. package/dist-types/protocols/Aws_restJson1.d.ts +152 -38
  42. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +38 -38
  43. package/package.json +29 -29
@@ -3,7 +3,7 @@ import { decorateServiceException as __decorateServiceException, expectBoolean a
3
3
  import { v4 as generateIdempotencyToken } from "uuid";
4
4
  import { ChimeSDKMediaPipelinesServiceException as __BaseException } from "../models/ChimeSDKMediaPipelinesServiceException";
5
5
  import { BadRequestException, ConflictException, ForbiddenException, NotFoundException, ResourceLimitExceededException, ServiceFailureException, ServiceUnavailableException, ThrottledClientException, UnauthorizedClientException, } from "../models/models_0";
6
- export const serializeAws_restJson1CreateMediaCapturePipelineCommand = async (input, context) => {
6
+ export const se_CreateMediaCapturePipelineCommand = 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",
@@ -12,14 +12,14 @@ export const serializeAws_restJson1CreateMediaCapturePipelineCommand = async (in
12
12
  let body;
13
13
  body = JSON.stringify({
14
14
  ...(input.ChimeSdkMeetingConfiguration != null && {
15
- ChimeSdkMeetingConfiguration: serializeAws_restJson1ChimeSdkMeetingConfiguration(input.ChimeSdkMeetingConfiguration, context),
15
+ ChimeSdkMeetingConfiguration: se_ChimeSdkMeetingConfiguration(input.ChimeSdkMeetingConfiguration, context),
16
16
  }),
17
17
  ClientRequestToken: input.ClientRequestToken ?? generateIdempotencyToken(),
18
18
  ...(input.SinkArn != null && { SinkArn: input.SinkArn }),
19
19
  ...(input.SinkType != null && { SinkType: input.SinkType }),
20
20
  ...(input.SourceArn != null && { SourceArn: input.SourceArn }),
21
21
  ...(input.SourceType != null && { SourceType: input.SourceType }),
22
- ...(input.Tags != null && { Tags: serializeAws_restJson1TagList(input.Tags, context) }),
22
+ ...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
23
23
  });
24
24
  return new __HttpRequest({
25
25
  protocol,
@@ -31,7 +31,7 @@ export const serializeAws_restJson1CreateMediaCapturePipelineCommand = async (in
31
31
  body,
32
32
  });
33
33
  };
34
- export const serializeAws_restJson1CreateMediaConcatenationPipelineCommand = async (input, context) => {
34
+ export const se_CreateMediaConcatenationPipelineCommand = async (input, context) => {
35
35
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
36
36
  const headers = {
37
37
  "content-type": "application/json",
@@ -40,9 +40,9 @@ export const serializeAws_restJson1CreateMediaConcatenationPipelineCommand = asy
40
40
  let body;
41
41
  body = JSON.stringify({
42
42
  ClientRequestToken: input.ClientRequestToken ?? generateIdempotencyToken(),
43
- ...(input.Sinks != null && { Sinks: serializeAws_restJson1ConcatenationSinkList(input.Sinks, context) }),
44
- ...(input.Sources != null && { Sources: serializeAws_restJson1ConcatenationSourceList(input.Sources, context) }),
45
- ...(input.Tags != null && { Tags: serializeAws_restJson1TagList(input.Tags, context) }),
43
+ ...(input.Sinks != null && { Sinks: se_ConcatenationSinkList(input.Sinks, context) }),
44
+ ...(input.Sources != null && { Sources: se_ConcatenationSourceList(input.Sources, context) }),
45
+ ...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
46
46
  });
47
47
  return new __HttpRequest({
48
48
  protocol,
@@ -54,7 +54,7 @@ export const serializeAws_restJson1CreateMediaConcatenationPipelineCommand = asy
54
54
  body,
55
55
  });
56
56
  };
57
- export const serializeAws_restJson1CreateMediaInsightsPipelineCommand = async (input, context) => {
57
+ export const se_CreateMediaInsightsPipelineCommand = async (input, context) => {
58
58
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
59
59
  const headers = {
60
60
  "content-type": "application/json",
@@ -64,21 +64,21 @@ export const serializeAws_restJson1CreateMediaInsightsPipelineCommand = async (i
64
64
  body = JSON.stringify({
65
65
  ClientRequestToken: input.ClientRequestToken ?? generateIdempotencyToken(),
66
66
  ...(input.KinesisVideoStreamRecordingSourceRuntimeConfiguration != null && {
67
- KinesisVideoStreamRecordingSourceRuntimeConfiguration: serializeAws_restJson1KinesisVideoStreamRecordingSourceRuntimeConfiguration(input.KinesisVideoStreamRecordingSourceRuntimeConfiguration, context),
67
+ KinesisVideoStreamRecordingSourceRuntimeConfiguration: se_KinesisVideoStreamRecordingSourceRuntimeConfiguration(input.KinesisVideoStreamRecordingSourceRuntimeConfiguration, context),
68
68
  }),
69
69
  ...(input.KinesisVideoStreamSourceRuntimeConfiguration != null && {
70
- KinesisVideoStreamSourceRuntimeConfiguration: serializeAws_restJson1KinesisVideoStreamSourceRuntimeConfiguration(input.KinesisVideoStreamSourceRuntimeConfiguration, context),
70
+ KinesisVideoStreamSourceRuntimeConfiguration: se_KinesisVideoStreamSourceRuntimeConfiguration(input.KinesisVideoStreamSourceRuntimeConfiguration, context),
71
71
  }),
72
72
  ...(input.MediaInsightsPipelineConfigurationArn != null && {
73
73
  MediaInsightsPipelineConfigurationArn: input.MediaInsightsPipelineConfigurationArn,
74
74
  }),
75
75
  ...(input.MediaInsightsRuntimeMetadata != null && {
76
- MediaInsightsRuntimeMetadata: serializeAws_restJson1MediaInsightsRuntimeMetadata(input.MediaInsightsRuntimeMetadata, context),
76
+ MediaInsightsRuntimeMetadata: se_MediaInsightsRuntimeMetadata(input.MediaInsightsRuntimeMetadata, context),
77
77
  }),
78
78
  ...(input.S3RecordingSinkRuntimeConfiguration != null && {
79
- S3RecordingSinkRuntimeConfiguration: serializeAws_restJson1S3RecordingSinkRuntimeConfiguration(input.S3RecordingSinkRuntimeConfiguration, context),
79
+ S3RecordingSinkRuntimeConfiguration: se_S3RecordingSinkRuntimeConfiguration(input.S3RecordingSinkRuntimeConfiguration, context),
80
80
  }),
81
- ...(input.Tags != null && { Tags: serializeAws_restJson1TagList(input.Tags, context) }),
81
+ ...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
82
82
  });
83
83
  return new __HttpRequest({
84
84
  protocol,
@@ -90,7 +90,7 @@ export const serializeAws_restJson1CreateMediaInsightsPipelineCommand = async (i
90
90
  body,
91
91
  });
92
92
  };
93
- export const serializeAws_restJson1CreateMediaInsightsPipelineConfigurationCommand = async (input, context) => {
93
+ export const se_CreateMediaInsightsPipelineConfigurationCommand = async (input, context) => {
94
94
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
95
95
  const headers = {
96
96
  "content-type": "application/json",
@@ -99,17 +99,15 @@ export const serializeAws_restJson1CreateMediaInsightsPipelineConfigurationComma
99
99
  let body;
100
100
  body = JSON.stringify({
101
101
  ClientRequestToken: input.ClientRequestToken ?? generateIdempotencyToken(),
102
- ...(input.Elements != null && {
103
- Elements: serializeAws_restJson1MediaInsightsPipelineConfigurationElements(input.Elements, context),
104
- }),
102
+ ...(input.Elements != null && { Elements: se_MediaInsightsPipelineConfigurationElements(input.Elements, context) }),
105
103
  ...(input.MediaInsightsPipelineConfigurationName != null && {
106
104
  MediaInsightsPipelineConfigurationName: input.MediaInsightsPipelineConfigurationName,
107
105
  }),
108
106
  ...(input.RealTimeAlertConfiguration != null && {
109
- RealTimeAlertConfiguration: serializeAws_restJson1RealTimeAlertConfiguration(input.RealTimeAlertConfiguration, context),
107
+ RealTimeAlertConfiguration: se_RealTimeAlertConfiguration(input.RealTimeAlertConfiguration, context),
110
108
  }),
111
109
  ...(input.ResourceAccessRoleArn != null && { ResourceAccessRoleArn: input.ResourceAccessRoleArn }),
112
- ...(input.Tags != null && { Tags: serializeAws_restJson1TagList(input.Tags, context) }),
110
+ ...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
113
111
  });
114
112
  return new __HttpRequest({
115
113
  protocol,
@@ -121,7 +119,7 @@ export const serializeAws_restJson1CreateMediaInsightsPipelineConfigurationComma
121
119
  body,
122
120
  });
123
121
  };
124
- export const serializeAws_restJson1CreateMediaLiveConnectorPipelineCommand = async (input, context) => {
122
+ export const se_CreateMediaLiveConnectorPipelineCommand = async (input, context) => {
125
123
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
126
124
  const headers = {
127
125
  "content-type": "application/json",
@@ -130,9 +128,9 @@ export const serializeAws_restJson1CreateMediaLiveConnectorPipelineCommand = asy
130
128
  let body;
131
129
  body = JSON.stringify({
132
130
  ClientRequestToken: input.ClientRequestToken ?? generateIdempotencyToken(),
133
- ...(input.Sinks != null && { Sinks: serializeAws_restJson1LiveConnectorSinkList(input.Sinks, context) }),
134
- ...(input.Sources != null && { Sources: serializeAws_restJson1LiveConnectorSourceList(input.Sources, context) }),
135
- ...(input.Tags != null && { Tags: serializeAws_restJson1TagList(input.Tags, context) }),
131
+ ...(input.Sinks != null && { Sinks: se_LiveConnectorSinkList(input.Sinks, context) }),
132
+ ...(input.Sources != null && { Sources: se_LiveConnectorSourceList(input.Sources, context) }),
133
+ ...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
136
134
  });
137
135
  return new __HttpRequest({
138
136
  protocol,
@@ -144,7 +142,7 @@ export const serializeAws_restJson1CreateMediaLiveConnectorPipelineCommand = asy
144
142
  body,
145
143
  });
146
144
  };
147
- export const serializeAws_restJson1DeleteMediaCapturePipelineCommand = async (input, context) => {
145
+ export const se_DeleteMediaCapturePipelineCommand = async (input, context) => {
148
146
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
149
147
  const headers = {};
150
148
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -161,7 +159,7 @@ export const serializeAws_restJson1DeleteMediaCapturePipelineCommand = async (in
161
159
  body,
162
160
  });
163
161
  };
164
- export const serializeAws_restJson1DeleteMediaInsightsPipelineConfigurationCommand = async (input, context) => {
162
+ export const se_DeleteMediaInsightsPipelineConfigurationCommand = async (input, context) => {
165
163
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
166
164
  const headers = {};
167
165
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -178,7 +176,7 @@ export const serializeAws_restJson1DeleteMediaInsightsPipelineConfigurationComma
178
176
  body,
179
177
  });
180
178
  };
181
- export const serializeAws_restJson1DeleteMediaPipelineCommand = async (input, context) => {
179
+ export const se_DeleteMediaPipelineCommand = async (input, context) => {
182
180
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
183
181
  const headers = {};
184
182
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/sdk-media-pipelines/{MediaPipelineId}";
@@ -194,7 +192,7 @@ export const serializeAws_restJson1DeleteMediaPipelineCommand = async (input, co
194
192
  body,
195
193
  });
196
194
  };
197
- export const serializeAws_restJson1GetMediaCapturePipelineCommand = async (input, context) => {
195
+ export const se_GetMediaCapturePipelineCommand = async (input, context) => {
198
196
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
199
197
  const headers = {};
200
198
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -211,7 +209,7 @@ export const serializeAws_restJson1GetMediaCapturePipelineCommand = async (input
211
209
  body,
212
210
  });
213
211
  };
214
- export const serializeAws_restJson1GetMediaInsightsPipelineConfigurationCommand = async (input, context) => {
212
+ export const se_GetMediaInsightsPipelineConfigurationCommand = async (input, context) => {
215
213
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
216
214
  const headers = {};
217
215
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -228,7 +226,7 @@ export const serializeAws_restJson1GetMediaInsightsPipelineConfigurationCommand
228
226
  body,
229
227
  });
230
228
  };
231
- export const serializeAws_restJson1GetMediaPipelineCommand = async (input, context) => {
229
+ export const se_GetMediaPipelineCommand = async (input, context) => {
232
230
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
233
231
  const headers = {};
234
232
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/sdk-media-pipelines/{MediaPipelineId}";
@@ -244,7 +242,7 @@ export const serializeAws_restJson1GetMediaPipelineCommand = async (input, conte
244
242
  body,
245
243
  });
246
244
  };
247
- export const serializeAws_restJson1ListMediaCapturePipelinesCommand = async (input, context) => {
245
+ export const se_ListMediaCapturePipelinesCommand = async (input, context) => {
248
246
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
249
247
  const headers = {};
250
248
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/sdk-media-capture-pipelines";
@@ -264,7 +262,7 @@ export const serializeAws_restJson1ListMediaCapturePipelinesCommand = async (inp
264
262
  body,
265
263
  });
266
264
  };
267
- export const serializeAws_restJson1ListMediaInsightsPipelineConfigurationsCommand = async (input, context) => {
265
+ export const se_ListMediaInsightsPipelineConfigurationsCommand = async (input, context) => {
268
266
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
269
267
  const headers = {};
270
268
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/media-insights-pipeline-configurations";
@@ -284,7 +282,7 @@ export const serializeAws_restJson1ListMediaInsightsPipelineConfigurationsComman
284
282
  body,
285
283
  });
286
284
  };
287
- export const serializeAws_restJson1ListMediaPipelinesCommand = async (input, context) => {
285
+ export const se_ListMediaPipelinesCommand = async (input, context) => {
288
286
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
289
287
  const headers = {};
290
288
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/sdk-media-pipelines";
@@ -304,7 +302,7 @@ export const serializeAws_restJson1ListMediaPipelinesCommand = async (input, con
304
302
  body,
305
303
  });
306
304
  };
307
- export const serializeAws_restJson1ListTagsForResourceCommand = async (input, context) => {
305
+ export const se_ListTagsForResourceCommand = async (input, context) => {
308
306
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
309
307
  const headers = {};
310
308
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags";
@@ -323,7 +321,7 @@ export const serializeAws_restJson1ListTagsForResourceCommand = async (input, co
323
321
  body,
324
322
  });
325
323
  };
326
- export const serializeAws_restJson1TagResourceCommand = async (input, context) => {
324
+ export const se_TagResourceCommand = async (input, context) => {
327
325
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
328
326
  const headers = {
329
327
  "content-type": "application/json",
@@ -335,7 +333,7 @@ export const serializeAws_restJson1TagResourceCommand = async (input, context) =
335
333
  let body;
336
334
  body = JSON.stringify({
337
335
  ...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
338
- ...(input.Tags != null && { Tags: serializeAws_restJson1TagList(input.Tags, context) }),
336
+ ...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
339
337
  });
340
338
  return new __HttpRequest({
341
339
  protocol,
@@ -348,7 +346,7 @@ export const serializeAws_restJson1TagResourceCommand = async (input, context) =
348
346
  body,
349
347
  });
350
348
  };
351
- export const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
349
+ export const se_UntagResourceCommand = async (input, context) => {
352
350
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
353
351
  const headers = {
354
352
  "content-type": "application/json",
@@ -360,7 +358,7 @@ export const serializeAws_restJson1UntagResourceCommand = async (input, context)
360
358
  let body;
361
359
  body = JSON.stringify({
362
360
  ...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
363
- ...(input.TagKeys != null && { TagKeys: serializeAws_restJson1TagKeyList(input.TagKeys, context) }),
361
+ ...(input.TagKeys != null && { TagKeys: se_TagKeyList(input.TagKeys, context) }),
364
362
  });
365
363
  return new __HttpRequest({
366
364
  protocol,
@@ -373,7 +371,7 @@ export const serializeAws_restJson1UntagResourceCommand = async (input, context)
373
371
  body,
374
372
  });
375
373
  };
376
- export const serializeAws_restJson1UpdateMediaInsightsPipelineConfigurationCommand = async (input, context) => {
374
+ export const se_UpdateMediaInsightsPipelineConfigurationCommand = async (input, context) => {
377
375
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
378
376
  const headers = {
379
377
  "content-type": "application/json",
@@ -383,11 +381,9 @@ export const serializeAws_restJson1UpdateMediaInsightsPipelineConfigurationComma
383
381
  resolvedPath = __resolvedPath(resolvedPath, input, "Identifier", () => input.Identifier, "{Identifier}", false);
384
382
  let body;
385
383
  body = JSON.stringify({
386
- ...(input.Elements != null && {
387
- Elements: serializeAws_restJson1MediaInsightsPipelineConfigurationElements(input.Elements, context),
388
- }),
384
+ ...(input.Elements != null && { Elements: se_MediaInsightsPipelineConfigurationElements(input.Elements, context) }),
389
385
  ...(input.RealTimeAlertConfiguration != null && {
390
- RealTimeAlertConfiguration: serializeAws_restJson1RealTimeAlertConfiguration(input.RealTimeAlertConfiguration, context),
386
+ RealTimeAlertConfiguration: se_RealTimeAlertConfiguration(input.RealTimeAlertConfiguration, context),
391
387
  }),
392
388
  ...(input.ResourceAccessRoleArn != null && { ResourceAccessRoleArn: input.ResourceAccessRoleArn }),
393
389
  });
@@ -401,7 +397,7 @@ export const serializeAws_restJson1UpdateMediaInsightsPipelineConfigurationComma
401
397
  body,
402
398
  });
403
399
  };
404
- export const serializeAws_restJson1UpdateMediaInsightsPipelineStatusCommand = async (input, context) => {
400
+ export const se_UpdateMediaInsightsPipelineStatusCommand = async (input, context) => {
405
401
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
406
402
  const headers = {
407
403
  "content-type": "application/json",
@@ -423,20 +419,20 @@ export const serializeAws_restJson1UpdateMediaInsightsPipelineStatusCommand = as
423
419
  body,
424
420
  });
425
421
  };
426
- export const deserializeAws_restJson1CreateMediaCapturePipelineCommand = async (output, context) => {
422
+ export const de_CreateMediaCapturePipelineCommand = async (output, context) => {
427
423
  if (output.statusCode !== 201 && output.statusCode >= 300) {
428
- return deserializeAws_restJson1CreateMediaCapturePipelineCommandError(output, context);
424
+ return de_CreateMediaCapturePipelineCommandError(output, context);
429
425
  }
430
426
  const contents = map({
431
427
  $metadata: deserializeMetadata(output),
432
428
  });
433
429
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
434
430
  if (data.MediaCapturePipeline != null) {
435
- contents.MediaCapturePipeline = deserializeAws_restJson1MediaCapturePipeline(data.MediaCapturePipeline, context);
431
+ contents.MediaCapturePipeline = de_MediaCapturePipeline(data.MediaCapturePipeline, context);
436
432
  }
437
433
  return contents;
438
434
  };
439
- const deserializeAws_restJson1CreateMediaCapturePipelineCommandError = async (output, context) => {
435
+ const de_CreateMediaCapturePipelineCommandError = async (output, context) => {
440
436
  const parsedOutput = {
441
437
  ...output,
442
438
  body: await parseErrorBody(output.body, context),
@@ -445,25 +441,25 @@ const deserializeAws_restJson1CreateMediaCapturePipelineCommandError = async (ou
445
441
  switch (errorCode) {
446
442
  case "BadRequestException":
447
443
  case "com.amazonaws.chimesdkmediapipelines#BadRequestException":
448
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
444
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
449
445
  case "ForbiddenException":
450
446
  case "com.amazonaws.chimesdkmediapipelines#ForbiddenException":
451
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
447
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
452
448
  case "ResourceLimitExceededException":
453
449
  case "com.amazonaws.chimesdkmediapipelines#ResourceLimitExceededException":
454
- throw await deserializeAws_restJson1ResourceLimitExceededExceptionResponse(parsedOutput, context);
450
+ throw await de_ResourceLimitExceededExceptionRes(parsedOutput, context);
455
451
  case "ServiceFailureException":
456
452
  case "com.amazonaws.chimesdkmediapipelines#ServiceFailureException":
457
- throw await deserializeAws_restJson1ServiceFailureExceptionResponse(parsedOutput, context);
453
+ throw await de_ServiceFailureExceptionRes(parsedOutput, context);
458
454
  case "ServiceUnavailableException":
459
455
  case "com.amazonaws.chimesdkmediapipelines#ServiceUnavailableException":
460
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
456
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
461
457
  case "ThrottledClientException":
462
458
  case "com.amazonaws.chimesdkmediapipelines#ThrottledClientException":
463
- throw await deserializeAws_restJson1ThrottledClientExceptionResponse(parsedOutput, context);
459
+ throw await de_ThrottledClientExceptionRes(parsedOutput, context);
464
460
  case "UnauthorizedClientException":
465
461
  case "com.amazonaws.chimesdkmediapipelines#UnauthorizedClientException":
466
- throw await deserializeAws_restJson1UnauthorizedClientExceptionResponse(parsedOutput, context);
462
+ throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
467
463
  default:
468
464
  const parsedBody = parsedOutput.body;
469
465
  throwDefaultError({
@@ -474,20 +470,20 @@ const deserializeAws_restJson1CreateMediaCapturePipelineCommandError = async (ou
474
470
  });
475
471
  }
476
472
  };
477
- export const deserializeAws_restJson1CreateMediaConcatenationPipelineCommand = async (output, context) => {
473
+ export const de_CreateMediaConcatenationPipelineCommand = async (output, context) => {
478
474
  if (output.statusCode !== 201 && output.statusCode >= 300) {
479
- return deserializeAws_restJson1CreateMediaConcatenationPipelineCommandError(output, context);
475
+ return de_CreateMediaConcatenationPipelineCommandError(output, context);
480
476
  }
481
477
  const contents = map({
482
478
  $metadata: deserializeMetadata(output),
483
479
  });
484
480
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
485
481
  if (data.MediaConcatenationPipeline != null) {
486
- contents.MediaConcatenationPipeline = deserializeAws_restJson1MediaConcatenationPipeline(data.MediaConcatenationPipeline, context);
482
+ contents.MediaConcatenationPipeline = de_MediaConcatenationPipeline(data.MediaConcatenationPipeline, context);
487
483
  }
488
484
  return contents;
489
485
  };
490
- const deserializeAws_restJson1CreateMediaConcatenationPipelineCommandError = async (output, context) => {
486
+ const de_CreateMediaConcatenationPipelineCommandError = async (output, context) => {
491
487
  const parsedOutput = {
492
488
  ...output,
493
489
  body: await parseErrorBody(output.body, context),
@@ -496,25 +492,25 @@ const deserializeAws_restJson1CreateMediaConcatenationPipelineCommandError = asy
496
492
  switch (errorCode) {
497
493
  case "BadRequestException":
498
494
  case "com.amazonaws.chimesdkmediapipelines#BadRequestException":
499
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
495
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
500
496
  case "ForbiddenException":
501
497
  case "com.amazonaws.chimesdkmediapipelines#ForbiddenException":
502
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
498
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
503
499
  case "ResourceLimitExceededException":
504
500
  case "com.amazonaws.chimesdkmediapipelines#ResourceLimitExceededException":
505
- throw await deserializeAws_restJson1ResourceLimitExceededExceptionResponse(parsedOutput, context);
501
+ throw await de_ResourceLimitExceededExceptionRes(parsedOutput, context);
506
502
  case "ServiceFailureException":
507
503
  case "com.amazonaws.chimesdkmediapipelines#ServiceFailureException":
508
- throw await deserializeAws_restJson1ServiceFailureExceptionResponse(parsedOutput, context);
504
+ throw await de_ServiceFailureExceptionRes(parsedOutput, context);
509
505
  case "ServiceUnavailableException":
510
506
  case "com.amazonaws.chimesdkmediapipelines#ServiceUnavailableException":
511
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
507
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
512
508
  case "ThrottledClientException":
513
509
  case "com.amazonaws.chimesdkmediapipelines#ThrottledClientException":
514
- throw await deserializeAws_restJson1ThrottledClientExceptionResponse(parsedOutput, context);
510
+ throw await de_ThrottledClientExceptionRes(parsedOutput, context);
515
511
  case "UnauthorizedClientException":
516
512
  case "com.amazonaws.chimesdkmediapipelines#UnauthorizedClientException":
517
- throw await deserializeAws_restJson1UnauthorizedClientExceptionResponse(parsedOutput, context);
513
+ throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
518
514
  default:
519
515
  const parsedBody = parsedOutput.body;
520
516
  throwDefaultError({
@@ -525,20 +521,20 @@ const deserializeAws_restJson1CreateMediaConcatenationPipelineCommandError = asy
525
521
  });
526
522
  }
527
523
  };
528
- export const deserializeAws_restJson1CreateMediaInsightsPipelineCommand = async (output, context) => {
524
+ export const de_CreateMediaInsightsPipelineCommand = async (output, context) => {
529
525
  if (output.statusCode !== 201 && output.statusCode >= 300) {
530
- return deserializeAws_restJson1CreateMediaInsightsPipelineCommandError(output, context);
526
+ return de_CreateMediaInsightsPipelineCommandError(output, context);
531
527
  }
532
528
  const contents = map({
533
529
  $metadata: deserializeMetadata(output),
534
530
  });
535
531
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
536
532
  if (data.MediaInsightsPipeline != null) {
537
- contents.MediaInsightsPipeline = deserializeAws_restJson1MediaInsightsPipeline(data.MediaInsightsPipeline, context);
533
+ contents.MediaInsightsPipeline = de_MediaInsightsPipeline(data.MediaInsightsPipeline, context);
538
534
  }
539
535
  return contents;
540
536
  };
541
- const deserializeAws_restJson1CreateMediaInsightsPipelineCommandError = async (output, context) => {
537
+ const de_CreateMediaInsightsPipelineCommandError = async (output, context) => {
542
538
  const parsedOutput = {
543
539
  ...output,
544
540
  body: await parseErrorBody(output.body, context),
@@ -547,28 +543,28 @@ const deserializeAws_restJson1CreateMediaInsightsPipelineCommandError = async (o
547
543
  switch (errorCode) {
548
544
  case "BadRequestException":
549
545
  case "com.amazonaws.chimesdkmediapipelines#BadRequestException":
550
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
546
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
551
547
  case "ForbiddenException":
552
548
  case "com.amazonaws.chimesdkmediapipelines#ForbiddenException":
553
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
549
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
554
550
  case "NotFoundException":
555
551
  case "com.amazonaws.chimesdkmediapipelines#NotFoundException":
556
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
552
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
557
553
  case "ResourceLimitExceededException":
558
554
  case "com.amazonaws.chimesdkmediapipelines#ResourceLimitExceededException":
559
- throw await deserializeAws_restJson1ResourceLimitExceededExceptionResponse(parsedOutput, context);
555
+ throw await de_ResourceLimitExceededExceptionRes(parsedOutput, context);
560
556
  case "ServiceFailureException":
561
557
  case "com.amazonaws.chimesdkmediapipelines#ServiceFailureException":
562
- throw await deserializeAws_restJson1ServiceFailureExceptionResponse(parsedOutput, context);
558
+ throw await de_ServiceFailureExceptionRes(parsedOutput, context);
563
559
  case "ServiceUnavailableException":
564
560
  case "com.amazonaws.chimesdkmediapipelines#ServiceUnavailableException":
565
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
561
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
566
562
  case "ThrottledClientException":
567
563
  case "com.amazonaws.chimesdkmediapipelines#ThrottledClientException":
568
- throw await deserializeAws_restJson1ThrottledClientExceptionResponse(parsedOutput, context);
564
+ throw await de_ThrottledClientExceptionRes(parsedOutput, context);
569
565
  case "UnauthorizedClientException":
570
566
  case "com.amazonaws.chimesdkmediapipelines#UnauthorizedClientException":
571
- throw await deserializeAws_restJson1UnauthorizedClientExceptionResponse(parsedOutput, context);
567
+ throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
572
568
  default:
573
569
  const parsedBody = parsedOutput.body;
574
570
  throwDefaultError({
@@ -579,20 +575,20 @@ const deserializeAws_restJson1CreateMediaInsightsPipelineCommandError = async (o
579
575
  });
580
576
  }
581
577
  };
582
- export const deserializeAws_restJson1CreateMediaInsightsPipelineConfigurationCommand = async (output, context) => {
578
+ export const de_CreateMediaInsightsPipelineConfigurationCommand = async (output, context) => {
583
579
  if (output.statusCode !== 201 && output.statusCode >= 300) {
584
- return deserializeAws_restJson1CreateMediaInsightsPipelineConfigurationCommandError(output, context);
580
+ return de_CreateMediaInsightsPipelineConfigurationCommandError(output, context);
585
581
  }
586
582
  const contents = map({
587
583
  $metadata: deserializeMetadata(output),
588
584
  });
589
585
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
590
586
  if (data.MediaInsightsPipelineConfiguration != null) {
591
- contents.MediaInsightsPipelineConfiguration = deserializeAws_restJson1MediaInsightsPipelineConfiguration(data.MediaInsightsPipelineConfiguration, context);
587
+ contents.MediaInsightsPipelineConfiguration = de_MediaInsightsPipelineConfiguration(data.MediaInsightsPipelineConfiguration, context);
592
588
  }
593
589
  return contents;
594
590
  };
595
- const deserializeAws_restJson1CreateMediaInsightsPipelineConfigurationCommandError = async (output, context) => {
591
+ const de_CreateMediaInsightsPipelineConfigurationCommandError = async (output, context) => {
596
592
  const parsedOutput = {
597
593
  ...output,
598
594
  body: await parseErrorBody(output.body, context),
@@ -601,28 +597,28 @@ const deserializeAws_restJson1CreateMediaInsightsPipelineConfigurationCommandErr
601
597
  switch (errorCode) {
602
598
  case "BadRequestException":
603
599
  case "com.amazonaws.chimesdkmediapipelines#BadRequestException":
604
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
600
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
605
601
  case "ForbiddenException":
606
602
  case "com.amazonaws.chimesdkmediapipelines#ForbiddenException":
607
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
603
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
608
604
  case "NotFoundException":
609
605
  case "com.amazonaws.chimesdkmediapipelines#NotFoundException":
610
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
606
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
611
607
  case "ResourceLimitExceededException":
612
608
  case "com.amazonaws.chimesdkmediapipelines#ResourceLimitExceededException":
613
- throw await deserializeAws_restJson1ResourceLimitExceededExceptionResponse(parsedOutput, context);
609
+ throw await de_ResourceLimitExceededExceptionRes(parsedOutput, context);
614
610
  case "ServiceFailureException":
615
611
  case "com.amazonaws.chimesdkmediapipelines#ServiceFailureException":
616
- throw await deserializeAws_restJson1ServiceFailureExceptionResponse(parsedOutput, context);
612
+ throw await de_ServiceFailureExceptionRes(parsedOutput, context);
617
613
  case "ServiceUnavailableException":
618
614
  case "com.amazonaws.chimesdkmediapipelines#ServiceUnavailableException":
619
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
615
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
620
616
  case "ThrottledClientException":
621
617
  case "com.amazonaws.chimesdkmediapipelines#ThrottledClientException":
622
- throw await deserializeAws_restJson1ThrottledClientExceptionResponse(parsedOutput, context);
618
+ throw await de_ThrottledClientExceptionRes(parsedOutput, context);
623
619
  case "UnauthorizedClientException":
624
620
  case "com.amazonaws.chimesdkmediapipelines#UnauthorizedClientException":
625
- throw await deserializeAws_restJson1UnauthorizedClientExceptionResponse(parsedOutput, context);
621
+ throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
626
622
  default:
627
623
  const parsedBody = parsedOutput.body;
628
624
  throwDefaultError({
@@ -633,20 +629,20 @@ const deserializeAws_restJson1CreateMediaInsightsPipelineConfigurationCommandErr
633
629
  });
634
630
  }
635
631
  };
636
- export const deserializeAws_restJson1CreateMediaLiveConnectorPipelineCommand = async (output, context) => {
632
+ export const de_CreateMediaLiveConnectorPipelineCommand = async (output, context) => {
637
633
  if (output.statusCode !== 201 && output.statusCode >= 300) {
638
- return deserializeAws_restJson1CreateMediaLiveConnectorPipelineCommandError(output, context);
634
+ return de_CreateMediaLiveConnectorPipelineCommandError(output, context);
639
635
  }
640
636
  const contents = map({
641
637
  $metadata: deserializeMetadata(output),
642
638
  });
643
639
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
644
640
  if (data.MediaLiveConnectorPipeline != null) {
645
- contents.MediaLiveConnectorPipeline = deserializeAws_restJson1MediaLiveConnectorPipeline(data.MediaLiveConnectorPipeline, context);
641
+ contents.MediaLiveConnectorPipeline = de_MediaLiveConnectorPipeline(data.MediaLiveConnectorPipeline, context);
646
642
  }
647
643
  return contents;
648
644
  };
649
- const deserializeAws_restJson1CreateMediaLiveConnectorPipelineCommandError = async (output, context) => {
645
+ const de_CreateMediaLiveConnectorPipelineCommandError = async (output, context) => {
650
646
  const parsedOutput = {
651
647
  ...output,
652
648
  body: await parseErrorBody(output.body, context),
@@ -655,25 +651,25 @@ const deserializeAws_restJson1CreateMediaLiveConnectorPipelineCommandError = asy
655
651
  switch (errorCode) {
656
652
  case "BadRequestException":
657
653
  case "com.amazonaws.chimesdkmediapipelines#BadRequestException":
658
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
654
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
659
655
  case "ForbiddenException":
660
656
  case "com.amazonaws.chimesdkmediapipelines#ForbiddenException":
661
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
657
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
662
658
  case "ResourceLimitExceededException":
663
659
  case "com.amazonaws.chimesdkmediapipelines#ResourceLimitExceededException":
664
- throw await deserializeAws_restJson1ResourceLimitExceededExceptionResponse(parsedOutput, context);
660
+ throw await de_ResourceLimitExceededExceptionRes(parsedOutput, context);
665
661
  case "ServiceFailureException":
666
662
  case "com.amazonaws.chimesdkmediapipelines#ServiceFailureException":
667
- throw await deserializeAws_restJson1ServiceFailureExceptionResponse(parsedOutput, context);
663
+ throw await de_ServiceFailureExceptionRes(parsedOutput, context);
668
664
  case "ServiceUnavailableException":
669
665
  case "com.amazonaws.chimesdkmediapipelines#ServiceUnavailableException":
670
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
666
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
671
667
  case "ThrottledClientException":
672
668
  case "com.amazonaws.chimesdkmediapipelines#ThrottledClientException":
673
- throw await deserializeAws_restJson1ThrottledClientExceptionResponse(parsedOutput, context);
669
+ throw await de_ThrottledClientExceptionRes(parsedOutput, context);
674
670
  case "UnauthorizedClientException":
675
671
  case "com.amazonaws.chimesdkmediapipelines#UnauthorizedClientException":
676
- throw await deserializeAws_restJson1UnauthorizedClientExceptionResponse(parsedOutput, context);
672
+ throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
677
673
  default:
678
674
  const parsedBody = parsedOutput.body;
679
675
  throwDefaultError({
@@ -684,9 +680,9 @@ const deserializeAws_restJson1CreateMediaLiveConnectorPipelineCommandError = asy
684
680
  });
685
681
  }
686
682
  };
687
- export const deserializeAws_restJson1DeleteMediaCapturePipelineCommand = async (output, context) => {
683
+ export const de_DeleteMediaCapturePipelineCommand = async (output, context) => {
688
684
  if (output.statusCode !== 204 && output.statusCode >= 300) {
689
- return deserializeAws_restJson1DeleteMediaCapturePipelineCommandError(output, context);
685
+ return de_DeleteMediaCapturePipelineCommandError(output, context);
690
686
  }
691
687
  const contents = map({
692
688
  $metadata: deserializeMetadata(output),
@@ -694,7 +690,7 @@ export const deserializeAws_restJson1DeleteMediaCapturePipelineCommand = async (
694
690
  await collectBody(output.body, context);
695
691
  return contents;
696
692
  };
697
- const deserializeAws_restJson1DeleteMediaCapturePipelineCommandError = async (output, context) => {
693
+ const de_DeleteMediaCapturePipelineCommandError = async (output, context) => {
698
694
  const parsedOutput = {
699
695
  ...output,
700
696
  body: await parseErrorBody(output.body, context),
@@ -703,25 +699,25 @@ const deserializeAws_restJson1DeleteMediaCapturePipelineCommandError = async (ou
703
699
  switch (errorCode) {
704
700
  case "BadRequestException":
705
701
  case "com.amazonaws.chimesdkmediapipelines#BadRequestException":
706
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
702
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
707
703
  case "ForbiddenException":
708
704
  case "com.amazonaws.chimesdkmediapipelines#ForbiddenException":
709
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
705
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
710
706
  case "NotFoundException":
711
707
  case "com.amazonaws.chimesdkmediapipelines#NotFoundException":
712
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
708
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
713
709
  case "ServiceFailureException":
714
710
  case "com.amazonaws.chimesdkmediapipelines#ServiceFailureException":
715
- throw await deserializeAws_restJson1ServiceFailureExceptionResponse(parsedOutput, context);
711
+ throw await de_ServiceFailureExceptionRes(parsedOutput, context);
716
712
  case "ServiceUnavailableException":
717
713
  case "com.amazonaws.chimesdkmediapipelines#ServiceUnavailableException":
718
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
714
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
719
715
  case "ThrottledClientException":
720
716
  case "com.amazonaws.chimesdkmediapipelines#ThrottledClientException":
721
- throw await deserializeAws_restJson1ThrottledClientExceptionResponse(parsedOutput, context);
717
+ throw await de_ThrottledClientExceptionRes(parsedOutput, context);
722
718
  case "UnauthorizedClientException":
723
719
  case "com.amazonaws.chimesdkmediapipelines#UnauthorizedClientException":
724
- throw await deserializeAws_restJson1UnauthorizedClientExceptionResponse(parsedOutput, context);
720
+ throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
725
721
  default:
726
722
  const parsedBody = parsedOutput.body;
727
723
  throwDefaultError({
@@ -732,9 +728,9 @@ const deserializeAws_restJson1DeleteMediaCapturePipelineCommandError = async (ou
732
728
  });
733
729
  }
734
730
  };
735
- export const deserializeAws_restJson1DeleteMediaInsightsPipelineConfigurationCommand = async (output, context) => {
731
+ export const de_DeleteMediaInsightsPipelineConfigurationCommand = async (output, context) => {
736
732
  if (output.statusCode !== 204 && output.statusCode >= 300) {
737
- return deserializeAws_restJson1DeleteMediaInsightsPipelineConfigurationCommandError(output, context);
733
+ return de_DeleteMediaInsightsPipelineConfigurationCommandError(output, context);
738
734
  }
739
735
  const contents = map({
740
736
  $metadata: deserializeMetadata(output),
@@ -742,7 +738,7 @@ export const deserializeAws_restJson1DeleteMediaInsightsPipelineConfigurationCom
742
738
  await collectBody(output.body, context);
743
739
  return contents;
744
740
  };
745
- const deserializeAws_restJson1DeleteMediaInsightsPipelineConfigurationCommandError = async (output, context) => {
741
+ const de_DeleteMediaInsightsPipelineConfigurationCommandError = async (output, context) => {
746
742
  const parsedOutput = {
747
743
  ...output,
748
744
  body: await parseErrorBody(output.body, context),
@@ -751,28 +747,28 @@ const deserializeAws_restJson1DeleteMediaInsightsPipelineConfigurationCommandErr
751
747
  switch (errorCode) {
752
748
  case "BadRequestException":
753
749
  case "com.amazonaws.chimesdkmediapipelines#BadRequestException":
754
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
750
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
755
751
  case "ConflictException":
756
752
  case "com.amazonaws.chimesdkmediapipelines#ConflictException":
757
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
753
+ throw await de_ConflictExceptionRes(parsedOutput, context);
758
754
  case "ForbiddenException":
759
755
  case "com.amazonaws.chimesdkmediapipelines#ForbiddenException":
760
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
756
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
761
757
  case "NotFoundException":
762
758
  case "com.amazonaws.chimesdkmediapipelines#NotFoundException":
763
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
759
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
764
760
  case "ServiceFailureException":
765
761
  case "com.amazonaws.chimesdkmediapipelines#ServiceFailureException":
766
- throw await deserializeAws_restJson1ServiceFailureExceptionResponse(parsedOutput, context);
762
+ throw await de_ServiceFailureExceptionRes(parsedOutput, context);
767
763
  case "ServiceUnavailableException":
768
764
  case "com.amazonaws.chimesdkmediapipelines#ServiceUnavailableException":
769
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
765
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
770
766
  case "ThrottledClientException":
771
767
  case "com.amazonaws.chimesdkmediapipelines#ThrottledClientException":
772
- throw await deserializeAws_restJson1ThrottledClientExceptionResponse(parsedOutput, context);
768
+ throw await de_ThrottledClientExceptionRes(parsedOutput, context);
773
769
  case "UnauthorizedClientException":
774
770
  case "com.amazonaws.chimesdkmediapipelines#UnauthorizedClientException":
775
- throw await deserializeAws_restJson1UnauthorizedClientExceptionResponse(parsedOutput, context);
771
+ throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
776
772
  default:
777
773
  const parsedBody = parsedOutput.body;
778
774
  throwDefaultError({
@@ -783,9 +779,9 @@ const deserializeAws_restJson1DeleteMediaInsightsPipelineConfigurationCommandErr
783
779
  });
784
780
  }
785
781
  };
786
- export const deserializeAws_restJson1DeleteMediaPipelineCommand = async (output, context) => {
782
+ export const de_DeleteMediaPipelineCommand = async (output, context) => {
787
783
  if (output.statusCode !== 204 && output.statusCode >= 300) {
788
- return deserializeAws_restJson1DeleteMediaPipelineCommandError(output, context);
784
+ return de_DeleteMediaPipelineCommandError(output, context);
789
785
  }
790
786
  const contents = map({
791
787
  $metadata: deserializeMetadata(output),
@@ -793,7 +789,7 @@ export const deserializeAws_restJson1DeleteMediaPipelineCommand = async (output,
793
789
  await collectBody(output.body, context);
794
790
  return contents;
795
791
  };
796
- const deserializeAws_restJson1DeleteMediaPipelineCommandError = async (output, context) => {
792
+ const de_DeleteMediaPipelineCommandError = async (output, context) => {
797
793
  const parsedOutput = {
798
794
  ...output,
799
795
  body: await parseErrorBody(output.body, context),
@@ -802,25 +798,25 @@ const deserializeAws_restJson1DeleteMediaPipelineCommandError = async (output, c
802
798
  switch (errorCode) {
803
799
  case "BadRequestException":
804
800
  case "com.amazonaws.chimesdkmediapipelines#BadRequestException":
805
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
801
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
806
802
  case "ForbiddenException":
807
803
  case "com.amazonaws.chimesdkmediapipelines#ForbiddenException":
808
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
804
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
809
805
  case "NotFoundException":
810
806
  case "com.amazonaws.chimesdkmediapipelines#NotFoundException":
811
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
807
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
812
808
  case "ServiceFailureException":
813
809
  case "com.amazonaws.chimesdkmediapipelines#ServiceFailureException":
814
- throw await deserializeAws_restJson1ServiceFailureExceptionResponse(parsedOutput, context);
810
+ throw await de_ServiceFailureExceptionRes(parsedOutput, context);
815
811
  case "ServiceUnavailableException":
816
812
  case "com.amazonaws.chimesdkmediapipelines#ServiceUnavailableException":
817
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
813
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
818
814
  case "ThrottledClientException":
819
815
  case "com.amazonaws.chimesdkmediapipelines#ThrottledClientException":
820
- throw await deserializeAws_restJson1ThrottledClientExceptionResponse(parsedOutput, context);
816
+ throw await de_ThrottledClientExceptionRes(parsedOutput, context);
821
817
  case "UnauthorizedClientException":
822
818
  case "com.amazonaws.chimesdkmediapipelines#UnauthorizedClientException":
823
- throw await deserializeAws_restJson1UnauthorizedClientExceptionResponse(parsedOutput, context);
819
+ throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
824
820
  default:
825
821
  const parsedBody = parsedOutput.body;
826
822
  throwDefaultError({
@@ -831,20 +827,20 @@ const deserializeAws_restJson1DeleteMediaPipelineCommandError = async (output, c
831
827
  });
832
828
  }
833
829
  };
834
- export const deserializeAws_restJson1GetMediaCapturePipelineCommand = async (output, context) => {
830
+ export const de_GetMediaCapturePipelineCommand = async (output, context) => {
835
831
  if (output.statusCode !== 200 && output.statusCode >= 300) {
836
- return deserializeAws_restJson1GetMediaCapturePipelineCommandError(output, context);
832
+ return de_GetMediaCapturePipelineCommandError(output, context);
837
833
  }
838
834
  const contents = map({
839
835
  $metadata: deserializeMetadata(output),
840
836
  });
841
837
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
842
838
  if (data.MediaCapturePipeline != null) {
843
- contents.MediaCapturePipeline = deserializeAws_restJson1MediaCapturePipeline(data.MediaCapturePipeline, context);
839
+ contents.MediaCapturePipeline = de_MediaCapturePipeline(data.MediaCapturePipeline, context);
844
840
  }
845
841
  return contents;
846
842
  };
847
- const deserializeAws_restJson1GetMediaCapturePipelineCommandError = async (output, context) => {
843
+ const de_GetMediaCapturePipelineCommandError = async (output, context) => {
848
844
  const parsedOutput = {
849
845
  ...output,
850
846
  body: await parseErrorBody(output.body, context),
@@ -853,25 +849,25 @@ const deserializeAws_restJson1GetMediaCapturePipelineCommandError = async (outpu
853
849
  switch (errorCode) {
854
850
  case "BadRequestException":
855
851
  case "com.amazonaws.chimesdkmediapipelines#BadRequestException":
856
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
852
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
857
853
  case "ForbiddenException":
858
854
  case "com.amazonaws.chimesdkmediapipelines#ForbiddenException":
859
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
855
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
860
856
  case "NotFoundException":
861
857
  case "com.amazonaws.chimesdkmediapipelines#NotFoundException":
862
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
858
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
863
859
  case "ServiceFailureException":
864
860
  case "com.amazonaws.chimesdkmediapipelines#ServiceFailureException":
865
- throw await deserializeAws_restJson1ServiceFailureExceptionResponse(parsedOutput, context);
861
+ throw await de_ServiceFailureExceptionRes(parsedOutput, context);
866
862
  case "ServiceUnavailableException":
867
863
  case "com.amazonaws.chimesdkmediapipelines#ServiceUnavailableException":
868
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
864
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
869
865
  case "ThrottledClientException":
870
866
  case "com.amazonaws.chimesdkmediapipelines#ThrottledClientException":
871
- throw await deserializeAws_restJson1ThrottledClientExceptionResponse(parsedOutput, context);
867
+ throw await de_ThrottledClientExceptionRes(parsedOutput, context);
872
868
  case "UnauthorizedClientException":
873
869
  case "com.amazonaws.chimesdkmediapipelines#UnauthorizedClientException":
874
- throw await deserializeAws_restJson1UnauthorizedClientExceptionResponse(parsedOutput, context);
870
+ throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
875
871
  default:
876
872
  const parsedBody = parsedOutput.body;
877
873
  throwDefaultError({
@@ -882,20 +878,20 @@ const deserializeAws_restJson1GetMediaCapturePipelineCommandError = async (outpu
882
878
  });
883
879
  }
884
880
  };
885
- export const deserializeAws_restJson1GetMediaInsightsPipelineConfigurationCommand = async (output, context) => {
881
+ export const de_GetMediaInsightsPipelineConfigurationCommand = async (output, context) => {
886
882
  if (output.statusCode !== 200 && output.statusCode >= 300) {
887
- return deserializeAws_restJson1GetMediaInsightsPipelineConfigurationCommandError(output, context);
883
+ return de_GetMediaInsightsPipelineConfigurationCommandError(output, context);
888
884
  }
889
885
  const contents = map({
890
886
  $metadata: deserializeMetadata(output),
891
887
  });
892
888
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
893
889
  if (data.MediaInsightsPipelineConfiguration != null) {
894
- contents.MediaInsightsPipelineConfiguration = deserializeAws_restJson1MediaInsightsPipelineConfiguration(data.MediaInsightsPipelineConfiguration, context);
890
+ contents.MediaInsightsPipelineConfiguration = de_MediaInsightsPipelineConfiguration(data.MediaInsightsPipelineConfiguration, context);
895
891
  }
896
892
  return contents;
897
893
  };
898
- const deserializeAws_restJson1GetMediaInsightsPipelineConfigurationCommandError = async (output, context) => {
894
+ const de_GetMediaInsightsPipelineConfigurationCommandError = async (output, context) => {
899
895
  const parsedOutput = {
900
896
  ...output,
901
897
  body: await parseErrorBody(output.body, context),
@@ -904,25 +900,25 @@ const deserializeAws_restJson1GetMediaInsightsPipelineConfigurationCommandError
904
900
  switch (errorCode) {
905
901
  case "BadRequestException":
906
902
  case "com.amazonaws.chimesdkmediapipelines#BadRequestException":
907
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
903
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
908
904
  case "ForbiddenException":
909
905
  case "com.amazonaws.chimesdkmediapipelines#ForbiddenException":
910
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
906
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
911
907
  case "NotFoundException":
912
908
  case "com.amazonaws.chimesdkmediapipelines#NotFoundException":
913
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
909
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
914
910
  case "ServiceFailureException":
915
911
  case "com.amazonaws.chimesdkmediapipelines#ServiceFailureException":
916
- throw await deserializeAws_restJson1ServiceFailureExceptionResponse(parsedOutput, context);
912
+ throw await de_ServiceFailureExceptionRes(parsedOutput, context);
917
913
  case "ServiceUnavailableException":
918
914
  case "com.amazonaws.chimesdkmediapipelines#ServiceUnavailableException":
919
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
915
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
920
916
  case "ThrottledClientException":
921
917
  case "com.amazonaws.chimesdkmediapipelines#ThrottledClientException":
922
- throw await deserializeAws_restJson1ThrottledClientExceptionResponse(parsedOutput, context);
918
+ throw await de_ThrottledClientExceptionRes(parsedOutput, context);
923
919
  case "UnauthorizedClientException":
924
920
  case "com.amazonaws.chimesdkmediapipelines#UnauthorizedClientException":
925
- throw await deserializeAws_restJson1UnauthorizedClientExceptionResponse(parsedOutput, context);
921
+ throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
926
922
  default:
927
923
  const parsedBody = parsedOutput.body;
928
924
  throwDefaultError({
@@ -933,20 +929,20 @@ const deserializeAws_restJson1GetMediaInsightsPipelineConfigurationCommandError
933
929
  });
934
930
  }
935
931
  };
936
- export const deserializeAws_restJson1GetMediaPipelineCommand = async (output, context) => {
932
+ export const de_GetMediaPipelineCommand = async (output, context) => {
937
933
  if (output.statusCode !== 200 && output.statusCode >= 300) {
938
- return deserializeAws_restJson1GetMediaPipelineCommandError(output, context);
934
+ return de_GetMediaPipelineCommandError(output, context);
939
935
  }
940
936
  const contents = map({
941
937
  $metadata: deserializeMetadata(output),
942
938
  });
943
939
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
944
940
  if (data.MediaPipeline != null) {
945
- contents.MediaPipeline = deserializeAws_restJson1MediaPipeline(data.MediaPipeline, context);
941
+ contents.MediaPipeline = de_MediaPipeline(data.MediaPipeline, context);
946
942
  }
947
943
  return contents;
948
944
  };
949
- const deserializeAws_restJson1GetMediaPipelineCommandError = async (output, context) => {
945
+ const de_GetMediaPipelineCommandError = async (output, context) => {
950
946
  const parsedOutput = {
951
947
  ...output,
952
948
  body: await parseErrorBody(output.body, context),
@@ -955,25 +951,25 @@ const deserializeAws_restJson1GetMediaPipelineCommandError = async (output, cont
955
951
  switch (errorCode) {
956
952
  case "BadRequestException":
957
953
  case "com.amazonaws.chimesdkmediapipelines#BadRequestException":
958
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
954
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
959
955
  case "ForbiddenException":
960
956
  case "com.amazonaws.chimesdkmediapipelines#ForbiddenException":
961
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
957
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
962
958
  case "NotFoundException":
963
959
  case "com.amazonaws.chimesdkmediapipelines#NotFoundException":
964
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
960
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
965
961
  case "ServiceFailureException":
966
962
  case "com.amazonaws.chimesdkmediapipelines#ServiceFailureException":
967
- throw await deserializeAws_restJson1ServiceFailureExceptionResponse(parsedOutput, context);
963
+ throw await de_ServiceFailureExceptionRes(parsedOutput, context);
968
964
  case "ServiceUnavailableException":
969
965
  case "com.amazonaws.chimesdkmediapipelines#ServiceUnavailableException":
970
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
966
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
971
967
  case "ThrottledClientException":
972
968
  case "com.amazonaws.chimesdkmediapipelines#ThrottledClientException":
973
- throw await deserializeAws_restJson1ThrottledClientExceptionResponse(parsedOutput, context);
969
+ throw await de_ThrottledClientExceptionRes(parsedOutput, context);
974
970
  case "UnauthorizedClientException":
975
971
  case "com.amazonaws.chimesdkmediapipelines#UnauthorizedClientException":
976
- throw await deserializeAws_restJson1UnauthorizedClientExceptionResponse(parsedOutput, context);
972
+ throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
977
973
  default:
978
974
  const parsedBody = parsedOutput.body;
979
975
  throwDefaultError({
@@ -984,23 +980,23 @@ const deserializeAws_restJson1GetMediaPipelineCommandError = async (output, cont
984
980
  });
985
981
  }
986
982
  };
987
- export const deserializeAws_restJson1ListMediaCapturePipelinesCommand = async (output, context) => {
983
+ export const de_ListMediaCapturePipelinesCommand = async (output, context) => {
988
984
  if (output.statusCode !== 200 && output.statusCode >= 300) {
989
- return deserializeAws_restJson1ListMediaCapturePipelinesCommandError(output, context);
985
+ return de_ListMediaCapturePipelinesCommandError(output, context);
990
986
  }
991
987
  const contents = map({
992
988
  $metadata: deserializeMetadata(output),
993
989
  });
994
990
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
995
991
  if (data.MediaCapturePipelines != null) {
996
- contents.MediaCapturePipelines = deserializeAws_restJson1MediaCapturePipelineSummaryList(data.MediaCapturePipelines, context);
992
+ contents.MediaCapturePipelines = de_MediaCapturePipelineSummaryList(data.MediaCapturePipelines, context);
997
993
  }
998
994
  if (data.NextToken != null) {
999
995
  contents.NextToken = __expectString(data.NextToken);
1000
996
  }
1001
997
  return contents;
1002
998
  };
1003
- const deserializeAws_restJson1ListMediaCapturePipelinesCommandError = async (output, context) => {
999
+ const de_ListMediaCapturePipelinesCommandError = async (output, context) => {
1004
1000
  const parsedOutput = {
1005
1001
  ...output,
1006
1002
  body: await parseErrorBody(output.body, context),
@@ -1009,25 +1005,25 @@ const deserializeAws_restJson1ListMediaCapturePipelinesCommandError = async (out
1009
1005
  switch (errorCode) {
1010
1006
  case "BadRequestException":
1011
1007
  case "com.amazonaws.chimesdkmediapipelines#BadRequestException":
1012
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
1008
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1013
1009
  case "ForbiddenException":
1014
1010
  case "com.amazonaws.chimesdkmediapipelines#ForbiddenException":
1015
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
1011
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
1016
1012
  case "ResourceLimitExceededException":
1017
1013
  case "com.amazonaws.chimesdkmediapipelines#ResourceLimitExceededException":
1018
- throw await deserializeAws_restJson1ResourceLimitExceededExceptionResponse(parsedOutput, context);
1014
+ throw await de_ResourceLimitExceededExceptionRes(parsedOutput, context);
1019
1015
  case "ServiceFailureException":
1020
1016
  case "com.amazonaws.chimesdkmediapipelines#ServiceFailureException":
1021
- throw await deserializeAws_restJson1ServiceFailureExceptionResponse(parsedOutput, context);
1017
+ throw await de_ServiceFailureExceptionRes(parsedOutput, context);
1022
1018
  case "ServiceUnavailableException":
1023
1019
  case "com.amazonaws.chimesdkmediapipelines#ServiceUnavailableException":
1024
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
1020
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
1025
1021
  case "ThrottledClientException":
1026
1022
  case "com.amazonaws.chimesdkmediapipelines#ThrottledClientException":
1027
- throw await deserializeAws_restJson1ThrottledClientExceptionResponse(parsedOutput, context);
1023
+ throw await de_ThrottledClientExceptionRes(parsedOutput, context);
1028
1024
  case "UnauthorizedClientException":
1029
1025
  case "com.amazonaws.chimesdkmediapipelines#UnauthorizedClientException":
1030
- throw await deserializeAws_restJson1UnauthorizedClientExceptionResponse(parsedOutput, context);
1026
+ throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
1031
1027
  default:
1032
1028
  const parsedBody = parsedOutput.body;
1033
1029
  throwDefaultError({
@@ -1038,24 +1034,23 @@ const deserializeAws_restJson1ListMediaCapturePipelinesCommandError = async (out
1038
1034
  });
1039
1035
  }
1040
1036
  };
1041
- export const deserializeAws_restJson1ListMediaInsightsPipelineConfigurationsCommand = async (output, context) => {
1037
+ export const de_ListMediaInsightsPipelineConfigurationsCommand = async (output, context) => {
1042
1038
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1043
- return deserializeAws_restJson1ListMediaInsightsPipelineConfigurationsCommandError(output, context);
1039
+ return de_ListMediaInsightsPipelineConfigurationsCommandError(output, context);
1044
1040
  }
1045
1041
  const contents = map({
1046
1042
  $metadata: deserializeMetadata(output),
1047
1043
  });
1048
1044
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1049
1045
  if (data.MediaInsightsPipelineConfigurations != null) {
1050
- contents.MediaInsightsPipelineConfigurations =
1051
- deserializeAws_restJson1MediaInsightsPipelineConfigurationSummaryList(data.MediaInsightsPipelineConfigurations, context);
1046
+ contents.MediaInsightsPipelineConfigurations = de_MediaInsightsPipelineConfigurationSummaryList(data.MediaInsightsPipelineConfigurations, context);
1052
1047
  }
1053
1048
  if (data.NextToken != null) {
1054
1049
  contents.NextToken = __expectString(data.NextToken);
1055
1050
  }
1056
1051
  return contents;
1057
1052
  };
1058
- const deserializeAws_restJson1ListMediaInsightsPipelineConfigurationsCommandError = async (output, context) => {
1053
+ const de_ListMediaInsightsPipelineConfigurationsCommandError = async (output, context) => {
1059
1054
  const parsedOutput = {
1060
1055
  ...output,
1061
1056
  body: await parseErrorBody(output.body, context),
@@ -1064,25 +1059,25 @@ const deserializeAws_restJson1ListMediaInsightsPipelineConfigurationsCommandErro
1064
1059
  switch (errorCode) {
1065
1060
  case "BadRequestException":
1066
1061
  case "com.amazonaws.chimesdkmediapipelines#BadRequestException":
1067
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
1062
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1068
1063
  case "ForbiddenException":
1069
1064
  case "com.amazonaws.chimesdkmediapipelines#ForbiddenException":
1070
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
1065
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
1071
1066
  case "ResourceLimitExceededException":
1072
1067
  case "com.amazonaws.chimesdkmediapipelines#ResourceLimitExceededException":
1073
- throw await deserializeAws_restJson1ResourceLimitExceededExceptionResponse(parsedOutput, context);
1068
+ throw await de_ResourceLimitExceededExceptionRes(parsedOutput, context);
1074
1069
  case "ServiceFailureException":
1075
1070
  case "com.amazonaws.chimesdkmediapipelines#ServiceFailureException":
1076
- throw await deserializeAws_restJson1ServiceFailureExceptionResponse(parsedOutput, context);
1071
+ throw await de_ServiceFailureExceptionRes(parsedOutput, context);
1077
1072
  case "ServiceUnavailableException":
1078
1073
  case "com.amazonaws.chimesdkmediapipelines#ServiceUnavailableException":
1079
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
1074
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
1080
1075
  case "ThrottledClientException":
1081
1076
  case "com.amazonaws.chimesdkmediapipelines#ThrottledClientException":
1082
- throw await deserializeAws_restJson1ThrottledClientExceptionResponse(parsedOutput, context);
1077
+ throw await de_ThrottledClientExceptionRes(parsedOutput, context);
1083
1078
  case "UnauthorizedClientException":
1084
1079
  case "com.amazonaws.chimesdkmediapipelines#UnauthorizedClientException":
1085
- throw await deserializeAws_restJson1UnauthorizedClientExceptionResponse(parsedOutput, context);
1080
+ throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
1086
1081
  default:
1087
1082
  const parsedBody = parsedOutput.body;
1088
1083
  throwDefaultError({
@@ -1093,23 +1088,23 @@ const deserializeAws_restJson1ListMediaInsightsPipelineConfigurationsCommandErro
1093
1088
  });
1094
1089
  }
1095
1090
  };
1096
- export const deserializeAws_restJson1ListMediaPipelinesCommand = async (output, context) => {
1091
+ export const de_ListMediaPipelinesCommand = async (output, context) => {
1097
1092
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1098
- return deserializeAws_restJson1ListMediaPipelinesCommandError(output, context);
1093
+ return de_ListMediaPipelinesCommandError(output, context);
1099
1094
  }
1100
1095
  const contents = map({
1101
1096
  $metadata: deserializeMetadata(output),
1102
1097
  });
1103
1098
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1104
1099
  if (data.MediaPipelines != null) {
1105
- contents.MediaPipelines = deserializeAws_restJson1MediaPipelineList(data.MediaPipelines, context);
1100
+ contents.MediaPipelines = de_MediaPipelineList(data.MediaPipelines, context);
1106
1101
  }
1107
1102
  if (data.NextToken != null) {
1108
1103
  contents.NextToken = __expectString(data.NextToken);
1109
1104
  }
1110
1105
  return contents;
1111
1106
  };
1112
- const deserializeAws_restJson1ListMediaPipelinesCommandError = async (output, context) => {
1107
+ const de_ListMediaPipelinesCommandError = async (output, context) => {
1113
1108
  const parsedOutput = {
1114
1109
  ...output,
1115
1110
  body: await parseErrorBody(output.body, context),
@@ -1118,25 +1113,25 @@ const deserializeAws_restJson1ListMediaPipelinesCommandError = async (output, co
1118
1113
  switch (errorCode) {
1119
1114
  case "BadRequestException":
1120
1115
  case "com.amazonaws.chimesdkmediapipelines#BadRequestException":
1121
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
1116
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1122
1117
  case "ForbiddenException":
1123
1118
  case "com.amazonaws.chimesdkmediapipelines#ForbiddenException":
1124
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
1119
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
1125
1120
  case "ResourceLimitExceededException":
1126
1121
  case "com.amazonaws.chimesdkmediapipelines#ResourceLimitExceededException":
1127
- throw await deserializeAws_restJson1ResourceLimitExceededExceptionResponse(parsedOutput, context);
1122
+ throw await de_ResourceLimitExceededExceptionRes(parsedOutput, context);
1128
1123
  case "ServiceFailureException":
1129
1124
  case "com.amazonaws.chimesdkmediapipelines#ServiceFailureException":
1130
- throw await deserializeAws_restJson1ServiceFailureExceptionResponse(parsedOutput, context);
1125
+ throw await de_ServiceFailureExceptionRes(parsedOutput, context);
1131
1126
  case "ServiceUnavailableException":
1132
1127
  case "com.amazonaws.chimesdkmediapipelines#ServiceUnavailableException":
1133
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
1128
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
1134
1129
  case "ThrottledClientException":
1135
1130
  case "com.amazonaws.chimesdkmediapipelines#ThrottledClientException":
1136
- throw await deserializeAws_restJson1ThrottledClientExceptionResponse(parsedOutput, context);
1131
+ throw await de_ThrottledClientExceptionRes(parsedOutput, context);
1137
1132
  case "UnauthorizedClientException":
1138
1133
  case "com.amazonaws.chimesdkmediapipelines#UnauthorizedClientException":
1139
- throw await deserializeAws_restJson1UnauthorizedClientExceptionResponse(parsedOutput, context);
1134
+ throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
1140
1135
  default:
1141
1136
  const parsedBody = parsedOutput.body;
1142
1137
  throwDefaultError({
@@ -1147,20 +1142,20 @@ const deserializeAws_restJson1ListMediaPipelinesCommandError = async (output, co
1147
1142
  });
1148
1143
  }
1149
1144
  };
1150
- export const deserializeAws_restJson1ListTagsForResourceCommand = async (output, context) => {
1145
+ export const de_ListTagsForResourceCommand = async (output, context) => {
1151
1146
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1152
- return deserializeAws_restJson1ListTagsForResourceCommandError(output, context);
1147
+ return de_ListTagsForResourceCommandError(output, context);
1153
1148
  }
1154
1149
  const contents = map({
1155
1150
  $metadata: deserializeMetadata(output),
1156
1151
  });
1157
1152
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1158
1153
  if (data.Tags != null) {
1159
- contents.Tags = deserializeAws_restJson1TagList(data.Tags, context);
1154
+ contents.Tags = de_TagList(data.Tags, context);
1160
1155
  }
1161
1156
  return contents;
1162
1157
  };
1163
- const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, context) => {
1158
+ const de_ListTagsForResourceCommandError = async (output, context) => {
1164
1159
  const parsedOutput = {
1165
1160
  ...output,
1166
1161
  body: await parseErrorBody(output.body, context),
@@ -1169,25 +1164,25 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
1169
1164
  switch (errorCode) {
1170
1165
  case "BadRequestException":
1171
1166
  case "com.amazonaws.chimesdkmediapipelines#BadRequestException":
1172
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
1167
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1173
1168
  case "ForbiddenException":
1174
1169
  case "com.amazonaws.chimesdkmediapipelines#ForbiddenException":
1175
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
1170
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
1176
1171
  case "NotFoundException":
1177
1172
  case "com.amazonaws.chimesdkmediapipelines#NotFoundException":
1178
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
1173
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
1179
1174
  case "ServiceFailureException":
1180
1175
  case "com.amazonaws.chimesdkmediapipelines#ServiceFailureException":
1181
- throw await deserializeAws_restJson1ServiceFailureExceptionResponse(parsedOutput, context);
1176
+ throw await de_ServiceFailureExceptionRes(parsedOutput, context);
1182
1177
  case "ServiceUnavailableException":
1183
1178
  case "com.amazonaws.chimesdkmediapipelines#ServiceUnavailableException":
1184
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
1179
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
1185
1180
  case "ThrottledClientException":
1186
1181
  case "com.amazonaws.chimesdkmediapipelines#ThrottledClientException":
1187
- throw await deserializeAws_restJson1ThrottledClientExceptionResponse(parsedOutput, context);
1182
+ throw await de_ThrottledClientExceptionRes(parsedOutput, context);
1188
1183
  case "UnauthorizedClientException":
1189
1184
  case "com.amazonaws.chimesdkmediapipelines#UnauthorizedClientException":
1190
- throw await deserializeAws_restJson1UnauthorizedClientExceptionResponse(parsedOutput, context);
1185
+ throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
1191
1186
  default:
1192
1187
  const parsedBody = parsedOutput.body;
1193
1188
  throwDefaultError({
@@ -1198,9 +1193,9 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
1198
1193
  });
1199
1194
  }
1200
1195
  };
1201
- export const deserializeAws_restJson1TagResourceCommand = async (output, context) => {
1196
+ export const de_TagResourceCommand = async (output, context) => {
1202
1197
  if (output.statusCode !== 204 && output.statusCode >= 300) {
1203
- return deserializeAws_restJson1TagResourceCommandError(output, context);
1198
+ return de_TagResourceCommandError(output, context);
1204
1199
  }
1205
1200
  const contents = map({
1206
1201
  $metadata: deserializeMetadata(output),
@@ -1208,7 +1203,7 @@ export const deserializeAws_restJson1TagResourceCommand = async (output, context
1208
1203
  await collectBody(output.body, context);
1209
1204
  return contents;
1210
1205
  };
1211
- const deserializeAws_restJson1TagResourceCommandError = async (output, context) => {
1206
+ const de_TagResourceCommandError = async (output, context) => {
1212
1207
  const parsedOutput = {
1213
1208
  ...output,
1214
1209
  body: await parseErrorBody(output.body, context),
@@ -1217,25 +1212,25 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
1217
1212
  switch (errorCode) {
1218
1213
  case "BadRequestException":
1219
1214
  case "com.amazonaws.chimesdkmediapipelines#BadRequestException":
1220
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
1215
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1221
1216
  case "ForbiddenException":
1222
1217
  case "com.amazonaws.chimesdkmediapipelines#ForbiddenException":
1223
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
1218
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
1224
1219
  case "NotFoundException":
1225
1220
  case "com.amazonaws.chimesdkmediapipelines#NotFoundException":
1226
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
1221
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
1227
1222
  case "ServiceFailureException":
1228
1223
  case "com.amazonaws.chimesdkmediapipelines#ServiceFailureException":
1229
- throw await deserializeAws_restJson1ServiceFailureExceptionResponse(parsedOutput, context);
1224
+ throw await de_ServiceFailureExceptionRes(parsedOutput, context);
1230
1225
  case "ServiceUnavailableException":
1231
1226
  case "com.amazonaws.chimesdkmediapipelines#ServiceUnavailableException":
1232
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
1227
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
1233
1228
  case "ThrottledClientException":
1234
1229
  case "com.amazonaws.chimesdkmediapipelines#ThrottledClientException":
1235
- throw await deserializeAws_restJson1ThrottledClientExceptionResponse(parsedOutput, context);
1230
+ throw await de_ThrottledClientExceptionRes(parsedOutput, context);
1236
1231
  case "UnauthorizedClientException":
1237
1232
  case "com.amazonaws.chimesdkmediapipelines#UnauthorizedClientException":
1238
- throw await deserializeAws_restJson1UnauthorizedClientExceptionResponse(parsedOutput, context);
1233
+ throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
1239
1234
  default:
1240
1235
  const parsedBody = parsedOutput.body;
1241
1236
  throwDefaultError({
@@ -1246,9 +1241,9 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
1246
1241
  });
1247
1242
  }
1248
1243
  };
1249
- export const deserializeAws_restJson1UntagResourceCommand = async (output, context) => {
1244
+ export const de_UntagResourceCommand = async (output, context) => {
1250
1245
  if (output.statusCode !== 204 && output.statusCode >= 300) {
1251
- return deserializeAws_restJson1UntagResourceCommandError(output, context);
1246
+ return de_UntagResourceCommandError(output, context);
1252
1247
  }
1253
1248
  const contents = map({
1254
1249
  $metadata: deserializeMetadata(output),
@@ -1256,7 +1251,7 @@ export const deserializeAws_restJson1UntagResourceCommand = async (output, conte
1256
1251
  await collectBody(output.body, context);
1257
1252
  return contents;
1258
1253
  };
1259
- const deserializeAws_restJson1UntagResourceCommandError = async (output, context) => {
1254
+ const de_UntagResourceCommandError = async (output, context) => {
1260
1255
  const parsedOutput = {
1261
1256
  ...output,
1262
1257
  body: await parseErrorBody(output.body, context),
@@ -1265,25 +1260,25 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
1265
1260
  switch (errorCode) {
1266
1261
  case "BadRequestException":
1267
1262
  case "com.amazonaws.chimesdkmediapipelines#BadRequestException":
1268
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
1263
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1269
1264
  case "ForbiddenException":
1270
1265
  case "com.amazonaws.chimesdkmediapipelines#ForbiddenException":
1271
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
1266
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
1272
1267
  case "NotFoundException":
1273
1268
  case "com.amazonaws.chimesdkmediapipelines#NotFoundException":
1274
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
1269
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
1275
1270
  case "ServiceFailureException":
1276
1271
  case "com.amazonaws.chimesdkmediapipelines#ServiceFailureException":
1277
- throw await deserializeAws_restJson1ServiceFailureExceptionResponse(parsedOutput, context);
1272
+ throw await de_ServiceFailureExceptionRes(parsedOutput, context);
1278
1273
  case "ServiceUnavailableException":
1279
1274
  case "com.amazonaws.chimesdkmediapipelines#ServiceUnavailableException":
1280
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
1275
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
1281
1276
  case "ThrottledClientException":
1282
1277
  case "com.amazonaws.chimesdkmediapipelines#ThrottledClientException":
1283
- throw await deserializeAws_restJson1ThrottledClientExceptionResponse(parsedOutput, context);
1278
+ throw await de_ThrottledClientExceptionRes(parsedOutput, context);
1284
1279
  case "UnauthorizedClientException":
1285
1280
  case "com.amazonaws.chimesdkmediapipelines#UnauthorizedClientException":
1286
- throw await deserializeAws_restJson1UnauthorizedClientExceptionResponse(parsedOutput, context);
1281
+ throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
1287
1282
  default:
1288
1283
  const parsedBody = parsedOutput.body;
1289
1284
  throwDefaultError({
@@ -1294,20 +1289,20 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
1294
1289
  });
1295
1290
  }
1296
1291
  };
1297
- export const deserializeAws_restJson1UpdateMediaInsightsPipelineConfigurationCommand = async (output, context) => {
1292
+ export const de_UpdateMediaInsightsPipelineConfigurationCommand = async (output, context) => {
1298
1293
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1299
- return deserializeAws_restJson1UpdateMediaInsightsPipelineConfigurationCommandError(output, context);
1294
+ return de_UpdateMediaInsightsPipelineConfigurationCommandError(output, context);
1300
1295
  }
1301
1296
  const contents = map({
1302
1297
  $metadata: deserializeMetadata(output),
1303
1298
  });
1304
1299
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1305
1300
  if (data.MediaInsightsPipelineConfiguration != null) {
1306
- contents.MediaInsightsPipelineConfiguration = deserializeAws_restJson1MediaInsightsPipelineConfiguration(data.MediaInsightsPipelineConfiguration, context);
1301
+ contents.MediaInsightsPipelineConfiguration = de_MediaInsightsPipelineConfiguration(data.MediaInsightsPipelineConfiguration, context);
1307
1302
  }
1308
1303
  return contents;
1309
1304
  };
1310
- const deserializeAws_restJson1UpdateMediaInsightsPipelineConfigurationCommandError = async (output, context) => {
1305
+ const de_UpdateMediaInsightsPipelineConfigurationCommandError = async (output, context) => {
1311
1306
  const parsedOutput = {
1312
1307
  ...output,
1313
1308
  body: await parseErrorBody(output.body, context),
@@ -1316,28 +1311,28 @@ const deserializeAws_restJson1UpdateMediaInsightsPipelineConfigurationCommandErr
1316
1311
  switch (errorCode) {
1317
1312
  case "BadRequestException":
1318
1313
  case "com.amazonaws.chimesdkmediapipelines#BadRequestException":
1319
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
1314
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1320
1315
  case "ConflictException":
1321
1316
  case "com.amazonaws.chimesdkmediapipelines#ConflictException":
1322
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1317
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1323
1318
  case "ForbiddenException":
1324
1319
  case "com.amazonaws.chimesdkmediapipelines#ForbiddenException":
1325
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
1320
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
1326
1321
  case "NotFoundException":
1327
1322
  case "com.amazonaws.chimesdkmediapipelines#NotFoundException":
1328
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
1323
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
1329
1324
  case "ServiceFailureException":
1330
1325
  case "com.amazonaws.chimesdkmediapipelines#ServiceFailureException":
1331
- throw await deserializeAws_restJson1ServiceFailureExceptionResponse(parsedOutput, context);
1326
+ throw await de_ServiceFailureExceptionRes(parsedOutput, context);
1332
1327
  case "ServiceUnavailableException":
1333
1328
  case "com.amazonaws.chimesdkmediapipelines#ServiceUnavailableException":
1334
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
1329
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
1335
1330
  case "ThrottledClientException":
1336
1331
  case "com.amazonaws.chimesdkmediapipelines#ThrottledClientException":
1337
- throw await deserializeAws_restJson1ThrottledClientExceptionResponse(parsedOutput, context);
1332
+ throw await de_ThrottledClientExceptionRes(parsedOutput, context);
1338
1333
  case "UnauthorizedClientException":
1339
1334
  case "com.amazonaws.chimesdkmediapipelines#UnauthorizedClientException":
1340
- throw await deserializeAws_restJson1UnauthorizedClientExceptionResponse(parsedOutput, context);
1335
+ throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
1341
1336
  default:
1342
1337
  const parsedBody = parsedOutput.body;
1343
1338
  throwDefaultError({
@@ -1348,9 +1343,9 @@ const deserializeAws_restJson1UpdateMediaInsightsPipelineConfigurationCommandErr
1348
1343
  });
1349
1344
  }
1350
1345
  };
1351
- export const deserializeAws_restJson1UpdateMediaInsightsPipelineStatusCommand = async (output, context) => {
1346
+ export const de_UpdateMediaInsightsPipelineStatusCommand = async (output, context) => {
1352
1347
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1353
- return deserializeAws_restJson1UpdateMediaInsightsPipelineStatusCommandError(output, context);
1348
+ return de_UpdateMediaInsightsPipelineStatusCommandError(output, context);
1354
1349
  }
1355
1350
  const contents = map({
1356
1351
  $metadata: deserializeMetadata(output),
@@ -1358,7 +1353,7 @@ export const deserializeAws_restJson1UpdateMediaInsightsPipelineStatusCommand =
1358
1353
  await collectBody(output.body, context);
1359
1354
  return contents;
1360
1355
  };
1361
- const deserializeAws_restJson1UpdateMediaInsightsPipelineStatusCommandError = async (output, context) => {
1356
+ const de_UpdateMediaInsightsPipelineStatusCommandError = async (output, context) => {
1362
1357
  const parsedOutput = {
1363
1358
  ...output,
1364
1359
  body: await parseErrorBody(output.body, context),
@@ -1367,28 +1362,28 @@ const deserializeAws_restJson1UpdateMediaInsightsPipelineStatusCommandError = as
1367
1362
  switch (errorCode) {
1368
1363
  case "BadRequestException":
1369
1364
  case "com.amazonaws.chimesdkmediapipelines#BadRequestException":
1370
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
1365
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1371
1366
  case "ConflictException":
1372
1367
  case "com.amazonaws.chimesdkmediapipelines#ConflictException":
1373
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1368
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1374
1369
  case "ForbiddenException":
1375
1370
  case "com.amazonaws.chimesdkmediapipelines#ForbiddenException":
1376
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
1371
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
1377
1372
  case "NotFoundException":
1378
1373
  case "com.amazonaws.chimesdkmediapipelines#NotFoundException":
1379
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
1374
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
1380
1375
  case "ServiceFailureException":
1381
1376
  case "com.amazonaws.chimesdkmediapipelines#ServiceFailureException":
1382
- throw await deserializeAws_restJson1ServiceFailureExceptionResponse(parsedOutput, context);
1377
+ throw await de_ServiceFailureExceptionRes(parsedOutput, context);
1383
1378
  case "ServiceUnavailableException":
1384
1379
  case "com.amazonaws.chimesdkmediapipelines#ServiceUnavailableException":
1385
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
1380
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
1386
1381
  case "ThrottledClientException":
1387
1382
  case "com.amazonaws.chimesdkmediapipelines#ThrottledClientException":
1388
- throw await deserializeAws_restJson1ThrottledClientExceptionResponse(parsedOutput, context);
1383
+ throw await de_ThrottledClientExceptionRes(parsedOutput, context);
1389
1384
  case "UnauthorizedClientException":
1390
1385
  case "com.amazonaws.chimesdkmediapipelines#UnauthorizedClientException":
1391
- throw await deserializeAws_restJson1UnauthorizedClientExceptionResponse(parsedOutput, context);
1386
+ throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
1392
1387
  default:
1393
1388
  const parsedBody = parsedOutput.body;
1394
1389
  throwDefaultError({
@@ -1400,7 +1395,7 @@ const deserializeAws_restJson1UpdateMediaInsightsPipelineStatusCommandError = as
1400
1395
  }
1401
1396
  };
1402
1397
  const map = __map;
1403
- const deserializeAws_restJson1BadRequestExceptionResponse = async (parsedOutput, context) => {
1398
+ const de_BadRequestExceptionRes = async (parsedOutput, context) => {
1404
1399
  const contents = map({});
1405
1400
  const data = parsedOutput.body;
1406
1401
  if (data.Code != null) {
@@ -1418,7 +1413,7 @@ const deserializeAws_restJson1BadRequestExceptionResponse = async (parsedOutput,
1418
1413
  });
1419
1414
  return __decorateServiceException(exception, parsedOutput.body);
1420
1415
  };
1421
- const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, context) => {
1416
+ const de_ConflictExceptionRes = async (parsedOutput, context) => {
1422
1417
  const contents = map({});
1423
1418
  const data = parsedOutput.body;
1424
1419
  if (data.Code != null) {
@@ -1436,7 +1431,7 @@ const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, c
1436
1431
  });
1437
1432
  return __decorateServiceException(exception, parsedOutput.body);
1438
1433
  };
1439
- const deserializeAws_restJson1ForbiddenExceptionResponse = async (parsedOutput, context) => {
1434
+ const de_ForbiddenExceptionRes = async (parsedOutput, context) => {
1440
1435
  const contents = map({});
1441
1436
  const data = parsedOutput.body;
1442
1437
  if (data.Code != null) {
@@ -1454,7 +1449,7 @@ const deserializeAws_restJson1ForbiddenExceptionResponse = async (parsedOutput,
1454
1449
  });
1455
1450
  return __decorateServiceException(exception, parsedOutput.body);
1456
1451
  };
1457
- const deserializeAws_restJson1NotFoundExceptionResponse = async (parsedOutput, context) => {
1452
+ const de_NotFoundExceptionRes = async (parsedOutput, context) => {
1458
1453
  const contents = map({});
1459
1454
  const data = parsedOutput.body;
1460
1455
  if (data.Code != null) {
@@ -1472,7 +1467,7 @@ const deserializeAws_restJson1NotFoundExceptionResponse = async (parsedOutput, c
1472
1467
  });
1473
1468
  return __decorateServiceException(exception, parsedOutput.body);
1474
1469
  };
1475
- const deserializeAws_restJson1ResourceLimitExceededExceptionResponse = async (parsedOutput, context) => {
1470
+ const de_ResourceLimitExceededExceptionRes = async (parsedOutput, context) => {
1476
1471
  const contents = map({});
1477
1472
  const data = parsedOutput.body;
1478
1473
  if (data.Code != null) {
@@ -1490,7 +1485,7 @@ const deserializeAws_restJson1ResourceLimitExceededExceptionResponse = async (pa
1490
1485
  });
1491
1486
  return __decorateServiceException(exception, parsedOutput.body);
1492
1487
  };
1493
- const deserializeAws_restJson1ServiceFailureExceptionResponse = async (parsedOutput, context) => {
1488
+ const de_ServiceFailureExceptionRes = async (parsedOutput, context) => {
1494
1489
  const contents = map({});
1495
1490
  const data = parsedOutput.body;
1496
1491
  if (data.Code != null) {
@@ -1508,7 +1503,7 @@ const deserializeAws_restJson1ServiceFailureExceptionResponse = async (parsedOut
1508
1503
  });
1509
1504
  return __decorateServiceException(exception, parsedOutput.body);
1510
1505
  };
1511
- const deserializeAws_restJson1ServiceUnavailableExceptionResponse = async (parsedOutput, context) => {
1506
+ const de_ServiceUnavailableExceptionRes = async (parsedOutput, context) => {
1512
1507
  const contents = map({});
1513
1508
  const data = parsedOutput.body;
1514
1509
  if (data.Code != null) {
@@ -1526,7 +1521,7 @@ const deserializeAws_restJson1ServiceUnavailableExceptionResponse = async (parse
1526
1521
  });
1527
1522
  return __decorateServiceException(exception, parsedOutput.body);
1528
1523
  };
1529
- const deserializeAws_restJson1ThrottledClientExceptionResponse = async (parsedOutput, context) => {
1524
+ const de_ThrottledClientExceptionRes = async (parsedOutput, context) => {
1530
1525
  const contents = map({});
1531
1526
  const data = parsedOutput.body;
1532
1527
  if (data.Code != null) {
@@ -1544,7 +1539,7 @@ const deserializeAws_restJson1ThrottledClientExceptionResponse = async (parsedOu
1544
1539
  });
1545
1540
  return __decorateServiceException(exception, parsedOutput.body);
1546
1541
  };
1547
- const deserializeAws_restJson1UnauthorizedClientExceptionResponse = async (parsedOutput, context) => {
1542
+ const de_UnauthorizedClientExceptionRes = async (parsedOutput, context) => {
1548
1543
  const contents = map({});
1549
1544
  const data = parsedOutput.body;
1550
1545
  if (data.Code != null) {
@@ -1562,10 +1557,10 @@ const deserializeAws_restJson1UnauthorizedClientExceptionResponse = async (parse
1562
1557
  });
1563
1558
  return __decorateServiceException(exception, parsedOutput.body);
1564
1559
  };
1565
- const serializeAws_restJson1AmazonTranscribeCallAnalyticsProcessorConfiguration = (input, context) => {
1560
+ const se_AmazonTranscribeCallAnalyticsProcessorConfiguration = (input, context) => {
1566
1561
  return {
1567
1562
  ...(input.CallAnalyticsStreamCategories != null && {
1568
- CallAnalyticsStreamCategories: serializeAws_restJson1CategoryNameList(input.CallAnalyticsStreamCategories, context),
1563
+ CallAnalyticsStreamCategories: se_CategoryNameList(input.CallAnalyticsStreamCategories, context),
1569
1564
  }),
1570
1565
  ...(input.ContentIdentificationType != null && { ContentIdentificationType: input.ContentIdentificationType }),
1571
1566
  ...(input.ContentRedactionType != null && { ContentRedactionType: input.ContentRedactionType }),
@@ -1578,14 +1573,14 @@ const serializeAws_restJson1AmazonTranscribeCallAnalyticsProcessorConfiguration
1578
1573
  ...(input.PartialResultsStability != null && { PartialResultsStability: input.PartialResultsStability }),
1579
1574
  ...(input.PiiEntityTypes != null && { PiiEntityTypes: input.PiiEntityTypes }),
1580
1575
  ...(input.PostCallAnalyticsSettings != null && {
1581
- PostCallAnalyticsSettings: serializeAws_restJson1PostCallAnalyticsSettings(input.PostCallAnalyticsSettings, context),
1576
+ PostCallAnalyticsSettings: se_PostCallAnalyticsSettings(input.PostCallAnalyticsSettings, context),
1582
1577
  }),
1583
1578
  ...(input.VocabularyFilterMethod != null && { VocabularyFilterMethod: input.VocabularyFilterMethod }),
1584
1579
  ...(input.VocabularyFilterName != null && { VocabularyFilterName: input.VocabularyFilterName }),
1585
1580
  ...(input.VocabularyName != null && { VocabularyName: input.VocabularyName }),
1586
1581
  };
1587
1582
  };
1588
- const serializeAws_restJson1AmazonTranscribeProcessorConfiguration = (input, context) => {
1583
+ const se_AmazonTranscribeProcessorConfiguration = (input, context) => {
1589
1584
  return {
1590
1585
  ...(input.ContentIdentificationType != null && { ContentIdentificationType: input.ContentIdentificationType }),
1591
1586
  ...(input.ContentRedactionType != null && { ContentRedactionType: input.ContentRedactionType }),
@@ -1603,314 +1598,306 @@ const serializeAws_restJson1AmazonTranscribeProcessorConfiguration = (input, con
1603
1598
  ...(input.VocabularyName != null && { VocabularyName: input.VocabularyName }),
1604
1599
  };
1605
1600
  };
1606
- const serializeAws_restJson1ArtifactsConcatenationConfiguration = (input, context) => {
1601
+ const se_ArtifactsConcatenationConfiguration = (input, context) => {
1607
1602
  return {
1608
- ...(input.Audio != null && { Audio: serializeAws_restJson1AudioConcatenationConfiguration(input.Audio, context) }),
1603
+ ...(input.Audio != null && { Audio: se_AudioConcatenationConfiguration(input.Audio, context) }),
1609
1604
  ...(input.CompositedVideo != null && {
1610
- CompositedVideo: serializeAws_restJson1CompositedVideoConcatenationConfiguration(input.CompositedVideo, context),
1611
- }),
1612
- ...(input.Content != null && {
1613
- Content: serializeAws_restJson1ContentConcatenationConfiguration(input.Content, context),
1605
+ CompositedVideo: se_CompositedVideoConcatenationConfiguration(input.CompositedVideo, context),
1614
1606
  }),
1607
+ ...(input.Content != null && { Content: se_ContentConcatenationConfiguration(input.Content, context) }),
1615
1608
  ...(input.DataChannel != null && {
1616
- DataChannel: serializeAws_restJson1DataChannelConcatenationConfiguration(input.DataChannel, context),
1609
+ DataChannel: se_DataChannelConcatenationConfiguration(input.DataChannel, context),
1617
1610
  }),
1618
1611
  ...(input.MeetingEvents != null && {
1619
- MeetingEvents: serializeAws_restJson1MeetingEventsConcatenationConfiguration(input.MeetingEvents, context),
1612
+ MeetingEvents: se_MeetingEventsConcatenationConfiguration(input.MeetingEvents, context),
1620
1613
  }),
1621
1614
  ...(input.TranscriptionMessages != null && {
1622
- TranscriptionMessages: serializeAws_restJson1TranscriptionMessagesConcatenationConfiguration(input.TranscriptionMessages, context),
1615
+ TranscriptionMessages: se_TranscriptionMessagesConcatenationConfiguration(input.TranscriptionMessages, context),
1623
1616
  }),
1624
- ...(input.Video != null && { Video: serializeAws_restJson1VideoConcatenationConfiguration(input.Video, context) }),
1617
+ ...(input.Video != null && { Video: se_VideoConcatenationConfiguration(input.Video, context) }),
1625
1618
  };
1626
1619
  };
1627
- const serializeAws_restJson1ArtifactsConfiguration = (input, context) => {
1620
+ const se_ArtifactsConfiguration = (input, context) => {
1628
1621
  return {
1629
- ...(input.Audio != null && { Audio: serializeAws_restJson1AudioArtifactsConfiguration(input.Audio, context) }),
1622
+ ...(input.Audio != null && { Audio: se_AudioArtifactsConfiguration(input.Audio, context) }),
1630
1623
  ...(input.CompositedVideo != null && {
1631
- CompositedVideo: serializeAws_restJson1CompositedVideoArtifactsConfiguration(input.CompositedVideo, context),
1624
+ CompositedVideo: se_CompositedVideoArtifactsConfiguration(input.CompositedVideo, context),
1632
1625
  }),
1633
- ...(input.Content != null && {
1634
- Content: serializeAws_restJson1ContentArtifactsConfiguration(input.Content, context),
1635
- }),
1636
- ...(input.Video != null && { Video: serializeAws_restJson1VideoArtifactsConfiguration(input.Video, context) }),
1626
+ ...(input.Content != null && { Content: se_ContentArtifactsConfiguration(input.Content, context) }),
1627
+ ...(input.Video != null && { Video: se_VideoArtifactsConfiguration(input.Video, context) }),
1637
1628
  };
1638
1629
  };
1639
- const serializeAws_restJson1AttendeeIdList = (input, context) => {
1630
+ const se_AttendeeIdList = (input, context) => {
1640
1631
  return input
1641
1632
  .filter((e) => e != null)
1642
1633
  .map((entry) => {
1643
1634
  return entry;
1644
1635
  });
1645
1636
  };
1646
- const serializeAws_restJson1AudioArtifactsConfiguration = (input, context) => {
1637
+ const se_AudioArtifactsConfiguration = (input, context) => {
1647
1638
  return {
1648
1639
  ...(input.MuxType != null && { MuxType: input.MuxType }),
1649
1640
  };
1650
1641
  };
1651
- const serializeAws_restJson1AudioConcatenationConfiguration = (input, context) => {
1642
+ const se_AudioConcatenationConfiguration = (input, context) => {
1652
1643
  return {
1653
1644
  ...(input.State != null && { State: input.State }),
1654
1645
  };
1655
1646
  };
1656
- const serializeAws_restJson1CategoryNameList = (input, context) => {
1647
+ const se_CategoryNameList = (input, context) => {
1657
1648
  return input
1658
1649
  .filter((e) => e != null)
1659
1650
  .map((entry) => {
1660
1651
  return entry;
1661
1652
  });
1662
1653
  };
1663
- const serializeAws_restJson1ChannelDefinition = (input, context) => {
1654
+ const se_ChannelDefinition = (input, context) => {
1664
1655
  return {
1665
1656
  ...(input.ChannelId != null && { ChannelId: input.ChannelId }),
1666
1657
  ...(input.ParticipantRole != null && { ParticipantRole: input.ParticipantRole }),
1667
1658
  };
1668
1659
  };
1669
- const serializeAws_restJson1ChannelDefinitions = (input, context) => {
1660
+ const se_ChannelDefinitions = (input, context) => {
1670
1661
  return input
1671
1662
  .filter((e) => e != null)
1672
1663
  .map((entry) => {
1673
- return serializeAws_restJson1ChannelDefinition(entry, context);
1664
+ return se_ChannelDefinition(entry, context);
1674
1665
  });
1675
1666
  };
1676
- const serializeAws_restJson1ChimeSdkMeetingConcatenationConfiguration = (input, context) => {
1667
+ const se_ChimeSdkMeetingConcatenationConfiguration = (input, context) => {
1677
1668
  return {
1678
1669
  ...(input.ArtifactsConfiguration != null && {
1679
- ArtifactsConfiguration: serializeAws_restJson1ArtifactsConcatenationConfiguration(input.ArtifactsConfiguration, context),
1670
+ ArtifactsConfiguration: se_ArtifactsConcatenationConfiguration(input.ArtifactsConfiguration, context),
1680
1671
  }),
1681
1672
  };
1682
1673
  };
1683
- const serializeAws_restJson1ChimeSdkMeetingConfiguration = (input, context) => {
1674
+ const se_ChimeSdkMeetingConfiguration = (input, context) => {
1684
1675
  return {
1685
1676
  ...(input.ArtifactsConfiguration != null && {
1686
- ArtifactsConfiguration: serializeAws_restJson1ArtifactsConfiguration(input.ArtifactsConfiguration, context),
1677
+ ArtifactsConfiguration: se_ArtifactsConfiguration(input.ArtifactsConfiguration, context),
1687
1678
  }),
1688
1679
  ...(input.SourceConfiguration != null && {
1689
- SourceConfiguration: serializeAws_restJson1SourceConfiguration(input.SourceConfiguration, context),
1680
+ SourceConfiguration: se_SourceConfiguration(input.SourceConfiguration, context),
1690
1681
  }),
1691
1682
  };
1692
1683
  };
1693
- const serializeAws_restJson1ChimeSdkMeetingLiveConnectorConfiguration = (input, context) => {
1684
+ const se_ChimeSdkMeetingLiveConnectorConfiguration = (input, context) => {
1694
1685
  return {
1695
1686
  ...(input.Arn != null && { Arn: input.Arn }),
1696
1687
  ...(input.CompositedVideo != null && {
1697
- CompositedVideo: serializeAws_restJson1CompositedVideoArtifactsConfiguration(input.CompositedVideo, context),
1688
+ CompositedVideo: se_CompositedVideoArtifactsConfiguration(input.CompositedVideo, context),
1698
1689
  }),
1699
1690
  ...(input.MuxType != null && { MuxType: input.MuxType }),
1700
1691
  ...(input.SourceConfiguration != null && {
1701
- SourceConfiguration: serializeAws_restJson1SourceConfiguration(input.SourceConfiguration, context),
1692
+ SourceConfiguration: se_SourceConfiguration(input.SourceConfiguration, context),
1702
1693
  }),
1703
1694
  };
1704
1695
  };
1705
- const serializeAws_restJson1CompositedVideoArtifactsConfiguration = (input, context) => {
1696
+ const se_CompositedVideoArtifactsConfiguration = (input, context) => {
1706
1697
  return {
1707
1698
  ...(input.GridViewConfiguration != null && {
1708
- GridViewConfiguration: serializeAws_restJson1GridViewConfiguration(input.GridViewConfiguration, context),
1699
+ GridViewConfiguration: se_GridViewConfiguration(input.GridViewConfiguration, context),
1709
1700
  }),
1710
1701
  ...(input.Layout != null && { Layout: input.Layout }),
1711
1702
  ...(input.Resolution != null && { Resolution: input.Resolution }),
1712
1703
  };
1713
1704
  };
1714
- const serializeAws_restJson1CompositedVideoConcatenationConfiguration = (input, context) => {
1705
+ const se_CompositedVideoConcatenationConfiguration = (input, context) => {
1715
1706
  return {
1716
1707
  ...(input.State != null && { State: input.State }),
1717
1708
  };
1718
1709
  };
1719
- const serializeAws_restJson1ConcatenationSink = (input, context) => {
1710
+ const se_ConcatenationSink = (input, context) => {
1720
1711
  return {
1721
1712
  ...(input.S3BucketSinkConfiguration != null && {
1722
- S3BucketSinkConfiguration: serializeAws_restJson1S3BucketSinkConfiguration(input.S3BucketSinkConfiguration, context),
1713
+ S3BucketSinkConfiguration: se_S3BucketSinkConfiguration(input.S3BucketSinkConfiguration, context),
1723
1714
  }),
1724
1715
  ...(input.Type != null && { Type: input.Type }),
1725
1716
  };
1726
1717
  };
1727
- const serializeAws_restJson1ConcatenationSinkList = (input, context) => {
1718
+ const se_ConcatenationSinkList = (input, context) => {
1728
1719
  return input
1729
1720
  .filter((e) => e != null)
1730
1721
  .map((entry) => {
1731
- return serializeAws_restJson1ConcatenationSink(entry, context);
1722
+ return se_ConcatenationSink(entry, context);
1732
1723
  });
1733
1724
  };
1734
- const serializeAws_restJson1ConcatenationSource = (input, context) => {
1725
+ const se_ConcatenationSource = (input, context) => {
1735
1726
  return {
1736
1727
  ...(input.MediaCapturePipelineSourceConfiguration != null && {
1737
- MediaCapturePipelineSourceConfiguration: serializeAws_restJson1MediaCapturePipelineSourceConfiguration(input.MediaCapturePipelineSourceConfiguration, context),
1728
+ MediaCapturePipelineSourceConfiguration: se_MediaCapturePipelineSourceConfiguration(input.MediaCapturePipelineSourceConfiguration, context),
1738
1729
  }),
1739
1730
  ...(input.Type != null && { Type: input.Type }),
1740
1731
  };
1741
1732
  };
1742
- const serializeAws_restJson1ConcatenationSourceList = (input, context) => {
1733
+ const se_ConcatenationSourceList = (input, context) => {
1743
1734
  return input
1744
1735
  .filter((e) => e != null)
1745
1736
  .map((entry) => {
1746
- return serializeAws_restJson1ConcatenationSource(entry, context);
1737
+ return se_ConcatenationSource(entry, context);
1747
1738
  });
1748
1739
  };
1749
- const serializeAws_restJson1ContentArtifactsConfiguration = (input, context) => {
1740
+ const se_ContentArtifactsConfiguration = (input, context) => {
1750
1741
  return {
1751
1742
  ...(input.MuxType != null && { MuxType: input.MuxType }),
1752
1743
  ...(input.State != null && { State: input.State }),
1753
1744
  };
1754
1745
  };
1755
- const serializeAws_restJson1ContentConcatenationConfiguration = (input, context) => {
1746
+ const se_ContentConcatenationConfiguration = (input, context) => {
1756
1747
  return {
1757
1748
  ...(input.State != null && { State: input.State }),
1758
1749
  };
1759
1750
  };
1760
- const serializeAws_restJson1DataChannelConcatenationConfiguration = (input, context) => {
1751
+ const se_DataChannelConcatenationConfiguration = (input, context) => {
1761
1752
  return {
1762
1753
  ...(input.State != null && { State: input.State }),
1763
1754
  };
1764
1755
  };
1765
- const serializeAws_restJson1ExternalUserIdList = (input, context) => {
1756
+ const se_ExternalUserIdList = (input, context) => {
1766
1757
  return input
1767
1758
  .filter((e) => e != null)
1768
1759
  .map((entry) => {
1769
1760
  return entry;
1770
1761
  });
1771
1762
  };
1772
- const serializeAws_restJson1FragmentSelector = (input, context) => {
1763
+ const se_FragmentSelector = (input, context) => {
1773
1764
  return {
1774
1765
  ...(input.FragmentSelectorType != null && { FragmentSelectorType: input.FragmentSelectorType }),
1775
- ...(input.TimestampRange != null && {
1776
- TimestampRange: serializeAws_restJson1TimestampRange(input.TimestampRange, context),
1777
- }),
1766
+ ...(input.TimestampRange != null && { TimestampRange: se_TimestampRange(input.TimestampRange, context) }),
1778
1767
  };
1779
1768
  };
1780
- const serializeAws_restJson1GridViewConfiguration = (input, context) => {
1769
+ const se_GridViewConfiguration = (input, context) => {
1781
1770
  return {
1782
1771
  ...(input.ContentShareLayout != null && { ContentShareLayout: input.ContentShareLayout }),
1783
1772
  ...(input.PresenterOnlyConfiguration != null && {
1784
- PresenterOnlyConfiguration: serializeAws_restJson1PresenterOnlyConfiguration(input.PresenterOnlyConfiguration, context),
1773
+ PresenterOnlyConfiguration: se_PresenterOnlyConfiguration(input.PresenterOnlyConfiguration, context),
1785
1774
  }),
1786
1775
  };
1787
1776
  };
1788
- const serializeAws_restJson1IssueDetectionConfiguration = (input, context) => {
1777
+ const se_IssueDetectionConfiguration = (input, context) => {
1789
1778
  return {
1790
1779
  ...(input.RuleName != null && { RuleName: input.RuleName }),
1791
1780
  };
1792
1781
  };
1793
- const serializeAws_restJson1KeywordMatchConfiguration = (input, context) => {
1782
+ const se_KeywordMatchConfiguration = (input, context) => {
1794
1783
  return {
1795
- ...(input.Keywords != null && { Keywords: serializeAws_restJson1KeywordMatchWordList(input.Keywords, context) }),
1784
+ ...(input.Keywords != null && { Keywords: se_KeywordMatchWordList(input.Keywords, context) }),
1796
1785
  ...(input.Negate != null && { Negate: input.Negate }),
1797
1786
  ...(input.RuleName != null && { RuleName: input.RuleName }),
1798
1787
  };
1799
1788
  };
1800
- const serializeAws_restJson1KeywordMatchWordList = (input, context) => {
1789
+ const se_KeywordMatchWordList = (input, context) => {
1801
1790
  return input
1802
1791
  .filter((e) => e != null)
1803
1792
  .map((entry) => {
1804
1793
  return entry;
1805
1794
  });
1806
1795
  };
1807
- const serializeAws_restJson1KinesisDataStreamSinkConfiguration = (input, context) => {
1796
+ const se_KinesisDataStreamSinkConfiguration = (input, context) => {
1808
1797
  return {
1809
1798
  ...(input.InsightsTarget != null && { InsightsTarget: input.InsightsTarget }),
1810
1799
  };
1811
1800
  };
1812
- const serializeAws_restJson1KinesisVideoStreamRecordingSourceRuntimeConfiguration = (input, context) => {
1801
+ const se_KinesisVideoStreamRecordingSourceRuntimeConfiguration = (input, context) => {
1813
1802
  return {
1814
- ...(input.FragmentSelector != null && {
1815
- FragmentSelector: serializeAws_restJson1FragmentSelector(input.FragmentSelector, context),
1816
- }),
1817
- ...(input.Streams != null && { Streams: serializeAws_restJson1RecordingStreamList(input.Streams, context) }),
1803
+ ...(input.FragmentSelector != null && { FragmentSelector: se_FragmentSelector(input.FragmentSelector, context) }),
1804
+ ...(input.Streams != null && { Streams: se_RecordingStreamList(input.Streams, context) }),
1818
1805
  };
1819
1806
  };
1820
- const serializeAws_restJson1KinesisVideoStreamSourceRuntimeConfiguration = (input, context) => {
1807
+ const se_KinesisVideoStreamSourceRuntimeConfiguration = (input, context) => {
1821
1808
  return {
1822
1809
  ...(input.MediaEncoding != null && { MediaEncoding: input.MediaEncoding }),
1823
1810
  ...(input.MediaSampleRate != null && { MediaSampleRate: input.MediaSampleRate }),
1824
- ...(input.Streams != null && { Streams: serializeAws_restJson1Streams(input.Streams, context) }),
1811
+ ...(input.Streams != null && { Streams: se_Streams(input.Streams, context) }),
1825
1812
  };
1826
1813
  };
1827
- const serializeAws_restJson1LambdaFunctionSinkConfiguration = (input, context) => {
1814
+ const se_LambdaFunctionSinkConfiguration = (input, context) => {
1828
1815
  return {
1829
1816
  ...(input.InsightsTarget != null && { InsightsTarget: input.InsightsTarget }),
1830
1817
  };
1831
1818
  };
1832
- const serializeAws_restJson1LiveConnectorRTMPConfiguration = (input, context) => {
1819
+ const se_LiveConnectorRTMPConfiguration = (input, context) => {
1833
1820
  return {
1834
1821
  ...(input.AudioChannels != null && { AudioChannels: input.AudioChannels }),
1835
1822
  ...(input.AudioSampleRate != null && { AudioSampleRate: input.AudioSampleRate }),
1836
1823
  ...(input.Url != null && { Url: input.Url }),
1837
1824
  };
1838
1825
  };
1839
- const serializeAws_restJson1LiveConnectorSinkConfiguration = (input, context) => {
1826
+ const se_LiveConnectorSinkConfiguration = (input, context) => {
1840
1827
  return {
1841
1828
  ...(input.RTMPConfiguration != null && {
1842
- RTMPConfiguration: serializeAws_restJson1LiveConnectorRTMPConfiguration(input.RTMPConfiguration, context),
1829
+ RTMPConfiguration: se_LiveConnectorRTMPConfiguration(input.RTMPConfiguration, context),
1843
1830
  }),
1844
1831
  ...(input.SinkType != null && { SinkType: input.SinkType }),
1845
1832
  };
1846
1833
  };
1847
- const serializeAws_restJson1LiveConnectorSinkList = (input, context) => {
1834
+ const se_LiveConnectorSinkList = (input, context) => {
1848
1835
  return input
1849
1836
  .filter((e) => e != null)
1850
1837
  .map((entry) => {
1851
- return serializeAws_restJson1LiveConnectorSinkConfiguration(entry, context);
1838
+ return se_LiveConnectorSinkConfiguration(entry, context);
1852
1839
  });
1853
1840
  };
1854
- const serializeAws_restJson1LiveConnectorSourceConfiguration = (input, context) => {
1841
+ const se_LiveConnectorSourceConfiguration = (input, context) => {
1855
1842
  return {
1856
1843
  ...(input.ChimeSdkMeetingLiveConnectorConfiguration != null && {
1857
- ChimeSdkMeetingLiveConnectorConfiguration: serializeAws_restJson1ChimeSdkMeetingLiveConnectorConfiguration(input.ChimeSdkMeetingLiveConnectorConfiguration, context),
1844
+ ChimeSdkMeetingLiveConnectorConfiguration: se_ChimeSdkMeetingLiveConnectorConfiguration(input.ChimeSdkMeetingLiveConnectorConfiguration, context),
1858
1845
  }),
1859
1846
  ...(input.SourceType != null && { SourceType: input.SourceType }),
1860
1847
  };
1861
1848
  };
1862
- const serializeAws_restJson1LiveConnectorSourceList = (input, context) => {
1849
+ const se_LiveConnectorSourceList = (input, context) => {
1863
1850
  return input
1864
1851
  .filter((e) => e != null)
1865
1852
  .map((entry) => {
1866
- return serializeAws_restJson1LiveConnectorSourceConfiguration(entry, context);
1853
+ return se_LiveConnectorSourceConfiguration(entry, context);
1867
1854
  });
1868
1855
  };
1869
- const serializeAws_restJson1MediaCapturePipelineSourceConfiguration = (input, context) => {
1856
+ const se_MediaCapturePipelineSourceConfiguration = (input, context) => {
1870
1857
  return {
1871
1858
  ...(input.ChimeSdkMeetingConfiguration != null && {
1872
- ChimeSdkMeetingConfiguration: serializeAws_restJson1ChimeSdkMeetingConcatenationConfiguration(input.ChimeSdkMeetingConfiguration, context),
1859
+ ChimeSdkMeetingConfiguration: se_ChimeSdkMeetingConcatenationConfiguration(input.ChimeSdkMeetingConfiguration, context),
1873
1860
  }),
1874
1861
  ...(input.MediaPipelineArn != null && { MediaPipelineArn: input.MediaPipelineArn }),
1875
1862
  };
1876
1863
  };
1877
- const serializeAws_restJson1MediaInsightsPipelineConfigurationElement = (input, context) => {
1864
+ const se_MediaInsightsPipelineConfigurationElement = (input, context) => {
1878
1865
  return {
1879
1866
  ...(input.AmazonTranscribeCallAnalyticsProcessorConfiguration != null && {
1880
- AmazonTranscribeCallAnalyticsProcessorConfiguration: serializeAws_restJson1AmazonTranscribeCallAnalyticsProcessorConfiguration(input.AmazonTranscribeCallAnalyticsProcessorConfiguration, context),
1867
+ AmazonTranscribeCallAnalyticsProcessorConfiguration: se_AmazonTranscribeCallAnalyticsProcessorConfiguration(input.AmazonTranscribeCallAnalyticsProcessorConfiguration, context),
1881
1868
  }),
1882
1869
  ...(input.AmazonTranscribeProcessorConfiguration != null && {
1883
- AmazonTranscribeProcessorConfiguration: serializeAws_restJson1AmazonTranscribeProcessorConfiguration(input.AmazonTranscribeProcessorConfiguration, context),
1870
+ AmazonTranscribeProcessorConfiguration: se_AmazonTranscribeProcessorConfiguration(input.AmazonTranscribeProcessorConfiguration, context),
1884
1871
  }),
1885
1872
  ...(input.KinesisDataStreamSinkConfiguration != null && {
1886
- KinesisDataStreamSinkConfiguration: serializeAws_restJson1KinesisDataStreamSinkConfiguration(input.KinesisDataStreamSinkConfiguration, context),
1873
+ KinesisDataStreamSinkConfiguration: se_KinesisDataStreamSinkConfiguration(input.KinesisDataStreamSinkConfiguration, context),
1887
1874
  }),
1888
1875
  ...(input.LambdaFunctionSinkConfiguration != null && {
1889
- LambdaFunctionSinkConfiguration: serializeAws_restJson1LambdaFunctionSinkConfiguration(input.LambdaFunctionSinkConfiguration, context),
1876
+ LambdaFunctionSinkConfiguration: se_LambdaFunctionSinkConfiguration(input.LambdaFunctionSinkConfiguration, context),
1890
1877
  }),
1891
1878
  ...(input.S3RecordingSinkConfiguration != null && {
1892
- S3RecordingSinkConfiguration: serializeAws_restJson1S3RecordingSinkConfiguration(input.S3RecordingSinkConfiguration, context),
1879
+ S3RecordingSinkConfiguration: se_S3RecordingSinkConfiguration(input.S3RecordingSinkConfiguration, context),
1893
1880
  }),
1894
1881
  ...(input.SnsTopicSinkConfiguration != null && {
1895
- SnsTopicSinkConfiguration: serializeAws_restJson1SnsTopicSinkConfiguration(input.SnsTopicSinkConfiguration, context),
1882
+ SnsTopicSinkConfiguration: se_SnsTopicSinkConfiguration(input.SnsTopicSinkConfiguration, context),
1896
1883
  }),
1897
1884
  ...(input.SqsQueueSinkConfiguration != null && {
1898
- SqsQueueSinkConfiguration: serializeAws_restJson1SqsQueueSinkConfiguration(input.SqsQueueSinkConfiguration, context),
1885
+ SqsQueueSinkConfiguration: se_SqsQueueSinkConfiguration(input.SqsQueueSinkConfiguration, context),
1899
1886
  }),
1900
1887
  ...(input.Type != null && { Type: input.Type }),
1901
1888
  ...(input.VoiceAnalyticsProcessorConfiguration != null && {
1902
- VoiceAnalyticsProcessorConfiguration: serializeAws_restJson1VoiceAnalyticsProcessorConfiguration(input.VoiceAnalyticsProcessorConfiguration, context),
1889
+ VoiceAnalyticsProcessorConfiguration: se_VoiceAnalyticsProcessorConfiguration(input.VoiceAnalyticsProcessorConfiguration, context),
1903
1890
  }),
1904
1891
  };
1905
1892
  };
1906
- const serializeAws_restJson1MediaInsightsPipelineConfigurationElements = (input, context) => {
1893
+ const se_MediaInsightsPipelineConfigurationElements = (input, context) => {
1907
1894
  return input
1908
1895
  .filter((e) => e != null)
1909
1896
  .map((entry) => {
1910
- return serializeAws_restJson1MediaInsightsPipelineConfigurationElement(entry, context);
1897
+ return se_MediaInsightsPipelineConfigurationElement(entry, context);
1911
1898
  });
1912
1899
  };
1913
- const serializeAws_restJson1MediaInsightsRuntimeMetadata = (input, context) => {
1900
+ const se_MediaInsightsRuntimeMetadata = (input, context) => {
1914
1901
  return Object.entries(input).reduce((acc, [key, value]) => {
1915
1902
  if (value === null) {
1916
1903
  return acc;
@@ -1919,12 +1906,12 @@ const serializeAws_restJson1MediaInsightsRuntimeMetadata = (input, context) => {
1919
1906
  return acc;
1920
1907
  }, {});
1921
1908
  };
1922
- const serializeAws_restJson1MeetingEventsConcatenationConfiguration = (input, context) => {
1909
+ const se_MeetingEventsConcatenationConfiguration = (input, context) => {
1923
1910
  return {
1924
1911
  ...(input.State != null && { State: input.State }),
1925
1912
  };
1926
1913
  };
1927
- const serializeAws_restJson1PostCallAnalyticsSettings = (input, context) => {
1914
+ const se_PostCallAnalyticsSettings = (input, context) => {
1928
1915
  return {
1929
1916
  ...(input.ContentRedactionOutput != null && { ContentRedactionOutput: input.ContentRedactionOutput }),
1930
1917
  ...(input.DataAccessRoleArn != null && { DataAccessRoleArn: input.DataAccessRoleArn }),
@@ -1932,174 +1919,172 @@ const serializeAws_restJson1PostCallAnalyticsSettings = (input, context) => {
1932
1919
  ...(input.OutputLocation != null && { OutputLocation: input.OutputLocation }),
1933
1920
  };
1934
1921
  };
1935
- const serializeAws_restJson1PresenterOnlyConfiguration = (input, context) => {
1922
+ const se_PresenterOnlyConfiguration = (input, context) => {
1936
1923
  return {
1937
1924
  ...(input.PresenterPosition != null && { PresenterPosition: input.PresenterPosition }),
1938
1925
  };
1939
1926
  };
1940
- const serializeAws_restJson1RealTimeAlertConfiguration = (input, context) => {
1927
+ const se_RealTimeAlertConfiguration = (input, context) => {
1941
1928
  return {
1942
1929
  ...(input.Disabled != null && { Disabled: input.Disabled }),
1943
- ...(input.Rules != null && { Rules: serializeAws_restJson1RealTimeAlertRuleList(input.Rules, context) }),
1930
+ ...(input.Rules != null && { Rules: se_RealTimeAlertRuleList(input.Rules, context) }),
1944
1931
  };
1945
1932
  };
1946
- const serializeAws_restJson1RealTimeAlertRule = (input, context) => {
1933
+ const se_RealTimeAlertRule = (input, context) => {
1947
1934
  return {
1948
1935
  ...(input.IssueDetectionConfiguration != null && {
1949
- IssueDetectionConfiguration: serializeAws_restJson1IssueDetectionConfiguration(input.IssueDetectionConfiguration, context),
1936
+ IssueDetectionConfiguration: se_IssueDetectionConfiguration(input.IssueDetectionConfiguration, context),
1950
1937
  }),
1951
1938
  ...(input.KeywordMatchConfiguration != null && {
1952
- KeywordMatchConfiguration: serializeAws_restJson1KeywordMatchConfiguration(input.KeywordMatchConfiguration, context),
1939
+ KeywordMatchConfiguration: se_KeywordMatchConfiguration(input.KeywordMatchConfiguration, context),
1953
1940
  }),
1954
1941
  ...(input.SentimentConfiguration != null && {
1955
- SentimentConfiguration: serializeAws_restJson1SentimentConfiguration(input.SentimentConfiguration, context),
1942
+ SentimentConfiguration: se_SentimentConfiguration(input.SentimentConfiguration, context),
1956
1943
  }),
1957
1944
  ...(input.Type != null && { Type: input.Type }),
1958
1945
  };
1959
1946
  };
1960
- const serializeAws_restJson1RealTimeAlertRuleList = (input, context) => {
1947
+ const se_RealTimeAlertRuleList = (input, context) => {
1961
1948
  return input
1962
1949
  .filter((e) => e != null)
1963
1950
  .map((entry) => {
1964
- return serializeAws_restJson1RealTimeAlertRule(entry, context);
1951
+ return se_RealTimeAlertRule(entry, context);
1965
1952
  });
1966
1953
  };
1967
- const serializeAws_restJson1RecordingStreamConfiguration = (input, context) => {
1954
+ const se_RecordingStreamConfiguration = (input, context) => {
1968
1955
  return {
1969
1956
  ...(input.StreamArn != null && { StreamArn: input.StreamArn }),
1970
1957
  };
1971
1958
  };
1972
- const serializeAws_restJson1RecordingStreamList = (input, context) => {
1959
+ const se_RecordingStreamList = (input, context) => {
1973
1960
  return input
1974
1961
  .filter((e) => e != null)
1975
1962
  .map((entry) => {
1976
- return serializeAws_restJson1RecordingStreamConfiguration(entry, context);
1963
+ return se_RecordingStreamConfiguration(entry, context);
1977
1964
  });
1978
1965
  };
1979
- const serializeAws_restJson1S3BucketSinkConfiguration = (input, context) => {
1966
+ const se_S3BucketSinkConfiguration = (input, context) => {
1980
1967
  return {
1981
1968
  ...(input.Destination != null && { Destination: input.Destination }),
1982
1969
  };
1983
1970
  };
1984
- const serializeAws_restJson1S3RecordingSinkConfiguration = (input, context) => {
1971
+ const se_S3RecordingSinkConfiguration = (input, context) => {
1985
1972
  return {
1986
1973
  ...(input.Destination != null && { Destination: input.Destination }),
1987
1974
  };
1988
1975
  };
1989
- const serializeAws_restJson1S3RecordingSinkRuntimeConfiguration = (input, context) => {
1976
+ const se_S3RecordingSinkRuntimeConfiguration = (input, context) => {
1990
1977
  return {
1991
1978
  ...(input.Destination != null && { Destination: input.Destination }),
1992
1979
  ...(input.RecordingFileFormat != null && { RecordingFileFormat: input.RecordingFileFormat }),
1993
1980
  };
1994
1981
  };
1995
- const serializeAws_restJson1SelectedVideoStreams = (input, context) => {
1982
+ const se_SelectedVideoStreams = (input, context) => {
1996
1983
  return {
1997
- ...(input.AttendeeIds != null && { AttendeeIds: serializeAws_restJson1AttendeeIdList(input.AttendeeIds, context) }),
1998
- ...(input.ExternalUserIds != null && {
1999
- ExternalUserIds: serializeAws_restJson1ExternalUserIdList(input.ExternalUserIds, context),
2000
- }),
1984
+ ...(input.AttendeeIds != null && { AttendeeIds: se_AttendeeIdList(input.AttendeeIds, context) }),
1985
+ ...(input.ExternalUserIds != null && { ExternalUserIds: se_ExternalUserIdList(input.ExternalUserIds, context) }),
2001
1986
  };
2002
1987
  };
2003
- const serializeAws_restJson1SentimentConfiguration = (input, context) => {
1988
+ const se_SentimentConfiguration = (input, context) => {
2004
1989
  return {
2005
1990
  ...(input.RuleName != null && { RuleName: input.RuleName }),
2006
1991
  ...(input.SentimentType != null && { SentimentType: input.SentimentType }),
2007
1992
  ...(input.TimePeriod != null && { TimePeriod: input.TimePeriod }),
2008
1993
  };
2009
1994
  };
2010
- const serializeAws_restJson1SnsTopicSinkConfiguration = (input, context) => {
1995
+ const se_SnsTopicSinkConfiguration = (input, context) => {
2011
1996
  return {
2012
1997
  ...(input.InsightsTarget != null && { InsightsTarget: input.InsightsTarget }),
2013
1998
  };
2014
1999
  };
2015
- const serializeAws_restJson1SourceConfiguration = (input, context) => {
2000
+ const se_SourceConfiguration = (input, context) => {
2016
2001
  return {
2017
2002
  ...(input.SelectedVideoStreams != null && {
2018
- SelectedVideoStreams: serializeAws_restJson1SelectedVideoStreams(input.SelectedVideoStreams, context),
2003
+ SelectedVideoStreams: se_SelectedVideoStreams(input.SelectedVideoStreams, context),
2019
2004
  }),
2020
2005
  };
2021
2006
  };
2022
- const serializeAws_restJson1SqsQueueSinkConfiguration = (input, context) => {
2007
+ const se_SqsQueueSinkConfiguration = (input, context) => {
2023
2008
  return {
2024
2009
  ...(input.InsightsTarget != null && { InsightsTarget: input.InsightsTarget }),
2025
2010
  };
2026
2011
  };
2027
- const serializeAws_restJson1StreamChannelDefinition = (input, context) => {
2012
+ const se_StreamChannelDefinition = (input, context) => {
2028
2013
  return {
2029
2014
  ...(input.ChannelDefinitions != null && {
2030
- ChannelDefinitions: serializeAws_restJson1ChannelDefinitions(input.ChannelDefinitions, context),
2015
+ ChannelDefinitions: se_ChannelDefinitions(input.ChannelDefinitions, context),
2031
2016
  }),
2032
2017
  ...(input.NumberOfChannels != null && { NumberOfChannels: input.NumberOfChannels }),
2033
2018
  };
2034
2019
  };
2035
- const serializeAws_restJson1StreamConfiguration = (input, context) => {
2020
+ const se_StreamConfiguration = (input, context) => {
2036
2021
  return {
2037
2022
  ...(input.FragmentNumber != null && { FragmentNumber: input.FragmentNumber }),
2038
2023
  ...(input.StreamArn != null && { StreamArn: input.StreamArn }),
2039
2024
  ...(input.StreamChannelDefinition != null && {
2040
- StreamChannelDefinition: serializeAws_restJson1StreamChannelDefinition(input.StreamChannelDefinition, context),
2025
+ StreamChannelDefinition: se_StreamChannelDefinition(input.StreamChannelDefinition, context),
2041
2026
  }),
2042
2027
  };
2043
2028
  };
2044
- const serializeAws_restJson1Streams = (input, context) => {
2029
+ const se_Streams = (input, context) => {
2045
2030
  return input
2046
2031
  .filter((e) => e != null)
2047
2032
  .map((entry) => {
2048
- return serializeAws_restJson1StreamConfiguration(entry, context);
2033
+ return se_StreamConfiguration(entry, context);
2049
2034
  });
2050
2035
  };
2051
- const serializeAws_restJson1Tag = (input, context) => {
2036
+ const se_Tag = (input, context) => {
2052
2037
  return {
2053
2038
  ...(input.Key != null && { Key: input.Key }),
2054
2039
  ...(input.Value != null && { Value: input.Value }),
2055
2040
  };
2056
2041
  };
2057
- const serializeAws_restJson1TagKeyList = (input, context) => {
2042
+ const se_TagKeyList = (input, context) => {
2058
2043
  return input
2059
2044
  .filter((e) => e != null)
2060
2045
  .map((entry) => {
2061
2046
  return entry;
2062
2047
  });
2063
2048
  };
2064
- const serializeAws_restJson1TagList = (input, context) => {
2049
+ const se_TagList = (input, context) => {
2065
2050
  return input
2066
2051
  .filter((e) => e != null)
2067
2052
  .map((entry) => {
2068
- return serializeAws_restJson1Tag(entry, context);
2053
+ return se_Tag(entry, context);
2069
2054
  });
2070
2055
  };
2071
- const serializeAws_restJson1TimestampRange = (input, context) => {
2056
+ const se_TimestampRange = (input, context) => {
2072
2057
  return {
2073
2058
  ...(input.EndTimestamp != null && { EndTimestamp: Math.round(input.EndTimestamp.getTime() / 1000) }),
2074
2059
  ...(input.StartTimestamp != null && { StartTimestamp: Math.round(input.StartTimestamp.getTime() / 1000) }),
2075
2060
  };
2076
2061
  };
2077
- const serializeAws_restJson1TranscriptionMessagesConcatenationConfiguration = (input, context) => {
2062
+ const se_TranscriptionMessagesConcatenationConfiguration = (input, context) => {
2078
2063
  return {
2079
2064
  ...(input.State != null && { State: input.State }),
2080
2065
  };
2081
2066
  };
2082
- const serializeAws_restJson1VideoArtifactsConfiguration = (input, context) => {
2067
+ const se_VideoArtifactsConfiguration = (input, context) => {
2083
2068
  return {
2084
2069
  ...(input.MuxType != null && { MuxType: input.MuxType }),
2085
2070
  ...(input.State != null && { State: input.State }),
2086
2071
  };
2087
2072
  };
2088
- const serializeAws_restJson1VideoConcatenationConfiguration = (input, context) => {
2073
+ const se_VideoConcatenationConfiguration = (input, context) => {
2089
2074
  return {
2090
2075
  ...(input.State != null && { State: input.State }),
2091
2076
  };
2092
2077
  };
2093
- const serializeAws_restJson1VoiceAnalyticsProcessorConfiguration = (input, context) => {
2078
+ const se_VoiceAnalyticsProcessorConfiguration = (input, context) => {
2094
2079
  return {
2095
2080
  ...(input.SpeakerSearchStatus != null && { SpeakerSearchStatus: input.SpeakerSearchStatus }),
2096
2081
  ...(input.VoiceToneAnalysisStatus != null && { VoiceToneAnalysisStatus: input.VoiceToneAnalysisStatus }),
2097
2082
  };
2098
2083
  };
2099
- const deserializeAws_restJson1AmazonTranscribeCallAnalyticsProcessorConfiguration = (output, context) => {
2084
+ const de_AmazonTranscribeCallAnalyticsProcessorConfiguration = (output, context) => {
2100
2085
  return {
2101
2086
  CallAnalyticsStreamCategories: output.CallAnalyticsStreamCategories != null
2102
- ? deserializeAws_restJson1CategoryNameList(output.CallAnalyticsStreamCategories, context)
2087
+ ? de_CategoryNameList(output.CallAnalyticsStreamCategories, context)
2103
2088
  : undefined,
2104
2089
  ContentIdentificationType: __expectString(output.ContentIdentificationType),
2105
2090
  ContentRedactionType: __expectString(output.ContentRedactionType),
@@ -2110,14 +2095,14 @@ const deserializeAws_restJson1AmazonTranscribeCallAnalyticsProcessorConfiguratio
2110
2095
  PartialResultsStability: __expectString(output.PartialResultsStability),
2111
2096
  PiiEntityTypes: __expectString(output.PiiEntityTypes),
2112
2097
  PostCallAnalyticsSettings: output.PostCallAnalyticsSettings != null
2113
- ? deserializeAws_restJson1PostCallAnalyticsSettings(output.PostCallAnalyticsSettings, context)
2098
+ ? de_PostCallAnalyticsSettings(output.PostCallAnalyticsSettings, context)
2114
2099
  : undefined,
2115
2100
  VocabularyFilterMethod: __expectString(output.VocabularyFilterMethod),
2116
2101
  VocabularyFilterName: __expectString(output.VocabularyFilterName),
2117
2102
  VocabularyName: __expectString(output.VocabularyName),
2118
2103
  };
2119
2104
  };
2120
- const deserializeAws_restJson1AmazonTranscribeProcessorConfiguration = (output, context) => {
2105
+ const de_AmazonTranscribeProcessorConfiguration = (output, context) => {
2121
2106
  return {
2122
2107
  ContentIdentificationType: __expectString(output.ContentIdentificationType),
2123
2108
  ContentRedactionType: __expectString(output.ContentRedactionType),
@@ -2133,40 +2118,34 @@ const deserializeAws_restJson1AmazonTranscribeProcessorConfiguration = (output,
2133
2118
  VocabularyName: __expectString(output.VocabularyName),
2134
2119
  };
2135
2120
  };
2136
- const deserializeAws_restJson1ArtifactsConcatenationConfiguration = (output, context) => {
2121
+ const de_ArtifactsConcatenationConfiguration = (output, context) => {
2137
2122
  return {
2138
- Audio: output.Audio != null ? deserializeAws_restJson1AudioConcatenationConfiguration(output.Audio, context) : undefined,
2123
+ Audio: output.Audio != null ? de_AudioConcatenationConfiguration(output.Audio, context) : undefined,
2139
2124
  CompositedVideo: output.CompositedVideo != null
2140
- ? deserializeAws_restJson1CompositedVideoConcatenationConfiguration(output.CompositedVideo, context)
2141
- : undefined,
2142
- Content: output.Content != null
2143
- ? deserializeAws_restJson1ContentConcatenationConfiguration(output.Content, context)
2144
- : undefined,
2145
- DataChannel: output.DataChannel != null
2146
- ? deserializeAws_restJson1DataChannelConcatenationConfiguration(output.DataChannel, context)
2125
+ ? de_CompositedVideoConcatenationConfiguration(output.CompositedVideo, context)
2147
2126
  : undefined,
2127
+ Content: output.Content != null ? de_ContentConcatenationConfiguration(output.Content, context) : undefined,
2128
+ DataChannel: output.DataChannel != null ? de_DataChannelConcatenationConfiguration(output.DataChannel, context) : undefined,
2148
2129
  MeetingEvents: output.MeetingEvents != null
2149
- ? deserializeAws_restJson1MeetingEventsConcatenationConfiguration(output.MeetingEvents, context)
2130
+ ? de_MeetingEventsConcatenationConfiguration(output.MeetingEvents, context)
2150
2131
  : undefined,
2151
2132
  TranscriptionMessages: output.TranscriptionMessages != null
2152
- ? deserializeAws_restJson1TranscriptionMessagesConcatenationConfiguration(output.TranscriptionMessages, context)
2133
+ ? de_TranscriptionMessagesConcatenationConfiguration(output.TranscriptionMessages, context)
2153
2134
  : undefined,
2154
- Video: output.Video != null ? deserializeAws_restJson1VideoConcatenationConfiguration(output.Video, context) : undefined,
2135
+ Video: output.Video != null ? de_VideoConcatenationConfiguration(output.Video, context) : undefined,
2155
2136
  };
2156
2137
  };
2157
- const deserializeAws_restJson1ArtifactsConfiguration = (output, context) => {
2138
+ const de_ArtifactsConfiguration = (output, context) => {
2158
2139
  return {
2159
- Audio: output.Audio != null ? deserializeAws_restJson1AudioArtifactsConfiguration(output.Audio, context) : undefined,
2140
+ Audio: output.Audio != null ? de_AudioArtifactsConfiguration(output.Audio, context) : undefined,
2160
2141
  CompositedVideo: output.CompositedVideo != null
2161
- ? deserializeAws_restJson1CompositedVideoArtifactsConfiguration(output.CompositedVideo, context)
2162
- : undefined,
2163
- Content: output.Content != null
2164
- ? deserializeAws_restJson1ContentArtifactsConfiguration(output.Content, context)
2142
+ ? de_CompositedVideoArtifactsConfiguration(output.CompositedVideo, context)
2165
2143
  : undefined,
2166
- Video: output.Video != null ? deserializeAws_restJson1VideoArtifactsConfiguration(output.Video, context) : undefined,
2144
+ Content: output.Content != null ? de_ContentArtifactsConfiguration(output.Content, context) : undefined,
2145
+ Video: output.Video != null ? de_VideoArtifactsConfiguration(output.Video, context) : undefined,
2167
2146
  };
2168
2147
  };
2169
- const deserializeAws_restJson1AttendeeIdList = (output, context) => {
2148
+ const de_AttendeeIdList = (output, context) => {
2170
2149
  const retVal = (output || [])
2171
2150
  .filter((e) => e != null)
2172
2151
  .map((entry) => {
@@ -2177,17 +2156,17 @@ const deserializeAws_restJson1AttendeeIdList = (output, context) => {
2177
2156
  });
2178
2157
  return retVal;
2179
2158
  };
2180
- const deserializeAws_restJson1AudioArtifactsConfiguration = (output, context) => {
2159
+ const de_AudioArtifactsConfiguration = (output, context) => {
2181
2160
  return {
2182
2161
  MuxType: __expectString(output.MuxType),
2183
2162
  };
2184
2163
  };
2185
- const deserializeAws_restJson1AudioConcatenationConfiguration = (output, context) => {
2164
+ const de_AudioConcatenationConfiguration = (output, context) => {
2186
2165
  return {
2187
2166
  State: __expectString(output.State),
2188
2167
  };
2189
2168
  };
2190
- const deserializeAws_restJson1CategoryNameList = (output, context) => {
2169
+ const de_CategoryNameList = (output, context) => {
2191
2170
  const retVal = (output || [])
2192
2171
  .filter((e) => e != null)
2193
2172
  .map((entry) => {
@@ -2198,121 +2177,117 @@ const deserializeAws_restJson1CategoryNameList = (output, context) => {
2198
2177
  });
2199
2178
  return retVal;
2200
2179
  };
2201
- const deserializeAws_restJson1ChannelDefinition = (output, context) => {
2180
+ const de_ChannelDefinition = (output, context) => {
2202
2181
  return {
2203
2182
  ChannelId: __expectInt32(output.ChannelId),
2204
2183
  ParticipantRole: __expectString(output.ParticipantRole),
2205
2184
  };
2206
2185
  };
2207
- const deserializeAws_restJson1ChannelDefinitions = (output, context) => {
2186
+ const de_ChannelDefinitions = (output, context) => {
2208
2187
  const retVal = (output || [])
2209
2188
  .filter((e) => e != null)
2210
2189
  .map((entry) => {
2211
2190
  if (entry === null) {
2212
2191
  return null;
2213
2192
  }
2214
- return deserializeAws_restJson1ChannelDefinition(entry, context);
2193
+ return de_ChannelDefinition(entry, context);
2215
2194
  });
2216
2195
  return retVal;
2217
2196
  };
2218
- const deserializeAws_restJson1ChimeSdkMeetingConcatenationConfiguration = (output, context) => {
2197
+ const de_ChimeSdkMeetingConcatenationConfiguration = (output, context) => {
2219
2198
  return {
2220
2199
  ArtifactsConfiguration: output.ArtifactsConfiguration != null
2221
- ? deserializeAws_restJson1ArtifactsConcatenationConfiguration(output.ArtifactsConfiguration, context)
2200
+ ? de_ArtifactsConcatenationConfiguration(output.ArtifactsConfiguration, context)
2222
2201
  : undefined,
2223
2202
  };
2224
2203
  };
2225
- const deserializeAws_restJson1ChimeSdkMeetingConfiguration = (output, context) => {
2204
+ const de_ChimeSdkMeetingConfiguration = (output, context) => {
2226
2205
  return {
2227
2206
  ArtifactsConfiguration: output.ArtifactsConfiguration != null
2228
- ? deserializeAws_restJson1ArtifactsConfiguration(output.ArtifactsConfiguration, context)
2229
- : undefined,
2230
- SourceConfiguration: output.SourceConfiguration != null
2231
- ? deserializeAws_restJson1SourceConfiguration(output.SourceConfiguration, context)
2207
+ ? de_ArtifactsConfiguration(output.ArtifactsConfiguration, context)
2232
2208
  : undefined,
2209
+ SourceConfiguration: output.SourceConfiguration != null ? de_SourceConfiguration(output.SourceConfiguration, context) : undefined,
2233
2210
  };
2234
2211
  };
2235
- const deserializeAws_restJson1ChimeSdkMeetingLiveConnectorConfiguration = (output, context) => {
2212
+ const de_ChimeSdkMeetingLiveConnectorConfiguration = (output, context) => {
2236
2213
  return {
2237
2214
  Arn: __expectString(output.Arn),
2238
2215
  CompositedVideo: output.CompositedVideo != null
2239
- ? deserializeAws_restJson1CompositedVideoArtifactsConfiguration(output.CompositedVideo, context)
2216
+ ? de_CompositedVideoArtifactsConfiguration(output.CompositedVideo, context)
2240
2217
  : undefined,
2241
2218
  MuxType: __expectString(output.MuxType),
2242
- SourceConfiguration: output.SourceConfiguration != null
2243
- ? deserializeAws_restJson1SourceConfiguration(output.SourceConfiguration, context)
2244
- : undefined,
2219
+ SourceConfiguration: output.SourceConfiguration != null ? de_SourceConfiguration(output.SourceConfiguration, context) : undefined,
2245
2220
  };
2246
2221
  };
2247
- const deserializeAws_restJson1CompositedVideoArtifactsConfiguration = (output, context) => {
2222
+ const de_CompositedVideoArtifactsConfiguration = (output, context) => {
2248
2223
  return {
2249
2224
  GridViewConfiguration: output.GridViewConfiguration != null
2250
- ? deserializeAws_restJson1GridViewConfiguration(output.GridViewConfiguration, context)
2225
+ ? de_GridViewConfiguration(output.GridViewConfiguration, context)
2251
2226
  : undefined,
2252
2227
  Layout: __expectString(output.Layout),
2253
2228
  Resolution: __expectString(output.Resolution),
2254
2229
  };
2255
2230
  };
2256
- const deserializeAws_restJson1CompositedVideoConcatenationConfiguration = (output, context) => {
2231
+ const de_CompositedVideoConcatenationConfiguration = (output, context) => {
2257
2232
  return {
2258
2233
  State: __expectString(output.State),
2259
2234
  };
2260
2235
  };
2261
- const deserializeAws_restJson1ConcatenationSink = (output, context) => {
2236
+ const de_ConcatenationSink = (output, context) => {
2262
2237
  return {
2263
2238
  S3BucketSinkConfiguration: output.S3BucketSinkConfiguration != null
2264
- ? deserializeAws_restJson1S3BucketSinkConfiguration(output.S3BucketSinkConfiguration, context)
2239
+ ? de_S3BucketSinkConfiguration(output.S3BucketSinkConfiguration, context)
2265
2240
  : undefined,
2266
2241
  Type: __expectString(output.Type),
2267
2242
  };
2268
2243
  };
2269
- const deserializeAws_restJson1ConcatenationSinkList = (output, context) => {
2244
+ const de_ConcatenationSinkList = (output, context) => {
2270
2245
  const retVal = (output || [])
2271
2246
  .filter((e) => e != null)
2272
2247
  .map((entry) => {
2273
2248
  if (entry === null) {
2274
2249
  return null;
2275
2250
  }
2276
- return deserializeAws_restJson1ConcatenationSink(entry, context);
2251
+ return de_ConcatenationSink(entry, context);
2277
2252
  });
2278
2253
  return retVal;
2279
2254
  };
2280
- const deserializeAws_restJson1ConcatenationSource = (output, context) => {
2255
+ const de_ConcatenationSource = (output, context) => {
2281
2256
  return {
2282
2257
  MediaCapturePipelineSourceConfiguration: output.MediaCapturePipelineSourceConfiguration != null
2283
- ? deserializeAws_restJson1MediaCapturePipelineSourceConfiguration(output.MediaCapturePipelineSourceConfiguration, context)
2258
+ ? de_MediaCapturePipelineSourceConfiguration(output.MediaCapturePipelineSourceConfiguration, context)
2284
2259
  : undefined,
2285
2260
  Type: __expectString(output.Type),
2286
2261
  };
2287
2262
  };
2288
- const deserializeAws_restJson1ConcatenationSourceList = (output, context) => {
2263
+ const de_ConcatenationSourceList = (output, context) => {
2289
2264
  const retVal = (output || [])
2290
2265
  .filter((e) => e != null)
2291
2266
  .map((entry) => {
2292
2267
  if (entry === null) {
2293
2268
  return null;
2294
2269
  }
2295
- return deserializeAws_restJson1ConcatenationSource(entry, context);
2270
+ return de_ConcatenationSource(entry, context);
2296
2271
  });
2297
2272
  return retVal;
2298
2273
  };
2299
- const deserializeAws_restJson1ContentArtifactsConfiguration = (output, context) => {
2274
+ const de_ContentArtifactsConfiguration = (output, context) => {
2300
2275
  return {
2301
2276
  MuxType: __expectString(output.MuxType),
2302
2277
  State: __expectString(output.State),
2303
2278
  };
2304
2279
  };
2305
- const deserializeAws_restJson1ContentConcatenationConfiguration = (output, context) => {
2280
+ const de_ContentConcatenationConfiguration = (output, context) => {
2306
2281
  return {
2307
2282
  State: __expectString(output.State),
2308
2283
  };
2309
2284
  };
2310
- const deserializeAws_restJson1DataChannelConcatenationConfiguration = (output, context) => {
2285
+ const de_DataChannelConcatenationConfiguration = (output, context) => {
2311
2286
  return {
2312
2287
  State: __expectString(output.State),
2313
2288
  };
2314
2289
  };
2315
- const deserializeAws_restJson1ExternalUserIdList = (output, context) => {
2290
+ const de_ExternalUserIdList = (output, context) => {
2316
2291
  const retVal = (output || [])
2317
2292
  .filter((e) => e != null)
2318
2293
  .map((entry) => {
@@ -2323,35 +2298,33 @@ const deserializeAws_restJson1ExternalUserIdList = (output, context) => {
2323
2298
  });
2324
2299
  return retVal;
2325
2300
  };
2326
- const deserializeAws_restJson1FragmentSelector = (output, context) => {
2301
+ const de_FragmentSelector = (output, context) => {
2327
2302
  return {
2328
2303
  FragmentSelectorType: __expectString(output.FragmentSelectorType),
2329
- TimestampRange: output.TimestampRange != null
2330
- ? deserializeAws_restJson1TimestampRange(output.TimestampRange, context)
2331
- : undefined,
2304
+ TimestampRange: output.TimestampRange != null ? de_TimestampRange(output.TimestampRange, context) : undefined,
2332
2305
  };
2333
2306
  };
2334
- const deserializeAws_restJson1GridViewConfiguration = (output, context) => {
2307
+ const de_GridViewConfiguration = (output, context) => {
2335
2308
  return {
2336
2309
  ContentShareLayout: __expectString(output.ContentShareLayout),
2337
2310
  PresenterOnlyConfiguration: output.PresenterOnlyConfiguration != null
2338
- ? deserializeAws_restJson1PresenterOnlyConfiguration(output.PresenterOnlyConfiguration, context)
2311
+ ? de_PresenterOnlyConfiguration(output.PresenterOnlyConfiguration, context)
2339
2312
  : undefined,
2340
2313
  };
2341
2314
  };
2342
- const deserializeAws_restJson1IssueDetectionConfiguration = (output, context) => {
2315
+ const de_IssueDetectionConfiguration = (output, context) => {
2343
2316
  return {
2344
2317
  RuleName: __expectString(output.RuleName),
2345
2318
  };
2346
2319
  };
2347
- const deserializeAws_restJson1KeywordMatchConfiguration = (output, context) => {
2320
+ const de_KeywordMatchConfiguration = (output, context) => {
2348
2321
  return {
2349
- Keywords: output.Keywords != null ? deserializeAws_restJson1KeywordMatchWordList(output.Keywords, context) : undefined,
2322
+ Keywords: output.Keywords != null ? de_KeywordMatchWordList(output.Keywords, context) : undefined,
2350
2323
  Negate: __expectBoolean(output.Negate),
2351
2324
  RuleName: __expectString(output.RuleName),
2352
2325
  };
2353
2326
  };
2354
- const deserializeAws_restJson1KeywordMatchWordList = (output, context) => {
2327
+ const de_KeywordMatchWordList = (output, context) => {
2355
2328
  const retVal = (output || [])
2356
2329
  .filter((e) => e != null)
2357
2330
  .map((entry) => {
@@ -2362,80 +2335,78 @@ const deserializeAws_restJson1KeywordMatchWordList = (output, context) => {
2362
2335
  });
2363
2336
  return retVal;
2364
2337
  };
2365
- const deserializeAws_restJson1KinesisDataStreamSinkConfiguration = (output, context) => {
2338
+ const de_KinesisDataStreamSinkConfiguration = (output, context) => {
2366
2339
  return {
2367
2340
  InsightsTarget: __expectString(output.InsightsTarget),
2368
2341
  };
2369
2342
  };
2370
- const deserializeAws_restJson1KinesisVideoStreamRecordingSourceRuntimeConfiguration = (output, context) => {
2343
+ const de_KinesisVideoStreamRecordingSourceRuntimeConfiguration = (output, context) => {
2371
2344
  return {
2372
- FragmentSelector: output.FragmentSelector != null
2373
- ? deserializeAws_restJson1FragmentSelector(output.FragmentSelector, context)
2374
- : undefined,
2375
- Streams: output.Streams != null ? deserializeAws_restJson1RecordingStreamList(output.Streams, context) : undefined,
2345
+ FragmentSelector: output.FragmentSelector != null ? de_FragmentSelector(output.FragmentSelector, context) : undefined,
2346
+ Streams: output.Streams != null ? de_RecordingStreamList(output.Streams, context) : undefined,
2376
2347
  };
2377
2348
  };
2378
- const deserializeAws_restJson1KinesisVideoStreamSourceRuntimeConfiguration = (output, context) => {
2349
+ const de_KinesisVideoStreamSourceRuntimeConfiguration = (output, context) => {
2379
2350
  return {
2380
2351
  MediaEncoding: __expectString(output.MediaEncoding),
2381
2352
  MediaSampleRate: __expectInt32(output.MediaSampleRate),
2382
- Streams: output.Streams != null ? deserializeAws_restJson1Streams(output.Streams, context) : undefined,
2353
+ Streams: output.Streams != null ? de_Streams(output.Streams, context) : undefined,
2383
2354
  };
2384
2355
  };
2385
- const deserializeAws_restJson1LambdaFunctionSinkConfiguration = (output, context) => {
2356
+ const de_LambdaFunctionSinkConfiguration = (output, context) => {
2386
2357
  return {
2387
2358
  InsightsTarget: __expectString(output.InsightsTarget),
2388
2359
  };
2389
2360
  };
2390
- const deserializeAws_restJson1LiveConnectorRTMPConfiguration = (output, context) => {
2361
+ const de_LiveConnectorRTMPConfiguration = (output, context) => {
2391
2362
  return {
2392
2363
  AudioChannels: __expectString(output.AudioChannels),
2393
2364
  AudioSampleRate: __expectString(output.AudioSampleRate),
2394
2365
  Url: __expectString(output.Url),
2395
2366
  };
2396
2367
  };
2397
- const deserializeAws_restJson1LiveConnectorSinkConfiguration = (output, context) => {
2368
+ const de_LiveConnectorSinkConfiguration = (output, context) => {
2398
2369
  return {
2399
2370
  RTMPConfiguration: output.RTMPConfiguration != null
2400
- ? deserializeAws_restJson1LiveConnectorRTMPConfiguration(output.RTMPConfiguration, context)
2371
+ ? de_LiveConnectorRTMPConfiguration(output.RTMPConfiguration, context)
2401
2372
  : undefined,
2402
2373
  SinkType: __expectString(output.SinkType),
2403
2374
  };
2404
2375
  };
2405
- const deserializeAws_restJson1LiveConnectorSinkList = (output, context) => {
2376
+ const de_LiveConnectorSinkList = (output, context) => {
2406
2377
  const retVal = (output || [])
2407
2378
  .filter((e) => e != null)
2408
2379
  .map((entry) => {
2409
2380
  if (entry === null) {
2410
2381
  return null;
2411
2382
  }
2412
- return deserializeAws_restJson1LiveConnectorSinkConfiguration(entry, context);
2383
+ return de_LiveConnectorSinkConfiguration(entry, context);
2413
2384
  });
2414
2385
  return retVal;
2415
2386
  };
2416
- const deserializeAws_restJson1LiveConnectorSourceConfiguration = (output, context) => {
2387
+ const de_LiveConnectorSourceConfiguration = (output, context) => {
2417
2388
  return {
2418
2389
  ChimeSdkMeetingLiveConnectorConfiguration: output.ChimeSdkMeetingLiveConnectorConfiguration != null
2419
- ? deserializeAws_restJson1ChimeSdkMeetingLiveConnectorConfiguration(output.ChimeSdkMeetingLiveConnectorConfiguration, context)
2390
+ ? de_ChimeSdkMeetingLiveConnectorConfiguration(output.ChimeSdkMeetingLiveConnectorConfiguration, context)
2420
2391
  : undefined,
2421
2392
  SourceType: __expectString(output.SourceType),
2422
2393
  };
2423
2394
  };
2424
- const deserializeAws_restJson1LiveConnectorSourceList = (output, context) => {
2395
+ const de_LiveConnectorSourceList = (output, context) => {
2425
2396
  const retVal = (output || [])
2426
2397
  .filter((e) => e != null)
2427
2398
  .map((entry) => {
2428
2399
  if (entry === null) {
2429
2400
  return null;
2430
2401
  }
2431
- return deserializeAws_restJson1LiveConnectorSourceConfiguration(entry, context);
2402
+ return de_LiveConnectorSourceConfiguration(entry, context);
2432
2403
  });
2433
2404
  return retVal;
2434
2405
  };
2435
- const deserializeAws_restJson1MediaCapturePipeline = (output, context) => {
2406
+ const de_MediaCapturePipeline = (output, context) => {
2436
2407
  return {
2437
2408
  ChimeSdkMeetingConfiguration: output.ChimeSdkMeetingConfiguration != null
2438
- ? deserializeAws_restJson1ChimeSdkMeetingConfiguration(output.ChimeSdkMeetingConfiguration, context)
2409
+ ? de_ChimeSdkMeetingConfiguration(output.ChimeSdkMeetingConfiguration, context)
2439
2410
  : undefined,
2440
2411
  CreatedTimestamp: output.CreatedTimestamp != null
2441
2412
  ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.CreatedTimestamp))
@@ -2452,82 +2423,80 @@ const deserializeAws_restJson1MediaCapturePipeline = (output, context) => {
2452
2423
  : undefined,
2453
2424
  };
2454
2425
  };
2455
- const deserializeAws_restJson1MediaCapturePipelineSourceConfiguration = (output, context) => {
2426
+ const de_MediaCapturePipelineSourceConfiguration = (output, context) => {
2456
2427
  return {
2457
2428
  ChimeSdkMeetingConfiguration: output.ChimeSdkMeetingConfiguration != null
2458
- ? deserializeAws_restJson1ChimeSdkMeetingConcatenationConfiguration(output.ChimeSdkMeetingConfiguration, context)
2429
+ ? de_ChimeSdkMeetingConcatenationConfiguration(output.ChimeSdkMeetingConfiguration, context)
2459
2430
  : undefined,
2460
2431
  MediaPipelineArn: __expectString(output.MediaPipelineArn),
2461
2432
  };
2462
2433
  };
2463
- const deserializeAws_restJson1MediaCapturePipelineSummary = (output, context) => {
2434
+ const de_MediaCapturePipelineSummary = (output, context) => {
2464
2435
  return {
2465
2436
  MediaPipelineArn: __expectString(output.MediaPipelineArn),
2466
2437
  MediaPipelineId: __expectString(output.MediaPipelineId),
2467
2438
  };
2468
2439
  };
2469
- const deserializeAws_restJson1MediaCapturePipelineSummaryList = (output, context) => {
2440
+ const de_MediaCapturePipelineSummaryList = (output, context) => {
2470
2441
  const retVal = (output || [])
2471
2442
  .filter((e) => e != null)
2472
2443
  .map((entry) => {
2473
2444
  if (entry === null) {
2474
2445
  return null;
2475
2446
  }
2476
- return deserializeAws_restJson1MediaCapturePipelineSummary(entry, context);
2447
+ return de_MediaCapturePipelineSummary(entry, context);
2477
2448
  });
2478
2449
  return retVal;
2479
2450
  };
2480
- const deserializeAws_restJson1MediaConcatenationPipeline = (output, context) => {
2451
+ const de_MediaConcatenationPipeline = (output, context) => {
2481
2452
  return {
2482
2453
  CreatedTimestamp: output.CreatedTimestamp != null
2483
2454
  ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.CreatedTimestamp))
2484
2455
  : undefined,
2485
2456
  MediaPipelineArn: __expectString(output.MediaPipelineArn),
2486
2457
  MediaPipelineId: __expectString(output.MediaPipelineId),
2487
- Sinks: output.Sinks != null ? deserializeAws_restJson1ConcatenationSinkList(output.Sinks, context) : undefined,
2488
- Sources: output.Sources != null ? deserializeAws_restJson1ConcatenationSourceList(output.Sources, context) : undefined,
2458
+ Sinks: output.Sinks != null ? de_ConcatenationSinkList(output.Sinks, context) : undefined,
2459
+ Sources: output.Sources != null ? de_ConcatenationSourceList(output.Sources, context) : undefined,
2489
2460
  Status: __expectString(output.Status),
2490
2461
  UpdatedTimestamp: output.UpdatedTimestamp != null
2491
2462
  ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.UpdatedTimestamp))
2492
2463
  : undefined,
2493
2464
  };
2494
2465
  };
2495
- const deserializeAws_restJson1MediaInsightsPipeline = (output, context) => {
2466
+ const de_MediaInsightsPipeline = (output, context) => {
2496
2467
  return {
2497
2468
  CreatedTimestamp: output.CreatedTimestamp != null
2498
2469
  ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.CreatedTimestamp))
2499
2470
  : undefined,
2500
2471
  KinesisVideoStreamRecordingSourceRuntimeConfiguration: output.KinesisVideoStreamRecordingSourceRuntimeConfiguration != null
2501
- ? deserializeAws_restJson1KinesisVideoStreamRecordingSourceRuntimeConfiguration(output.KinesisVideoStreamRecordingSourceRuntimeConfiguration, context)
2472
+ ? de_KinesisVideoStreamRecordingSourceRuntimeConfiguration(output.KinesisVideoStreamRecordingSourceRuntimeConfiguration, context)
2502
2473
  : undefined,
2503
2474
  KinesisVideoStreamSourceRuntimeConfiguration: output.KinesisVideoStreamSourceRuntimeConfiguration != null
2504
- ? deserializeAws_restJson1KinesisVideoStreamSourceRuntimeConfiguration(output.KinesisVideoStreamSourceRuntimeConfiguration, context)
2475
+ ? de_KinesisVideoStreamSourceRuntimeConfiguration(output.KinesisVideoStreamSourceRuntimeConfiguration, context)
2505
2476
  : undefined,
2506
2477
  MediaInsightsPipelineConfigurationArn: __expectString(output.MediaInsightsPipelineConfigurationArn),
2507
2478
  MediaInsightsRuntimeMetadata: output.MediaInsightsRuntimeMetadata != null
2508
- ? deserializeAws_restJson1MediaInsightsRuntimeMetadata(output.MediaInsightsRuntimeMetadata, context)
2479
+ ? de_MediaInsightsRuntimeMetadata(output.MediaInsightsRuntimeMetadata, context)
2509
2480
  : undefined,
2510
2481
  MediaPipelineArn: __expectString(output.MediaPipelineArn),
2511
2482
  MediaPipelineId: __expectString(output.MediaPipelineId),
2512
2483
  S3RecordingSinkRuntimeConfiguration: output.S3RecordingSinkRuntimeConfiguration != null
2513
- ? deserializeAws_restJson1S3RecordingSinkRuntimeConfiguration(output.S3RecordingSinkRuntimeConfiguration, context)
2484
+ ? de_S3RecordingSinkRuntimeConfiguration(output.S3RecordingSinkRuntimeConfiguration, context)
2514
2485
  : undefined,
2515
2486
  Status: __expectString(output.Status),
2516
2487
  };
2517
2488
  };
2518
- const deserializeAws_restJson1MediaInsightsPipelineConfiguration = (output, context) => {
2489
+ const de_MediaInsightsPipelineConfiguration = (output, context) => {
2519
2490
  return {
2520
2491
  CreatedTimestamp: output.CreatedTimestamp != null
2521
2492
  ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.CreatedTimestamp))
2522
2493
  : undefined,
2523
- Elements: output.Elements != null
2524
- ? deserializeAws_restJson1MediaInsightsPipelineConfigurationElements(output.Elements, context)
2525
- : undefined,
2494
+ Elements: output.Elements != null ? de_MediaInsightsPipelineConfigurationElements(output.Elements, context) : undefined,
2526
2495
  MediaInsightsPipelineConfigurationArn: __expectString(output.MediaInsightsPipelineConfigurationArn),
2527
2496
  MediaInsightsPipelineConfigurationId: __expectString(output.MediaInsightsPipelineConfigurationId),
2528
2497
  MediaInsightsPipelineConfigurationName: __expectString(output.MediaInsightsPipelineConfigurationName),
2529
2498
  RealTimeAlertConfiguration: output.RealTimeAlertConfiguration != null
2530
- ? deserializeAws_restJson1RealTimeAlertConfiguration(output.RealTimeAlertConfiguration, context)
2499
+ ? de_RealTimeAlertConfiguration(output.RealTimeAlertConfiguration, context)
2531
2500
  : undefined,
2532
2501
  ResourceAccessRoleArn: __expectString(output.ResourceAccessRoleArn),
2533
2502
  UpdatedTimestamp: output.UpdatedTimestamp != null
@@ -2535,65 +2504,65 @@ const deserializeAws_restJson1MediaInsightsPipelineConfiguration = (output, cont
2535
2504
  : undefined,
2536
2505
  };
2537
2506
  };
2538
- const deserializeAws_restJson1MediaInsightsPipelineConfigurationElement = (output, context) => {
2507
+ const de_MediaInsightsPipelineConfigurationElement = (output, context) => {
2539
2508
  return {
2540
2509
  AmazonTranscribeCallAnalyticsProcessorConfiguration: output.AmazonTranscribeCallAnalyticsProcessorConfiguration != null
2541
- ? deserializeAws_restJson1AmazonTranscribeCallAnalyticsProcessorConfiguration(output.AmazonTranscribeCallAnalyticsProcessorConfiguration, context)
2510
+ ? de_AmazonTranscribeCallAnalyticsProcessorConfiguration(output.AmazonTranscribeCallAnalyticsProcessorConfiguration, context)
2542
2511
  : undefined,
2543
2512
  AmazonTranscribeProcessorConfiguration: output.AmazonTranscribeProcessorConfiguration != null
2544
- ? deserializeAws_restJson1AmazonTranscribeProcessorConfiguration(output.AmazonTranscribeProcessorConfiguration, context)
2513
+ ? de_AmazonTranscribeProcessorConfiguration(output.AmazonTranscribeProcessorConfiguration, context)
2545
2514
  : undefined,
2546
2515
  KinesisDataStreamSinkConfiguration: output.KinesisDataStreamSinkConfiguration != null
2547
- ? deserializeAws_restJson1KinesisDataStreamSinkConfiguration(output.KinesisDataStreamSinkConfiguration, context)
2516
+ ? de_KinesisDataStreamSinkConfiguration(output.KinesisDataStreamSinkConfiguration, context)
2548
2517
  : undefined,
2549
2518
  LambdaFunctionSinkConfiguration: output.LambdaFunctionSinkConfiguration != null
2550
- ? deserializeAws_restJson1LambdaFunctionSinkConfiguration(output.LambdaFunctionSinkConfiguration, context)
2519
+ ? de_LambdaFunctionSinkConfiguration(output.LambdaFunctionSinkConfiguration, context)
2551
2520
  : undefined,
2552
2521
  S3RecordingSinkConfiguration: output.S3RecordingSinkConfiguration != null
2553
- ? deserializeAws_restJson1S3RecordingSinkConfiguration(output.S3RecordingSinkConfiguration, context)
2522
+ ? de_S3RecordingSinkConfiguration(output.S3RecordingSinkConfiguration, context)
2554
2523
  : undefined,
2555
2524
  SnsTopicSinkConfiguration: output.SnsTopicSinkConfiguration != null
2556
- ? deserializeAws_restJson1SnsTopicSinkConfiguration(output.SnsTopicSinkConfiguration, context)
2525
+ ? de_SnsTopicSinkConfiguration(output.SnsTopicSinkConfiguration, context)
2557
2526
  : undefined,
2558
2527
  SqsQueueSinkConfiguration: output.SqsQueueSinkConfiguration != null
2559
- ? deserializeAws_restJson1SqsQueueSinkConfiguration(output.SqsQueueSinkConfiguration, context)
2528
+ ? de_SqsQueueSinkConfiguration(output.SqsQueueSinkConfiguration, context)
2560
2529
  : undefined,
2561
2530
  Type: __expectString(output.Type),
2562
2531
  VoiceAnalyticsProcessorConfiguration: output.VoiceAnalyticsProcessorConfiguration != null
2563
- ? deserializeAws_restJson1VoiceAnalyticsProcessorConfiguration(output.VoiceAnalyticsProcessorConfiguration, context)
2532
+ ? de_VoiceAnalyticsProcessorConfiguration(output.VoiceAnalyticsProcessorConfiguration, context)
2564
2533
  : undefined,
2565
2534
  };
2566
2535
  };
2567
- const deserializeAws_restJson1MediaInsightsPipelineConfigurationElements = (output, context) => {
2536
+ const de_MediaInsightsPipelineConfigurationElements = (output, context) => {
2568
2537
  const retVal = (output || [])
2569
2538
  .filter((e) => e != null)
2570
2539
  .map((entry) => {
2571
2540
  if (entry === null) {
2572
2541
  return null;
2573
2542
  }
2574
- return deserializeAws_restJson1MediaInsightsPipelineConfigurationElement(entry, context);
2543
+ return de_MediaInsightsPipelineConfigurationElement(entry, context);
2575
2544
  });
2576
2545
  return retVal;
2577
2546
  };
2578
- const deserializeAws_restJson1MediaInsightsPipelineConfigurationSummary = (output, context) => {
2547
+ const de_MediaInsightsPipelineConfigurationSummary = (output, context) => {
2579
2548
  return {
2580
2549
  MediaInsightsPipelineConfigurationArn: __expectString(output.MediaInsightsPipelineConfigurationArn),
2581
2550
  MediaInsightsPipelineConfigurationId: __expectString(output.MediaInsightsPipelineConfigurationId),
2582
2551
  MediaInsightsPipelineConfigurationName: __expectString(output.MediaInsightsPipelineConfigurationName),
2583
2552
  };
2584
2553
  };
2585
- const deserializeAws_restJson1MediaInsightsPipelineConfigurationSummaryList = (output, context) => {
2554
+ const de_MediaInsightsPipelineConfigurationSummaryList = (output, context) => {
2586
2555
  const retVal = (output || [])
2587
2556
  .filter((e) => e != null)
2588
2557
  .map((entry) => {
2589
2558
  if (entry === null) {
2590
2559
  return null;
2591
2560
  }
2592
- return deserializeAws_restJson1MediaInsightsPipelineConfigurationSummary(entry, context);
2561
+ return de_MediaInsightsPipelineConfigurationSummary(entry, context);
2593
2562
  });
2594
2563
  return retVal;
2595
2564
  };
2596
- const deserializeAws_restJson1MediaInsightsRuntimeMetadata = (output, context) => {
2565
+ const de_MediaInsightsRuntimeMetadata = (output, context) => {
2597
2566
  return Object.entries(output).reduce((acc, [key, value]) => {
2598
2567
  if (value === null) {
2599
2568
  return acc;
@@ -2602,60 +2571,58 @@ const deserializeAws_restJson1MediaInsightsRuntimeMetadata = (output, context) =
2602
2571
  return acc;
2603
2572
  }, {});
2604
2573
  };
2605
- const deserializeAws_restJson1MediaLiveConnectorPipeline = (output, context) => {
2574
+ const de_MediaLiveConnectorPipeline = (output, context) => {
2606
2575
  return {
2607
2576
  CreatedTimestamp: output.CreatedTimestamp != null
2608
2577
  ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.CreatedTimestamp))
2609
2578
  : undefined,
2610
2579
  MediaPipelineArn: __expectString(output.MediaPipelineArn),
2611
2580
  MediaPipelineId: __expectString(output.MediaPipelineId),
2612
- Sinks: output.Sinks != null ? deserializeAws_restJson1LiveConnectorSinkList(output.Sinks, context) : undefined,
2613
- Sources: output.Sources != null ? deserializeAws_restJson1LiveConnectorSourceList(output.Sources, context) : undefined,
2581
+ Sinks: output.Sinks != null ? de_LiveConnectorSinkList(output.Sinks, context) : undefined,
2582
+ Sources: output.Sources != null ? de_LiveConnectorSourceList(output.Sources, context) : undefined,
2614
2583
  Status: __expectString(output.Status),
2615
2584
  UpdatedTimestamp: output.UpdatedTimestamp != null
2616
2585
  ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.UpdatedTimestamp))
2617
2586
  : undefined,
2618
2587
  };
2619
2588
  };
2620
- const deserializeAws_restJson1MediaPipeline = (output, context) => {
2589
+ const de_MediaPipeline = (output, context) => {
2621
2590
  return {
2622
- MediaCapturePipeline: output.MediaCapturePipeline != null
2623
- ? deserializeAws_restJson1MediaCapturePipeline(output.MediaCapturePipeline, context)
2624
- : undefined,
2591
+ MediaCapturePipeline: output.MediaCapturePipeline != null ? de_MediaCapturePipeline(output.MediaCapturePipeline, context) : undefined,
2625
2592
  MediaConcatenationPipeline: output.MediaConcatenationPipeline != null
2626
- ? deserializeAws_restJson1MediaConcatenationPipeline(output.MediaConcatenationPipeline, context)
2593
+ ? de_MediaConcatenationPipeline(output.MediaConcatenationPipeline, context)
2627
2594
  : undefined,
2628
2595
  MediaInsightsPipeline: output.MediaInsightsPipeline != null
2629
- ? deserializeAws_restJson1MediaInsightsPipeline(output.MediaInsightsPipeline, context)
2596
+ ? de_MediaInsightsPipeline(output.MediaInsightsPipeline, context)
2630
2597
  : undefined,
2631
2598
  MediaLiveConnectorPipeline: output.MediaLiveConnectorPipeline != null
2632
- ? deserializeAws_restJson1MediaLiveConnectorPipeline(output.MediaLiveConnectorPipeline, context)
2599
+ ? de_MediaLiveConnectorPipeline(output.MediaLiveConnectorPipeline, context)
2633
2600
  : undefined,
2634
2601
  };
2635
2602
  };
2636
- const deserializeAws_restJson1MediaPipelineList = (output, context) => {
2603
+ const de_MediaPipelineList = (output, context) => {
2637
2604
  const retVal = (output || [])
2638
2605
  .filter((e) => e != null)
2639
2606
  .map((entry) => {
2640
2607
  if (entry === null) {
2641
2608
  return null;
2642
2609
  }
2643
- return deserializeAws_restJson1MediaPipelineSummary(entry, context);
2610
+ return de_MediaPipelineSummary(entry, context);
2644
2611
  });
2645
2612
  return retVal;
2646
2613
  };
2647
- const deserializeAws_restJson1MediaPipelineSummary = (output, context) => {
2614
+ const de_MediaPipelineSummary = (output, context) => {
2648
2615
  return {
2649
2616
  MediaPipelineArn: __expectString(output.MediaPipelineArn),
2650
2617
  MediaPipelineId: __expectString(output.MediaPipelineId),
2651
2618
  };
2652
2619
  };
2653
- const deserializeAws_restJson1MeetingEventsConcatenationConfiguration = (output, context) => {
2620
+ const de_MeetingEventsConcatenationConfiguration = (output, context) => {
2654
2621
  return {
2655
2622
  State: __expectString(output.State),
2656
2623
  };
2657
2624
  };
2658
- const deserializeAws_restJson1PostCallAnalyticsSettings = (output, context) => {
2625
+ const de_PostCallAnalyticsSettings = (output, context) => {
2659
2626
  return {
2660
2627
  ContentRedactionOutput: __expectString(output.ContentRedactionOutput),
2661
2628
  DataAccessRoleArn: __expectString(output.DataAccessRoleArn),
@@ -2663,152 +2630,146 @@ const deserializeAws_restJson1PostCallAnalyticsSettings = (output, context) => {
2663
2630
  OutputLocation: __expectString(output.OutputLocation),
2664
2631
  };
2665
2632
  };
2666
- const deserializeAws_restJson1PresenterOnlyConfiguration = (output, context) => {
2633
+ const de_PresenterOnlyConfiguration = (output, context) => {
2667
2634
  return {
2668
2635
  PresenterPosition: __expectString(output.PresenterPosition),
2669
2636
  };
2670
2637
  };
2671
- const deserializeAws_restJson1RealTimeAlertConfiguration = (output, context) => {
2638
+ const de_RealTimeAlertConfiguration = (output, context) => {
2672
2639
  return {
2673
2640
  Disabled: __expectBoolean(output.Disabled),
2674
- Rules: output.Rules != null ? deserializeAws_restJson1RealTimeAlertRuleList(output.Rules, context) : undefined,
2641
+ Rules: output.Rules != null ? de_RealTimeAlertRuleList(output.Rules, context) : undefined,
2675
2642
  };
2676
2643
  };
2677
- const deserializeAws_restJson1RealTimeAlertRule = (output, context) => {
2644
+ const de_RealTimeAlertRule = (output, context) => {
2678
2645
  return {
2679
2646
  IssueDetectionConfiguration: output.IssueDetectionConfiguration != null
2680
- ? deserializeAws_restJson1IssueDetectionConfiguration(output.IssueDetectionConfiguration, context)
2647
+ ? de_IssueDetectionConfiguration(output.IssueDetectionConfiguration, context)
2681
2648
  : undefined,
2682
2649
  KeywordMatchConfiguration: output.KeywordMatchConfiguration != null
2683
- ? deserializeAws_restJson1KeywordMatchConfiguration(output.KeywordMatchConfiguration, context)
2650
+ ? de_KeywordMatchConfiguration(output.KeywordMatchConfiguration, context)
2684
2651
  : undefined,
2685
2652
  SentimentConfiguration: output.SentimentConfiguration != null
2686
- ? deserializeAws_restJson1SentimentConfiguration(output.SentimentConfiguration, context)
2653
+ ? de_SentimentConfiguration(output.SentimentConfiguration, context)
2687
2654
  : undefined,
2688
2655
  Type: __expectString(output.Type),
2689
2656
  };
2690
2657
  };
2691
- const deserializeAws_restJson1RealTimeAlertRuleList = (output, context) => {
2658
+ const de_RealTimeAlertRuleList = (output, context) => {
2692
2659
  const retVal = (output || [])
2693
2660
  .filter((e) => e != null)
2694
2661
  .map((entry) => {
2695
2662
  if (entry === null) {
2696
2663
  return null;
2697
2664
  }
2698
- return deserializeAws_restJson1RealTimeAlertRule(entry, context);
2665
+ return de_RealTimeAlertRule(entry, context);
2699
2666
  });
2700
2667
  return retVal;
2701
2668
  };
2702
- const deserializeAws_restJson1RecordingStreamConfiguration = (output, context) => {
2669
+ const de_RecordingStreamConfiguration = (output, context) => {
2703
2670
  return {
2704
2671
  StreamArn: __expectString(output.StreamArn),
2705
2672
  };
2706
2673
  };
2707
- const deserializeAws_restJson1RecordingStreamList = (output, context) => {
2674
+ const de_RecordingStreamList = (output, context) => {
2708
2675
  const retVal = (output || [])
2709
2676
  .filter((e) => e != null)
2710
2677
  .map((entry) => {
2711
2678
  if (entry === null) {
2712
2679
  return null;
2713
2680
  }
2714
- return deserializeAws_restJson1RecordingStreamConfiguration(entry, context);
2681
+ return de_RecordingStreamConfiguration(entry, context);
2715
2682
  });
2716
2683
  return retVal;
2717
2684
  };
2718
- const deserializeAws_restJson1S3BucketSinkConfiguration = (output, context) => {
2685
+ const de_S3BucketSinkConfiguration = (output, context) => {
2719
2686
  return {
2720
2687
  Destination: __expectString(output.Destination),
2721
2688
  };
2722
2689
  };
2723
- const deserializeAws_restJson1S3RecordingSinkConfiguration = (output, context) => {
2690
+ const de_S3RecordingSinkConfiguration = (output, context) => {
2724
2691
  return {
2725
2692
  Destination: __expectString(output.Destination),
2726
2693
  };
2727
2694
  };
2728
- const deserializeAws_restJson1S3RecordingSinkRuntimeConfiguration = (output, context) => {
2695
+ const de_S3RecordingSinkRuntimeConfiguration = (output, context) => {
2729
2696
  return {
2730
2697
  Destination: __expectString(output.Destination),
2731
2698
  RecordingFileFormat: __expectString(output.RecordingFileFormat),
2732
2699
  };
2733
2700
  };
2734
- const deserializeAws_restJson1SelectedVideoStreams = (output, context) => {
2701
+ const de_SelectedVideoStreams = (output, context) => {
2735
2702
  return {
2736
- AttendeeIds: output.AttendeeIds != null ? deserializeAws_restJson1AttendeeIdList(output.AttendeeIds, context) : undefined,
2737
- ExternalUserIds: output.ExternalUserIds != null
2738
- ? deserializeAws_restJson1ExternalUserIdList(output.ExternalUserIds, context)
2739
- : undefined,
2703
+ AttendeeIds: output.AttendeeIds != null ? de_AttendeeIdList(output.AttendeeIds, context) : undefined,
2704
+ ExternalUserIds: output.ExternalUserIds != null ? de_ExternalUserIdList(output.ExternalUserIds, context) : undefined,
2740
2705
  };
2741
2706
  };
2742
- const deserializeAws_restJson1SentimentConfiguration = (output, context) => {
2707
+ const de_SentimentConfiguration = (output, context) => {
2743
2708
  return {
2744
2709
  RuleName: __expectString(output.RuleName),
2745
2710
  SentimentType: __expectString(output.SentimentType),
2746
2711
  TimePeriod: __expectInt32(output.TimePeriod),
2747
2712
  };
2748
2713
  };
2749
- const deserializeAws_restJson1SnsTopicSinkConfiguration = (output, context) => {
2714
+ const de_SnsTopicSinkConfiguration = (output, context) => {
2750
2715
  return {
2751
2716
  InsightsTarget: __expectString(output.InsightsTarget),
2752
2717
  };
2753
2718
  };
2754
- const deserializeAws_restJson1SourceConfiguration = (output, context) => {
2719
+ const de_SourceConfiguration = (output, context) => {
2755
2720
  return {
2756
- SelectedVideoStreams: output.SelectedVideoStreams != null
2757
- ? deserializeAws_restJson1SelectedVideoStreams(output.SelectedVideoStreams, context)
2758
- : undefined,
2721
+ SelectedVideoStreams: output.SelectedVideoStreams != null ? de_SelectedVideoStreams(output.SelectedVideoStreams, context) : undefined,
2759
2722
  };
2760
2723
  };
2761
- const deserializeAws_restJson1SqsQueueSinkConfiguration = (output, context) => {
2724
+ const de_SqsQueueSinkConfiguration = (output, context) => {
2762
2725
  return {
2763
2726
  InsightsTarget: __expectString(output.InsightsTarget),
2764
2727
  };
2765
2728
  };
2766
- const deserializeAws_restJson1StreamChannelDefinition = (output, context) => {
2729
+ const de_StreamChannelDefinition = (output, context) => {
2767
2730
  return {
2768
- ChannelDefinitions: output.ChannelDefinitions != null
2769
- ? deserializeAws_restJson1ChannelDefinitions(output.ChannelDefinitions, context)
2770
- : undefined,
2731
+ ChannelDefinitions: output.ChannelDefinitions != null ? de_ChannelDefinitions(output.ChannelDefinitions, context) : undefined,
2771
2732
  NumberOfChannels: __expectInt32(output.NumberOfChannels),
2772
2733
  };
2773
2734
  };
2774
- const deserializeAws_restJson1StreamConfiguration = (output, context) => {
2735
+ const de_StreamConfiguration = (output, context) => {
2775
2736
  return {
2776
2737
  FragmentNumber: __expectString(output.FragmentNumber),
2777
2738
  StreamArn: __expectString(output.StreamArn),
2778
2739
  StreamChannelDefinition: output.StreamChannelDefinition != null
2779
- ? deserializeAws_restJson1StreamChannelDefinition(output.StreamChannelDefinition, context)
2740
+ ? de_StreamChannelDefinition(output.StreamChannelDefinition, context)
2780
2741
  : undefined,
2781
2742
  };
2782
2743
  };
2783
- const deserializeAws_restJson1Streams = (output, context) => {
2744
+ const de_Streams = (output, context) => {
2784
2745
  const retVal = (output || [])
2785
2746
  .filter((e) => e != null)
2786
2747
  .map((entry) => {
2787
2748
  if (entry === null) {
2788
2749
  return null;
2789
2750
  }
2790
- return deserializeAws_restJson1StreamConfiguration(entry, context);
2751
+ return de_StreamConfiguration(entry, context);
2791
2752
  });
2792
2753
  return retVal;
2793
2754
  };
2794
- const deserializeAws_restJson1Tag = (output, context) => {
2755
+ const de_Tag = (output, context) => {
2795
2756
  return {
2796
2757
  Key: __expectString(output.Key),
2797
2758
  Value: __expectString(output.Value),
2798
2759
  };
2799
2760
  };
2800
- const deserializeAws_restJson1TagList = (output, context) => {
2761
+ const de_TagList = (output, context) => {
2801
2762
  const retVal = (output || [])
2802
2763
  .filter((e) => e != null)
2803
2764
  .map((entry) => {
2804
2765
  if (entry === null) {
2805
2766
  return null;
2806
2767
  }
2807
- return deserializeAws_restJson1Tag(entry, context);
2768
+ return de_Tag(entry, context);
2808
2769
  });
2809
2770
  return retVal;
2810
2771
  };
2811
- const deserializeAws_restJson1TimestampRange = (output, context) => {
2772
+ const de_TimestampRange = (output, context) => {
2812
2773
  return {
2813
2774
  EndTimestamp: output.EndTimestamp != null
2814
2775
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EndTimestamp)))
@@ -2818,23 +2779,23 @@ const deserializeAws_restJson1TimestampRange = (output, context) => {
2818
2779
  : undefined,
2819
2780
  };
2820
2781
  };
2821
- const deserializeAws_restJson1TranscriptionMessagesConcatenationConfiguration = (output, context) => {
2782
+ const de_TranscriptionMessagesConcatenationConfiguration = (output, context) => {
2822
2783
  return {
2823
2784
  State: __expectString(output.State),
2824
2785
  };
2825
2786
  };
2826
- const deserializeAws_restJson1VideoArtifactsConfiguration = (output, context) => {
2787
+ const de_VideoArtifactsConfiguration = (output, context) => {
2827
2788
  return {
2828
2789
  MuxType: __expectString(output.MuxType),
2829
2790
  State: __expectString(output.State),
2830
2791
  };
2831
2792
  };
2832
- const deserializeAws_restJson1VideoConcatenationConfiguration = (output, context) => {
2793
+ const de_VideoConcatenationConfiguration = (output, context) => {
2833
2794
  return {
2834
2795
  State: __expectString(output.State),
2835
2796
  };
2836
2797
  };
2837
- const deserializeAws_restJson1VoiceAnalyticsProcessorConfiguration = (output, context) => {
2798
+ const de_VoiceAnalyticsProcessorConfiguration = (output, context) => {
2838
2799
  return {
2839
2800
  SpeakerSearchStatus: __expectString(output.SpeakerSearchStatus),
2840
2801
  VoiceToneAnalysisStatus: __expectString(output.VoiceToneAnalysisStatus),