@aws-sdk/client-transcribe-streaming 3.204.0 → 3.207.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/models/models_0.js +2 -0
- package/dist-es/models/models_0.js +2 -0
- package/dist-types/TranscribeStreaming.d.ts +30 -11
- package/dist-types/TranscribeStreamingClient.d.ts +16 -1
- package/dist-types/commands/StartMedicalStreamTranscriptionCommand.d.ts +6 -2
- package/dist-types/commands/StartStreamTranscriptionCommand.d.ts +8 -8
- package/dist-types/models/models_0.d.ts +439 -325
- package/dist-types/ts3.4/models/models_0.d.ts +2 -0
- package/package.json +1 -1
|
@@ -74,10 +74,12 @@ var LanguageCode;
|
|
|
74
74
|
LanguageCode["ES_US"] = "es-US";
|
|
75
75
|
LanguageCode["FR_CA"] = "fr-CA";
|
|
76
76
|
LanguageCode["FR_FR"] = "fr-FR";
|
|
77
|
+
LanguageCode["HI_IN"] = "hi-IN";
|
|
77
78
|
LanguageCode["IT_IT"] = "it-IT";
|
|
78
79
|
LanguageCode["JA_JP"] = "ja-JP";
|
|
79
80
|
LanguageCode["KO_KR"] = "ko-KR";
|
|
80
81
|
LanguageCode["PT_BR"] = "pt-BR";
|
|
82
|
+
LanguageCode["TH_TH"] = "th-TH";
|
|
81
83
|
LanguageCode["ZH_CN"] = "zh-CN";
|
|
82
84
|
})(LanguageCode = exports.LanguageCode || (exports.LanguageCode = {}));
|
|
83
85
|
class LimitExceededException extends TranscribeStreamingServiceException_1.TranscribeStreamingServiceException {
|
|
@@ -68,10 +68,12 @@ export var LanguageCode;
|
|
|
68
68
|
LanguageCode["ES_US"] = "es-US";
|
|
69
69
|
LanguageCode["FR_CA"] = "fr-CA";
|
|
70
70
|
LanguageCode["FR_FR"] = "fr-FR";
|
|
71
|
+
LanguageCode["HI_IN"] = "hi-IN";
|
|
71
72
|
LanguageCode["IT_IT"] = "it-IT";
|
|
72
73
|
LanguageCode["JA_JP"] = "ja-JP";
|
|
73
74
|
LanguageCode["KO_KR"] = "ko-KR";
|
|
74
75
|
LanguageCode["PT_BR"] = "pt-BR";
|
|
76
|
+
LanguageCode["TH_TH"] = "th-TH";
|
|
75
77
|
LanguageCode["ZH_CN"] = "zh-CN";
|
|
76
78
|
})(LanguageCode || (LanguageCode = {}));
|
|
77
79
|
export class LimitExceededException extends __BaseException {
|
|
@@ -3,35 +3,54 @@ import { StartMedicalStreamTranscriptionCommandInput, StartMedicalStreamTranscri
|
|
|
3
3
|
import { StartStreamTranscriptionCommandInput, StartStreamTranscriptionCommandOutput } from "./commands/StartStreamTranscriptionCommand";
|
|
4
4
|
import { TranscribeStreamingClient } from "./TranscribeStreamingClient";
|
|
5
5
|
/**
|
|
6
|
-
* <p>
|
|
6
|
+
* <p>Amazon Transcribe streaming offers two types of real-time transcription:
|
|
7
|
+
* <b>Standard</b> and <b>Medical</b>.</p>
|
|
8
|
+
* <ul>
|
|
9
|
+
* <li>
|
|
10
|
+
* <p>
|
|
11
|
+
* <b>Standard transcriptions</b> are the most common option. Refer
|
|
12
|
+
* to for details.</p>
|
|
13
|
+
* </li>
|
|
14
|
+
* <li>
|
|
15
|
+
* <p>
|
|
16
|
+
* <b>Medical transcriptions</b> are tailored to medical professionals
|
|
17
|
+
* and incorporate medical terms. A common use case for this service is transcribing doctor-patient
|
|
18
|
+
* dialogue in real time, so doctors can focus on their patient instead of taking notes. Refer to
|
|
19
|
+
* for details.</p>
|
|
20
|
+
* </li>
|
|
21
|
+
* </ul>
|
|
7
22
|
*/
|
|
8
23
|
export declare class TranscribeStreaming extends TranscribeStreamingClient {
|
|
9
24
|
/**
|
|
10
|
-
* <p>Starts a bidirectional HTTP/2 stream where audio is streamed to
|
|
11
|
-
* transcription results are streamed to your
|
|
25
|
+
* <p>Starts a bidirectional HTTP/2 or WebSocket stream where audio is streamed to
|
|
26
|
+
* Amazon Transcribe Medical and the transcription results are streamed to your
|
|
27
|
+
* application.</p>
|
|
28
|
+
* <p>For more information on streaming with Amazon Transcribe Medical, see
|
|
29
|
+
* <a href="https://docs.aws.amazon.com/transcribe/latest/dg/streaming.html">Transcribing
|
|
30
|
+
* streaming audio</a>.</p>
|
|
12
31
|
*/
|
|
13
32
|
startMedicalStreamTranscription(args: StartMedicalStreamTranscriptionCommandInput, options?: __HttpHandlerOptions): Promise<StartMedicalStreamTranscriptionCommandOutput>;
|
|
14
33
|
startMedicalStreamTranscription(args: StartMedicalStreamTranscriptionCommandInput, cb: (err: any, data?: StartMedicalStreamTranscriptionCommandOutput) => void): void;
|
|
15
34
|
startMedicalStreamTranscription(args: StartMedicalStreamTranscriptionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartMedicalStreamTranscriptionCommandOutput) => void): void;
|
|
16
35
|
/**
|
|
17
|
-
* <p>Starts a bidirectional HTTP/2 stream where audio is streamed to
|
|
18
|
-
* results are streamed to your application.</p>
|
|
19
|
-
* <p>The following are encoded as
|
|
36
|
+
* <p>Starts a bidirectional HTTP/2 or WebSocket stream where audio is streamed to
|
|
37
|
+
* Amazon Transcribe and the transcription results are streamed to your application.</p>
|
|
38
|
+
* <p>The following are encoded as headers:</p>
|
|
20
39
|
* <ul>
|
|
21
40
|
* <li>
|
|
22
|
-
* <p>
|
|
41
|
+
* <p>language-code</p>
|
|
23
42
|
* </li>
|
|
24
43
|
* <li>
|
|
25
|
-
* <p>
|
|
44
|
+
* <p>media-encoding</p>
|
|
26
45
|
* </li>
|
|
27
46
|
* <li>
|
|
28
|
-
* <p>
|
|
47
|
+
* <p>sample-rate</p>
|
|
29
48
|
* </li>
|
|
30
49
|
* <li>
|
|
31
|
-
* <p>
|
|
50
|
+
* <p>session-id</p>
|
|
32
51
|
* </li>
|
|
33
52
|
* </ul>
|
|
34
|
-
* <p>
|
|
53
|
+
* <p>For more information on streaming with Amazon Transcribe, see <a href="https://docs.aws.amazon.com/transcribe/latest/dg/streaming.html">Transcribing streaming audio</a>.</p>
|
|
35
54
|
*/
|
|
36
55
|
startStreamTranscription(args: StartStreamTranscriptionCommandInput, options?: __HttpHandlerOptions): Promise<StartStreamTranscriptionCommandOutput>;
|
|
37
56
|
startStreamTranscription(args: StartStreamTranscriptionCommandInput, cb: (err: any, data?: StartStreamTranscriptionCommandOutput) => void): void;
|
|
@@ -137,7 +137,22 @@ declare type TranscribeStreamingClientResolvedConfigType = __SmithyResolvedConfi
|
|
|
137
137
|
export interface TranscribeStreamingClientResolvedConfig extends TranscribeStreamingClientResolvedConfigType {
|
|
138
138
|
}
|
|
139
139
|
/**
|
|
140
|
-
* <p>
|
|
140
|
+
* <p>Amazon Transcribe streaming offers two types of real-time transcription:
|
|
141
|
+
* <b>Standard</b> and <b>Medical</b>.</p>
|
|
142
|
+
* <ul>
|
|
143
|
+
* <li>
|
|
144
|
+
* <p>
|
|
145
|
+
* <b>Standard transcriptions</b> are the most common option. Refer
|
|
146
|
+
* to for details.</p>
|
|
147
|
+
* </li>
|
|
148
|
+
* <li>
|
|
149
|
+
* <p>
|
|
150
|
+
* <b>Medical transcriptions</b> are tailored to medical professionals
|
|
151
|
+
* and incorporate medical terms. A common use case for this service is transcribing doctor-patient
|
|
152
|
+
* dialogue in real time, so doctors can focus on their patient instead of taking notes. Refer to
|
|
153
|
+
* for details.</p>
|
|
154
|
+
* </li>
|
|
155
|
+
* </ul>
|
|
141
156
|
*/
|
|
142
157
|
export declare class TranscribeStreamingClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, TranscribeStreamingClientResolvedConfig> {
|
|
143
158
|
/**
|
|
@@ -8,8 +8,12 @@ export interface StartMedicalStreamTranscriptionCommandInput extends StartMedica
|
|
|
8
8
|
export interface StartMedicalStreamTranscriptionCommandOutput extends StartMedicalStreamTranscriptionResponse, __MetadataBearer {
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
|
-
* <p>Starts a bidirectional HTTP/2 stream where audio is streamed to
|
|
12
|
-
* transcription results are streamed to your
|
|
11
|
+
* <p>Starts a bidirectional HTTP/2 or WebSocket stream where audio is streamed to
|
|
12
|
+
* Amazon Transcribe Medical and the transcription results are streamed to your
|
|
13
|
+
* application.</p>
|
|
14
|
+
* <p>For more information on streaming with Amazon Transcribe Medical, see
|
|
15
|
+
* <a href="https://docs.aws.amazon.com/transcribe/latest/dg/streaming.html">Transcribing
|
|
16
|
+
* streaming audio</a>.</p>
|
|
13
17
|
* @example
|
|
14
18
|
* Use a bare-bones client and the command you need to make an API call.
|
|
15
19
|
* ```javascript
|
|
@@ -8,24 +8,24 @@ export interface StartStreamTranscriptionCommandInput extends StartStreamTranscr
|
|
|
8
8
|
export interface StartStreamTranscriptionCommandOutput extends StartStreamTranscriptionResponse, __MetadataBearer {
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
|
-
* <p>Starts a bidirectional HTTP/2 stream where audio is streamed to
|
|
12
|
-
* results are streamed to your application.</p>
|
|
13
|
-
* <p>The following are encoded as
|
|
11
|
+
* <p>Starts a bidirectional HTTP/2 or WebSocket stream where audio is streamed to
|
|
12
|
+
* Amazon Transcribe and the transcription results are streamed to your application.</p>
|
|
13
|
+
* <p>The following are encoded as headers:</p>
|
|
14
14
|
* <ul>
|
|
15
15
|
* <li>
|
|
16
|
-
* <p>
|
|
16
|
+
* <p>language-code</p>
|
|
17
17
|
* </li>
|
|
18
18
|
* <li>
|
|
19
|
-
* <p>
|
|
19
|
+
* <p>media-encoding</p>
|
|
20
20
|
* </li>
|
|
21
21
|
* <li>
|
|
22
|
-
* <p>
|
|
22
|
+
* <p>sample-rate</p>
|
|
23
23
|
* </li>
|
|
24
24
|
* <li>
|
|
25
|
-
* <p>
|
|
25
|
+
* <p>session-id</p>
|
|
26
26
|
* </li>
|
|
27
27
|
* </ul>
|
|
28
|
-
* <p>
|
|
28
|
+
* <p>For more information on streaming with Amazon Transcribe, see <a href="https://docs.aws.amazon.com/transcribe/latest/dg/streaming.html">Transcribing streaming audio</a>.</p>
|
|
29
29
|
* @example
|
|
30
30
|
* Use a bare-bones client and the command you need to make an API call.
|
|
31
31
|
* ```javascript
|