@aws-sdk/client-transcribe 3.458.0 → 3.459.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 +1 -1
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { ListMedicalScribeJobsCommand, } from "../commands/ListMedicalScribeJobsCommand";
|
|
2
|
+
import { TranscribeClient } from "../TranscribeClient";
|
|
3
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
4
|
+
return await client.send(new ListMedicalScribeJobsCommand(input), ...args);
|
|
5
|
+
};
|
|
6
|
+
export async function* paginateListMedicalScribeJobs(config, input, ...additionalArguments) {
|
|
7
|
+
let token = config.startingToken || undefined;
|
|
8
|
+
let hasNext = true;
|
|
9
|
+
let page;
|
|
10
|
+
while (hasNext) {
|
|
11
|
+
input.NextToken = token;
|
|
12
|
+
input["MaxResults"] = config.pageSize;
|
|
13
|
+
if (config.client instanceof TranscribeClient) {
|
|
14
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
+
}
|
|
16
|
+
else {
|
|
17
|
+
throw new Error("Invalid client, expected Transcribe | TranscribeClient");
|
|
18
|
+
}
|
|
19
|
+
yield page;
|
|
20
|
+
const prevToken = token;
|
|
21
|
+
token = page.NextToken;
|
|
22
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
+
}
|
|
24
|
+
return undefined;
|
|
25
|
+
}
|
|
@@ -2,6 +2,7 @@ export * from "./Interfaces";
|
|
|
2
2
|
export * from "./ListCallAnalyticsCategoriesPaginator";
|
|
3
3
|
export * from "./ListCallAnalyticsJobsPaginator";
|
|
4
4
|
export * from "./ListLanguageModelsPaginator";
|
|
5
|
+
export * from "./ListMedicalScribeJobsPaginator";
|
|
5
6
|
export * from "./ListMedicalTranscriptionJobsPaginator";
|
|
6
7
|
export * from "./ListMedicalVocabulariesPaginator";
|
|
7
8
|
export * from "./ListTranscriptionJobsPaginator";
|
|
@@ -50,6 +50,12 @@ export const se_DeleteLanguageModelCommand = async (input, context) => {
|
|
|
50
50
|
body = JSON.stringify(_json(input));
|
|
51
51
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
52
52
|
};
|
|
53
|
+
export const se_DeleteMedicalScribeJobCommand = async (input, context) => {
|
|
54
|
+
const headers = sharedHeaders("DeleteMedicalScribeJob");
|
|
55
|
+
let body;
|
|
56
|
+
body = JSON.stringify(_json(input));
|
|
57
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
58
|
+
};
|
|
53
59
|
export const se_DeleteMedicalTranscriptionJobCommand = async (input, context) => {
|
|
54
60
|
const headers = sharedHeaders("DeleteMedicalTranscriptionJob");
|
|
55
61
|
let body;
|
|
@@ -98,6 +104,12 @@ export const se_GetCallAnalyticsJobCommand = async (input, context) => {
|
|
|
98
104
|
body = JSON.stringify(_json(input));
|
|
99
105
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
100
106
|
};
|
|
107
|
+
export const se_GetMedicalScribeJobCommand = async (input, context) => {
|
|
108
|
+
const headers = sharedHeaders("GetMedicalScribeJob");
|
|
109
|
+
let body;
|
|
110
|
+
body = JSON.stringify(_json(input));
|
|
111
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
112
|
+
};
|
|
101
113
|
export const se_GetMedicalTranscriptionJobCommand = async (input, context) => {
|
|
102
114
|
const headers = sharedHeaders("GetMedicalTranscriptionJob");
|
|
103
115
|
let body;
|
|
@@ -146,6 +158,12 @@ export const se_ListLanguageModelsCommand = async (input, context) => {
|
|
|
146
158
|
body = JSON.stringify(_json(input));
|
|
147
159
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
148
160
|
};
|
|
161
|
+
export const se_ListMedicalScribeJobsCommand = async (input, context) => {
|
|
162
|
+
const headers = sharedHeaders("ListMedicalScribeJobs");
|
|
163
|
+
let body;
|
|
164
|
+
body = JSON.stringify(_json(input));
|
|
165
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
166
|
+
};
|
|
149
167
|
export const se_ListMedicalTranscriptionJobsCommand = async (input, context) => {
|
|
150
168
|
const headers = sharedHeaders("ListMedicalTranscriptionJobs");
|
|
151
169
|
let body;
|
|
@@ -188,6 +206,12 @@ export const se_StartCallAnalyticsJobCommand = async (input, context) => {
|
|
|
188
206
|
body = JSON.stringify(_json(input));
|
|
189
207
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
190
208
|
};
|
|
209
|
+
export const se_StartMedicalScribeJobCommand = async (input, context) => {
|
|
210
|
+
const headers = sharedHeaders("StartMedicalScribeJob");
|
|
211
|
+
let body;
|
|
212
|
+
body = JSON.stringify(_json(input));
|
|
213
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
214
|
+
};
|
|
191
215
|
export const se_StartMedicalTranscriptionJobCommand = async (input, context) => {
|
|
192
216
|
const headers = sharedHeaders("StartMedicalTranscriptionJob");
|
|
193
217
|
let body;
|
|
@@ -555,6 +579,41 @@ const de_DeleteLanguageModelCommandError = async (output, context) => {
|
|
|
555
579
|
});
|
|
556
580
|
}
|
|
557
581
|
};
|
|
582
|
+
export const de_DeleteMedicalScribeJobCommand = async (output, context) => {
|
|
583
|
+
if (output.statusCode >= 300) {
|
|
584
|
+
return de_DeleteMedicalScribeJobCommandError(output, context);
|
|
585
|
+
}
|
|
586
|
+
await collectBody(output.body, context);
|
|
587
|
+
const response = {
|
|
588
|
+
$metadata: deserializeMetadata(output),
|
|
589
|
+
};
|
|
590
|
+
return response;
|
|
591
|
+
};
|
|
592
|
+
const de_DeleteMedicalScribeJobCommandError = async (output, context) => {
|
|
593
|
+
const parsedOutput = {
|
|
594
|
+
...output,
|
|
595
|
+
body: await parseErrorBody(output.body, context),
|
|
596
|
+
};
|
|
597
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
598
|
+
switch (errorCode) {
|
|
599
|
+
case "BadRequestException":
|
|
600
|
+
case "com.amazonaws.transcribe#BadRequestException":
|
|
601
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
602
|
+
case "InternalFailureException":
|
|
603
|
+
case "com.amazonaws.transcribe#InternalFailureException":
|
|
604
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
605
|
+
case "LimitExceededException":
|
|
606
|
+
case "com.amazonaws.transcribe#LimitExceededException":
|
|
607
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
608
|
+
default:
|
|
609
|
+
const parsedBody = parsedOutput.body;
|
|
610
|
+
return throwDefaultError({
|
|
611
|
+
output,
|
|
612
|
+
parsedBody,
|
|
613
|
+
errorCode,
|
|
614
|
+
});
|
|
615
|
+
}
|
|
616
|
+
};
|
|
558
617
|
export const de_DeleteMedicalTranscriptionJobCommand = async (output, context) => {
|
|
559
618
|
if (output.statusCode >= 300) {
|
|
560
619
|
return de_DeleteMedicalTranscriptionJobCommandError(output, context);
|
|
@@ -862,6 +921,47 @@ const de_GetCallAnalyticsJobCommandError = async (output, context) => {
|
|
|
862
921
|
});
|
|
863
922
|
}
|
|
864
923
|
};
|
|
924
|
+
export const de_GetMedicalScribeJobCommand = async (output, context) => {
|
|
925
|
+
if (output.statusCode >= 300) {
|
|
926
|
+
return de_GetMedicalScribeJobCommandError(output, context);
|
|
927
|
+
}
|
|
928
|
+
const data = await parseBody(output.body, context);
|
|
929
|
+
let contents = {};
|
|
930
|
+
contents = de_GetMedicalScribeJobResponse(data, context);
|
|
931
|
+
const response = {
|
|
932
|
+
$metadata: deserializeMetadata(output),
|
|
933
|
+
...contents,
|
|
934
|
+
};
|
|
935
|
+
return response;
|
|
936
|
+
};
|
|
937
|
+
const de_GetMedicalScribeJobCommandError = async (output, context) => {
|
|
938
|
+
const parsedOutput = {
|
|
939
|
+
...output,
|
|
940
|
+
body: await parseErrorBody(output.body, context),
|
|
941
|
+
};
|
|
942
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
943
|
+
switch (errorCode) {
|
|
944
|
+
case "BadRequestException":
|
|
945
|
+
case "com.amazonaws.transcribe#BadRequestException":
|
|
946
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
947
|
+
case "InternalFailureException":
|
|
948
|
+
case "com.amazonaws.transcribe#InternalFailureException":
|
|
949
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
950
|
+
case "LimitExceededException":
|
|
951
|
+
case "com.amazonaws.transcribe#LimitExceededException":
|
|
952
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
953
|
+
case "NotFoundException":
|
|
954
|
+
case "com.amazonaws.transcribe#NotFoundException":
|
|
955
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
956
|
+
default:
|
|
957
|
+
const parsedBody = parsedOutput.body;
|
|
958
|
+
return throwDefaultError({
|
|
959
|
+
output,
|
|
960
|
+
parsedBody,
|
|
961
|
+
errorCode,
|
|
962
|
+
});
|
|
963
|
+
}
|
|
964
|
+
};
|
|
865
965
|
export const de_GetMedicalTranscriptionJobCommand = async (output, context) => {
|
|
866
966
|
if (output.statusCode >= 300) {
|
|
867
967
|
return de_GetMedicalTranscriptionJobCommandError(output, context);
|
|
@@ -1181,6 +1281,44 @@ const de_ListLanguageModelsCommandError = async (output, context) => {
|
|
|
1181
1281
|
});
|
|
1182
1282
|
}
|
|
1183
1283
|
};
|
|
1284
|
+
export const de_ListMedicalScribeJobsCommand = async (output, context) => {
|
|
1285
|
+
if (output.statusCode >= 300) {
|
|
1286
|
+
return de_ListMedicalScribeJobsCommandError(output, context);
|
|
1287
|
+
}
|
|
1288
|
+
const data = await parseBody(output.body, context);
|
|
1289
|
+
let contents = {};
|
|
1290
|
+
contents = de_ListMedicalScribeJobsResponse(data, context);
|
|
1291
|
+
const response = {
|
|
1292
|
+
$metadata: deserializeMetadata(output),
|
|
1293
|
+
...contents,
|
|
1294
|
+
};
|
|
1295
|
+
return response;
|
|
1296
|
+
};
|
|
1297
|
+
const de_ListMedicalScribeJobsCommandError = async (output, context) => {
|
|
1298
|
+
const parsedOutput = {
|
|
1299
|
+
...output,
|
|
1300
|
+
body: await parseErrorBody(output.body, context),
|
|
1301
|
+
};
|
|
1302
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1303
|
+
switch (errorCode) {
|
|
1304
|
+
case "BadRequestException":
|
|
1305
|
+
case "com.amazonaws.transcribe#BadRequestException":
|
|
1306
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1307
|
+
case "InternalFailureException":
|
|
1308
|
+
case "com.amazonaws.transcribe#InternalFailureException":
|
|
1309
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
1310
|
+
case "LimitExceededException":
|
|
1311
|
+
case "com.amazonaws.transcribe#LimitExceededException":
|
|
1312
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1313
|
+
default:
|
|
1314
|
+
const parsedBody = parsedOutput.body;
|
|
1315
|
+
return throwDefaultError({
|
|
1316
|
+
output,
|
|
1317
|
+
parsedBody,
|
|
1318
|
+
errorCode,
|
|
1319
|
+
});
|
|
1320
|
+
}
|
|
1321
|
+
};
|
|
1184
1322
|
export const de_ListMedicalTranscriptionJobsCommand = async (output, context) => {
|
|
1185
1323
|
if (output.statusCode >= 300) {
|
|
1186
1324
|
return de_ListMedicalTranscriptionJobsCommandError(output, context);
|
|
@@ -1453,6 +1591,47 @@ const de_StartCallAnalyticsJobCommandError = async (output, context) => {
|
|
|
1453
1591
|
});
|
|
1454
1592
|
}
|
|
1455
1593
|
};
|
|
1594
|
+
export const de_StartMedicalScribeJobCommand = async (output, context) => {
|
|
1595
|
+
if (output.statusCode >= 300) {
|
|
1596
|
+
return de_StartMedicalScribeJobCommandError(output, context);
|
|
1597
|
+
}
|
|
1598
|
+
const data = await parseBody(output.body, context);
|
|
1599
|
+
let contents = {};
|
|
1600
|
+
contents = de_StartMedicalScribeJobResponse(data, context);
|
|
1601
|
+
const response = {
|
|
1602
|
+
$metadata: deserializeMetadata(output),
|
|
1603
|
+
...contents,
|
|
1604
|
+
};
|
|
1605
|
+
return response;
|
|
1606
|
+
};
|
|
1607
|
+
const de_StartMedicalScribeJobCommandError = async (output, context) => {
|
|
1608
|
+
const parsedOutput = {
|
|
1609
|
+
...output,
|
|
1610
|
+
body: await parseErrorBody(output.body, context),
|
|
1611
|
+
};
|
|
1612
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1613
|
+
switch (errorCode) {
|
|
1614
|
+
case "BadRequestException":
|
|
1615
|
+
case "com.amazonaws.transcribe#BadRequestException":
|
|
1616
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1617
|
+
case "ConflictException":
|
|
1618
|
+
case "com.amazonaws.transcribe#ConflictException":
|
|
1619
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1620
|
+
case "InternalFailureException":
|
|
1621
|
+
case "com.amazonaws.transcribe#InternalFailureException":
|
|
1622
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
1623
|
+
case "LimitExceededException":
|
|
1624
|
+
case "com.amazonaws.transcribe#LimitExceededException":
|
|
1625
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1626
|
+
default:
|
|
1627
|
+
const parsedBody = parsedOutput.body;
|
|
1628
|
+
return throwDefaultError({
|
|
1629
|
+
output,
|
|
1630
|
+
parsedBody,
|
|
1631
|
+
errorCode,
|
|
1632
|
+
});
|
|
1633
|
+
}
|
|
1634
|
+
};
|
|
1456
1635
|
export const de_StartMedicalTranscriptionJobCommand = async (output, context) => {
|
|
1457
1636
|
if (output.statusCode >= 300) {
|
|
1458
1637
|
return de_StartMedicalTranscriptionJobCommandError(output, context);
|
|
@@ -1941,6 +2120,11 @@ const de_GetCallAnalyticsJobResponse = (output, context) => {
|
|
|
1941
2120
|
CallAnalyticsJob: (_) => de_CallAnalyticsJob(_, context),
|
|
1942
2121
|
});
|
|
1943
2122
|
};
|
|
2123
|
+
const de_GetMedicalScribeJobResponse = (output, context) => {
|
|
2124
|
+
return take(output, {
|
|
2125
|
+
MedicalScribeJob: (_) => de_MedicalScribeJob(_, context),
|
|
2126
|
+
});
|
|
2127
|
+
};
|
|
1944
2128
|
const de_GetMedicalTranscriptionJobResponse = (output, context) => {
|
|
1945
2129
|
return take(output, {
|
|
1946
2130
|
MedicalTranscriptionJob: (_) => de_MedicalTranscriptionJob(_, context),
|
|
@@ -2025,6 +2209,13 @@ const de_ListLanguageModelsResponse = (output, context) => {
|
|
|
2025
2209
|
NextToken: __expectString,
|
|
2026
2210
|
});
|
|
2027
2211
|
};
|
|
2212
|
+
const de_ListMedicalScribeJobsResponse = (output, context) => {
|
|
2213
|
+
return take(output, {
|
|
2214
|
+
MedicalScribeJobSummaries: (_) => de_MedicalScribeJobSummaries(_, context),
|
|
2215
|
+
NextToken: __expectString,
|
|
2216
|
+
Status: __expectString,
|
|
2217
|
+
});
|
|
2218
|
+
};
|
|
2028
2219
|
const de_ListMedicalTranscriptionJobsResponse = (output, context) => {
|
|
2029
2220
|
return take(output, {
|
|
2030
2221
|
MedicalTranscriptionJobSummaries: (_) => de_MedicalTranscriptionJobSummaries(_, context),
|
|
@@ -2059,6 +2250,42 @@ const de_ListVocabularyFiltersResponse = (output, context) => {
|
|
|
2059
2250
|
VocabularyFilters: (_) => de_VocabularyFilters(_, context),
|
|
2060
2251
|
});
|
|
2061
2252
|
};
|
|
2253
|
+
const de_MedicalScribeJob = (output, context) => {
|
|
2254
|
+
return take(output, {
|
|
2255
|
+
ChannelDefinitions: _json,
|
|
2256
|
+
CompletionTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2257
|
+
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2258
|
+
DataAccessRoleArn: __expectString,
|
|
2259
|
+
FailureReason: __expectString,
|
|
2260
|
+
LanguageCode: __expectString,
|
|
2261
|
+
Media: _json,
|
|
2262
|
+
MedicalScribeJobName: __expectString,
|
|
2263
|
+
MedicalScribeJobStatus: __expectString,
|
|
2264
|
+
MedicalScribeOutput: _json,
|
|
2265
|
+
Settings: _json,
|
|
2266
|
+
StartTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2267
|
+
Tags: _json,
|
|
2268
|
+
});
|
|
2269
|
+
};
|
|
2270
|
+
const de_MedicalScribeJobSummaries = (output, context) => {
|
|
2271
|
+
const retVal = (output || [])
|
|
2272
|
+
.filter((e) => e != null)
|
|
2273
|
+
.map((entry) => {
|
|
2274
|
+
return de_MedicalScribeJobSummary(entry, context);
|
|
2275
|
+
});
|
|
2276
|
+
return retVal;
|
|
2277
|
+
};
|
|
2278
|
+
const de_MedicalScribeJobSummary = (output, context) => {
|
|
2279
|
+
return take(output, {
|
|
2280
|
+
CompletionTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2281
|
+
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2282
|
+
FailureReason: __expectString,
|
|
2283
|
+
LanguageCode: __expectString,
|
|
2284
|
+
MedicalScribeJobName: __expectString,
|
|
2285
|
+
MedicalScribeJobStatus: __expectString,
|
|
2286
|
+
StartTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2287
|
+
});
|
|
2288
|
+
};
|
|
2062
2289
|
const de_MedicalTranscriptionJob = (output, context) => {
|
|
2063
2290
|
return take(output, {
|
|
2064
2291
|
CompletionTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
@@ -2115,6 +2342,11 @@ const de_StartCallAnalyticsJobResponse = (output, context) => {
|
|
|
2115
2342
|
CallAnalyticsJob: (_) => de_CallAnalyticsJob(_, context),
|
|
2116
2343
|
});
|
|
2117
2344
|
};
|
|
2345
|
+
const de_StartMedicalScribeJobResponse = (output, context) => {
|
|
2346
|
+
return take(output, {
|
|
2347
|
+
MedicalScribeJob: (_) => de_MedicalScribeJob(_, context),
|
|
2348
|
+
});
|
|
2349
|
+
};
|
|
2118
2350
|
const de_StartMedicalTranscriptionJobResponse = (output, context) => {
|
|
2119
2351
|
return take(output, {
|
|
2120
2352
|
MedicalTranscriptionJob: (_) => de_MedicalTranscriptionJob(_, context),
|
|
@@ -7,6 +7,7 @@ import { CreateVocabularyFilterCommandInput, CreateVocabularyFilterCommandOutput
|
|
|
7
7
|
import { DeleteCallAnalyticsCategoryCommandInput, DeleteCallAnalyticsCategoryCommandOutput } from "./commands/DeleteCallAnalyticsCategoryCommand";
|
|
8
8
|
import { DeleteCallAnalyticsJobCommandInput, DeleteCallAnalyticsJobCommandOutput } from "./commands/DeleteCallAnalyticsJobCommand";
|
|
9
9
|
import { DeleteLanguageModelCommandInput, DeleteLanguageModelCommandOutput } from "./commands/DeleteLanguageModelCommand";
|
|
10
|
+
import { DeleteMedicalScribeJobCommandInput, DeleteMedicalScribeJobCommandOutput } from "./commands/DeleteMedicalScribeJobCommand";
|
|
10
11
|
import { DeleteMedicalTranscriptionJobCommandInput, DeleteMedicalTranscriptionJobCommandOutput } from "./commands/DeleteMedicalTranscriptionJobCommand";
|
|
11
12
|
import { DeleteMedicalVocabularyCommandInput, DeleteMedicalVocabularyCommandOutput } from "./commands/DeleteMedicalVocabularyCommand";
|
|
12
13
|
import { DeleteTranscriptionJobCommandInput, DeleteTranscriptionJobCommandOutput } from "./commands/DeleteTranscriptionJobCommand";
|
|
@@ -15,6 +16,7 @@ import { DeleteVocabularyFilterCommandInput, DeleteVocabularyFilterCommandOutput
|
|
|
15
16
|
import { DescribeLanguageModelCommandInput, DescribeLanguageModelCommandOutput } from "./commands/DescribeLanguageModelCommand";
|
|
16
17
|
import { GetCallAnalyticsCategoryCommandInput, GetCallAnalyticsCategoryCommandOutput } from "./commands/GetCallAnalyticsCategoryCommand";
|
|
17
18
|
import { GetCallAnalyticsJobCommandInput, GetCallAnalyticsJobCommandOutput } from "./commands/GetCallAnalyticsJobCommand";
|
|
19
|
+
import { GetMedicalScribeJobCommandInput, GetMedicalScribeJobCommandOutput } from "./commands/GetMedicalScribeJobCommand";
|
|
18
20
|
import { GetMedicalTranscriptionJobCommandInput, GetMedicalTranscriptionJobCommandOutput } from "./commands/GetMedicalTranscriptionJobCommand";
|
|
19
21
|
import { GetMedicalVocabularyCommandInput, GetMedicalVocabularyCommandOutput } from "./commands/GetMedicalVocabularyCommand";
|
|
20
22
|
import { GetTranscriptionJobCommandInput, GetTranscriptionJobCommandOutput } from "./commands/GetTranscriptionJobCommand";
|
|
@@ -23,6 +25,7 @@ import { GetVocabularyFilterCommandInput, GetVocabularyFilterCommandOutput } fro
|
|
|
23
25
|
import { ListCallAnalyticsCategoriesCommandInput, ListCallAnalyticsCategoriesCommandOutput } from "./commands/ListCallAnalyticsCategoriesCommand";
|
|
24
26
|
import { ListCallAnalyticsJobsCommandInput, ListCallAnalyticsJobsCommandOutput } from "./commands/ListCallAnalyticsJobsCommand";
|
|
25
27
|
import { ListLanguageModelsCommandInput, ListLanguageModelsCommandOutput } from "./commands/ListLanguageModelsCommand";
|
|
28
|
+
import { ListMedicalScribeJobsCommandInput, ListMedicalScribeJobsCommandOutput } from "./commands/ListMedicalScribeJobsCommand";
|
|
26
29
|
import { ListMedicalTranscriptionJobsCommandInput, ListMedicalTranscriptionJobsCommandOutput } from "./commands/ListMedicalTranscriptionJobsCommand";
|
|
27
30
|
import { ListMedicalVocabulariesCommandInput, ListMedicalVocabulariesCommandOutput } from "./commands/ListMedicalVocabulariesCommand";
|
|
28
31
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
@@ -30,6 +33,7 @@ import { ListTranscriptionJobsCommandInput, ListTranscriptionJobsCommandOutput }
|
|
|
30
33
|
import { ListVocabulariesCommandInput, ListVocabulariesCommandOutput } from "./commands/ListVocabulariesCommand";
|
|
31
34
|
import { ListVocabularyFiltersCommandInput, ListVocabularyFiltersCommandOutput } from "./commands/ListVocabularyFiltersCommand";
|
|
32
35
|
import { StartCallAnalyticsJobCommandInput, StartCallAnalyticsJobCommandOutput } from "./commands/StartCallAnalyticsJobCommand";
|
|
36
|
+
import { StartMedicalScribeJobCommandInput, StartMedicalScribeJobCommandOutput } from "./commands/StartMedicalScribeJobCommand";
|
|
33
37
|
import { StartMedicalTranscriptionJobCommandInput, StartMedicalTranscriptionJobCommandOutput } from "./commands/StartMedicalTranscriptionJobCommand";
|
|
34
38
|
import { StartTranscriptionJobCommandInput, StartTranscriptionJobCommandOutput } from "./commands/StartTranscriptionJobCommand";
|
|
35
39
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
@@ -88,6 +92,12 @@ export interface Transcribe {
|
|
|
88
92
|
deleteLanguageModel(args: DeleteLanguageModelCommandInput, options?: __HttpHandlerOptions): Promise<DeleteLanguageModelCommandOutput>;
|
|
89
93
|
deleteLanguageModel(args: DeleteLanguageModelCommandInput, cb: (err: any, data?: DeleteLanguageModelCommandOutput) => void): void;
|
|
90
94
|
deleteLanguageModel(args: DeleteLanguageModelCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteLanguageModelCommandOutput) => void): void;
|
|
95
|
+
/**
|
|
96
|
+
* @see {@link DeleteMedicalScribeJobCommand}
|
|
97
|
+
*/
|
|
98
|
+
deleteMedicalScribeJob(args: DeleteMedicalScribeJobCommandInput, options?: __HttpHandlerOptions): Promise<DeleteMedicalScribeJobCommandOutput>;
|
|
99
|
+
deleteMedicalScribeJob(args: DeleteMedicalScribeJobCommandInput, cb: (err: any, data?: DeleteMedicalScribeJobCommandOutput) => void): void;
|
|
100
|
+
deleteMedicalScribeJob(args: DeleteMedicalScribeJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteMedicalScribeJobCommandOutput) => void): void;
|
|
91
101
|
/**
|
|
92
102
|
* @see {@link DeleteMedicalTranscriptionJobCommand}
|
|
93
103
|
*/
|
|
@@ -136,6 +146,12 @@ export interface Transcribe {
|
|
|
136
146
|
getCallAnalyticsJob(args: GetCallAnalyticsJobCommandInput, options?: __HttpHandlerOptions): Promise<GetCallAnalyticsJobCommandOutput>;
|
|
137
147
|
getCallAnalyticsJob(args: GetCallAnalyticsJobCommandInput, cb: (err: any, data?: GetCallAnalyticsJobCommandOutput) => void): void;
|
|
138
148
|
getCallAnalyticsJob(args: GetCallAnalyticsJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetCallAnalyticsJobCommandOutput) => void): void;
|
|
149
|
+
/**
|
|
150
|
+
* @see {@link GetMedicalScribeJobCommand}
|
|
151
|
+
*/
|
|
152
|
+
getMedicalScribeJob(args: GetMedicalScribeJobCommandInput, options?: __HttpHandlerOptions): Promise<GetMedicalScribeJobCommandOutput>;
|
|
153
|
+
getMedicalScribeJob(args: GetMedicalScribeJobCommandInput, cb: (err: any, data?: GetMedicalScribeJobCommandOutput) => void): void;
|
|
154
|
+
getMedicalScribeJob(args: GetMedicalScribeJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetMedicalScribeJobCommandOutput) => void): void;
|
|
139
155
|
/**
|
|
140
156
|
* @see {@link GetMedicalTranscriptionJobCommand}
|
|
141
157
|
*/
|
|
@@ -184,6 +200,12 @@ export interface Transcribe {
|
|
|
184
200
|
listLanguageModels(args: ListLanguageModelsCommandInput, options?: __HttpHandlerOptions): Promise<ListLanguageModelsCommandOutput>;
|
|
185
201
|
listLanguageModels(args: ListLanguageModelsCommandInput, cb: (err: any, data?: ListLanguageModelsCommandOutput) => void): void;
|
|
186
202
|
listLanguageModels(args: ListLanguageModelsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListLanguageModelsCommandOutput) => void): void;
|
|
203
|
+
/**
|
|
204
|
+
* @see {@link ListMedicalScribeJobsCommand}
|
|
205
|
+
*/
|
|
206
|
+
listMedicalScribeJobs(args: ListMedicalScribeJobsCommandInput, options?: __HttpHandlerOptions): Promise<ListMedicalScribeJobsCommandOutput>;
|
|
207
|
+
listMedicalScribeJobs(args: ListMedicalScribeJobsCommandInput, cb: (err: any, data?: ListMedicalScribeJobsCommandOutput) => void): void;
|
|
208
|
+
listMedicalScribeJobs(args: ListMedicalScribeJobsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListMedicalScribeJobsCommandOutput) => void): void;
|
|
187
209
|
/**
|
|
188
210
|
* @see {@link ListMedicalTranscriptionJobsCommand}
|
|
189
211
|
*/
|
|
@@ -226,6 +248,12 @@ export interface Transcribe {
|
|
|
226
248
|
startCallAnalyticsJob(args: StartCallAnalyticsJobCommandInput, options?: __HttpHandlerOptions): Promise<StartCallAnalyticsJobCommandOutput>;
|
|
227
249
|
startCallAnalyticsJob(args: StartCallAnalyticsJobCommandInput, cb: (err: any, data?: StartCallAnalyticsJobCommandOutput) => void): void;
|
|
228
250
|
startCallAnalyticsJob(args: StartCallAnalyticsJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartCallAnalyticsJobCommandOutput) => void): void;
|
|
251
|
+
/**
|
|
252
|
+
* @see {@link StartMedicalScribeJobCommand}
|
|
253
|
+
*/
|
|
254
|
+
startMedicalScribeJob(args: StartMedicalScribeJobCommandInput, options?: __HttpHandlerOptions): Promise<StartMedicalScribeJobCommandOutput>;
|
|
255
|
+
startMedicalScribeJob(args: StartMedicalScribeJobCommandInput, cb: (err: any, data?: StartMedicalScribeJobCommandOutput) => void): void;
|
|
256
|
+
startMedicalScribeJob(args: StartMedicalScribeJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartMedicalScribeJobCommandOutput) => void): void;
|
|
229
257
|
/**
|
|
230
258
|
* @see {@link StartMedicalTranscriptionJobCommand}
|
|
231
259
|
*/
|
|
@@ -16,6 +16,7 @@ import { CreateVocabularyFilterCommandInput, CreateVocabularyFilterCommandOutput
|
|
|
16
16
|
import { DeleteCallAnalyticsCategoryCommandInput, DeleteCallAnalyticsCategoryCommandOutput } from "./commands/DeleteCallAnalyticsCategoryCommand";
|
|
17
17
|
import { DeleteCallAnalyticsJobCommandInput, DeleteCallAnalyticsJobCommandOutput } from "./commands/DeleteCallAnalyticsJobCommand";
|
|
18
18
|
import { DeleteLanguageModelCommandInput, DeleteLanguageModelCommandOutput } from "./commands/DeleteLanguageModelCommand";
|
|
19
|
+
import { DeleteMedicalScribeJobCommandInput, DeleteMedicalScribeJobCommandOutput } from "./commands/DeleteMedicalScribeJobCommand";
|
|
19
20
|
import { DeleteMedicalTranscriptionJobCommandInput, DeleteMedicalTranscriptionJobCommandOutput } from "./commands/DeleteMedicalTranscriptionJobCommand";
|
|
20
21
|
import { DeleteMedicalVocabularyCommandInput, DeleteMedicalVocabularyCommandOutput } from "./commands/DeleteMedicalVocabularyCommand";
|
|
21
22
|
import { DeleteTranscriptionJobCommandInput, DeleteTranscriptionJobCommandOutput } from "./commands/DeleteTranscriptionJobCommand";
|
|
@@ -24,6 +25,7 @@ import { DeleteVocabularyFilterCommandInput, DeleteVocabularyFilterCommandOutput
|
|
|
24
25
|
import { DescribeLanguageModelCommandInput, DescribeLanguageModelCommandOutput } from "./commands/DescribeLanguageModelCommand";
|
|
25
26
|
import { GetCallAnalyticsCategoryCommandInput, GetCallAnalyticsCategoryCommandOutput } from "./commands/GetCallAnalyticsCategoryCommand";
|
|
26
27
|
import { GetCallAnalyticsJobCommandInput, GetCallAnalyticsJobCommandOutput } from "./commands/GetCallAnalyticsJobCommand";
|
|
28
|
+
import { GetMedicalScribeJobCommandInput, GetMedicalScribeJobCommandOutput } from "./commands/GetMedicalScribeJobCommand";
|
|
27
29
|
import { GetMedicalTranscriptionJobCommandInput, GetMedicalTranscriptionJobCommandOutput } from "./commands/GetMedicalTranscriptionJobCommand";
|
|
28
30
|
import { GetMedicalVocabularyCommandInput, GetMedicalVocabularyCommandOutput } from "./commands/GetMedicalVocabularyCommand";
|
|
29
31
|
import { GetTranscriptionJobCommandInput, GetTranscriptionJobCommandOutput } from "./commands/GetTranscriptionJobCommand";
|
|
@@ -32,6 +34,7 @@ import { GetVocabularyFilterCommandInput, GetVocabularyFilterCommandOutput } fro
|
|
|
32
34
|
import { ListCallAnalyticsCategoriesCommandInput, ListCallAnalyticsCategoriesCommandOutput } from "./commands/ListCallAnalyticsCategoriesCommand";
|
|
33
35
|
import { ListCallAnalyticsJobsCommandInput, ListCallAnalyticsJobsCommandOutput } from "./commands/ListCallAnalyticsJobsCommand";
|
|
34
36
|
import { ListLanguageModelsCommandInput, ListLanguageModelsCommandOutput } from "./commands/ListLanguageModelsCommand";
|
|
37
|
+
import { ListMedicalScribeJobsCommandInput, ListMedicalScribeJobsCommandOutput } from "./commands/ListMedicalScribeJobsCommand";
|
|
35
38
|
import { ListMedicalTranscriptionJobsCommandInput, ListMedicalTranscriptionJobsCommandOutput } from "./commands/ListMedicalTranscriptionJobsCommand";
|
|
36
39
|
import { ListMedicalVocabulariesCommandInput, ListMedicalVocabulariesCommandOutput } from "./commands/ListMedicalVocabulariesCommand";
|
|
37
40
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
@@ -39,6 +42,7 @@ import { ListTranscriptionJobsCommandInput, ListTranscriptionJobsCommandOutput }
|
|
|
39
42
|
import { ListVocabulariesCommandInput, ListVocabulariesCommandOutput } from "./commands/ListVocabulariesCommand";
|
|
40
43
|
import { ListVocabularyFiltersCommandInput, ListVocabularyFiltersCommandOutput } from "./commands/ListVocabularyFiltersCommand";
|
|
41
44
|
import { StartCallAnalyticsJobCommandInput, StartCallAnalyticsJobCommandOutput } from "./commands/StartCallAnalyticsJobCommand";
|
|
45
|
+
import { StartMedicalScribeJobCommandInput, StartMedicalScribeJobCommandOutput } from "./commands/StartMedicalScribeJobCommand";
|
|
42
46
|
import { StartMedicalTranscriptionJobCommandInput, StartMedicalTranscriptionJobCommandOutput } from "./commands/StartMedicalTranscriptionJobCommand";
|
|
43
47
|
import { StartTranscriptionJobCommandInput, StartTranscriptionJobCommandOutput } from "./commands/StartTranscriptionJobCommand";
|
|
44
48
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
@@ -53,11 +57,11 @@ export { __Client };
|
|
|
53
57
|
/**
|
|
54
58
|
* @public
|
|
55
59
|
*/
|
|
56
|
-
export type ServiceInputTypes = CreateCallAnalyticsCategoryCommandInput | CreateLanguageModelCommandInput | CreateMedicalVocabularyCommandInput | CreateVocabularyCommandInput | CreateVocabularyFilterCommandInput | DeleteCallAnalyticsCategoryCommandInput | DeleteCallAnalyticsJobCommandInput | DeleteLanguageModelCommandInput | DeleteMedicalTranscriptionJobCommandInput | DeleteMedicalVocabularyCommandInput | DeleteTranscriptionJobCommandInput | DeleteVocabularyCommandInput | DeleteVocabularyFilterCommandInput | DescribeLanguageModelCommandInput | GetCallAnalyticsCategoryCommandInput | GetCallAnalyticsJobCommandInput | GetMedicalTranscriptionJobCommandInput | GetMedicalVocabularyCommandInput | GetTranscriptionJobCommandInput | GetVocabularyCommandInput | GetVocabularyFilterCommandInput | ListCallAnalyticsCategoriesCommandInput | ListCallAnalyticsJobsCommandInput | ListLanguageModelsCommandInput | ListMedicalTranscriptionJobsCommandInput | ListMedicalVocabulariesCommandInput | ListTagsForResourceCommandInput | ListTranscriptionJobsCommandInput | ListVocabulariesCommandInput | ListVocabularyFiltersCommandInput | StartCallAnalyticsJobCommandInput | StartMedicalTranscriptionJobCommandInput | StartTranscriptionJobCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateCallAnalyticsCategoryCommandInput | UpdateMedicalVocabularyCommandInput | UpdateVocabularyCommandInput | UpdateVocabularyFilterCommandInput;
|
|
60
|
+
export type ServiceInputTypes = CreateCallAnalyticsCategoryCommandInput | CreateLanguageModelCommandInput | CreateMedicalVocabularyCommandInput | CreateVocabularyCommandInput | CreateVocabularyFilterCommandInput | DeleteCallAnalyticsCategoryCommandInput | DeleteCallAnalyticsJobCommandInput | DeleteLanguageModelCommandInput | DeleteMedicalScribeJobCommandInput | DeleteMedicalTranscriptionJobCommandInput | DeleteMedicalVocabularyCommandInput | DeleteTranscriptionJobCommandInput | DeleteVocabularyCommandInput | DeleteVocabularyFilterCommandInput | DescribeLanguageModelCommandInput | GetCallAnalyticsCategoryCommandInput | GetCallAnalyticsJobCommandInput | GetMedicalScribeJobCommandInput | GetMedicalTranscriptionJobCommandInput | GetMedicalVocabularyCommandInput | GetTranscriptionJobCommandInput | GetVocabularyCommandInput | GetVocabularyFilterCommandInput | ListCallAnalyticsCategoriesCommandInput | ListCallAnalyticsJobsCommandInput | ListLanguageModelsCommandInput | ListMedicalScribeJobsCommandInput | ListMedicalTranscriptionJobsCommandInput | ListMedicalVocabulariesCommandInput | ListTagsForResourceCommandInput | ListTranscriptionJobsCommandInput | ListVocabulariesCommandInput | ListVocabularyFiltersCommandInput | StartCallAnalyticsJobCommandInput | StartMedicalScribeJobCommandInput | StartMedicalTranscriptionJobCommandInput | StartTranscriptionJobCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateCallAnalyticsCategoryCommandInput | UpdateMedicalVocabularyCommandInput | UpdateVocabularyCommandInput | UpdateVocabularyFilterCommandInput;
|
|
57
61
|
/**
|
|
58
62
|
* @public
|
|
59
63
|
*/
|
|
60
|
-
export type ServiceOutputTypes = CreateCallAnalyticsCategoryCommandOutput | CreateLanguageModelCommandOutput | CreateMedicalVocabularyCommandOutput | CreateVocabularyCommandOutput | CreateVocabularyFilterCommandOutput | DeleteCallAnalyticsCategoryCommandOutput | DeleteCallAnalyticsJobCommandOutput | DeleteLanguageModelCommandOutput | DeleteMedicalTranscriptionJobCommandOutput | DeleteMedicalVocabularyCommandOutput | DeleteTranscriptionJobCommandOutput | DeleteVocabularyCommandOutput | DeleteVocabularyFilterCommandOutput | DescribeLanguageModelCommandOutput | GetCallAnalyticsCategoryCommandOutput | GetCallAnalyticsJobCommandOutput | GetMedicalTranscriptionJobCommandOutput | GetMedicalVocabularyCommandOutput | GetTranscriptionJobCommandOutput | GetVocabularyCommandOutput | GetVocabularyFilterCommandOutput | ListCallAnalyticsCategoriesCommandOutput | ListCallAnalyticsJobsCommandOutput | ListLanguageModelsCommandOutput | ListMedicalTranscriptionJobsCommandOutput | ListMedicalVocabulariesCommandOutput | ListTagsForResourceCommandOutput | ListTranscriptionJobsCommandOutput | ListVocabulariesCommandOutput | ListVocabularyFiltersCommandOutput | StartCallAnalyticsJobCommandOutput | StartMedicalTranscriptionJobCommandOutput | StartTranscriptionJobCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateCallAnalyticsCategoryCommandOutput | UpdateMedicalVocabularyCommandOutput | UpdateVocabularyCommandOutput | UpdateVocabularyFilterCommandOutput;
|
|
64
|
+
export type ServiceOutputTypes = CreateCallAnalyticsCategoryCommandOutput | CreateLanguageModelCommandOutput | CreateMedicalVocabularyCommandOutput | CreateVocabularyCommandOutput | CreateVocabularyFilterCommandOutput | DeleteCallAnalyticsCategoryCommandOutput | DeleteCallAnalyticsJobCommandOutput | DeleteLanguageModelCommandOutput | DeleteMedicalScribeJobCommandOutput | DeleteMedicalTranscriptionJobCommandOutput | DeleteMedicalVocabularyCommandOutput | DeleteTranscriptionJobCommandOutput | DeleteVocabularyCommandOutput | DeleteVocabularyFilterCommandOutput | DescribeLanguageModelCommandOutput | GetCallAnalyticsCategoryCommandOutput | GetCallAnalyticsJobCommandOutput | GetMedicalScribeJobCommandOutput | GetMedicalTranscriptionJobCommandOutput | GetMedicalVocabularyCommandOutput | GetTranscriptionJobCommandOutput | GetVocabularyCommandOutput | GetVocabularyFilterCommandOutput | ListCallAnalyticsCategoriesCommandOutput | ListCallAnalyticsJobsCommandOutput | ListLanguageModelsCommandOutput | ListMedicalScribeJobsCommandOutput | ListMedicalTranscriptionJobsCommandOutput | ListMedicalVocabulariesCommandOutput | ListTagsForResourceCommandOutput | ListTranscriptionJobsCommandOutput | ListVocabulariesCommandOutput | ListVocabularyFiltersCommandOutput | StartCallAnalyticsJobCommandOutput | StartMedicalScribeJobCommandOutput | StartMedicalTranscriptionJobCommandOutput | StartTranscriptionJobCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateCallAnalyticsCategoryCommandOutput | UpdateMedicalVocabularyCommandOutput | UpdateVocabularyCommandOutput | UpdateVocabularyFilterCommandOutput;
|
|
61
65
|
/**
|
|
62
66
|
* @public
|
|
63
67
|
*/
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { DeleteMedicalScribeJobRequest } from "../models/models_0";
|
|
5
|
+
import { ServiceInputTypes, ServiceOutputTypes, TranscribeClientResolvedConfig } from "../TranscribeClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeleteMedicalScribeJobCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteMedicalScribeJobCommandInput extends DeleteMedicalScribeJobRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteMedicalScribeJobCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteMedicalScribeJobCommandOutput extends __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Deletes a Medical Scribe job. To use this operation, specify the name of the
|
|
27
|
+
* job you want to delete using <code>MedicalScribeJobName</code>. Job names are
|
|
28
|
+
* case sensitive.</p>
|
|
29
|
+
* @example
|
|
30
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
31
|
+
* ```javascript
|
|
32
|
+
* import { TranscribeClient, DeleteMedicalScribeJobCommand } from "@aws-sdk/client-transcribe"; // ES Modules import
|
|
33
|
+
* // const { TranscribeClient, DeleteMedicalScribeJobCommand } = require("@aws-sdk/client-transcribe"); // CommonJS import
|
|
34
|
+
* const client = new TranscribeClient(config);
|
|
35
|
+
* const input = { // DeleteMedicalScribeJobRequest
|
|
36
|
+
* MedicalScribeJobName: "STRING_VALUE", // required
|
|
37
|
+
* };
|
|
38
|
+
* const command = new DeleteMedicalScribeJobCommand(input);
|
|
39
|
+
* const response = await client.send(command);
|
|
40
|
+
* // {};
|
|
41
|
+
*
|
|
42
|
+
* ```
|
|
43
|
+
*
|
|
44
|
+
* @param DeleteMedicalScribeJobCommandInput - {@link DeleteMedicalScribeJobCommandInput}
|
|
45
|
+
* @returns {@link DeleteMedicalScribeJobCommandOutput}
|
|
46
|
+
* @see {@link DeleteMedicalScribeJobCommandInput} for command's `input` shape.
|
|
47
|
+
* @see {@link DeleteMedicalScribeJobCommandOutput} for command's `response` shape.
|
|
48
|
+
* @see {@link TranscribeClientResolvedConfig | config} for TranscribeClient's `config` shape.
|
|
49
|
+
*
|
|
50
|
+
* @throws {@link BadRequestException} (client fault)
|
|
51
|
+
* <p>Your request didn't pass one or more validation tests. This can occur when the entity
|
|
52
|
+
* you're trying to delete doesn't exist or if it's in a non-terminal state (such as
|
|
53
|
+
* <code>IN PROGRESS</code>). See the exception message field for more
|
|
54
|
+
* information.</p>
|
|
55
|
+
*
|
|
56
|
+
* @throws {@link InternalFailureException} (server fault)
|
|
57
|
+
* <p>There was an internal error. Check the error message, correct the issue, and try your
|
|
58
|
+
* request again.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link LimitExceededException} (client fault)
|
|
61
|
+
* <p>You've either sent too many requests or your input file is too long. Wait before
|
|
62
|
+
* retrying your request, or use a smaller file and try your request again.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link TranscribeServiceException}
|
|
65
|
+
* <p>Base exception class for all service exceptions from Transcribe service.</p>
|
|
66
|
+
*
|
|
67
|
+
*/
|
|
68
|
+
export declare class DeleteMedicalScribeJobCommand extends $Command<DeleteMedicalScribeJobCommandInput, DeleteMedicalScribeJobCommandOutput, TranscribeClientResolvedConfig> {
|
|
69
|
+
readonly input: DeleteMedicalScribeJobCommandInput;
|
|
70
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
71
|
+
/**
|
|
72
|
+
* @public
|
|
73
|
+
*/
|
|
74
|
+
constructor(input: DeleteMedicalScribeJobCommandInput);
|
|
75
|
+
/**
|
|
76
|
+
* @internal
|
|
77
|
+
*/
|
|
78
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TranscribeClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteMedicalScribeJobCommandInput, DeleteMedicalScribeJobCommandOutput>;
|
|
79
|
+
/**
|
|
80
|
+
* @internal
|
|
81
|
+
*/
|
|
82
|
+
private serialize;
|
|
83
|
+
/**
|
|
84
|
+
* @internal
|
|
85
|
+
*/
|
|
86
|
+
private deserialize;
|
|
87
|
+
}
|