@aws-sdk/client-transcribe-streaming 3.1100.0 → 3.1101.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/dist-cjs/index.js +15 -5
- package/dist-es/models/enums.js +7 -0
- package/dist-es/schemas/schemas_0.js +6 -4
- package/dist-types/commands/GetMedicalScribeStreamCommand.d.ts +5 -2
- package/dist-types/commands/StartCallAnalyticsStreamTranscriptionCommand.d.ts +7 -4
- package/dist-types/commands/StartMedicalScribeStreamCommand.d.ts +5 -2
- package/dist-types/commands/StartMedicalStreamTranscriptionCommand.d.ts +7 -4
- package/dist-types/commands/StartStreamTranscriptionCommand.d.ts +9 -4
- package/dist-types/models/enums.d.ts +15 -0
- package/dist-types/models/errors.d.ts +5 -2
- package/dist-types/models/models_0.d.ts +46 -9
- package/dist-types/ts3.4/models/enums.d.ts +8 -0
- package/dist-types/ts3.4/models/models_0.d.ts +3 -0
- package/package.json +1 -1
package/dist-cjs/index.js
CHANGED
|
@@ -74,7 +74,7 @@ const commonParams = {
|
|
|
74
74
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
75
75
|
};
|
|
76
76
|
|
|
77
|
-
var version = "3.
|
|
77
|
+
var version = "3.1100.0";
|
|
78
78
|
var packageInfo = {
|
|
79
79
|
version: version};
|
|
80
80
|
|
|
@@ -382,6 +382,7 @@ const _Spe = "Specialty";
|
|
|
382
382
|
const _St = "Status";
|
|
383
383
|
const _T = "Transcript";
|
|
384
384
|
const _TE = "TranscriptEvent";
|
|
385
|
+
const _TF = "TranscriptFormat";
|
|
385
386
|
const _TOL = "TranscriptOutputLocation";
|
|
386
387
|
const _TR = "TimestampRanges";
|
|
387
388
|
const _TRS = "TranscriptResultStream";
|
|
@@ -426,6 +427,7 @@ const _xatsr = "x-amzn-transcribe-sample-rate";
|
|
|
426
427
|
const _xatsrw = "x-amzn-transcribe-session-resume-window";
|
|
427
428
|
const _xatssl = "x-amzn-transcribe-show-speaker-label";
|
|
428
429
|
const _xatt = "x-amzn-transcribe-type";
|
|
430
|
+
const _xattf = "x-amzn-transcribe-transcript-format";
|
|
429
431
|
const _xatvfm = "x-amzn-transcribe-vocabulary-filter-method";
|
|
430
432
|
const _xatvfn = "x-amzn-transcribe-vocabulary-filter-name";
|
|
431
433
|
const _xatvfn_ = "x-amzn-transcribe-vocabulary-filter-names";
|
|
@@ -704,13 +706,13 @@ var StartMedicalStreamTranscriptionResponse$ = [3, n0, _SMSTRt,
|
|
|
704
706
|
];
|
|
705
707
|
var StartStreamTranscriptionRequest$ = [3, n0, _SSTR,
|
|
706
708
|
0,
|
|
707
|
-
[_MSRH, _MEe, _AS, _LC, _VN, _SI, _VFN, _VFMo, _SSL, _ECI, _NOC, _EPRS, _PRS, _CIT, _CRT, _PET, _LMN, _IL, _LO, _PL, _IML, _VNo, _VFNo, _SRW],
|
|
708
|
-
[[1, { [_hH]: _xatsr }], [0, { [_hH]: _xatme }], [() => AudioStream$, 16], [0, { [_hH]: _xatlc }], [0, { [_hH]: _xatvn }], [0, { [_hH]: _xatsi }], [0, { [_hH]: _xatvfn }], [0, { [_hH]: _xatvfm }], [2, { [_hH]: _xatssl }], [2, { [_hH]: _xateci }], [1, { [_hH]: _xatnoc }], [2, { [_hH]: _xateprs }], [0, { [_hH]: _xatprs }], [0, { [_hH]: _xatcit }], [0, { [_hH]: _xatcrt }], [0, { [_hH]: _xatpet }], [0, { [_hH]: _xatlmn }], [2, { [_hH]: _xatil }], [0, { [_hH]: _xatlo }], [0, { [_hH]: _xatpl }], [2, { [_hH]: _xatiml }], [0, { [_hH]: _xatvn_ }], [0, { [_hH]: _xatvfn_ }], [1, { [_hH]: _xatsrw }]], 3
|
|
709
|
+
[_MSRH, _MEe, _AS, _LC, _VN, _SI, _VFN, _VFMo, _SSL, _ECI, _NOC, _EPRS, _PRS, _CIT, _CRT, _PET, _LMN, _IL, _LO, _PL, _IML, _VNo, _VFNo, _SRW, _TF],
|
|
710
|
+
[[1, { [_hH]: _xatsr }], [0, { [_hH]: _xatme }], [() => AudioStream$, 16], [0, { [_hH]: _xatlc }], [0, { [_hH]: _xatvn }], [0, { [_hH]: _xatsi }], [0, { [_hH]: _xatvfn }], [0, { [_hH]: _xatvfm }], [2, { [_hH]: _xatssl }], [2, { [_hH]: _xateci }], [1, { [_hH]: _xatnoc }], [2, { [_hH]: _xateprs }], [0, { [_hH]: _xatprs }], [0, { [_hH]: _xatcit }], [0, { [_hH]: _xatcrt }], [0, { [_hH]: _xatpet }], [0, { [_hH]: _xatlmn }], [2, { [_hH]: _xatil }], [0, { [_hH]: _xatlo }], [0, { [_hH]: _xatpl }], [2, { [_hH]: _xatiml }], [0, { [_hH]: _xatvn_ }], [0, { [_hH]: _xatvfn_ }], [1, { [_hH]: _xatsrw }], [0, { [_hH]: _xattf }]], 3
|
|
709
711
|
];
|
|
710
712
|
var StartStreamTranscriptionResponse$ = [3, n0, _SSTRt,
|
|
711
713
|
0,
|
|
712
|
-
[_RIe, _LC, _MSRH, _MEe, _VN, _SI, _TRS, _VFN, _VFMo, _SSL, _ECI, _NOC, _EPRS, _PRS, _CIT, _CRT, _PET, _LMN, _IL, _LO, _PL, _IML, _VNo, _VFNo, _SRW],
|
|
713
|
-
[[0, { [_hH]: _xari }], [0, { [_hH]: _xatlc }], [1, { [_hH]: _xatsr }], [0, { [_hH]: _xatme }], [0, { [_hH]: _xatvn }], [0, { [_hH]: _xatsi }], [() => TranscriptResultStream$, 16], [0, { [_hH]: _xatvfn }], [0, { [_hH]: _xatvfm }], [2, { [_hH]: _xatssl }], [2, { [_hH]: _xateci }], [1, { [_hH]: _xatnoc }], [2, { [_hH]: _xateprs }], [0, { [_hH]: _xatprs }], [0, { [_hH]: _xatcit }], [0, { [_hH]: _xatcrt }], [0, { [_hH]: _xatpet }], [0, { [_hH]: _xatlmn }], [2, { [_hH]: _xatil }], [0, { [_hH]: _xatlo }], [0, { [_hH]: _xatpl }], [2, { [_hH]: _xatiml }], [0, { [_hH]: _xatvn_ }], [0, { [_hH]: _xatvfn_ }], [1, { [_hH]: _xatsrw }]]
|
|
714
|
+
[_RIe, _LC, _MSRH, _MEe, _VN, _SI, _TRS, _VFN, _VFMo, _SSL, _ECI, _NOC, _EPRS, _PRS, _CIT, _CRT, _PET, _LMN, _IL, _LO, _PL, _IML, _VNo, _VFNo, _SRW, _TF],
|
|
715
|
+
[[0, { [_hH]: _xari }], [0, { [_hH]: _xatlc }], [1, { [_hH]: _xatsr }], [0, { [_hH]: _xatme }], [0, { [_hH]: _xatvn }], [0, { [_hH]: _xatsi }], [() => TranscriptResultStream$, 16], [0, { [_hH]: _xatvfn }], [0, { [_hH]: _xatvfm }], [2, { [_hH]: _xatssl }], [2, { [_hH]: _xateci }], [1, { [_hH]: _xatnoc }], [2, { [_hH]: _xateprs }], [0, { [_hH]: _xatprs }], [0, { [_hH]: _xatcit }], [0, { [_hH]: _xatcrt }], [0, { [_hH]: _xatpet }], [0, { [_hH]: _xatlmn }], [2, { [_hH]: _xatil }], [0, { [_hH]: _xatlo }], [0, { [_hH]: _xatpl }], [2, { [_hH]: _xatiml }], [0, { [_hH]: _xatvn_ }], [0, { [_hH]: _xatvfn_ }], [1, { [_hH]: _xatsrw }], [0, { [_hH]: _xattf }]]
|
|
714
716
|
];
|
|
715
717
|
var TimestampRange$ = [3, n0, _TRi,
|
|
716
718
|
0,
|
|
@@ -1198,6 +1200,9 @@ const LanguageCode = {
|
|
|
1198
1200
|
};
|
|
1199
1201
|
const MediaEncoding = {
|
|
1200
1202
|
FLAC: "flac",
|
|
1203
|
+
G711_ALAW: "g711-alaw",
|
|
1204
|
+
G711_ULAW: "g711-ulaw",
|
|
1205
|
+
G729: "g729",
|
|
1201
1206
|
OGG_OPUS: "ogg-opus",
|
|
1202
1207
|
PCM: "pcm",
|
|
1203
1208
|
};
|
|
@@ -1238,6 +1243,10 @@ const Type = {
|
|
|
1238
1243
|
CONVERSATION: "CONVERSATION",
|
|
1239
1244
|
DICTATION: "DICTATION",
|
|
1240
1245
|
};
|
|
1246
|
+
const TranscriptFormat = {
|
|
1247
|
+
SPOKEN: "spoken",
|
|
1248
|
+
WRITTEN: "written",
|
|
1249
|
+
};
|
|
1241
1250
|
|
|
1242
1251
|
exports.Alternative$ = Alternative$;
|
|
1243
1252
|
exports.AudioEvent$ = AudioEvent$;
|
|
@@ -1342,6 +1351,7 @@ exports.TranscribeStreamingServiceException = TranscribeStreamingServiceExceptio
|
|
|
1342
1351
|
exports.TranscribeStreamingServiceException$ = TranscribeStreamingServiceException$;
|
|
1343
1352
|
exports.Transcript$ = Transcript$;
|
|
1344
1353
|
exports.TranscriptEvent$ = TranscriptEvent$;
|
|
1354
|
+
exports.TranscriptFormat = TranscriptFormat;
|
|
1345
1355
|
exports.TranscriptResultStream$ = TranscriptResultStream$;
|
|
1346
1356
|
exports.Type = Type;
|
|
1347
1357
|
exports.UtteranceEvent$ = UtteranceEvent$;
|
package/dist-es/models/enums.js
CHANGED
|
@@ -173,6 +173,9 @@ export const LanguageCode = {
|
|
|
173
173
|
};
|
|
174
174
|
export const MediaEncoding = {
|
|
175
175
|
FLAC: "flac",
|
|
176
|
+
G711_ALAW: "g711-alaw",
|
|
177
|
+
G711_ULAW: "g711-ulaw",
|
|
178
|
+
G729: "g729",
|
|
176
179
|
OGG_OPUS: "ogg-opus",
|
|
177
180
|
PCM: "pcm",
|
|
178
181
|
};
|
|
@@ -213,3 +216,7 @@ export const Type = {
|
|
|
213
216
|
CONVERSATION: "CONVERSATION",
|
|
214
217
|
DICTATION: "DICTATION",
|
|
215
218
|
};
|
|
219
|
+
export const TranscriptFormat = {
|
|
220
|
+
SPOKEN: "spoken",
|
|
221
|
+
WRITTEN: "written",
|
|
222
|
+
};
|
|
@@ -152,6 +152,7 @@ const _Spe = "Specialty";
|
|
|
152
152
|
const _St = "Status";
|
|
153
153
|
const _T = "Transcript";
|
|
154
154
|
const _TE = "TranscriptEvent";
|
|
155
|
+
const _TF = "TranscriptFormat";
|
|
155
156
|
const _TOL = "TranscriptOutputLocation";
|
|
156
157
|
const _TR = "TimestampRanges";
|
|
157
158
|
const _TRS = "TranscriptResultStream";
|
|
@@ -196,6 +197,7 @@ const _xatsr = "x-amzn-transcribe-sample-rate";
|
|
|
196
197
|
const _xatsrw = "x-amzn-transcribe-session-resume-window";
|
|
197
198
|
const _xatssl = "x-amzn-transcribe-show-speaker-label";
|
|
198
199
|
const _xatt = "x-amzn-transcribe-type";
|
|
200
|
+
const _xattf = "x-amzn-transcribe-transcript-format";
|
|
199
201
|
const _xatvfm = "x-amzn-transcribe-vocabulary-filter-method";
|
|
200
202
|
const _xatvfn = "x-amzn-transcribe-vocabulary-filter-name";
|
|
201
203
|
const _xatvfn_ = "x-amzn-transcribe-vocabulary-filter-names";
|
|
@@ -477,13 +479,13 @@ export var StartMedicalStreamTranscriptionResponse$ = [3, n0, _SMSTRt,
|
|
|
477
479
|
];
|
|
478
480
|
export var StartStreamTranscriptionRequest$ = [3, n0, _SSTR,
|
|
479
481
|
0,
|
|
480
|
-
[_MSRH, _MEe, _AS, _LC, _VN, _SI, _VFN, _VFMo, _SSL, _ECI, _NOC, _EPRS, _PRS, _CIT, _CRT, _PET, _LMN, _IL, _LO, _PL, _IML, _VNo, _VFNo, _SRW],
|
|
481
|
-
[[1, { [_hH]: _xatsr }], [0, { [_hH]: _xatme }], [() => AudioStream$, 16], [0, { [_hH]: _xatlc }], [0, { [_hH]: _xatvn }], [0, { [_hH]: _xatsi }], [0, { [_hH]: _xatvfn }], [0, { [_hH]: _xatvfm }], [2, { [_hH]: _xatssl }], [2, { [_hH]: _xateci }], [1, { [_hH]: _xatnoc }], [2, { [_hH]: _xateprs }], [0, { [_hH]: _xatprs }], [0, { [_hH]: _xatcit }], [0, { [_hH]: _xatcrt }], [0, { [_hH]: _xatpet }], [0, { [_hH]: _xatlmn }], [2, { [_hH]: _xatil }], [0, { [_hH]: _xatlo }], [0, { [_hH]: _xatpl }], [2, { [_hH]: _xatiml }], [0, { [_hH]: _xatvn_ }], [0, { [_hH]: _xatvfn_ }], [1, { [_hH]: _xatsrw }]], 3
|
|
482
|
+
[_MSRH, _MEe, _AS, _LC, _VN, _SI, _VFN, _VFMo, _SSL, _ECI, _NOC, _EPRS, _PRS, _CIT, _CRT, _PET, _LMN, _IL, _LO, _PL, _IML, _VNo, _VFNo, _SRW, _TF],
|
|
483
|
+
[[1, { [_hH]: _xatsr }], [0, { [_hH]: _xatme }], [() => AudioStream$, 16], [0, { [_hH]: _xatlc }], [0, { [_hH]: _xatvn }], [0, { [_hH]: _xatsi }], [0, { [_hH]: _xatvfn }], [0, { [_hH]: _xatvfm }], [2, { [_hH]: _xatssl }], [2, { [_hH]: _xateci }], [1, { [_hH]: _xatnoc }], [2, { [_hH]: _xateprs }], [0, { [_hH]: _xatprs }], [0, { [_hH]: _xatcit }], [0, { [_hH]: _xatcrt }], [0, { [_hH]: _xatpet }], [0, { [_hH]: _xatlmn }], [2, { [_hH]: _xatil }], [0, { [_hH]: _xatlo }], [0, { [_hH]: _xatpl }], [2, { [_hH]: _xatiml }], [0, { [_hH]: _xatvn_ }], [0, { [_hH]: _xatvfn_ }], [1, { [_hH]: _xatsrw }], [0, { [_hH]: _xattf }]], 3
|
|
482
484
|
];
|
|
483
485
|
export var StartStreamTranscriptionResponse$ = [3, n0, _SSTRt,
|
|
484
486
|
0,
|
|
485
|
-
[_RIe, _LC, _MSRH, _MEe, _VN, _SI, _TRS, _VFN, _VFMo, _SSL, _ECI, _NOC, _EPRS, _PRS, _CIT, _CRT, _PET, _LMN, _IL, _LO, _PL, _IML, _VNo, _VFNo, _SRW],
|
|
486
|
-
[[0, { [_hH]: _xari }], [0, { [_hH]: _xatlc }], [1, { [_hH]: _xatsr }], [0, { [_hH]: _xatme }], [0, { [_hH]: _xatvn }], [0, { [_hH]: _xatsi }], [() => TranscriptResultStream$, 16], [0, { [_hH]: _xatvfn }], [0, { [_hH]: _xatvfm }], [2, { [_hH]: _xatssl }], [2, { [_hH]: _xateci }], [1, { [_hH]: _xatnoc }], [2, { [_hH]: _xateprs }], [0, { [_hH]: _xatprs }], [0, { [_hH]: _xatcit }], [0, { [_hH]: _xatcrt }], [0, { [_hH]: _xatpet }], [0, { [_hH]: _xatlmn }], [2, { [_hH]: _xatil }], [0, { [_hH]: _xatlo }], [0, { [_hH]: _xatpl }], [2, { [_hH]: _xatiml }], [0, { [_hH]: _xatvn_ }], [0, { [_hH]: _xatvfn_ }], [1, { [_hH]: _xatsrw }]]
|
|
487
|
+
[_RIe, _LC, _MSRH, _MEe, _VN, _SI, _TRS, _VFN, _VFMo, _SSL, _ECI, _NOC, _EPRS, _PRS, _CIT, _CRT, _PET, _LMN, _IL, _LO, _PL, _IML, _VNo, _VFNo, _SRW, _TF],
|
|
488
|
+
[[0, { [_hH]: _xari }], [0, { [_hH]: _xatlc }], [1, { [_hH]: _xatsr }], [0, { [_hH]: _xatme }], [0, { [_hH]: _xatvn }], [0, { [_hH]: _xatsi }], [() => TranscriptResultStream$, 16], [0, { [_hH]: _xatvfn }], [0, { [_hH]: _xatvfm }], [2, { [_hH]: _xatssl }], [2, { [_hH]: _xateci }], [1, { [_hH]: _xatnoc }], [2, { [_hH]: _xateprs }], [0, { [_hH]: _xatprs }], [0, { [_hH]: _xatcit }], [0, { [_hH]: _xatcrt }], [0, { [_hH]: _xatpet }], [0, { [_hH]: _xatlmn }], [2, { [_hH]: _xatil }], [0, { [_hH]: _xatlo }], [0, { [_hH]: _xatpl }], [2, { [_hH]: _xatiml }], [0, { [_hH]: _xatvn_ }], [0, { [_hH]: _xatvfn_ }], [1, { [_hH]: _xatsrw }], [0, { [_hH]: _xattf }]]
|
|
487
489
|
];
|
|
488
490
|
export var TimestampRange$ = [3, n0, _TRi,
|
|
489
491
|
0,
|
|
@@ -103,8 +103,11 @@ declare const GetMedicalScribeStreamCommand_base: {
|
|
|
103
103
|
* processing.</p>
|
|
104
104
|
*
|
|
105
105
|
* @throws {@link LimitExceededException} (client fault)
|
|
106
|
-
* <p>Your client has exceeded one of the Amazon Transcribe limits
|
|
107
|
-
*
|
|
106
|
+
* <p>Your client has exceeded one of the Amazon Transcribe limits, typically the concurrent stream
|
|
107
|
+
* service quota. This error can also occur if a stream exceeds the maximum session duration. In rare
|
|
108
|
+
* cases, this error can also occur if you increase your number of concurrent streams too quickly.
|
|
109
|
+
* Reduce your number of concurrent streams and try your request again using an exponential backoff
|
|
110
|
+
* strategy.</p>
|
|
108
111
|
*
|
|
109
112
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
110
113
|
* <p>The request references a resource which doesn't exist.</p>
|
|
@@ -57,7 +57,7 @@ declare const StartCallAnalyticsStreamTranscriptionCommand_base: {
|
|
|
57
57
|
* const input = { // StartCallAnalyticsStreamTranscriptionRequest
|
|
58
58
|
* LanguageCode: "en-US" || "en-GB" || "es-US" || "fr-CA" || "fr-FR" || "en-AU" || "it-IT" || "de-DE" || "pt-BR",
|
|
59
59
|
* MediaSampleRateHertz: Number("int"), // required
|
|
60
|
-
* MediaEncoding: "pcm" || "ogg-opus" || "flac", // required
|
|
60
|
+
* MediaEncoding: "pcm" || "ogg-opus" || "flac" || "g711-alaw" || "g711-ulaw" || "g729", // required
|
|
61
61
|
* VocabularyName: "STRING_VALUE",
|
|
62
62
|
* SessionId: "STRING_VALUE",
|
|
63
63
|
* AudioStream: { // AudioStream Union: only one key present
|
|
@@ -99,7 +99,7 @@ declare const StartCallAnalyticsStreamTranscriptionCommand_base: {
|
|
|
99
99
|
* // RequestId: "STRING_VALUE",
|
|
100
100
|
* // LanguageCode: "en-US" || "en-GB" || "es-US" || "fr-CA" || "fr-FR" || "en-AU" || "it-IT" || "de-DE" || "pt-BR",
|
|
101
101
|
* // MediaSampleRateHertz: Number("int"),
|
|
102
|
-
* // MediaEncoding: "pcm" || "ogg-opus" || "flac",
|
|
102
|
+
* // MediaEncoding: "pcm" || "ogg-opus" || "flac" || "g711-alaw" || "g711-ulaw" || "g729",
|
|
103
103
|
* // VocabularyName: "STRING_VALUE",
|
|
104
104
|
* // SessionId: "STRING_VALUE",
|
|
105
105
|
* // CallAnalyticsTranscriptResultStream: { // CallAnalyticsTranscriptResultStream Union: only one key present
|
|
@@ -216,8 +216,11 @@ declare const StartCallAnalyticsStreamTranscriptionCommand_base: {
|
|
|
216
216
|
* processing.</p>
|
|
217
217
|
*
|
|
218
218
|
* @throws {@link LimitExceededException} (client fault)
|
|
219
|
-
* <p>Your client has exceeded one of the Amazon Transcribe limits
|
|
220
|
-
*
|
|
219
|
+
* <p>Your client has exceeded one of the Amazon Transcribe limits, typically the concurrent stream
|
|
220
|
+
* service quota. This error can also occur if a stream exceeds the maximum session duration. In rare
|
|
221
|
+
* cases, this error can also occur if you increase your number of concurrent streams too quickly.
|
|
222
|
+
* Reduce your number of concurrent streams and try your request again using an exponential backoff
|
|
223
|
+
* strategy.</p>
|
|
221
224
|
*
|
|
222
225
|
* @throws {@link ServiceUnavailableException} (server fault)
|
|
223
226
|
* <p>The service is currently unavailable. Try your request later.</p>
|
|
@@ -184,8 +184,11 @@ declare const StartMedicalScribeStreamCommand_base: {
|
|
|
184
184
|
* processing.</p>
|
|
185
185
|
*
|
|
186
186
|
* @throws {@link LimitExceededException} (client fault)
|
|
187
|
-
* <p>Your client has exceeded one of the Amazon Transcribe limits
|
|
188
|
-
*
|
|
187
|
+
* <p>Your client has exceeded one of the Amazon Transcribe limits, typically the concurrent stream
|
|
188
|
+
* service quota. This error can also occur if a stream exceeds the maximum session duration. In rare
|
|
189
|
+
* cases, this error can also occur if you increase your number of concurrent streams too quickly.
|
|
190
|
+
* Reduce your number of concurrent streams and try your request again using an exponential backoff
|
|
191
|
+
* strategy.</p>
|
|
189
192
|
*
|
|
190
193
|
* @throws {@link ServiceUnavailableException} (server fault)
|
|
191
194
|
* <p>The service is currently unavailable. Try your request later.</p>
|
|
@@ -59,7 +59,7 @@ declare const StartMedicalStreamTranscriptionCommand_base: {
|
|
|
59
59
|
* const input = { // StartMedicalStreamTranscriptionRequest
|
|
60
60
|
* LanguageCode: "en-US" || "en-GB" || "es-US" || "fr-CA" || "fr-FR" || "en-AU" || "it-IT" || "de-DE" || "pt-BR" || "ja-JP" || "ko-KR" || "zh-CN" || "th-TH" || "es-ES" || "ar-SA" || "pt-PT" || "ca-ES" || "ar-AE" || "hi-IN" || "zh-HK" || "nl-NL" || "no-NO" || "sv-SE" || "pl-PL" || "fi-FI" || "zh-TW" || "en-IN" || "en-IE" || "en-NZ" || "en-AB" || "en-ZA" || "en-WL" || "de-CH" || "af-ZA" || "eu-ES" || "hr-HR" || "cs-CZ" || "da-DK" || "fa-IR" || "gl-ES" || "el-GR" || "he-IL" || "id-ID" || "lv-LV" || "ms-MY" || "ro-RO" || "ru-RU" || "sr-RS" || "sk-SK" || "so-SO" || "tl-PH" || "uk-UA" || "vi-VN" || "zu-ZA" || "am-ET" || "be-BY" || "bg-BG" || "bn-IN" || "bs-BA" || "ckb-IQ" || "ckb-IR" || "cy-WL" || "es-MX" || "et-ET" || "fa-AF" || "gu-IN" || "ht-HT" || "hu-HU" || "hy-AM" || "is-IS" || "jv-ID" || "ka-GE" || "kab-DZ" || "kk-KZ" || "km-KH" || "kn-IN" || "lg-IN" || "lt-LT" || "mk-MK" || "ml-IN" || "mr-IN" || "my-MM" || "ne-NP" || "or-IN" || "pa-IN" || "ps-AF" || "si-LK" || "sl-SI" || "sq-AL" || "su-ID" || "sw-BI" || "sw-KE" || "sw-RW" || "sw-TZ" || "sw-UG" || "ta-IN" || "te-IN" || "tr-TR" || "uz-UZ", // required
|
|
61
61
|
* MediaSampleRateHertz: Number("int"), // required
|
|
62
|
-
* MediaEncoding: "pcm" || "ogg-opus" || "flac", // required
|
|
62
|
+
* MediaEncoding: "pcm" || "ogg-opus" || "flac" || "g711-alaw" || "g711-ulaw" || "g729", // required
|
|
63
63
|
* VocabularyName: "STRING_VALUE",
|
|
64
64
|
* Specialty: "PRIMARYCARE" || "CARDIOLOGY" || "NEUROLOGY" || "ONCOLOGY" || "RADIOLOGY" || "UROLOGY", // required
|
|
65
65
|
* Type: "CONVERSATION" || "DICTATION", // required
|
|
@@ -94,7 +94,7 @@ declare const StartMedicalStreamTranscriptionCommand_base: {
|
|
|
94
94
|
* // RequestId: "STRING_VALUE",
|
|
95
95
|
* // LanguageCode: "en-US" || "en-GB" || "es-US" || "fr-CA" || "fr-FR" || "en-AU" || "it-IT" || "de-DE" || "pt-BR" || "ja-JP" || "ko-KR" || "zh-CN" || "th-TH" || "es-ES" || "ar-SA" || "pt-PT" || "ca-ES" || "ar-AE" || "hi-IN" || "zh-HK" || "nl-NL" || "no-NO" || "sv-SE" || "pl-PL" || "fi-FI" || "zh-TW" || "en-IN" || "en-IE" || "en-NZ" || "en-AB" || "en-ZA" || "en-WL" || "de-CH" || "af-ZA" || "eu-ES" || "hr-HR" || "cs-CZ" || "da-DK" || "fa-IR" || "gl-ES" || "el-GR" || "he-IL" || "id-ID" || "lv-LV" || "ms-MY" || "ro-RO" || "ru-RU" || "sr-RS" || "sk-SK" || "so-SO" || "tl-PH" || "uk-UA" || "vi-VN" || "zu-ZA" || "am-ET" || "be-BY" || "bg-BG" || "bn-IN" || "bs-BA" || "ckb-IQ" || "ckb-IR" || "cy-WL" || "es-MX" || "et-ET" || "fa-AF" || "gu-IN" || "ht-HT" || "hu-HU" || "hy-AM" || "is-IS" || "jv-ID" || "ka-GE" || "kab-DZ" || "kk-KZ" || "km-KH" || "kn-IN" || "lg-IN" || "lt-LT" || "mk-MK" || "ml-IN" || "mr-IN" || "my-MM" || "ne-NP" || "or-IN" || "pa-IN" || "ps-AF" || "si-LK" || "sl-SI" || "sq-AL" || "su-ID" || "sw-BI" || "sw-KE" || "sw-RW" || "sw-TZ" || "sw-UG" || "ta-IN" || "te-IN" || "tr-TR" || "uz-UZ",
|
|
96
96
|
* // MediaSampleRateHertz: Number("int"),
|
|
97
|
-
* // MediaEncoding: "pcm" || "ogg-opus" || "flac",
|
|
97
|
+
* // MediaEncoding: "pcm" || "ogg-opus" || "flac" || "g711-alaw" || "g711-ulaw" || "g729",
|
|
98
98
|
* // VocabularyName: "STRING_VALUE",
|
|
99
99
|
* // Specialty: "PRIMARYCARE" || "CARDIOLOGY" || "NEUROLOGY" || "ONCOLOGY" || "RADIOLOGY" || "UROLOGY",
|
|
100
100
|
* // Type: "CONVERSATION" || "DICTATION",
|
|
@@ -181,8 +181,11 @@ declare const StartMedicalStreamTranscriptionCommand_base: {
|
|
|
181
181
|
* processing.</p>
|
|
182
182
|
*
|
|
183
183
|
* @throws {@link LimitExceededException} (client fault)
|
|
184
|
-
* <p>Your client has exceeded one of the Amazon Transcribe limits
|
|
185
|
-
*
|
|
184
|
+
* <p>Your client has exceeded one of the Amazon Transcribe limits, typically the concurrent stream
|
|
185
|
+
* service quota. This error can also occur if a stream exceeds the maximum session duration. In rare
|
|
186
|
+
* cases, this error can also occur if you increase your number of concurrent streams too quickly.
|
|
187
|
+
* Reduce your number of concurrent streams and try your request again using an exponential backoff
|
|
188
|
+
* strategy.</p>
|
|
186
189
|
*
|
|
187
190
|
* @throws {@link ServiceUnavailableException} (server fault)
|
|
188
191
|
* <p>The service is currently unavailable. Try your request later.</p>
|
|
@@ -56,7 +56,7 @@ declare const StartStreamTranscriptionCommand_base: {
|
|
|
56
56
|
* const input = { // StartStreamTranscriptionRequest
|
|
57
57
|
* LanguageCode: "en-US" || "en-GB" || "es-US" || "fr-CA" || "fr-FR" || "en-AU" || "it-IT" || "de-DE" || "pt-BR" || "ja-JP" || "ko-KR" || "zh-CN" || "th-TH" || "es-ES" || "ar-SA" || "pt-PT" || "ca-ES" || "ar-AE" || "hi-IN" || "zh-HK" || "nl-NL" || "no-NO" || "sv-SE" || "pl-PL" || "fi-FI" || "zh-TW" || "en-IN" || "en-IE" || "en-NZ" || "en-AB" || "en-ZA" || "en-WL" || "de-CH" || "af-ZA" || "eu-ES" || "hr-HR" || "cs-CZ" || "da-DK" || "fa-IR" || "gl-ES" || "el-GR" || "he-IL" || "id-ID" || "lv-LV" || "ms-MY" || "ro-RO" || "ru-RU" || "sr-RS" || "sk-SK" || "so-SO" || "tl-PH" || "uk-UA" || "vi-VN" || "zu-ZA" || "am-ET" || "be-BY" || "bg-BG" || "bn-IN" || "bs-BA" || "ckb-IQ" || "ckb-IR" || "cy-WL" || "es-MX" || "et-ET" || "fa-AF" || "gu-IN" || "ht-HT" || "hu-HU" || "hy-AM" || "is-IS" || "jv-ID" || "ka-GE" || "kab-DZ" || "kk-KZ" || "km-KH" || "kn-IN" || "lg-IN" || "lt-LT" || "mk-MK" || "ml-IN" || "mr-IN" || "my-MM" || "ne-NP" || "or-IN" || "pa-IN" || "ps-AF" || "si-LK" || "sl-SI" || "sq-AL" || "su-ID" || "sw-BI" || "sw-KE" || "sw-RW" || "sw-TZ" || "sw-UG" || "ta-IN" || "te-IN" || "tr-TR" || "uz-UZ",
|
|
58
58
|
* MediaSampleRateHertz: Number("int"), // required
|
|
59
|
-
* MediaEncoding: "pcm" || "ogg-opus" || "flac", // required
|
|
59
|
+
* MediaEncoding: "pcm" || "ogg-opus" || "flac" || "g711-alaw" || "g711-ulaw" || "g729", // required
|
|
60
60
|
* VocabularyName: "STRING_VALUE",
|
|
61
61
|
* SessionId: "STRING_VALUE",
|
|
62
62
|
* AudioStream: { // AudioStream Union: only one key present
|
|
@@ -96,6 +96,7 @@ declare const StartStreamTranscriptionCommand_base: {
|
|
|
96
96
|
* VocabularyNames: "STRING_VALUE",
|
|
97
97
|
* VocabularyFilterNames: "STRING_VALUE",
|
|
98
98
|
* SessionResumeWindow: Number("int"),
|
|
99
|
+
* TranscriptFormat: "spoken" || "written",
|
|
99
100
|
* };
|
|
100
101
|
* const command = new StartStreamTranscriptionCommand(input);
|
|
101
102
|
* const response = await client.send(command);
|
|
@@ -103,7 +104,7 @@ declare const StartStreamTranscriptionCommand_base: {
|
|
|
103
104
|
* // RequestId: "STRING_VALUE",
|
|
104
105
|
* // LanguageCode: "en-US" || "en-GB" || "es-US" || "fr-CA" || "fr-FR" || "en-AU" || "it-IT" || "de-DE" || "pt-BR" || "ja-JP" || "ko-KR" || "zh-CN" || "th-TH" || "es-ES" || "ar-SA" || "pt-PT" || "ca-ES" || "ar-AE" || "hi-IN" || "zh-HK" || "nl-NL" || "no-NO" || "sv-SE" || "pl-PL" || "fi-FI" || "zh-TW" || "en-IN" || "en-IE" || "en-NZ" || "en-AB" || "en-ZA" || "en-WL" || "de-CH" || "af-ZA" || "eu-ES" || "hr-HR" || "cs-CZ" || "da-DK" || "fa-IR" || "gl-ES" || "el-GR" || "he-IL" || "id-ID" || "lv-LV" || "ms-MY" || "ro-RO" || "ru-RU" || "sr-RS" || "sk-SK" || "so-SO" || "tl-PH" || "uk-UA" || "vi-VN" || "zu-ZA" || "am-ET" || "be-BY" || "bg-BG" || "bn-IN" || "bs-BA" || "ckb-IQ" || "ckb-IR" || "cy-WL" || "es-MX" || "et-ET" || "fa-AF" || "gu-IN" || "ht-HT" || "hu-HU" || "hy-AM" || "is-IS" || "jv-ID" || "ka-GE" || "kab-DZ" || "kk-KZ" || "km-KH" || "kn-IN" || "lg-IN" || "lt-LT" || "mk-MK" || "ml-IN" || "mr-IN" || "my-MM" || "ne-NP" || "or-IN" || "pa-IN" || "ps-AF" || "si-LK" || "sl-SI" || "sq-AL" || "su-ID" || "sw-BI" || "sw-KE" || "sw-RW" || "sw-TZ" || "sw-UG" || "ta-IN" || "te-IN" || "tr-TR" || "uz-UZ",
|
|
105
106
|
* // MediaSampleRateHertz: Number("int"),
|
|
106
|
-
* // MediaEncoding: "pcm" || "ogg-opus" || "flac",
|
|
107
|
+
* // MediaEncoding: "pcm" || "ogg-opus" || "flac" || "g711-alaw" || "g711-ulaw" || "g729",
|
|
107
108
|
* // VocabularyName: "STRING_VALUE",
|
|
108
109
|
* // SessionId: "STRING_VALUE",
|
|
109
110
|
* // TranscriptResultStream: { // TranscriptResultStream Union: only one key present
|
|
@@ -188,6 +189,7 @@ declare const StartStreamTranscriptionCommand_base: {
|
|
|
188
189
|
* // VocabularyNames: "STRING_VALUE",
|
|
189
190
|
* // VocabularyFilterNames: "STRING_VALUE",
|
|
190
191
|
* // SessionResumeWindow: Number("int"),
|
|
192
|
+
* // TranscriptFormat: "spoken" || "written",
|
|
191
193
|
* // };
|
|
192
194
|
*
|
|
193
195
|
* ```
|
|
@@ -212,8 +214,11 @@ declare const StartStreamTranscriptionCommand_base: {
|
|
|
212
214
|
* processing.</p>
|
|
213
215
|
*
|
|
214
216
|
* @throws {@link LimitExceededException} (client fault)
|
|
215
|
-
* <p>Your client has exceeded one of the Amazon Transcribe limits
|
|
216
|
-
*
|
|
217
|
+
* <p>Your client has exceeded one of the Amazon Transcribe limits, typically the concurrent stream
|
|
218
|
+
* service quota. This error can also occur if a stream exceeds the maximum session duration. In rare
|
|
219
|
+
* cases, this error can also occur if you increase your number of concurrent streams too quickly.
|
|
220
|
+
* Reduce your number of concurrent streams and try your request again using an exponential backoff
|
|
221
|
+
* strategy.</p>
|
|
217
222
|
*
|
|
218
223
|
* @throws {@link ServiceUnavailableException} (server fault)
|
|
219
224
|
* <p>The service is currently unavailable. Try your request later.</p>
|
|
@@ -297,6 +297,9 @@ export type LanguageCode = (typeof LanguageCode)[keyof typeof LanguageCode];
|
|
|
297
297
|
*/
|
|
298
298
|
export declare const MediaEncoding: {
|
|
299
299
|
readonly FLAC: "flac";
|
|
300
|
+
readonly G711_ALAW: "g711-alaw";
|
|
301
|
+
readonly G711_ULAW: "g711-ulaw";
|
|
302
|
+
readonly G729: "g729";
|
|
300
303
|
readonly OGG_OPUS: "ogg-opus";
|
|
301
304
|
readonly PCM: "pcm";
|
|
302
305
|
};
|
|
@@ -405,3 +408,15 @@ export declare const Type: {
|
|
|
405
408
|
* @public
|
|
406
409
|
*/
|
|
407
410
|
export type Type = (typeof Type)[keyof typeof Type];
|
|
411
|
+
/**
|
|
412
|
+
* @public
|
|
413
|
+
* @enum
|
|
414
|
+
*/
|
|
415
|
+
export declare const TranscriptFormat: {
|
|
416
|
+
readonly SPOKEN: "spoken";
|
|
417
|
+
readonly WRITTEN: "written";
|
|
418
|
+
};
|
|
419
|
+
/**
|
|
420
|
+
* @public
|
|
421
|
+
*/
|
|
422
|
+
export type TranscriptFormat = (typeof TranscriptFormat)[keyof typeof TranscriptFormat];
|
|
@@ -44,8 +44,11 @@ export declare class InternalFailureException extends __BaseException {
|
|
|
44
44
|
constructor(opts: __ExceptionOptionType<InternalFailureException, __BaseException>);
|
|
45
45
|
}
|
|
46
46
|
/**
|
|
47
|
-
* <p>Your client has exceeded one of the Amazon Transcribe limits
|
|
48
|
-
*
|
|
47
|
+
* <p>Your client has exceeded one of the Amazon Transcribe limits, typically the concurrent stream
|
|
48
|
+
* service quota. This error can also occur if a stream exceeds the maximum session duration. In rare
|
|
49
|
+
* cases, this error can also occur if you increase your number of concurrent streams too quickly.
|
|
50
|
+
* Reduce your number of concurrent streams and try your request again using an exponential backoff
|
|
51
|
+
* strategy.</p>
|
|
49
52
|
* @public
|
|
50
53
|
*/
|
|
51
54
|
export declare class LimitExceededException extends __BaseException {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { CallAnalyticsLanguageCode, ClinicalNoteGenerationStatus, ContentIdentificationType, ContentRedactionOutput, ContentRedactionType, ItemType, LanguageCode, MediaEncoding, MedicalContentIdentificationType, MedicalScribeLanguageCode, MedicalScribeMediaEncoding, MedicalScribeNoteTemplate, MedicalScribeParticipantRole, MedicalScribeSessionControlEventType, MedicalScribeStreamStatus, MedicalScribeTranscriptItemType, MedicalScribeVocabularyFilterMethod, PartialResultsStability, ParticipantRole, Pronouns, Sentiment, Specialty, Type, VocabularyFilterMethod } from "./enums";
|
|
1
|
+
import type { CallAnalyticsLanguageCode, ClinicalNoteGenerationStatus, ContentIdentificationType, ContentRedactionOutput, ContentRedactionType, ItemType, LanguageCode, MediaEncoding, MedicalContentIdentificationType, MedicalScribeLanguageCode, MedicalScribeMediaEncoding, MedicalScribeNoteTemplate, MedicalScribeParticipantRole, MedicalScribeSessionControlEventType, MedicalScribeStreamStatus, MedicalScribeTranscriptItemType, MedicalScribeVocabularyFilterMethod, PartialResultsStability, ParticipantRole, Pronouns, Sentiment, Specialty, TranscriptFormat, Type, VocabularyFilterMethod } from "./enums";
|
|
2
2
|
import type { BadRequestException, ConflictException, InternalFailureException, LimitExceededException, ServiceUnavailableException } from "./errors";
|
|
3
3
|
/**
|
|
4
4
|
* <p>Contains entities identified as personally identifiable information (PII) in your
|
|
@@ -652,8 +652,11 @@ export declare namespace CallAnalyticsTranscriptResultStream {
|
|
|
652
652
|
$unknown?: never;
|
|
653
653
|
}
|
|
654
654
|
/**
|
|
655
|
-
* <p>Your client has exceeded one of the Amazon Transcribe limits
|
|
656
|
-
*
|
|
655
|
+
* <p>Your client has exceeded one of the Amazon Transcribe limits, typically the concurrent stream
|
|
656
|
+
* service quota. This error can also occur if a stream exceeds the maximum session duration. In rare
|
|
657
|
+
* cases, this error can also occur if you increase your number of concurrent streams too quickly.
|
|
658
|
+
* Reduce your number of concurrent streams and try your request again using an exponential backoff
|
|
659
|
+
* strategy.</p>
|
|
657
660
|
* @public
|
|
658
661
|
*/
|
|
659
662
|
interface LimitExceededExceptionMember {
|
|
@@ -1632,8 +1635,11 @@ export declare namespace MedicalScribeResultStream {
|
|
|
1632
1635
|
$unknown?: never;
|
|
1633
1636
|
}
|
|
1634
1637
|
/**
|
|
1635
|
-
* <p>Your client has exceeded one of the Amazon Transcribe limits
|
|
1636
|
-
*
|
|
1638
|
+
* <p>Your client has exceeded one of the Amazon Transcribe limits, typically the concurrent stream
|
|
1639
|
+
* service quota. This error can also occur if a stream exceeds the maximum session duration. In rare
|
|
1640
|
+
* cases, this error can also occur if you increase your number of concurrent streams too quickly.
|
|
1641
|
+
* Reduce your number of concurrent streams and try your request again using an exponential backoff
|
|
1642
|
+
* strategy.</p>
|
|
1637
1643
|
* @public
|
|
1638
1644
|
*/
|
|
1639
1645
|
interface LimitExceededExceptionMember {
|
|
@@ -1791,8 +1797,11 @@ export declare namespace MedicalTranscriptResultStream {
|
|
|
1791
1797
|
$unknown?: never;
|
|
1792
1798
|
}
|
|
1793
1799
|
/**
|
|
1794
|
-
* <p>Your client has exceeded one of the Amazon Transcribe limits
|
|
1795
|
-
*
|
|
1800
|
+
* <p>Your client has exceeded one of the Amazon Transcribe limits, typically the concurrent stream
|
|
1801
|
+
* service quota. This error can also occur if a stream exceeds the maximum session duration. In rare
|
|
1802
|
+
* cases, this error can also occur if you increase your number of concurrent streams too quickly.
|
|
1803
|
+
* Reduce your number of concurrent streams and try your request again using an exponential backoff
|
|
1804
|
+
* strategy.</p>
|
|
1796
1805
|
* @public
|
|
1797
1806
|
*/
|
|
1798
1807
|
interface LimitExceededExceptionMember {
|
|
@@ -2809,6 +2818,26 @@ export interface StartStreamTranscriptionRequest {
|
|
|
2809
2818
|
* @public
|
|
2810
2819
|
*/
|
|
2811
2820
|
SessionResumeWindow?: number | undefined;
|
|
2821
|
+
/**
|
|
2822
|
+
* <p>Specify how numbers, dates, and other alphanumeric entities are rendered in your
|
|
2823
|
+
* transcription results.</p>
|
|
2824
|
+
* <ul>
|
|
2825
|
+
* <li>
|
|
2826
|
+
* <p>
|
|
2827
|
+
* <code>WRITTEN</code> renders these entities in their standard written form
|
|
2828
|
+
* (for example, <code>$50</code>, <code>10:30 AM</code>, and <code>101</code>).</p>
|
|
2829
|
+
* </li>
|
|
2830
|
+
* <li>
|
|
2831
|
+
* <p>
|
|
2832
|
+
* <code>SPOKEN</code> renders these entities as words, exactly as they were
|
|
2833
|
+
* spoken (for example, <code>fifty dollars</code>, <code>ten thirty a m</code>, and
|
|
2834
|
+
* <code>one oh one</code>).</p>
|
|
2835
|
+
* </li>
|
|
2836
|
+
* </ul>
|
|
2837
|
+
* <p>If you don't specify a value, Amazon Transcribe uses <code>WRITTEN</code> by default.</p>
|
|
2838
|
+
* @public
|
|
2839
|
+
*/
|
|
2840
|
+
TranscriptFormat?: TranscriptFormat | undefined;
|
|
2812
2841
|
}
|
|
2813
2842
|
/**
|
|
2814
2843
|
* <p>The <code>Transcript</code> associated with a
|
|
@@ -2886,8 +2915,11 @@ export declare namespace TranscriptResultStream {
|
|
|
2886
2915
|
$unknown?: never;
|
|
2887
2916
|
}
|
|
2888
2917
|
/**
|
|
2889
|
-
* <p>Your client has exceeded one of the Amazon Transcribe limits
|
|
2890
|
-
*
|
|
2918
|
+
* <p>Your client has exceeded one of the Amazon Transcribe limits, typically the concurrent stream
|
|
2919
|
+
* service quota. This error can also occur if a stream exceeds the maximum session duration. In rare
|
|
2920
|
+
* cases, this error can also occur if you increase your number of concurrent streams too quickly.
|
|
2921
|
+
* Reduce your number of concurrent streams and try your request again using an exponential backoff
|
|
2922
|
+
* strategy.</p>
|
|
2891
2923
|
* @public
|
|
2892
2924
|
*/
|
|
2893
2925
|
interface LimitExceededExceptionMember {
|
|
@@ -3098,4 +3130,9 @@ export interface StartStreamTranscriptionResponse {
|
|
|
3098
3130
|
* @public
|
|
3099
3131
|
*/
|
|
3100
3132
|
SessionResumeWindow?: number | undefined;
|
|
3133
|
+
/**
|
|
3134
|
+
* <p>Provides the transcript format that you specified in your request.</p>
|
|
3135
|
+
* @public
|
|
3136
|
+
*/
|
|
3137
|
+
TranscriptFormat?: TranscriptFormat | undefined;
|
|
3101
3138
|
}
|
|
@@ -198,6 +198,9 @@ export declare const LanguageCode: {
|
|
|
198
198
|
export type LanguageCode = (typeof LanguageCode)[keyof typeof LanguageCode];
|
|
199
199
|
export declare const MediaEncoding: {
|
|
200
200
|
readonly FLAC: "flac";
|
|
201
|
+
readonly G711_ALAW: "g711-alaw";
|
|
202
|
+
readonly G711_ULAW: "g711-ulaw";
|
|
203
|
+
readonly G729: "g729";
|
|
201
204
|
readonly OGG_OPUS: "ogg-opus";
|
|
202
205
|
readonly PCM: "pcm";
|
|
203
206
|
};
|
|
@@ -252,3 +255,8 @@ export declare const Type: {
|
|
|
252
255
|
readonly DICTATION: "DICTATION";
|
|
253
256
|
};
|
|
254
257
|
export type Type = (typeof Type)[keyof typeof Type];
|
|
258
|
+
export declare const TranscriptFormat: {
|
|
259
|
+
readonly SPOKEN: "spoken";
|
|
260
|
+
readonly WRITTEN: "written";
|
|
261
|
+
};
|
|
262
|
+
export type TranscriptFormat = (typeof TranscriptFormat)[keyof typeof TranscriptFormat];
|
|
@@ -21,6 +21,7 @@ import {
|
|
|
21
21
|
Pronouns,
|
|
22
22
|
Sentiment,
|
|
23
23
|
Specialty,
|
|
24
|
+
TranscriptFormat,
|
|
24
25
|
Type,
|
|
25
26
|
VocabularyFilterMethod,
|
|
26
27
|
} from "./enums";
|
|
@@ -704,6 +705,7 @@ export interface StartStreamTranscriptionRequest {
|
|
|
704
705
|
VocabularyNames?: string | undefined;
|
|
705
706
|
VocabularyFilterNames?: string | undefined;
|
|
706
707
|
SessionResumeWindow?: number | undefined;
|
|
708
|
+
TranscriptFormat?: TranscriptFormat | undefined;
|
|
707
709
|
}
|
|
708
710
|
export interface Transcript {
|
|
709
711
|
Results?: Result[] | undefined;
|
|
@@ -819,4 +821,5 @@ export interface StartStreamTranscriptionResponse {
|
|
|
819
821
|
VocabularyNames?: string | undefined;
|
|
820
822
|
VocabularyFilterNames?: string | undefined;
|
|
821
823
|
SessionResumeWindow?: number | undefined;
|
|
824
|
+
TranscriptFormat?: TranscriptFormat | undefined;
|
|
822
825
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-transcribe-streaming",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1101.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Transcribe Streaming Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-transcribe-streaming",
|
|
6
6
|
"license": "Apache-2.0",
|