@aws-sdk/client-transcribe-streaming 3.169.0 → 3.170.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/dist-types/ts3.4/TranscribeStreaming.d.ts +40 -15
- package/dist-types/ts3.4/TranscribeStreamingClient.d.ts +166 -82
- package/dist-types/ts3.4/commands/StartMedicalStreamTranscriptionCommand.d.ts +41 -17
- package/dist-types/ts3.4/commands/StartStreamTranscriptionCommand.d.ts +41 -17
- package/dist-types/ts3.4/commands/index.d.ts +2 -2
- package/dist-types/ts3.4/endpoints.d.ts +2 -2
- package/dist-types/ts3.4/index.d.ts +5 -5
- package/dist-types/ts3.4/models/TranscribeStreamingServiceException.d.ts +8 -6
- package/dist-types/ts3.4/models/index.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +648 -625
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +32 -8
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +70 -40
- package/dist-types/ts3.4/runtimeConfig.d.ts +70 -40
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +72 -40
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +13 -11
- package/package.json +40 -40
|
@@ -1,625 +1,648 @@
|
|
|
1
|
-
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
-
import { TranscribeStreamingServiceException as __BaseException } from "./TranscribeStreamingServiceException";
|
|
3
|
-
|
|
4
|
-
export interface Entity {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
export declare
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
export
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
}
|
|
323
|
-
export declare enum Specialty {
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
}
|
|
331
|
-
export declare enum Type {
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
}
|
|
335
|
-
export interface StartMedicalStreamTranscriptionRequest {
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
}
|
|
445
|
-
|
|
446
|
-
export
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { TranscribeStreamingServiceException as __BaseException } from "./TranscribeStreamingServiceException";
|
|
3
|
+
|
|
4
|
+
export interface Entity {
|
|
5
|
+
StartTime?: number;
|
|
6
|
+
|
|
7
|
+
EndTime?: number;
|
|
8
|
+
|
|
9
|
+
Category?: string;
|
|
10
|
+
|
|
11
|
+
Type?: string;
|
|
12
|
+
|
|
13
|
+
Content?: string;
|
|
14
|
+
|
|
15
|
+
Confidence?: number;
|
|
16
|
+
}
|
|
17
|
+
export declare enum ItemType {
|
|
18
|
+
PRONUNCIATION = "pronunciation",
|
|
19
|
+
PUNCTUATION = "punctuation",
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export interface Item {
|
|
23
|
+
StartTime?: number;
|
|
24
|
+
|
|
25
|
+
EndTime?: number;
|
|
26
|
+
|
|
27
|
+
Type?: ItemType | string;
|
|
28
|
+
|
|
29
|
+
Content?: string;
|
|
30
|
+
|
|
31
|
+
VocabularyFilterMatch?: boolean;
|
|
32
|
+
|
|
33
|
+
Speaker?: string;
|
|
34
|
+
|
|
35
|
+
Confidence?: number;
|
|
36
|
+
|
|
37
|
+
Stable?: boolean;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export interface Alternative {
|
|
41
|
+
Transcript?: string;
|
|
42
|
+
|
|
43
|
+
Items?: Item[];
|
|
44
|
+
|
|
45
|
+
Entities?: Entity[];
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
export interface AudioEvent {
|
|
49
|
+
AudioChunk?: Uint8Array;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export declare type AudioStream =
|
|
53
|
+
| AudioStream.AudioEventMember
|
|
54
|
+
| AudioStream.$UnknownMember;
|
|
55
|
+
export declare namespace AudioStream {
|
|
56
|
+
interface AudioEventMember {
|
|
57
|
+
AudioEvent: AudioEvent;
|
|
58
|
+
$unknown?: never;
|
|
59
|
+
}
|
|
60
|
+
interface $UnknownMember {
|
|
61
|
+
AudioEvent?: never;
|
|
62
|
+
$unknown: [string, any];
|
|
63
|
+
}
|
|
64
|
+
interface Visitor<T> {
|
|
65
|
+
AudioEvent: (value: AudioEvent) => T;
|
|
66
|
+
_: (name: string, value: any) => T;
|
|
67
|
+
}
|
|
68
|
+
const visit: <T>(value: AudioStream, visitor: Visitor<T>) => T;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
export declare class BadRequestException extends __BaseException {
|
|
72
|
+
readonly name: "BadRequestException";
|
|
73
|
+
readonly $fault: "client";
|
|
74
|
+
Message?: string;
|
|
75
|
+
|
|
76
|
+
constructor(
|
|
77
|
+
opts: __ExceptionOptionType<BadRequestException, __BaseException>
|
|
78
|
+
);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
export declare class ConflictException extends __BaseException {
|
|
82
|
+
readonly name: "ConflictException";
|
|
83
|
+
readonly $fault: "client";
|
|
84
|
+
Message?: string;
|
|
85
|
+
|
|
86
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
87
|
+
}
|
|
88
|
+
export declare enum ContentIdentificationType {
|
|
89
|
+
PII = "PII",
|
|
90
|
+
}
|
|
91
|
+
export declare enum ContentRedactionType {
|
|
92
|
+
PII = "PII",
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
export declare class InternalFailureException extends __BaseException {
|
|
96
|
+
readonly name: "InternalFailureException";
|
|
97
|
+
readonly $fault: "server";
|
|
98
|
+
Message?: string;
|
|
99
|
+
|
|
100
|
+
constructor(
|
|
101
|
+
opts: __ExceptionOptionType<InternalFailureException, __BaseException>
|
|
102
|
+
);
|
|
103
|
+
}
|
|
104
|
+
export declare enum LanguageCode {
|
|
105
|
+
DE_DE = "de-DE",
|
|
106
|
+
EN_AU = "en-AU",
|
|
107
|
+
EN_GB = "en-GB",
|
|
108
|
+
EN_US = "en-US",
|
|
109
|
+
ES_US = "es-US",
|
|
110
|
+
FR_CA = "fr-CA",
|
|
111
|
+
FR_FR = "fr-FR",
|
|
112
|
+
IT_IT = "it-IT",
|
|
113
|
+
JA_JP = "ja-JP",
|
|
114
|
+
KO_KR = "ko-KR",
|
|
115
|
+
PT_BR = "pt-BR",
|
|
116
|
+
ZH_CN = "zh-CN",
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
export interface LanguageWithScore {
|
|
120
|
+
LanguageCode?: LanguageCode | string;
|
|
121
|
+
|
|
122
|
+
Score?: number;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
export declare class LimitExceededException extends __BaseException {
|
|
126
|
+
readonly name: "LimitExceededException";
|
|
127
|
+
readonly $fault: "client";
|
|
128
|
+
Message?: string;
|
|
129
|
+
|
|
130
|
+
constructor(
|
|
131
|
+
opts: __ExceptionOptionType<LimitExceededException, __BaseException>
|
|
132
|
+
);
|
|
133
|
+
}
|
|
134
|
+
export declare enum MediaEncoding {
|
|
135
|
+
FLAC = "flac",
|
|
136
|
+
OGG_OPUS = "ogg-opus",
|
|
137
|
+
PCM = "pcm",
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
export interface MedicalEntity {
|
|
141
|
+
StartTime?: number;
|
|
142
|
+
|
|
143
|
+
EndTime?: number;
|
|
144
|
+
|
|
145
|
+
Category?: string;
|
|
146
|
+
|
|
147
|
+
Content?: string;
|
|
148
|
+
|
|
149
|
+
Confidence?: number;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
export interface MedicalItem {
|
|
153
|
+
StartTime?: number;
|
|
154
|
+
|
|
155
|
+
EndTime?: number;
|
|
156
|
+
|
|
157
|
+
Type?: ItemType | string;
|
|
158
|
+
|
|
159
|
+
Content?: string;
|
|
160
|
+
|
|
161
|
+
Confidence?: number;
|
|
162
|
+
|
|
163
|
+
Speaker?: string;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
export interface MedicalAlternative {
|
|
167
|
+
Transcript?: string;
|
|
168
|
+
|
|
169
|
+
Items?: MedicalItem[];
|
|
170
|
+
|
|
171
|
+
Entities?: MedicalEntity[];
|
|
172
|
+
}
|
|
173
|
+
export declare enum MedicalContentIdentificationType {
|
|
174
|
+
PHI = "PHI",
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
export interface MedicalResult {
|
|
178
|
+
ResultId?: string;
|
|
179
|
+
|
|
180
|
+
StartTime?: number;
|
|
181
|
+
|
|
182
|
+
EndTime?: number;
|
|
183
|
+
|
|
184
|
+
IsPartial?: boolean;
|
|
185
|
+
|
|
186
|
+
Alternatives?: MedicalAlternative[];
|
|
187
|
+
|
|
188
|
+
ChannelId?: string;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
export interface MedicalTranscript {
|
|
192
|
+
Results?: MedicalResult[];
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
export interface MedicalTranscriptEvent {
|
|
196
|
+
Transcript?: MedicalTranscript;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
export declare class ServiceUnavailableException extends __BaseException {
|
|
200
|
+
readonly name: "ServiceUnavailableException";
|
|
201
|
+
readonly $fault: "server";
|
|
202
|
+
Message?: string;
|
|
203
|
+
|
|
204
|
+
constructor(
|
|
205
|
+
opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>
|
|
206
|
+
);
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
export declare type MedicalTranscriptResultStream =
|
|
210
|
+
| MedicalTranscriptResultStream.BadRequestExceptionMember
|
|
211
|
+
| MedicalTranscriptResultStream.ConflictExceptionMember
|
|
212
|
+
| MedicalTranscriptResultStream.InternalFailureExceptionMember
|
|
213
|
+
| MedicalTranscriptResultStream.LimitExceededExceptionMember
|
|
214
|
+
| MedicalTranscriptResultStream.ServiceUnavailableExceptionMember
|
|
215
|
+
| MedicalTranscriptResultStream.TranscriptEventMember
|
|
216
|
+
| MedicalTranscriptResultStream.$UnknownMember;
|
|
217
|
+
export declare namespace MedicalTranscriptResultStream {
|
|
218
|
+
interface TranscriptEventMember {
|
|
219
|
+
TranscriptEvent: MedicalTranscriptEvent;
|
|
220
|
+
BadRequestException?: never;
|
|
221
|
+
LimitExceededException?: never;
|
|
222
|
+
InternalFailureException?: never;
|
|
223
|
+
ConflictException?: never;
|
|
224
|
+
ServiceUnavailableException?: never;
|
|
225
|
+
$unknown?: never;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
interface BadRequestExceptionMember {
|
|
229
|
+
TranscriptEvent?: never;
|
|
230
|
+
BadRequestException: BadRequestException;
|
|
231
|
+
LimitExceededException?: never;
|
|
232
|
+
InternalFailureException?: never;
|
|
233
|
+
ConflictException?: never;
|
|
234
|
+
ServiceUnavailableException?: never;
|
|
235
|
+
$unknown?: never;
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
interface LimitExceededExceptionMember {
|
|
239
|
+
TranscriptEvent?: never;
|
|
240
|
+
BadRequestException?: never;
|
|
241
|
+
LimitExceededException: LimitExceededException;
|
|
242
|
+
InternalFailureException?: never;
|
|
243
|
+
ConflictException?: never;
|
|
244
|
+
ServiceUnavailableException?: never;
|
|
245
|
+
$unknown?: never;
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
interface InternalFailureExceptionMember {
|
|
249
|
+
TranscriptEvent?: never;
|
|
250
|
+
BadRequestException?: never;
|
|
251
|
+
LimitExceededException?: never;
|
|
252
|
+
InternalFailureException: InternalFailureException;
|
|
253
|
+
ConflictException?: never;
|
|
254
|
+
ServiceUnavailableException?: never;
|
|
255
|
+
$unknown?: never;
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
interface ConflictExceptionMember {
|
|
259
|
+
TranscriptEvent?: never;
|
|
260
|
+
BadRequestException?: never;
|
|
261
|
+
LimitExceededException?: never;
|
|
262
|
+
InternalFailureException?: never;
|
|
263
|
+
ConflictException: ConflictException;
|
|
264
|
+
ServiceUnavailableException?: never;
|
|
265
|
+
$unknown?: never;
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
interface ServiceUnavailableExceptionMember {
|
|
269
|
+
TranscriptEvent?: never;
|
|
270
|
+
BadRequestException?: never;
|
|
271
|
+
LimitExceededException?: never;
|
|
272
|
+
InternalFailureException?: never;
|
|
273
|
+
ConflictException?: never;
|
|
274
|
+
ServiceUnavailableException: ServiceUnavailableException;
|
|
275
|
+
$unknown?: never;
|
|
276
|
+
}
|
|
277
|
+
interface $UnknownMember {
|
|
278
|
+
TranscriptEvent?: never;
|
|
279
|
+
BadRequestException?: never;
|
|
280
|
+
LimitExceededException?: never;
|
|
281
|
+
InternalFailureException?: never;
|
|
282
|
+
ConflictException?: never;
|
|
283
|
+
ServiceUnavailableException?: never;
|
|
284
|
+
$unknown: [string, any];
|
|
285
|
+
}
|
|
286
|
+
interface Visitor<T> {
|
|
287
|
+
TranscriptEvent: (value: MedicalTranscriptEvent) => T;
|
|
288
|
+
BadRequestException: (value: BadRequestException) => T;
|
|
289
|
+
LimitExceededException: (value: LimitExceededException) => T;
|
|
290
|
+
InternalFailureException: (value: InternalFailureException) => T;
|
|
291
|
+
ConflictException: (value: ConflictException) => T;
|
|
292
|
+
ServiceUnavailableException: (value: ServiceUnavailableException) => T;
|
|
293
|
+
_: (name: string, value: any) => T;
|
|
294
|
+
}
|
|
295
|
+
const visit: <T>(
|
|
296
|
+
value: MedicalTranscriptResultStream,
|
|
297
|
+
visitor: Visitor<T>
|
|
298
|
+
) => T;
|
|
299
|
+
}
|
|
300
|
+
export declare enum PartialResultsStability {
|
|
301
|
+
HIGH = "high",
|
|
302
|
+
LOW = "low",
|
|
303
|
+
MEDIUM = "medium",
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
export interface Result {
|
|
307
|
+
ResultId?: string;
|
|
308
|
+
|
|
309
|
+
StartTime?: number;
|
|
310
|
+
|
|
311
|
+
EndTime?: number;
|
|
312
|
+
|
|
313
|
+
IsPartial?: boolean;
|
|
314
|
+
|
|
315
|
+
Alternatives?: Alternative[];
|
|
316
|
+
|
|
317
|
+
ChannelId?: string;
|
|
318
|
+
|
|
319
|
+
LanguageCode?: LanguageCode | string;
|
|
320
|
+
|
|
321
|
+
LanguageIdentification?: LanguageWithScore[];
|
|
322
|
+
}
|
|
323
|
+
export declare enum Specialty {
|
|
324
|
+
CARDIOLOGY = "CARDIOLOGY",
|
|
325
|
+
NEUROLOGY = "NEUROLOGY",
|
|
326
|
+
ONCOLOGY = "ONCOLOGY",
|
|
327
|
+
PRIMARYCARE = "PRIMARYCARE",
|
|
328
|
+
RADIOLOGY = "RADIOLOGY",
|
|
329
|
+
UROLOGY = "UROLOGY",
|
|
330
|
+
}
|
|
331
|
+
export declare enum Type {
|
|
332
|
+
CONVERSATION = "CONVERSATION",
|
|
333
|
+
DICTATION = "DICTATION",
|
|
334
|
+
}
|
|
335
|
+
export interface StartMedicalStreamTranscriptionRequest {
|
|
336
|
+
LanguageCode: LanguageCode | string | undefined;
|
|
337
|
+
|
|
338
|
+
MediaSampleRateHertz: number | undefined;
|
|
339
|
+
|
|
340
|
+
MediaEncoding: MediaEncoding | string | undefined;
|
|
341
|
+
|
|
342
|
+
VocabularyName?: string;
|
|
343
|
+
|
|
344
|
+
Specialty: Specialty | string | undefined;
|
|
345
|
+
|
|
346
|
+
Type: Type | string | undefined;
|
|
347
|
+
|
|
348
|
+
ShowSpeakerLabel?: boolean;
|
|
349
|
+
|
|
350
|
+
SessionId?: string;
|
|
351
|
+
|
|
352
|
+
AudioStream: AsyncIterable<AudioStream> | undefined;
|
|
353
|
+
|
|
354
|
+
EnableChannelIdentification?: boolean;
|
|
355
|
+
|
|
356
|
+
NumberOfChannels?: number;
|
|
357
|
+
|
|
358
|
+
ContentIdentificationType?: MedicalContentIdentificationType | string;
|
|
359
|
+
}
|
|
360
|
+
export interface StartMedicalStreamTranscriptionResponse {
|
|
361
|
+
RequestId?: string;
|
|
362
|
+
|
|
363
|
+
LanguageCode?: LanguageCode | string;
|
|
364
|
+
|
|
365
|
+
MediaSampleRateHertz?: number;
|
|
366
|
+
|
|
367
|
+
MediaEncoding?: MediaEncoding | string;
|
|
368
|
+
|
|
369
|
+
VocabularyName?: string;
|
|
370
|
+
|
|
371
|
+
Specialty?: Specialty | string;
|
|
372
|
+
|
|
373
|
+
Type?: Type | string;
|
|
374
|
+
|
|
375
|
+
ShowSpeakerLabel?: boolean;
|
|
376
|
+
|
|
377
|
+
SessionId?: string;
|
|
378
|
+
|
|
379
|
+
TranscriptResultStream?: AsyncIterable<MedicalTranscriptResultStream>;
|
|
380
|
+
|
|
381
|
+
EnableChannelIdentification?: boolean;
|
|
382
|
+
|
|
383
|
+
NumberOfChannels?: number;
|
|
384
|
+
|
|
385
|
+
ContentIdentificationType?: MedicalContentIdentificationType | string;
|
|
386
|
+
}
|
|
387
|
+
export declare enum VocabularyFilterMethod {
|
|
388
|
+
MASK = "mask",
|
|
389
|
+
REMOVE = "remove",
|
|
390
|
+
TAG = "tag",
|
|
391
|
+
}
|
|
392
|
+
export interface StartStreamTranscriptionRequest {
|
|
393
|
+
LanguageCode?: LanguageCode | string;
|
|
394
|
+
|
|
395
|
+
MediaSampleRateHertz: number | undefined;
|
|
396
|
+
|
|
397
|
+
MediaEncoding: MediaEncoding | string | undefined;
|
|
398
|
+
|
|
399
|
+
VocabularyName?: string;
|
|
400
|
+
|
|
401
|
+
SessionId?: string;
|
|
402
|
+
|
|
403
|
+
AudioStream: AsyncIterable<AudioStream> | undefined;
|
|
404
|
+
|
|
405
|
+
VocabularyFilterName?: string;
|
|
406
|
+
|
|
407
|
+
VocabularyFilterMethod?: VocabularyFilterMethod | string;
|
|
408
|
+
|
|
409
|
+
ShowSpeakerLabel?: boolean;
|
|
410
|
+
|
|
411
|
+
EnableChannelIdentification?: boolean;
|
|
412
|
+
|
|
413
|
+
NumberOfChannels?: number;
|
|
414
|
+
|
|
415
|
+
EnablePartialResultsStabilization?: boolean;
|
|
416
|
+
|
|
417
|
+
PartialResultsStability?: PartialResultsStability | string;
|
|
418
|
+
|
|
419
|
+
ContentIdentificationType?: ContentIdentificationType | string;
|
|
420
|
+
|
|
421
|
+
ContentRedactionType?: ContentRedactionType | string;
|
|
422
|
+
|
|
423
|
+
PiiEntityTypes?: string;
|
|
424
|
+
|
|
425
|
+
LanguageModelName?: string;
|
|
426
|
+
|
|
427
|
+
IdentifyLanguage?: boolean;
|
|
428
|
+
|
|
429
|
+
LanguageOptions?: string;
|
|
430
|
+
|
|
431
|
+
PreferredLanguage?: LanguageCode | string;
|
|
432
|
+
|
|
433
|
+
VocabularyNames?: string;
|
|
434
|
+
|
|
435
|
+
VocabularyFilterNames?: string;
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
export interface Transcript {
|
|
439
|
+
Results?: Result[];
|
|
440
|
+
}
|
|
441
|
+
|
|
442
|
+
export interface TranscriptEvent {
|
|
443
|
+
Transcript?: Transcript;
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
export declare type TranscriptResultStream =
|
|
447
|
+
| TranscriptResultStream.BadRequestExceptionMember
|
|
448
|
+
| TranscriptResultStream.ConflictExceptionMember
|
|
449
|
+
| TranscriptResultStream.InternalFailureExceptionMember
|
|
450
|
+
| TranscriptResultStream.LimitExceededExceptionMember
|
|
451
|
+
| TranscriptResultStream.ServiceUnavailableExceptionMember
|
|
452
|
+
| TranscriptResultStream.TranscriptEventMember
|
|
453
|
+
| TranscriptResultStream.$UnknownMember;
|
|
454
|
+
export declare namespace TranscriptResultStream {
|
|
455
|
+
interface TranscriptEventMember {
|
|
456
|
+
TranscriptEvent: TranscriptEvent;
|
|
457
|
+
BadRequestException?: never;
|
|
458
|
+
LimitExceededException?: never;
|
|
459
|
+
InternalFailureException?: never;
|
|
460
|
+
ConflictException?: never;
|
|
461
|
+
ServiceUnavailableException?: never;
|
|
462
|
+
$unknown?: never;
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
interface BadRequestExceptionMember {
|
|
466
|
+
TranscriptEvent?: never;
|
|
467
|
+
BadRequestException: BadRequestException;
|
|
468
|
+
LimitExceededException?: never;
|
|
469
|
+
InternalFailureException?: never;
|
|
470
|
+
ConflictException?: never;
|
|
471
|
+
ServiceUnavailableException?: never;
|
|
472
|
+
$unknown?: never;
|
|
473
|
+
}
|
|
474
|
+
|
|
475
|
+
interface LimitExceededExceptionMember {
|
|
476
|
+
TranscriptEvent?: never;
|
|
477
|
+
BadRequestException?: never;
|
|
478
|
+
LimitExceededException: LimitExceededException;
|
|
479
|
+
InternalFailureException?: never;
|
|
480
|
+
ConflictException?: never;
|
|
481
|
+
ServiceUnavailableException?: never;
|
|
482
|
+
$unknown?: never;
|
|
483
|
+
}
|
|
484
|
+
|
|
485
|
+
interface InternalFailureExceptionMember {
|
|
486
|
+
TranscriptEvent?: never;
|
|
487
|
+
BadRequestException?: never;
|
|
488
|
+
LimitExceededException?: never;
|
|
489
|
+
InternalFailureException: InternalFailureException;
|
|
490
|
+
ConflictException?: never;
|
|
491
|
+
ServiceUnavailableException?: never;
|
|
492
|
+
$unknown?: never;
|
|
493
|
+
}
|
|
494
|
+
|
|
495
|
+
interface ConflictExceptionMember {
|
|
496
|
+
TranscriptEvent?: never;
|
|
497
|
+
BadRequestException?: never;
|
|
498
|
+
LimitExceededException?: never;
|
|
499
|
+
InternalFailureException?: never;
|
|
500
|
+
ConflictException: ConflictException;
|
|
501
|
+
ServiceUnavailableException?: never;
|
|
502
|
+
$unknown?: never;
|
|
503
|
+
}
|
|
504
|
+
|
|
505
|
+
interface ServiceUnavailableExceptionMember {
|
|
506
|
+
TranscriptEvent?: never;
|
|
507
|
+
BadRequestException?: never;
|
|
508
|
+
LimitExceededException?: never;
|
|
509
|
+
InternalFailureException?: never;
|
|
510
|
+
ConflictException?: never;
|
|
511
|
+
ServiceUnavailableException: ServiceUnavailableException;
|
|
512
|
+
$unknown?: never;
|
|
513
|
+
}
|
|
514
|
+
interface $UnknownMember {
|
|
515
|
+
TranscriptEvent?: never;
|
|
516
|
+
BadRequestException?: never;
|
|
517
|
+
LimitExceededException?: never;
|
|
518
|
+
InternalFailureException?: never;
|
|
519
|
+
ConflictException?: never;
|
|
520
|
+
ServiceUnavailableException?: never;
|
|
521
|
+
$unknown: [string, any];
|
|
522
|
+
}
|
|
523
|
+
interface Visitor<T> {
|
|
524
|
+
TranscriptEvent: (value: TranscriptEvent) => T;
|
|
525
|
+
BadRequestException: (value: BadRequestException) => T;
|
|
526
|
+
LimitExceededException: (value: LimitExceededException) => T;
|
|
527
|
+
InternalFailureException: (value: InternalFailureException) => T;
|
|
528
|
+
ConflictException: (value: ConflictException) => T;
|
|
529
|
+
ServiceUnavailableException: (value: ServiceUnavailableException) => T;
|
|
530
|
+
_: (name: string, value: any) => T;
|
|
531
|
+
}
|
|
532
|
+
const visit: <T>(value: TranscriptResultStream, visitor: Visitor<T>) => T;
|
|
533
|
+
}
|
|
534
|
+
export interface StartStreamTranscriptionResponse {
|
|
535
|
+
RequestId?: string;
|
|
536
|
+
|
|
537
|
+
LanguageCode?: LanguageCode | string;
|
|
538
|
+
|
|
539
|
+
MediaSampleRateHertz?: number;
|
|
540
|
+
|
|
541
|
+
MediaEncoding?: MediaEncoding | string;
|
|
542
|
+
|
|
543
|
+
VocabularyName?: string;
|
|
544
|
+
|
|
545
|
+
SessionId?: string;
|
|
546
|
+
|
|
547
|
+
TranscriptResultStream?: AsyncIterable<TranscriptResultStream>;
|
|
548
|
+
|
|
549
|
+
VocabularyFilterName?: string;
|
|
550
|
+
|
|
551
|
+
VocabularyFilterMethod?: VocabularyFilterMethod | string;
|
|
552
|
+
|
|
553
|
+
ShowSpeakerLabel?: boolean;
|
|
554
|
+
|
|
555
|
+
EnableChannelIdentification?: boolean;
|
|
556
|
+
|
|
557
|
+
NumberOfChannels?: number;
|
|
558
|
+
|
|
559
|
+
EnablePartialResultsStabilization?: boolean;
|
|
560
|
+
|
|
561
|
+
PartialResultsStability?: PartialResultsStability | string;
|
|
562
|
+
|
|
563
|
+
ContentIdentificationType?: ContentIdentificationType | string;
|
|
564
|
+
|
|
565
|
+
ContentRedactionType?: ContentRedactionType | string;
|
|
566
|
+
|
|
567
|
+
PiiEntityTypes?: string;
|
|
568
|
+
|
|
569
|
+
LanguageModelName?: string;
|
|
570
|
+
|
|
571
|
+
IdentifyLanguage?: boolean;
|
|
572
|
+
|
|
573
|
+
LanguageOptions?: string;
|
|
574
|
+
|
|
575
|
+
PreferredLanguage?: LanguageCode | string;
|
|
576
|
+
|
|
577
|
+
VocabularyNames?: string;
|
|
578
|
+
|
|
579
|
+
VocabularyFilterNames?: string;
|
|
580
|
+
}
|
|
581
|
+
|
|
582
|
+
export declare const EntityFilterSensitiveLog: (obj: Entity) => any;
|
|
583
|
+
|
|
584
|
+
export declare const ItemFilterSensitiveLog: (obj: Item) => any;
|
|
585
|
+
|
|
586
|
+
export declare const AlternativeFilterSensitiveLog: (obj: Alternative) => any;
|
|
587
|
+
|
|
588
|
+
export declare const AudioEventFilterSensitiveLog: (obj: AudioEvent) => any;
|
|
589
|
+
|
|
590
|
+
export declare const AudioStreamFilterSensitiveLog: (obj: AudioStream) => any;
|
|
591
|
+
|
|
592
|
+
export declare const LanguageWithScoreFilterSensitiveLog: (
|
|
593
|
+
obj: LanguageWithScore
|
|
594
|
+
) => any;
|
|
595
|
+
|
|
596
|
+
export declare const MedicalEntityFilterSensitiveLog: (
|
|
597
|
+
obj: MedicalEntity
|
|
598
|
+
) => any;
|
|
599
|
+
|
|
600
|
+
export declare const MedicalItemFilterSensitiveLog: (obj: MedicalItem) => any;
|
|
601
|
+
|
|
602
|
+
export declare const MedicalAlternativeFilterSensitiveLog: (
|
|
603
|
+
obj: MedicalAlternative
|
|
604
|
+
) => any;
|
|
605
|
+
|
|
606
|
+
export declare const MedicalResultFilterSensitiveLog: (
|
|
607
|
+
obj: MedicalResult
|
|
608
|
+
) => any;
|
|
609
|
+
|
|
610
|
+
export declare const MedicalTranscriptFilterSensitiveLog: (
|
|
611
|
+
obj: MedicalTranscript
|
|
612
|
+
) => any;
|
|
613
|
+
|
|
614
|
+
export declare const MedicalTranscriptEventFilterSensitiveLog: (
|
|
615
|
+
obj: MedicalTranscriptEvent
|
|
616
|
+
) => any;
|
|
617
|
+
|
|
618
|
+
export declare const MedicalTranscriptResultStreamFilterSensitiveLog: (
|
|
619
|
+
obj: MedicalTranscriptResultStream
|
|
620
|
+
) => any;
|
|
621
|
+
|
|
622
|
+
export declare const ResultFilterSensitiveLog: (obj: Result) => any;
|
|
623
|
+
|
|
624
|
+
export declare const StartMedicalStreamTranscriptionRequestFilterSensitiveLog: (
|
|
625
|
+
obj: StartMedicalStreamTranscriptionRequest
|
|
626
|
+
) => any;
|
|
627
|
+
|
|
628
|
+
export declare const StartMedicalStreamTranscriptionResponseFilterSensitiveLog: (
|
|
629
|
+
obj: StartMedicalStreamTranscriptionResponse
|
|
630
|
+
) => any;
|
|
631
|
+
|
|
632
|
+
export declare const StartStreamTranscriptionRequestFilterSensitiveLog: (
|
|
633
|
+
obj: StartStreamTranscriptionRequest
|
|
634
|
+
) => any;
|
|
635
|
+
|
|
636
|
+
export declare const TranscriptFilterSensitiveLog: (obj: Transcript) => any;
|
|
637
|
+
|
|
638
|
+
export declare const TranscriptEventFilterSensitiveLog: (
|
|
639
|
+
obj: TranscriptEvent
|
|
640
|
+
) => any;
|
|
641
|
+
|
|
642
|
+
export declare const TranscriptResultStreamFilterSensitiveLog: (
|
|
643
|
+
obj: TranscriptResultStream
|
|
644
|
+
) => any;
|
|
645
|
+
|
|
646
|
+
export declare const StartStreamTranscriptionResponseFilterSensitiveLog: (
|
|
647
|
+
obj: StartStreamTranscriptionResponse
|
|
648
|
+
) => any;
|