@aws-sdk/client-transcribe 3.458.0 → 3.460.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 +32 -0
- package/dist-cjs/Transcribe.js +8 -0
- package/dist-cjs/commands/DeleteMedicalScribeJobCommand.js +51 -0
- package/dist-cjs/commands/GetMedicalScribeJobCommand.js +51 -0
- package/dist-cjs/commands/ListMedicalScribeJobsCommand.js +51 -0
- package/dist-cjs/commands/StartMedicalScribeJobCommand.js +51 -0
- package/dist-cjs/commands/index.js +4 -0
- package/dist-cjs/models/models_0.js +14 -1
- package/dist-cjs/pagination/ListMedicalScribeJobsPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_json1_1.js +242 -2
- package/dist-es/Transcribe.js +8 -0
- package/dist-es/commands/DeleteMedicalScribeJobCommand.js +47 -0
- package/dist-es/commands/GetMedicalScribeJobCommand.js +47 -0
- package/dist-es/commands/ListMedicalScribeJobsCommand.js +47 -0
- package/dist-es/commands/StartMedicalScribeJobCommand.js +47 -0
- package/dist-es/commands/index.js +4 -0
- package/dist-es/models/models_0.js +13 -0
- package/dist-es/pagination/ListMedicalScribeJobsPaginator.js +25 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_json1_1.js +232 -0
- package/dist-types/Transcribe.d.ts +28 -0
- package/dist-types/TranscribeClient.d.ts +6 -2
- package/dist-types/commands/DeleteMedicalScribeJobCommand.d.ts +87 -0
- package/dist-types/commands/GetMedicalScribeJobCommand.d.ts +135 -0
- package/dist-types/commands/ListMedicalScribeJobsCommand.d.ts +104 -0
- package/dist-types/commands/StartMedicalScribeJobCommand.d.ts +203 -0
- package/dist-types/commands/StartMedicalTranscriptionJobCommand.d.ts +1 -1
- package/dist-types/commands/StartTranscriptionJobCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/models/models_0.d.ts +623 -77
- package/dist-types/pagination/ListMedicalScribeJobsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +36 -0
- package/dist-types/ts3.4/Transcribe.d.ts +68 -0
- package/dist-types/ts3.4/TranscribeClient.d.ts +24 -0
- package/dist-types/ts3.4/commands/DeleteMedicalScribeJobCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/GetMedicalScribeJobCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListMedicalScribeJobsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/StartMedicalScribeJobCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +93 -0
- package/dist-types/ts3.4/pagination/ListMedicalScribeJobsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +48 -0
- package/package.json +12 -12
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.de_UpdateVocabularyFilterCommand = exports.de_UpdateVocabularyCommand = exports.de_UpdateMedicalVocabularyCommand = exports.de_UpdateCallAnalyticsCategoryCommand = exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_StartTranscriptionJobCommand = exports.de_StartMedicalTranscriptionJobCommand = exports.de_StartCallAnalyticsJobCommand = exports.de_ListVocabularyFiltersCommand = exports.de_ListVocabulariesCommand = exports.de_ListTranscriptionJobsCommand = exports.de_ListTagsForResourceCommand = exports.de_ListMedicalVocabulariesCommand = exports.de_ListMedicalTranscriptionJobsCommand = exports.de_ListLanguageModelsCommand = exports.de_ListCallAnalyticsJobsCommand = exports.de_ListCallAnalyticsCategoriesCommand = exports.de_GetVocabularyFilterCommand = exports.de_GetVocabularyCommand = exports.de_GetTranscriptionJobCommand = exports.de_GetMedicalVocabularyCommand = exports.de_GetMedicalTranscriptionJobCommand = exports.de_GetCallAnalyticsJobCommand = exports.de_GetCallAnalyticsCategoryCommand = exports.de_DescribeLanguageModelCommand = exports.de_DeleteVocabularyFilterCommand = exports.de_DeleteVocabularyCommand = void 0;
|
|
3
|
+
exports.de_DeleteCallAnalyticsJobCommand = exports.de_DeleteCallAnalyticsCategoryCommand = exports.de_CreateVocabularyFilterCommand = exports.de_CreateVocabularyCommand = exports.de_CreateMedicalVocabularyCommand = exports.de_CreateLanguageModelCommand = exports.de_CreateCallAnalyticsCategoryCommand = exports.se_UpdateVocabularyFilterCommand = exports.se_UpdateVocabularyCommand = exports.se_UpdateMedicalVocabularyCommand = exports.se_UpdateCallAnalyticsCategoryCommand = exports.se_UntagResourceCommand = exports.se_TagResourceCommand = exports.se_StartTranscriptionJobCommand = exports.se_StartMedicalTranscriptionJobCommand = exports.se_StartMedicalScribeJobCommand = exports.se_StartCallAnalyticsJobCommand = exports.se_ListVocabularyFiltersCommand = exports.se_ListVocabulariesCommand = exports.se_ListTranscriptionJobsCommand = exports.se_ListTagsForResourceCommand = exports.se_ListMedicalVocabulariesCommand = exports.se_ListMedicalTranscriptionJobsCommand = exports.se_ListMedicalScribeJobsCommand = exports.se_ListLanguageModelsCommand = exports.se_ListCallAnalyticsJobsCommand = exports.se_ListCallAnalyticsCategoriesCommand = exports.se_GetVocabularyFilterCommand = exports.se_GetVocabularyCommand = exports.se_GetTranscriptionJobCommand = exports.se_GetMedicalVocabularyCommand = exports.se_GetMedicalTranscriptionJobCommand = exports.se_GetMedicalScribeJobCommand = exports.se_GetCallAnalyticsJobCommand = exports.se_GetCallAnalyticsCategoryCommand = exports.se_DescribeLanguageModelCommand = exports.se_DeleteVocabularyFilterCommand = exports.se_DeleteVocabularyCommand = exports.se_DeleteTranscriptionJobCommand = exports.se_DeleteMedicalVocabularyCommand = exports.se_DeleteMedicalTranscriptionJobCommand = exports.se_DeleteMedicalScribeJobCommand = exports.se_DeleteLanguageModelCommand = exports.se_DeleteCallAnalyticsJobCommand = exports.se_DeleteCallAnalyticsCategoryCommand = exports.se_CreateVocabularyFilterCommand = exports.se_CreateVocabularyCommand = exports.se_CreateMedicalVocabularyCommand = exports.se_CreateLanguageModelCommand = exports.se_CreateCallAnalyticsCategoryCommand = void 0;
|
|
4
|
+
exports.de_UpdateVocabularyFilterCommand = exports.de_UpdateVocabularyCommand = exports.de_UpdateMedicalVocabularyCommand = exports.de_UpdateCallAnalyticsCategoryCommand = exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_StartTranscriptionJobCommand = exports.de_StartMedicalTranscriptionJobCommand = exports.de_StartMedicalScribeJobCommand = exports.de_StartCallAnalyticsJobCommand = exports.de_ListVocabularyFiltersCommand = exports.de_ListVocabulariesCommand = exports.de_ListTranscriptionJobsCommand = exports.de_ListTagsForResourceCommand = exports.de_ListMedicalVocabulariesCommand = exports.de_ListMedicalTranscriptionJobsCommand = exports.de_ListMedicalScribeJobsCommand = exports.de_ListLanguageModelsCommand = exports.de_ListCallAnalyticsJobsCommand = exports.de_ListCallAnalyticsCategoriesCommand = exports.de_GetVocabularyFilterCommand = exports.de_GetVocabularyCommand = exports.de_GetTranscriptionJobCommand = exports.de_GetMedicalVocabularyCommand = exports.de_GetMedicalTranscriptionJobCommand = exports.de_GetMedicalScribeJobCommand = exports.de_GetCallAnalyticsJobCommand = exports.de_GetCallAnalyticsCategoryCommand = exports.de_DescribeLanguageModelCommand = exports.de_DeleteVocabularyFilterCommand = exports.de_DeleteVocabularyCommand = exports.de_DeleteTranscriptionJobCommand = exports.de_DeleteMedicalVocabularyCommand = exports.de_DeleteMedicalTranscriptionJobCommand = exports.de_DeleteMedicalScribeJobCommand = exports.de_DeleteLanguageModelCommand = void 0;
|
|
5
5
|
const protocol_http_1 = require("@smithy/protocol-http");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
const models_0_1 = require("../models/models_0");
|
|
@@ -62,6 +62,13 @@ const se_DeleteLanguageModelCommand = async (input, context) => {
|
|
|
62
62
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
63
63
|
};
|
|
64
64
|
exports.se_DeleteLanguageModelCommand = se_DeleteLanguageModelCommand;
|
|
65
|
+
const se_DeleteMedicalScribeJobCommand = async (input, context) => {
|
|
66
|
+
const headers = sharedHeaders("DeleteMedicalScribeJob");
|
|
67
|
+
let body;
|
|
68
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
69
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
70
|
+
};
|
|
71
|
+
exports.se_DeleteMedicalScribeJobCommand = se_DeleteMedicalScribeJobCommand;
|
|
65
72
|
const se_DeleteMedicalTranscriptionJobCommand = async (input, context) => {
|
|
66
73
|
const headers = sharedHeaders("DeleteMedicalTranscriptionJob");
|
|
67
74
|
let body;
|
|
@@ -118,6 +125,13 @@ const se_GetCallAnalyticsJobCommand = async (input, context) => {
|
|
|
118
125
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
119
126
|
};
|
|
120
127
|
exports.se_GetCallAnalyticsJobCommand = se_GetCallAnalyticsJobCommand;
|
|
128
|
+
const se_GetMedicalScribeJobCommand = async (input, context) => {
|
|
129
|
+
const headers = sharedHeaders("GetMedicalScribeJob");
|
|
130
|
+
let body;
|
|
131
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
132
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
133
|
+
};
|
|
134
|
+
exports.se_GetMedicalScribeJobCommand = se_GetMedicalScribeJobCommand;
|
|
121
135
|
const se_GetMedicalTranscriptionJobCommand = async (input, context) => {
|
|
122
136
|
const headers = sharedHeaders("GetMedicalTranscriptionJob");
|
|
123
137
|
let body;
|
|
@@ -174,6 +188,13 @@ const se_ListLanguageModelsCommand = async (input, context) => {
|
|
|
174
188
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
175
189
|
};
|
|
176
190
|
exports.se_ListLanguageModelsCommand = se_ListLanguageModelsCommand;
|
|
191
|
+
const se_ListMedicalScribeJobsCommand = async (input, context) => {
|
|
192
|
+
const headers = sharedHeaders("ListMedicalScribeJobs");
|
|
193
|
+
let body;
|
|
194
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
195
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
196
|
+
};
|
|
197
|
+
exports.se_ListMedicalScribeJobsCommand = se_ListMedicalScribeJobsCommand;
|
|
177
198
|
const se_ListMedicalTranscriptionJobsCommand = async (input, context) => {
|
|
178
199
|
const headers = sharedHeaders("ListMedicalTranscriptionJobs");
|
|
179
200
|
let body;
|
|
@@ -223,6 +244,13 @@ const se_StartCallAnalyticsJobCommand = async (input, context) => {
|
|
|
223
244
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
224
245
|
};
|
|
225
246
|
exports.se_StartCallAnalyticsJobCommand = se_StartCallAnalyticsJobCommand;
|
|
247
|
+
const se_StartMedicalScribeJobCommand = async (input, context) => {
|
|
248
|
+
const headers = sharedHeaders("StartMedicalScribeJob");
|
|
249
|
+
let body;
|
|
250
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
251
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
252
|
+
};
|
|
253
|
+
exports.se_StartMedicalScribeJobCommand = se_StartMedicalScribeJobCommand;
|
|
226
254
|
const se_StartMedicalTranscriptionJobCommand = async (input, context) => {
|
|
227
255
|
const headers = sharedHeaders("StartMedicalTranscriptionJob");
|
|
228
256
|
let body;
|
|
@@ -606,6 +634,42 @@ const de_DeleteLanguageModelCommandError = async (output, context) => {
|
|
|
606
634
|
});
|
|
607
635
|
}
|
|
608
636
|
};
|
|
637
|
+
const de_DeleteMedicalScribeJobCommand = async (output, context) => {
|
|
638
|
+
if (output.statusCode >= 300) {
|
|
639
|
+
return de_DeleteMedicalScribeJobCommandError(output, context);
|
|
640
|
+
}
|
|
641
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
642
|
+
const response = {
|
|
643
|
+
$metadata: deserializeMetadata(output),
|
|
644
|
+
};
|
|
645
|
+
return response;
|
|
646
|
+
};
|
|
647
|
+
exports.de_DeleteMedicalScribeJobCommand = de_DeleteMedicalScribeJobCommand;
|
|
648
|
+
const de_DeleteMedicalScribeJobCommandError = async (output, context) => {
|
|
649
|
+
const parsedOutput = {
|
|
650
|
+
...output,
|
|
651
|
+
body: await parseErrorBody(output.body, context),
|
|
652
|
+
};
|
|
653
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
654
|
+
switch (errorCode) {
|
|
655
|
+
case "BadRequestException":
|
|
656
|
+
case "com.amazonaws.transcribe#BadRequestException":
|
|
657
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
658
|
+
case "InternalFailureException":
|
|
659
|
+
case "com.amazonaws.transcribe#InternalFailureException":
|
|
660
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
661
|
+
case "LimitExceededException":
|
|
662
|
+
case "com.amazonaws.transcribe#LimitExceededException":
|
|
663
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
664
|
+
default:
|
|
665
|
+
const parsedBody = parsedOutput.body;
|
|
666
|
+
return throwDefaultError({
|
|
667
|
+
output,
|
|
668
|
+
parsedBody,
|
|
669
|
+
errorCode,
|
|
670
|
+
});
|
|
671
|
+
}
|
|
672
|
+
};
|
|
609
673
|
const de_DeleteMedicalTranscriptionJobCommand = async (output, context) => {
|
|
610
674
|
if (output.statusCode >= 300) {
|
|
611
675
|
return de_DeleteMedicalTranscriptionJobCommandError(output, context);
|
|
@@ -921,6 +985,48 @@ const de_GetCallAnalyticsJobCommandError = async (output, context) => {
|
|
|
921
985
|
});
|
|
922
986
|
}
|
|
923
987
|
};
|
|
988
|
+
const de_GetMedicalScribeJobCommand = async (output, context) => {
|
|
989
|
+
if (output.statusCode >= 300) {
|
|
990
|
+
return de_GetMedicalScribeJobCommandError(output, context);
|
|
991
|
+
}
|
|
992
|
+
const data = await parseBody(output.body, context);
|
|
993
|
+
let contents = {};
|
|
994
|
+
contents = de_GetMedicalScribeJobResponse(data, context);
|
|
995
|
+
const response = {
|
|
996
|
+
$metadata: deserializeMetadata(output),
|
|
997
|
+
...contents,
|
|
998
|
+
};
|
|
999
|
+
return response;
|
|
1000
|
+
};
|
|
1001
|
+
exports.de_GetMedicalScribeJobCommand = de_GetMedicalScribeJobCommand;
|
|
1002
|
+
const de_GetMedicalScribeJobCommandError = async (output, context) => {
|
|
1003
|
+
const parsedOutput = {
|
|
1004
|
+
...output,
|
|
1005
|
+
body: await parseErrorBody(output.body, context),
|
|
1006
|
+
};
|
|
1007
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1008
|
+
switch (errorCode) {
|
|
1009
|
+
case "BadRequestException":
|
|
1010
|
+
case "com.amazonaws.transcribe#BadRequestException":
|
|
1011
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1012
|
+
case "InternalFailureException":
|
|
1013
|
+
case "com.amazonaws.transcribe#InternalFailureException":
|
|
1014
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
1015
|
+
case "LimitExceededException":
|
|
1016
|
+
case "com.amazonaws.transcribe#LimitExceededException":
|
|
1017
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1018
|
+
case "NotFoundException":
|
|
1019
|
+
case "com.amazonaws.transcribe#NotFoundException":
|
|
1020
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1021
|
+
default:
|
|
1022
|
+
const parsedBody = parsedOutput.body;
|
|
1023
|
+
return throwDefaultError({
|
|
1024
|
+
output,
|
|
1025
|
+
parsedBody,
|
|
1026
|
+
errorCode,
|
|
1027
|
+
});
|
|
1028
|
+
}
|
|
1029
|
+
};
|
|
924
1030
|
const de_GetMedicalTranscriptionJobCommand = async (output, context) => {
|
|
925
1031
|
if (output.statusCode >= 300) {
|
|
926
1032
|
return de_GetMedicalTranscriptionJobCommandError(output, context);
|
|
@@ -1248,6 +1354,45 @@ const de_ListLanguageModelsCommandError = async (output, context) => {
|
|
|
1248
1354
|
});
|
|
1249
1355
|
}
|
|
1250
1356
|
};
|
|
1357
|
+
const de_ListMedicalScribeJobsCommand = async (output, context) => {
|
|
1358
|
+
if (output.statusCode >= 300) {
|
|
1359
|
+
return de_ListMedicalScribeJobsCommandError(output, context);
|
|
1360
|
+
}
|
|
1361
|
+
const data = await parseBody(output.body, context);
|
|
1362
|
+
let contents = {};
|
|
1363
|
+
contents = de_ListMedicalScribeJobsResponse(data, context);
|
|
1364
|
+
const response = {
|
|
1365
|
+
$metadata: deserializeMetadata(output),
|
|
1366
|
+
...contents,
|
|
1367
|
+
};
|
|
1368
|
+
return response;
|
|
1369
|
+
};
|
|
1370
|
+
exports.de_ListMedicalScribeJobsCommand = de_ListMedicalScribeJobsCommand;
|
|
1371
|
+
const de_ListMedicalScribeJobsCommandError = async (output, context) => {
|
|
1372
|
+
const parsedOutput = {
|
|
1373
|
+
...output,
|
|
1374
|
+
body: await parseErrorBody(output.body, context),
|
|
1375
|
+
};
|
|
1376
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1377
|
+
switch (errorCode) {
|
|
1378
|
+
case "BadRequestException":
|
|
1379
|
+
case "com.amazonaws.transcribe#BadRequestException":
|
|
1380
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1381
|
+
case "InternalFailureException":
|
|
1382
|
+
case "com.amazonaws.transcribe#InternalFailureException":
|
|
1383
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
1384
|
+
case "LimitExceededException":
|
|
1385
|
+
case "com.amazonaws.transcribe#LimitExceededException":
|
|
1386
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1387
|
+
default:
|
|
1388
|
+
const parsedBody = parsedOutput.body;
|
|
1389
|
+
return throwDefaultError({
|
|
1390
|
+
output,
|
|
1391
|
+
parsedBody,
|
|
1392
|
+
errorCode,
|
|
1393
|
+
});
|
|
1394
|
+
}
|
|
1395
|
+
};
|
|
1251
1396
|
const de_ListMedicalTranscriptionJobsCommand = async (output, context) => {
|
|
1252
1397
|
if (output.statusCode >= 300) {
|
|
1253
1398
|
return de_ListMedicalTranscriptionJobsCommandError(output, context);
|
|
@@ -1527,6 +1672,48 @@ const de_StartCallAnalyticsJobCommandError = async (output, context) => {
|
|
|
1527
1672
|
});
|
|
1528
1673
|
}
|
|
1529
1674
|
};
|
|
1675
|
+
const de_StartMedicalScribeJobCommand = async (output, context) => {
|
|
1676
|
+
if (output.statusCode >= 300) {
|
|
1677
|
+
return de_StartMedicalScribeJobCommandError(output, context);
|
|
1678
|
+
}
|
|
1679
|
+
const data = await parseBody(output.body, context);
|
|
1680
|
+
let contents = {};
|
|
1681
|
+
contents = de_StartMedicalScribeJobResponse(data, context);
|
|
1682
|
+
const response = {
|
|
1683
|
+
$metadata: deserializeMetadata(output),
|
|
1684
|
+
...contents,
|
|
1685
|
+
};
|
|
1686
|
+
return response;
|
|
1687
|
+
};
|
|
1688
|
+
exports.de_StartMedicalScribeJobCommand = de_StartMedicalScribeJobCommand;
|
|
1689
|
+
const de_StartMedicalScribeJobCommandError = async (output, context) => {
|
|
1690
|
+
const parsedOutput = {
|
|
1691
|
+
...output,
|
|
1692
|
+
body: await parseErrorBody(output.body, context),
|
|
1693
|
+
};
|
|
1694
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1695
|
+
switch (errorCode) {
|
|
1696
|
+
case "BadRequestException":
|
|
1697
|
+
case "com.amazonaws.transcribe#BadRequestException":
|
|
1698
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1699
|
+
case "ConflictException":
|
|
1700
|
+
case "com.amazonaws.transcribe#ConflictException":
|
|
1701
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1702
|
+
case "InternalFailureException":
|
|
1703
|
+
case "com.amazonaws.transcribe#InternalFailureException":
|
|
1704
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
1705
|
+
case "LimitExceededException":
|
|
1706
|
+
case "com.amazonaws.transcribe#LimitExceededException":
|
|
1707
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1708
|
+
default:
|
|
1709
|
+
const parsedBody = parsedOutput.body;
|
|
1710
|
+
return throwDefaultError({
|
|
1711
|
+
output,
|
|
1712
|
+
parsedBody,
|
|
1713
|
+
errorCode,
|
|
1714
|
+
});
|
|
1715
|
+
}
|
|
1716
|
+
};
|
|
1530
1717
|
const de_StartMedicalTranscriptionJobCommand = async (output, context) => {
|
|
1531
1718
|
if (output.statusCode >= 300) {
|
|
1532
1719
|
return de_StartMedicalTranscriptionJobCommandError(output, context);
|
|
@@ -2023,6 +2210,11 @@ const de_GetCallAnalyticsJobResponse = (output, context) => {
|
|
|
2023
2210
|
CallAnalyticsJob: (_) => de_CallAnalyticsJob(_, context),
|
|
2024
2211
|
});
|
|
2025
2212
|
};
|
|
2213
|
+
const de_GetMedicalScribeJobResponse = (output, context) => {
|
|
2214
|
+
return (0, smithy_client_1.take)(output, {
|
|
2215
|
+
MedicalScribeJob: (_) => de_MedicalScribeJob(_, context),
|
|
2216
|
+
});
|
|
2217
|
+
};
|
|
2026
2218
|
const de_GetMedicalTranscriptionJobResponse = (output, context) => {
|
|
2027
2219
|
return (0, smithy_client_1.take)(output, {
|
|
2028
2220
|
MedicalTranscriptionJob: (_) => de_MedicalTranscriptionJob(_, context),
|
|
@@ -2107,6 +2299,13 @@ const de_ListLanguageModelsResponse = (output, context) => {
|
|
|
2107
2299
|
NextToken: smithy_client_1.expectString,
|
|
2108
2300
|
});
|
|
2109
2301
|
};
|
|
2302
|
+
const de_ListMedicalScribeJobsResponse = (output, context) => {
|
|
2303
|
+
return (0, smithy_client_1.take)(output, {
|
|
2304
|
+
MedicalScribeJobSummaries: (_) => de_MedicalScribeJobSummaries(_, context),
|
|
2305
|
+
NextToken: smithy_client_1.expectString,
|
|
2306
|
+
Status: smithy_client_1.expectString,
|
|
2307
|
+
});
|
|
2308
|
+
};
|
|
2110
2309
|
const de_ListMedicalTranscriptionJobsResponse = (output, context) => {
|
|
2111
2310
|
return (0, smithy_client_1.take)(output, {
|
|
2112
2311
|
MedicalTranscriptionJobSummaries: (_) => de_MedicalTranscriptionJobSummaries(_, context),
|
|
@@ -2141,6 +2340,42 @@ const de_ListVocabularyFiltersResponse = (output, context) => {
|
|
|
2141
2340
|
VocabularyFilters: (_) => de_VocabularyFilters(_, context),
|
|
2142
2341
|
});
|
|
2143
2342
|
};
|
|
2343
|
+
const de_MedicalScribeJob = (output, context) => {
|
|
2344
|
+
return (0, smithy_client_1.take)(output, {
|
|
2345
|
+
ChannelDefinitions: smithy_client_1._json,
|
|
2346
|
+
CompletionTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2347
|
+
CreationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2348
|
+
DataAccessRoleArn: smithy_client_1.expectString,
|
|
2349
|
+
FailureReason: smithy_client_1.expectString,
|
|
2350
|
+
LanguageCode: smithy_client_1.expectString,
|
|
2351
|
+
Media: smithy_client_1._json,
|
|
2352
|
+
MedicalScribeJobName: smithy_client_1.expectString,
|
|
2353
|
+
MedicalScribeJobStatus: smithy_client_1.expectString,
|
|
2354
|
+
MedicalScribeOutput: smithy_client_1._json,
|
|
2355
|
+
Settings: smithy_client_1._json,
|
|
2356
|
+
StartTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2357
|
+
Tags: smithy_client_1._json,
|
|
2358
|
+
});
|
|
2359
|
+
};
|
|
2360
|
+
const de_MedicalScribeJobSummaries = (output, context) => {
|
|
2361
|
+
const retVal = (output || [])
|
|
2362
|
+
.filter((e) => e != null)
|
|
2363
|
+
.map((entry) => {
|
|
2364
|
+
return de_MedicalScribeJobSummary(entry, context);
|
|
2365
|
+
});
|
|
2366
|
+
return retVal;
|
|
2367
|
+
};
|
|
2368
|
+
const de_MedicalScribeJobSummary = (output, context) => {
|
|
2369
|
+
return (0, smithy_client_1.take)(output, {
|
|
2370
|
+
CompletionTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2371
|
+
CreationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2372
|
+
FailureReason: smithy_client_1.expectString,
|
|
2373
|
+
LanguageCode: smithy_client_1.expectString,
|
|
2374
|
+
MedicalScribeJobName: smithy_client_1.expectString,
|
|
2375
|
+
MedicalScribeJobStatus: smithy_client_1.expectString,
|
|
2376
|
+
StartTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2377
|
+
});
|
|
2378
|
+
};
|
|
2144
2379
|
const de_MedicalTranscriptionJob = (output, context) => {
|
|
2145
2380
|
return (0, smithy_client_1.take)(output, {
|
|
2146
2381
|
CompletionTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
@@ -2197,6 +2432,11 @@ const de_StartCallAnalyticsJobResponse = (output, context) => {
|
|
|
2197
2432
|
CallAnalyticsJob: (_) => de_CallAnalyticsJob(_, context),
|
|
2198
2433
|
});
|
|
2199
2434
|
};
|
|
2435
|
+
const de_StartMedicalScribeJobResponse = (output, context) => {
|
|
2436
|
+
return (0, smithy_client_1.take)(output, {
|
|
2437
|
+
MedicalScribeJob: (_) => de_MedicalScribeJob(_, context),
|
|
2438
|
+
});
|
|
2439
|
+
};
|
|
2200
2440
|
const de_StartMedicalTranscriptionJobResponse = (output, context) => {
|
|
2201
2441
|
return (0, smithy_client_1.take)(output, {
|
|
2202
2442
|
MedicalTranscriptionJob: (_) => de_MedicalTranscriptionJob(_, context),
|
package/dist-es/Transcribe.js
CHANGED
|
@@ -7,6 +7,7 @@ import { CreateVocabularyFilterCommand, } from "./commands/CreateVocabularyFilte
|
|
|
7
7
|
import { DeleteCallAnalyticsCategoryCommand, } from "./commands/DeleteCallAnalyticsCategoryCommand";
|
|
8
8
|
import { DeleteCallAnalyticsJobCommand, } from "./commands/DeleteCallAnalyticsJobCommand";
|
|
9
9
|
import { DeleteLanguageModelCommand, } from "./commands/DeleteLanguageModelCommand";
|
|
10
|
+
import { DeleteMedicalScribeJobCommand, } from "./commands/DeleteMedicalScribeJobCommand";
|
|
10
11
|
import { DeleteMedicalTranscriptionJobCommand, } from "./commands/DeleteMedicalTranscriptionJobCommand";
|
|
11
12
|
import { DeleteMedicalVocabularyCommand, } from "./commands/DeleteMedicalVocabularyCommand";
|
|
12
13
|
import { DeleteTranscriptionJobCommand, } from "./commands/DeleteTranscriptionJobCommand";
|
|
@@ -15,6 +16,7 @@ import { DeleteVocabularyFilterCommand, } from "./commands/DeleteVocabularyFilte
|
|
|
15
16
|
import { DescribeLanguageModelCommand, } from "./commands/DescribeLanguageModelCommand";
|
|
16
17
|
import { GetCallAnalyticsCategoryCommand, } from "./commands/GetCallAnalyticsCategoryCommand";
|
|
17
18
|
import { GetCallAnalyticsJobCommand, } from "./commands/GetCallAnalyticsJobCommand";
|
|
19
|
+
import { GetMedicalScribeJobCommand, } from "./commands/GetMedicalScribeJobCommand";
|
|
18
20
|
import { GetMedicalTranscriptionJobCommand, } from "./commands/GetMedicalTranscriptionJobCommand";
|
|
19
21
|
import { GetMedicalVocabularyCommand, } from "./commands/GetMedicalVocabularyCommand";
|
|
20
22
|
import { GetTranscriptionJobCommand, } from "./commands/GetTranscriptionJobCommand";
|
|
@@ -23,6 +25,7 @@ import { GetVocabularyFilterCommand, } from "./commands/GetVocabularyFilterComma
|
|
|
23
25
|
import { ListCallAnalyticsCategoriesCommand, } from "./commands/ListCallAnalyticsCategoriesCommand";
|
|
24
26
|
import { ListCallAnalyticsJobsCommand, } from "./commands/ListCallAnalyticsJobsCommand";
|
|
25
27
|
import { ListLanguageModelsCommand, } from "./commands/ListLanguageModelsCommand";
|
|
28
|
+
import { ListMedicalScribeJobsCommand, } from "./commands/ListMedicalScribeJobsCommand";
|
|
26
29
|
import { ListMedicalTranscriptionJobsCommand, } from "./commands/ListMedicalTranscriptionJobsCommand";
|
|
27
30
|
import { ListMedicalVocabulariesCommand, } from "./commands/ListMedicalVocabulariesCommand";
|
|
28
31
|
import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
|
|
@@ -30,6 +33,7 @@ import { ListTranscriptionJobsCommand, } from "./commands/ListTranscriptionJobsC
|
|
|
30
33
|
import { ListVocabulariesCommand, } from "./commands/ListVocabulariesCommand";
|
|
31
34
|
import { ListVocabularyFiltersCommand, } from "./commands/ListVocabularyFiltersCommand";
|
|
32
35
|
import { StartCallAnalyticsJobCommand, } from "./commands/StartCallAnalyticsJobCommand";
|
|
36
|
+
import { StartMedicalScribeJobCommand, } from "./commands/StartMedicalScribeJobCommand";
|
|
33
37
|
import { StartMedicalTranscriptionJobCommand, } from "./commands/StartMedicalTranscriptionJobCommand";
|
|
34
38
|
import { StartTranscriptionJobCommand, } from "./commands/StartTranscriptionJobCommand";
|
|
35
39
|
import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
@@ -48,6 +52,7 @@ const commands = {
|
|
|
48
52
|
DeleteCallAnalyticsCategoryCommand,
|
|
49
53
|
DeleteCallAnalyticsJobCommand,
|
|
50
54
|
DeleteLanguageModelCommand,
|
|
55
|
+
DeleteMedicalScribeJobCommand,
|
|
51
56
|
DeleteMedicalTranscriptionJobCommand,
|
|
52
57
|
DeleteMedicalVocabularyCommand,
|
|
53
58
|
DeleteTranscriptionJobCommand,
|
|
@@ -56,6 +61,7 @@ const commands = {
|
|
|
56
61
|
DescribeLanguageModelCommand,
|
|
57
62
|
GetCallAnalyticsCategoryCommand,
|
|
58
63
|
GetCallAnalyticsJobCommand,
|
|
64
|
+
GetMedicalScribeJobCommand,
|
|
59
65
|
GetMedicalTranscriptionJobCommand,
|
|
60
66
|
GetMedicalVocabularyCommand,
|
|
61
67
|
GetTranscriptionJobCommand,
|
|
@@ -64,6 +70,7 @@ const commands = {
|
|
|
64
70
|
ListCallAnalyticsCategoriesCommand,
|
|
65
71
|
ListCallAnalyticsJobsCommand,
|
|
66
72
|
ListLanguageModelsCommand,
|
|
73
|
+
ListMedicalScribeJobsCommand,
|
|
67
74
|
ListMedicalTranscriptionJobsCommand,
|
|
68
75
|
ListMedicalVocabulariesCommand,
|
|
69
76
|
ListTagsForResourceCommand,
|
|
@@ -71,6 +78,7 @@ const commands = {
|
|
|
71
78
|
ListVocabulariesCommand,
|
|
72
79
|
ListVocabularyFiltersCommand,
|
|
73
80
|
StartCallAnalyticsJobCommand,
|
|
81
|
+
StartMedicalScribeJobCommand,
|
|
74
82
|
StartMedicalTranscriptionJobCommand,
|
|
75
83
|
StartTranscriptionJobCommand,
|
|
76
84
|
TagResourceCommand,
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
5
|
+
import { de_DeleteMedicalScribeJobCommand, se_DeleteMedicalScribeJobCommand } from "../protocols/Aws_json1_1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class DeleteMedicalScribeJobCommand extends $Command {
|
|
8
|
+
static getEndpointParameterInstructions() {
|
|
9
|
+
return {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
constructor(input) {
|
|
17
|
+
super();
|
|
18
|
+
this.input = input;
|
|
19
|
+
}
|
|
20
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
21
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
22
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, DeleteMedicalScribeJobCommand.getEndpointParameterInstructions()));
|
|
23
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
24
|
+
const { logger } = configuration;
|
|
25
|
+
const clientName = "TranscribeClient";
|
|
26
|
+
const commandName = "DeleteMedicalScribeJobCommand";
|
|
27
|
+
const handlerExecutionContext = {
|
|
28
|
+
logger,
|
|
29
|
+
clientName,
|
|
30
|
+
commandName,
|
|
31
|
+
inputFilterSensitiveLog: (_) => _,
|
|
32
|
+
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "Transcribe",
|
|
35
|
+
operation: "DeleteMedicalScribeJob",
|
|
36
|
+
},
|
|
37
|
+
};
|
|
38
|
+
const { requestHandler } = configuration;
|
|
39
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
+
}
|
|
41
|
+
serialize(input, context) {
|
|
42
|
+
return se_DeleteMedicalScribeJobCommand(input, context);
|
|
43
|
+
}
|
|
44
|
+
deserialize(output, context) {
|
|
45
|
+
return de_DeleteMedicalScribeJobCommand(output, context);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
5
|
+
import { de_GetMedicalScribeJobCommand, se_GetMedicalScribeJobCommand } from "../protocols/Aws_json1_1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class GetMedicalScribeJobCommand extends $Command {
|
|
8
|
+
static getEndpointParameterInstructions() {
|
|
9
|
+
return {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
constructor(input) {
|
|
17
|
+
super();
|
|
18
|
+
this.input = input;
|
|
19
|
+
}
|
|
20
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
21
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
22
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, GetMedicalScribeJobCommand.getEndpointParameterInstructions()));
|
|
23
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
24
|
+
const { logger } = configuration;
|
|
25
|
+
const clientName = "TranscribeClient";
|
|
26
|
+
const commandName = "GetMedicalScribeJobCommand";
|
|
27
|
+
const handlerExecutionContext = {
|
|
28
|
+
logger,
|
|
29
|
+
clientName,
|
|
30
|
+
commandName,
|
|
31
|
+
inputFilterSensitiveLog: (_) => _,
|
|
32
|
+
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "Transcribe",
|
|
35
|
+
operation: "GetMedicalScribeJob",
|
|
36
|
+
},
|
|
37
|
+
};
|
|
38
|
+
const { requestHandler } = configuration;
|
|
39
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
+
}
|
|
41
|
+
serialize(input, context) {
|
|
42
|
+
return se_GetMedicalScribeJobCommand(input, context);
|
|
43
|
+
}
|
|
44
|
+
deserialize(output, context) {
|
|
45
|
+
return de_GetMedicalScribeJobCommand(output, context);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
5
|
+
import { de_ListMedicalScribeJobsCommand, se_ListMedicalScribeJobsCommand } from "../protocols/Aws_json1_1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class ListMedicalScribeJobsCommand extends $Command {
|
|
8
|
+
static getEndpointParameterInstructions() {
|
|
9
|
+
return {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
constructor(input) {
|
|
17
|
+
super();
|
|
18
|
+
this.input = input;
|
|
19
|
+
}
|
|
20
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
21
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
22
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ListMedicalScribeJobsCommand.getEndpointParameterInstructions()));
|
|
23
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
24
|
+
const { logger } = configuration;
|
|
25
|
+
const clientName = "TranscribeClient";
|
|
26
|
+
const commandName = "ListMedicalScribeJobsCommand";
|
|
27
|
+
const handlerExecutionContext = {
|
|
28
|
+
logger,
|
|
29
|
+
clientName,
|
|
30
|
+
commandName,
|
|
31
|
+
inputFilterSensitiveLog: (_) => _,
|
|
32
|
+
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "Transcribe",
|
|
35
|
+
operation: "ListMedicalScribeJobs",
|
|
36
|
+
},
|
|
37
|
+
};
|
|
38
|
+
const { requestHandler } = configuration;
|
|
39
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
+
}
|
|
41
|
+
serialize(input, context) {
|
|
42
|
+
return se_ListMedicalScribeJobsCommand(input, context);
|
|
43
|
+
}
|
|
44
|
+
deserialize(output, context) {
|
|
45
|
+
return de_ListMedicalScribeJobsCommand(output, context);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
5
|
+
import { de_StartMedicalScribeJobCommand, se_StartMedicalScribeJobCommand } from "../protocols/Aws_json1_1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class StartMedicalScribeJobCommand extends $Command {
|
|
8
|
+
static getEndpointParameterInstructions() {
|
|
9
|
+
return {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
constructor(input) {
|
|
17
|
+
super();
|
|
18
|
+
this.input = input;
|
|
19
|
+
}
|
|
20
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
21
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
22
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, StartMedicalScribeJobCommand.getEndpointParameterInstructions()));
|
|
23
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
24
|
+
const { logger } = configuration;
|
|
25
|
+
const clientName = "TranscribeClient";
|
|
26
|
+
const commandName = "StartMedicalScribeJobCommand";
|
|
27
|
+
const handlerExecutionContext = {
|
|
28
|
+
logger,
|
|
29
|
+
clientName,
|
|
30
|
+
commandName,
|
|
31
|
+
inputFilterSensitiveLog: (_) => _,
|
|
32
|
+
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "Transcribe",
|
|
35
|
+
operation: "StartMedicalScribeJob",
|
|
36
|
+
},
|
|
37
|
+
};
|
|
38
|
+
const { requestHandler } = configuration;
|
|
39
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
+
}
|
|
41
|
+
serialize(input, context) {
|
|
42
|
+
return se_StartMedicalScribeJobCommand(input, context);
|
|
43
|
+
}
|
|
44
|
+
deserialize(output, context) {
|
|
45
|
+
return de_StartMedicalScribeJobCommand(output, context);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
@@ -6,6 +6,7 @@ export * from "./CreateVocabularyFilterCommand";
|
|
|
6
6
|
export * from "./DeleteCallAnalyticsCategoryCommand";
|
|
7
7
|
export * from "./DeleteCallAnalyticsJobCommand";
|
|
8
8
|
export * from "./DeleteLanguageModelCommand";
|
|
9
|
+
export * from "./DeleteMedicalScribeJobCommand";
|
|
9
10
|
export * from "./DeleteMedicalTranscriptionJobCommand";
|
|
10
11
|
export * from "./DeleteMedicalVocabularyCommand";
|
|
11
12
|
export * from "./DeleteTranscriptionJobCommand";
|
|
@@ -14,6 +15,7 @@ export * from "./DeleteVocabularyFilterCommand";
|
|
|
14
15
|
export * from "./DescribeLanguageModelCommand";
|
|
15
16
|
export * from "./GetCallAnalyticsCategoryCommand";
|
|
16
17
|
export * from "./GetCallAnalyticsJobCommand";
|
|
18
|
+
export * from "./GetMedicalScribeJobCommand";
|
|
17
19
|
export * from "./GetMedicalTranscriptionJobCommand";
|
|
18
20
|
export * from "./GetMedicalVocabularyCommand";
|
|
19
21
|
export * from "./GetTranscriptionJobCommand";
|
|
@@ -22,6 +24,7 @@ export * from "./GetVocabularyFilterCommand";
|
|
|
22
24
|
export * from "./ListCallAnalyticsCategoriesCommand";
|
|
23
25
|
export * from "./ListCallAnalyticsJobsCommand";
|
|
24
26
|
export * from "./ListLanguageModelsCommand";
|
|
27
|
+
export * from "./ListMedicalScribeJobsCommand";
|
|
25
28
|
export * from "./ListMedicalTranscriptionJobsCommand";
|
|
26
29
|
export * from "./ListMedicalVocabulariesCommand";
|
|
27
30
|
export * from "./ListTagsForResourceCommand";
|
|
@@ -29,6 +32,7 @@ export * from "./ListTranscriptionJobsCommand";
|
|
|
29
32
|
export * from "./ListVocabulariesCommand";
|
|
30
33
|
export * from "./ListVocabularyFiltersCommand";
|
|
31
34
|
export * from "./StartCallAnalyticsJobCommand";
|
|
35
|
+
export * from "./StartMedicalScribeJobCommand";
|
|
32
36
|
export * from "./StartMedicalTranscriptionJobCommand";
|
|
33
37
|
export * from "./StartTranscriptionJobCommand";
|
|
34
38
|
export * from "./TagResourceCommand";
|
|
@@ -265,6 +265,19 @@ export class NotFoundException extends __BaseException {
|
|
|
265
265
|
this.Message = opts.Message;
|
|
266
266
|
}
|
|
267
267
|
}
|
|
268
|
+
export const MedicalScribeParticipantRole = {
|
|
269
|
+
CLINICIAN: "CLINICIAN",
|
|
270
|
+
PATIENT: "PATIENT",
|
|
271
|
+
};
|
|
272
|
+
export const MedicalScribeLanguageCode = {
|
|
273
|
+
EN_US: "en-US",
|
|
274
|
+
};
|
|
275
|
+
export const MedicalScribeJobStatus = {
|
|
276
|
+
COMPLETED: "COMPLETED",
|
|
277
|
+
FAILED: "FAILED",
|
|
278
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
279
|
+
QUEUED: "QUEUED",
|
|
280
|
+
};
|
|
268
281
|
export const MedicalContentIdentificationType = {
|
|
269
282
|
PHI: "PHI",
|
|
270
283
|
};
|