@aws-sdk/client-chime-sdk-media-pipelines 3.310.0 → 3.315.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/protocols/Aws_restJson1.js +290 -1486
- package/dist-es/protocols/Aws_restJson1.js +257 -1453
- package/package.json +6 -6
|
@@ -13,17 +13,15 @@ const se_CreateMediaCapturePipelineCommand = async (input, context) => {
|
|
|
13
13
|
};
|
|
14
14
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/sdk-media-capture-pipelines";
|
|
15
15
|
let body;
|
|
16
|
-
body = JSON.stringify({
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
26
|
-
});
|
|
16
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
17
|
+
ChimeSdkMeetingConfiguration: (_) => (0, smithy_client_1._json)(_),
|
|
18
|
+
ClientRequestToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
19
|
+
SinkArn: [],
|
|
20
|
+
SinkType: [],
|
|
21
|
+
SourceArn: [],
|
|
22
|
+
SourceType: [],
|
|
23
|
+
Tags: (_) => (0, smithy_client_1._json)(_),
|
|
24
|
+
}));
|
|
27
25
|
return new protocol_http_1.HttpRequest({
|
|
28
26
|
protocol,
|
|
29
27
|
hostname,
|
|
@@ -42,12 +40,12 @@ const se_CreateMediaConcatenationPipelineCommand = async (input, context) => {
|
|
|
42
40
|
};
|
|
43
41
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/sdk-media-concatenation-pipelines";
|
|
44
42
|
let body;
|
|
45
|
-
body = JSON.stringify({
|
|
46
|
-
ClientRequestToken:
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
});
|
|
43
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
44
|
+
ClientRequestToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
45
|
+
Sinks: (_) => (0, smithy_client_1._json)(_),
|
|
46
|
+
Sources: (_) => (0, smithy_client_1._json)(_),
|
|
47
|
+
Tags: (_) => (0, smithy_client_1._json)(_),
|
|
48
|
+
}));
|
|
51
49
|
return new protocol_http_1.HttpRequest({
|
|
52
50
|
protocol,
|
|
53
51
|
hostname,
|
|
@@ -66,25 +64,15 @@ const se_CreateMediaInsightsPipelineCommand = async (input, context) => {
|
|
|
66
64
|
};
|
|
67
65
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/media-insights-pipelines";
|
|
68
66
|
let body;
|
|
69
|
-
body = JSON.stringify({
|
|
70
|
-
ClientRequestToken:
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
MediaInsightsPipelineConfigurationArn: input.MediaInsightsPipelineConfigurationArn,
|
|
79
|
-
}),
|
|
80
|
-
...(input.MediaInsightsRuntimeMetadata != null && {
|
|
81
|
-
MediaInsightsRuntimeMetadata: se_MediaInsightsRuntimeMetadata(input.MediaInsightsRuntimeMetadata, context),
|
|
82
|
-
}),
|
|
83
|
-
...(input.S3RecordingSinkRuntimeConfiguration != null && {
|
|
84
|
-
S3RecordingSinkRuntimeConfiguration: se_S3RecordingSinkRuntimeConfiguration(input.S3RecordingSinkRuntimeConfiguration, context),
|
|
85
|
-
}),
|
|
86
|
-
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
87
|
-
});
|
|
67
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
68
|
+
ClientRequestToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
69
|
+
KinesisVideoStreamRecordingSourceRuntimeConfiguration: (_) => se_KinesisVideoStreamRecordingSourceRuntimeConfiguration(_, context),
|
|
70
|
+
KinesisVideoStreamSourceRuntimeConfiguration: (_) => (0, smithy_client_1._json)(_),
|
|
71
|
+
MediaInsightsPipelineConfigurationArn: [],
|
|
72
|
+
MediaInsightsRuntimeMetadata: (_) => (0, smithy_client_1._json)(_),
|
|
73
|
+
S3RecordingSinkRuntimeConfiguration: (_) => (0, smithy_client_1._json)(_),
|
|
74
|
+
Tags: (_) => (0, smithy_client_1._json)(_),
|
|
75
|
+
}));
|
|
88
76
|
return new protocol_http_1.HttpRequest({
|
|
89
77
|
protocol,
|
|
90
78
|
hostname,
|
|
@@ -103,18 +91,14 @@ const se_CreateMediaInsightsPipelineConfigurationCommand = async (input, context
|
|
|
103
91
|
};
|
|
104
92
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/media-insights-pipeline-configurations";
|
|
105
93
|
let body;
|
|
106
|
-
body = JSON.stringify({
|
|
107
|
-
ClientRequestToken:
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
}),
|
|
115
|
-
...(input.ResourceAccessRoleArn != null && { ResourceAccessRoleArn: input.ResourceAccessRoleArn }),
|
|
116
|
-
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
117
|
-
});
|
|
94
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
95
|
+
ClientRequestToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
96
|
+
Elements: (_) => (0, smithy_client_1._json)(_),
|
|
97
|
+
MediaInsightsPipelineConfigurationName: [],
|
|
98
|
+
RealTimeAlertConfiguration: (_) => (0, smithy_client_1._json)(_),
|
|
99
|
+
ResourceAccessRoleArn: [],
|
|
100
|
+
Tags: (_) => (0, smithy_client_1._json)(_),
|
|
101
|
+
}));
|
|
118
102
|
return new protocol_http_1.HttpRequest({
|
|
119
103
|
protocol,
|
|
120
104
|
hostname,
|
|
@@ -133,12 +117,12 @@ const se_CreateMediaLiveConnectorPipelineCommand = async (input, context) => {
|
|
|
133
117
|
};
|
|
134
118
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/sdk-media-live-connector-pipelines";
|
|
135
119
|
let body;
|
|
136
|
-
body = JSON.stringify({
|
|
137
|
-
ClientRequestToken:
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
});
|
|
120
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
121
|
+
ClientRequestToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
122
|
+
Sinks: (_) => (0, smithy_client_1._json)(_),
|
|
123
|
+
Sources: (_) => (0, smithy_client_1._json)(_),
|
|
124
|
+
Tags: (_) => (0, smithy_client_1._json)(_),
|
|
125
|
+
}));
|
|
142
126
|
return new protocol_http_1.HttpRequest({
|
|
143
127
|
protocol,
|
|
144
128
|
hostname,
|
|
@@ -260,7 +244,7 @@ const se_ListMediaCapturePipelinesCommand = async (input, context) => {
|
|
|
260
244
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
261
245
|
const headers = {};
|
|
262
246
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/sdk-media-capture-pipelines";
|
|
263
|
-
const query = map({
|
|
247
|
+
const query = (0, smithy_client_1.map)({
|
|
264
248
|
"next-token": [, input.NextToken],
|
|
265
249
|
"max-results": [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],
|
|
266
250
|
});
|
|
@@ -281,7 +265,7 @@ const se_ListMediaInsightsPipelineConfigurationsCommand = async (input, context)
|
|
|
281
265
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
282
266
|
const headers = {};
|
|
283
267
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/media-insights-pipeline-configurations";
|
|
284
|
-
const query = map({
|
|
268
|
+
const query = (0, smithy_client_1.map)({
|
|
285
269
|
"next-token": [, input.NextToken],
|
|
286
270
|
"max-results": [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],
|
|
287
271
|
});
|
|
@@ -302,7 +286,7 @@ const se_ListMediaPipelinesCommand = async (input, context) => {
|
|
|
302
286
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
303
287
|
const headers = {};
|
|
304
288
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/sdk-media-pipelines";
|
|
305
|
-
const query = map({
|
|
289
|
+
const query = (0, smithy_client_1.map)({
|
|
306
290
|
"next-token": [, input.NextToken],
|
|
307
291
|
"max-results": [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],
|
|
308
292
|
});
|
|
@@ -323,7 +307,7 @@ const se_ListTagsForResourceCommand = async (input, context) => {
|
|
|
323
307
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
324
308
|
const headers = {};
|
|
325
309
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags";
|
|
326
|
-
const query = map({
|
|
310
|
+
const query = (0, smithy_client_1.map)({
|
|
327
311
|
arn: [, (0, smithy_client_1.expectNonNull)(input.ResourceARN, `ResourceARN`)],
|
|
328
312
|
});
|
|
329
313
|
let body;
|
|
@@ -345,14 +329,14 @@ const se_TagResourceCommand = async (input, context) => {
|
|
|
345
329
|
"content-type": "application/json",
|
|
346
330
|
};
|
|
347
331
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags";
|
|
348
|
-
const query = map({
|
|
332
|
+
const query = (0, smithy_client_1.map)({
|
|
349
333
|
operation: [, "tag-resource"],
|
|
350
334
|
});
|
|
351
335
|
let body;
|
|
352
|
-
body = JSON.stringify({
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
});
|
|
336
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
337
|
+
ResourceARN: [],
|
|
338
|
+
Tags: (_) => (0, smithy_client_1._json)(_),
|
|
339
|
+
}));
|
|
356
340
|
return new protocol_http_1.HttpRequest({
|
|
357
341
|
protocol,
|
|
358
342
|
hostname,
|
|
@@ -371,14 +355,14 @@ const se_UntagResourceCommand = async (input, context) => {
|
|
|
371
355
|
"content-type": "application/json",
|
|
372
356
|
};
|
|
373
357
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags";
|
|
374
|
-
const query = map({
|
|
358
|
+
const query = (0, smithy_client_1.map)({
|
|
375
359
|
operation: [, "untag-resource"],
|
|
376
360
|
});
|
|
377
361
|
let body;
|
|
378
|
-
body = JSON.stringify({
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
});
|
|
362
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
363
|
+
ResourceARN: [],
|
|
364
|
+
TagKeys: (_) => (0, smithy_client_1._json)(_),
|
|
365
|
+
}));
|
|
382
366
|
return new protocol_http_1.HttpRequest({
|
|
383
367
|
protocol,
|
|
384
368
|
hostname,
|
|
@@ -400,13 +384,11 @@ const se_UpdateMediaInsightsPipelineConfigurationCommand = async (input, context
|
|
|
400
384
|
"/media-insights-pipeline-configurations/{Identifier}";
|
|
401
385
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Identifier", () => input.Identifier, "{Identifier}", false);
|
|
402
386
|
let body;
|
|
403
|
-
body = JSON.stringify({
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
...(input.ResourceAccessRoleArn != null && { ResourceAccessRoleArn: input.ResourceAccessRoleArn }),
|
|
409
|
-
});
|
|
387
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
388
|
+
Elements: (_) => (0, smithy_client_1._json)(_),
|
|
389
|
+
RealTimeAlertConfiguration: (_) => (0, smithy_client_1._json)(_),
|
|
390
|
+
ResourceAccessRoleArn: [],
|
|
391
|
+
}));
|
|
410
392
|
return new protocol_http_1.HttpRequest({
|
|
411
393
|
protocol,
|
|
412
394
|
hostname,
|
|
@@ -427,9 +409,9 @@ const se_UpdateMediaInsightsPipelineStatusCommand = async (input, context) => {
|
|
|
427
409
|
"/media-insights-pipeline-status/{Identifier}";
|
|
428
410
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Identifier", () => input.Identifier, "{Identifier}", false);
|
|
429
411
|
let body;
|
|
430
|
-
body = JSON.stringify({
|
|
431
|
-
|
|
432
|
-
});
|
|
412
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
413
|
+
UpdateStatus: [],
|
|
414
|
+
}));
|
|
433
415
|
return new protocol_http_1.HttpRequest({
|
|
434
416
|
protocol,
|
|
435
417
|
hostname,
|
|
@@ -445,13 +427,14 @@ const de_CreateMediaCapturePipelineCommand = async (output, context) => {
|
|
|
445
427
|
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
446
428
|
return de_CreateMediaCapturePipelineCommandError(output, context);
|
|
447
429
|
}
|
|
448
|
-
const contents = map({
|
|
430
|
+
const contents = (0, smithy_client_1.map)({
|
|
449
431
|
$metadata: deserializeMetadata(output),
|
|
450
432
|
});
|
|
451
433
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
}
|
|
434
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
435
|
+
MediaCapturePipeline: (_) => de_MediaCapturePipeline(_, context),
|
|
436
|
+
});
|
|
437
|
+
Object.assign(contents, doc);
|
|
455
438
|
return contents;
|
|
456
439
|
};
|
|
457
440
|
exports.de_CreateMediaCapturePipelineCommand = de_CreateMediaCapturePipelineCommand;
|
|
@@ -485,10 +468,9 @@ const de_CreateMediaCapturePipelineCommandError = async (output, context) => {
|
|
|
485
468
|
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
|
486
469
|
default:
|
|
487
470
|
const parsedBody = parsedOutput.body;
|
|
488
|
-
|
|
471
|
+
return throwDefaultError({
|
|
489
472
|
output,
|
|
490
473
|
parsedBody,
|
|
491
|
-
exceptionCtor: ChimeSDKMediaPipelinesServiceException_1.ChimeSDKMediaPipelinesServiceException,
|
|
492
474
|
errorCode,
|
|
493
475
|
});
|
|
494
476
|
}
|
|
@@ -497,13 +479,14 @@ const de_CreateMediaConcatenationPipelineCommand = async (output, context) => {
|
|
|
497
479
|
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
498
480
|
return de_CreateMediaConcatenationPipelineCommandError(output, context);
|
|
499
481
|
}
|
|
500
|
-
const contents = map({
|
|
482
|
+
const contents = (0, smithy_client_1.map)({
|
|
501
483
|
$metadata: deserializeMetadata(output),
|
|
502
484
|
});
|
|
503
485
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
}
|
|
486
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
487
|
+
MediaConcatenationPipeline: (_) => de_MediaConcatenationPipeline(_, context),
|
|
488
|
+
});
|
|
489
|
+
Object.assign(contents, doc);
|
|
507
490
|
return contents;
|
|
508
491
|
};
|
|
509
492
|
exports.de_CreateMediaConcatenationPipelineCommand = de_CreateMediaConcatenationPipelineCommand;
|
|
@@ -537,10 +520,9 @@ const de_CreateMediaConcatenationPipelineCommandError = async (output, context)
|
|
|
537
520
|
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
|
538
521
|
default:
|
|
539
522
|
const parsedBody = parsedOutput.body;
|
|
540
|
-
|
|
523
|
+
return throwDefaultError({
|
|
541
524
|
output,
|
|
542
525
|
parsedBody,
|
|
543
|
-
exceptionCtor: ChimeSDKMediaPipelinesServiceException_1.ChimeSDKMediaPipelinesServiceException,
|
|
544
526
|
errorCode,
|
|
545
527
|
});
|
|
546
528
|
}
|
|
@@ -549,13 +531,14 @@ const de_CreateMediaInsightsPipelineCommand = async (output, context) => {
|
|
|
549
531
|
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
550
532
|
return de_CreateMediaInsightsPipelineCommandError(output, context);
|
|
551
533
|
}
|
|
552
|
-
const contents = map({
|
|
534
|
+
const contents = (0, smithy_client_1.map)({
|
|
553
535
|
$metadata: deserializeMetadata(output),
|
|
554
536
|
});
|
|
555
537
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
}
|
|
538
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
539
|
+
MediaInsightsPipeline: (_) => de_MediaInsightsPipeline(_, context),
|
|
540
|
+
});
|
|
541
|
+
Object.assign(contents, doc);
|
|
559
542
|
return contents;
|
|
560
543
|
};
|
|
561
544
|
exports.de_CreateMediaInsightsPipelineCommand = de_CreateMediaInsightsPipelineCommand;
|
|
@@ -592,10 +575,9 @@ const de_CreateMediaInsightsPipelineCommandError = async (output, context) => {
|
|
|
592
575
|
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
|
593
576
|
default:
|
|
594
577
|
const parsedBody = parsedOutput.body;
|
|
595
|
-
|
|
578
|
+
return throwDefaultError({
|
|
596
579
|
output,
|
|
597
580
|
parsedBody,
|
|
598
|
-
exceptionCtor: ChimeSDKMediaPipelinesServiceException_1.ChimeSDKMediaPipelinesServiceException,
|
|
599
581
|
errorCode,
|
|
600
582
|
});
|
|
601
583
|
}
|
|
@@ -604,13 +586,14 @@ const de_CreateMediaInsightsPipelineConfigurationCommand = async (output, contex
|
|
|
604
586
|
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
605
587
|
return de_CreateMediaInsightsPipelineConfigurationCommandError(output, context);
|
|
606
588
|
}
|
|
607
|
-
const contents = map({
|
|
589
|
+
const contents = (0, smithy_client_1.map)({
|
|
608
590
|
$metadata: deserializeMetadata(output),
|
|
609
591
|
});
|
|
610
592
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
}
|
|
593
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
594
|
+
MediaInsightsPipelineConfiguration: (_) => de_MediaInsightsPipelineConfiguration(_, context),
|
|
595
|
+
});
|
|
596
|
+
Object.assign(contents, doc);
|
|
614
597
|
return contents;
|
|
615
598
|
};
|
|
616
599
|
exports.de_CreateMediaInsightsPipelineConfigurationCommand = de_CreateMediaInsightsPipelineConfigurationCommand;
|
|
@@ -647,10 +630,9 @@ const de_CreateMediaInsightsPipelineConfigurationCommandError = async (output, c
|
|
|
647
630
|
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
|
648
631
|
default:
|
|
649
632
|
const parsedBody = parsedOutput.body;
|
|
650
|
-
|
|
633
|
+
return throwDefaultError({
|
|
651
634
|
output,
|
|
652
635
|
parsedBody,
|
|
653
|
-
exceptionCtor: ChimeSDKMediaPipelinesServiceException_1.ChimeSDKMediaPipelinesServiceException,
|
|
654
636
|
errorCode,
|
|
655
637
|
});
|
|
656
638
|
}
|
|
@@ -659,13 +641,14 @@ const de_CreateMediaLiveConnectorPipelineCommand = async (output, context) => {
|
|
|
659
641
|
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
660
642
|
return de_CreateMediaLiveConnectorPipelineCommandError(output, context);
|
|
661
643
|
}
|
|
662
|
-
const contents = map({
|
|
644
|
+
const contents = (0, smithy_client_1.map)({
|
|
663
645
|
$metadata: deserializeMetadata(output),
|
|
664
646
|
});
|
|
665
647
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
}
|
|
648
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
649
|
+
MediaLiveConnectorPipeline: (_) => de_MediaLiveConnectorPipeline(_, context),
|
|
650
|
+
});
|
|
651
|
+
Object.assign(contents, doc);
|
|
669
652
|
return contents;
|
|
670
653
|
};
|
|
671
654
|
exports.de_CreateMediaLiveConnectorPipelineCommand = de_CreateMediaLiveConnectorPipelineCommand;
|
|
@@ -699,10 +682,9 @@ const de_CreateMediaLiveConnectorPipelineCommandError = async (output, context)
|
|
|
699
682
|
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
|
700
683
|
default:
|
|
701
684
|
const parsedBody = parsedOutput.body;
|
|
702
|
-
|
|
685
|
+
return throwDefaultError({
|
|
703
686
|
output,
|
|
704
687
|
parsedBody,
|
|
705
|
-
exceptionCtor: ChimeSDKMediaPipelinesServiceException_1.ChimeSDKMediaPipelinesServiceException,
|
|
706
688
|
errorCode,
|
|
707
689
|
});
|
|
708
690
|
}
|
|
@@ -711,7 +693,7 @@ const de_DeleteMediaCapturePipelineCommand = async (output, context) => {
|
|
|
711
693
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
712
694
|
return de_DeleteMediaCapturePipelineCommandError(output, context);
|
|
713
695
|
}
|
|
714
|
-
const contents = map({
|
|
696
|
+
const contents = (0, smithy_client_1.map)({
|
|
715
697
|
$metadata: deserializeMetadata(output),
|
|
716
698
|
});
|
|
717
699
|
await collectBody(output.body, context);
|
|
@@ -748,10 +730,9 @@ const de_DeleteMediaCapturePipelineCommandError = async (output, context) => {
|
|
|
748
730
|
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
|
749
731
|
default:
|
|
750
732
|
const parsedBody = parsedOutput.body;
|
|
751
|
-
|
|
733
|
+
return throwDefaultError({
|
|
752
734
|
output,
|
|
753
735
|
parsedBody,
|
|
754
|
-
exceptionCtor: ChimeSDKMediaPipelinesServiceException_1.ChimeSDKMediaPipelinesServiceException,
|
|
755
736
|
errorCode,
|
|
756
737
|
});
|
|
757
738
|
}
|
|
@@ -760,7 +741,7 @@ const de_DeleteMediaInsightsPipelineConfigurationCommand = async (output, contex
|
|
|
760
741
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
761
742
|
return de_DeleteMediaInsightsPipelineConfigurationCommandError(output, context);
|
|
762
743
|
}
|
|
763
|
-
const contents = map({
|
|
744
|
+
const contents = (0, smithy_client_1.map)({
|
|
764
745
|
$metadata: deserializeMetadata(output),
|
|
765
746
|
});
|
|
766
747
|
await collectBody(output.body, context);
|
|
@@ -800,10 +781,9 @@ const de_DeleteMediaInsightsPipelineConfigurationCommandError = async (output, c
|
|
|
800
781
|
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
|
801
782
|
default:
|
|
802
783
|
const parsedBody = parsedOutput.body;
|
|
803
|
-
|
|
784
|
+
return throwDefaultError({
|
|
804
785
|
output,
|
|
805
786
|
parsedBody,
|
|
806
|
-
exceptionCtor: ChimeSDKMediaPipelinesServiceException_1.ChimeSDKMediaPipelinesServiceException,
|
|
807
787
|
errorCode,
|
|
808
788
|
});
|
|
809
789
|
}
|
|
@@ -812,7 +792,7 @@ const de_DeleteMediaPipelineCommand = async (output, context) => {
|
|
|
812
792
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
813
793
|
return de_DeleteMediaPipelineCommandError(output, context);
|
|
814
794
|
}
|
|
815
|
-
const contents = map({
|
|
795
|
+
const contents = (0, smithy_client_1.map)({
|
|
816
796
|
$metadata: deserializeMetadata(output),
|
|
817
797
|
});
|
|
818
798
|
await collectBody(output.body, context);
|
|
@@ -849,10 +829,9 @@ const de_DeleteMediaPipelineCommandError = async (output, context) => {
|
|
|
849
829
|
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
|
850
830
|
default:
|
|
851
831
|
const parsedBody = parsedOutput.body;
|
|
852
|
-
|
|
832
|
+
return throwDefaultError({
|
|
853
833
|
output,
|
|
854
834
|
parsedBody,
|
|
855
|
-
exceptionCtor: ChimeSDKMediaPipelinesServiceException_1.ChimeSDKMediaPipelinesServiceException,
|
|
856
835
|
errorCode,
|
|
857
836
|
});
|
|
858
837
|
}
|
|
@@ -861,13 +840,14 @@ const de_GetMediaCapturePipelineCommand = async (output, context) => {
|
|
|
861
840
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
862
841
|
return de_GetMediaCapturePipelineCommandError(output, context);
|
|
863
842
|
}
|
|
864
|
-
const contents = map({
|
|
843
|
+
const contents = (0, smithy_client_1.map)({
|
|
865
844
|
$metadata: deserializeMetadata(output),
|
|
866
845
|
});
|
|
867
846
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
}
|
|
847
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
848
|
+
MediaCapturePipeline: (_) => de_MediaCapturePipeline(_, context),
|
|
849
|
+
});
|
|
850
|
+
Object.assign(contents, doc);
|
|
871
851
|
return contents;
|
|
872
852
|
};
|
|
873
853
|
exports.de_GetMediaCapturePipelineCommand = de_GetMediaCapturePipelineCommand;
|
|
@@ -901,10 +881,9 @@ const de_GetMediaCapturePipelineCommandError = async (output, context) => {
|
|
|
901
881
|
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
|
902
882
|
default:
|
|
903
883
|
const parsedBody = parsedOutput.body;
|
|
904
|
-
|
|
884
|
+
return throwDefaultError({
|
|
905
885
|
output,
|
|
906
886
|
parsedBody,
|
|
907
|
-
exceptionCtor: ChimeSDKMediaPipelinesServiceException_1.ChimeSDKMediaPipelinesServiceException,
|
|
908
887
|
errorCode,
|
|
909
888
|
});
|
|
910
889
|
}
|
|
@@ -913,13 +892,14 @@ const de_GetMediaInsightsPipelineConfigurationCommand = async (output, context)
|
|
|
913
892
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
914
893
|
return de_GetMediaInsightsPipelineConfigurationCommandError(output, context);
|
|
915
894
|
}
|
|
916
|
-
const contents = map({
|
|
895
|
+
const contents = (0, smithy_client_1.map)({
|
|
917
896
|
$metadata: deserializeMetadata(output),
|
|
918
897
|
});
|
|
919
898
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
}
|
|
899
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
900
|
+
MediaInsightsPipelineConfiguration: (_) => de_MediaInsightsPipelineConfiguration(_, context),
|
|
901
|
+
});
|
|
902
|
+
Object.assign(contents, doc);
|
|
923
903
|
return contents;
|
|
924
904
|
};
|
|
925
905
|
exports.de_GetMediaInsightsPipelineConfigurationCommand = de_GetMediaInsightsPipelineConfigurationCommand;
|
|
@@ -953,10 +933,9 @@ const de_GetMediaInsightsPipelineConfigurationCommandError = async (output, cont
|
|
|
953
933
|
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
|
954
934
|
default:
|
|
955
935
|
const parsedBody = parsedOutput.body;
|
|
956
|
-
|
|
936
|
+
return throwDefaultError({
|
|
957
937
|
output,
|
|
958
938
|
parsedBody,
|
|
959
|
-
exceptionCtor: ChimeSDKMediaPipelinesServiceException_1.ChimeSDKMediaPipelinesServiceException,
|
|
960
939
|
errorCode,
|
|
961
940
|
});
|
|
962
941
|
}
|
|
@@ -965,13 +944,14 @@ const de_GetMediaPipelineCommand = async (output, context) => {
|
|
|
965
944
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
966
945
|
return de_GetMediaPipelineCommandError(output, context);
|
|
967
946
|
}
|
|
968
|
-
const contents = map({
|
|
947
|
+
const contents = (0, smithy_client_1.map)({
|
|
969
948
|
$metadata: deserializeMetadata(output),
|
|
970
949
|
});
|
|
971
950
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
}
|
|
951
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
952
|
+
MediaPipeline: (_) => de_MediaPipeline(_, context),
|
|
953
|
+
});
|
|
954
|
+
Object.assign(contents, doc);
|
|
975
955
|
return contents;
|
|
976
956
|
};
|
|
977
957
|
exports.de_GetMediaPipelineCommand = de_GetMediaPipelineCommand;
|
|
@@ -1005,10 +985,9 @@ const de_GetMediaPipelineCommandError = async (output, context) => {
|
|
|
1005
985
|
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
|
1006
986
|
default:
|
|
1007
987
|
const parsedBody = parsedOutput.body;
|
|
1008
|
-
|
|
988
|
+
return throwDefaultError({
|
|
1009
989
|
output,
|
|
1010
990
|
parsedBody,
|
|
1011
|
-
exceptionCtor: ChimeSDKMediaPipelinesServiceException_1.ChimeSDKMediaPipelinesServiceException,
|
|
1012
991
|
errorCode,
|
|
1013
992
|
});
|
|
1014
993
|
}
|
|
@@ -1017,16 +996,15 @@ const de_ListMediaCapturePipelinesCommand = async (output, context) => {
|
|
|
1017
996
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1018
997
|
return de_ListMediaCapturePipelinesCommandError(output, context);
|
|
1019
998
|
}
|
|
1020
|
-
const contents = map({
|
|
999
|
+
const contents = (0, smithy_client_1.map)({
|
|
1021
1000
|
$metadata: deserializeMetadata(output),
|
|
1022
1001
|
});
|
|
1023
1002
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
}
|
|
1003
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1004
|
+
MediaCapturePipelines: smithy_client_1._json,
|
|
1005
|
+
NextToken: smithy_client_1.expectString,
|
|
1006
|
+
});
|
|
1007
|
+
Object.assign(contents, doc);
|
|
1030
1008
|
return contents;
|
|
1031
1009
|
};
|
|
1032
1010
|
exports.de_ListMediaCapturePipelinesCommand = de_ListMediaCapturePipelinesCommand;
|
|
@@ -1060,10 +1038,9 @@ const de_ListMediaCapturePipelinesCommandError = async (output, context) => {
|
|
|
1060
1038
|
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
|
1061
1039
|
default:
|
|
1062
1040
|
const parsedBody = parsedOutput.body;
|
|
1063
|
-
|
|
1041
|
+
return throwDefaultError({
|
|
1064
1042
|
output,
|
|
1065
1043
|
parsedBody,
|
|
1066
|
-
exceptionCtor: ChimeSDKMediaPipelinesServiceException_1.ChimeSDKMediaPipelinesServiceException,
|
|
1067
1044
|
errorCode,
|
|
1068
1045
|
});
|
|
1069
1046
|
}
|
|
@@ -1072,16 +1049,15 @@ const de_ListMediaInsightsPipelineConfigurationsCommand = async (output, context
|
|
|
1072
1049
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1073
1050
|
return de_ListMediaInsightsPipelineConfigurationsCommandError(output, context);
|
|
1074
1051
|
}
|
|
1075
|
-
const contents = map({
|
|
1052
|
+
const contents = (0, smithy_client_1.map)({
|
|
1076
1053
|
$metadata: deserializeMetadata(output),
|
|
1077
1054
|
});
|
|
1078
1055
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
}
|
|
1056
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1057
|
+
MediaInsightsPipelineConfigurations: smithy_client_1._json,
|
|
1058
|
+
NextToken: smithy_client_1.expectString,
|
|
1059
|
+
});
|
|
1060
|
+
Object.assign(contents, doc);
|
|
1085
1061
|
return contents;
|
|
1086
1062
|
};
|
|
1087
1063
|
exports.de_ListMediaInsightsPipelineConfigurationsCommand = de_ListMediaInsightsPipelineConfigurationsCommand;
|
|
@@ -1115,10 +1091,9 @@ const de_ListMediaInsightsPipelineConfigurationsCommandError = async (output, co
|
|
|
1115
1091
|
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
|
1116
1092
|
default:
|
|
1117
1093
|
const parsedBody = parsedOutput.body;
|
|
1118
|
-
|
|
1094
|
+
return throwDefaultError({
|
|
1119
1095
|
output,
|
|
1120
1096
|
parsedBody,
|
|
1121
|
-
exceptionCtor: ChimeSDKMediaPipelinesServiceException_1.ChimeSDKMediaPipelinesServiceException,
|
|
1122
1097
|
errorCode,
|
|
1123
1098
|
});
|
|
1124
1099
|
}
|
|
@@ -1127,16 +1102,15 @@ const de_ListMediaPipelinesCommand = async (output, context) => {
|
|
|
1127
1102
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1128
1103
|
return de_ListMediaPipelinesCommandError(output, context);
|
|
1129
1104
|
}
|
|
1130
|
-
const contents = map({
|
|
1105
|
+
const contents = (0, smithy_client_1.map)({
|
|
1131
1106
|
$metadata: deserializeMetadata(output),
|
|
1132
1107
|
});
|
|
1133
1108
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
}
|
|
1109
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1110
|
+
MediaPipelines: smithy_client_1._json,
|
|
1111
|
+
NextToken: smithy_client_1.expectString,
|
|
1112
|
+
});
|
|
1113
|
+
Object.assign(contents, doc);
|
|
1140
1114
|
return contents;
|
|
1141
1115
|
};
|
|
1142
1116
|
exports.de_ListMediaPipelinesCommand = de_ListMediaPipelinesCommand;
|
|
@@ -1170,10 +1144,9 @@ const de_ListMediaPipelinesCommandError = async (output, context) => {
|
|
|
1170
1144
|
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
|
1171
1145
|
default:
|
|
1172
1146
|
const parsedBody = parsedOutput.body;
|
|
1173
|
-
|
|
1147
|
+
return throwDefaultError({
|
|
1174
1148
|
output,
|
|
1175
1149
|
parsedBody,
|
|
1176
|
-
exceptionCtor: ChimeSDKMediaPipelinesServiceException_1.ChimeSDKMediaPipelinesServiceException,
|
|
1177
1150
|
errorCode,
|
|
1178
1151
|
});
|
|
1179
1152
|
}
|
|
@@ -1182,13 +1155,14 @@ const de_ListTagsForResourceCommand = async (output, context) => {
|
|
|
1182
1155
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1183
1156
|
return de_ListTagsForResourceCommandError(output, context);
|
|
1184
1157
|
}
|
|
1185
|
-
const contents = map({
|
|
1158
|
+
const contents = (0, smithy_client_1.map)({
|
|
1186
1159
|
$metadata: deserializeMetadata(output),
|
|
1187
1160
|
});
|
|
1188
1161
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
}
|
|
1162
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1163
|
+
Tags: smithy_client_1._json,
|
|
1164
|
+
});
|
|
1165
|
+
Object.assign(contents, doc);
|
|
1192
1166
|
return contents;
|
|
1193
1167
|
};
|
|
1194
1168
|
exports.de_ListTagsForResourceCommand = de_ListTagsForResourceCommand;
|
|
@@ -1222,10 +1196,9 @@ const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
|
1222
1196
|
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
|
1223
1197
|
default:
|
|
1224
1198
|
const parsedBody = parsedOutput.body;
|
|
1225
|
-
|
|
1199
|
+
return throwDefaultError({
|
|
1226
1200
|
output,
|
|
1227
1201
|
parsedBody,
|
|
1228
|
-
exceptionCtor: ChimeSDKMediaPipelinesServiceException_1.ChimeSDKMediaPipelinesServiceException,
|
|
1229
1202
|
errorCode,
|
|
1230
1203
|
});
|
|
1231
1204
|
}
|
|
@@ -1234,7 +1207,7 @@ const de_TagResourceCommand = async (output, context) => {
|
|
|
1234
1207
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1235
1208
|
return de_TagResourceCommandError(output, context);
|
|
1236
1209
|
}
|
|
1237
|
-
const contents = map({
|
|
1210
|
+
const contents = (0, smithy_client_1.map)({
|
|
1238
1211
|
$metadata: deserializeMetadata(output),
|
|
1239
1212
|
});
|
|
1240
1213
|
await collectBody(output.body, context);
|
|
@@ -1271,10 +1244,9 @@ const de_TagResourceCommandError = async (output, context) => {
|
|
|
1271
1244
|
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
|
1272
1245
|
default:
|
|
1273
1246
|
const parsedBody = parsedOutput.body;
|
|
1274
|
-
|
|
1247
|
+
return throwDefaultError({
|
|
1275
1248
|
output,
|
|
1276
1249
|
parsedBody,
|
|
1277
|
-
exceptionCtor: ChimeSDKMediaPipelinesServiceException_1.ChimeSDKMediaPipelinesServiceException,
|
|
1278
1250
|
errorCode,
|
|
1279
1251
|
});
|
|
1280
1252
|
}
|
|
@@ -1283,7 +1255,7 @@ const de_UntagResourceCommand = async (output, context) => {
|
|
|
1283
1255
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1284
1256
|
return de_UntagResourceCommandError(output, context);
|
|
1285
1257
|
}
|
|
1286
|
-
const contents = map({
|
|
1258
|
+
const contents = (0, smithy_client_1.map)({
|
|
1287
1259
|
$metadata: deserializeMetadata(output),
|
|
1288
1260
|
});
|
|
1289
1261
|
await collectBody(output.body, context);
|
|
@@ -1320,10 +1292,9 @@ const de_UntagResourceCommandError = async (output, context) => {
|
|
|
1320
1292
|
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
|
1321
1293
|
default:
|
|
1322
1294
|
const parsedBody = parsedOutput.body;
|
|
1323
|
-
|
|
1295
|
+
return throwDefaultError({
|
|
1324
1296
|
output,
|
|
1325
1297
|
parsedBody,
|
|
1326
|
-
exceptionCtor: ChimeSDKMediaPipelinesServiceException_1.ChimeSDKMediaPipelinesServiceException,
|
|
1327
1298
|
errorCode,
|
|
1328
1299
|
});
|
|
1329
1300
|
}
|
|
@@ -1332,13 +1303,14 @@ const de_UpdateMediaInsightsPipelineConfigurationCommand = async (output, contex
|
|
|
1332
1303
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1333
1304
|
return de_UpdateMediaInsightsPipelineConfigurationCommandError(output, context);
|
|
1334
1305
|
}
|
|
1335
|
-
const contents = map({
|
|
1306
|
+
const contents = (0, smithy_client_1.map)({
|
|
1336
1307
|
$metadata: deserializeMetadata(output),
|
|
1337
1308
|
});
|
|
1338
1309
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
}
|
|
1310
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1311
|
+
MediaInsightsPipelineConfiguration: (_) => de_MediaInsightsPipelineConfiguration(_, context),
|
|
1312
|
+
});
|
|
1313
|
+
Object.assign(contents, doc);
|
|
1342
1314
|
return contents;
|
|
1343
1315
|
};
|
|
1344
1316
|
exports.de_UpdateMediaInsightsPipelineConfigurationCommand = de_UpdateMediaInsightsPipelineConfigurationCommand;
|
|
@@ -1375,10 +1347,9 @@ const de_UpdateMediaInsightsPipelineConfigurationCommandError = async (output, c
|
|
|
1375
1347
|
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
|
1376
1348
|
default:
|
|
1377
1349
|
const parsedBody = parsedOutput.body;
|
|
1378
|
-
|
|
1350
|
+
return throwDefaultError({
|
|
1379
1351
|
output,
|
|
1380
1352
|
parsedBody,
|
|
1381
|
-
exceptionCtor: ChimeSDKMediaPipelinesServiceException_1.ChimeSDKMediaPipelinesServiceException,
|
|
1382
1353
|
errorCode,
|
|
1383
1354
|
});
|
|
1384
1355
|
}
|
|
@@ -1387,7 +1358,7 @@ const de_UpdateMediaInsightsPipelineStatusCommand = async (output, context) => {
|
|
|
1387
1358
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1388
1359
|
return de_UpdateMediaInsightsPipelineStatusCommandError(output, context);
|
|
1389
1360
|
}
|
|
1390
|
-
const contents = map({
|
|
1361
|
+
const contents = (0, smithy_client_1.map)({
|
|
1391
1362
|
$metadata: deserializeMetadata(output),
|
|
1392
1363
|
});
|
|
1393
1364
|
await collectBody(output.body, context);
|
|
@@ -1427,27 +1398,23 @@ const de_UpdateMediaInsightsPipelineStatusCommandError = async (output, context)
|
|
|
1427
1398
|
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
|
1428
1399
|
default:
|
|
1429
1400
|
const parsedBody = parsedOutput.body;
|
|
1430
|
-
|
|
1401
|
+
return throwDefaultError({
|
|
1431
1402
|
output,
|
|
1432
1403
|
parsedBody,
|
|
1433
|
-
exceptionCtor: ChimeSDKMediaPipelinesServiceException_1.ChimeSDKMediaPipelinesServiceException,
|
|
1434
1404
|
errorCode,
|
|
1435
1405
|
});
|
|
1436
1406
|
}
|
|
1437
1407
|
};
|
|
1438
|
-
const
|
|
1408
|
+
const throwDefaultError = (0, smithy_client_1.withBaseException)(ChimeSDKMediaPipelinesServiceException_1.ChimeSDKMediaPipelinesServiceException);
|
|
1439
1409
|
const de_BadRequestExceptionRes = async (parsedOutput, context) => {
|
|
1440
|
-
const contents = map({});
|
|
1410
|
+
const contents = (0, smithy_client_1.map)({});
|
|
1441
1411
|
const data = parsedOutput.body;
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
if (data.RequestId != null) {
|
|
1449
|
-
contents.RequestId = (0, smithy_client_1.expectString)(data.RequestId);
|
|
1450
|
-
}
|
|
1412
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1413
|
+
Code: smithy_client_1.expectString,
|
|
1414
|
+
Message: smithy_client_1.expectString,
|
|
1415
|
+
RequestId: smithy_client_1.expectString,
|
|
1416
|
+
});
|
|
1417
|
+
Object.assign(contents, doc);
|
|
1451
1418
|
const exception = new models_0_1.BadRequestException({
|
|
1452
1419
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1453
1420
|
...contents,
|
|
@@ -1455,17 +1422,14 @@ const de_BadRequestExceptionRes = async (parsedOutput, context) => {
|
|
|
1455
1422
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1456
1423
|
};
|
|
1457
1424
|
const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
1458
|
-
const contents = map({});
|
|
1425
|
+
const contents = (0, smithy_client_1.map)({});
|
|
1459
1426
|
const data = parsedOutput.body;
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
if (data.RequestId != null) {
|
|
1467
|
-
contents.RequestId = (0, smithy_client_1.expectString)(data.RequestId);
|
|
1468
|
-
}
|
|
1427
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1428
|
+
Code: smithy_client_1.expectString,
|
|
1429
|
+
Message: smithy_client_1.expectString,
|
|
1430
|
+
RequestId: smithy_client_1.expectString,
|
|
1431
|
+
});
|
|
1432
|
+
Object.assign(contents, doc);
|
|
1469
1433
|
const exception = new models_0_1.ConflictException({
|
|
1470
1434
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1471
1435
|
...contents,
|
|
@@ -1473,17 +1437,14 @@ const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
|
1473
1437
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1474
1438
|
};
|
|
1475
1439
|
const de_ForbiddenExceptionRes = async (parsedOutput, context) => {
|
|
1476
|
-
const contents = map({});
|
|
1440
|
+
const contents = (0, smithy_client_1.map)({});
|
|
1477
1441
|
const data = parsedOutput.body;
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
if (data.RequestId != null) {
|
|
1485
|
-
contents.RequestId = (0, smithy_client_1.expectString)(data.RequestId);
|
|
1486
|
-
}
|
|
1442
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1443
|
+
Code: smithy_client_1.expectString,
|
|
1444
|
+
Message: smithy_client_1.expectString,
|
|
1445
|
+
RequestId: smithy_client_1.expectString,
|
|
1446
|
+
});
|
|
1447
|
+
Object.assign(contents, doc);
|
|
1487
1448
|
const exception = new models_0_1.ForbiddenException({
|
|
1488
1449
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1489
1450
|
...contents,
|
|
@@ -1491,17 +1452,14 @@ const de_ForbiddenExceptionRes = async (parsedOutput, context) => {
|
|
|
1491
1452
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1492
1453
|
};
|
|
1493
1454
|
const de_NotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1494
|
-
const contents = map({});
|
|
1455
|
+
const contents = (0, smithy_client_1.map)({});
|
|
1495
1456
|
const data = parsedOutput.body;
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
if (data.RequestId != null) {
|
|
1503
|
-
contents.RequestId = (0, smithy_client_1.expectString)(data.RequestId);
|
|
1504
|
-
}
|
|
1457
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1458
|
+
Code: smithy_client_1.expectString,
|
|
1459
|
+
Message: smithy_client_1.expectString,
|
|
1460
|
+
RequestId: smithy_client_1.expectString,
|
|
1461
|
+
});
|
|
1462
|
+
Object.assign(contents, doc);
|
|
1505
1463
|
const exception = new models_0_1.NotFoundException({
|
|
1506
1464
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1507
1465
|
...contents,
|
|
@@ -1509,17 +1467,14 @@ const de_NotFoundExceptionRes = async (parsedOutput, context) => {
|
|
|
1509
1467
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1510
1468
|
};
|
|
1511
1469
|
const de_ResourceLimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
1512
|
-
const contents = map({});
|
|
1470
|
+
const contents = (0, smithy_client_1.map)({});
|
|
1513
1471
|
const data = parsedOutput.body;
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
if (data.RequestId != null) {
|
|
1521
|
-
contents.RequestId = (0, smithy_client_1.expectString)(data.RequestId);
|
|
1522
|
-
}
|
|
1472
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1473
|
+
Code: smithy_client_1.expectString,
|
|
1474
|
+
Message: smithy_client_1.expectString,
|
|
1475
|
+
RequestId: smithy_client_1.expectString,
|
|
1476
|
+
});
|
|
1477
|
+
Object.assign(contents, doc);
|
|
1523
1478
|
const exception = new models_0_1.ResourceLimitExceededException({
|
|
1524
1479
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1525
1480
|
...contents,
|
|
@@ -1527,17 +1482,14 @@ const de_ResourceLimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
|
1527
1482
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1528
1483
|
};
|
|
1529
1484
|
const de_ServiceFailureExceptionRes = async (parsedOutput, context) => {
|
|
1530
|
-
const contents = map({});
|
|
1485
|
+
const contents = (0, smithy_client_1.map)({});
|
|
1531
1486
|
const data = parsedOutput.body;
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
if (data.RequestId != null) {
|
|
1539
|
-
contents.RequestId = (0, smithy_client_1.expectString)(data.RequestId);
|
|
1540
|
-
}
|
|
1487
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1488
|
+
Code: smithy_client_1.expectString,
|
|
1489
|
+
Message: smithy_client_1.expectString,
|
|
1490
|
+
RequestId: smithy_client_1.expectString,
|
|
1491
|
+
});
|
|
1492
|
+
Object.assign(contents, doc);
|
|
1541
1493
|
const exception = new models_0_1.ServiceFailureException({
|
|
1542
1494
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1543
1495
|
...contents,
|
|
@@ -1545,17 +1497,14 @@ const de_ServiceFailureExceptionRes = async (parsedOutput, context) => {
|
|
|
1545
1497
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1546
1498
|
};
|
|
1547
1499
|
const de_ServiceUnavailableExceptionRes = async (parsedOutput, context) => {
|
|
1548
|
-
const contents = map({});
|
|
1500
|
+
const contents = (0, smithy_client_1.map)({});
|
|
1549
1501
|
const data = parsedOutput.body;
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
if (data.RequestId != null) {
|
|
1557
|
-
contents.RequestId = (0, smithy_client_1.expectString)(data.RequestId);
|
|
1558
|
-
}
|
|
1502
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1503
|
+
Code: smithy_client_1.expectString,
|
|
1504
|
+
Message: smithy_client_1.expectString,
|
|
1505
|
+
RequestId: smithy_client_1.expectString,
|
|
1506
|
+
});
|
|
1507
|
+
Object.assign(contents, doc);
|
|
1559
1508
|
const exception = new models_0_1.ServiceUnavailableException({
|
|
1560
1509
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1561
1510
|
...contents,
|
|
@@ -1563,17 +1512,14 @@ const de_ServiceUnavailableExceptionRes = async (parsedOutput, context) => {
|
|
|
1563
1512
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1564
1513
|
};
|
|
1565
1514
|
const de_ThrottledClientExceptionRes = async (parsedOutput, context) => {
|
|
1566
|
-
const contents = map({});
|
|
1515
|
+
const contents = (0, smithy_client_1.map)({});
|
|
1567
1516
|
const data = parsedOutput.body;
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
if (data.RequestId != null) {
|
|
1575
|
-
contents.RequestId = (0, smithy_client_1.expectString)(data.RequestId);
|
|
1576
|
-
}
|
|
1517
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1518
|
+
Code: smithy_client_1.expectString,
|
|
1519
|
+
Message: smithy_client_1.expectString,
|
|
1520
|
+
RequestId: smithy_client_1.expectString,
|
|
1521
|
+
});
|
|
1522
|
+
Object.assign(contents, doc);
|
|
1577
1523
|
const exception = new models_0_1.ThrottledClientException({
|
|
1578
1524
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1579
1525
|
...contents,
|
|
@@ -1581,1266 +1527,124 @@ const de_ThrottledClientExceptionRes = async (parsedOutput, context) => {
|
|
|
1581
1527
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1582
1528
|
};
|
|
1583
1529
|
const de_UnauthorizedClientExceptionRes = async (parsedOutput, context) => {
|
|
1584
|
-
const contents = map({});
|
|
1530
|
+
const contents = (0, smithy_client_1.map)({});
|
|
1585
1531
|
const data = parsedOutput.body;
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
if (data.RequestId != null) {
|
|
1593
|
-
contents.RequestId = (0, smithy_client_1.expectString)(data.RequestId);
|
|
1594
|
-
}
|
|
1532
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1533
|
+
Code: smithy_client_1.expectString,
|
|
1534
|
+
Message: smithy_client_1.expectString,
|
|
1535
|
+
RequestId: smithy_client_1.expectString,
|
|
1536
|
+
});
|
|
1537
|
+
Object.assign(contents, doc);
|
|
1595
1538
|
const exception = new models_0_1.UnauthorizedClientException({
|
|
1596
1539
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1597
1540
|
...contents,
|
|
1598
1541
|
});
|
|
1599
1542
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1600
1543
|
};
|
|
1601
|
-
const se_AmazonTranscribeCallAnalyticsProcessorConfiguration = (input, context) => {
|
|
1602
|
-
return {
|
|
1603
|
-
...(input.CallAnalyticsStreamCategories != null && {
|
|
1604
|
-
CallAnalyticsStreamCategories: se_CategoryNameList(input.CallAnalyticsStreamCategories, context),
|
|
1605
|
-
}),
|
|
1606
|
-
...(input.ContentIdentificationType != null && { ContentIdentificationType: input.ContentIdentificationType }),
|
|
1607
|
-
...(input.ContentRedactionType != null && { ContentRedactionType: input.ContentRedactionType }),
|
|
1608
|
-
...(input.EnablePartialResultsStabilization != null && {
|
|
1609
|
-
EnablePartialResultsStabilization: input.EnablePartialResultsStabilization,
|
|
1610
|
-
}),
|
|
1611
|
-
...(input.FilterPartialResults != null && { FilterPartialResults: input.FilterPartialResults }),
|
|
1612
|
-
...(input.LanguageCode != null && { LanguageCode: input.LanguageCode }),
|
|
1613
|
-
...(input.LanguageModelName != null && { LanguageModelName: input.LanguageModelName }),
|
|
1614
|
-
...(input.PartialResultsStability != null && { PartialResultsStability: input.PartialResultsStability }),
|
|
1615
|
-
...(input.PiiEntityTypes != null && { PiiEntityTypes: input.PiiEntityTypes }),
|
|
1616
|
-
...(input.PostCallAnalyticsSettings != null && {
|
|
1617
|
-
PostCallAnalyticsSettings: se_PostCallAnalyticsSettings(input.PostCallAnalyticsSettings, context),
|
|
1618
|
-
}),
|
|
1619
|
-
...(input.VocabularyFilterMethod != null && { VocabularyFilterMethod: input.VocabularyFilterMethod }),
|
|
1620
|
-
...(input.VocabularyFilterName != null && { VocabularyFilterName: input.VocabularyFilterName }),
|
|
1621
|
-
...(input.VocabularyName != null && { VocabularyName: input.VocabularyName }),
|
|
1622
|
-
};
|
|
1623
|
-
};
|
|
1624
|
-
const se_AmazonTranscribeProcessorConfiguration = (input, context) => {
|
|
1625
|
-
return {
|
|
1626
|
-
...(input.ContentIdentificationType != null && { ContentIdentificationType: input.ContentIdentificationType }),
|
|
1627
|
-
...(input.ContentRedactionType != null && { ContentRedactionType: input.ContentRedactionType }),
|
|
1628
|
-
...(input.EnablePartialResultsStabilization != null && {
|
|
1629
|
-
EnablePartialResultsStabilization: input.EnablePartialResultsStabilization,
|
|
1630
|
-
}),
|
|
1631
|
-
...(input.FilterPartialResults != null && { FilterPartialResults: input.FilterPartialResults }),
|
|
1632
|
-
...(input.LanguageCode != null && { LanguageCode: input.LanguageCode }),
|
|
1633
|
-
...(input.LanguageModelName != null && { LanguageModelName: input.LanguageModelName }),
|
|
1634
|
-
...(input.PartialResultsStability != null && { PartialResultsStability: input.PartialResultsStability }),
|
|
1635
|
-
...(input.PiiEntityTypes != null && { PiiEntityTypes: input.PiiEntityTypes }),
|
|
1636
|
-
...(input.ShowSpeakerLabel != null && { ShowSpeakerLabel: input.ShowSpeakerLabel }),
|
|
1637
|
-
...(input.VocabularyFilterMethod != null && { VocabularyFilterMethod: input.VocabularyFilterMethod }),
|
|
1638
|
-
...(input.VocabularyFilterName != null && { VocabularyFilterName: input.VocabularyFilterName }),
|
|
1639
|
-
...(input.VocabularyName != null && { VocabularyName: input.VocabularyName }),
|
|
1640
|
-
};
|
|
1641
|
-
};
|
|
1642
|
-
const se_ArtifactsConcatenationConfiguration = (input, context) => {
|
|
1643
|
-
return {
|
|
1644
|
-
...(input.Audio != null && { Audio: se_AudioConcatenationConfiguration(input.Audio, context) }),
|
|
1645
|
-
...(input.CompositedVideo != null && {
|
|
1646
|
-
CompositedVideo: se_CompositedVideoConcatenationConfiguration(input.CompositedVideo, context),
|
|
1647
|
-
}),
|
|
1648
|
-
...(input.Content != null && { Content: se_ContentConcatenationConfiguration(input.Content, context) }),
|
|
1649
|
-
...(input.DataChannel != null && {
|
|
1650
|
-
DataChannel: se_DataChannelConcatenationConfiguration(input.DataChannel, context),
|
|
1651
|
-
}),
|
|
1652
|
-
...(input.MeetingEvents != null && {
|
|
1653
|
-
MeetingEvents: se_MeetingEventsConcatenationConfiguration(input.MeetingEvents, context),
|
|
1654
|
-
}),
|
|
1655
|
-
...(input.TranscriptionMessages != null && {
|
|
1656
|
-
TranscriptionMessages: se_TranscriptionMessagesConcatenationConfiguration(input.TranscriptionMessages, context),
|
|
1657
|
-
}),
|
|
1658
|
-
...(input.Video != null && { Video: se_VideoConcatenationConfiguration(input.Video, context) }),
|
|
1659
|
-
};
|
|
1660
|
-
};
|
|
1661
|
-
const se_ArtifactsConfiguration = (input, context) => {
|
|
1662
|
-
return {
|
|
1663
|
-
...(input.Audio != null && { Audio: se_AudioArtifactsConfiguration(input.Audio, context) }),
|
|
1664
|
-
...(input.CompositedVideo != null && {
|
|
1665
|
-
CompositedVideo: se_CompositedVideoArtifactsConfiguration(input.CompositedVideo, context),
|
|
1666
|
-
}),
|
|
1667
|
-
...(input.Content != null && { Content: se_ContentArtifactsConfiguration(input.Content, context) }),
|
|
1668
|
-
...(input.Video != null && { Video: se_VideoArtifactsConfiguration(input.Video, context) }),
|
|
1669
|
-
};
|
|
1670
|
-
};
|
|
1671
|
-
const se_AttendeeIdList = (input, context) => {
|
|
1672
|
-
return input
|
|
1673
|
-
.filter((e) => e != null)
|
|
1674
|
-
.map((entry) => {
|
|
1675
|
-
return entry;
|
|
1676
|
-
});
|
|
1677
|
-
};
|
|
1678
|
-
const se_AudioArtifactsConfiguration = (input, context) => {
|
|
1679
|
-
return {
|
|
1680
|
-
...(input.MuxType != null && { MuxType: input.MuxType }),
|
|
1681
|
-
};
|
|
1682
|
-
};
|
|
1683
|
-
const se_AudioConcatenationConfiguration = (input, context) => {
|
|
1684
|
-
return {
|
|
1685
|
-
...(input.State != null && { State: input.State }),
|
|
1686
|
-
};
|
|
1687
|
-
};
|
|
1688
|
-
const se_CategoryNameList = (input, context) => {
|
|
1689
|
-
return input
|
|
1690
|
-
.filter((e) => e != null)
|
|
1691
|
-
.map((entry) => {
|
|
1692
|
-
return entry;
|
|
1693
|
-
});
|
|
1694
|
-
};
|
|
1695
|
-
const se_ChannelDefinition = (input, context) => {
|
|
1696
|
-
return {
|
|
1697
|
-
...(input.ChannelId != null && { ChannelId: input.ChannelId }),
|
|
1698
|
-
...(input.ParticipantRole != null && { ParticipantRole: input.ParticipantRole }),
|
|
1699
|
-
};
|
|
1700
|
-
};
|
|
1701
|
-
const se_ChannelDefinitions = (input, context) => {
|
|
1702
|
-
return input
|
|
1703
|
-
.filter((e) => e != null)
|
|
1704
|
-
.map((entry) => {
|
|
1705
|
-
return se_ChannelDefinition(entry, context);
|
|
1706
|
-
});
|
|
1707
|
-
};
|
|
1708
|
-
const se_ChimeSdkMeetingConcatenationConfiguration = (input, context) => {
|
|
1709
|
-
return {
|
|
1710
|
-
...(input.ArtifactsConfiguration != null && {
|
|
1711
|
-
ArtifactsConfiguration: se_ArtifactsConcatenationConfiguration(input.ArtifactsConfiguration, context),
|
|
1712
|
-
}),
|
|
1713
|
-
};
|
|
1714
|
-
};
|
|
1715
|
-
const se_ChimeSdkMeetingConfiguration = (input, context) => {
|
|
1716
|
-
return {
|
|
1717
|
-
...(input.ArtifactsConfiguration != null && {
|
|
1718
|
-
ArtifactsConfiguration: se_ArtifactsConfiguration(input.ArtifactsConfiguration, context),
|
|
1719
|
-
}),
|
|
1720
|
-
...(input.SourceConfiguration != null && {
|
|
1721
|
-
SourceConfiguration: se_SourceConfiguration(input.SourceConfiguration, context),
|
|
1722
|
-
}),
|
|
1723
|
-
};
|
|
1724
|
-
};
|
|
1725
|
-
const se_ChimeSdkMeetingLiveConnectorConfiguration = (input, context) => {
|
|
1726
|
-
return {
|
|
1727
|
-
...(input.Arn != null && { Arn: input.Arn }),
|
|
1728
|
-
...(input.CompositedVideo != null && {
|
|
1729
|
-
CompositedVideo: se_CompositedVideoArtifactsConfiguration(input.CompositedVideo, context),
|
|
1730
|
-
}),
|
|
1731
|
-
...(input.MuxType != null && { MuxType: input.MuxType }),
|
|
1732
|
-
...(input.SourceConfiguration != null && {
|
|
1733
|
-
SourceConfiguration: se_SourceConfiguration(input.SourceConfiguration, context),
|
|
1734
|
-
}),
|
|
1735
|
-
};
|
|
1736
|
-
};
|
|
1737
|
-
const se_CompositedVideoArtifactsConfiguration = (input, context) => {
|
|
1738
|
-
return {
|
|
1739
|
-
...(input.GridViewConfiguration != null && {
|
|
1740
|
-
GridViewConfiguration: se_GridViewConfiguration(input.GridViewConfiguration, context),
|
|
1741
|
-
}),
|
|
1742
|
-
...(input.Layout != null && { Layout: input.Layout }),
|
|
1743
|
-
...(input.Resolution != null && { Resolution: input.Resolution }),
|
|
1744
|
-
};
|
|
1745
|
-
};
|
|
1746
|
-
const se_CompositedVideoConcatenationConfiguration = (input, context) => {
|
|
1747
|
-
return {
|
|
1748
|
-
...(input.State != null && { State: input.State }),
|
|
1749
|
-
};
|
|
1750
|
-
};
|
|
1751
|
-
const se_ConcatenationSink = (input, context) => {
|
|
1752
|
-
return {
|
|
1753
|
-
...(input.S3BucketSinkConfiguration != null && {
|
|
1754
|
-
S3BucketSinkConfiguration: se_S3BucketSinkConfiguration(input.S3BucketSinkConfiguration, context),
|
|
1755
|
-
}),
|
|
1756
|
-
...(input.Type != null && { Type: input.Type }),
|
|
1757
|
-
};
|
|
1758
|
-
};
|
|
1759
|
-
const se_ConcatenationSinkList = (input, context) => {
|
|
1760
|
-
return input
|
|
1761
|
-
.filter((e) => e != null)
|
|
1762
|
-
.map((entry) => {
|
|
1763
|
-
return se_ConcatenationSink(entry, context);
|
|
1764
|
-
});
|
|
1765
|
-
};
|
|
1766
|
-
const se_ConcatenationSource = (input, context) => {
|
|
1767
|
-
return {
|
|
1768
|
-
...(input.MediaCapturePipelineSourceConfiguration != null && {
|
|
1769
|
-
MediaCapturePipelineSourceConfiguration: se_MediaCapturePipelineSourceConfiguration(input.MediaCapturePipelineSourceConfiguration, context),
|
|
1770
|
-
}),
|
|
1771
|
-
...(input.Type != null && { Type: input.Type }),
|
|
1772
|
-
};
|
|
1773
|
-
};
|
|
1774
|
-
const se_ConcatenationSourceList = (input, context) => {
|
|
1775
|
-
return input
|
|
1776
|
-
.filter((e) => e != null)
|
|
1777
|
-
.map((entry) => {
|
|
1778
|
-
return se_ConcatenationSource(entry, context);
|
|
1779
|
-
});
|
|
1780
|
-
};
|
|
1781
|
-
const se_ContentArtifactsConfiguration = (input, context) => {
|
|
1782
|
-
return {
|
|
1783
|
-
...(input.MuxType != null && { MuxType: input.MuxType }),
|
|
1784
|
-
...(input.State != null && { State: input.State }),
|
|
1785
|
-
};
|
|
1786
|
-
};
|
|
1787
|
-
const se_ContentConcatenationConfiguration = (input, context) => {
|
|
1788
|
-
return {
|
|
1789
|
-
...(input.State != null && { State: input.State }),
|
|
1790
|
-
};
|
|
1791
|
-
};
|
|
1792
|
-
const se_DataChannelConcatenationConfiguration = (input, context) => {
|
|
1793
|
-
return {
|
|
1794
|
-
...(input.State != null && { State: input.State }),
|
|
1795
|
-
};
|
|
1796
|
-
};
|
|
1797
|
-
const se_ExternalUserIdList = (input, context) => {
|
|
1798
|
-
return input
|
|
1799
|
-
.filter((e) => e != null)
|
|
1800
|
-
.map((entry) => {
|
|
1801
|
-
return entry;
|
|
1802
|
-
});
|
|
1803
|
-
};
|
|
1804
1544
|
const se_FragmentSelector = (input, context) => {
|
|
1805
|
-
return {
|
|
1806
|
-
|
|
1807
|
-
|
|
1808
|
-
};
|
|
1809
|
-
};
|
|
1810
|
-
const se_GridViewConfiguration = (input, context) => {
|
|
1811
|
-
return {
|
|
1812
|
-
...(input.ContentShareLayout != null && { ContentShareLayout: input.ContentShareLayout }),
|
|
1813
|
-
...(input.PresenterOnlyConfiguration != null && {
|
|
1814
|
-
PresenterOnlyConfiguration: se_PresenterOnlyConfiguration(input.PresenterOnlyConfiguration, context),
|
|
1815
|
-
}),
|
|
1816
|
-
};
|
|
1817
|
-
};
|
|
1818
|
-
const se_IssueDetectionConfiguration = (input, context) => {
|
|
1819
|
-
return {
|
|
1820
|
-
...(input.RuleName != null && { RuleName: input.RuleName }),
|
|
1821
|
-
};
|
|
1822
|
-
};
|
|
1823
|
-
const se_KeywordMatchConfiguration = (input, context) => {
|
|
1824
|
-
return {
|
|
1825
|
-
...(input.Keywords != null && { Keywords: se_KeywordMatchWordList(input.Keywords, context) }),
|
|
1826
|
-
...(input.Negate != null && { Negate: input.Negate }),
|
|
1827
|
-
...(input.RuleName != null && { RuleName: input.RuleName }),
|
|
1828
|
-
};
|
|
1829
|
-
};
|
|
1830
|
-
const se_KeywordMatchWordList = (input, context) => {
|
|
1831
|
-
return input
|
|
1832
|
-
.filter((e) => e != null)
|
|
1833
|
-
.map((entry) => {
|
|
1834
|
-
return entry;
|
|
1545
|
+
return (0, smithy_client_1.take)(input, {
|
|
1546
|
+
FragmentSelectorType: [],
|
|
1547
|
+
TimestampRange: (_) => se_TimestampRange(_, context),
|
|
1835
1548
|
});
|
|
1836
1549
|
};
|
|
1837
|
-
const se_KinesisDataStreamSinkConfiguration = (input, context) => {
|
|
1838
|
-
return {
|
|
1839
|
-
...(input.InsightsTarget != null && { InsightsTarget: input.InsightsTarget }),
|
|
1840
|
-
};
|
|
1841
|
-
};
|
|
1842
1550
|
const se_KinesisVideoStreamRecordingSourceRuntimeConfiguration = (input, context) => {
|
|
1843
|
-
return {
|
|
1844
|
-
|
|
1845
|
-
|
|
1846
|
-
};
|
|
1847
|
-
};
|
|
1848
|
-
const se_KinesisVideoStreamSourceRuntimeConfiguration = (input, context) => {
|
|
1849
|
-
return {
|
|
1850
|
-
...(input.MediaEncoding != null && { MediaEncoding: input.MediaEncoding }),
|
|
1851
|
-
...(input.MediaSampleRate != null && { MediaSampleRate: input.MediaSampleRate }),
|
|
1852
|
-
...(input.Streams != null && { Streams: se_Streams(input.Streams, context) }),
|
|
1853
|
-
};
|
|
1854
|
-
};
|
|
1855
|
-
const se_LambdaFunctionSinkConfiguration = (input, context) => {
|
|
1856
|
-
return {
|
|
1857
|
-
...(input.InsightsTarget != null && { InsightsTarget: input.InsightsTarget }),
|
|
1858
|
-
};
|
|
1859
|
-
};
|
|
1860
|
-
const se_LiveConnectorRTMPConfiguration = (input, context) => {
|
|
1861
|
-
return {
|
|
1862
|
-
...(input.AudioChannels != null && { AudioChannels: input.AudioChannels }),
|
|
1863
|
-
...(input.AudioSampleRate != null && { AudioSampleRate: input.AudioSampleRate }),
|
|
1864
|
-
...(input.Url != null && { Url: input.Url }),
|
|
1865
|
-
};
|
|
1866
|
-
};
|
|
1867
|
-
const se_LiveConnectorSinkConfiguration = (input, context) => {
|
|
1868
|
-
return {
|
|
1869
|
-
...(input.RTMPConfiguration != null && {
|
|
1870
|
-
RTMPConfiguration: se_LiveConnectorRTMPConfiguration(input.RTMPConfiguration, context),
|
|
1871
|
-
}),
|
|
1872
|
-
...(input.SinkType != null && { SinkType: input.SinkType }),
|
|
1873
|
-
};
|
|
1874
|
-
};
|
|
1875
|
-
const se_LiveConnectorSinkList = (input, context) => {
|
|
1876
|
-
return input
|
|
1877
|
-
.filter((e) => e != null)
|
|
1878
|
-
.map((entry) => {
|
|
1879
|
-
return se_LiveConnectorSinkConfiguration(entry, context);
|
|
1880
|
-
});
|
|
1881
|
-
};
|
|
1882
|
-
const se_LiveConnectorSourceConfiguration = (input, context) => {
|
|
1883
|
-
return {
|
|
1884
|
-
...(input.ChimeSdkMeetingLiveConnectorConfiguration != null && {
|
|
1885
|
-
ChimeSdkMeetingLiveConnectorConfiguration: se_ChimeSdkMeetingLiveConnectorConfiguration(input.ChimeSdkMeetingLiveConnectorConfiguration, context),
|
|
1886
|
-
}),
|
|
1887
|
-
...(input.SourceType != null && { SourceType: input.SourceType }),
|
|
1888
|
-
};
|
|
1889
|
-
};
|
|
1890
|
-
const se_LiveConnectorSourceList = (input, context) => {
|
|
1891
|
-
return input
|
|
1892
|
-
.filter((e) => e != null)
|
|
1893
|
-
.map((entry) => {
|
|
1894
|
-
return se_LiveConnectorSourceConfiguration(entry, context);
|
|
1895
|
-
});
|
|
1896
|
-
};
|
|
1897
|
-
const se_MediaCapturePipelineSourceConfiguration = (input, context) => {
|
|
1898
|
-
return {
|
|
1899
|
-
...(input.ChimeSdkMeetingConfiguration != null && {
|
|
1900
|
-
ChimeSdkMeetingConfiguration: se_ChimeSdkMeetingConcatenationConfiguration(input.ChimeSdkMeetingConfiguration, context),
|
|
1901
|
-
}),
|
|
1902
|
-
...(input.MediaPipelineArn != null && { MediaPipelineArn: input.MediaPipelineArn }),
|
|
1903
|
-
};
|
|
1904
|
-
};
|
|
1905
|
-
const se_MediaInsightsPipelineConfigurationElement = (input, context) => {
|
|
1906
|
-
return {
|
|
1907
|
-
...(input.AmazonTranscribeCallAnalyticsProcessorConfiguration != null && {
|
|
1908
|
-
AmazonTranscribeCallAnalyticsProcessorConfiguration: se_AmazonTranscribeCallAnalyticsProcessorConfiguration(input.AmazonTranscribeCallAnalyticsProcessorConfiguration, context),
|
|
1909
|
-
}),
|
|
1910
|
-
...(input.AmazonTranscribeProcessorConfiguration != null && {
|
|
1911
|
-
AmazonTranscribeProcessorConfiguration: se_AmazonTranscribeProcessorConfiguration(input.AmazonTranscribeProcessorConfiguration, context),
|
|
1912
|
-
}),
|
|
1913
|
-
...(input.KinesisDataStreamSinkConfiguration != null && {
|
|
1914
|
-
KinesisDataStreamSinkConfiguration: se_KinesisDataStreamSinkConfiguration(input.KinesisDataStreamSinkConfiguration, context),
|
|
1915
|
-
}),
|
|
1916
|
-
...(input.LambdaFunctionSinkConfiguration != null && {
|
|
1917
|
-
LambdaFunctionSinkConfiguration: se_LambdaFunctionSinkConfiguration(input.LambdaFunctionSinkConfiguration, context),
|
|
1918
|
-
}),
|
|
1919
|
-
...(input.S3RecordingSinkConfiguration != null && {
|
|
1920
|
-
S3RecordingSinkConfiguration: se_S3RecordingSinkConfiguration(input.S3RecordingSinkConfiguration, context),
|
|
1921
|
-
}),
|
|
1922
|
-
...(input.SnsTopicSinkConfiguration != null && {
|
|
1923
|
-
SnsTopicSinkConfiguration: se_SnsTopicSinkConfiguration(input.SnsTopicSinkConfiguration, context),
|
|
1924
|
-
}),
|
|
1925
|
-
...(input.SqsQueueSinkConfiguration != null && {
|
|
1926
|
-
SqsQueueSinkConfiguration: se_SqsQueueSinkConfiguration(input.SqsQueueSinkConfiguration, context),
|
|
1927
|
-
}),
|
|
1928
|
-
...(input.Type != null && { Type: input.Type }),
|
|
1929
|
-
...(input.VoiceAnalyticsProcessorConfiguration != null && {
|
|
1930
|
-
VoiceAnalyticsProcessorConfiguration: se_VoiceAnalyticsProcessorConfiguration(input.VoiceAnalyticsProcessorConfiguration, context),
|
|
1931
|
-
}),
|
|
1932
|
-
};
|
|
1933
|
-
};
|
|
1934
|
-
const se_MediaInsightsPipelineConfigurationElements = (input, context) => {
|
|
1935
|
-
return input
|
|
1936
|
-
.filter((e) => e != null)
|
|
1937
|
-
.map((entry) => {
|
|
1938
|
-
return se_MediaInsightsPipelineConfigurationElement(entry, context);
|
|
1939
|
-
});
|
|
1940
|
-
};
|
|
1941
|
-
const se_MediaInsightsRuntimeMetadata = (input, context) => {
|
|
1942
|
-
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
1943
|
-
if (value === null) {
|
|
1944
|
-
return acc;
|
|
1945
|
-
}
|
|
1946
|
-
acc[key] = value;
|
|
1947
|
-
return acc;
|
|
1948
|
-
}, {});
|
|
1949
|
-
};
|
|
1950
|
-
const se_MeetingEventsConcatenationConfiguration = (input, context) => {
|
|
1951
|
-
return {
|
|
1952
|
-
...(input.State != null && { State: input.State }),
|
|
1953
|
-
};
|
|
1954
|
-
};
|
|
1955
|
-
const se_PostCallAnalyticsSettings = (input, context) => {
|
|
1956
|
-
return {
|
|
1957
|
-
...(input.ContentRedactionOutput != null && { ContentRedactionOutput: input.ContentRedactionOutput }),
|
|
1958
|
-
...(input.DataAccessRoleArn != null && { DataAccessRoleArn: input.DataAccessRoleArn }),
|
|
1959
|
-
...(input.OutputEncryptionKMSKeyId != null && { OutputEncryptionKMSKeyId: input.OutputEncryptionKMSKeyId }),
|
|
1960
|
-
...(input.OutputLocation != null && { OutputLocation: input.OutputLocation }),
|
|
1961
|
-
};
|
|
1962
|
-
};
|
|
1963
|
-
const se_PresenterOnlyConfiguration = (input, context) => {
|
|
1964
|
-
return {
|
|
1965
|
-
...(input.PresenterPosition != null && { PresenterPosition: input.PresenterPosition }),
|
|
1966
|
-
};
|
|
1967
|
-
};
|
|
1968
|
-
const se_RealTimeAlertConfiguration = (input, context) => {
|
|
1969
|
-
return {
|
|
1970
|
-
...(input.Disabled != null && { Disabled: input.Disabled }),
|
|
1971
|
-
...(input.Rules != null && { Rules: se_RealTimeAlertRuleList(input.Rules, context) }),
|
|
1972
|
-
};
|
|
1973
|
-
};
|
|
1974
|
-
const se_RealTimeAlertRule = (input, context) => {
|
|
1975
|
-
return {
|
|
1976
|
-
...(input.IssueDetectionConfiguration != null && {
|
|
1977
|
-
IssueDetectionConfiguration: se_IssueDetectionConfiguration(input.IssueDetectionConfiguration, context),
|
|
1978
|
-
}),
|
|
1979
|
-
...(input.KeywordMatchConfiguration != null && {
|
|
1980
|
-
KeywordMatchConfiguration: se_KeywordMatchConfiguration(input.KeywordMatchConfiguration, context),
|
|
1981
|
-
}),
|
|
1982
|
-
...(input.SentimentConfiguration != null && {
|
|
1983
|
-
SentimentConfiguration: se_SentimentConfiguration(input.SentimentConfiguration, context),
|
|
1984
|
-
}),
|
|
1985
|
-
...(input.Type != null && { Type: input.Type }),
|
|
1986
|
-
};
|
|
1987
|
-
};
|
|
1988
|
-
const se_RealTimeAlertRuleList = (input, context) => {
|
|
1989
|
-
return input
|
|
1990
|
-
.filter((e) => e != null)
|
|
1991
|
-
.map((entry) => {
|
|
1992
|
-
return se_RealTimeAlertRule(entry, context);
|
|
1993
|
-
});
|
|
1994
|
-
};
|
|
1995
|
-
const se_RecordingStreamConfiguration = (input, context) => {
|
|
1996
|
-
return {
|
|
1997
|
-
...(input.StreamArn != null && { StreamArn: input.StreamArn }),
|
|
1998
|
-
};
|
|
1999
|
-
};
|
|
2000
|
-
const se_RecordingStreamList = (input, context) => {
|
|
2001
|
-
return input
|
|
2002
|
-
.filter((e) => e != null)
|
|
2003
|
-
.map((entry) => {
|
|
2004
|
-
return se_RecordingStreamConfiguration(entry, context);
|
|
2005
|
-
});
|
|
2006
|
-
};
|
|
2007
|
-
const se_S3BucketSinkConfiguration = (input, context) => {
|
|
2008
|
-
return {
|
|
2009
|
-
...(input.Destination != null && { Destination: input.Destination }),
|
|
2010
|
-
};
|
|
2011
|
-
};
|
|
2012
|
-
const se_S3RecordingSinkConfiguration = (input, context) => {
|
|
2013
|
-
return {
|
|
2014
|
-
...(input.Destination != null && { Destination: input.Destination }),
|
|
2015
|
-
};
|
|
2016
|
-
};
|
|
2017
|
-
const se_S3RecordingSinkRuntimeConfiguration = (input, context) => {
|
|
2018
|
-
return {
|
|
2019
|
-
...(input.Destination != null && { Destination: input.Destination }),
|
|
2020
|
-
...(input.RecordingFileFormat != null && { RecordingFileFormat: input.RecordingFileFormat }),
|
|
2021
|
-
};
|
|
2022
|
-
};
|
|
2023
|
-
const se_SelectedVideoStreams = (input, context) => {
|
|
2024
|
-
return {
|
|
2025
|
-
...(input.AttendeeIds != null && { AttendeeIds: se_AttendeeIdList(input.AttendeeIds, context) }),
|
|
2026
|
-
...(input.ExternalUserIds != null && { ExternalUserIds: se_ExternalUserIdList(input.ExternalUserIds, context) }),
|
|
2027
|
-
};
|
|
2028
|
-
};
|
|
2029
|
-
const se_SentimentConfiguration = (input, context) => {
|
|
2030
|
-
return {
|
|
2031
|
-
...(input.RuleName != null && { RuleName: input.RuleName }),
|
|
2032
|
-
...(input.SentimentType != null && { SentimentType: input.SentimentType }),
|
|
2033
|
-
...(input.TimePeriod != null && { TimePeriod: input.TimePeriod }),
|
|
2034
|
-
};
|
|
2035
|
-
};
|
|
2036
|
-
const se_SnsTopicSinkConfiguration = (input, context) => {
|
|
2037
|
-
return {
|
|
2038
|
-
...(input.InsightsTarget != null && { InsightsTarget: input.InsightsTarget }),
|
|
2039
|
-
};
|
|
2040
|
-
};
|
|
2041
|
-
const se_SourceConfiguration = (input, context) => {
|
|
2042
|
-
return {
|
|
2043
|
-
...(input.SelectedVideoStreams != null && {
|
|
2044
|
-
SelectedVideoStreams: se_SelectedVideoStreams(input.SelectedVideoStreams, context),
|
|
2045
|
-
}),
|
|
2046
|
-
};
|
|
2047
|
-
};
|
|
2048
|
-
const se_SqsQueueSinkConfiguration = (input, context) => {
|
|
2049
|
-
return {
|
|
2050
|
-
...(input.InsightsTarget != null && { InsightsTarget: input.InsightsTarget }),
|
|
2051
|
-
};
|
|
2052
|
-
};
|
|
2053
|
-
const se_StreamChannelDefinition = (input, context) => {
|
|
2054
|
-
return {
|
|
2055
|
-
...(input.ChannelDefinitions != null && {
|
|
2056
|
-
ChannelDefinitions: se_ChannelDefinitions(input.ChannelDefinitions, context),
|
|
2057
|
-
}),
|
|
2058
|
-
...(input.NumberOfChannels != null && { NumberOfChannels: input.NumberOfChannels }),
|
|
2059
|
-
};
|
|
2060
|
-
};
|
|
2061
|
-
const se_StreamConfiguration = (input, context) => {
|
|
2062
|
-
return {
|
|
2063
|
-
...(input.FragmentNumber != null && { FragmentNumber: input.FragmentNumber }),
|
|
2064
|
-
...(input.StreamArn != null && { StreamArn: input.StreamArn }),
|
|
2065
|
-
...(input.StreamChannelDefinition != null && {
|
|
2066
|
-
StreamChannelDefinition: se_StreamChannelDefinition(input.StreamChannelDefinition, context),
|
|
2067
|
-
}),
|
|
2068
|
-
};
|
|
2069
|
-
};
|
|
2070
|
-
const se_Streams = (input, context) => {
|
|
2071
|
-
return input
|
|
2072
|
-
.filter((e) => e != null)
|
|
2073
|
-
.map((entry) => {
|
|
2074
|
-
return se_StreamConfiguration(entry, context);
|
|
2075
|
-
});
|
|
2076
|
-
};
|
|
2077
|
-
const se_Tag = (input, context) => {
|
|
2078
|
-
return {
|
|
2079
|
-
...(input.Key != null && { Key: input.Key }),
|
|
2080
|
-
...(input.Value != null && { Value: input.Value }),
|
|
2081
|
-
};
|
|
2082
|
-
};
|
|
2083
|
-
const se_TagKeyList = (input, context) => {
|
|
2084
|
-
return input
|
|
2085
|
-
.filter((e) => e != null)
|
|
2086
|
-
.map((entry) => {
|
|
2087
|
-
return entry;
|
|
2088
|
-
});
|
|
2089
|
-
};
|
|
2090
|
-
const se_TagList = (input, context) => {
|
|
2091
|
-
return input
|
|
2092
|
-
.filter((e) => e != null)
|
|
2093
|
-
.map((entry) => {
|
|
2094
|
-
return se_Tag(entry, context);
|
|
1551
|
+
return (0, smithy_client_1.take)(input, {
|
|
1552
|
+
FragmentSelector: (_) => se_FragmentSelector(_, context),
|
|
1553
|
+
Streams: smithy_client_1._json,
|
|
2095
1554
|
});
|
|
2096
1555
|
};
|
|
2097
1556
|
const se_TimestampRange = (input, context) => {
|
|
2098
|
-
return {
|
|
2099
|
-
|
|
2100
|
-
|
|
2101
|
-
};
|
|
2102
|
-
};
|
|
2103
|
-
const se_TranscriptionMessagesConcatenationConfiguration = (input, context) => {
|
|
2104
|
-
return {
|
|
2105
|
-
...(input.State != null && { State: input.State }),
|
|
2106
|
-
};
|
|
2107
|
-
};
|
|
2108
|
-
const se_VideoArtifactsConfiguration = (input, context) => {
|
|
2109
|
-
return {
|
|
2110
|
-
...(input.MuxType != null && { MuxType: input.MuxType }),
|
|
2111
|
-
...(input.State != null && { State: input.State }),
|
|
2112
|
-
};
|
|
2113
|
-
};
|
|
2114
|
-
const se_VideoConcatenationConfiguration = (input, context) => {
|
|
2115
|
-
return {
|
|
2116
|
-
...(input.State != null && { State: input.State }),
|
|
2117
|
-
};
|
|
2118
|
-
};
|
|
2119
|
-
const se_VoiceAnalyticsProcessorConfiguration = (input, context) => {
|
|
2120
|
-
return {
|
|
2121
|
-
...(input.SpeakerSearchStatus != null && { SpeakerSearchStatus: input.SpeakerSearchStatus }),
|
|
2122
|
-
...(input.VoiceToneAnalysisStatus != null && { VoiceToneAnalysisStatus: input.VoiceToneAnalysisStatus }),
|
|
2123
|
-
};
|
|
2124
|
-
};
|
|
2125
|
-
const de_AmazonTranscribeCallAnalyticsProcessorConfiguration = (output, context) => {
|
|
2126
|
-
return {
|
|
2127
|
-
CallAnalyticsStreamCategories: output.CallAnalyticsStreamCategories != null
|
|
2128
|
-
? de_CategoryNameList(output.CallAnalyticsStreamCategories, context)
|
|
2129
|
-
: undefined,
|
|
2130
|
-
ContentIdentificationType: (0, smithy_client_1.expectString)(output.ContentIdentificationType),
|
|
2131
|
-
ContentRedactionType: (0, smithy_client_1.expectString)(output.ContentRedactionType),
|
|
2132
|
-
EnablePartialResultsStabilization: (0, smithy_client_1.expectBoolean)(output.EnablePartialResultsStabilization),
|
|
2133
|
-
FilterPartialResults: (0, smithy_client_1.expectBoolean)(output.FilterPartialResults),
|
|
2134
|
-
LanguageCode: (0, smithy_client_1.expectString)(output.LanguageCode),
|
|
2135
|
-
LanguageModelName: (0, smithy_client_1.expectString)(output.LanguageModelName),
|
|
2136
|
-
PartialResultsStability: (0, smithy_client_1.expectString)(output.PartialResultsStability),
|
|
2137
|
-
PiiEntityTypes: (0, smithy_client_1.expectString)(output.PiiEntityTypes),
|
|
2138
|
-
PostCallAnalyticsSettings: output.PostCallAnalyticsSettings != null
|
|
2139
|
-
? de_PostCallAnalyticsSettings(output.PostCallAnalyticsSettings, context)
|
|
2140
|
-
: undefined,
|
|
2141
|
-
VocabularyFilterMethod: (0, smithy_client_1.expectString)(output.VocabularyFilterMethod),
|
|
2142
|
-
VocabularyFilterName: (0, smithy_client_1.expectString)(output.VocabularyFilterName),
|
|
2143
|
-
VocabularyName: (0, smithy_client_1.expectString)(output.VocabularyName),
|
|
2144
|
-
};
|
|
2145
|
-
};
|
|
2146
|
-
const de_AmazonTranscribeProcessorConfiguration = (output, context) => {
|
|
2147
|
-
return {
|
|
2148
|
-
ContentIdentificationType: (0, smithy_client_1.expectString)(output.ContentIdentificationType),
|
|
2149
|
-
ContentRedactionType: (0, smithy_client_1.expectString)(output.ContentRedactionType),
|
|
2150
|
-
EnablePartialResultsStabilization: (0, smithy_client_1.expectBoolean)(output.EnablePartialResultsStabilization),
|
|
2151
|
-
FilterPartialResults: (0, smithy_client_1.expectBoolean)(output.FilterPartialResults),
|
|
2152
|
-
LanguageCode: (0, smithy_client_1.expectString)(output.LanguageCode),
|
|
2153
|
-
LanguageModelName: (0, smithy_client_1.expectString)(output.LanguageModelName),
|
|
2154
|
-
PartialResultsStability: (0, smithy_client_1.expectString)(output.PartialResultsStability),
|
|
2155
|
-
PiiEntityTypes: (0, smithy_client_1.expectString)(output.PiiEntityTypes),
|
|
2156
|
-
ShowSpeakerLabel: (0, smithy_client_1.expectBoolean)(output.ShowSpeakerLabel),
|
|
2157
|
-
VocabularyFilterMethod: (0, smithy_client_1.expectString)(output.VocabularyFilterMethod),
|
|
2158
|
-
VocabularyFilterName: (0, smithy_client_1.expectString)(output.VocabularyFilterName),
|
|
2159
|
-
VocabularyName: (0, smithy_client_1.expectString)(output.VocabularyName),
|
|
2160
|
-
};
|
|
2161
|
-
};
|
|
2162
|
-
const de_ArtifactsConcatenationConfiguration = (output, context) => {
|
|
2163
|
-
return {
|
|
2164
|
-
Audio: output.Audio != null ? de_AudioConcatenationConfiguration(output.Audio, context) : undefined,
|
|
2165
|
-
CompositedVideo: output.CompositedVideo != null
|
|
2166
|
-
? de_CompositedVideoConcatenationConfiguration(output.CompositedVideo, context)
|
|
2167
|
-
: undefined,
|
|
2168
|
-
Content: output.Content != null ? de_ContentConcatenationConfiguration(output.Content, context) : undefined,
|
|
2169
|
-
DataChannel: output.DataChannel != null ? de_DataChannelConcatenationConfiguration(output.DataChannel, context) : undefined,
|
|
2170
|
-
MeetingEvents: output.MeetingEvents != null
|
|
2171
|
-
? de_MeetingEventsConcatenationConfiguration(output.MeetingEvents, context)
|
|
2172
|
-
: undefined,
|
|
2173
|
-
TranscriptionMessages: output.TranscriptionMessages != null
|
|
2174
|
-
? de_TranscriptionMessagesConcatenationConfiguration(output.TranscriptionMessages, context)
|
|
2175
|
-
: undefined,
|
|
2176
|
-
Video: output.Video != null ? de_VideoConcatenationConfiguration(output.Video, context) : undefined,
|
|
2177
|
-
};
|
|
2178
|
-
};
|
|
2179
|
-
const de_ArtifactsConfiguration = (output, context) => {
|
|
2180
|
-
return {
|
|
2181
|
-
Audio: output.Audio != null ? de_AudioArtifactsConfiguration(output.Audio, context) : undefined,
|
|
2182
|
-
CompositedVideo: output.CompositedVideo != null
|
|
2183
|
-
? de_CompositedVideoArtifactsConfiguration(output.CompositedVideo, context)
|
|
2184
|
-
: undefined,
|
|
2185
|
-
Content: output.Content != null ? de_ContentArtifactsConfiguration(output.Content, context) : undefined,
|
|
2186
|
-
Video: output.Video != null ? de_VideoArtifactsConfiguration(output.Video, context) : undefined,
|
|
2187
|
-
};
|
|
2188
|
-
};
|
|
2189
|
-
const de_AttendeeIdList = (output, context) => {
|
|
2190
|
-
const retVal = (output || [])
|
|
2191
|
-
.filter((e) => e != null)
|
|
2192
|
-
.map((entry) => {
|
|
2193
|
-
if (entry === null) {
|
|
2194
|
-
return null;
|
|
2195
|
-
}
|
|
2196
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
2197
|
-
});
|
|
2198
|
-
return retVal;
|
|
2199
|
-
};
|
|
2200
|
-
const de_AudioArtifactsConfiguration = (output, context) => {
|
|
2201
|
-
return {
|
|
2202
|
-
MuxType: (0, smithy_client_1.expectString)(output.MuxType),
|
|
2203
|
-
};
|
|
2204
|
-
};
|
|
2205
|
-
const de_AudioConcatenationConfiguration = (output, context) => {
|
|
2206
|
-
return {
|
|
2207
|
-
State: (0, smithy_client_1.expectString)(output.State),
|
|
2208
|
-
};
|
|
2209
|
-
};
|
|
2210
|
-
const de_CategoryNameList = (output, context) => {
|
|
2211
|
-
const retVal = (output || [])
|
|
2212
|
-
.filter((e) => e != null)
|
|
2213
|
-
.map((entry) => {
|
|
2214
|
-
if (entry === null) {
|
|
2215
|
-
return null;
|
|
2216
|
-
}
|
|
2217
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
2218
|
-
});
|
|
2219
|
-
return retVal;
|
|
2220
|
-
};
|
|
2221
|
-
const de_ChannelDefinition = (output, context) => {
|
|
2222
|
-
return {
|
|
2223
|
-
ChannelId: (0, smithy_client_1.expectInt32)(output.ChannelId),
|
|
2224
|
-
ParticipantRole: (0, smithy_client_1.expectString)(output.ParticipantRole),
|
|
2225
|
-
};
|
|
2226
|
-
};
|
|
2227
|
-
const de_ChannelDefinitions = (output, context) => {
|
|
2228
|
-
const retVal = (output || [])
|
|
2229
|
-
.filter((e) => e != null)
|
|
2230
|
-
.map((entry) => {
|
|
2231
|
-
if (entry === null) {
|
|
2232
|
-
return null;
|
|
2233
|
-
}
|
|
2234
|
-
return de_ChannelDefinition(entry, context);
|
|
2235
|
-
});
|
|
2236
|
-
return retVal;
|
|
2237
|
-
};
|
|
2238
|
-
const de_ChimeSdkMeetingConcatenationConfiguration = (output, context) => {
|
|
2239
|
-
return {
|
|
2240
|
-
ArtifactsConfiguration: output.ArtifactsConfiguration != null
|
|
2241
|
-
? de_ArtifactsConcatenationConfiguration(output.ArtifactsConfiguration, context)
|
|
2242
|
-
: undefined,
|
|
2243
|
-
};
|
|
2244
|
-
};
|
|
2245
|
-
const de_ChimeSdkMeetingConfiguration = (output, context) => {
|
|
2246
|
-
return {
|
|
2247
|
-
ArtifactsConfiguration: output.ArtifactsConfiguration != null
|
|
2248
|
-
? de_ArtifactsConfiguration(output.ArtifactsConfiguration, context)
|
|
2249
|
-
: undefined,
|
|
2250
|
-
SourceConfiguration: output.SourceConfiguration != null ? de_SourceConfiguration(output.SourceConfiguration, context) : undefined,
|
|
2251
|
-
};
|
|
2252
|
-
};
|
|
2253
|
-
const de_ChimeSdkMeetingLiveConnectorConfiguration = (output, context) => {
|
|
2254
|
-
return {
|
|
2255
|
-
Arn: (0, smithy_client_1.expectString)(output.Arn),
|
|
2256
|
-
CompositedVideo: output.CompositedVideo != null
|
|
2257
|
-
? de_CompositedVideoArtifactsConfiguration(output.CompositedVideo, context)
|
|
2258
|
-
: undefined,
|
|
2259
|
-
MuxType: (0, smithy_client_1.expectString)(output.MuxType),
|
|
2260
|
-
SourceConfiguration: output.SourceConfiguration != null ? de_SourceConfiguration(output.SourceConfiguration, context) : undefined,
|
|
2261
|
-
};
|
|
2262
|
-
};
|
|
2263
|
-
const de_CompositedVideoArtifactsConfiguration = (output, context) => {
|
|
2264
|
-
return {
|
|
2265
|
-
GridViewConfiguration: output.GridViewConfiguration != null
|
|
2266
|
-
? de_GridViewConfiguration(output.GridViewConfiguration, context)
|
|
2267
|
-
: undefined,
|
|
2268
|
-
Layout: (0, smithy_client_1.expectString)(output.Layout),
|
|
2269
|
-
Resolution: (0, smithy_client_1.expectString)(output.Resolution),
|
|
2270
|
-
};
|
|
2271
|
-
};
|
|
2272
|
-
const de_CompositedVideoConcatenationConfiguration = (output, context) => {
|
|
2273
|
-
return {
|
|
2274
|
-
State: (0, smithy_client_1.expectString)(output.State),
|
|
2275
|
-
};
|
|
2276
|
-
};
|
|
2277
|
-
const de_ConcatenationSink = (output, context) => {
|
|
2278
|
-
return {
|
|
2279
|
-
S3BucketSinkConfiguration: output.S3BucketSinkConfiguration != null
|
|
2280
|
-
? de_S3BucketSinkConfiguration(output.S3BucketSinkConfiguration, context)
|
|
2281
|
-
: undefined,
|
|
2282
|
-
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
2283
|
-
};
|
|
2284
|
-
};
|
|
2285
|
-
const de_ConcatenationSinkList = (output, context) => {
|
|
2286
|
-
const retVal = (output || [])
|
|
2287
|
-
.filter((e) => e != null)
|
|
2288
|
-
.map((entry) => {
|
|
2289
|
-
if (entry === null) {
|
|
2290
|
-
return null;
|
|
2291
|
-
}
|
|
2292
|
-
return de_ConcatenationSink(entry, context);
|
|
2293
|
-
});
|
|
2294
|
-
return retVal;
|
|
2295
|
-
};
|
|
2296
|
-
const de_ConcatenationSource = (output, context) => {
|
|
2297
|
-
return {
|
|
2298
|
-
MediaCapturePipelineSourceConfiguration: output.MediaCapturePipelineSourceConfiguration != null
|
|
2299
|
-
? de_MediaCapturePipelineSourceConfiguration(output.MediaCapturePipelineSourceConfiguration, context)
|
|
2300
|
-
: undefined,
|
|
2301
|
-
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
2302
|
-
};
|
|
2303
|
-
};
|
|
2304
|
-
const de_ConcatenationSourceList = (output, context) => {
|
|
2305
|
-
const retVal = (output || [])
|
|
2306
|
-
.filter((e) => e != null)
|
|
2307
|
-
.map((entry) => {
|
|
2308
|
-
if (entry === null) {
|
|
2309
|
-
return null;
|
|
2310
|
-
}
|
|
2311
|
-
return de_ConcatenationSource(entry, context);
|
|
2312
|
-
});
|
|
2313
|
-
return retVal;
|
|
2314
|
-
};
|
|
2315
|
-
const de_ContentArtifactsConfiguration = (output, context) => {
|
|
2316
|
-
return {
|
|
2317
|
-
MuxType: (0, smithy_client_1.expectString)(output.MuxType),
|
|
2318
|
-
State: (0, smithy_client_1.expectString)(output.State),
|
|
2319
|
-
};
|
|
2320
|
-
};
|
|
2321
|
-
const de_ContentConcatenationConfiguration = (output, context) => {
|
|
2322
|
-
return {
|
|
2323
|
-
State: (0, smithy_client_1.expectString)(output.State),
|
|
2324
|
-
};
|
|
2325
|
-
};
|
|
2326
|
-
const de_DataChannelConcatenationConfiguration = (output, context) => {
|
|
2327
|
-
return {
|
|
2328
|
-
State: (0, smithy_client_1.expectString)(output.State),
|
|
2329
|
-
};
|
|
2330
|
-
};
|
|
2331
|
-
const de_ExternalUserIdList = (output, context) => {
|
|
2332
|
-
const retVal = (output || [])
|
|
2333
|
-
.filter((e) => e != null)
|
|
2334
|
-
.map((entry) => {
|
|
2335
|
-
if (entry === null) {
|
|
2336
|
-
return null;
|
|
2337
|
-
}
|
|
2338
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
1557
|
+
return (0, smithy_client_1.take)(input, {
|
|
1558
|
+
EndTimestamp: (_) => Math.round(_.getTime() / 1000),
|
|
1559
|
+
StartTimestamp: (_) => Math.round(_.getTime() / 1000),
|
|
2339
1560
|
});
|
|
2340
|
-
return retVal;
|
|
2341
1561
|
};
|
|
2342
1562
|
const de_FragmentSelector = (output, context) => {
|
|
2343
|
-
return {
|
|
2344
|
-
FragmentSelectorType:
|
|
2345
|
-
TimestampRange:
|
|
2346
|
-
};
|
|
2347
|
-
};
|
|
2348
|
-
const de_GridViewConfiguration = (output, context) => {
|
|
2349
|
-
return {
|
|
2350
|
-
ContentShareLayout: (0, smithy_client_1.expectString)(output.ContentShareLayout),
|
|
2351
|
-
PresenterOnlyConfiguration: output.PresenterOnlyConfiguration != null
|
|
2352
|
-
? de_PresenterOnlyConfiguration(output.PresenterOnlyConfiguration, context)
|
|
2353
|
-
: undefined,
|
|
2354
|
-
};
|
|
2355
|
-
};
|
|
2356
|
-
const de_IssueDetectionConfiguration = (output, context) => {
|
|
2357
|
-
return {
|
|
2358
|
-
RuleName: (0, smithy_client_1.expectString)(output.RuleName),
|
|
2359
|
-
};
|
|
2360
|
-
};
|
|
2361
|
-
const de_KeywordMatchConfiguration = (output, context) => {
|
|
2362
|
-
return {
|
|
2363
|
-
Keywords: output.Keywords != null ? de_KeywordMatchWordList(output.Keywords, context) : undefined,
|
|
2364
|
-
Negate: (0, smithy_client_1.expectBoolean)(output.Negate),
|
|
2365
|
-
RuleName: (0, smithy_client_1.expectString)(output.RuleName),
|
|
2366
|
-
};
|
|
2367
|
-
};
|
|
2368
|
-
const de_KeywordMatchWordList = (output, context) => {
|
|
2369
|
-
const retVal = (output || [])
|
|
2370
|
-
.filter((e) => e != null)
|
|
2371
|
-
.map((entry) => {
|
|
2372
|
-
if (entry === null) {
|
|
2373
|
-
return null;
|
|
2374
|
-
}
|
|
2375
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
1563
|
+
return (0, smithy_client_1.take)(output, {
|
|
1564
|
+
FragmentSelectorType: smithy_client_1.expectString,
|
|
1565
|
+
TimestampRange: (_) => de_TimestampRange(_, context),
|
|
2376
1566
|
});
|
|
2377
|
-
return retVal;
|
|
2378
|
-
};
|
|
2379
|
-
const de_KinesisDataStreamSinkConfiguration = (output, context) => {
|
|
2380
|
-
return {
|
|
2381
|
-
InsightsTarget: (0, smithy_client_1.expectString)(output.InsightsTarget),
|
|
2382
|
-
};
|
|
2383
1567
|
};
|
|
2384
1568
|
const de_KinesisVideoStreamRecordingSourceRuntimeConfiguration = (output, context) => {
|
|
2385
|
-
return {
|
|
2386
|
-
FragmentSelector:
|
|
2387
|
-
Streams:
|
|
2388
|
-
};
|
|
2389
|
-
};
|
|
2390
|
-
const de_KinesisVideoStreamSourceRuntimeConfiguration = (output, context) => {
|
|
2391
|
-
return {
|
|
2392
|
-
MediaEncoding: (0, smithy_client_1.expectString)(output.MediaEncoding),
|
|
2393
|
-
MediaSampleRate: (0, smithy_client_1.expectInt32)(output.MediaSampleRate),
|
|
2394
|
-
Streams: output.Streams != null ? de_Streams(output.Streams, context) : undefined,
|
|
2395
|
-
};
|
|
2396
|
-
};
|
|
2397
|
-
const de_LambdaFunctionSinkConfiguration = (output, context) => {
|
|
2398
|
-
return {
|
|
2399
|
-
InsightsTarget: (0, smithy_client_1.expectString)(output.InsightsTarget),
|
|
2400
|
-
};
|
|
2401
|
-
};
|
|
2402
|
-
const de_LiveConnectorRTMPConfiguration = (output, context) => {
|
|
2403
|
-
return {
|
|
2404
|
-
AudioChannels: (0, smithy_client_1.expectString)(output.AudioChannels),
|
|
2405
|
-
AudioSampleRate: (0, smithy_client_1.expectString)(output.AudioSampleRate),
|
|
2406
|
-
Url: (0, smithy_client_1.expectString)(output.Url),
|
|
2407
|
-
};
|
|
2408
|
-
};
|
|
2409
|
-
const de_LiveConnectorSinkConfiguration = (output, context) => {
|
|
2410
|
-
return {
|
|
2411
|
-
RTMPConfiguration: output.RTMPConfiguration != null
|
|
2412
|
-
? de_LiveConnectorRTMPConfiguration(output.RTMPConfiguration, context)
|
|
2413
|
-
: undefined,
|
|
2414
|
-
SinkType: (0, smithy_client_1.expectString)(output.SinkType),
|
|
2415
|
-
};
|
|
2416
|
-
};
|
|
2417
|
-
const de_LiveConnectorSinkList = (output, context) => {
|
|
2418
|
-
const retVal = (output || [])
|
|
2419
|
-
.filter((e) => e != null)
|
|
2420
|
-
.map((entry) => {
|
|
2421
|
-
if (entry === null) {
|
|
2422
|
-
return null;
|
|
2423
|
-
}
|
|
2424
|
-
return de_LiveConnectorSinkConfiguration(entry, context);
|
|
2425
|
-
});
|
|
2426
|
-
return retVal;
|
|
2427
|
-
};
|
|
2428
|
-
const de_LiveConnectorSourceConfiguration = (output, context) => {
|
|
2429
|
-
return {
|
|
2430
|
-
ChimeSdkMeetingLiveConnectorConfiguration: output.ChimeSdkMeetingLiveConnectorConfiguration != null
|
|
2431
|
-
? de_ChimeSdkMeetingLiveConnectorConfiguration(output.ChimeSdkMeetingLiveConnectorConfiguration, context)
|
|
2432
|
-
: undefined,
|
|
2433
|
-
SourceType: (0, smithy_client_1.expectString)(output.SourceType),
|
|
2434
|
-
};
|
|
2435
|
-
};
|
|
2436
|
-
const de_LiveConnectorSourceList = (output, context) => {
|
|
2437
|
-
const retVal = (output || [])
|
|
2438
|
-
.filter((e) => e != null)
|
|
2439
|
-
.map((entry) => {
|
|
2440
|
-
if (entry === null) {
|
|
2441
|
-
return null;
|
|
2442
|
-
}
|
|
2443
|
-
return de_LiveConnectorSourceConfiguration(entry, context);
|
|
1569
|
+
return (0, smithy_client_1.take)(output, {
|
|
1570
|
+
FragmentSelector: (_) => de_FragmentSelector(_, context),
|
|
1571
|
+
Streams: smithy_client_1._json,
|
|
2444
1572
|
});
|
|
2445
|
-
return retVal;
|
|
2446
1573
|
};
|
|
2447
1574
|
const de_MediaCapturePipeline = (output, context) => {
|
|
2448
|
-
return {
|
|
2449
|
-
ChimeSdkMeetingConfiguration:
|
|
2450
|
-
|
|
2451
|
-
|
|
2452
|
-
|
|
2453
|
-
|
|
2454
|
-
|
|
2455
|
-
|
|
2456
|
-
|
|
2457
|
-
|
|
2458
|
-
|
|
2459
|
-
SourceArn: (0, smithy_client_1.expectString)(output.SourceArn),
|
|
2460
|
-
SourceType: (0, smithy_client_1.expectString)(output.SourceType),
|
|
2461
|
-
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
2462
|
-
UpdatedTimestamp: output.UpdatedTimestamp != null
|
|
2463
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.UpdatedTimestamp))
|
|
2464
|
-
: undefined,
|
|
2465
|
-
};
|
|
2466
|
-
};
|
|
2467
|
-
const de_MediaCapturePipelineSourceConfiguration = (output, context) => {
|
|
2468
|
-
return {
|
|
2469
|
-
ChimeSdkMeetingConfiguration: output.ChimeSdkMeetingConfiguration != null
|
|
2470
|
-
? de_ChimeSdkMeetingConcatenationConfiguration(output.ChimeSdkMeetingConfiguration, context)
|
|
2471
|
-
: undefined,
|
|
2472
|
-
MediaPipelineArn: (0, smithy_client_1.expectString)(output.MediaPipelineArn),
|
|
2473
|
-
};
|
|
2474
|
-
};
|
|
2475
|
-
const de_MediaCapturePipelineSummary = (output, context) => {
|
|
2476
|
-
return {
|
|
2477
|
-
MediaPipelineArn: (0, smithy_client_1.expectString)(output.MediaPipelineArn),
|
|
2478
|
-
MediaPipelineId: (0, smithy_client_1.expectString)(output.MediaPipelineId),
|
|
2479
|
-
};
|
|
2480
|
-
};
|
|
2481
|
-
const de_MediaCapturePipelineSummaryList = (output, context) => {
|
|
2482
|
-
const retVal = (output || [])
|
|
2483
|
-
.filter((e) => e != null)
|
|
2484
|
-
.map((entry) => {
|
|
2485
|
-
if (entry === null) {
|
|
2486
|
-
return null;
|
|
2487
|
-
}
|
|
2488
|
-
return de_MediaCapturePipelineSummary(entry, context);
|
|
1575
|
+
return (0, smithy_client_1.take)(output, {
|
|
1576
|
+
ChimeSdkMeetingConfiguration: smithy_client_1._json,
|
|
1577
|
+
CreatedTimestamp: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
|
|
1578
|
+
MediaPipelineArn: smithy_client_1.expectString,
|
|
1579
|
+
MediaPipelineId: smithy_client_1.expectString,
|
|
1580
|
+
SinkArn: smithy_client_1.expectString,
|
|
1581
|
+
SinkType: smithy_client_1.expectString,
|
|
1582
|
+
SourceArn: smithy_client_1.expectString,
|
|
1583
|
+
SourceType: smithy_client_1.expectString,
|
|
1584
|
+
Status: smithy_client_1.expectString,
|
|
1585
|
+
UpdatedTimestamp: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
|
|
2489
1586
|
});
|
|
2490
|
-
return retVal;
|
|
2491
1587
|
};
|
|
2492
1588
|
const de_MediaConcatenationPipeline = (output, context) => {
|
|
2493
|
-
return {
|
|
2494
|
-
CreatedTimestamp:
|
|
2495
|
-
|
|
2496
|
-
|
|
2497
|
-
|
|
2498
|
-
|
|
2499
|
-
|
|
2500
|
-
|
|
2501
|
-
|
|
2502
|
-
UpdatedTimestamp: output.UpdatedTimestamp != null
|
|
2503
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.UpdatedTimestamp))
|
|
2504
|
-
: undefined,
|
|
2505
|
-
};
|
|
1589
|
+
return (0, smithy_client_1.take)(output, {
|
|
1590
|
+
CreatedTimestamp: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
|
|
1591
|
+
MediaPipelineArn: smithy_client_1.expectString,
|
|
1592
|
+
MediaPipelineId: smithy_client_1.expectString,
|
|
1593
|
+
Sinks: smithy_client_1._json,
|
|
1594
|
+
Sources: smithy_client_1._json,
|
|
1595
|
+
Status: smithy_client_1.expectString,
|
|
1596
|
+
UpdatedTimestamp: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
|
|
1597
|
+
});
|
|
2506
1598
|
};
|
|
2507
1599
|
const de_MediaInsightsPipeline = (output, context) => {
|
|
2508
|
-
return {
|
|
2509
|
-
CreatedTimestamp:
|
|
2510
|
-
|
|
2511
|
-
|
|
2512
|
-
|
|
2513
|
-
|
|
2514
|
-
|
|
2515
|
-
|
|
2516
|
-
|
|
2517
|
-
|
|
2518
|
-
MediaInsightsPipelineConfigurationArn: (0, smithy_client_1.expectString)(output.MediaInsightsPipelineConfigurationArn),
|
|
2519
|
-
MediaInsightsRuntimeMetadata: output.MediaInsightsRuntimeMetadata != null
|
|
2520
|
-
? de_MediaInsightsRuntimeMetadata(output.MediaInsightsRuntimeMetadata, context)
|
|
2521
|
-
: undefined,
|
|
2522
|
-
MediaPipelineArn: (0, smithy_client_1.expectString)(output.MediaPipelineArn),
|
|
2523
|
-
MediaPipelineId: (0, smithy_client_1.expectString)(output.MediaPipelineId),
|
|
2524
|
-
S3RecordingSinkRuntimeConfiguration: output.S3RecordingSinkRuntimeConfiguration != null
|
|
2525
|
-
? de_S3RecordingSinkRuntimeConfiguration(output.S3RecordingSinkRuntimeConfiguration, context)
|
|
2526
|
-
: undefined,
|
|
2527
|
-
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
2528
|
-
};
|
|
2529
|
-
};
|
|
2530
|
-
const de_MediaInsightsPipelineConfiguration = (output, context) => {
|
|
2531
|
-
return {
|
|
2532
|
-
CreatedTimestamp: output.CreatedTimestamp != null
|
|
2533
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.CreatedTimestamp))
|
|
2534
|
-
: undefined,
|
|
2535
|
-
Elements: output.Elements != null ? de_MediaInsightsPipelineConfigurationElements(output.Elements, context) : undefined,
|
|
2536
|
-
MediaInsightsPipelineConfigurationArn: (0, smithy_client_1.expectString)(output.MediaInsightsPipelineConfigurationArn),
|
|
2537
|
-
MediaInsightsPipelineConfigurationId: (0, smithy_client_1.expectString)(output.MediaInsightsPipelineConfigurationId),
|
|
2538
|
-
MediaInsightsPipelineConfigurationName: (0, smithy_client_1.expectString)(output.MediaInsightsPipelineConfigurationName),
|
|
2539
|
-
RealTimeAlertConfiguration: output.RealTimeAlertConfiguration != null
|
|
2540
|
-
? de_RealTimeAlertConfiguration(output.RealTimeAlertConfiguration, context)
|
|
2541
|
-
: undefined,
|
|
2542
|
-
ResourceAccessRoleArn: (0, smithy_client_1.expectString)(output.ResourceAccessRoleArn),
|
|
2543
|
-
UpdatedTimestamp: output.UpdatedTimestamp != null
|
|
2544
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.UpdatedTimestamp))
|
|
2545
|
-
: undefined,
|
|
2546
|
-
};
|
|
2547
|
-
};
|
|
2548
|
-
const de_MediaInsightsPipelineConfigurationElement = (output, context) => {
|
|
2549
|
-
return {
|
|
2550
|
-
AmazonTranscribeCallAnalyticsProcessorConfiguration: output.AmazonTranscribeCallAnalyticsProcessorConfiguration != null
|
|
2551
|
-
? de_AmazonTranscribeCallAnalyticsProcessorConfiguration(output.AmazonTranscribeCallAnalyticsProcessorConfiguration, context)
|
|
2552
|
-
: undefined,
|
|
2553
|
-
AmazonTranscribeProcessorConfiguration: output.AmazonTranscribeProcessorConfiguration != null
|
|
2554
|
-
? de_AmazonTranscribeProcessorConfiguration(output.AmazonTranscribeProcessorConfiguration, context)
|
|
2555
|
-
: undefined,
|
|
2556
|
-
KinesisDataStreamSinkConfiguration: output.KinesisDataStreamSinkConfiguration != null
|
|
2557
|
-
? de_KinesisDataStreamSinkConfiguration(output.KinesisDataStreamSinkConfiguration, context)
|
|
2558
|
-
: undefined,
|
|
2559
|
-
LambdaFunctionSinkConfiguration: output.LambdaFunctionSinkConfiguration != null
|
|
2560
|
-
? de_LambdaFunctionSinkConfiguration(output.LambdaFunctionSinkConfiguration, context)
|
|
2561
|
-
: undefined,
|
|
2562
|
-
S3RecordingSinkConfiguration: output.S3RecordingSinkConfiguration != null
|
|
2563
|
-
? de_S3RecordingSinkConfiguration(output.S3RecordingSinkConfiguration, context)
|
|
2564
|
-
: undefined,
|
|
2565
|
-
SnsTopicSinkConfiguration: output.SnsTopicSinkConfiguration != null
|
|
2566
|
-
? de_SnsTopicSinkConfiguration(output.SnsTopicSinkConfiguration, context)
|
|
2567
|
-
: undefined,
|
|
2568
|
-
SqsQueueSinkConfiguration: output.SqsQueueSinkConfiguration != null
|
|
2569
|
-
? de_SqsQueueSinkConfiguration(output.SqsQueueSinkConfiguration, context)
|
|
2570
|
-
: undefined,
|
|
2571
|
-
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
2572
|
-
VoiceAnalyticsProcessorConfiguration: output.VoiceAnalyticsProcessorConfiguration != null
|
|
2573
|
-
? de_VoiceAnalyticsProcessorConfiguration(output.VoiceAnalyticsProcessorConfiguration, context)
|
|
2574
|
-
: undefined,
|
|
2575
|
-
};
|
|
2576
|
-
};
|
|
2577
|
-
const de_MediaInsightsPipelineConfigurationElements = (output, context) => {
|
|
2578
|
-
const retVal = (output || [])
|
|
2579
|
-
.filter((e) => e != null)
|
|
2580
|
-
.map((entry) => {
|
|
2581
|
-
if (entry === null) {
|
|
2582
|
-
return null;
|
|
2583
|
-
}
|
|
2584
|
-
return de_MediaInsightsPipelineConfigurationElement(entry, context);
|
|
1600
|
+
return (0, smithy_client_1.take)(output, {
|
|
1601
|
+
CreatedTimestamp: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
|
|
1602
|
+
KinesisVideoStreamRecordingSourceRuntimeConfiguration: (_) => de_KinesisVideoStreamRecordingSourceRuntimeConfiguration(_, context),
|
|
1603
|
+
KinesisVideoStreamSourceRuntimeConfiguration: smithy_client_1._json,
|
|
1604
|
+
MediaInsightsPipelineConfigurationArn: smithy_client_1.expectString,
|
|
1605
|
+
MediaInsightsRuntimeMetadata: smithy_client_1._json,
|
|
1606
|
+
MediaPipelineArn: smithy_client_1.expectString,
|
|
1607
|
+
MediaPipelineId: smithy_client_1.expectString,
|
|
1608
|
+
S3RecordingSinkRuntimeConfiguration: smithy_client_1._json,
|
|
1609
|
+
Status: smithy_client_1.expectString,
|
|
2585
1610
|
});
|
|
2586
|
-
return retVal;
|
|
2587
1611
|
};
|
|
2588
|
-
const
|
|
2589
|
-
return {
|
|
2590
|
-
|
|
2591
|
-
|
|
2592
|
-
|
|
2593
|
-
|
|
2594
|
-
|
|
2595
|
-
|
|
2596
|
-
|
|
2597
|
-
|
|
2598
|
-
.map((entry) => {
|
|
2599
|
-
if (entry === null) {
|
|
2600
|
-
return null;
|
|
2601
|
-
}
|
|
2602
|
-
return de_MediaInsightsPipelineConfigurationSummary(entry, context);
|
|
1612
|
+
const de_MediaInsightsPipelineConfiguration = (output, context) => {
|
|
1613
|
+
return (0, smithy_client_1.take)(output, {
|
|
1614
|
+
CreatedTimestamp: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
|
|
1615
|
+
Elements: smithy_client_1._json,
|
|
1616
|
+
MediaInsightsPipelineConfigurationArn: smithy_client_1.expectString,
|
|
1617
|
+
MediaInsightsPipelineConfigurationId: smithy_client_1.expectString,
|
|
1618
|
+
MediaInsightsPipelineConfigurationName: smithy_client_1.expectString,
|
|
1619
|
+
RealTimeAlertConfiguration: smithy_client_1._json,
|
|
1620
|
+
ResourceAccessRoleArn: smithy_client_1.expectString,
|
|
1621
|
+
UpdatedTimestamp: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
|
|
2603
1622
|
});
|
|
2604
|
-
return retVal;
|
|
2605
|
-
};
|
|
2606
|
-
const de_MediaInsightsRuntimeMetadata = (output, context) => {
|
|
2607
|
-
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
2608
|
-
if (value === null) {
|
|
2609
|
-
return acc;
|
|
2610
|
-
}
|
|
2611
|
-
acc[key] = (0, smithy_client_1.expectString)(value);
|
|
2612
|
-
return acc;
|
|
2613
|
-
}, {});
|
|
2614
1623
|
};
|
|
2615
1624
|
const de_MediaLiveConnectorPipeline = (output, context) => {
|
|
2616
|
-
return {
|
|
2617
|
-
CreatedTimestamp:
|
|
2618
|
-
|
|
2619
|
-
|
|
2620
|
-
|
|
2621
|
-
|
|
2622
|
-
|
|
2623
|
-
|
|
2624
|
-
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
2625
|
-
UpdatedTimestamp: output.UpdatedTimestamp != null
|
|
2626
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.UpdatedTimestamp))
|
|
2627
|
-
: undefined,
|
|
2628
|
-
};
|
|
2629
|
-
};
|
|
2630
|
-
const de_MediaPipeline = (output, context) => {
|
|
2631
|
-
return {
|
|
2632
|
-
MediaCapturePipeline: output.MediaCapturePipeline != null ? de_MediaCapturePipeline(output.MediaCapturePipeline, context) : undefined,
|
|
2633
|
-
MediaConcatenationPipeline: output.MediaConcatenationPipeline != null
|
|
2634
|
-
? de_MediaConcatenationPipeline(output.MediaConcatenationPipeline, context)
|
|
2635
|
-
: undefined,
|
|
2636
|
-
MediaInsightsPipeline: output.MediaInsightsPipeline != null
|
|
2637
|
-
? de_MediaInsightsPipeline(output.MediaInsightsPipeline, context)
|
|
2638
|
-
: undefined,
|
|
2639
|
-
MediaLiveConnectorPipeline: output.MediaLiveConnectorPipeline != null
|
|
2640
|
-
? de_MediaLiveConnectorPipeline(output.MediaLiveConnectorPipeline, context)
|
|
2641
|
-
: undefined,
|
|
2642
|
-
};
|
|
2643
|
-
};
|
|
2644
|
-
const de_MediaPipelineList = (output, context) => {
|
|
2645
|
-
const retVal = (output || [])
|
|
2646
|
-
.filter((e) => e != null)
|
|
2647
|
-
.map((entry) => {
|
|
2648
|
-
if (entry === null) {
|
|
2649
|
-
return null;
|
|
2650
|
-
}
|
|
2651
|
-
return de_MediaPipelineSummary(entry, context);
|
|
2652
|
-
});
|
|
2653
|
-
return retVal;
|
|
2654
|
-
};
|
|
2655
|
-
const de_MediaPipelineSummary = (output, context) => {
|
|
2656
|
-
return {
|
|
2657
|
-
MediaPipelineArn: (0, smithy_client_1.expectString)(output.MediaPipelineArn),
|
|
2658
|
-
MediaPipelineId: (0, smithy_client_1.expectString)(output.MediaPipelineId),
|
|
2659
|
-
};
|
|
2660
|
-
};
|
|
2661
|
-
const de_MeetingEventsConcatenationConfiguration = (output, context) => {
|
|
2662
|
-
return {
|
|
2663
|
-
State: (0, smithy_client_1.expectString)(output.State),
|
|
2664
|
-
};
|
|
2665
|
-
};
|
|
2666
|
-
const de_PostCallAnalyticsSettings = (output, context) => {
|
|
2667
|
-
return {
|
|
2668
|
-
ContentRedactionOutput: (0, smithy_client_1.expectString)(output.ContentRedactionOutput),
|
|
2669
|
-
DataAccessRoleArn: (0, smithy_client_1.expectString)(output.DataAccessRoleArn),
|
|
2670
|
-
OutputEncryptionKMSKeyId: (0, smithy_client_1.expectString)(output.OutputEncryptionKMSKeyId),
|
|
2671
|
-
OutputLocation: (0, smithy_client_1.expectString)(output.OutputLocation),
|
|
2672
|
-
};
|
|
2673
|
-
};
|
|
2674
|
-
const de_PresenterOnlyConfiguration = (output, context) => {
|
|
2675
|
-
return {
|
|
2676
|
-
PresenterPosition: (0, smithy_client_1.expectString)(output.PresenterPosition),
|
|
2677
|
-
};
|
|
2678
|
-
};
|
|
2679
|
-
const de_RealTimeAlertConfiguration = (output, context) => {
|
|
2680
|
-
return {
|
|
2681
|
-
Disabled: (0, smithy_client_1.expectBoolean)(output.Disabled),
|
|
2682
|
-
Rules: output.Rules != null ? de_RealTimeAlertRuleList(output.Rules, context) : undefined,
|
|
2683
|
-
};
|
|
2684
|
-
};
|
|
2685
|
-
const de_RealTimeAlertRule = (output, context) => {
|
|
2686
|
-
return {
|
|
2687
|
-
IssueDetectionConfiguration: output.IssueDetectionConfiguration != null
|
|
2688
|
-
? de_IssueDetectionConfiguration(output.IssueDetectionConfiguration, context)
|
|
2689
|
-
: undefined,
|
|
2690
|
-
KeywordMatchConfiguration: output.KeywordMatchConfiguration != null
|
|
2691
|
-
? de_KeywordMatchConfiguration(output.KeywordMatchConfiguration, context)
|
|
2692
|
-
: undefined,
|
|
2693
|
-
SentimentConfiguration: output.SentimentConfiguration != null
|
|
2694
|
-
? de_SentimentConfiguration(output.SentimentConfiguration, context)
|
|
2695
|
-
: undefined,
|
|
2696
|
-
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
2697
|
-
};
|
|
2698
|
-
};
|
|
2699
|
-
const de_RealTimeAlertRuleList = (output, context) => {
|
|
2700
|
-
const retVal = (output || [])
|
|
2701
|
-
.filter((e) => e != null)
|
|
2702
|
-
.map((entry) => {
|
|
2703
|
-
if (entry === null) {
|
|
2704
|
-
return null;
|
|
2705
|
-
}
|
|
2706
|
-
return de_RealTimeAlertRule(entry, context);
|
|
2707
|
-
});
|
|
2708
|
-
return retVal;
|
|
2709
|
-
};
|
|
2710
|
-
const de_RecordingStreamConfiguration = (output, context) => {
|
|
2711
|
-
return {
|
|
2712
|
-
StreamArn: (0, smithy_client_1.expectString)(output.StreamArn),
|
|
2713
|
-
};
|
|
2714
|
-
};
|
|
2715
|
-
const de_RecordingStreamList = (output, context) => {
|
|
2716
|
-
const retVal = (output || [])
|
|
2717
|
-
.filter((e) => e != null)
|
|
2718
|
-
.map((entry) => {
|
|
2719
|
-
if (entry === null) {
|
|
2720
|
-
return null;
|
|
2721
|
-
}
|
|
2722
|
-
return de_RecordingStreamConfiguration(entry, context);
|
|
2723
|
-
});
|
|
2724
|
-
return retVal;
|
|
2725
|
-
};
|
|
2726
|
-
const de_S3BucketSinkConfiguration = (output, context) => {
|
|
2727
|
-
return {
|
|
2728
|
-
Destination: (0, smithy_client_1.expectString)(output.Destination),
|
|
2729
|
-
};
|
|
2730
|
-
};
|
|
2731
|
-
const de_S3RecordingSinkConfiguration = (output, context) => {
|
|
2732
|
-
return {
|
|
2733
|
-
Destination: (0, smithy_client_1.expectString)(output.Destination),
|
|
2734
|
-
};
|
|
2735
|
-
};
|
|
2736
|
-
const de_S3RecordingSinkRuntimeConfiguration = (output, context) => {
|
|
2737
|
-
return {
|
|
2738
|
-
Destination: (0, smithy_client_1.expectString)(output.Destination),
|
|
2739
|
-
RecordingFileFormat: (0, smithy_client_1.expectString)(output.RecordingFileFormat),
|
|
2740
|
-
};
|
|
2741
|
-
};
|
|
2742
|
-
const de_SelectedVideoStreams = (output, context) => {
|
|
2743
|
-
return {
|
|
2744
|
-
AttendeeIds: output.AttendeeIds != null ? de_AttendeeIdList(output.AttendeeIds, context) : undefined,
|
|
2745
|
-
ExternalUserIds: output.ExternalUserIds != null ? de_ExternalUserIdList(output.ExternalUserIds, context) : undefined,
|
|
2746
|
-
};
|
|
2747
|
-
};
|
|
2748
|
-
const de_SentimentConfiguration = (output, context) => {
|
|
2749
|
-
return {
|
|
2750
|
-
RuleName: (0, smithy_client_1.expectString)(output.RuleName),
|
|
2751
|
-
SentimentType: (0, smithy_client_1.expectString)(output.SentimentType),
|
|
2752
|
-
TimePeriod: (0, smithy_client_1.expectInt32)(output.TimePeriod),
|
|
2753
|
-
};
|
|
2754
|
-
};
|
|
2755
|
-
const de_SnsTopicSinkConfiguration = (output, context) => {
|
|
2756
|
-
return {
|
|
2757
|
-
InsightsTarget: (0, smithy_client_1.expectString)(output.InsightsTarget),
|
|
2758
|
-
};
|
|
2759
|
-
};
|
|
2760
|
-
const de_SourceConfiguration = (output, context) => {
|
|
2761
|
-
return {
|
|
2762
|
-
SelectedVideoStreams: output.SelectedVideoStreams != null ? de_SelectedVideoStreams(output.SelectedVideoStreams, context) : undefined,
|
|
2763
|
-
};
|
|
2764
|
-
};
|
|
2765
|
-
const de_SqsQueueSinkConfiguration = (output, context) => {
|
|
2766
|
-
return {
|
|
2767
|
-
InsightsTarget: (0, smithy_client_1.expectString)(output.InsightsTarget),
|
|
2768
|
-
};
|
|
2769
|
-
};
|
|
2770
|
-
const de_StreamChannelDefinition = (output, context) => {
|
|
2771
|
-
return {
|
|
2772
|
-
ChannelDefinitions: output.ChannelDefinitions != null ? de_ChannelDefinitions(output.ChannelDefinitions, context) : undefined,
|
|
2773
|
-
NumberOfChannels: (0, smithy_client_1.expectInt32)(output.NumberOfChannels),
|
|
2774
|
-
};
|
|
2775
|
-
};
|
|
2776
|
-
const de_StreamConfiguration = (output, context) => {
|
|
2777
|
-
return {
|
|
2778
|
-
FragmentNumber: (0, smithy_client_1.expectString)(output.FragmentNumber),
|
|
2779
|
-
StreamArn: (0, smithy_client_1.expectString)(output.StreamArn),
|
|
2780
|
-
StreamChannelDefinition: output.StreamChannelDefinition != null
|
|
2781
|
-
? de_StreamChannelDefinition(output.StreamChannelDefinition, context)
|
|
2782
|
-
: undefined,
|
|
2783
|
-
};
|
|
2784
|
-
};
|
|
2785
|
-
const de_Streams = (output, context) => {
|
|
2786
|
-
const retVal = (output || [])
|
|
2787
|
-
.filter((e) => e != null)
|
|
2788
|
-
.map((entry) => {
|
|
2789
|
-
if (entry === null) {
|
|
2790
|
-
return null;
|
|
2791
|
-
}
|
|
2792
|
-
return de_StreamConfiguration(entry, context);
|
|
1625
|
+
return (0, smithy_client_1.take)(output, {
|
|
1626
|
+
CreatedTimestamp: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
|
|
1627
|
+
MediaPipelineArn: smithy_client_1.expectString,
|
|
1628
|
+
MediaPipelineId: smithy_client_1.expectString,
|
|
1629
|
+
Sinks: smithy_client_1._json,
|
|
1630
|
+
Sources: smithy_client_1._json,
|
|
1631
|
+
Status: smithy_client_1.expectString,
|
|
1632
|
+
UpdatedTimestamp: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
|
|
2793
1633
|
});
|
|
2794
|
-
return retVal;
|
|
2795
1634
|
};
|
|
2796
|
-
const
|
|
2797
|
-
return {
|
|
2798
|
-
|
|
2799
|
-
|
|
2800
|
-
|
|
2801
|
-
|
|
2802
|
-
const de_TagList = (output, context) => {
|
|
2803
|
-
const retVal = (output || [])
|
|
2804
|
-
.filter((e) => e != null)
|
|
2805
|
-
.map((entry) => {
|
|
2806
|
-
if (entry === null) {
|
|
2807
|
-
return null;
|
|
2808
|
-
}
|
|
2809
|
-
return de_Tag(entry, context);
|
|
1635
|
+
const de_MediaPipeline = (output, context) => {
|
|
1636
|
+
return (0, smithy_client_1.take)(output, {
|
|
1637
|
+
MediaCapturePipeline: (_) => de_MediaCapturePipeline(_, context),
|
|
1638
|
+
MediaConcatenationPipeline: (_) => de_MediaConcatenationPipeline(_, context),
|
|
1639
|
+
MediaInsightsPipeline: (_) => de_MediaInsightsPipeline(_, context),
|
|
1640
|
+
MediaLiveConnectorPipeline: (_) => de_MediaLiveConnectorPipeline(_, context),
|
|
2810
1641
|
});
|
|
2811
|
-
return retVal;
|
|
2812
1642
|
};
|
|
2813
1643
|
const de_TimestampRange = (output, context) => {
|
|
2814
|
-
return {
|
|
2815
|
-
EndTimestamp:
|
|
2816
|
-
|
|
2817
|
-
|
|
2818
|
-
StartTimestamp: output.StartTimestamp != null
|
|
2819
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StartTimestamp)))
|
|
2820
|
-
: undefined,
|
|
2821
|
-
};
|
|
2822
|
-
};
|
|
2823
|
-
const de_TranscriptionMessagesConcatenationConfiguration = (output, context) => {
|
|
2824
|
-
return {
|
|
2825
|
-
State: (0, smithy_client_1.expectString)(output.State),
|
|
2826
|
-
};
|
|
2827
|
-
};
|
|
2828
|
-
const de_VideoArtifactsConfiguration = (output, context) => {
|
|
2829
|
-
return {
|
|
2830
|
-
MuxType: (0, smithy_client_1.expectString)(output.MuxType),
|
|
2831
|
-
State: (0, smithy_client_1.expectString)(output.State),
|
|
2832
|
-
};
|
|
2833
|
-
};
|
|
2834
|
-
const de_VideoConcatenationConfiguration = (output, context) => {
|
|
2835
|
-
return {
|
|
2836
|
-
State: (0, smithy_client_1.expectString)(output.State),
|
|
2837
|
-
};
|
|
2838
|
-
};
|
|
2839
|
-
const de_VoiceAnalyticsProcessorConfiguration = (output, context) => {
|
|
2840
|
-
return {
|
|
2841
|
-
SpeakerSearchStatus: (0, smithy_client_1.expectString)(output.SpeakerSearchStatus),
|
|
2842
|
-
VoiceToneAnalysisStatus: (0, smithy_client_1.expectString)(output.VoiceToneAnalysisStatus),
|
|
2843
|
-
};
|
|
1644
|
+
return (0, smithy_client_1.take)(output, {
|
|
1645
|
+
EndTimestamp: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
1646
|
+
StartTimestamp: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
1647
|
+
});
|
|
2844
1648
|
};
|
|
2845
1649
|
const deserializeMetadata = (output) => ({
|
|
2846
1650
|
httpStatusCode: output.statusCode,
|