@aws-sdk/client-transcribe-streaming 3.131.0 → 3.140.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 +30 -0
- package/dist-cjs/commands/StartMedicalStreamTranscriptionCommand.js +2 -2
- package/dist-cjs/commands/StartStreamTranscriptionCommand.js +2 -2
- package/dist-cjs/models/models_0.js +118 -151
- package/dist-cjs/protocols/Aws_restJson1.js +138 -269
- package/dist-cjs/runtimeConfig.js +1 -1
- package/dist-es/commands/StartMedicalStreamTranscriptionCommand.js +3 -3
- package/dist-es/commands/StartStreamTranscriptionCommand.js +3 -3
- package/dist-es/models/models_0.js +59 -113
- package/dist-es/protocols/Aws_restJson1.js +171 -312
- package/dist-es/runtimeConfig.js +9 -2
- package/dist-types/models/models_0.d.ts +84 -120
- package/dist-types/runtimeConfig.d.ts +2 -2
- package/dist-types/ts3.4/models/models_0.d.ts +42 -78
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
- package/package.json +6 -6
|
@@ -29,12 +29,6 @@ export interface Entity {
|
|
|
29
29
|
*/
|
|
30
30
|
Confidence?: number;
|
|
31
31
|
}
|
|
32
|
-
export declare namespace Entity {
|
|
33
|
-
/**
|
|
34
|
-
* @internal
|
|
35
|
-
*/
|
|
36
|
-
const filterSensitiveLog: (obj: Entity) => any;
|
|
37
|
-
}
|
|
38
32
|
export declare enum ItemType {
|
|
39
33
|
PRONUNCIATION = "pronunciation",
|
|
40
34
|
PUNCTUATION = "punctuation"
|
|
@@ -85,12 +79,6 @@ export interface Item {
|
|
|
85
79
|
*/
|
|
86
80
|
Stable?: boolean;
|
|
87
81
|
}
|
|
88
|
-
export declare namespace Item {
|
|
89
|
-
/**
|
|
90
|
-
* @internal
|
|
91
|
-
*/
|
|
92
|
-
const filterSensitiveLog: (obj: Item) => any;
|
|
93
|
-
}
|
|
94
82
|
/**
|
|
95
83
|
* <p>A list of possible transcriptions for the audio.</p>
|
|
96
84
|
*/
|
|
@@ -108,12 +96,6 @@ export interface Alternative {
|
|
|
108
96
|
*/
|
|
109
97
|
Entities?: Entity[];
|
|
110
98
|
}
|
|
111
|
-
export declare namespace Alternative {
|
|
112
|
-
/**
|
|
113
|
-
* @internal
|
|
114
|
-
*/
|
|
115
|
-
const filterSensitiveLog: (obj: Alternative) => any;
|
|
116
|
-
}
|
|
117
99
|
/**
|
|
118
100
|
* <p>Provides a wrapper for the audio chunks that you are sending.</p>
|
|
119
101
|
* <p>For information on audio encoding in Amazon Transcribe, see
|
|
@@ -128,12 +110,6 @@ export interface AudioEvent {
|
|
|
128
110
|
*/
|
|
129
111
|
AudioChunk?: Uint8Array;
|
|
130
112
|
}
|
|
131
|
-
export declare namespace AudioEvent {
|
|
132
|
-
/**
|
|
133
|
-
* @internal
|
|
134
|
-
*/
|
|
135
|
-
const filterSensitiveLog: (obj: AudioEvent) => any;
|
|
136
|
-
}
|
|
137
113
|
/**
|
|
138
114
|
* <p>Represents the audio stream from your application to Amazon Transcribe.</p>
|
|
139
115
|
*/
|
|
@@ -160,10 +136,6 @@ export declare namespace AudioStream {
|
|
|
160
136
|
_: (name: string, value: any) => T;
|
|
161
137
|
}
|
|
162
138
|
const visit: <T>(value: AudioStream, visitor: Visitor<T>) => T;
|
|
163
|
-
/**
|
|
164
|
-
* @internal
|
|
165
|
-
*/
|
|
166
|
-
const filterSensitiveLog: (obj: AudioStream) => any;
|
|
167
139
|
}
|
|
168
140
|
/**
|
|
169
141
|
* <p>One or more arguments to the <code>StartStreamTranscription</code> or
|
|
@@ -243,12 +215,6 @@ export interface LanguageWithScore {
|
|
|
243
215
|
*/
|
|
244
216
|
Score?: number;
|
|
245
217
|
}
|
|
246
|
-
export declare namespace LanguageWithScore {
|
|
247
|
-
/**
|
|
248
|
-
* @internal
|
|
249
|
-
*/
|
|
250
|
-
const filterSensitiveLog: (obj: LanguageWithScore) => any;
|
|
251
|
-
}
|
|
252
218
|
/**
|
|
253
219
|
* <p>You have exceeded the maximum number of concurrent transcription streams, are starting
|
|
254
220
|
* transcription streams too quickly, or the maximum audio length of 4 hours. Wait until a stream
|
|
@@ -297,12 +263,6 @@ export interface MedicalEntity {
|
|
|
297
263
|
*/
|
|
298
264
|
Confidence?: number;
|
|
299
265
|
}
|
|
300
|
-
export declare namespace MedicalEntity {
|
|
301
|
-
/**
|
|
302
|
-
* @internal
|
|
303
|
-
*/
|
|
304
|
-
const filterSensitiveLog: (obj: MedicalEntity) => any;
|
|
305
|
-
}
|
|
306
266
|
/**
|
|
307
267
|
* <p>A word, phrase, or punctuation mark that is transcribed from the input audio.</p>
|
|
308
268
|
*/
|
|
@@ -343,12 +303,6 @@ export interface MedicalItem {
|
|
|
343
303
|
*/
|
|
344
304
|
Speaker?: string;
|
|
345
305
|
}
|
|
346
|
-
export declare namespace MedicalItem {
|
|
347
|
-
/**
|
|
348
|
-
* @internal
|
|
349
|
-
*/
|
|
350
|
-
const filterSensitiveLog: (obj: MedicalItem) => any;
|
|
351
|
-
}
|
|
352
306
|
/**
|
|
353
307
|
* <p>A list of possible transcriptions for the audio.</p>
|
|
354
308
|
*/
|
|
@@ -367,12 +321,6 @@ export interface MedicalAlternative {
|
|
|
367
321
|
*/
|
|
368
322
|
Entities?: MedicalEntity[];
|
|
369
323
|
}
|
|
370
|
-
export declare namespace MedicalAlternative {
|
|
371
|
-
/**
|
|
372
|
-
* @internal
|
|
373
|
-
*/
|
|
374
|
-
const filterSensitiveLog: (obj: MedicalAlternative) => any;
|
|
375
|
-
}
|
|
376
324
|
export declare enum MedicalContentIdentificationType {
|
|
377
325
|
PHI = "PHI"
|
|
378
326
|
}
|
|
@@ -416,12 +364,6 @@ export interface MedicalResult {
|
|
|
416
364
|
*/
|
|
417
365
|
ChannelId?: string;
|
|
418
366
|
}
|
|
419
|
-
export declare namespace MedicalResult {
|
|
420
|
-
/**
|
|
421
|
-
* @internal
|
|
422
|
-
*/
|
|
423
|
-
const filterSensitiveLog: (obj: MedicalResult) => any;
|
|
424
|
-
}
|
|
425
367
|
/**
|
|
426
368
|
* <p>The medical transcript in a <a>MedicalTranscriptEvent</a>.</p>
|
|
427
369
|
*/
|
|
@@ -433,12 +375,6 @@ export interface MedicalTranscript {
|
|
|
433
375
|
*/
|
|
434
376
|
Results?: MedicalResult[];
|
|
435
377
|
}
|
|
436
|
-
export declare namespace MedicalTranscript {
|
|
437
|
-
/**
|
|
438
|
-
* @internal
|
|
439
|
-
*/
|
|
440
|
-
const filterSensitiveLog: (obj: MedicalTranscript) => any;
|
|
441
|
-
}
|
|
442
378
|
/**
|
|
443
379
|
* <p>Represents a set of transcription results from the server to the client. It contains
|
|
444
380
|
* one or more segments of the transcription.</p>
|
|
@@ -450,12 +386,6 @@ export interface MedicalTranscriptEvent {
|
|
|
450
386
|
*/
|
|
451
387
|
Transcript?: MedicalTranscript;
|
|
452
388
|
}
|
|
453
|
-
export declare namespace MedicalTranscriptEvent {
|
|
454
|
-
/**
|
|
455
|
-
* @internal
|
|
456
|
-
*/
|
|
457
|
-
const filterSensitiveLog: (obj: MedicalTranscriptEvent) => any;
|
|
458
|
-
}
|
|
459
389
|
/**
|
|
460
390
|
* <p>Service is currently unavailable. Try your request later.</p>
|
|
461
391
|
*/
|
|
@@ -575,10 +505,6 @@ export declare namespace MedicalTranscriptResultStream {
|
|
|
575
505
|
_: (name: string, value: any) => T;
|
|
576
506
|
}
|
|
577
507
|
const visit: <T>(value: MedicalTranscriptResultStream, visitor: Visitor<T>) => T;
|
|
578
|
-
/**
|
|
579
|
-
* @internal
|
|
580
|
-
*/
|
|
581
|
-
const filterSensitiveLog: (obj: MedicalTranscriptResultStream) => any;
|
|
582
508
|
}
|
|
583
509
|
export declare enum PartialResultsStability {
|
|
584
510
|
HIGH = "high",
|
|
@@ -632,12 +558,6 @@ export interface Result {
|
|
|
632
558
|
*/
|
|
633
559
|
LanguageIdentification?: LanguageWithScore[];
|
|
634
560
|
}
|
|
635
|
-
export declare namespace Result {
|
|
636
|
-
/**
|
|
637
|
-
* @internal
|
|
638
|
-
*/
|
|
639
|
-
const filterSensitiveLog: (obj: Result) => any;
|
|
640
|
-
}
|
|
641
561
|
export declare enum Specialty {
|
|
642
562
|
CARDIOLOGY = "CARDIOLOGY",
|
|
643
563
|
NEUROLOGY = "NEUROLOGY",
|
|
@@ -715,12 +635,6 @@ export interface StartMedicalStreamTranscriptionRequest {
|
|
|
715
635
|
*/
|
|
716
636
|
ContentIdentificationType?: MedicalContentIdentificationType | string;
|
|
717
637
|
}
|
|
718
|
-
export declare namespace StartMedicalStreamTranscriptionRequest {
|
|
719
|
-
/**
|
|
720
|
-
* @internal
|
|
721
|
-
*/
|
|
722
|
-
const filterSensitiveLog: (obj: StartMedicalStreamTranscriptionRequest) => any;
|
|
723
|
-
}
|
|
724
638
|
export interface StartMedicalStreamTranscriptionResponse {
|
|
725
639
|
/**
|
|
726
640
|
* <p>An identifier for the streaming transcription.</p>
|
|
@@ -778,12 +692,6 @@ export interface StartMedicalStreamTranscriptionResponse {
|
|
|
778
692
|
*/
|
|
779
693
|
ContentIdentificationType?: MedicalContentIdentificationType | string;
|
|
780
694
|
}
|
|
781
|
-
export declare namespace StartMedicalStreamTranscriptionResponse {
|
|
782
|
-
/**
|
|
783
|
-
* @internal
|
|
784
|
-
*/
|
|
785
|
-
const filterSensitiveLog: (obj: StartMedicalStreamTranscriptionResponse) => any;
|
|
786
|
-
}
|
|
787
695
|
export declare enum VocabularyFilterMethod {
|
|
788
696
|
MASK = "mask",
|
|
789
697
|
REMOVE = "remove",
|
|
@@ -950,12 +858,6 @@ export interface StartStreamTranscriptionRequest {
|
|
|
950
858
|
*/
|
|
951
859
|
VocabularyFilterNames?: string;
|
|
952
860
|
}
|
|
953
|
-
export declare namespace StartStreamTranscriptionRequest {
|
|
954
|
-
/**
|
|
955
|
-
* @internal
|
|
956
|
-
*/
|
|
957
|
-
const filterSensitiveLog: (obj: StartStreamTranscriptionRequest) => any;
|
|
958
|
-
}
|
|
959
861
|
/**
|
|
960
862
|
* <p>The transcription in a <a>TranscriptEvent</a>.</p>
|
|
961
863
|
*/
|
|
@@ -967,12 +869,6 @@ export interface Transcript {
|
|
|
967
869
|
*/
|
|
968
870
|
Results?: Result[];
|
|
969
871
|
}
|
|
970
|
-
export declare namespace Transcript {
|
|
971
|
-
/**
|
|
972
|
-
* @internal
|
|
973
|
-
*/
|
|
974
|
-
const filterSensitiveLog: (obj: Transcript) => any;
|
|
975
|
-
}
|
|
976
872
|
/**
|
|
977
873
|
* <p>Represents a set of transcription results from the server to the client. It contains one
|
|
978
874
|
* or more segments of the transcription.</p>
|
|
@@ -984,12 +880,6 @@ export interface TranscriptEvent {
|
|
|
984
880
|
*/
|
|
985
881
|
Transcript?: Transcript;
|
|
986
882
|
}
|
|
987
|
-
export declare namespace TranscriptEvent {
|
|
988
|
-
/**
|
|
989
|
-
* @internal
|
|
990
|
-
*/
|
|
991
|
-
const filterSensitiveLog: (obj: TranscriptEvent) => any;
|
|
992
|
-
}
|
|
993
883
|
/**
|
|
994
884
|
* <p>Represents the transcription result stream from Amazon Transcribe to your application.</p>
|
|
995
885
|
*/
|
|
@@ -1091,10 +981,6 @@ export declare namespace TranscriptResultStream {
|
|
|
1091
981
|
_: (name: string, value: any) => T;
|
|
1092
982
|
}
|
|
1093
983
|
const visit: <T>(value: TranscriptResultStream, visitor: Visitor<T>) => T;
|
|
1094
|
-
/**
|
|
1095
|
-
* @internal
|
|
1096
|
-
*/
|
|
1097
|
-
const filterSensitiveLog: (obj: TranscriptResultStream) => any;
|
|
1098
984
|
}
|
|
1099
985
|
export interface StartStreamTranscriptionResponse {
|
|
1100
986
|
/**
|
|
@@ -1192,9 +1078,87 @@ export interface StartStreamTranscriptionResponse {
|
|
|
1192
1078
|
*/
|
|
1193
1079
|
VocabularyFilterNames?: string;
|
|
1194
1080
|
}
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1081
|
+
/**
|
|
1082
|
+
* @internal
|
|
1083
|
+
*/
|
|
1084
|
+
export declare const EntityFilterSensitiveLog: (obj: Entity) => any;
|
|
1085
|
+
/**
|
|
1086
|
+
* @internal
|
|
1087
|
+
*/
|
|
1088
|
+
export declare const ItemFilterSensitiveLog: (obj: Item) => any;
|
|
1089
|
+
/**
|
|
1090
|
+
* @internal
|
|
1091
|
+
*/
|
|
1092
|
+
export declare const AlternativeFilterSensitiveLog: (obj: Alternative) => any;
|
|
1093
|
+
/**
|
|
1094
|
+
* @internal
|
|
1095
|
+
*/
|
|
1096
|
+
export declare const AudioEventFilterSensitiveLog: (obj: AudioEvent) => any;
|
|
1097
|
+
/**
|
|
1098
|
+
* @internal
|
|
1099
|
+
*/
|
|
1100
|
+
export declare const AudioStreamFilterSensitiveLog: (obj: AudioStream) => any;
|
|
1101
|
+
/**
|
|
1102
|
+
* @internal
|
|
1103
|
+
*/
|
|
1104
|
+
export declare const LanguageWithScoreFilterSensitiveLog: (obj: LanguageWithScore) => any;
|
|
1105
|
+
/**
|
|
1106
|
+
* @internal
|
|
1107
|
+
*/
|
|
1108
|
+
export declare const MedicalEntityFilterSensitiveLog: (obj: MedicalEntity) => any;
|
|
1109
|
+
/**
|
|
1110
|
+
* @internal
|
|
1111
|
+
*/
|
|
1112
|
+
export declare const MedicalItemFilterSensitiveLog: (obj: MedicalItem) => any;
|
|
1113
|
+
/**
|
|
1114
|
+
* @internal
|
|
1115
|
+
*/
|
|
1116
|
+
export declare const MedicalAlternativeFilterSensitiveLog: (obj: MedicalAlternative) => any;
|
|
1117
|
+
/**
|
|
1118
|
+
* @internal
|
|
1119
|
+
*/
|
|
1120
|
+
export declare const MedicalResultFilterSensitiveLog: (obj: MedicalResult) => any;
|
|
1121
|
+
/**
|
|
1122
|
+
* @internal
|
|
1123
|
+
*/
|
|
1124
|
+
export declare const MedicalTranscriptFilterSensitiveLog: (obj: MedicalTranscript) => any;
|
|
1125
|
+
/**
|
|
1126
|
+
* @internal
|
|
1127
|
+
*/
|
|
1128
|
+
export declare const MedicalTranscriptEventFilterSensitiveLog: (obj: MedicalTranscriptEvent) => any;
|
|
1129
|
+
/**
|
|
1130
|
+
* @internal
|
|
1131
|
+
*/
|
|
1132
|
+
export declare const MedicalTranscriptResultStreamFilterSensitiveLog: (obj: MedicalTranscriptResultStream) => any;
|
|
1133
|
+
/**
|
|
1134
|
+
* @internal
|
|
1135
|
+
*/
|
|
1136
|
+
export declare const ResultFilterSensitiveLog: (obj: Result) => any;
|
|
1137
|
+
/**
|
|
1138
|
+
* @internal
|
|
1139
|
+
*/
|
|
1140
|
+
export declare const StartMedicalStreamTranscriptionRequestFilterSensitiveLog: (obj: StartMedicalStreamTranscriptionRequest) => any;
|
|
1141
|
+
/**
|
|
1142
|
+
* @internal
|
|
1143
|
+
*/
|
|
1144
|
+
export declare const StartMedicalStreamTranscriptionResponseFilterSensitiveLog: (obj: StartMedicalStreamTranscriptionResponse) => any;
|
|
1145
|
+
/**
|
|
1146
|
+
* @internal
|
|
1147
|
+
*/
|
|
1148
|
+
export declare const StartStreamTranscriptionRequestFilterSensitiveLog: (obj: StartStreamTranscriptionRequest) => any;
|
|
1149
|
+
/**
|
|
1150
|
+
* @internal
|
|
1151
|
+
*/
|
|
1152
|
+
export declare const TranscriptFilterSensitiveLog: (obj: Transcript) => any;
|
|
1153
|
+
/**
|
|
1154
|
+
* @internal
|
|
1155
|
+
*/
|
|
1156
|
+
export declare const TranscriptEventFilterSensitiveLog: (obj: TranscriptEvent) => any;
|
|
1157
|
+
/**
|
|
1158
|
+
* @internal
|
|
1159
|
+
*/
|
|
1160
|
+
export declare const TranscriptResultStreamFilterSensitiveLog: (obj: TranscriptResultStream) => any;
|
|
1161
|
+
/**
|
|
1162
|
+
* @internal
|
|
1163
|
+
*/
|
|
1164
|
+
export declare const StartStreamTranscriptionResponseFilterSensitiveLog: (obj: StartStreamTranscriptionResponse) => any;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { NodeHttp2Handler } from "@aws-sdk/node-http-handler";
|
|
1
|
+
import { NodeHttp2Handler as RequestHandler } from "@aws-sdk/node-http-handler";
|
|
2
2
|
import { TranscribeStreamingClientConfig } from "./TranscribeStreamingClient";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
@@ -15,7 +15,7 @@ export declare const getRuntimeConfig: (config: TranscribeStreamingClientConfig)
|
|
|
15
15
|
eventStreamSerdeProvider: import("@aws-sdk/types").EventStreamSerdeProvider;
|
|
16
16
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
17
17
|
region: string | import("@aws-sdk/types").Provider<string>;
|
|
18
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
18
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
19
19
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
20
20
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
21
21
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -15,10 +15,6 @@ export interface Entity {
|
|
|
15
15
|
|
|
16
16
|
Confidence?: number;
|
|
17
17
|
}
|
|
18
|
-
export declare namespace Entity {
|
|
19
|
-
|
|
20
|
-
const filterSensitiveLog: (obj: Entity) => any;
|
|
21
|
-
}
|
|
22
18
|
export declare enum ItemType {
|
|
23
19
|
PRONUNCIATION = "pronunciation",
|
|
24
20
|
PUNCTUATION = "punctuation"
|
|
@@ -42,10 +38,6 @@ export interface Item {
|
|
|
42
38
|
|
|
43
39
|
Stable?: boolean;
|
|
44
40
|
}
|
|
45
|
-
export declare namespace Item {
|
|
46
|
-
|
|
47
|
-
const filterSensitiveLog: (obj: Item) => any;
|
|
48
|
-
}
|
|
49
41
|
|
|
50
42
|
export interface Alternative {
|
|
51
43
|
|
|
@@ -55,19 +47,11 @@ export interface Alternative {
|
|
|
55
47
|
|
|
56
48
|
Entities?: Entity[];
|
|
57
49
|
}
|
|
58
|
-
export declare namespace Alternative {
|
|
59
|
-
|
|
60
|
-
const filterSensitiveLog: (obj: Alternative) => any;
|
|
61
|
-
}
|
|
62
50
|
|
|
63
51
|
export interface AudioEvent {
|
|
64
52
|
|
|
65
53
|
AudioChunk?: Uint8Array;
|
|
66
54
|
}
|
|
67
|
-
export declare namespace AudioEvent {
|
|
68
|
-
|
|
69
|
-
const filterSensitiveLog: (obj: AudioEvent) => any;
|
|
70
|
-
}
|
|
71
55
|
|
|
72
56
|
export declare type AudioStream = AudioStream.AudioEventMember | AudioStream.$UnknownMember;
|
|
73
57
|
export declare namespace AudioStream {
|
|
@@ -88,8 +72,6 @@ export declare namespace AudioStream {
|
|
|
88
72
|
_: (name: string, value: any) => T;
|
|
89
73
|
}
|
|
90
74
|
const visit: <T>(value: AudioStream, visitor: Visitor<T>) => T;
|
|
91
|
-
|
|
92
|
-
const filterSensitiveLog: (obj: AudioStream) => any;
|
|
93
75
|
}
|
|
94
76
|
|
|
95
77
|
export declare class BadRequestException extends __BaseException {
|
|
@@ -142,10 +124,6 @@ export interface LanguageWithScore {
|
|
|
142
124
|
|
|
143
125
|
Score?: number;
|
|
144
126
|
}
|
|
145
|
-
export declare namespace LanguageWithScore {
|
|
146
|
-
|
|
147
|
-
const filterSensitiveLog: (obj: LanguageWithScore) => any;
|
|
148
|
-
}
|
|
149
127
|
|
|
150
128
|
export declare class LimitExceededException extends __BaseException {
|
|
151
129
|
readonly name: "LimitExceededException";
|
|
@@ -172,10 +150,6 @@ export interface MedicalEntity {
|
|
|
172
150
|
|
|
173
151
|
Confidence?: number;
|
|
174
152
|
}
|
|
175
|
-
export declare namespace MedicalEntity {
|
|
176
|
-
|
|
177
|
-
const filterSensitiveLog: (obj: MedicalEntity) => any;
|
|
178
|
-
}
|
|
179
153
|
|
|
180
154
|
export interface MedicalItem {
|
|
181
155
|
|
|
@@ -191,10 +165,6 @@ export interface MedicalItem {
|
|
|
191
165
|
|
|
192
166
|
Speaker?: string;
|
|
193
167
|
}
|
|
194
|
-
export declare namespace MedicalItem {
|
|
195
|
-
|
|
196
|
-
const filterSensitiveLog: (obj: MedicalItem) => any;
|
|
197
|
-
}
|
|
198
168
|
|
|
199
169
|
export interface MedicalAlternative {
|
|
200
170
|
|
|
@@ -204,10 +174,6 @@ export interface MedicalAlternative {
|
|
|
204
174
|
|
|
205
175
|
Entities?: MedicalEntity[];
|
|
206
176
|
}
|
|
207
|
-
export declare namespace MedicalAlternative {
|
|
208
|
-
|
|
209
|
-
const filterSensitiveLog: (obj: MedicalAlternative) => any;
|
|
210
|
-
}
|
|
211
177
|
export declare enum MedicalContentIdentificationType {
|
|
212
178
|
PHI = "PHI"
|
|
213
179
|
}
|
|
@@ -226,28 +192,16 @@ export interface MedicalResult {
|
|
|
226
192
|
|
|
227
193
|
ChannelId?: string;
|
|
228
194
|
}
|
|
229
|
-
export declare namespace MedicalResult {
|
|
230
|
-
|
|
231
|
-
const filterSensitiveLog: (obj: MedicalResult) => any;
|
|
232
|
-
}
|
|
233
195
|
|
|
234
196
|
export interface MedicalTranscript {
|
|
235
197
|
|
|
236
198
|
Results?: MedicalResult[];
|
|
237
199
|
}
|
|
238
|
-
export declare namespace MedicalTranscript {
|
|
239
|
-
|
|
240
|
-
const filterSensitiveLog: (obj: MedicalTranscript) => any;
|
|
241
|
-
}
|
|
242
200
|
|
|
243
201
|
export interface MedicalTranscriptEvent {
|
|
244
202
|
|
|
245
203
|
Transcript?: MedicalTranscript;
|
|
246
204
|
}
|
|
247
|
-
export declare namespace MedicalTranscriptEvent {
|
|
248
|
-
|
|
249
|
-
const filterSensitiveLog: (obj: MedicalTranscriptEvent) => any;
|
|
250
|
-
}
|
|
251
205
|
|
|
252
206
|
export declare class ServiceUnavailableException extends __BaseException {
|
|
253
207
|
readonly name: "ServiceUnavailableException";
|
|
@@ -341,8 +295,6 @@ export declare namespace MedicalTranscriptResultStream {
|
|
|
341
295
|
_: (name: string, value: any) => T;
|
|
342
296
|
}
|
|
343
297
|
const visit: <T>(value: MedicalTranscriptResultStream, visitor: Visitor<T>) => T;
|
|
344
|
-
|
|
345
|
-
const filterSensitiveLog: (obj: MedicalTranscriptResultStream) => any;
|
|
346
298
|
}
|
|
347
299
|
export declare enum PartialResultsStability {
|
|
348
300
|
HIGH = "high",
|
|
@@ -368,10 +320,6 @@ export interface Result {
|
|
|
368
320
|
|
|
369
321
|
LanguageIdentification?: LanguageWithScore[];
|
|
370
322
|
}
|
|
371
|
-
export declare namespace Result {
|
|
372
|
-
|
|
373
|
-
const filterSensitiveLog: (obj: Result) => any;
|
|
374
|
-
}
|
|
375
323
|
export declare enum Specialty {
|
|
376
324
|
CARDIOLOGY = "CARDIOLOGY",
|
|
377
325
|
NEUROLOGY = "NEUROLOGY",
|
|
@@ -410,10 +358,6 @@ export interface StartMedicalStreamTranscriptionRequest {
|
|
|
410
358
|
|
|
411
359
|
ContentIdentificationType?: MedicalContentIdentificationType | string;
|
|
412
360
|
}
|
|
413
|
-
export declare namespace StartMedicalStreamTranscriptionRequest {
|
|
414
|
-
|
|
415
|
-
const filterSensitiveLog: (obj: StartMedicalStreamTranscriptionRequest) => any;
|
|
416
|
-
}
|
|
417
361
|
export interface StartMedicalStreamTranscriptionResponse {
|
|
418
362
|
|
|
419
363
|
RequestId?: string;
|
|
@@ -442,10 +386,6 @@ export interface StartMedicalStreamTranscriptionResponse {
|
|
|
442
386
|
|
|
443
387
|
ContentIdentificationType?: MedicalContentIdentificationType | string;
|
|
444
388
|
}
|
|
445
|
-
export declare namespace StartMedicalStreamTranscriptionResponse {
|
|
446
|
-
|
|
447
|
-
const filterSensitiveLog: (obj: StartMedicalStreamTranscriptionResponse) => any;
|
|
448
|
-
}
|
|
449
389
|
export declare enum VocabularyFilterMethod {
|
|
450
390
|
MASK = "mask",
|
|
451
391
|
REMOVE = "remove",
|
|
@@ -497,28 +437,16 @@ export interface StartStreamTranscriptionRequest {
|
|
|
497
437
|
|
|
498
438
|
VocabularyFilterNames?: string;
|
|
499
439
|
}
|
|
500
|
-
export declare namespace StartStreamTranscriptionRequest {
|
|
501
|
-
|
|
502
|
-
const filterSensitiveLog: (obj: StartStreamTranscriptionRequest) => any;
|
|
503
|
-
}
|
|
504
440
|
|
|
505
441
|
export interface Transcript {
|
|
506
442
|
|
|
507
443
|
Results?: Result[];
|
|
508
444
|
}
|
|
509
|
-
export declare namespace Transcript {
|
|
510
|
-
|
|
511
|
-
const filterSensitiveLog: (obj: Transcript) => any;
|
|
512
|
-
}
|
|
513
445
|
|
|
514
446
|
export interface TranscriptEvent {
|
|
515
447
|
|
|
516
448
|
Transcript?: Transcript;
|
|
517
449
|
}
|
|
518
|
-
export declare namespace TranscriptEvent {
|
|
519
|
-
|
|
520
|
-
const filterSensitiveLog: (obj: TranscriptEvent) => any;
|
|
521
|
-
}
|
|
522
450
|
|
|
523
451
|
export declare type TranscriptResultStream = TranscriptResultStream.BadRequestExceptionMember | TranscriptResultStream.ConflictExceptionMember | TranscriptResultStream.InternalFailureExceptionMember | TranscriptResultStream.LimitExceededExceptionMember | TranscriptResultStream.ServiceUnavailableExceptionMember | TranscriptResultStream.TranscriptEventMember | TranscriptResultStream.$UnknownMember;
|
|
524
452
|
export declare namespace TranscriptResultStream {
|
|
@@ -604,8 +532,6 @@ export declare namespace TranscriptResultStream {
|
|
|
604
532
|
_: (name: string, value: any) => T;
|
|
605
533
|
}
|
|
606
534
|
const visit: <T>(value: TranscriptResultStream, visitor: Visitor<T>) => T;
|
|
607
|
-
|
|
608
|
-
const filterSensitiveLog: (obj: TranscriptResultStream) => any;
|
|
609
535
|
}
|
|
610
536
|
export interface StartStreamTranscriptionResponse {
|
|
611
537
|
|
|
@@ -655,7 +581,45 @@ export interface StartStreamTranscriptionResponse {
|
|
|
655
581
|
|
|
656
582
|
VocabularyFilterNames?: string;
|
|
657
583
|
}
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
584
|
+
|
|
585
|
+
export declare const EntityFilterSensitiveLog: (obj: Entity) => any;
|
|
586
|
+
|
|
587
|
+
export declare const ItemFilterSensitiveLog: (obj: Item) => any;
|
|
588
|
+
|
|
589
|
+
export declare const AlternativeFilterSensitiveLog: (obj: Alternative) => any;
|
|
590
|
+
|
|
591
|
+
export declare const AudioEventFilterSensitiveLog: (obj: AudioEvent) => any;
|
|
592
|
+
|
|
593
|
+
export declare const AudioStreamFilterSensitiveLog: (obj: AudioStream) => any;
|
|
594
|
+
|
|
595
|
+
export declare const LanguageWithScoreFilterSensitiveLog: (obj: LanguageWithScore) => any;
|
|
596
|
+
|
|
597
|
+
export declare const MedicalEntityFilterSensitiveLog: (obj: MedicalEntity) => any;
|
|
598
|
+
|
|
599
|
+
export declare const MedicalItemFilterSensitiveLog: (obj: MedicalItem) => any;
|
|
600
|
+
|
|
601
|
+
export declare const MedicalAlternativeFilterSensitiveLog: (obj: MedicalAlternative) => any;
|
|
602
|
+
|
|
603
|
+
export declare const MedicalResultFilterSensitiveLog: (obj: MedicalResult) => any;
|
|
604
|
+
|
|
605
|
+
export declare const MedicalTranscriptFilterSensitiveLog: (obj: MedicalTranscript) => any;
|
|
606
|
+
|
|
607
|
+
export declare const MedicalTranscriptEventFilterSensitiveLog: (obj: MedicalTranscriptEvent) => any;
|
|
608
|
+
|
|
609
|
+
export declare const MedicalTranscriptResultStreamFilterSensitiveLog: (obj: MedicalTranscriptResultStream) => any;
|
|
610
|
+
|
|
611
|
+
export declare const ResultFilterSensitiveLog: (obj: Result) => any;
|
|
612
|
+
|
|
613
|
+
export declare const StartMedicalStreamTranscriptionRequestFilterSensitiveLog: (obj: StartMedicalStreamTranscriptionRequest) => any;
|
|
614
|
+
|
|
615
|
+
export declare const StartMedicalStreamTranscriptionResponseFilterSensitiveLog: (obj: StartMedicalStreamTranscriptionResponse) => any;
|
|
616
|
+
|
|
617
|
+
export declare const StartStreamTranscriptionRequestFilterSensitiveLog: (obj: StartStreamTranscriptionRequest) => any;
|
|
618
|
+
|
|
619
|
+
export declare const TranscriptFilterSensitiveLog: (obj: Transcript) => any;
|
|
620
|
+
|
|
621
|
+
export declare const TranscriptEventFilterSensitiveLog: (obj: TranscriptEvent) => any;
|
|
622
|
+
|
|
623
|
+
export declare const TranscriptResultStreamFilterSensitiveLog: (obj: TranscriptResultStream) => any;
|
|
624
|
+
|
|
625
|
+
export declare const StartStreamTranscriptionResponseFilterSensitiveLog: (obj: StartStreamTranscriptionResponse) => any;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { NodeHttp2Handler } from "@aws-sdk/node-http-handler";
|
|
1
|
+
import { NodeHttp2Handler as RequestHandler } from "@aws-sdk/node-http-handler";
|
|
2
2
|
import { TranscribeStreamingClientConfig } from "./TranscribeStreamingClient";
|
|
3
3
|
|
|
4
4
|
export declare const getRuntimeConfig: (config: TranscribeStreamingClientConfig) => {
|
|
@@ -13,7 +13,7 @@ export declare const getRuntimeConfig: (config: TranscribeStreamingClientConfig)
|
|
|
13
13
|
eventStreamSerdeProvider: import("@aws-sdk/types").EventStreamSerdeProvider;
|
|
14
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
15
15
|
region: string | import("@aws-sdk/types").Provider<string>;
|
|
16
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
16
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
17
17
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
18
18
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
19
19
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-transcribe-streaming",
|
|
3
3
|
"description": "AWS SDK for JavaScript Transcribe Streaming Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.140.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -19,9 +19,9 @@
|
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
21
21
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
22
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
+
"@aws-sdk/client-sts": "3.137.0",
|
|
23
23
|
"@aws-sdk/config-resolver": "3.130.0",
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.137.0",
|
|
25
25
|
"@aws-sdk/eventstream-handler-node": "3.127.0",
|
|
26
26
|
"@aws-sdk/eventstream-serde-browser": "3.127.0",
|
|
27
27
|
"@aws-sdk/eventstream-serde-config-resolver": "3.127.0",
|
|
@@ -43,15 +43,15 @@
|
|
|
43
43
|
"@aws-sdk/node-config-provider": "3.127.0",
|
|
44
44
|
"@aws-sdk/node-http-handler": "3.127.0",
|
|
45
45
|
"@aws-sdk/protocol-http": "3.127.0",
|
|
46
|
-
"@aws-sdk/smithy-client": "3.
|
|
46
|
+
"@aws-sdk/smithy-client": "3.137.0",
|
|
47
47
|
"@aws-sdk/types": "3.127.0",
|
|
48
48
|
"@aws-sdk/url-parser": "3.127.0",
|
|
49
49
|
"@aws-sdk/util-base64-browser": "3.109.0",
|
|
50
50
|
"@aws-sdk/util-base64-node": "3.55.0",
|
|
51
51
|
"@aws-sdk/util-body-length-browser": "3.55.0",
|
|
52
52
|
"@aws-sdk/util-body-length-node": "3.55.0",
|
|
53
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
54
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
53
|
+
"@aws-sdk/util-defaults-mode-browser": "3.137.0",
|
|
54
|
+
"@aws-sdk/util-defaults-mode-node": "3.137.0",
|
|
55
55
|
"@aws-sdk/util-user-agent-browser": "3.127.0",
|
|
56
56
|
"@aws-sdk/util-user-agent-node": "3.127.0",
|
|
57
57
|
"@aws-sdk/util-utf8-browser": "3.109.0",
|