@aws-sdk/client-chime-sdk-media-pipelines 3.418.0 → 3.419.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/README.md +48 -0
- package/dist-cjs/ChimeSDKMediaPipelines.js +12 -0
- package/dist-cjs/commands/CreateMediaPipelineKinesisVideoStreamPoolCommand.js +52 -0
- package/dist-cjs/commands/CreateMediaStreamPipelineCommand.js +52 -0
- package/dist-cjs/commands/DeleteMediaPipelineKinesisVideoStreamPoolCommand.js +51 -0
- package/dist-cjs/commands/GetMediaPipelineKinesisVideoStreamPoolCommand.js +52 -0
- package/dist-cjs/commands/ListMediaPipelineKinesisVideoStreamPoolsCommand.js +52 -0
- package/dist-cjs/commands/UpdateMediaPipelineKinesisVideoStreamPoolCommand.js +52 -0
- package/dist-cjs/commands/index.js +6 -0
- package/dist-cjs/models/models_0.js +92 -1
- package/dist-cjs/pagination/ListMediaPipelineKinesisVideoStreamPoolsPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_restJson1.js +477 -1
- package/dist-es/ChimeSDKMediaPipelines.js +12 -0
- package/dist-es/commands/CreateMediaPipelineKinesisVideoStreamPoolCommand.js +48 -0
- package/dist-es/commands/CreateMediaStreamPipelineCommand.js +48 -0
- package/dist-es/commands/DeleteMediaPipelineKinesisVideoStreamPoolCommand.js +47 -0
- package/dist-es/commands/GetMediaPipelineKinesisVideoStreamPoolCommand.js +48 -0
- package/dist-es/commands/ListMediaPipelineKinesisVideoStreamPoolsCommand.js +48 -0
- package/dist-es/commands/UpdateMediaPipelineKinesisVideoStreamPoolCommand.js +48 -0
- package/dist-es/commands/index.js +6 -0
- package/dist-es/models/models_0.js +78 -0
- package/dist-es/pagination/ListMediaPipelineKinesisVideoStreamPoolsPaginator.js +25 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +464 -1
- package/dist-types/ChimeSDKMediaPipelines.d.ts +42 -0
- package/dist-types/ChimeSDKMediaPipelinesClient.d.ts +8 -2
- package/dist-types/commands/CreateMediaPipelineKinesisVideoStreamPoolCommand.d.ts +121 -0
- package/dist-types/commands/CreateMediaStreamPipelineCommand.d.ts +137 -0
- package/dist-types/commands/DeleteMediaPipelineKinesisVideoStreamPoolCommand.d.ts +96 -0
- package/dist-types/commands/GetMediaPipelineCommand.d.ts +21 -0
- package/dist-types/commands/GetMediaPipelineKinesisVideoStreamPoolCommand.d.ts +106 -0
- package/dist-types/commands/ListMediaPipelineKinesisVideoStreamPoolsCommand.d.ts +102 -0
- package/dist-types/commands/UpdateMediaPipelineKinesisVideoStreamPoolCommand.d.ts +113 -0
- package/dist-types/commands/index.d.ts +6 -0
- package/dist-types/models/models_0.d.ts +435 -12
- package/dist-types/pagination/ListMediaPipelineKinesisVideoStreamPoolsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +54 -0
- package/dist-types/ts3.4/ChimeSDKMediaPipelines.d.ts +132 -0
- package/dist-types/ts3.4/ChimeSDKMediaPipelinesClient.d.ts +38 -2
- package/dist-types/ts3.4/commands/CreateMediaPipelineKinesisVideoStreamPoolCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/CreateMediaStreamPipelineCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DeleteMediaPipelineKinesisVideoStreamPoolCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetMediaPipelineKinesisVideoStreamPoolCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListMediaPipelineKinesisVideoStreamPoolsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/UpdateMediaPipelineKinesisVideoStreamPoolCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +143 -3
- package/dist-types/ts3.4/pagination/ListMediaPipelineKinesisVideoStreamPoolsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +72 -0
- package/package.json +1 -1
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.de_ListMediaInsightsPipelineConfigurationsCommand = exports.de_ListMediaCapturePipelinesCommand = exports.de_GetVoiceToneAnalysisTaskCommand = exports.de_GetSpeakerSearchTaskCommand = exports.de_GetMediaPipelineKinesisVideoStreamPoolCommand = exports.de_GetMediaPipelineCommand = exports.de_GetMediaInsightsPipelineConfigurationCommand = exports.de_GetMediaCapturePipelineCommand = exports.de_DeleteMediaPipelineKinesisVideoStreamPoolCommand = exports.de_DeleteMediaPipelineCommand = exports.de_DeleteMediaInsightsPipelineConfigurationCommand = exports.de_DeleteMediaCapturePipelineCommand = exports.de_CreateMediaStreamPipelineCommand = exports.de_CreateMediaPipelineKinesisVideoStreamPoolCommand = exports.de_CreateMediaLiveConnectorPipelineCommand = exports.de_CreateMediaInsightsPipelineConfigurationCommand = exports.de_CreateMediaInsightsPipelineCommand = exports.de_CreateMediaConcatenationPipelineCommand = exports.de_CreateMediaCapturePipelineCommand = exports.se_UpdateMediaPipelineKinesisVideoStreamPoolCommand = exports.se_UpdateMediaInsightsPipelineStatusCommand = exports.se_UpdateMediaInsightsPipelineConfigurationCommand = exports.se_UntagResourceCommand = exports.se_TagResourceCommand = exports.se_StopVoiceToneAnalysisTaskCommand = exports.se_StopSpeakerSearchTaskCommand = exports.se_StartVoiceToneAnalysisTaskCommand = exports.se_StartSpeakerSearchTaskCommand = exports.se_ListTagsForResourceCommand = exports.se_ListMediaPipelinesCommand = exports.se_ListMediaPipelineKinesisVideoStreamPoolsCommand = exports.se_ListMediaInsightsPipelineConfigurationsCommand = exports.se_ListMediaCapturePipelinesCommand = exports.se_GetVoiceToneAnalysisTaskCommand = exports.se_GetSpeakerSearchTaskCommand = exports.se_GetMediaPipelineKinesisVideoStreamPoolCommand = exports.se_GetMediaPipelineCommand = exports.se_GetMediaInsightsPipelineConfigurationCommand = exports.se_GetMediaCapturePipelineCommand = exports.se_DeleteMediaPipelineKinesisVideoStreamPoolCommand = exports.se_DeleteMediaPipelineCommand = exports.se_DeleteMediaInsightsPipelineConfigurationCommand = exports.se_DeleteMediaCapturePipelineCommand = exports.se_CreateMediaStreamPipelineCommand = exports.se_CreateMediaPipelineKinesisVideoStreamPoolCommand = exports.se_CreateMediaLiveConnectorPipelineCommand = exports.se_CreateMediaInsightsPipelineConfigurationCommand = exports.se_CreateMediaInsightsPipelineCommand = exports.se_CreateMediaConcatenationPipelineCommand = exports.se_CreateMediaCapturePipelineCommand = void 0;
|
|
4
|
+
exports.de_UpdateMediaPipelineKinesisVideoStreamPoolCommand = exports.de_UpdateMediaInsightsPipelineStatusCommand = exports.de_UpdateMediaInsightsPipelineConfigurationCommand = exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_StopVoiceToneAnalysisTaskCommand = exports.de_StopSpeakerSearchTaskCommand = exports.de_StartVoiceToneAnalysisTaskCommand = exports.de_StartSpeakerSearchTaskCommand = exports.de_ListTagsForResourceCommand = exports.de_ListMediaPipelinesCommand = exports.de_ListMediaPipelineKinesisVideoStreamPoolsCommand = void 0;
|
|
4
5
|
const protocol_http_1 = require("@smithy/protocol-http");
|
|
5
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
6
7
|
const uuid_1 = require("uuid");
|
|
@@ -134,6 +135,55 @@ const se_CreateMediaLiveConnectorPipelineCommand = async (input, context) => {
|
|
|
134
135
|
});
|
|
135
136
|
};
|
|
136
137
|
exports.se_CreateMediaLiveConnectorPipelineCommand = se_CreateMediaLiveConnectorPipelineCommand;
|
|
138
|
+
const se_CreateMediaPipelineKinesisVideoStreamPoolCommand = async (input, context) => {
|
|
139
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
140
|
+
const headers = {
|
|
141
|
+
"content-type": "application/json",
|
|
142
|
+
};
|
|
143
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
144
|
+
"/media-pipeline-kinesis-video-stream-pools";
|
|
145
|
+
let body;
|
|
146
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
147
|
+
ClientRequestToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
148
|
+
PoolName: [],
|
|
149
|
+
StreamConfiguration: (_) => (0, smithy_client_1._json)(_),
|
|
150
|
+
Tags: (_) => (0, smithy_client_1._json)(_),
|
|
151
|
+
}));
|
|
152
|
+
return new protocol_http_1.HttpRequest({
|
|
153
|
+
protocol,
|
|
154
|
+
hostname,
|
|
155
|
+
port,
|
|
156
|
+
method: "POST",
|
|
157
|
+
headers,
|
|
158
|
+
path: resolvedPath,
|
|
159
|
+
body,
|
|
160
|
+
});
|
|
161
|
+
};
|
|
162
|
+
exports.se_CreateMediaPipelineKinesisVideoStreamPoolCommand = se_CreateMediaPipelineKinesisVideoStreamPoolCommand;
|
|
163
|
+
const se_CreateMediaStreamPipelineCommand = async (input, context) => {
|
|
164
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
165
|
+
const headers = {
|
|
166
|
+
"content-type": "application/json",
|
|
167
|
+
};
|
|
168
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/sdk-media-stream-pipelines";
|
|
169
|
+
let body;
|
|
170
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
171
|
+
ClientRequestToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
172
|
+
Sinks: (_) => (0, smithy_client_1._json)(_),
|
|
173
|
+
Sources: (_) => (0, smithy_client_1._json)(_),
|
|
174
|
+
Tags: (_) => (0, smithy_client_1._json)(_),
|
|
175
|
+
}));
|
|
176
|
+
return new protocol_http_1.HttpRequest({
|
|
177
|
+
protocol,
|
|
178
|
+
hostname,
|
|
179
|
+
port,
|
|
180
|
+
method: "POST",
|
|
181
|
+
headers,
|
|
182
|
+
path: resolvedPath,
|
|
183
|
+
body,
|
|
184
|
+
});
|
|
185
|
+
};
|
|
186
|
+
exports.se_CreateMediaStreamPipelineCommand = se_CreateMediaStreamPipelineCommand;
|
|
137
187
|
const se_DeleteMediaCapturePipelineCommand = async (input, context) => {
|
|
138
188
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
139
189
|
const headers = {};
|
|
@@ -187,6 +237,24 @@ const se_DeleteMediaPipelineCommand = async (input, context) => {
|
|
|
187
237
|
});
|
|
188
238
|
};
|
|
189
239
|
exports.se_DeleteMediaPipelineCommand = se_DeleteMediaPipelineCommand;
|
|
240
|
+
const se_DeleteMediaPipelineKinesisVideoStreamPoolCommand = async (input, context) => {
|
|
241
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
242
|
+
const headers = {};
|
|
243
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
244
|
+
"/media-pipeline-kinesis-video-stream-pools/{Identifier}";
|
|
245
|
+
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Identifier", () => input.Identifier, "{Identifier}", false);
|
|
246
|
+
let body;
|
|
247
|
+
return new protocol_http_1.HttpRequest({
|
|
248
|
+
protocol,
|
|
249
|
+
hostname,
|
|
250
|
+
port,
|
|
251
|
+
method: "DELETE",
|
|
252
|
+
headers,
|
|
253
|
+
path: resolvedPath,
|
|
254
|
+
body,
|
|
255
|
+
});
|
|
256
|
+
};
|
|
257
|
+
exports.se_DeleteMediaPipelineKinesisVideoStreamPoolCommand = se_DeleteMediaPipelineKinesisVideoStreamPoolCommand;
|
|
190
258
|
const se_GetMediaCapturePipelineCommand = async (input, context) => {
|
|
191
259
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
192
260
|
const headers = {};
|
|
@@ -240,6 +308,24 @@ const se_GetMediaPipelineCommand = async (input, context) => {
|
|
|
240
308
|
});
|
|
241
309
|
};
|
|
242
310
|
exports.se_GetMediaPipelineCommand = se_GetMediaPipelineCommand;
|
|
311
|
+
const se_GetMediaPipelineKinesisVideoStreamPoolCommand = async (input, context) => {
|
|
312
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
313
|
+
const headers = {};
|
|
314
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
315
|
+
"/media-pipeline-kinesis-video-stream-pools/{Identifier}";
|
|
316
|
+
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Identifier", () => input.Identifier, "{Identifier}", false);
|
|
317
|
+
let body;
|
|
318
|
+
return new protocol_http_1.HttpRequest({
|
|
319
|
+
protocol,
|
|
320
|
+
hostname,
|
|
321
|
+
port,
|
|
322
|
+
method: "GET",
|
|
323
|
+
headers,
|
|
324
|
+
path: resolvedPath,
|
|
325
|
+
body,
|
|
326
|
+
});
|
|
327
|
+
};
|
|
328
|
+
exports.se_GetMediaPipelineKinesisVideoStreamPoolCommand = se_GetMediaPipelineKinesisVideoStreamPoolCommand;
|
|
243
329
|
const se_GetSpeakerSearchTaskCommand = async (input, context) => {
|
|
244
330
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
245
331
|
const headers = {};
|
|
@@ -320,6 +406,28 @@ const se_ListMediaInsightsPipelineConfigurationsCommand = async (input, context)
|
|
|
320
406
|
});
|
|
321
407
|
};
|
|
322
408
|
exports.se_ListMediaInsightsPipelineConfigurationsCommand = se_ListMediaInsightsPipelineConfigurationsCommand;
|
|
409
|
+
const se_ListMediaPipelineKinesisVideoStreamPoolsCommand = async (input, context) => {
|
|
410
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
411
|
+
const headers = {};
|
|
412
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
413
|
+
"/media-pipeline-kinesis-video-stream-pools";
|
|
414
|
+
const query = (0, smithy_client_1.map)({
|
|
415
|
+
"next-token": [, input.NextToken],
|
|
416
|
+
"max-results": [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],
|
|
417
|
+
});
|
|
418
|
+
let body;
|
|
419
|
+
return new protocol_http_1.HttpRequest({
|
|
420
|
+
protocol,
|
|
421
|
+
hostname,
|
|
422
|
+
port,
|
|
423
|
+
method: "GET",
|
|
424
|
+
headers,
|
|
425
|
+
path: resolvedPath,
|
|
426
|
+
query,
|
|
427
|
+
body,
|
|
428
|
+
});
|
|
429
|
+
};
|
|
430
|
+
exports.se_ListMediaPipelineKinesisVideoStreamPoolsCommand = se_ListMediaPipelineKinesisVideoStreamPoolsCommand;
|
|
323
431
|
const se_ListMediaPipelinesCommand = async (input, context) => {
|
|
324
432
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
325
433
|
const headers = {};
|
|
@@ -565,6 +673,29 @@ const se_UpdateMediaInsightsPipelineStatusCommand = async (input, context) => {
|
|
|
565
673
|
});
|
|
566
674
|
};
|
|
567
675
|
exports.se_UpdateMediaInsightsPipelineStatusCommand = se_UpdateMediaInsightsPipelineStatusCommand;
|
|
676
|
+
const se_UpdateMediaPipelineKinesisVideoStreamPoolCommand = async (input, context) => {
|
|
677
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
678
|
+
const headers = {
|
|
679
|
+
"content-type": "application/json",
|
|
680
|
+
};
|
|
681
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
682
|
+
"/media-pipeline-kinesis-video-stream-pools/{Identifier}";
|
|
683
|
+
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Identifier", () => input.Identifier, "{Identifier}", false);
|
|
684
|
+
let body;
|
|
685
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
686
|
+
StreamConfiguration: (_) => (0, smithy_client_1._json)(_),
|
|
687
|
+
}));
|
|
688
|
+
return new protocol_http_1.HttpRequest({
|
|
689
|
+
protocol,
|
|
690
|
+
hostname,
|
|
691
|
+
port,
|
|
692
|
+
method: "PUT",
|
|
693
|
+
headers,
|
|
694
|
+
path: resolvedPath,
|
|
695
|
+
body,
|
|
696
|
+
});
|
|
697
|
+
};
|
|
698
|
+
exports.se_UpdateMediaPipelineKinesisVideoStreamPoolCommand = se_UpdateMediaPipelineKinesisVideoStreamPoolCommand;
|
|
568
699
|
const de_CreateMediaCapturePipelineCommand = async (output, context) => {
|
|
569
700
|
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
570
701
|
return de_CreateMediaCapturePipelineCommandError(output, context);
|
|
@@ -831,6 +962,116 @@ const de_CreateMediaLiveConnectorPipelineCommandError = async (output, context)
|
|
|
831
962
|
});
|
|
832
963
|
}
|
|
833
964
|
};
|
|
965
|
+
const de_CreateMediaPipelineKinesisVideoStreamPoolCommand = async (output, context) => {
|
|
966
|
+
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
967
|
+
return de_CreateMediaPipelineKinesisVideoStreamPoolCommandError(output, context);
|
|
968
|
+
}
|
|
969
|
+
const contents = (0, smithy_client_1.map)({
|
|
970
|
+
$metadata: deserializeMetadata(output),
|
|
971
|
+
});
|
|
972
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
973
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
974
|
+
KinesisVideoStreamPoolConfiguration: (_) => de_KinesisVideoStreamPoolConfiguration(_, context),
|
|
975
|
+
});
|
|
976
|
+
Object.assign(contents, doc);
|
|
977
|
+
return contents;
|
|
978
|
+
};
|
|
979
|
+
exports.de_CreateMediaPipelineKinesisVideoStreamPoolCommand = de_CreateMediaPipelineKinesisVideoStreamPoolCommand;
|
|
980
|
+
const de_CreateMediaPipelineKinesisVideoStreamPoolCommandError = async (output, context) => {
|
|
981
|
+
const parsedOutput = {
|
|
982
|
+
...output,
|
|
983
|
+
body: await parseErrorBody(output.body, context),
|
|
984
|
+
};
|
|
985
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
986
|
+
switch (errorCode) {
|
|
987
|
+
case "BadRequestException":
|
|
988
|
+
case "com.amazonaws.chimesdkmediapipelines#BadRequestException":
|
|
989
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
990
|
+
case "ConflictException":
|
|
991
|
+
case "com.amazonaws.chimesdkmediapipelines#ConflictException":
|
|
992
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
993
|
+
case "ForbiddenException":
|
|
994
|
+
case "com.amazonaws.chimesdkmediapipelines#ForbiddenException":
|
|
995
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
996
|
+
case "ResourceLimitExceededException":
|
|
997
|
+
case "com.amazonaws.chimesdkmediapipelines#ResourceLimitExceededException":
|
|
998
|
+
throw await de_ResourceLimitExceededExceptionRes(parsedOutput, context);
|
|
999
|
+
case "ServiceFailureException":
|
|
1000
|
+
case "com.amazonaws.chimesdkmediapipelines#ServiceFailureException":
|
|
1001
|
+
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
1002
|
+
case "ServiceUnavailableException":
|
|
1003
|
+
case "com.amazonaws.chimesdkmediapipelines#ServiceUnavailableException":
|
|
1004
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1005
|
+
case "ThrottledClientException":
|
|
1006
|
+
case "com.amazonaws.chimesdkmediapipelines#ThrottledClientException":
|
|
1007
|
+
throw await de_ThrottledClientExceptionRes(parsedOutput, context);
|
|
1008
|
+
case "UnauthorizedClientException":
|
|
1009
|
+
case "com.amazonaws.chimesdkmediapipelines#UnauthorizedClientException":
|
|
1010
|
+
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
|
1011
|
+
default:
|
|
1012
|
+
const parsedBody = parsedOutput.body;
|
|
1013
|
+
return throwDefaultError({
|
|
1014
|
+
output,
|
|
1015
|
+
parsedBody,
|
|
1016
|
+
errorCode,
|
|
1017
|
+
});
|
|
1018
|
+
}
|
|
1019
|
+
};
|
|
1020
|
+
const de_CreateMediaStreamPipelineCommand = async (output, context) => {
|
|
1021
|
+
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
1022
|
+
return de_CreateMediaStreamPipelineCommandError(output, context);
|
|
1023
|
+
}
|
|
1024
|
+
const contents = (0, smithy_client_1.map)({
|
|
1025
|
+
$metadata: deserializeMetadata(output),
|
|
1026
|
+
});
|
|
1027
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1028
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1029
|
+
MediaStreamPipeline: (_) => de_MediaStreamPipeline(_, context),
|
|
1030
|
+
});
|
|
1031
|
+
Object.assign(contents, doc);
|
|
1032
|
+
return contents;
|
|
1033
|
+
};
|
|
1034
|
+
exports.de_CreateMediaStreamPipelineCommand = de_CreateMediaStreamPipelineCommand;
|
|
1035
|
+
const de_CreateMediaStreamPipelineCommandError = async (output, context) => {
|
|
1036
|
+
const parsedOutput = {
|
|
1037
|
+
...output,
|
|
1038
|
+
body: await parseErrorBody(output.body, context),
|
|
1039
|
+
};
|
|
1040
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1041
|
+
switch (errorCode) {
|
|
1042
|
+
case "BadRequestException":
|
|
1043
|
+
case "com.amazonaws.chimesdkmediapipelines#BadRequestException":
|
|
1044
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1045
|
+
case "ForbiddenException":
|
|
1046
|
+
case "com.amazonaws.chimesdkmediapipelines#ForbiddenException":
|
|
1047
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
1048
|
+
case "NotFoundException":
|
|
1049
|
+
case "com.amazonaws.chimesdkmediapipelines#NotFoundException":
|
|
1050
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1051
|
+
case "ResourceLimitExceededException":
|
|
1052
|
+
case "com.amazonaws.chimesdkmediapipelines#ResourceLimitExceededException":
|
|
1053
|
+
throw await de_ResourceLimitExceededExceptionRes(parsedOutput, context);
|
|
1054
|
+
case "ServiceFailureException":
|
|
1055
|
+
case "com.amazonaws.chimesdkmediapipelines#ServiceFailureException":
|
|
1056
|
+
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
1057
|
+
case "ServiceUnavailableException":
|
|
1058
|
+
case "com.amazonaws.chimesdkmediapipelines#ServiceUnavailableException":
|
|
1059
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1060
|
+
case "ThrottledClientException":
|
|
1061
|
+
case "com.amazonaws.chimesdkmediapipelines#ThrottledClientException":
|
|
1062
|
+
throw await de_ThrottledClientExceptionRes(parsedOutput, context);
|
|
1063
|
+
case "UnauthorizedClientException":
|
|
1064
|
+
case "com.amazonaws.chimesdkmediapipelines#UnauthorizedClientException":
|
|
1065
|
+
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
|
1066
|
+
default:
|
|
1067
|
+
const parsedBody = parsedOutput.body;
|
|
1068
|
+
return throwDefaultError({
|
|
1069
|
+
output,
|
|
1070
|
+
parsedBody,
|
|
1071
|
+
errorCode,
|
|
1072
|
+
});
|
|
1073
|
+
}
|
|
1074
|
+
};
|
|
834
1075
|
const de_DeleteMediaCapturePipelineCommand = async (output, context) => {
|
|
835
1076
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
836
1077
|
return de_DeleteMediaCapturePipelineCommandError(output, context);
|
|
@@ -981,6 +1222,57 @@ const de_DeleteMediaPipelineCommandError = async (output, context) => {
|
|
|
981
1222
|
});
|
|
982
1223
|
}
|
|
983
1224
|
};
|
|
1225
|
+
const de_DeleteMediaPipelineKinesisVideoStreamPoolCommand = async (output, context) => {
|
|
1226
|
+
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1227
|
+
return de_DeleteMediaPipelineKinesisVideoStreamPoolCommandError(output, context);
|
|
1228
|
+
}
|
|
1229
|
+
const contents = (0, smithy_client_1.map)({
|
|
1230
|
+
$metadata: deserializeMetadata(output),
|
|
1231
|
+
});
|
|
1232
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
1233
|
+
return contents;
|
|
1234
|
+
};
|
|
1235
|
+
exports.de_DeleteMediaPipelineKinesisVideoStreamPoolCommand = de_DeleteMediaPipelineKinesisVideoStreamPoolCommand;
|
|
1236
|
+
const de_DeleteMediaPipelineKinesisVideoStreamPoolCommandError = async (output, context) => {
|
|
1237
|
+
const parsedOutput = {
|
|
1238
|
+
...output,
|
|
1239
|
+
body: await parseErrorBody(output.body, context),
|
|
1240
|
+
};
|
|
1241
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1242
|
+
switch (errorCode) {
|
|
1243
|
+
case "BadRequestException":
|
|
1244
|
+
case "com.amazonaws.chimesdkmediapipelines#BadRequestException":
|
|
1245
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1246
|
+
case "ConflictException":
|
|
1247
|
+
case "com.amazonaws.chimesdkmediapipelines#ConflictException":
|
|
1248
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1249
|
+
case "ForbiddenException":
|
|
1250
|
+
case "com.amazonaws.chimesdkmediapipelines#ForbiddenException":
|
|
1251
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
1252
|
+
case "NotFoundException":
|
|
1253
|
+
case "com.amazonaws.chimesdkmediapipelines#NotFoundException":
|
|
1254
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1255
|
+
case "ServiceFailureException":
|
|
1256
|
+
case "com.amazonaws.chimesdkmediapipelines#ServiceFailureException":
|
|
1257
|
+
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
1258
|
+
case "ServiceUnavailableException":
|
|
1259
|
+
case "com.amazonaws.chimesdkmediapipelines#ServiceUnavailableException":
|
|
1260
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1261
|
+
case "ThrottledClientException":
|
|
1262
|
+
case "com.amazonaws.chimesdkmediapipelines#ThrottledClientException":
|
|
1263
|
+
throw await de_ThrottledClientExceptionRes(parsedOutput, context);
|
|
1264
|
+
case "UnauthorizedClientException":
|
|
1265
|
+
case "com.amazonaws.chimesdkmediapipelines#UnauthorizedClientException":
|
|
1266
|
+
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
|
1267
|
+
default:
|
|
1268
|
+
const parsedBody = parsedOutput.body;
|
|
1269
|
+
return throwDefaultError({
|
|
1270
|
+
output,
|
|
1271
|
+
parsedBody,
|
|
1272
|
+
errorCode,
|
|
1273
|
+
});
|
|
1274
|
+
}
|
|
1275
|
+
};
|
|
984
1276
|
const de_GetMediaCapturePipelineCommand = async (output, context) => {
|
|
985
1277
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
986
1278
|
return de_GetMediaCapturePipelineCommandError(output, context);
|
|
@@ -1137,6 +1429,58 @@ const de_GetMediaPipelineCommandError = async (output, context) => {
|
|
|
1137
1429
|
});
|
|
1138
1430
|
}
|
|
1139
1431
|
};
|
|
1432
|
+
const de_GetMediaPipelineKinesisVideoStreamPoolCommand = async (output, context) => {
|
|
1433
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1434
|
+
return de_GetMediaPipelineKinesisVideoStreamPoolCommandError(output, context);
|
|
1435
|
+
}
|
|
1436
|
+
const contents = (0, smithy_client_1.map)({
|
|
1437
|
+
$metadata: deserializeMetadata(output),
|
|
1438
|
+
});
|
|
1439
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1440
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1441
|
+
KinesisVideoStreamPoolConfiguration: (_) => de_KinesisVideoStreamPoolConfiguration(_, context),
|
|
1442
|
+
});
|
|
1443
|
+
Object.assign(contents, doc);
|
|
1444
|
+
return contents;
|
|
1445
|
+
};
|
|
1446
|
+
exports.de_GetMediaPipelineKinesisVideoStreamPoolCommand = de_GetMediaPipelineKinesisVideoStreamPoolCommand;
|
|
1447
|
+
const de_GetMediaPipelineKinesisVideoStreamPoolCommandError = async (output, context) => {
|
|
1448
|
+
const parsedOutput = {
|
|
1449
|
+
...output,
|
|
1450
|
+
body: await parseErrorBody(output.body, context),
|
|
1451
|
+
};
|
|
1452
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1453
|
+
switch (errorCode) {
|
|
1454
|
+
case "BadRequestException":
|
|
1455
|
+
case "com.amazonaws.chimesdkmediapipelines#BadRequestException":
|
|
1456
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1457
|
+
case "ForbiddenException":
|
|
1458
|
+
case "com.amazonaws.chimesdkmediapipelines#ForbiddenException":
|
|
1459
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
1460
|
+
case "NotFoundException":
|
|
1461
|
+
case "com.amazonaws.chimesdkmediapipelines#NotFoundException":
|
|
1462
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1463
|
+
case "ServiceFailureException":
|
|
1464
|
+
case "com.amazonaws.chimesdkmediapipelines#ServiceFailureException":
|
|
1465
|
+
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
1466
|
+
case "ServiceUnavailableException":
|
|
1467
|
+
case "com.amazonaws.chimesdkmediapipelines#ServiceUnavailableException":
|
|
1468
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1469
|
+
case "ThrottledClientException":
|
|
1470
|
+
case "com.amazonaws.chimesdkmediapipelines#ThrottledClientException":
|
|
1471
|
+
throw await de_ThrottledClientExceptionRes(parsedOutput, context);
|
|
1472
|
+
case "UnauthorizedClientException":
|
|
1473
|
+
case "com.amazonaws.chimesdkmediapipelines#UnauthorizedClientException":
|
|
1474
|
+
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
|
1475
|
+
default:
|
|
1476
|
+
const parsedBody = parsedOutput.body;
|
|
1477
|
+
return throwDefaultError({
|
|
1478
|
+
output,
|
|
1479
|
+
parsedBody,
|
|
1480
|
+
errorCode,
|
|
1481
|
+
});
|
|
1482
|
+
}
|
|
1483
|
+
};
|
|
1140
1484
|
const de_GetSpeakerSearchTaskCommand = async (output, context) => {
|
|
1141
1485
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1142
1486
|
return de_GetSpeakerSearchTaskCommandError(output, context);
|
|
@@ -1347,6 +1691,59 @@ const de_ListMediaInsightsPipelineConfigurationsCommandError = async (output, co
|
|
|
1347
1691
|
});
|
|
1348
1692
|
}
|
|
1349
1693
|
};
|
|
1694
|
+
const de_ListMediaPipelineKinesisVideoStreamPoolsCommand = async (output, context) => {
|
|
1695
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1696
|
+
return de_ListMediaPipelineKinesisVideoStreamPoolsCommandError(output, context);
|
|
1697
|
+
}
|
|
1698
|
+
const contents = (0, smithy_client_1.map)({
|
|
1699
|
+
$metadata: deserializeMetadata(output),
|
|
1700
|
+
});
|
|
1701
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1702
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1703
|
+
KinesisVideoStreamPools: smithy_client_1._json,
|
|
1704
|
+
NextToken: smithy_client_1.expectString,
|
|
1705
|
+
});
|
|
1706
|
+
Object.assign(contents, doc);
|
|
1707
|
+
return contents;
|
|
1708
|
+
};
|
|
1709
|
+
exports.de_ListMediaPipelineKinesisVideoStreamPoolsCommand = de_ListMediaPipelineKinesisVideoStreamPoolsCommand;
|
|
1710
|
+
const de_ListMediaPipelineKinesisVideoStreamPoolsCommandError = async (output, context) => {
|
|
1711
|
+
const parsedOutput = {
|
|
1712
|
+
...output,
|
|
1713
|
+
body: await parseErrorBody(output.body, context),
|
|
1714
|
+
};
|
|
1715
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1716
|
+
switch (errorCode) {
|
|
1717
|
+
case "BadRequestException":
|
|
1718
|
+
case "com.amazonaws.chimesdkmediapipelines#BadRequestException":
|
|
1719
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1720
|
+
case "ForbiddenException":
|
|
1721
|
+
case "com.amazonaws.chimesdkmediapipelines#ForbiddenException":
|
|
1722
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
1723
|
+
case "ResourceLimitExceededException":
|
|
1724
|
+
case "com.amazonaws.chimesdkmediapipelines#ResourceLimitExceededException":
|
|
1725
|
+
throw await de_ResourceLimitExceededExceptionRes(parsedOutput, context);
|
|
1726
|
+
case "ServiceFailureException":
|
|
1727
|
+
case "com.amazonaws.chimesdkmediapipelines#ServiceFailureException":
|
|
1728
|
+
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
1729
|
+
case "ServiceUnavailableException":
|
|
1730
|
+
case "com.amazonaws.chimesdkmediapipelines#ServiceUnavailableException":
|
|
1731
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1732
|
+
case "ThrottledClientException":
|
|
1733
|
+
case "com.amazonaws.chimesdkmediapipelines#ThrottledClientException":
|
|
1734
|
+
throw await de_ThrottledClientExceptionRes(parsedOutput, context);
|
|
1735
|
+
case "UnauthorizedClientException":
|
|
1736
|
+
case "com.amazonaws.chimesdkmediapipelines#UnauthorizedClientException":
|
|
1737
|
+
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
|
1738
|
+
default:
|
|
1739
|
+
const parsedBody = parsedOutput.body;
|
|
1740
|
+
return throwDefaultError({
|
|
1741
|
+
output,
|
|
1742
|
+
parsedBody,
|
|
1743
|
+
errorCode,
|
|
1744
|
+
});
|
|
1745
|
+
}
|
|
1746
|
+
};
|
|
1350
1747
|
const de_ListMediaPipelinesCommand = async (output, context) => {
|
|
1351
1748
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1352
1749
|
return de_ListMediaPipelinesCommandError(output, context);
|
|
@@ -1866,6 +2263,61 @@ const de_UpdateMediaInsightsPipelineStatusCommandError = async (output, context)
|
|
|
1866
2263
|
});
|
|
1867
2264
|
}
|
|
1868
2265
|
};
|
|
2266
|
+
const de_UpdateMediaPipelineKinesisVideoStreamPoolCommand = async (output, context) => {
|
|
2267
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2268
|
+
return de_UpdateMediaPipelineKinesisVideoStreamPoolCommandError(output, context);
|
|
2269
|
+
}
|
|
2270
|
+
const contents = (0, smithy_client_1.map)({
|
|
2271
|
+
$metadata: deserializeMetadata(output),
|
|
2272
|
+
});
|
|
2273
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2274
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
2275
|
+
KinesisVideoStreamPoolConfiguration: (_) => de_KinesisVideoStreamPoolConfiguration(_, context),
|
|
2276
|
+
});
|
|
2277
|
+
Object.assign(contents, doc);
|
|
2278
|
+
return contents;
|
|
2279
|
+
};
|
|
2280
|
+
exports.de_UpdateMediaPipelineKinesisVideoStreamPoolCommand = de_UpdateMediaPipelineKinesisVideoStreamPoolCommand;
|
|
2281
|
+
const de_UpdateMediaPipelineKinesisVideoStreamPoolCommandError = async (output, context) => {
|
|
2282
|
+
const parsedOutput = {
|
|
2283
|
+
...output,
|
|
2284
|
+
body: await parseErrorBody(output.body, context),
|
|
2285
|
+
};
|
|
2286
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2287
|
+
switch (errorCode) {
|
|
2288
|
+
case "BadRequestException":
|
|
2289
|
+
case "com.amazonaws.chimesdkmediapipelines#BadRequestException":
|
|
2290
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
2291
|
+
case "ConflictException":
|
|
2292
|
+
case "com.amazonaws.chimesdkmediapipelines#ConflictException":
|
|
2293
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2294
|
+
case "ForbiddenException":
|
|
2295
|
+
case "com.amazonaws.chimesdkmediapipelines#ForbiddenException":
|
|
2296
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
2297
|
+
case "NotFoundException":
|
|
2298
|
+
case "com.amazonaws.chimesdkmediapipelines#NotFoundException":
|
|
2299
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
2300
|
+
case "ServiceFailureException":
|
|
2301
|
+
case "com.amazonaws.chimesdkmediapipelines#ServiceFailureException":
|
|
2302
|
+
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
2303
|
+
case "ServiceUnavailableException":
|
|
2304
|
+
case "com.amazonaws.chimesdkmediapipelines#ServiceUnavailableException":
|
|
2305
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
2306
|
+
case "ThrottledClientException":
|
|
2307
|
+
case "com.amazonaws.chimesdkmediapipelines#ThrottledClientException":
|
|
2308
|
+
throw await de_ThrottledClientExceptionRes(parsedOutput, context);
|
|
2309
|
+
case "UnauthorizedClientException":
|
|
2310
|
+
case "com.amazonaws.chimesdkmediapipelines#UnauthorizedClientException":
|
|
2311
|
+
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
|
2312
|
+
default:
|
|
2313
|
+
const parsedBody = parsedOutput.body;
|
|
2314
|
+
return throwDefaultError({
|
|
2315
|
+
output,
|
|
2316
|
+
parsedBody,
|
|
2317
|
+
errorCode,
|
|
2318
|
+
});
|
|
2319
|
+
}
|
|
2320
|
+
};
|
|
1869
2321
|
const throwDefaultError = (0, smithy_client_1.withBaseException)(ChimeSDKMediaPipelinesServiceException_1.ChimeSDKMediaPipelinesServiceException);
|
|
1870
2322
|
const de_BadRequestExceptionRes = async (parsedOutput, context) => {
|
|
1871
2323
|
const contents = (0, smithy_client_1.map)({});
|
|
@@ -2026,6 +2478,18 @@ const de_FragmentSelector = (output, context) => {
|
|
|
2026
2478
|
TimestampRange: (_) => de_TimestampRange(_, context),
|
|
2027
2479
|
});
|
|
2028
2480
|
};
|
|
2481
|
+
const de_KinesisVideoStreamPoolConfiguration = (output, context) => {
|
|
2482
|
+
return (0, smithy_client_1.take)(output, {
|
|
2483
|
+
CreatedTimestamp: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
|
|
2484
|
+
PoolArn: smithy_client_1.expectString,
|
|
2485
|
+
PoolId: smithy_client_1.expectString,
|
|
2486
|
+
PoolName: smithy_client_1.expectString,
|
|
2487
|
+
PoolSize: smithy_client_1.expectInt32,
|
|
2488
|
+
PoolStatus: smithy_client_1.expectString,
|
|
2489
|
+
StreamConfiguration: smithy_client_1._json,
|
|
2490
|
+
UpdatedTimestamp: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
|
|
2491
|
+
});
|
|
2492
|
+
};
|
|
2029
2493
|
const de_KinesisVideoStreamRecordingSourceRuntimeConfiguration = (output, context) => {
|
|
2030
2494
|
return (0, smithy_client_1.take)(output, {
|
|
2031
2495
|
FragmentSelector: (_) => de_FragmentSelector(_, context),
|
|
@@ -2100,6 +2564,18 @@ const de_MediaPipeline = (output, context) => {
|
|
|
2100
2564
|
MediaConcatenationPipeline: (_) => de_MediaConcatenationPipeline(_, context),
|
|
2101
2565
|
MediaInsightsPipeline: (_) => de_MediaInsightsPipeline(_, context),
|
|
2102
2566
|
MediaLiveConnectorPipeline: (_) => de_MediaLiveConnectorPipeline(_, context),
|
|
2567
|
+
MediaStreamPipeline: (_) => de_MediaStreamPipeline(_, context),
|
|
2568
|
+
});
|
|
2569
|
+
};
|
|
2570
|
+
const de_MediaStreamPipeline = (output, context) => {
|
|
2571
|
+
return (0, smithy_client_1.take)(output, {
|
|
2572
|
+
CreatedTimestamp: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
|
|
2573
|
+
MediaPipelineArn: smithy_client_1.expectString,
|
|
2574
|
+
MediaPipelineId: smithy_client_1.expectString,
|
|
2575
|
+
Sinks: smithy_client_1._json,
|
|
2576
|
+
Sources: smithy_client_1._json,
|
|
2577
|
+
Status: smithy_client_1.expectString,
|
|
2578
|
+
UpdatedTimestamp: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
|
|
2103
2579
|
});
|
|
2104
2580
|
};
|
|
2105
2581
|
const de_SpeakerSearchTask = (output, context) => {
|
|
@@ -5,16 +5,21 @@ import { CreateMediaConcatenationPipelineCommand, } from "./commands/CreateMedia
|
|
|
5
5
|
import { CreateMediaInsightsPipelineCommand, } from "./commands/CreateMediaInsightsPipelineCommand";
|
|
6
6
|
import { CreateMediaInsightsPipelineConfigurationCommand, } from "./commands/CreateMediaInsightsPipelineConfigurationCommand";
|
|
7
7
|
import { CreateMediaLiveConnectorPipelineCommand, } from "./commands/CreateMediaLiveConnectorPipelineCommand";
|
|
8
|
+
import { CreateMediaPipelineKinesisVideoStreamPoolCommand, } from "./commands/CreateMediaPipelineKinesisVideoStreamPoolCommand";
|
|
9
|
+
import { CreateMediaStreamPipelineCommand, } from "./commands/CreateMediaStreamPipelineCommand";
|
|
8
10
|
import { DeleteMediaCapturePipelineCommand, } from "./commands/DeleteMediaCapturePipelineCommand";
|
|
9
11
|
import { DeleteMediaInsightsPipelineConfigurationCommand, } from "./commands/DeleteMediaInsightsPipelineConfigurationCommand";
|
|
10
12
|
import { DeleteMediaPipelineCommand, } from "./commands/DeleteMediaPipelineCommand";
|
|
13
|
+
import { DeleteMediaPipelineKinesisVideoStreamPoolCommand, } from "./commands/DeleteMediaPipelineKinesisVideoStreamPoolCommand";
|
|
11
14
|
import { GetMediaCapturePipelineCommand, } from "./commands/GetMediaCapturePipelineCommand";
|
|
12
15
|
import { GetMediaInsightsPipelineConfigurationCommand, } from "./commands/GetMediaInsightsPipelineConfigurationCommand";
|
|
13
16
|
import { GetMediaPipelineCommand, } from "./commands/GetMediaPipelineCommand";
|
|
17
|
+
import { GetMediaPipelineKinesisVideoStreamPoolCommand, } from "./commands/GetMediaPipelineKinesisVideoStreamPoolCommand";
|
|
14
18
|
import { GetSpeakerSearchTaskCommand, } from "./commands/GetSpeakerSearchTaskCommand";
|
|
15
19
|
import { GetVoiceToneAnalysisTaskCommand, } from "./commands/GetVoiceToneAnalysisTaskCommand";
|
|
16
20
|
import { ListMediaCapturePipelinesCommand, } from "./commands/ListMediaCapturePipelinesCommand";
|
|
17
21
|
import { ListMediaInsightsPipelineConfigurationsCommand, } from "./commands/ListMediaInsightsPipelineConfigurationsCommand";
|
|
22
|
+
import { ListMediaPipelineKinesisVideoStreamPoolsCommand, } from "./commands/ListMediaPipelineKinesisVideoStreamPoolsCommand";
|
|
18
23
|
import { ListMediaPipelinesCommand, } from "./commands/ListMediaPipelinesCommand";
|
|
19
24
|
import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
|
|
20
25
|
import { StartSpeakerSearchTaskCommand, } from "./commands/StartSpeakerSearchTaskCommand";
|
|
@@ -25,22 +30,28 @@ import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
|
25
30
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
26
31
|
import { UpdateMediaInsightsPipelineConfigurationCommand, } from "./commands/UpdateMediaInsightsPipelineConfigurationCommand";
|
|
27
32
|
import { UpdateMediaInsightsPipelineStatusCommand, } from "./commands/UpdateMediaInsightsPipelineStatusCommand";
|
|
33
|
+
import { UpdateMediaPipelineKinesisVideoStreamPoolCommand, } from "./commands/UpdateMediaPipelineKinesisVideoStreamPoolCommand";
|
|
28
34
|
const commands = {
|
|
29
35
|
CreateMediaCapturePipelineCommand,
|
|
30
36
|
CreateMediaConcatenationPipelineCommand,
|
|
31
37
|
CreateMediaInsightsPipelineCommand,
|
|
32
38
|
CreateMediaInsightsPipelineConfigurationCommand,
|
|
33
39
|
CreateMediaLiveConnectorPipelineCommand,
|
|
40
|
+
CreateMediaPipelineKinesisVideoStreamPoolCommand,
|
|
41
|
+
CreateMediaStreamPipelineCommand,
|
|
34
42
|
DeleteMediaCapturePipelineCommand,
|
|
35
43
|
DeleteMediaInsightsPipelineConfigurationCommand,
|
|
36
44
|
DeleteMediaPipelineCommand,
|
|
45
|
+
DeleteMediaPipelineKinesisVideoStreamPoolCommand,
|
|
37
46
|
GetMediaCapturePipelineCommand,
|
|
38
47
|
GetMediaInsightsPipelineConfigurationCommand,
|
|
39
48
|
GetMediaPipelineCommand,
|
|
49
|
+
GetMediaPipelineKinesisVideoStreamPoolCommand,
|
|
40
50
|
GetSpeakerSearchTaskCommand,
|
|
41
51
|
GetVoiceToneAnalysisTaskCommand,
|
|
42
52
|
ListMediaCapturePipelinesCommand,
|
|
43
53
|
ListMediaInsightsPipelineConfigurationsCommand,
|
|
54
|
+
ListMediaPipelineKinesisVideoStreamPoolsCommand,
|
|
44
55
|
ListMediaPipelinesCommand,
|
|
45
56
|
ListTagsForResourceCommand,
|
|
46
57
|
StartSpeakerSearchTaskCommand,
|
|
@@ -51,6 +62,7 @@ const commands = {
|
|
|
51
62
|
UntagResourceCommand,
|
|
52
63
|
UpdateMediaInsightsPipelineConfigurationCommand,
|
|
53
64
|
UpdateMediaInsightsPipelineStatusCommand,
|
|
65
|
+
UpdateMediaPipelineKinesisVideoStreamPoolCommand,
|
|
54
66
|
};
|
|
55
67
|
export class ChimeSDKMediaPipelines extends ChimeSDKMediaPipelinesClient {
|
|
56
68
|
}
|