@aws-sdk/client-chime-sdk-media-pipelines 3.145.0 → 3.154.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/CHANGELOG.md +27 -0
- package/README.md +2 -4
- package/dist-cjs/ChimeSDKMediaPipelines.js +75 -0
- package/dist-cjs/commands/CreateMediaConcatenationPipelineCommand.js +36 -0
- package/dist-cjs/commands/CreateMediaLiveConnectorPipelineCommand.js +36 -0
- package/dist-cjs/commands/DeleteMediaPipelineCommand.js +36 -0
- package/dist-cjs/commands/GetMediaPipelineCommand.js +36 -0
- package/dist-cjs/commands/ListMediaPipelinesCommand.js +36 -0
- package/dist-cjs/commands/index.js +5 -0
- package/dist-cjs/models/models_0.js +237 -1
- package/dist-cjs/pagination/ListMediaPipelinesPaginator.js +36 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_restJson1.js +878 -85
- package/dist-es/ChimeSDKMediaPipelines.js +75 -0
- package/dist-es/commands/CreateMediaConcatenationPipelineCommand.js +39 -0
- package/dist-es/commands/CreateMediaLiveConnectorPipelineCommand.js +39 -0
- package/dist-es/commands/DeleteMediaPipelineCommand.js +39 -0
- package/dist-es/commands/GetMediaPipelineCommand.js +39 -0
- package/dist-es/commands/ListMediaPipelinesCommand.js +39 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/models_0.js +111 -0
- package/dist-es/pagination/ListMediaPipelinesPaginator.js +75 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +912 -26
- package/dist-types/ChimeSDKMediaPipelines.d.ts +44 -11
- package/dist-types/ChimeSDKMediaPipelinesClient.d.ts +9 -6
- package/dist-types/commands/CreateMediaCapturePipelineCommand.d.ts +1 -1
- package/dist-types/commands/CreateMediaConcatenationPipelineCommand.d.ts +35 -0
- package/dist-types/commands/CreateMediaLiveConnectorPipelineCommand.d.ts +35 -0
- package/dist-types/commands/DeleteMediaCapturePipelineCommand.d.ts +1 -1
- package/dist-types/commands/DeleteMediaPipelineCommand.d.ts +35 -0
- package/dist-types/commands/GetMediaCapturePipelineCommand.d.ts +1 -1
- package/dist-types/commands/GetMediaPipelineCommand.d.ts +35 -0
- package/dist-types/commands/ListMediaCapturePipelinesCommand.d.ts +1 -1
- package/dist-types/commands/ListMediaPipelinesCommand.d.ts +35 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/models_0.d.ts +674 -39
- package/dist-types/pagination/ListMediaPipelinesPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +15 -0
- package/dist-types/ts3.4/ChimeSDKMediaPipelines.d.ts +25 -0
- package/dist-types/ts3.4/ChimeSDKMediaPipelinesClient.d.ts +7 -2
- package/dist-types/ts3.4/commands/CreateMediaConcatenationPipelineCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateMediaLiveConnectorPipelineCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteMediaPipelineCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetMediaPipelineCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListMediaPipelinesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +355 -1
- package/dist-types/ts3.4/pagination/ListMediaPipelinesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +15 -0
- package/package.json +4 -4
|
@@ -31,6 +31,56 @@ export var serializeAws_restJson1CreateMediaCapturePipelineCommand = function (i
|
|
|
31
31
|
}
|
|
32
32
|
});
|
|
33
33
|
}); };
|
|
34
|
+
export var serializeAws_restJson1CreateMediaConcatenationPipelineCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
35
|
+
var _a, hostname, _b, protocol, port, basePath, headers, resolvedPath, body;
|
|
36
|
+
var _c;
|
|
37
|
+
return __generator(this, function (_d) {
|
|
38
|
+
switch (_d.label) {
|
|
39
|
+
case 0: return [4, context.endpoint()];
|
|
40
|
+
case 1:
|
|
41
|
+
_a = _d.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
42
|
+
headers = {
|
|
43
|
+
"content-type": "application/json",
|
|
44
|
+
};
|
|
45
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/sdk-media-concatenation-pipelines";
|
|
46
|
+
body = JSON.stringify(__assign(__assign(__assign({ ClientRequestToken: (_c = input.ClientRequestToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }, (input.Sinks != null && { Sinks: serializeAws_restJson1ConcatenationSinkList(input.Sinks, context) })), (input.Sources != null && { Sources: serializeAws_restJson1ConcatenationSourceList(input.Sources, context) })), (input.Tags != null && { Tags: serializeAws_restJson1TagList(input.Tags, context) })));
|
|
47
|
+
return [2, new __HttpRequest({
|
|
48
|
+
protocol: protocol,
|
|
49
|
+
hostname: hostname,
|
|
50
|
+
port: port,
|
|
51
|
+
method: "POST",
|
|
52
|
+
headers: headers,
|
|
53
|
+
path: resolvedPath,
|
|
54
|
+
body: body,
|
|
55
|
+
})];
|
|
56
|
+
}
|
|
57
|
+
});
|
|
58
|
+
}); };
|
|
59
|
+
export var serializeAws_restJson1CreateMediaLiveConnectorPipelineCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
60
|
+
var _a, hostname, _b, protocol, port, basePath, headers, resolvedPath, body;
|
|
61
|
+
var _c;
|
|
62
|
+
return __generator(this, function (_d) {
|
|
63
|
+
switch (_d.label) {
|
|
64
|
+
case 0: return [4, context.endpoint()];
|
|
65
|
+
case 1:
|
|
66
|
+
_a = _d.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
67
|
+
headers = {
|
|
68
|
+
"content-type": "application/json",
|
|
69
|
+
};
|
|
70
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/sdk-media-live-connector-pipelines";
|
|
71
|
+
body = JSON.stringify(__assign(__assign(__assign({ ClientRequestToken: (_c = input.ClientRequestToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }, (input.Sinks != null && { Sinks: serializeAws_restJson1LiveConnectorSinkList(input.Sinks, context) })), (input.Sources != null && { Sources: serializeAws_restJson1LiveConnectorSourceList(input.Sources, context) })), (input.Tags != null && { Tags: serializeAws_restJson1TagList(input.Tags, context) })));
|
|
72
|
+
return [2, new __HttpRequest({
|
|
73
|
+
protocol: protocol,
|
|
74
|
+
hostname: hostname,
|
|
75
|
+
port: port,
|
|
76
|
+
method: "POST",
|
|
77
|
+
headers: headers,
|
|
78
|
+
path: resolvedPath,
|
|
79
|
+
body: body,
|
|
80
|
+
})];
|
|
81
|
+
}
|
|
82
|
+
});
|
|
83
|
+
}); };
|
|
34
84
|
export var serializeAws_restJson1DeleteMediaCapturePipelineCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
35
85
|
var _a, hostname, _b, protocol, port, basePath, headers, resolvedPath, body;
|
|
36
86
|
return __generator(this, function (_c) {
|
|
@@ -54,6 +104,28 @@ export var serializeAws_restJson1DeleteMediaCapturePipelineCommand = function (i
|
|
|
54
104
|
}
|
|
55
105
|
});
|
|
56
106
|
}); };
|
|
107
|
+
export var serializeAws_restJson1DeleteMediaPipelineCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
108
|
+
var _a, hostname, _b, protocol, port, basePath, headers, resolvedPath, body;
|
|
109
|
+
return __generator(this, function (_c) {
|
|
110
|
+
switch (_c.label) {
|
|
111
|
+
case 0: return [4, context.endpoint()];
|
|
112
|
+
case 1:
|
|
113
|
+
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
114
|
+
headers = {};
|
|
115
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/sdk-media-pipelines/{MediaPipelineId}";
|
|
116
|
+
resolvedPath = __resolvedPath(resolvedPath, input, "MediaPipelineId", function () { return input.MediaPipelineId; }, "{MediaPipelineId}", false);
|
|
117
|
+
return [2, new __HttpRequest({
|
|
118
|
+
protocol: protocol,
|
|
119
|
+
hostname: hostname,
|
|
120
|
+
port: port,
|
|
121
|
+
method: "DELETE",
|
|
122
|
+
headers: headers,
|
|
123
|
+
path: resolvedPath,
|
|
124
|
+
body: body,
|
|
125
|
+
})];
|
|
126
|
+
}
|
|
127
|
+
});
|
|
128
|
+
}); };
|
|
57
129
|
export var serializeAws_restJson1GetMediaCapturePipelineCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
58
130
|
var _a, hostname, _b, protocol, port, basePath, headers, resolvedPath, body;
|
|
59
131
|
return __generator(this, function (_c) {
|
|
@@ -77,6 +149,28 @@ export var serializeAws_restJson1GetMediaCapturePipelineCommand = function (inpu
|
|
|
77
149
|
}
|
|
78
150
|
});
|
|
79
151
|
}); };
|
|
152
|
+
export var serializeAws_restJson1GetMediaPipelineCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
153
|
+
var _a, hostname, _b, protocol, port, basePath, headers, resolvedPath, body;
|
|
154
|
+
return __generator(this, function (_c) {
|
|
155
|
+
switch (_c.label) {
|
|
156
|
+
case 0: return [4, context.endpoint()];
|
|
157
|
+
case 1:
|
|
158
|
+
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
159
|
+
headers = {};
|
|
160
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/sdk-media-pipelines/{MediaPipelineId}";
|
|
161
|
+
resolvedPath = __resolvedPath(resolvedPath, input, "MediaPipelineId", function () { return input.MediaPipelineId; }, "{MediaPipelineId}", false);
|
|
162
|
+
return [2, new __HttpRequest({
|
|
163
|
+
protocol: protocol,
|
|
164
|
+
hostname: hostname,
|
|
165
|
+
port: port,
|
|
166
|
+
method: "GET",
|
|
167
|
+
headers: headers,
|
|
168
|
+
path: resolvedPath,
|
|
169
|
+
body: body,
|
|
170
|
+
})];
|
|
171
|
+
}
|
|
172
|
+
});
|
|
173
|
+
}); };
|
|
80
174
|
export var serializeAws_restJson1ListMediaCapturePipelinesCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
81
175
|
var _a, hostname, _b, protocol, port, basePath, headers, resolvedPath, query, body;
|
|
82
176
|
return __generator(this, function (_c) {
|
|
@@ -103,6 +197,32 @@ export var serializeAws_restJson1ListMediaCapturePipelinesCommand = function (in
|
|
|
103
197
|
}
|
|
104
198
|
});
|
|
105
199
|
}); };
|
|
200
|
+
export var serializeAws_restJson1ListMediaPipelinesCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
201
|
+
var _a, hostname, _b, protocol, port, basePath, headers, resolvedPath, query, body;
|
|
202
|
+
return __generator(this, function (_c) {
|
|
203
|
+
switch (_c.label) {
|
|
204
|
+
case 0: return [4, context.endpoint()];
|
|
205
|
+
case 1:
|
|
206
|
+
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
207
|
+
headers = {};
|
|
208
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/sdk-media-pipelines";
|
|
209
|
+
query = map({
|
|
210
|
+
"next-token": [, input.NextToken],
|
|
211
|
+
"max-results": [function () { return input.MaxResults !== void 0; }, function () { return input.MaxResults.toString(); }],
|
|
212
|
+
});
|
|
213
|
+
return [2, new __HttpRequest({
|
|
214
|
+
protocol: protocol,
|
|
215
|
+
hostname: hostname,
|
|
216
|
+
port: port,
|
|
217
|
+
method: "GET",
|
|
218
|
+
headers: headers,
|
|
219
|
+
path: resolvedPath,
|
|
220
|
+
query: query,
|
|
221
|
+
body: body,
|
|
222
|
+
})];
|
|
223
|
+
}
|
|
224
|
+
});
|
|
225
|
+
}); };
|
|
106
226
|
export var serializeAws_restJson1ListTagsForResourceCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
107
227
|
var _a, hostname, _b, protocol, port, basePath, headers, resolvedPath, query, body;
|
|
108
228
|
return __generator(this, function (_c) {
|
|
@@ -225,8 +345,398 @@ var deserializeAws_restJson1CreateMediaCapturePipelineCommandError = function (o
|
|
|
225
345
|
case "com.amazonaws.chimesdkmediapipelines#BadRequestException": return [3, 2];
|
|
226
346
|
case "ForbiddenException": return [3, 4];
|
|
227
347
|
case "com.amazonaws.chimesdkmediapipelines#ForbiddenException": return [3, 4];
|
|
228
|
-
case "ResourceLimitExceededException": return [3, 6];
|
|
229
|
-
case "com.amazonaws.chimesdkmediapipelines#ResourceLimitExceededException": return [3, 6];
|
|
348
|
+
case "ResourceLimitExceededException": return [3, 6];
|
|
349
|
+
case "com.amazonaws.chimesdkmediapipelines#ResourceLimitExceededException": return [3, 6];
|
|
350
|
+
case "ServiceFailureException": return [3, 8];
|
|
351
|
+
case "com.amazonaws.chimesdkmediapipelines#ServiceFailureException": return [3, 8];
|
|
352
|
+
case "ServiceUnavailableException": return [3, 10];
|
|
353
|
+
case "com.amazonaws.chimesdkmediapipelines#ServiceUnavailableException": return [3, 10];
|
|
354
|
+
case "ThrottledClientException": return [3, 12];
|
|
355
|
+
case "com.amazonaws.chimesdkmediapipelines#ThrottledClientException": return [3, 12];
|
|
356
|
+
case "UnauthorizedClientException": return [3, 14];
|
|
357
|
+
case "com.amazonaws.chimesdkmediapipelines#UnauthorizedClientException": return [3, 14];
|
|
358
|
+
}
|
|
359
|
+
return [3, 16];
|
|
360
|
+
case 2: return [4, deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context)];
|
|
361
|
+
case 3: throw _d.sent();
|
|
362
|
+
case 4: return [4, deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context)];
|
|
363
|
+
case 5: throw _d.sent();
|
|
364
|
+
case 6: return [4, deserializeAws_restJson1ResourceLimitExceededExceptionResponse(parsedOutput, context)];
|
|
365
|
+
case 7: throw _d.sent();
|
|
366
|
+
case 8: return [4, deserializeAws_restJson1ServiceFailureExceptionResponse(parsedOutput, context)];
|
|
367
|
+
case 9: throw _d.sent();
|
|
368
|
+
case 10: return [4, deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context)];
|
|
369
|
+
case 11: throw _d.sent();
|
|
370
|
+
case 12: return [4, deserializeAws_restJson1ThrottledClientExceptionResponse(parsedOutput, context)];
|
|
371
|
+
case 13: throw _d.sent();
|
|
372
|
+
case 14: return [4, deserializeAws_restJson1UnauthorizedClientExceptionResponse(parsedOutput, context)];
|
|
373
|
+
case 15: throw _d.sent();
|
|
374
|
+
case 16:
|
|
375
|
+
parsedBody = parsedOutput.body;
|
|
376
|
+
throwDefaultError({
|
|
377
|
+
output: output,
|
|
378
|
+
parsedBody: parsedBody,
|
|
379
|
+
exceptionCtor: __BaseException,
|
|
380
|
+
errorCode: errorCode,
|
|
381
|
+
});
|
|
382
|
+
_d.label = 17;
|
|
383
|
+
case 17: return [2];
|
|
384
|
+
}
|
|
385
|
+
});
|
|
386
|
+
}); };
|
|
387
|
+
export var deserializeAws_restJson1CreateMediaConcatenationPipelineCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
388
|
+
var contents, data, _a, _b;
|
|
389
|
+
return __generator(this, function (_c) {
|
|
390
|
+
switch (_c.label) {
|
|
391
|
+
case 0:
|
|
392
|
+
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
393
|
+
return [2, deserializeAws_restJson1CreateMediaConcatenationPipelineCommandError(output, context)];
|
|
394
|
+
}
|
|
395
|
+
contents = map({
|
|
396
|
+
$metadata: deserializeMetadata(output),
|
|
397
|
+
});
|
|
398
|
+
_a = __expectNonNull;
|
|
399
|
+
_b = __expectObject;
|
|
400
|
+
return [4, parseBody(output.body, context)];
|
|
401
|
+
case 1:
|
|
402
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
403
|
+
if (data.MediaConcatenationPipeline != null) {
|
|
404
|
+
contents.MediaConcatenationPipeline = deserializeAws_restJson1MediaConcatenationPipeline(data.MediaConcatenationPipeline, context);
|
|
405
|
+
}
|
|
406
|
+
return [2, contents];
|
|
407
|
+
}
|
|
408
|
+
});
|
|
409
|
+
}); };
|
|
410
|
+
var deserializeAws_restJson1CreateMediaConcatenationPipelineCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
411
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
412
|
+
var _c;
|
|
413
|
+
return __generator(this, function (_d) {
|
|
414
|
+
switch (_d.label) {
|
|
415
|
+
case 0:
|
|
416
|
+
_a = [__assign({}, output)];
|
|
417
|
+
_c = {};
|
|
418
|
+
return [4, parseBody(output.body, context)];
|
|
419
|
+
case 1:
|
|
420
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
421
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
422
|
+
_b = errorCode;
|
|
423
|
+
switch (_b) {
|
|
424
|
+
case "BadRequestException": return [3, 2];
|
|
425
|
+
case "com.amazonaws.chimesdkmediapipelines#BadRequestException": return [3, 2];
|
|
426
|
+
case "ForbiddenException": return [3, 4];
|
|
427
|
+
case "com.amazonaws.chimesdkmediapipelines#ForbiddenException": return [3, 4];
|
|
428
|
+
case "ResourceLimitExceededException": return [3, 6];
|
|
429
|
+
case "com.amazonaws.chimesdkmediapipelines#ResourceLimitExceededException": return [3, 6];
|
|
430
|
+
case "ServiceFailureException": return [3, 8];
|
|
431
|
+
case "com.amazonaws.chimesdkmediapipelines#ServiceFailureException": return [3, 8];
|
|
432
|
+
case "ServiceUnavailableException": return [3, 10];
|
|
433
|
+
case "com.amazonaws.chimesdkmediapipelines#ServiceUnavailableException": return [3, 10];
|
|
434
|
+
case "ThrottledClientException": return [3, 12];
|
|
435
|
+
case "com.amazonaws.chimesdkmediapipelines#ThrottledClientException": return [3, 12];
|
|
436
|
+
case "UnauthorizedClientException": return [3, 14];
|
|
437
|
+
case "com.amazonaws.chimesdkmediapipelines#UnauthorizedClientException": return [3, 14];
|
|
438
|
+
}
|
|
439
|
+
return [3, 16];
|
|
440
|
+
case 2: return [4, deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context)];
|
|
441
|
+
case 3: throw _d.sent();
|
|
442
|
+
case 4: return [4, deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context)];
|
|
443
|
+
case 5: throw _d.sent();
|
|
444
|
+
case 6: return [4, deserializeAws_restJson1ResourceLimitExceededExceptionResponse(parsedOutput, context)];
|
|
445
|
+
case 7: throw _d.sent();
|
|
446
|
+
case 8: return [4, deserializeAws_restJson1ServiceFailureExceptionResponse(parsedOutput, context)];
|
|
447
|
+
case 9: throw _d.sent();
|
|
448
|
+
case 10: return [4, deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context)];
|
|
449
|
+
case 11: throw _d.sent();
|
|
450
|
+
case 12: return [4, deserializeAws_restJson1ThrottledClientExceptionResponse(parsedOutput, context)];
|
|
451
|
+
case 13: throw _d.sent();
|
|
452
|
+
case 14: return [4, deserializeAws_restJson1UnauthorizedClientExceptionResponse(parsedOutput, context)];
|
|
453
|
+
case 15: throw _d.sent();
|
|
454
|
+
case 16:
|
|
455
|
+
parsedBody = parsedOutput.body;
|
|
456
|
+
throwDefaultError({
|
|
457
|
+
output: output,
|
|
458
|
+
parsedBody: parsedBody,
|
|
459
|
+
exceptionCtor: __BaseException,
|
|
460
|
+
errorCode: errorCode,
|
|
461
|
+
});
|
|
462
|
+
_d.label = 17;
|
|
463
|
+
case 17: return [2];
|
|
464
|
+
}
|
|
465
|
+
});
|
|
466
|
+
}); };
|
|
467
|
+
export var deserializeAws_restJson1CreateMediaLiveConnectorPipelineCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
468
|
+
var contents, data, _a, _b;
|
|
469
|
+
return __generator(this, function (_c) {
|
|
470
|
+
switch (_c.label) {
|
|
471
|
+
case 0:
|
|
472
|
+
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
473
|
+
return [2, deserializeAws_restJson1CreateMediaLiveConnectorPipelineCommandError(output, context)];
|
|
474
|
+
}
|
|
475
|
+
contents = map({
|
|
476
|
+
$metadata: deserializeMetadata(output),
|
|
477
|
+
});
|
|
478
|
+
_a = __expectNonNull;
|
|
479
|
+
_b = __expectObject;
|
|
480
|
+
return [4, parseBody(output.body, context)];
|
|
481
|
+
case 1:
|
|
482
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
483
|
+
if (data.MediaLiveConnectorPipeline != null) {
|
|
484
|
+
contents.MediaLiveConnectorPipeline = deserializeAws_restJson1MediaLiveConnectorPipeline(data.MediaLiveConnectorPipeline, context);
|
|
485
|
+
}
|
|
486
|
+
return [2, contents];
|
|
487
|
+
}
|
|
488
|
+
});
|
|
489
|
+
}); };
|
|
490
|
+
var deserializeAws_restJson1CreateMediaLiveConnectorPipelineCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
491
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
492
|
+
var _c;
|
|
493
|
+
return __generator(this, function (_d) {
|
|
494
|
+
switch (_d.label) {
|
|
495
|
+
case 0:
|
|
496
|
+
_a = [__assign({}, output)];
|
|
497
|
+
_c = {};
|
|
498
|
+
return [4, parseBody(output.body, context)];
|
|
499
|
+
case 1:
|
|
500
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
501
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
502
|
+
_b = errorCode;
|
|
503
|
+
switch (_b) {
|
|
504
|
+
case "BadRequestException": return [3, 2];
|
|
505
|
+
case "com.amazonaws.chimesdkmediapipelines#BadRequestException": return [3, 2];
|
|
506
|
+
case "ForbiddenException": return [3, 4];
|
|
507
|
+
case "com.amazonaws.chimesdkmediapipelines#ForbiddenException": return [3, 4];
|
|
508
|
+
case "ResourceLimitExceededException": return [3, 6];
|
|
509
|
+
case "com.amazonaws.chimesdkmediapipelines#ResourceLimitExceededException": return [3, 6];
|
|
510
|
+
case "ServiceFailureException": return [3, 8];
|
|
511
|
+
case "com.amazonaws.chimesdkmediapipelines#ServiceFailureException": return [3, 8];
|
|
512
|
+
case "ServiceUnavailableException": return [3, 10];
|
|
513
|
+
case "com.amazonaws.chimesdkmediapipelines#ServiceUnavailableException": return [3, 10];
|
|
514
|
+
case "ThrottledClientException": return [3, 12];
|
|
515
|
+
case "com.amazonaws.chimesdkmediapipelines#ThrottledClientException": return [3, 12];
|
|
516
|
+
case "UnauthorizedClientException": return [3, 14];
|
|
517
|
+
case "com.amazonaws.chimesdkmediapipelines#UnauthorizedClientException": return [3, 14];
|
|
518
|
+
}
|
|
519
|
+
return [3, 16];
|
|
520
|
+
case 2: return [4, deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context)];
|
|
521
|
+
case 3: throw _d.sent();
|
|
522
|
+
case 4: return [4, deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context)];
|
|
523
|
+
case 5: throw _d.sent();
|
|
524
|
+
case 6: return [4, deserializeAws_restJson1ResourceLimitExceededExceptionResponse(parsedOutput, context)];
|
|
525
|
+
case 7: throw _d.sent();
|
|
526
|
+
case 8: return [4, deserializeAws_restJson1ServiceFailureExceptionResponse(parsedOutput, context)];
|
|
527
|
+
case 9: throw _d.sent();
|
|
528
|
+
case 10: return [4, deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context)];
|
|
529
|
+
case 11: throw _d.sent();
|
|
530
|
+
case 12: return [4, deserializeAws_restJson1ThrottledClientExceptionResponse(parsedOutput, context)];
|
|
531
|
+
case 13: throw _d.sent();
|
|
532
|
+
case 14: return [4, deserializeAws_restJson1UnauthorizedClientExceptionResponse(parsedOutput, context)];
|
|
533
|
+
case 15: throw _d.sent();
|
|
534
|
+
case 16:
|
|
535
|
+
parsedBody = parsedOutput.body;
|
|
536
|
+
throwDefaultError({
|
|
537
|
+
output: output,
|
|
538
|
+
parsedBody: parsedBody,
|
|
539
|
+
exceptionCtor: __BaseException,
|
|
540
|
+
errorCode: errorCode,
|
|
541
|
+
});
|
|
542
|
+
_d.label = 17;
|
|
543
|
+
case 17: return [2];
|
|
544
|
+
}
|
|
545
|
+
});
|
|
546
|
+
}); };
|
|
547
|
+
export var deserializeAws_restJson1DeleteMediaCapturePipelineCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
548
|
+
var contents;
|
|
549
|
+
return __generator(this, function (_a) {
|
|
550
|
+
switch (_a.label) {
|
|
551
|
+
case 0:
|
|
552
|
+
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
553
|
+
return [2, deserializeAws_restJson1DeleteMediaCapturePipelineCommandError(output, context)];
|
|
554
|
+
}
|
|
555
|
+
contents = map({
|
|
556
|
+
$metadata: deserializeMetadata(output),
|
|
557
|
+
});
|
|
558
|
+
return [4, collectBody(output.body, context)];
|
|
559
|
+
case 1:
|
|
560
|
+
_a.sent();
|
|
561
|
+
return [2, contents];
|
|
562
|
+
}
|
|
563
|
+
});
|
|
564
|
+
}); };
|
|
565
|
+
var deserializeAws_restJson1DeleteMediaCapturePipelineCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
566
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
567
|
+
var _c;
|
|
568
|
+
return __generator(this, function (_d) {
|
|
569
|
+
switch (_d.label) {
|
|
570
|
+
case 0:
|
|
571
|
+
_a = [__assign({}, output)];
|
|
572
|
+
_c = {};
|
|
573
|
+
return [4, parseBody(output.body, context)];
|
|
574
|
+
case 1:
|
|
575
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
576
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
577
|
+
_b = errorCode;
|
|
578
|
+
switch (_b) {
|
|
579
|
+
case "BadRequestException": return [3, 2];
|
|
580
|
+
case "com.amazonaws.chimesdkmediapipelines#BadRequestException": return [3, 2];
|
|
581
|
+
case "ForbiddenException": return [3, 4];
|
|
582
|
+
case "com.amazonaws.chimesdkmediapipelines#ForbiddenException": return [3, 4];
|
|
583
|
+
case "NotFoundException": return [3, 6];
|
|
584
|
+
case "com.amazonaws.chimesdkmediapipelines#NotFoundException": return [3, 6];
|
|
585
|
+
case "ServiceFailureException": return [3, 8];
|
|
586
|
+
case "com.amazonaws.chimesdkmediapipelines#ServiceFailureException": return [3, 8];
|
|
587
|
+
case "ServiceUnavailableException": return [3, 10];
|
|
588
|
+
case "com.amazonaws.chimesdkmediapipelines#ServiceUnavailableException": return [3, 10];
|
|
589
|
+
case "ThrottledClientException": return [3, 12];
|
|
590
|
+
case "com.amazonaws.chimesdkmediapipelines#ThrottledClientException": return [3, 12];
|
|
591
|
+
case "UnauthorizedClientException": return [3, 14];
|
|
592
|
+
case "com.amazonaws.chimesdkmediapipelines#UnauthorizedClientException": return [3, 14];
|
|
593
|
+
}
|
|
594
|
+
return [3, 16];
|
|
595
|
+
case 2: return [4, deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context)];
|
|
596
|
+
case 3: throw _d.sent();
|
|
597
|
+
case 4: return [4, deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context)];
|
|
598
|
+
case 5: throw _d.sent();
|
|
599
|
+
case 6: return [4, deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context)];
|
|
600
|
+
case 7: throw _d.sent();
|
|
601
|
+
case 8: return [4, deserializeAws_restJson1ServiceFailureExceptionResponse(parsedOutput, context)];
|
|
602
|
+
case 9: throw _d.sent();
|
|
603
|
+
case 10: return [4, deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context)];
|
|
604
|
+
case 11: throw _d.sent();
|
|
605
|
+
case 12: return [4, deserializeAws_restJson1ThrottledClientExceptionResponse(parsedOutput, context)];
|
|
606
|
+
case 13: throw _d.sent();
|
|
607
|
+
case 14: return [4, deserializeAws_restJson1UnauthorizedClientExceptionResponse(parsedOutput, context)];
|
|
608
|
+
case 15: throw _d.sent();
|
|
609
|
+
case 16:
|
|
610
|
+
parsedBody = parsedOutput.body;
|
|
611
|
+
throwDefaultError({
|
|
612
|
+
output: output,
|
|
613
|
+
parsedBody: parsedBody,
|
|
614
|
+
exceptionCtor: __BaseException,
|
|
615
|
+
errorCode: errorCode,
|
|
616
|
+
});
|
|
617
|
+
_d.label = 17;
|
|
618
|
+
case 17: return [2];
|
|
619
|
+
}
|
|
620
|
+
});
|
|
621
|
+
}); };
|
|
622
|
+
export var deserializeAws_restJson1DeleteMediaPipelineCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
623
|
+
var contents;
|
|
624
|
+
return __generator(this, function (_a) {
|
|
625
|
+
switch (_a.label) {
|
|
626
|
+
case 0:
|
|
627
|
+
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
628
|
+
return [2, deserializeAws_restJson1DeleteMediaPipelineCommandError(output, context)];
|
|
629
|
+
}
|
|
630
|
+
contents = map({
|
|
631
|
+
$metadata: deserializeMetadata(output),
|
|
632
|
+
});
|
|
633
|
+
return [4, collectBody(output.body, context)];
|
|
634
|
+
case 1:
|
|
635
|
+
_a.sent();
|
|
636
|
+
return [2, contents];
|
|
637
|
+
}
|
|
638
|
+
});
|
|
639
|
+
}); };
|
|
640
|
+
var deserializeAws_restJson1DeleteMediaPipelineCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
641
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
642
|
+
var _c;
|
|
643
|
+
return __generator(this, function (_d) {
|
|
644
|
+
switch (_d.label) {
|
|
645
|
+
case 0:
|
|
646
|
+
_a = [__assign({}, output)];
|
|
647
|
+
_c = {};
|
|
648
|
+
return [4, parseBody(output.body, context)];
|
|
649
|
+
case 1:
|
|
650
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
651
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
652
|
+
_b = errorCode;
|
|
653
|
+
switch (_b) {
|
|
654
|
+
case "BadRequestException": return [3, 2];
|
|
655
|
+
case "com.amazonaws.chimesdkmediapipelines#BadRequestException": return [3, 2];
|
|
656
|
+
case "ForbiddenException": return [3, 4];
|
|
657
|
+
case "com.amazonaws.chimesdkmediapipelines#ForbiddenException": return [3, 4];
|
|
658
|
+
case "NotFoundException": return [3, 6];
|
|
659
|
+
case "com.amazonaws.chimesdkmediapipelines#NotFoundException": return [3, 6];
|
|
660
|
+
case "ServiceFailureException": return [3, 8];
|
|
661
|
+
case "com.amazonaws.chimesdkmediapipelines#ServiceFailureException": return [3, 8];
|
|
662
|
+
case "ServiceUnavailableException": return [3, 10];
|
|
663
|
+
case "com.amazonaws.chimesdkmediapipelines#ServiceUnavailableException": return [3, 10];
|
|
664
|
+
case "ThrottledClientException": return [3, 12];
|
|
665
|
+
case "com.amazonaws.chimesdkmediapipelines#ThrottledClientException": return [3, 12];
|
|
666
|
+
case "UnauthorizedClientException": return [3, 14];
|
|
667
|
+
case "com.amazonaws.chimesdkmediapipelines#UnauthorizedClientException": return [3, 14];
|
|
668
|
+
}
|
|
669
|
+
return [3, 16];
|
|
670
|
+
case 2: return [4, deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context)];
|
|
671
|
+
case 3: throw _d.sent();
|
|
672
|
+
case 4: return [4, deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context)];
|
|
673
|
+
case 5: throw _d.sent();
|
|
674
|
+
case 6: return [4, deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context)];
|
|
675
|
+
case 7: throw _d.sent();
|
|
676
|
+
case 8: return [4, deserializeAws_restJson1ServiceFailureExceptionResponse(parsedOutput, context)];
|
|
677
|
+
case 9: throw _d.sent();
|
|
678
|
+
case 10: return [4, deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context)];
|
|
679
|
+
case 11: throw _d.sent();
|
|
680
|
+
case 12: return [4, deserializeAws_restJson1ThrottledClientExceptionResponse(parsedOutput, context)];
|
|
681
|
+
case 13: throw _d.sent();
|
|
682
|
+
case 14: return [4, deserializeAws_restJson1UnauthorizedClientExceptionResponse(parsedOutput, context)];
|
|
683
|
+
case 15: throw _d.sent();
|
|
684
|
+
case 16:
|
|
685
|
+
parsedBody = parsedOutput.body;
|
|
686
|
+
throwDefaultError({
|
|
687
|
+
output: output,
|
|
688
|
+
parsedBody: parsedBody,
|
|
689
|
+
exceptionCtor: __BaseException,
|
|
690
|
+
errorCode: errorCode,
|
|
691
|
+
});
|
|
692
|
+
_d.label = 17;
|
|
693
|
+
case 17: return [2];
|
|
694
|
+
}
|
|
695
|
+
});
|
|
696
|
+
}); };
|
|
697
|
+
export var deserializeAws_restJson1GetMediaCapturePipelineCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
698
|
+
var contents, data, _a, _b;
|
|
699
|
+
return __generator(this, function (_c) {
|
|
700
|
+
switch (_c.label) {
|
|
701
|
+
case 0:
|
|
702
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
703
|
+
return [2, deserializeAws_restJson1GetMediaCapturePipelineCommandError(output, context)];
|
|
704
|
+
}
|
|
705
|
+
contents = map({
|
|
706
|
+
$metadata: deserializeMetadata(output),
|
|
707
|
+
});
|
|
708
|
+
_a = __expectNonNull;
|
|
709
|
+
_b = __expectObject;
|
|
710
|
+
return [4, parseBody(output.body, context)];
|
|
711
|
+
case 1:
|
|
712
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
713
|
+
if (data.MediaCapturePipeline != null) {
|
|
714
|
+
contents.MediaCapturePipeline = deserializeAws_restJson1MediaCapturePipeline(data.MediaCapturePipeline, context);
|
|
715
|
+
}
|
|
716
|
+
return [2, contents];
|
|
717
|
+
}
|
|
718
|
+
});
|
|
719
|
+
}); };
|
|
720
|
+
var deserializeAws_restJson1GetMediaCapturePipelineCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
721
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
722
|
+
var _c;
|
|
723
|
+
return __generator(this, function (_d) {
|
|
724
|
+
switch (_d.label) {
|
|
725
|
+
case 0:
|
|
726
|
+
_a = [__assign({}, output)];
|
|
727
|
+
_c = {};
|
|
728
|
+
return [4, parseBody(output.body, context)];
|
|
729
|
+
case 1:
|
|
730
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
731
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
732
|
+
_b = errorCode;
|
|
733
|
+
switch (_b) {
|
|
734
|
+
case "BadRequestException": return [3, 2];
|
|
735
|
+
case "com.amazonaws.chimesdkmediapipelines#BadRequestException": return [3, 2];
|
|
736
|
+
case "ForbiddenException": return [3, 4];
|
|
737
|
+
case "com.amazonaws.chimesdkmediapipelines#ForbiddenException": return [3, 4];
|
|
738
|
+
case "NotFoundException": return [3, 6];
|
|
739
|
+
case "com.amazonaws.chimesdkmediapipelines#NotFoundException": return [3, 6];
|
|
230
740
|
case "ServiceFailureException": return [3, 8];
|
|
231
741
|
case "com.amazonaws.chimesdkmediapipelines#ServiceFailureException": return [3, 8];
|
|
232
742
|
case "ServiceUnavailableException": return [3, 10];
|
|
@@ -241,7 +751,7 @@ var deserializeAws_restJson1CreateMediaCapturePipelineCommandError = function (o
|
|
|
241
751
|
case 3: throw _d.sent();
|
|
242
752
|
case 4: return [4, deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context)];
|
|
243
753
|
case 5: throw _d.sent();
|
|
244
|
-
case 6: return [4,
|
|
754
|
+
case 6: return [4, deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context)];
|
|
245
755
|
case 7: throw _d.sent();
|
|
246
756
|
case 8: return [4, deserializeAws_restJson1ServiceFailureExceptionResponse(parsedOutput, context)];
|
|
247
757
|
case 9: throw _d.sent();
|
|
@@ -264,25 +774,30 @@ var deserializeAws_restJson1CreateMediaCapturePipelineCommandError = function (o
|
|
|
264
774
|
}
|
|
265
775
|
});
|
|
266
776
|
}); };
|
|
267
|
-
export var
|
|
268
|
-
var contents;
|
|
269
|
-
return __generator(this, function (
|
|
270
|
-
switch (
|
|
777
|
+
export var deserializeAws_restJson1GetMediaPipelineCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
778
|
+
var contents, data, _a, _b;
|
|
779
|
+
return __generator(this, function (_c) {
|
|
780
|
+
switch (_c.label) {
|
|
271
781
|
case 0:
|
|
272
|
-
if (output.statusCode !==
|
|
273
|
-
return [2,
|
|
782
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
783
|
+
return [2, deserializeAws_restJson1GetMediaPipelineCommandError(output, context)];
|
|
274
784
|
}
|
|
275
785
|
contents = map({
|
|
276
786
|
$metadata: deserializeMetadata(output),
|
|
277
787
|
});
|
|
278
|
-
|
|
788
|
+
_a = __expectNonNull;
|
|
789
|
+
_b = __expectObject;
|
|
790
|
+
return [4, parseBody(output.body, context)];
|
|
279
791
|
case 1:
|
|
280
|
-
_a.sent();
|
|
792
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
793
|
+
if (data.MediaPipeline != null) {
|
|
794
|
+
contents.MediaPipeline = deserializeAws_restJson1MediaPipeline(data.MediaPipeline, context);
|
|
795
|
+
}
|
|
281
796
|
return [2, contents];
|
|
282
797
|
}
|
|
283
798
|
});
|
|
284
799
|
}); };
|
|
285
|
-
var
|
|
800
|
+
var deserializeAws_restJson1GetMediaPipelineCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
286
801
|
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
287
802
|
var _c;
|
|
288
803
|
return __generator(this, function (_d) {
|
|
@@ -339,13 +854,13 @@ var deserializeAws_restJson1DeleteMediaCapturePipelineCommandError = function (o
|
|
|
339
854
|
}
|
|
340
855
|
});
|
|
341
856
|
}); };
|
|
342
|
-
export var
|
|
857
|
+
export var deserializeAws_restJson1ListMediaCapturePipelinesCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
343
858
|
var contents, data, _a, _b;
|
|
344
859
|
return __generator(this, function (_c) {
|
|
345
860
|
switch (_c.label) {
|
|
346
861
|
case 0:
|
|
347
862
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
348
|
-
return [2,
|
|
863
|
+
return [2, deserializeAws_restJson1ListMediaCapturePipelinesCommandError(output, context)];
|
|
349
864
|
}
|
|
350
865
|
contents = map({
|
|
351
866
|
$metadata: deserializeMetadata(output),
|
|
@@ -355,14 +870,17 @@ export var deserializeAws_restJson1GetMediaCapturePipelineCommand = function (ou
|
|
|
355
870
|
return [4, parseBody(output.body, context)];
|
|
356
871
|
case 1:
|
|
357
872
|
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
358
|
-
if (data.
|
|
359
|
-
contents.
|
|
873
|
+
if (data.MediaCapturePipelines != null) {
|
|
874
|
+
contents.MediaCapturePipelines = deserializeAws_restJson1MediaCapturePipelineSummaryList(data.MediaCapturePipelines, context);
|
|
875
|
+
}
|
|
876
|
+
if (data.NextToken != null) {
|
|
877
|
+
contents.NextToken = __expectString(data.NextToken);
|
|
360
878
|
}
|
|
361
879
|
return [2, contents];
|
|
362
880
|
}
|
|
363
881
|
});
|
|
364
882
|
}); };
|
|
365
|
-
var
|
|
883
|
+
var deserializeAws_restJson1ListMediaCapturePipelinesCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
366
884
|
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
367
885
|
var _c;
|
|
368
886
|
return __generator(this, function (_d) {
|
|
@@ -380,8 +898,8 @@ var deserializeAws_restJson1GetMediaCapturePipelineCommandError = function (outp
|
|
|
380
898
|
case "com.amazonaws.chimesdkmediapipelines#BadRequestException": return [3, 2];
|
|
381
899
|
case "ForbiddenException": return [3, 4];
|
|
382
900
|
case "com.amazonaws.chimesdkmediapipelines#ForbiddenException": return [3, 4];
|
|
383
|
-
case "
|
|
384
|
-
case "com.amazonaws.chimesdkmediapipelines#
|
|
901
|
+
case "ResourceLimitExceededException": return [3, 6];
|
|
902
|
+
case "com.amazonaws.chimesdkmediapipelines#ResourceLimitExceededException": return [3, 6];
|
|
385
903
|
case "ServiceFailureException": return [3, 8];
|
|
386
904
|
case "com.amazonaws.chimesdkmediapipelines#ServiceFailureException": return [3, 8];
|
|
387
905
|
case "ServiceUnavailableException": return [3, 10];
|
|
@@ -396,7 +914,7 @@ var deserializeAws_restJson1GetMediaCapturePipelineCommandError = function (outp
|
|
|
396
914
|
case 3: throw _d.sent();
|
|
397
915
|
case 4: return [4, deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context)];
|
|
398
916
|
case 5: throw _d.sent();
|
|
399
|
-
case 6: return [4,
|
|
917
|
+
case 6: return [4, deserializeAws_restJson1ResourceLimitExceededExceptionResponse(parsedOutput, context)];
|
|
400
918
|
case 7: throw _d.sent();
|
|
401
919
|
case 8: return [4, deserializeAws_restJson1ServiceFailureExceptionResponse(parsedOutput, context)];
|
|
402
920
|
case 9: throw _d.sent();
|
|
@@ -419,13 +937,13 @@ var deserializeAws_restJson1GetMediaCapturePipelineCommandError = function (outp
|
|
|
419
937
|
}
|
|
420
938
|
});
|
|
421
939
|
}); };
|
|
422
|
-
export var
|
|
940
|
+
export var deserializeAws_restJson1ListMediaPipelinesCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
423
941
|
var contents, data, _a, _b;
|
|
424
942
|
return __generator(this, function (_c) {
|
|
425
943
|
switch (_c.label) {
|
|
426
944
|
case 0:
|
|
427
945
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
428
|
-
return [2,
|
|
946
|
+
return [2, deserializeAws_restJson1ListMediaPipelinesCommandError(output, context)];
|
|
429
947
|
}
|
|
430
948
|
contents = map({
|
|
431
949
|
$metadata: deserializeMetadata(output),
|
|
@@ -435,8 +953,8 @@ export var deserializeAws_restJson1ListMediaCapturePipelinesCommand = function (
|
|
|
435
953
|
return [4, parseBody(output.body, context)];
|
|
436
954
|
case 1:
|
|
437
955
|
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
438
|
-
if (data.
|
|
439
|
-
contents.
|
|
956
|
+
if (data.MediaPipelines != null) {
|
|
957
|
+
contents.MediaPipelines = deserializeAws_restJson1MediaPipelineList(data.MediaPipelines, context);
|
|
440
958
|
}
|
|
441
959
|
if (data.NextToken != null) {
|
|
442
960
|
contents.NextToken = __expectString(data.NextToken);
|
|
@@ -445,7 +963,7 @@ export var deserializeAws_restJson1ListMediaCapturePipelinesCommand = function (
|
|
|
445
963
|
}
|
|
446
964
|
});
|
|
447
965
|
}); };
|
|
448
|
-
var
|
|
966
|
+
var deserializeAws_restJson1ListMediaPipelinesCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
449
967
|
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
450
968
|
var _c;
|
|
451
969
|
return __generator(this, function (_d) {
|
|
@@ -877,8 +1395,23 @@ var deserializeAws_restJson1UnauthorizedClientExceptionResponse = function (pars
|
|
|
877
1395
|
return [2, __decorateServiceException(exception, parsedOutput.body)];
|
|
878
1396
|
});
|
|
879
1397
|
}); };
|
|
1398
|
+
var serializeAws_restJson1ArtifactsConcatenationConfiguration = function (input, context) {
|
|
1399
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Audio != null && { Audio: serializeAws_restJson1AudioConcatenationConfiguration(input.Audio, context) })), (input.CompositedVideo != null && {
|
|
1400
|
+
CompositedVideo: serializeAws_restJson1CompositedVideoConcatenationConfiguration(input.CompositedVideo, context),
|
|
1401
|
+
})), (input.Content != null && {
|
|
1402
|
+
Content: serializeAws_restJson1ContentConcatenationConfiguration(input.Content, context),
|
|
1403
|
+
})), (input.DataChannel != null && {
|
|
1404
|
+
DataChannel: serializeAws_restJson1DataChannelConcatenationConfiguration(input.DataChannel, context),
|
|
1405
|
+
})), (input.MeetingEvents != null && {
|
|
1406
|
+
MeetingEvents: serializeAws_restJson1MeetingEventsConcatenationConfiguration(input.MeetingEvents, context),
|
|
1407
|
+
})), (input.TranscriptionMessages != null && {
|
|
1408
|
+
TranscriptionMessages: serializeAws_restJson1TranscriptionMessagesConcatenationConfiguration(input.TranscriptionMessages, context),
|
|
1409
|
+
})), (input.Video != null && { Video: serializeAws_restJson1VideoConcatenationConfiguration(input.Video, context) }));
|
|
1410
|
+
};
|
|
880
1411
|
var serializeAws_restJson1ArtifactsConfiguration = function (input, context) {
|
|
881
|
-
return __assign(__assign(__assign({}, (input.Audio != null && { Audio: serializeAws_restJson1AudioArtifactsConfiguration(input.Audio, context) })), (input.
|
|
1412
|
+
return __assign(__assign(__assign(__assign({}, (input.Audio != null && { Audio: serializeAws_restJson1AudioArtifactsConfiguration(input.Audio, context) })), (input.CompositedVideo != null && {
|
|
1413
|
+
CompositedVideo: serializeAws_restJson1CompositedVideoArtifactsConfiguration(input.CompositedVideo, context),
|
|
1414
|
+
})), (input.Content != null && {
|
|
882
1415
|
Content: serializeAws_restJson1ContentArtifactsConfiguration(input.Content, context),
|
|
883
1416
|
})), (input.Video != null && { Video: serializeAws_restJson1VideoArtifactsConfiguration(input.Video, context) }));
|
|
884
1417
|
};
|
|
@@ -892,6 +1425,14 @@ var serializeAws_restJson1AttendeeIdList = function (input, context) {
|
|
|
892
1425
|
var serializeAws_restJson1AudioArtifactsConfiguration = function (input, context) {
|
|
893
1426
|
return __assign({}, (input.MuxType != null && { MuxType: input.MuxType }));
|
|
894
1427
|
};
|
|
1428
|
+
var serializeAws_restJson1AudioConcatenationConfiguration = function (input, context) {
|
|
1429
|
+
return __assign({}, (input.State != null && { State: input.State }));
|
|
1430
|
+
};
|
|
1431
|
+
var serializeAws_restJson1ChimeSdkMeetingConcatenationConfiguration = function (input, context) {
|
|
1432
|
+
return __assign({}, (input.ArtifactsConfiguration != null && {
|
|
1433
|
+
ArtifactsConfiguration: serializeAws_restJson1ArtifactsConcatenationConfiguration(input.ArtifactsConfiguration, context),
|
|
1434
|
+
}));
|
|
1435
|
+
};
|
|
895
1436
|
var serializeAws_restJson1ChimeSdkMeetingConfiguration = function (input, context) {
|
|
896
1437
|
return __assign(__assign({}, (input.ArtifactsConfiguration != null && {
|
|
897
1438
|
ArtifactsConfiguration: serializeAws_restJson1ArtifactsConfiguration(input.ArtifactsConfiguration, context),
|
|
@@ -899,9 +1440,54 @@ var serializeAws_restJson1ChimeSdkMeetingConfiguration = function (input, contex
|
|
|
899
1440
|
SourceConfiguration: serializeAws_restJson1SourceConfiguration(input.SourceConfiguration, context),
|
|
900
1441
|
}));
|
|
901
1442
|
};
|
|
1443
|
+
var serializeAws_restJson1ChimeSdkMeetingLiveConnectorConfiguration = function (input, context) {
|
|
1444
|
+
return __assign(__assign(__assign(__assign({}, (input.Arn != null && { Arn: input.Arn })), (input.CompositedVideo != null && {
|
|
1445
|
+
CompositedVideo: serializeAws_restJson1CompositedVideoArtifactsConfiguration(input.CompositedVideo, context),
|
|
1446
|
+
})), (input.MuxType != null && { MuxType: input.MuxType })), (input.SourceConfiguration != null && {
|
|
1447
|
+
SourceConfiguration: serializeAws_restJson1SourceConfiguration(input.SourceConfiguration, context),
|
|
1448
|
+
}));
|
|
1449
|
+
};
|
|
1450
|
+
var serializeAws_restJson1CompositedVideoArtifactsConfiguration = function (input, context) {
|
|
1451
|
+
return __assign(__assign(__assign({}, (input.GridViewConfiguration != null && {
|
|
1452
|
+
GridViewConfiguration: serializeAws_restJson1GridViewConfiguration(input.GridViewConfiguration, context),
|
|
1453
|
+
})), (input.Layout != null && { Layout: input.Layout })), (input.Resolution != null && { Resolution: input.Resolution }));
|
|
1454
|
+
};
|
|
1455
|
+
var serializeAws_restJson1CompositedVideoConcatenationConfiguration = function (input, context) {
|
|
1456
|
+
return __assign({}, (input.State != null && { State: input.State }));
|
|
1457
|
+
};
|
|
1458
|
+
var serializeAws_restJson1ConcatenationSink = function (input, context) {
|
|
1459
|
+
return __assign(__assign({}, (input.S3BucketSinkConfiguration != null && {
|
|
1460
|
+
S3BucketSinkConfiguration: serializeAws_restJson1S3BucketSinkConfiguration(input.S3BucketSinkConfiguration, context),
|
|
1461
|
+
})), (input.Type != null && { Type: input.Type }));
|
|
1462
|
+
};
|
|
1463
|
+
var serializeAws_restJson1ConcatenationSinkList = function (input, context) {
|
|
1464
|
+
return input
|
|
1465
|
+
.filter(function (e) { return e != null; })
|
|
1466
|
+
.map(function (entry) {
|
|
1467
|
+
return serializeAws_restJson1ConcatenationSink(entry, context);
|
|
1468
|
+
});
|
|
1469
|
+
};
|
|
1470
|
+
var serializeAws_restJson1ConcatenationSource = function (input, context) {
|
|
1471
|
+
return __assign(__assign({}, (input.MediaCapturePipelineSourceConfiguration != null && {
|
|
1472
|
+
MediaCapturePipelineSourceConfiguration: serializeAws_restJson1MediaCapturePipelineSourceConfiguration(input.MediaCapturePipelineSourceConfiguration, context),
|
|
1473
|
+
})), (input.Type != null && { Type: input.Type }));
|
|
1474
|
+
};
|
|
1475
|
+
var serializeAws_restJson1ConcatenationSourceList = function (input, context) {
|
|
1476
|
+
return input
|
|
1477
|
+
.filter(function (e) { return e != null; })
|
|
1478
|
+
.map(function (entry) {
|
|
1479
|
+
return serializeAws_restJson1ConcatenationSource(entry, context);
|
|
1480
|
+
});
|
|
1481
|
+
};
|
|
902
1482
|
var serializeAws_restJson1ContentArtifactsConfiguration = function (input, context) {
|
|
903
1483
|
return __assign(__assign({}, (input.MuxType != null && { MuxType: input.MuxType })), (input.State != null && { State: input.State }));
|
|
904
1484
|
};
|
|
1485
|
+
var serializeAws_restJson1ContentConcatenationConfiguration = function (input, context) {
|
|
1486
|
+
return __assign({}, (input.State != null && { State: input.State }));
|
|
1487
|
+
};
|
|
1488
|
+
var serializeAws_restJson1DataChannelConcatenationConfiguration = function (input, context) {
|
|
1489
|
+
return __assign({}, (input.State != null && { State: input.State }));
|
|
1490
|
+
};
|
|
905
1491
|
var serializeAws_restJson1ExternalUserIdList = function (input, context) {
|
|
906
1492
|
return input
|
|
907
1493
|
.filter(function (e) { return e != null; })
|
|
@@ -909,6 +1495,52 @@ var serializeAws_restJson1ExternalUserIdList = function (input, context) {
|
|
|
909
1495
|
return entry;
|
|
910
1496
|
});
|
|
911
1497
|
};
|
|
1498
|
+
var serializeAws_restJson1GridViewConfiguration = function (input, context) {
|
|
1499
|
+
return __assign(__assign({}, (input.ContentShareLayout != null && { ContentShareLayout: input.ContentShareLayout })), (input.PresenterOnlyConfiguration != null && {
|
|
1500
|
+
PresenterOnlyConfiguration: serializeAws_restJson1PresenterOnlyConfiguration(input.PresenterOnlyConfiguration, context),
|
|
1501
|
+
}));
|
|
1502
|
+
};
|
|
1503
|
+
var serializeAws_restJson1LiveConnectorRTMPConfiguration = function (input, context) {
|
|
1504
|
+
return __assign(__assign(__assign({}, (input.AudioChannels != null && { AudioChannels: input.AudioChannels })), (input.AudioSampleRate != null && { AudioSampleRate: input.AudioSampleRate })), (input.Url != null && { Url: input.Url }));
|
|
1505
|
+
};
|
|
1506
|
+
var serializeAws_restJson1LiveConnectorSinkConfiguration = function (input, context) {
|
|
1507
|
+
return __assign(__assign({}, (input.RTMPConfiguration != null && {
|
|
1508
|
+
RTMPConfiguration: serializeAws_restJson1LiveConnectorRTMPConfiguration(input.RTMPConfiguration, context),
|
|
1509
|
+
})), (input.SinkType != null && { SinkType: input.SinkType }));
|
|
1510
|
+
};
|
|
1511
|
+
var serializeAws_restJson1LiveConnectorSinkList = function (input, context) {
|
|
1512
|
+
return input
|
|
1513
|
+
.filter(function (e) { return e != null; })
|
|
1514
|
+
.map(function (entry) {
|
|
1515
|
+
return serializeAws_restJson1LiveConnectorSinkConfiguration(entry, context);
|
|
1516
|
+
});
|
|
1517
|
+
};
|
|
1518
|
+
var serializeAws_restJson1LiveConnectorSourceConfiguration = function (input, context) {
|
|
1519
|
+
return __assign(__assign({}, (input.ChimeSdkMeetingLiveConnectorConfiguration != null && {
|
|
1520
|
+
ChimeSdkMeetingLiveConnectorConfiguration: serializeAws_restJson1ChimeSdkMeetingLiveConnectorConfiguration(input.ChimeSdkMeetingLiveConnectorConfiguration, context),
|
|
1521
|
+
})), (input.SourceType != null && { SourceType: input.SourceType }));
|
|
1522
|
+
};
|
|
1523
|
+
var serializeAws_restJson1LiveConnectorSourceList = function (input, context) {
|
|
1524
|
+
return input
|
|
1525
|
+
.filter(function (e) { return e != null; })
|
|
1526
|
+
.map(function (entry) {
|
|
1527
|
+
return serializeAws_restJson1LiveConnectorSourceConfiguration(entry, context);
|
|
1528
|
+
});
|
|
1529
|
+
};
|
|
1530
|
+
var serializeAws_restJson1MediaCapturePipelineSourceConfiguration = function (input, context) {
|
|
1531
|
+
return __assign(__assign({}, (input.ChimeSdkMeetingConfiguration != null && {
|
|
1532
|
+
ChimeSdkMeetingConfiguration: serializeAws_restJson1ChimeSdkMeetingConcatenationConfiguration(input.ChimeSdkMeetingConfiguration, context),
|
|
1533
|
+
})), (input.MediaPipelineArn != null && { MediaPipelineArn: input.MediaPipelineArn }));
|
|
1534
|
+
};
|
|
1535
|
+
var serializeAws_restJson1MeetingEventsConcatenationConfiguration = function (input, context) {
|
|
1536
|
+
return __assign({}, (input.State != null && { State: input.State }));
|
|
1537
|
+
};
|
|
1538
|
+
var serializeAws_restJson1PresenterOnlyConfiguration = function (input, context) {
|
|
1539
|
+
return __assign({}, (input.PresenterPosition != null && { PresenterPosition: input.PresenterPosition }));
|
|
1540
|
+
};
|
|
1541
|
+
var serializeAws_restJson1S3BucketSinkConfiguration = function (input, context) {
|
|
1542
|
+
return __assign({}, (input.Destination != null && { Destination: input.Destination }));
|
|
1543
|
+
};
|
|
912
1544
|
var serializeAws_restJson1SelectedVideoStreams = function (input, context) {
|
|
913
1545
|
return __assign(__assign({}, (input.AttendeeIds != null && { AttendeeIds: serializeAws_restJson1AttendeeIdList(input.AttendeeIds, context) })), (input.ExternalUserIds != null && {
|
|
914
1546
|
ExternalUserIds: serializeAws_restJson1ExternalUserIdList(input.ExternalUserIds, context),
|
|
@@ -936,12 +1568,42 @@ var serializeAws_restJson1TagList = function (input, context) {
|
|
|
936
1568
|
return serializeAws_restJson1Tag(entry, context);
|
|
937
1569
|
});
|
|
938
1570
|
};
|
|
1571
|
+
var serializeAws_restJson1TranscriptionMessagesConcatenationConfiguration = function (input, context) {
|
|
1572
|
+
return __assign({}, (input.State != null && { State: input.State }));
|
|
1573
|
+
};
|
|
939
1574
|
var serializeAws_restJson1VideoArtifactsConfiguration = function (input, context) {
|
|
940
1575
|
return __assign(__assign({}, (input.MuxType != null && { MuxType: input.MuxType })), (input.State != null && { State: input.State }));
|
|
941
1576
|
};
|
|
1577
|
+
var serializeAws_restJson1VideoConcatenationConfiguration = function (input, context) {
|
|
1578
|
+
return __assign({}, (input.State != null && { State: input.State }));
|
|
1579
|
+
};
|
|
1580
|
+
var deserializeAws_restJson1ArtifactsConcatenationConfiguration = function (output, context) {
|
|
1581
|
+
return {
|
|
1582
|
+
Audio: output.Audio != null ? deserializeAws_restJson1AudioConcatenationConfiguration(output.Audio, context) : undefined,
|
|
1583
|
+
CompositedVideo: output.CompositedVideo != null
|
|
1584
|
+
? deserializeAws_restJson1CompositedVideoConcatenationConfiguration(output.CompositedVideo, context)
|
|
1585
|
+
: undefined,
|
|
1586
|
+
Content: output.Content != null
|
|
1587
|
+
? deserializeAws_restJson1ContentConcatenationConfiguration(output.Content, context)
|
|
1588
|
+
: undefined,
|
|
1589
|
+
DataChannel: output.DataChannel != null
|
|
1590
|
+
? deserializeAws_restJson1DataChannelConcatenationConfiguration(output.DataChannel, context)
|
|
1591
|
+
: undefined,
|
|
1592
|
+
MeetingEvents: output.MeetingEvents != null
|
|
1593
|
+
? deserializeAws_restJson1MeetingEventsConcatenationConfiguration(output.MeetingEvents, context)
|
|
1594
|
+
: undefined,
|
|
1595
|
+
TranscriptionMessages: output.TranscriptionMessages != null
|
|
1596
|
+
? deserializeAws_restJson1TranscriptionMessagesConcatenationConfiguration(output.TranscriptionMessages, context)
|
|
1597
|
+
: undefined,
|
|
1598
|
+
Video: output.Video != null ? deserializeAws_restJson1VideoConcatenationConfiguration(output.Video, context) : undefined,
|
|
1599
|
+
};
|
|
1600
|
+
};
|
|
942
1601
|
var deserializeAws_restJson1ArtifactsConfiguration = function (output, context) {
|
|
943
1602
|
return {
|
|
944
1603
|
Audio: output.Audio != null ? deserializeAws_restJson1AudioArtifactsConfiguration(output.Audio, context) : undefined,
|
|
1604
|
+
CompositedVideo: output.CompositedVideo != null
|
|
1605
|
+
? deserializeAws_restJson1CompositedVideoArtifactsConfiguration(output.CompositedVideo, context)
|
|
1606
|
+
: undefined,
|
|
945
1607
|
Content: output.Content != null
|
|
946
1608
|
? deserializeAws_restJson1ContentArtifactsConfiguration(output.Content, context)
|
|
947
1609
|
: undefined,
|
|
@@ -964,6 +1626,18 @@ var deserializeAws_restJson1AudioArtifactsConfiguration = function (output, cont
|
|
|
964
1626
|
MuxType: __expectString(output.MuxType),
|
|
965
1627
|
};
|
|
966
1628
|
};
|
|
1629
|
+
var deserializeAws_restJson1AudioConcatenationConfiguration = function (output, context) {
|
|
1630
|
+
return {
|
|
1631
|
+
State: __expectString(output.State),
|
|
1632
|
+
};
|
|
1633
|
+
};
|
|
1634
|
+
var deserializeAws_restJson1ChimeSdkMeetingConcatenationConfiguration = function (output, context) {
|
|
1635
|
+
return {
|
|
1636
|
+
ArtifactsConfiguration: output.ArtifactsConfiguration != null
|
|
1637
|
+
? deserializeAws_restJson1ArtifactsConcatenationConfiguration(output.ArtifactsConfiguration, context)
|
|
1638
|
+
: undefined,
|
|
1639
|
+
};
|
|
1640
|
+
};
|
|
967
1641
|
var deserializeAws_restJson1ChimeSdkMeetingConfiguration = function (output, context) {
|
|
968
1642
|
return {
|
|
969
1643
|
ArtifactsConfiguration: output.ArtifactsConfiguration != null
|
|
@@ -974,12 +1648,86 @@ var deserializeAws_restJson1ChimeSdkMeetingConfiguration = function (output, con
|
|
|
974
1648
|
: undefined,
|
|
975
1649
|
};
|
|
976
1650
|
};
|
|
1651
|
+
var deserializeAws_restJson1ChimeSdkMeetingLiveConnectorConfiguration = function (output, context) {
|
|
1652
|
+
return {
|
|
1653
|
+
Arn: __expectString(output.Arn),
|
|
1654
|
+
CompositedVideo: output.CompositedVideo != null
|
|
1655
|
+
? deserializeAws_restJson1CompositedVideoArtifactsConfiguration(output.CompositedVideo, context)
|
|
1656
|
+
: undefined,
|
|
1657
|
+
MuxType: __expectString(output.MuxType),
|
|
1658
|
+
SourceConfiguration: output.SourceConfiguration != null
|
|
1659
|
+
? deserializeAws_restJson1SourceConfiguration(output.SourceConfiguration, context)
|
|
1660
|
+
: undefined,
|
|
1661
|
+
};
|
|
1662
|
+
};
|
|
1663
|
+
var deserializeAws_restJson1CompositedVideoArtifactsConfiguration = function (output, context) {
|
|
1664
|
+
return {
|
|
1665
|
+
GridViewConfiguration: output.GridViewConfiguration != null
|
|
1666
|
+
? deserializeAws_restJson1GridViewConfiguration(output.GridViewConfiguration, context)
|
|
1667
|
+
: undefined,
|
|
1668
|
+
Layout: __expectString(output.Layout),
|
|
1669
|
+
Resolution: __expectString(output.Resolution),
|
|
1670
|
+
};
|
|
1671
|
+
};
|
|
1672
|
+
var deserializeAws_restJson1CompositedVideoConcatenationConfiguration = function (output, context) {
|
|
1673
|
+
return {
|
|
1674
|
+
State: __expectString(output.State),
|
|
1675
|
+
};
|
|
1676
|
+
};
|
|
1677
|
+
var deserializeAws_restJson1ConcatenationSink = function (output, context) {
|
|
1678
|
+
return {
|
|
1679
|
+
S3BucketSinkConfiguration: output.S3BucketSinkConfiguration != null
|
|
1680
|
+
? deserializeAws_restJson1S3BucketSinkConfiguration(output.S3BucketSinkConfiguration, context)
|
|
1681
|
+
: undefined,
|
|
1682
|
+
Type: __expectString(output.Type),
|
|
1683
|
+
};
|
|
1684
|
+
};
|
|
1685
|
+
var deserializeAws_restJson1ConcatenationSinkList = function (output, context) {
|
|
1686
|
+
var retVal = (output || [])
|
|
1687
|
+
.filter(function (e) { return e != null; })
|
|
1688
|
+
.map(function (entry) {
|
|
1689
|
+
if (entry === null) {
|
|
1690
|
+
return null;
|
|
1691
|
+
}
|
|
1692
|
+
return deserializeAws_restJson1ConcatenationSink(entry, context);
|
|
1693
|
+
});
|
|
1694
|
+
return retVal;
|
|
1695
|
+
};
|
|
1696
|
+
var deserializeAws_restJson1ConcatenationSource = function (output, context) {
|
|
1697
|
+
return {
|
|
1698
|
+
MediaCapturePipelineSourceConfiguration: output.MediaCapturePipelineSourceConfiguration != null
|
|
1699
|
+
? deserializeAws_restJson1MediaCapturePipelineSourceConfiguration(output.MediaCapturePipelineSourceConfiguration, context)
|
|
1700
|
+
: undefined,
|
|
1701
|
+
Type: __expectString(output.Type),
|
|
1702
|
+
};
|
|
1703
|
+
};
|
|
1704
|
+
var deserializeAws_restJson1ConcatenationSourceList = function (output, context) {
|
|
1705
|
+
var retVal = (output || [])
|
|
1706
|
+
.filter(function (e) { return e != null; })
|
|
1707
|
+
.map(function (entry) {
|
|
1708
|
+
if (entry === null) {
|
|
1709
|
+
return null;
|
|
1710
|
+
}
|
|
1711
|
+
return deserializeAws_restJson1ConcatenationSource(entry, context);
|
|
1712
|
+
});
|
|
1713
|
+
return retVal;
|
|
1714
|
+
};
|
|
977
1715
|
var deserializeAws_restJson1ContentArtifactsConfiguration = function (output, context) {
|
|
978
1716
|
return {
|
|
979
1717
|
MuxType: __expectString(output.MuxType),
|
|
980
1718
|
State: __expectString(output.State),
|
|
981
1719
|
};
|
|
982
1720
|
};
|
|
1721
|
+
var deserializeAws_restJson1ContentConcatenationConfiguration = function (output, context) {
|
|
1722
|
+
return {
|
|
1723
|
+
State: __expectString(output.State),
|
|
1724
|
+
};
|
|
1725
|
+
};
|
|
1726
|
+
var deserializeAws_restJson1DataChannelConcatenationConfiguration = function (output, context) {
|
|
1727
|
+
return {
|
|
1728
|
+
State: __expectString(output.State),
|
|
1729
|
+
};
|
|
1730
|
+
};
|
|
983
1731
|
var deserializeAws_restJson1ExternalUserIdList = function (output, context) {
|
|
984
1732
|
var retVal = (output || [])
|
|
985
1733
|
.filter(function (e) { return e != null; })
|
|
@@ -991,6 +1739,59 @@ var deserializeAws_restJson1ExternalUserIdList = function (output, context) {
|
|
|
991
1739
|
});
|
|
992
1740
|
return retVal;
|
|
993
1741
|
};
|
|
1742
|
+
var deserializeAws_restJson1GridViewConfiguration = function (output, context) {
|
|
1743
|
+
return {
|
|
1744
|
+
ContentShareLayout: __expectString(output.ContentShareLayout),
|
|
1745
|
+
PresenterOnlyConfiguration: output.PresenterOnlyConfiguration != null
|
|
1746
|
+
? deserializeAws_restJson1PresenterOnlyConfiguration(output.PresenterOnlyConfiguration, context)
|
|
1747
|
+
: undefined,
|
|
1748
|
+
};
|
|
1749
|
+
};
|
|
1750
|
+
var deserializeAws_restJson1LiveConnectorRTMPConfiguration = function (output, context) {
|
|
1751
|
+
return {
|
|
1752
|
+
AudioChannels: __expectString(output.AudioChannels),
|
|
1753
|
+
AudioSampleRate: __expectString(output.AudioSampleRate),
|
|
1754
|
+
Url: __expectString(output.Url),
|
|
1755
|
+
};
|
|
1756
|
+
};
|
|
1757
|
+
var deserializeAws_restJson1LiveConnectorSinkConfiguration = function (output, context) {
|
|
1758
|
+
return {
|
|
1759
|
+
RTMPConfiguration: output.RTMPConfiguration != null
|
|
1760
|
+
? deserializeAws_restJson1LiveConnectorRTMPConfiguration(output.RTMPConfiguration, context)
|
|
1761
|
+
: undefined,
|
|
1762
|
+
SinkType: __expectString(output.SinkType),
|
|
1763
|
+
};
|
|
1764
|
+
};
|
|
1765
|
+
var deserializeAws_restJson1LiveConnectorSinkList = function (output, context) {
|
|
1766
|
+
var retVal = (output || [])
|
|
1767
|
+
.filter(function (e) { return e != null; })
|
|
1768
|
+
.map(function (entry) {
|
|
1769
|
+
if (entry === null) {
|
|
1770
|
+
return null;
|
|
1771
|
+
}
|
|
1772
|
+
return deserializeAws_restJson1LiveConnectorSinkConfiguration(entry, context);
|
|
1773
|
+
});
|
|
1774
|
+
return retVal;
|
|
1775
|
+
};
|
|
1776
|
+
var deserializeAws_restJson1LiveConnectorSourceConfiguration = function (output, context) {
|
|
1777
|
+
return {
|
|
1778
|
+
ChimeSdkMeetingLiveConnectorConfiguration: output.ChimeSdkMeetingLiveConnectorConfiguration != null
|
|
1779
|
+
? deserializeAws_restJson1ChimeSdkMeetingLiveConnectorConfiguration(output.ChimeSdkMeetingLiveConnectorConfiguration, context)
|
|
1780
|
+
: undefined,
|
|
1781
|
+
SourceType: __expectString(output.SourceType),
|
|
1782
|
+
};
|
|
1783
|
+
};
|
|
1784
|
+
var deserializeAws_restJson1LiveConnectorSourceList = function (output, context) {
|
|
1785
|
+
var retVal = (output || [])
|
|
1786
|
+
.filter(function (e) { return e != null; })
|
|
1787
|
+
.map(function (entry) {
|
|
1788
|
+
if (entry === null) {
|
|
1789
|
+
return null;
|
|
1790
|
+
}
|
|
1791
|
+
return deserializeAws_restJson1LiveConnectorSourceConfiguration(entry, context);
|
|
1792
|
+
});
|
|
1793
|
+
return retVal;
|
|
1794
|
+
};
|
|
994
1795
|
var deserializeAws_restJson1MediaCapturePipeline = function (output, context) {
|
|
995
1796
|
return {
|
|
996
1797
|
ChimeSdkMeetingConfiguration: output.ChimeSdkMeetingConfiguration != null
|
|
@@ -1007,6 +1808,14 @@ var deserializeAws_restJson1MediaCapturePipeline = function (output, context) {
|
|
|
1007
1808
|
UpdatedTimestamp: output.UpdatedTimestamp != null ? __expectNonNull(__parseRfc3339DateTime(output.UpdatedTimestamp)) : undefined,
|
|
1008
1809
|
};
|
|
1009
1810
|
};
|
|
1811
|
+
var deserializeAws_restJson1MediaCapturePipelineSourceConfiguration = function (output, context) {
|
|
1812
|
+
return {
|
|
1813
|
+
ChimeSdkMeetingConfiguration: output.ChimeSdkMeetingConfiguration != null
|
|
1814
|
+
? deserializeAws_restJson1ChimeSdkMeetingConcatenationConfiguration(output.ChimeSdkMeetingConfiguration, context)
|
|
1815
|
+
: undefined,
|
|
1816
|
+
MediaPipelineArn: __expectString(output.MediaPipelineArn),
|
|
1817
|
+
};
|
|
1818
|
+
};
|
|
1010
1819
|
var deserializeAws_restJson1MediaCapturePipelineSummary = function (output, context) {
|
|
1011
1820
|
return {
|
|
1012
1821
|
MediaPipelineArn: __expectString(output.MediaPipelineArn),
|
|
@@ -1024,6 +1833,73 @@ var deserializeAws_restJson1MediaCapturePipelineSummaryList = function (output,
|
|
|
1024
1833
|
});
|
|
1025
1834
|
return retVal;
|
|
1026
1835
|
};
|
|
1836
|
+
var deserializeAws_restJson1MediaConcatenationPipeline = function (output, context) {
|
|
1837
|
+
return {
|
|
1838
|
+
CreatedTimestamp: output.CreatedTimestamp != null ? __expectNonNull(__parseRfc3339DateTime(output.CreatedTimestamp)) : undefined,
|
|
1839
|
+
MediaPipelineArn: __expectString(output.MediaPipelineArn),
|
|
1840
|
+
MediaPipelineId: __expectString(output.MediaPipelineId),
|
|
1841
|
+
Sinks: output.Sinks != null ? deserializeAws_restJson1ConcatenationSinkList(output.Sinks, context) : undefined,
|
|
1842
|
+
Sources: output.Sources != null ? deserializeAws_restJson1ConcatenationSourceList(output.Sources, context) : undefined,
|
|
1843
|
+
Status: __expectString(output.Status),
|
|
1844
|
+
UpdatedTimestamp: output.UpdatedTimestamp != null ? __expectNonNull(__parseRfc3339DateTime(output.UpdatedTimestamp)) : undefined,
|
|
1845
|
+
};
|
|
1846
|
+
};
|
|
1847
|
+
var deserializeAws_restJson1MediaLiveConnectorPipeline = function (output, context) {
|
|
1848
|
+
return {
|
|
1849
|
+
CreatedTimestamp: output.CreatedTimestamp != null ? __expectNonNull(__parseRfc3339DateTime(output.CreatedTimestamp)) : undefined,
|
|
1850
|
+
MediaPipelineArn: __expectString(output.MediaPipelineArn),
|
|
1851
|
+
MediaPipelineId: __expectString(output.MediaPipelineId),
|
|
1852
|
+
Sinks: output.Sinks != null ? deserializeAws_restJson1LiveConnectorSinkList(output.Sinks, context) : undefined,
|
|
1853
|
+
Sources: output.Sources != null ? deserializeAws_restJson1LiveConnectorSourceList(output.Sources, context) : undefined,
|
|
1854
|
+
Status: __expectString(output.Status),
|
|
1855
|
+
UpdatedTimestamp: output.UpdatedTimestamp != null ? __expectNonNull(__parseRfc3339DateTime(output.UpdatedTimestamp)) : undefined,
|
|
1856
|
+
};
|
|
1857
|
+
};
|
|
1858
|
+
var deserializeAws_restJson1MediaPipeline = function (output, context) {
|
|
1859
|
+
return {
|
|
1860
|
+
MediaCapturePipeline: output.MediaCapturePipeline != null
|
|
1861
|
+
? deserializeAws_restJson1MediaCapturePipeline(output.MediaCapturePipeline, context)
|
|
1862
|
+
: undefined,
|
|
1863
|
+
MediaConcatenationPipeline: output.MediaConcatenationPipeline != null
|
|
1864
|
+
? deserializeAws_restJson1MediaConcatenationPipeline(output.MediaConcatenationPipeline, context)
|
|
1865
|
+
: undefined,
|
|
1866
|
+
MediaLiveConnectorPipeline: output.MediaLiveConnectorPipeline != null
|
|
1867
|
+
? deserializeAws_restJson1MediaLiveConnectorPipeline(output.MediaLiveConnectorPipeline, context)
|
|
1868
|
+
: undefined,
|
|
1869
|
+
};
|
|
1870
|
+
};
|
|
1871
|
+
var deserializeAws_restJson1MediaPipelineList = function (output, context) {
|
|
1872
|
+
var retVal = (output || [])
|
|
1873
|
+
.filter(function (e) { return e != null; })
|
|
1874
|
+
.map(function (entry) {
|
|
1875
|
+
if (entry === null) {
|
|
1876
|
+
return null;
|
|
1877
|
+
}
|
|
1878
|
+
return deserializeAws_restJson1MediaPipelineSummary(entry, context);
|
|
1879
|
+
});
|
|
1880
|
+
return retVal;
|
|
1881
|
+
};
|
|
1882
|
+
var deserializeAws_restJson1MediaPipelineSummary = function (output, context) {
|
|
1883
|
+
return {
|
|
1884
|
+
MediaPipelineArn: __expectString(output.MediaPipelineArn),
|
|
1885
|
+
MediaPipelineId: __expectString(output.MediaPipelineId),
|
|
1886
|
+
};
|
|
1887
|
+
};
|
|
1888
|
+
var deserializeAws_restJson1MeetingEventsConcatenationConfiguration = function (output, context) {
|
|
1889
|
+
return {
|
|
1890
|
+
State: __expectString(output.State),
|
|
1891
|
+
};
|
|
1892
|
+
};
|
|
1893
|
+
var deserializeAws_restJson1PresenterOnlyConfiguration = function (output, context) {
|
|
1894
|
+
return {
|
|
1895
|
+
PresenterPosition: __expectString(output.PresenterPosition),
|
|
1896
|
+
};
|
|
1897
|
+
};
|
|
1898
|
+
var deserializeAws_restJson1S3BucketSinkConfiguration = function (output, context) {
|
|
1899
|
+
return {
|
|
1900
|
+
Destination: __expectString(output.Destination),
|
|
1901
|
+
};
|
|
1902
|
+
};
|
|
1027
1903
|
var deserializeAws_restJson1SelectedVideoStreams = function (output, context) {
|
|
1028
1904
|
return {
|
|
1029
1905
|
AttendeeIds: output.AttendeeIds != null ? deserializeAws_restJson1AttendeeIdList(output.AttendeeIds, context) : undefined,
|
|
@@ -1056,12 +1932,22 @@ var deserializeAws_restJson1TagList = function (output, context) {
|
|
|
1056
1932
|
});
|
|
1057
1933
|
return retVal;
|
|
1058
1934
|
};
|
|
1935
|
+
var deserializeAws_restJson1TranscriptionMessagesConcatenationConfiguration = function (output, context) {
|
|
1936
|
+
return {
|
|
1937
|
+
State: __expectString(output.State),
|
|
1938
|
+
};
|
|
1939
|
+
};
|
|
1059
1940
|
var deserializeAws_restJson1VideoArtifactsConfiguration = function (output, context) {
|
|
1060
1941
|
return {
|
|
1061
1942
|
MuxType: __expectString(output.MuxType),
|
|
1062
1943
|
State: __expectString(output.State),
|
|
1063
1944
|
};
|
|
1064
1945
|
};
|
|
1946
|
+
var deserializeAws_restJson1VideoConcatenationConfiguration = function (output, context) {
|
|
1947
|
+
return {
|
|
1948
|
+
State: __expectString(output.State),
|
|
1949
|
+
};
|
|
1950
|
+
};
|
|
1065
1951
|
var deserializeMetadata = function (output) {
|
|
1066
1952
|
var _a;
|
|
1067
1953
|
return ({
|