@aws-sdk/client-chime-sdk-media-pipelines 3.404.0 → 3.405.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/GetSpeakerSearchTaskCommand.js +46 -0
- package/dist-cjs/commands/GetVoiceToneAnalysisTaskCommand.js +46 -0
- package/dist-cjs/commands/StartSpeakerSearchTaskCommand.js +47 -0
- package/dist-cjs/commands/StartVoiceToneAnalysisTaskCommand.js +47 -0
- package/dist-cjs/commands/StopSpeakerSearchTaskCommand.js +46 -0
- package/dist-cjs/commands/StopVoiceToneAnalysisTaskCommand.js +46 -0
- package/dist-cjs/commands/index.js +6 -0
- package/dist-cjs/models/models_0.js +23 -1
- package/dist-cjs/protocols/Aws_restJson1.js +478 -1
- package/dist-es/ChimeSDKMediaPipelines.js +12 -0
- package/dist-es/commands/GetSpeakerSearchTaskCommand.js +42 -0
- package/dist-es/commands/GetVoiceToneAnalysisTaskCommand.js +42 -0
- package/dist-es/commands/StartSpeakerSearchTaskCommand.js +43 -0
- package/dist-es/commands/StartVoiceToneAnalysisTaskCommand.js +43 -0
- package/dist-es/commands/StopSpeakerSearchTaskCommand.js +42 -0
- package/dist-es/commands/StopVoiceToneAnalysisTaskCommand.js +42 -0
- package/dist-es/commands/index.js +6 -0
- package/dist-es/models/models_0.js +20 -0
- package/dist-es/protocols/Aws_restJson1.js +465 -0
- package/dist-types/ChimeSDKMediaPipelines.d.ts +42 -0
- package/dist-types/ChimeSDKMediaPipelinesClient.d.ts +8 -2
- package/dist-types/commands/DeleteMediaPipelineCommand.d.ts +4 -0
- package/dist-types/commands/GetSpeakerSearchTaskCommand.d.ts +100 -0
- package/dist-types/commands/GetVoiceToneAnalysisTaskCommand.d.ts +100 -0
- package/dist-types/commands/StartSpeakerSearchTaskCommand.d.ts +114 -0
- package/dist-types/commands/StartVoiceToneAnalysisTaskCommand.d.ts +116 -0
- package/dist-types/commands/StopSpeakerSearchTaskCommand.d.ts +97 -0
- package/dist-types/commands/StopVoiceToneAnalysisTaskCommand.d.ts +97 -0
- package/dist-types/commands/index.d.ts +6 -0
- package/dist-types/models/models_0.d.ts +263 -2
- package/dist-types/protocols/Aws_restJson1.d.ts +54 -0
- package/dist-types/ts3.4/ChimeSDKMediaPipelines.d.ts +102 -0
- package/dist-types/ts3.4/ChimeSDKMediaPipelinesClient.d.ts +36 -0
- package/dist-types/ts3.4/commands/GetSpeakerSearchTaskCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetVoiceToneAnalysisTaskCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/StartSpeakerSearchTaskCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/StartVoiceToneAnalysisTaskCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/StopSpeakerSearchTaskCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/StopVoiceToneAnalysisTaskCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/index.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +78 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +72 -0
- package/package.json +7 -7
|
@@ -226,6 +226,42 @@ export const se_GetMediaPipelineCommand = async (input, context) => {
|
|
|
226
226
|
body,
|
|
227
227
|
});
|
|
228
228
|
};
|
|
229
|
+
export const se_GetSpeakerSearchTaskCommand = async (input, context) => {
|
|
230
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
231
|
+
const headers = {};
|
|
232
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
233
|
+
"/media-insights-pipelines/{Identifier}/speaker-search-tasks/{SpeakerSearchTaskId}";
|
|
234
|
+
resolvedPath = __resolvedPath(resolvedPath, input, "Identifier", () => input.Identifier, "{Identifier}", false);
|
|
235
|
+
resolvedPath = __resolvedPath(resolvedPath, input, "SpeakerSearchTaskId", () => input.SpeakerSearchTaskId, "{SpeakerSearchTaskId}", false);
|
|
236
|
+
let body;
|
|
237
|
+
return new __HttpRequest({
|
|
238
|
+
protocol,
|
|
239
|
+
hostname,
|
|
240
|
+
port,
|
|
241
|
+
method: "GET",
|
|
242
|
+
headers,
|
|
243
|
+
path: resolvedPath,
|
|
244
|
+
body,
|
|
245
|
+
});
|
|
246
|
+
};
|
|
247
|
+
export const se_GetVoiceToneAnalysisTaskCommand = async (input, context) => {
|
|
248
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
249
|
+
const headers = {};
|
|
250
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
251
|
+
"/media-insights-pipelines/{Identifier}/voice-tone-analysis-tasks/{VoiceToneAnalysisTaskId}";
|
|
252
|
+
resolvedPath = __resolvedPath(resolvedPath, input, "Identifier", () => input.Identifier, "{Identifier}", false);
|
|
253
|
+
resolvedPath = __resolvedPath(resolvedPath, input, "VoiceToneAnalysisTaskId", () => input.VoiceToneAnalysisTaskId, "{VoiceToneAnalysisTaskId}", false);
|
|
254
|
+
let body;
|
|
255
|
+
return new __HttpRequest({
|
|
256
|
+
protocol,
|
|
257
|
+
hostname,
|
|
258
|
+
port,
|
|
259
|
+
method: "GET",
|
|
260
|
+
headers,
|
|
261
|
+
path: resolvedPath,
|
|
262
|
+
body,
|
|
263
|
+
});
|
|
264
|
+
};
|
|
229
265
|
export const se_ListMediaCapturePipelinesCommand = async (input, context) => {
|
|
230
266
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
231
267
|
const headers = {};
|
|
@@ -305,6 +341,106 @@ export const se_ListTagsForResourceCommand = async (input, context) => {
|
|
|
305
341
|
body,
|
|
306
342
|
});
|
|
307
343
|
};
|
|
344
|
+
export const se_StartSpeakerSearchTaskCommand = async (input, context) => {
|
|
345
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
346
|
+
const headers = {
|
|
347
|
+
"content-type": "application/json",
|
|
348
|
+
};
|
|
349
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
350
|
+
"/media-insights-pipelines/{Identifier}/speaker-search-tasks";
|
|
351
|
+
resolvedPath = __resolvedPath(resolvedPath, input, "Identifier", () => input.Identifier, "{Identifier}", false);
|
|
352
|
+
const query = map({
|
|
353
|
+
operation: [, "start"],
|
|
354
|
+
});
|
|
355
|
+
let body;
|
|
356
|
+
body = JSON.stringify(take(input, {
|
|
357
|
+
ClientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
358
|
+
KinesisVideoStreamSourceTaskConfiguration: (_) => _json(_),
|
|
359
|
+
VoiceProfileDomainArn: [],
|
|
360
|
+
}));
|
|
361
|
+
return new __HttpRequest({
|
|
362
|
+
protocol,
|
|
363
|
+
hostname,
|
|
364
|
+
port,
|
|
365
|
+
method: "POST",
|
|
366
|
+
headers,
|
|
367
|
+
path: resolvedPath,
|
|
368
|
+
query,
|
|
369
|
+
body,
|
|
370
|
+
});
|
|
371
|
+
};
|
|
372
|
+
export const se_StartVoiceToneAnalysisTaskCommand = async (input, context) => {
|
|
373
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
374
|
+
const headers = {
|
|
375
|
+
"content-type": "application/json",
|
|
376
|
+
};
|
|
377
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
378
|
+
"/media-insights-pipelines/{Identifier}/voice-tone-analysis-tasks";
|
|
379
|
+
resolvedPath = __resolvedPath(resolvedPath, input, "Identifier", () => input.Identifier, "{Identifier}", false);
|
|
380
|
+
const query = map({
|
|
381
|
+
operation: [, "start"],
|
|
382
|
+
});
|
|
383
|
+
let body;
|
|
384
|
+
body = JSON.stringify(take(input, {
|
|
385
|
+
ClientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
386
|
+
KinesisVideoStreamSourceTaskConfiguration: (_) => _json(_),
|
|
387
|
+
LanguageCode: [],
|
|
388
|
+
}));
|
|
389
|
+
return new __HttpRequest({
|
|
390
|
+
protocol,
|
|
391
|
+
hostname,
|
|
392
|
+
port,
|
|
393
|
+
method: "POST",
|
|
394
|
+
headers,
|
|
395
|
+
path: resolvedPath,
|
|
396
|
+
query,
|
|
397
|
+
body,
|
|
398
|
+
});
|
|
399
|
+
};
|
|
400
|
+
export const se_StopSpeakerSearchTaskCommand = async (input, context) => {
|
|
401
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
402
|
+
const headers = {};
|
|
403
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
404
|
+
"/media-insights-pipelines/{Identifier}/speaker-search-tasks/{SpeakerSearchTaskId}";
|
|
405
|
+
resolvedPath = __resolvedPath(resolvedPath, input, "Identifier", () => input.Identifier, "{Identifier}", false);
|
|
406
|
+
resolvedPath = __resolvedPath(resolvedPath, input, "SpeakerSearchTaskId", () => input.SpeakerSearchTaskId, "{SpeakerSearchTaskId}", false);
|
|
407
|
+
const query = map({
|
|
408
|
+
operation: [, "stop"],
|
|
409
|
+
});
|
|
410
|
+
let body;
|
|
411
|
+
return new __HttpRequest({
|
|
412
|
+
protocol,
|
|
413
|
+
hostname,
|
|
414
|
+
port,
|
|
415
|
+
method: "POST",
|
|
416
|
+
headers,
|
|
417
|
+
path: resolvedPath,
|
|
418
|
+
query,
|
|
419
|
+
body,
|
|
420
|
+
});
|
|
421
|
+
};
|
|
422
|
+
export const se_StopVoiceToneAnalysisTaskCommand = async (input, context) => {
|
|
423
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
424
|
+
const headers = {};
|
|
425
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
426
|
+
"/media-insights-pipelines/{Identifier}/voice-tone-analysis-tasks/{VoiceToneAnalysisTaskId}";
|
|
427
|
+
resolvedPath = __resolvedPath(resolvedPath, input, "Identifier", () => input.Identifier, "{Identifier}", false);
|
|
428
|
+
resolvedPath = __resolvedPath(resolvedPath, input, "VoiceToneAnalysisTaskId", () => input.VoiceToneAnalysisTaskId, "{VoiceToneAnalysisTaskId}", false);
|
|
429
|
+
const query = map({
|
|
430
|
+
operation: [, "stop"],
|
|
431
|
+
});
|
|
432
|
+
let body;
|
|
433
|
+
return new __HttpRequest({
|
|
434
|
+
protocol,
|
|
435
|
+
hostname,
|
|
436
|
+
port,
|
|
437
|
+
method: "POST",
|
|
438
|
+
headers,
|
|
439
|
+
path: resolvedPath,
|
|
440
|
+
query,
|
|
441
|
+
body,
|
|
442
|
+
});
|
|
443
|
+
};
|
|
308
444
|
export const se_TagResourceCommand = async (input, context) => {
|
|
309
445
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
310
446
|
const headers = {
|
|
@@ -779,6 +915,9 @@ const de_DeleteMediaPipelineCommandError = async (output, context) => {
|
|
|
779
915
|
case "BadRequestException":
|
|
780
916
|
case "com.amazonaws.chimesdkmediapipelines#BadRequestException":
|
|
781
917
|
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
918
|
+
case "ConflictException":
|
|
919
|
+
case "com.amazonaws.chimesdkmediapipelines#ConflictException":
|
|
920
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
782
921
|
case "ForbiddenException":
|
|
783
922
|
case "com.amazonaws.chimesdkmediapipelines#ForbiddenException":
|
|
784
923
|
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
@@ -959,6 +1098,108 @@ const de_GetMediaPipelineCommandError = async (output, context) => {
|
|
|
959
1098
|
});
|
|
960
1099
|
}
|
|
961
1100
|
};
|
|
1101
|
+
export const de_GetSpeakerSearchTaskCommand = async (output, context) => {
|
|
1102
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1103
|
+
return de_GetSpeakerSearchTaskCommandError(output, context);
|
|
1104
|
+
}
|
|
1105
|
+
const contents = map({
|
|
1106
|
+
$metadata: deserializeMetadata(output),
|
|
1107
|
+
});
|
|
1108
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1109
|
+
const doc = take(data, {
|
|
1110
|
+
SpeakerSearchTask: (_) => de_SpeakerSearchTask(_, context),
|
|
1111
|
+
});
|
|
1112
|
+
Object.assign(contents, doc);
|
|
1113
|
+
return contents;
|
|
1114
|
+
};
|
|
1115
|
+
const de_GetSpeakerSearchTaskCommandError = async (output, context) => {
|
|
1116
|
+
const parsedOutput = {
|
|
1117
|
+
...output,
|
|
1118
|
+
body: await parseErrorBody(output.body, context),
|
|
1119
|
+
};
|
|
1120
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1121
|
+
switch (errorCode) {
|
|
1122
|
+
case "BadRequestException":
|
|
1123
|
+
case "com.amazonaws.chimesdkmediapipelines#BadRequestException":
|
|
1124
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1125
|
+
case "ForbiddenException":
|
|
1126
|
+
case "com.amazonaws.chimesdkmediapipelines#ForbiddenException":
|
|
1127
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
1128
|
+
case "NotFoundException":
|
|
1129
|
+
case "com.amazonaws.chimesdkmediapipelines#NotFoundException":
|
|
1130
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1131
|
+
case "ServiceFailureException":
|
|
1132
|
+
case "com.amazonaws.chimesdkmediapipelines#ServiceFailureException":
|
|
1133
|
+
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
1134
|
+
case "ServiceUnavailableException":
|
|
1135
|
+
case "com.amazonaws.chimesdkmediapipelines#ServiceUnavailableException":
|
|
1136
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1137
|
+
case "ThrottledClientException":
|
|
1138
|
+
case "com.amazonaws.chimesdkmediapipelines#ThrottledClientException":
|
|
1139
|
+
throw await de_ThrottledClientExceptionRes(parsedOutput, context);
|
|
1140
|
+
case "UnauthorizedClientException":
|
|
1141
|
+
case "com.amazonaws.chimesdkmediapipelines#UnauthorizedClientException":
|
|
1142
|
+
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
|
1143
|
+
default:
|
|
1144
|
+
const parsedBody = parsedOutput.body;
|
|
1145
|
+
return throwDefaultError({
|
|
1146
|
+
output,
|
|
1147
|
+
parsedBody,
|
|
1148
|
+
errorCode,
|
|
1149
|
+
});
|
|
1150
|
+
}
|
|
1151
|
+
};
|
|
1152
|
+
export const de_GetVoiceToneAnalysisTaskCommand = async (output, context) => {
|
|
1153
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1154
|
+
return de_GetVoiceToneAnalysisTaskCommandError(output, context);
|
|
1155
|
+
}
|
|
1156
|
+
const contents = map({
|
|
1157
|
+
$metadata: deserializeMetadata(output),
|
|
1158
|
+
});
|
|
1159
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1160
|
+
const doc = take(data, {
|
|
1161
|
+
VoiceToneAnalysisTask: (_) => de_VoiceToneAnalysisTask(_, context),
|
|
1162
|
+
});
|
|
1163
|
+
Object.assign(contents, doc);
|
|
1164
|
+
return contents;
|
|
1165
|
+
};
|
|
1166
|
+
const de_GetVoiceToneAnalysisTaskCommandError = async (output, context) => {
|
|
1167
|
+
const parsedOutput = {
|
|
1168
|
+
...output,
|
|
1169
|
+
body: await parseErrorBody(output.body, context),
|
|
1170
|
+
};
|
|
1171
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1172
|
+
switch (errorCode) {
|
|
1173
|
+
case "BadRequestException":
|
|
1174
|
+
case "com.amazonaws.chimesdkmediapipelines#BadRequestException":
|
|
1175
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1176
|
+
case "ForbiddenException":
|
|
1177
|
+
case "com.amazonaws.chimesdkmediapipelines#ForbiddenException":
|
|
1178
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
1179
|
+
case "NotFoundException":
|
|
1180
|
+
case "com.amazonaws.chimesdkmediapipelines#NotFoundException":
|
|
1181
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1182
|
+
case "ServiceFailureException":
|
|
1183
|
+
case "com.amazonaws.chimesdkmediapipelines#ServiceFailureException":
|
|
1184
|
+
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
1185
|
+
case "ServiceUnavailableException":
|
|
1186
|
+
case "com.amazonaws.chimesdkmediapipelines#ServiceUnavailableException":
|
|
1187
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1188
|
+
case "ThrottledClientException":
|
|
1189
|
+
case "com.amazonaws.chimesdkmediapipelines#ThrottledClientException":
|
|
1190
|
+
throw await de_ThrottledClientExceptionRes(parsedOutput, context);
|
|
1191
|
+
case "UnauthorizedClientException":
|
|
1192
|
+
case "com.amazonaws.chimesdkmediapipelines#UnauthorizedClientException":
|
|
1193
|
+
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
|
1194
|
+
default:
|
|
1195
|
+
const parsedBody = parsedOutput.body;
|
|
1196
|
+
return throwDefaultError({
|
|
1197
|
+
output,
|
|
1198
|
+
parsedBody,
|
|
1199
|
+
errorCode,
|
|
1200
|
+
});
|
|
1201
|
+
}
|
|
1202
|
+
};
|
|
962
1203
|
export const de_ListMediaCapturePipelinesCommand = async (output, context) => {
|
|
963
1204
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
964
1205
|
return de_ListMediaCapturePipelinesCommandError(output, context);
|
|
@@ -1166,6 +1407,214 @@ const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
|
1166
1407
|
});
|
|
1167
1408
|
}
|
|
1168
1409
|
};
|
|
1410
|
+
export const de_StartSpeakerSearchTaskCommand = async (output, context) => {
|
|
1411
|
+
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
1412
|
+
return de_StartSpeakerSearchTaskCommandError(output, context);
|
|
1413
|
+
}
|
|
1414
|
+
const contents = map({
|
|
1415
|
+
$metadata: deserializeMetadata(output),
|
|
1416
|
+
});
|
|
1417
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1418
|
+
const doc = take(data, {
|
|
1419
|
+
SpeakerSearchTask: (_) => de_SpeakerSearchTask(_, context),
|
|
1420
|
+
});
|
|
1421
|
+
Object.assign(contents, doc);
|
|
1422
|
+
return contents;
|
|
1423
|
+
};
|
|
1424
|
+
const de_StartSpeakerSearchTaskCommandError = async (output, context) => {
|
|
1425
|
+
const parsedOutput = {
|
|
1426
|
+
...output,
|
|
1427
|
+
body: await parseErrorBody(output.body, context),
|
|
1428
|
+
};
|
|
1429
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1430
|
+
switch (errorCode) {
|
|
1431
|
+
case "BadRequestException":
|
|
1432
|
+
case "com.amazonaws.chimesdkmediapipelines#BadRequestException":
|
|
1433
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1434
|
+
case "ConflictException":
|
|
1435
|
+
case "com.amazonaws.chimesdkmediapipelines#ConflictException":
|
|
1436
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1437
|
+
case "ForbiddenException":
|
|
1438
|
+
case "com.amazonaws.chimesdkmediapipelines#ForbiddenException":
|
|
1439
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
1440
|
+
case "NotFoundException":
|
|
1441
|
+
case "com.amazonaws.chimesdkmediapipelines#NotFoundException":
|
|
1442
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1443
|
+
case "ServiceFailureException":
|
|
1444
|
+
case "com.amazonaws.chimesdkmediapipelines#ServiceFailureException":
|
|
1445
|
+
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
1446
|
+
case "ServiceUnavailableException":
|
|
1447
|
+
case "com.amazonaws.chimesdkmediapipelines#ServiceUnavailableException":
|
|
1448
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1449
|
+
case "ThrottledClientException":
|
|
1450
|
+
case "com.amazonaws.chimesdkmediapipelines#ThrottledClientException":
|
|
1451
|
+
throw await de_ThrottledClientExceptionRes(parsedOutput, context);
|
|
1452
|
+
case "UnauthorizedClientException":
|
|
1453
|
+
case "com.amazonaws.chimesdkmediapipelines#UnauthorizedClientException":
|
|
1454
|
+
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
|
1455
|
+
default:
|
|
1456
|
+
const parsedBody = parsedOutput.body;
|
|
1457
|
+
return throwDefaultError({
|
|
1458
|
+
output,
|
|
1459
|
+
parsedBody,
|
|
1460
|
+
errorCode,
|
|
1461
|
+
});
|
|
1462
|
+
}
|
|
1463
|
+
};
|
|
1464
|
+
export const de_StartVoiceToneAnalysisTaskCommand = async (output, context) => {
|
|
1465
|
+
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
1466
|
+
return de_StartVoiceToneAnalysisTaskCommandError(output, context);
|
|
1467
|
+
}
|
|
1468
|
+
const contents = map({
|
|
1469
|
+
$metadata: deserializeMetadata(output),
|
|
1470
|
+
});
|
|
1471
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1472
|
+
const doc = take(data, {
|
|
1473
|
+
VoiceToneAnalysisTask: (_) => de_VoiceToneAnalysisTask(_, context),
|
|
1474
|
+
});
|
|
1475
|
+
Object.assign(contents, doc);
|
|
1476
|
+
return contents;
|
|
1477
|
+
};
|
|
1478
|
+
const de_StartVoiceToneAnalysisTaskCommandError = async (output, context) => {
|
|
1479
|
+
const parsedOutput = {
|
|
1480
|
+
...output,
|
|
1481
|
+
body: await parseErrorBody(output.body, context),
|
|
1482
|
+
};
|
|
1483
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1484
|
+
switch (errorCode) {
|
|
1485
|
+
case "BadRequestException":
|
|
1486
|
+
case "com.amazonaws.chimesdkmediapipelines#BadRequestException":
|
|
1487
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1488
|
+
case "ConflictException":
|
|
1489
|
+
case "com.amazonaws.chimesdkmediapipelines#ConflictException":
|
|
1490
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1491
|
+
case "ForbiddenException":
|
|
1492
|
+
case "com.amazonaws.chimesdkmediapipelines#ForbiddenException":
|
|
1493
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
1494
|
+
case "NotFoundException":
|
|
1495
|
+
case "com.amazonaws.chimesdkmediapipelines#NotFoundException":
|
|
1496
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1497
|
+
case "ServiceFailureException":
|
|
1498
|
+
case "com.amazonaws.chimesdkmediapipelines#ServiceFailureException":
|
|
1499
|
+
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
1500
|
+
case "ServiceUnavailableException":
|
|
1501
|
+
case "com.amazonaws.chimesdkmediapipelines#ServiceUnavailableException":
|
|
1502
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1503
|
+
case "ThrottledClientException":
|
|
1504
|
+
case "com.amazonaws.chimesdkmediapipelines#ThrottledClientException":
|
|
1505
|
+
throw await de_ThrottledClientExceptionRes(parsedOutput, context);
|
|
1506
|
+
case "UnauthorizedClientException":
|
|
1507
|
+
case "com.amazonaws.chimesdkmediapipelines#UnauthorizedClientException":
|
|
1508
|
+
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
|
1509
|
+
default:
|
|
1510
|
+
const parsedBody = parsedOutput.body;
|
|
1511
|
+
return throwDefaultError({
|
|
1512
|
+
output,
|
|
1513
|
+
parsedBody,
|
|
1514
|
+
errorCode,
|
|
1515
|
+
});
|
|
1516
|
+
}
|
|
1517
|
+
};
|
|
1518
|
+
export const de_StopSpeakerSearchTaskCommand = async (output, context) => {
|
|
1519
|
+
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1520
|
+
return de_StopSpeakerSearchTaskCommandError(output, context);
|
|
1521
|
+
}
|
|
1522
|
+
const contents = map({
|
|
1523
|
+
$metadata: deserializeMetadata(output),
|
|
1524
|
+
});
|
|
1525
|
+
await collectBody(output.body, context);
|
|
1526
|
+
return contents;
|
|
1527
|
+
};
|
|
1528
|
+
const de_StopSpeakerSearchTaskCommandError = async (output, context) => {
|
|
1529
|
+
const parsedOutput = {
|
|
1530
|
+
...output,
|
|
1531
|
+
body: await parseErrorBody(output.body, context),
|
|
1532
|
+
};
|
|
1533
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1534
|
+
switch (errorCode) {
|
|
1535
|
+
case "BadRequestException":
|
|
1536
|
+
case "com.amazonaws.chimesdkmediapipelines#BadRequestException":
|
|
1537
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1538
|
+
case "ConflictException":
|
|
1539
|
+
case "com.amazonaws.chimesdkmediapipelines#ConflictException":
|
|
1540
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1541
|
+
case "ForbiddenException":
|
|
1542
|
+
case "com.amazonaws.chimesdkmediapipelines#ForbiddenException":
|
|
1543
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
1544
|
+
case "NotFoundException":
|
|
1545
|
+
case "com.amazonaws.chimesdkmediapipelines#NotFoundException":
|
|
1546
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1547
|
+
case "ServiceFailureException":
|
|
1548
|
+
case "com.amazonaws.chimesdkmediapipelines#ServiceFailureException":
|
|
1549
|
+
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
1550
|
+
case "ServiceUnavailableException":
|
|
1551
|
+
case "com.amazonaws.chimesdkmediapipelines#ServiceUnavailableException":
|
|
1552
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1553
|
+
case "ThrottledClientException":
|
|
1554
|
+
case "com.amazonaws.chimesdkmediapipelines#ThrottledClientException":
|
|
1555
|
+
throw await de_ThrottledClientExceptionRes(parsedOutput, context);
|
|
1556
|
+
case "UnauthorizedClientException":
|
|
1557
|
+
case "com.amazonaws.chimesdkmediapipelines#UnauthorizedClientException":
|
|
1558
|
+
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
|
1559
|
+
default:
|
|
1560
|
+
const parsedBody = parsedOutput.body;
|
|
1561
|
+
return throwDefaultError({
|
|
1562
|
+
output,
|
|
1563
|
+
parsedBody,
|
|
1564
|
+
errorCode,
|
|
1565
|
+
});
|
|
1566
|
+
}
|
|
1567
|
+
};
|
|
1568
|
+
export const de_StopVoiceToneAnalysisTaskCommand = async (output, context) => {
|
|
1569
|
+
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1570
|
+
return de_StopVoiceToneAnalysisTaskCommandError(output, context);
|
|
1571
|
+
}
|
|
1572
|
+
const contents = map({
|
|
1573
|
+
$metadata: deserializeMetadata(output),
|
|
1574
|
+
});
|
|
1575
|
+
await collectBody(output.body, context);
|
|
1576
|
+
return contents;
|
|
1577
|
+
};
|
|
1578
|
+
const de_StopVoiceToneAnalysisTaskCommandError = async (output, context) => {
|
|
1579
|
+
const parsedOutput = {
|
|
1580
|
+
...output,
|
|
1581
|
+
body: await parseErrorBody(output.body, context),
|
|
1582
|
+
};
|
|
1583
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1584
|
+
switch (errorCode) {
|
|
1585
|
+
case "BadRequestException":
|
|
1586
|
+
case "com.amazonaws.chimesdkmediapipelines#BadRequestException":
|
|
1587
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1588
|
+
case "ConflictException":
|
|
1589
|
+
case "com.amazonaws.chimesdkmediapipelines#ConflictException":
|
|
1590
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1591
|
+
case "ForbiddenException":
|
|
1592
|
+
case "com.amazonaws.chimesdkmediapipelines#ForbiddenException":
|
|
1593
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
1594
|
+
case "NotFoundException":
|
|
1595
|
+
case "com.amazonaws.chimesdkmediapipelines#NotFoundException":
|
|
1596
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1597
|
+
case "ServiceFailureException":
|
|
1598
|
+
case "com.amazonaws.chimesdkmediapipelines#ServiceFailureException":
|
|
1599
|
+
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
1600
|
+
case "ServiceUnavailableException":
|
|
1601
|
+
case "com.amazonaws.chimesdkmediapipelines#ServiceUnavailableException":
|
|
1602
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1603
|
+
case "ThrottledClientException":
|
|
1604
|
+
case "com.amazonaws.chimesdkmediapipelines#ThrottledClientException":
|
|
1605
|
+
throw await de_ThrottledClientExceptionRes(parsedOutput, context);
|
|
1606
|
+
case "UnauthorizedClientException":
|
|
1607
|
+
case "com.amazonaws.chimesdkmediapipelines#UnauthorizedClientException":
|
|
1608
|
+
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
|
1609
|
+
default:
|
|
1610
|
+
const parsedBody = parsedOutput.body;
|
|
1611
|
+
return throwDefaultError({
|
|
1612
|
+
output,
|
|
1613
|
+
parsedBody,
|
|
1614
|
+
errorCode,
|
|
1615
|
+
});
|
|
1616
|
+
}
|
|
1617
|
+
};
|
|
1169
1618
|
export const de_TagResourceCommand = async (output, context) => {
|
|
1170
1619
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1171
1620
|
return de_TagResourceCommandError(output, context);
|
|
@@ -1600,12 +2049,28 @@ const de_MediaPipeline = (output, context) => {
|
|
|
1600
2049
|
MediaLiveConnectorPipeline: (_) => de_MediaLiveConnectorPipeline(_, context),
|
|
1601
2050
|
});
|
|
1602
2051
|
};
|
|
2052
|
+
const de_SpeakerSearchTask = (output, context) => {
|
|
2053
|
+
return take(output, {
|
|
2054
|
+
CreatedTimestamp: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
2055
|
+
SpeakerSearchTaskId: __expectString,
|
|
2056
|
+
SpeakerSearchTaskStatus: __expectString,
|
|
2057
|
+
UpdatedTimestamp: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
2058
|
+
});
|
|
2059
|
+
};
|
|
1603
2060
|
const de_TimestampRange = (output, context) => {
|
|
1604
2061
|
return take(output, {
|
|
1605
2062
|
EndTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1606
2063
|
StartTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1607
2064
|
});
|
|
1608
2065
|
};
|
|
2066
|
+
const de_VoiceToneAnalysisTask = (output, context) => {
|
|
2067
|
+
return take(output, {
|
|
2068
|
+
CreatedTimestamp: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
2069
|
+
UpdatedTimestamp: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
2070
|
+
VoiceToneAnalysisTaskId: __expectString,
|
|
2071
|
+
VoiceToneAnalysisTaskStatus: __expectString,
|
|
2072
|
+
});
|
|
2073
|
+
};
|
|
1609
2074
|
const deserializeMetadata = (output) => ({
|
|
1610
2075
|
httpStatusCode: output.statusCode,
|
|
1611
2076
|
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
@@ -11,10 +11,16 @@ import { DeleteMediaPipelineCommandInput, DeleteMediaPipelineCommandOutput } fro
|
|
|
11
11
|
import { GetMediaCapturePipelineCommandInput, GetMediaCapturePipelineCommandOutput } from "./commands/GetMediaCapturePipelineCommand";
|
|
12
12
|
import { GetMediaInsightsPipelineConfigurationCommandInput, GetMediaInsightsPipelineConfigurationCommandOutput } from "./commands/GetMediaInsightsPipelineConfigurationCommand";
|
|
13
13
|
import { GetMediaPipelineCommandInput, GetMediaPipelineCommandOutput } from "./commands/GetMediaPipelineCommand";
|
|
14
|
+
import { GetSpeakerSearchTaskCommandInput, GetSpeakerSearchTaskCommandOutput } from "./commands/GetSpeakerSearchTaskCommand";
|
|
15
|
+
import { GetVoiceToneAnalysisTaskCommandInput, GetVoiceToneAnalysisTaskCommandOutput } from "./commands/GetVoiceToneAnalysisTaskCommand";
|
|
14
16
|
import { ListMediaCapturePipelinesCommandInput, ListMediaCapturePipelinesCommandOutput } from "./commands/ListMediaCapturePipelinesCommand";
|
|
15
17
|
import { ListMediaInsightsPipelineConfigurationsCommandInput, ListMediaInsightsPipelineConfigurationsCommandOutput } from "./commands/ListMediaInsightsPipelineConfigurationsCommand";
|
|
16
18
|
import { ListMediaPipelinesCommandInput, ListMediaPipelinesCommandOutput } from "./commands/ListMediaPipelinesCommand";
|
|
17
19
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
20
|
+
import { StartSpeakerSearchTaskCommandInput, StartSpeakerSearchTaskCommandOutput } from "./commands/StartSpeakerSearchTaskCommand";
|
|
21
|
+
import { StartVoiceToneAnalysisTaskCommandInput, StartVoiceToneAnalysisTaskCommandOutput } from "./commands/StartVoiceToneAnalysisTaskCommand";
|
|
22
|
+
import { StopSpeakerSearchTaskCommandInput, StopSpeakerSearchTaskCommandOutput } from "./commands/StopSpeakerSearchTaskCommand";
|
|
23
|
+
import { StopVoiceToneAnalysisTaskCommandInput, StopVoiceToneAnalysisTaskCommandOutput } from "./commands/StopVoiceToneAnalysisTaskCommand";
|
|
18
24
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
19
25
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
20
26
|
import { UpdateMediaInsightsPipelineConfigurationCommandInput, UpdateMediaInsightsPipelineConfigurationCommandOutput } from "./commands/UpdateMediaInsightsPipelineConfigurationCommand";
|
|
@@ -86,6 +92,18 @@ export interface ChimeSDKMediaPipelines {
|
|
|
86
92
|
getMediaPipeline(args: GetMediaPipelineCommandInput, options?: __HttpHandlerOptions): Promise<GetMediaPipelineCommandOutput>;
|
|
87
93
|
getMediaPipeline(args: GetMediaPipelineCommandInput, cb: (err: any, data?: GetMediaPipelineCommandOutput) => void): void;
|
|
88
94
|
getMediaPipeline(args: GetMediaPipelineCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetMediaPipelineCommandOutput) => void): void;
|
|
95
|
+
/**
|
|
96
|
+
* @see {@link GetSpeakerSearchTaskCommand}
|
|
97
|
+
*/
|
|
98
|
+
getSpeakerSearchTask(args: GetSpeakerSearchTaskCommandInput, options?: __HttpHandlerOptions): Promise<GetSpeakerSearchTaskCommandOutput>;
|
|
99
|
+
getSpeakerSearchTask(args: GetSpeakerSearchTaskCommandInput, cb: (err: any, data?: GetSpeakerSearchTaskCommandOutput) => void): void;
|
|
100
|
+
getSpeakerSearchTask(args: GetSpeakerSearchTaskCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetSpeakerSearchTaskCommandOutput) => void): void;
|
|
101
|
+
/**
|
|
102
|
+
* @see {@link GetVoiceToneAnalysisTaskCommand}
|
|
103
|
+
*/
|
|
104
|
+
getVoiceToneAnalysisTask(args: GetVoiceToneAnalysisTaskCommandInput, options?: __HttpHandlerOptions): Promise<GetVoiceToneAnalysisTaskCommandOutput>;
|
|
105
|
+
getVoiceToneAnalysisTask(args: GetVoiceToneAnalysisTaskCommandInput, cb: (err: any, data?: GetVoiceToneAnalysisTaskCommandOutput) => void): void;
|
|
106
|
+
getVoiceToneAnalysisTask(args: GetVoiceToneAnalysisTaskCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetVoiceToneAnalysisTaskCommandOutput) => void): void;
|
|
89
107
|
/**
|
|
90
108
|
* @see {@link ListMediaCapturePipelinesCommand}
|
|
91
109
|
*/
|
|
@@ -110,6 +128,30 @@ export interface ChimeSDKMediaPipelines {
|
|
|
110
128
|
listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
111
129
|
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
112
130
|
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
131
|
+
/**
|
|
132
|
+
* @see {@link StartSpeakerSearchTaskCommand}
|
|
133
|
+
*/
|
|
134
|
+
startSpeakerSearchTask(args: StartSpeakerSearchTaskCommandInput, options?: __HttpHandlerOptions): Promise<StartSpeakerSearchTaskCommandOutput>;
|
|
135
|
+
startSpeakerSearchTask(args: StartSpeakerSearchTaskCommandInput, cb: (err: any, data?: StartSpeakerSearchTaskCommandOutput) => void): void;
|
|
136
|
+
startSpeakerSearchTask(args: StartSpeakerSearchTaskCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartSpeakerSearchTaskCommandOutput) => void): void;
|
|
137
|
+
/**
|
|
138
|
+
* @see {@link StartVoiceToneAnalysisTaskCommand}
|
|
139
|
+
*/
|
|
140
|
+
startVoiceToneAnalysisTask(args: StartVoiceToneAnalysisTaskCommandInput, options?: __HttpHandlerOptions): Promise<StartVoiceToneAnalysisTaskCommandOutput>;
|
|
141
|
+
startVoiceToneAnalysisTask(args: StartVoiceToneAnalysisTaskCommandInput, cb: (err: any, data?: StartVoiceToneAnalysisTaskCommandOutput) => void): void;
|
|
142
|
+
startVoiceToneAnalysisTask(args: StartVoiceToneAnalysisTaskCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartVoiceToneAnalysisTaskCommandOutput) => void): void;
|
|
143
|
+
/**
|
|
144
|
+
* @see {@link StopSpeakerSearchTaskCommand}
|
|
145
|
+
*/
|
|
146
|
+
stopSpeakerSearchTask(args: StopSpeakerSearchTaskCommandInput, options?: __HttpHandlerOptions): Promise<StopSpeakerSearchTaskCommandOutput>;
|
|
147
|
+
stopSpeakerSearchTask(args: StopSpeakerSearchTaskCommandInput, cb: (err: any, data?: StopSpeakerSearchTaskCommandOutput) => void): void;
|
|
148
|
+
stopSpeakerSearchTask(args: StopSpeakerSearchTaskCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopSpeakerSearchTaskCommandOutput) => void): void;
|
|
149
|
+
/**
|
|
150
|
+
* @see {@link StopVoiceToneAnalysisTaskCommand}
|
|
151
|
+
*/
|
|
152
|
+
stopVoiceToneAnalysisTask(args: StopVoiceToneAnalysisTaskCommandInput, options?: __HttpHandlerOptions): Promise<StopVoiceToneAnalysisTaskCommandOutput>;
|
|
153
|
+
stopVoiceToneAnalysisTask(args: StopVoiceToneAnalysisTaskCommandInput, cb: (err: any, data?: StopVoiceToneAnalysisTaskCommandOutput) => void): void;
|
|
154
|
+
stopVoiceToneAnalysisTask(args: StopVoiceToneAnalysisTaskCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopVoiceToneAnalysisTaskCommandOutput) => void): void;
|
|
113
155
|
/**
|
|
114
156
|
* @see {@link TagResourceCommand}
|
|
115
157
|
*/
|
|
@@ -19,10 +19,16 @@ import { DeleteMediaPipelineCommandInput, DeleteMediaPipelineCommandOutput } fro
|
|
|
19
19
|
import { GetMediaCapturePipelineCommandInput, GetMediaCapturePipelineCommandOutput } from "./commands/GetMediaCapturePipelineCommand";
|
|
20
20
|
import { GetMediaInsightsPipelineConfigurationCommandInput, GetMediaInsightsPipelineConfigurationCommandOutput } from "./commands/GetMediaInsightsPipelineConfigurationCommand";
|
|
21
21
|
import { GetMediaPipelineCommandInput, GetMediaPipelineCommandOutput } from "./commands/GetMediaPipelineCommand";
|
|
22
|
+
import { GetSpeakerSearchTaskCommandInput, GetSpeakerSearchTaskCommandOutput } from "./commands/GetSpeakerSearchTaskCommand";
|
|
23
|
+
import { GetVoiceToneAnalysisTaskCommandInput, GetVoiceToneAnalysisTaskCommandOutput } from "./commands/GetVoiceToneAnalysisTaskCommand";
|
|
22
24
|
import { ListMediaCapturePipelinesCommandInput, ListMediaCapturePipelinesCommandOutput } from "./commands/ListMediaCapturePipelinesCommand";
|
|
23
25
|
import { ListMediaInsightsPipelineConfigurationsCommandInput, ListMediaInsightsPipelineConfigurationsCommandOutput } from "./commands/ListMediaInsightsPipelineConfigurationsCommand";
|
|
24
26
|
import { ListMediaPipelinesCommandInput, ListMediaPipelinesCommandOutput } from "./commands/ListMediaPipelinesCommand";
|
|
25
27
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
28
|
+
import { StartSpeakerSearchTaskCommandInput, StartSpeakerSearchTaskCommandOutput } from "./commands/StartSpeakerSearchTaskCommand";
|
|
29
|
+
import { StartVoiceToneAnalysisTaskCommandInput, StartVoiceToneAnalysisTaskCommandOutput } from "./commands/StartVoiceToneAnalysisTaskCommand";
|
|
30
|
+
import { StopSpeakerSearchTaskCommandInput, StopSpeakerSearchTaskCommandOutput } from "./commands/StopSpeakerSearchTaskCommand";
|
|
31
|
+
import { StopVoiceToneAnalysisTaskCommandInput, StopVoiceToneAnalysisTaskCommandOutput } from "./commands/StopVoiceToneAnalysisTaskCommand";
|
|
26
32
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
27
33
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
28
34
|
import { UpdateMediaInsightsPipelineConfigurationCommandInput, UpdateMediaInsightsPipelineConfigurationCommandOutput } from "./commands/UpdateMediaInsightsPipelineConfigurationCommand";
|
|
@@ -33,11 +39,11 @@ export { __Client };
|
|
|
33
39
|
/**
|
|
34
40
|
* @public
|
|
35
41
|
*/
|
|
36
|
-
export type ServiceInputTypes = CreateMediaCapturePipelineCommandInput | CreateMediaConcatenationPipelineCommandInput | CreateMediaInsightsPipelineCommandInput | CreateMediaInsightsPipelineConfigurationCommandInput | CreateMediaLiveConnectorPipelineCommandInput | DeleteMediaCapturePipelineCommandInput | DeleteMediaInsightsPipelineConfigurationCommandInput | DeleteMediaPipelineCommandInput | GetMediaCapturePipelineCommandInput | GetMediaInsightsPipelineConfigurationCommandInput | GetMediaPipelineCommandInput | ListMediaCapturePipelinesCommandInput | ListMediaInsightsPipelineConfigurationsCommandInput | ListMediaPipelinesCommandInput | ListTagsForResourceCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateMediaInsightsPipelineConfigurationCommandInput | UpdateMediaInsightsPipelineStatusCommandInput;
|
|
42
|
+
export type ServiceInputTypes = CreateMediaCapturePipelineCommandInput | CreateMediaConcatenationPipelineCommandInput | CreateMediaInsightsPipelineCommandInput | CreateMediaInsightsPipelineConfigurationCommandInput | CreateMediaLiveConnectorPipelineCommandInput | DeleteMediaCapturePipelineCommandInput | DeleteMediaInsightsPipelineConfigurationCommandInput | DeleteMediaPipelineCommandInput | GetMediaCapturePipelineCommandInput | GetMediaInsightsPipelineConfigurationCommandInput | GetMediaPipelineCommandInput | GetSpeakerSearchTaskCommandInput | GetVoiceToneAnalysisTaskCommandInput | ListMediaCapturePipelinesCommandInput | ListMediaInsightsPipelineConfigurationsCommandInput | ListMediaPipelinesCommandInput | ListTagsForResourceCommandInput | StartSpeakerSearchTaskCommandInput | StartVoiceToneAnalysisTaskCommandInput | StopSpeakerSearchTaskCommandInput | StopVoiceToneAnalysisTaskCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateMediaInsightsPipelineConfigurationCommandInput | UpdateMediaInsightsPipelineStatusCommandInput;
|
|
37
43
|
/**
|
|
38
44
|
* @public
|
|
39
45
|
*/
|
|
40
|
-
export type ServiceOutputTypes = CreateMediaCapturePipelineCommandOutput | CreateMediaConcatenationPipelineCommandOutput | CreateMediaInsightsPipelineCommandOutput | CreateMediaInsightsPipelineConfigurationCommandOutput | CreateMediaLiveConnectorPipelineCommandOutput | DeleteMediaCapturePipelineCommandOutput | DeleteMediaInsightsPipelineConfigurationCommandOutput | DeleteMediaPipelineCommandOutput | GetMediaCapturePipelineCommandOutput | GetMediaInsightsPipelineConfigurationCommandOutput | GetMediaPipelineCommandOutput | ListMediaCapturePipelinesCommandOutput | ListMediaInsightsPipelineConfigurationsCommandOutput | ListMediaPipelinesCommandOutput | ListTagsForResourceCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateMediaInsightsPipelineConfigurationCommandOutput | UpdateMediaInsightsPipelineStatusCommandOutput;
|
|
46
|
+
export type ServiceOutputTypes = CreateMediaCapturePipelineCommandOutput | CreateMediaConcatenationPipelineCommandOutput | CreateMediaInsightsPipelineCommandOutput | CreateMediaInsightsPipelineConfigurationCommandOutput | CreateMediaLiveConnectorPipelineCommandOutput | DeleteMediaCapturePipelineCommandOutput | DeleteMediaInsightsPipelineConfigurationCommandOutput | DeleteMediaPipelineCommandOutput | GetMediaCapturePipelineCommandOutput | GetMediaInsightsPipelineConfigurationCommandOutput | GetMediaPipelineCommandOutput | GetSpeakerSearchTaskCommandOutput | GetVoiceToneAnalysisTaskCommandOutput | ListMediaCapturePipelinesCommandOutput | ListMediaInsightsPipelineConfigurationsCommandOutput | ListMediaPipelinesCommandOutput | ListTagsForResourceCommandOutput | StartSpeakerSearchTaskCommandOutput | StartVoiceToneAnalysisTaskCommandOutput | StopSpeakerSearchTaskCommandOutput | StopVoiceToneAnalysisTaskCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateMediaInsightsPipelineConfigurationCommandOutput | UpdateMediaInsightsPipelineStatusCommandOutput;
|
|
41
47
|
/**
|
|
42
48
|
* @public
|
|
43
49
|
*/
|
|
@@ -48,6 +48,10 @@ export interface DeleteMediaPipelineCommandOutput extends __MetadataBearer {
|
|
|
48
48
|
* @throws {@link BadRequestException} (client fault)
|
|
49
49
|
* <p>The input parameters don't match the service's restrictions.</p>
|
|
50
50
|
*
|
|
51
|
+
* @throws {@link ConflictException} (client fault)
|
|
52
|
+
* <p>The request could not be processed because of conflict in the current state of the
|
|
53
|
+
* resource.</p>
|
|
54
|
+
*
|
|
51
55
|
* @throws {@link ForbiddenException} (client fault)
|
|
52
56
|
* <p>The client is permanently forbidden from making the request.</p>
|
|
53
57
|
*
|