Skip to content

Commit 50252d2

Browse files
author
awstools
committed
feat(client-transcribe-streaming): This will release hi-IN and th-TH
1 parent 552e450 commit 50252d2

File tree

6 files changed

+1009
-802
lines changed

6 files changed

+1009
-802
lines changed

clients/client-transcribe-streaming/src/TranscribeStreaming.ts

Lines changed: 30 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,31 @@ import {
1414
import { TranscribeStreamingClient } from "./TranscribeStreamingClient";
1515

1616
/**
17-
* <p>Operations and objects for transcribing streaming speech to text.</p>
17+
* <p>Amazon Transcribe streaming offers two types of real-time transcription:
18+
* <b>Standard</b> and <b>Medical</b>.</p>
19+
* <ul>
20+
* <li>
21+
* <p>
22+
* <b>Standard transcriptions</b> are the most common option. Refer
23+
* to for details.</p>
24+
* </li>
25+
* <li>
26+
* <p>
27+
* <b>Medical transcriptions</b> are tailored to medical professionals
28+
* and incorporate medical terms. A common use case for this service is transcribing doctor-patient
29+
* dialogue in real time, so doctors can focus on their patient instead of taking notes. Refer to
30+
* for details.</p>
31+
* </li>
32+
* </ul>
1833
*/
1934
export class TranscribeStreaming extends TranscribeStreamingClient {
2035
/**
21-
* <p>Starts a bidirectional HTTP/2 stream where audio is streamed to Amazon Transcribe Medical and the
22-
* transcription results are streamed to your application.</p>
36+
* <p>Starts a bidirectional HTTP/2 or WebSocket stream where audio is streamed to
37+
* Amazon Transcribe Medical and the transcription results are streamed to your
38+
* application.</p>
39+
* <p>For more information on streaming with Amazon Transcribe Medical, see
40+
* <a href="https://docs.aws.amazon.com/transcribe/latest/dg/streaming.html">Transcribing
41+
* streaming audio</a>.</p>
2342
*/
2443
public startMedicalStreamTranscription(
2544
args: StartMedicalStreamTranscriptionCommandInput,
@@ -51,24 +70,24 @@ export class TranscribeStreaming extends TranscribeStreamingClient {
5170
}
5271

5372
/**
54-
* <p>Starts a bidirectional HTTP/2 stream where audio is streamed to Amazon Transcribe and the transcription
55-
* results are streamed to your application.</p>
56-
* <p>The following are encoded as HTTP/2 headers:</p>
73+
* <p>Starts a bidirectional HTTP/2 or WebSocket stream where audio is streamed to
74+
* Amazon Transcribe and the transcription results are streamed to your application.</p>
75+
* <p>The following are encoded as headers:</p>
5776
* <ul>
5877
* <li>
59-
* <p>x-amzn-transcribe-language-code</p>
78+
* <p>language-code</p>
6079
* </li>
6180
* <li>
62-
* <p>x-amzn-transcribe-media-encoding</p>
81+
* <p>media-encoding</p>
6382
* </li>
6483
* <li>
65-
* <p>x-amzn-transcribe-sample-rate</p>
84+
* <p>sample-rate</p>
6685
* </li>
6786
* <li>
68-
* <p>x-amzn-transcribe-session-id</p>
87+
* <p>session-id</p>
6988
* </li>
7089
* </ul>
71-
* <p>See the <a href="https://docs.aws.amazon.com/sdk-for-go/api/service/transcribestreamingservice/#TranscribeStreamingService.StartStreamTranscription"> SDK for Go API Reference</a> for more detail.</p>
90+
* <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>
7291
*/
7392
public startStreamTranscription(
7493
args: StartStreamTranscriptionCommandInput,

clients/client-transcribe-streaming/src/TranscribeStreamingClient.ts

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,22 @@ type TranscribeStreamingClientResolvedConfigType = __SmithyResolvedConfiguration
252252
export interface TranscribeStreamingClientResolvedConfig extends TranscribeStreamingClientResolvedConfigType {}
253253

254254
/**
255-
* <p>Operations and objects for transcribing streaming speech to text.</p>
255+
* <p>Amazon Transcribe streaming offers two types of real-time transcription:
256+
* <b>Standard</b> and <b>Medical</b>.</p>
257+
* <ul>
258+
* <li>
259+
* <p>
260+
* <b>Standard transcriptions</b> are the most common option. Refer
261+
* to for details.</p>
262+
* </li>
263+
* <li>
264+
* <p>
265+
* <b>Medical transcriptions</b> are tailored to medical professionals
266+
* and incorporate medical terms. A common use case for this service is transcribing doctor-patient
267+
* dialogue in real time, so doctors can focus on their patient instead of taking notes. Refer to
268+
* for details.</p>
269+
* </li>
270+
* </ul>
256271
*/
257272
export class TranscribeStreamingClient extends __Client<
258273
__HttpHandlerOptions,

clients/client-transcribe-streaming/src/commands/StartMedicalStreamTranscriptionCommand.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,12 @@ export interface StartMedicalStreamTranscriptionCommandOutput
3737
__MetadataBearer {}
3838

3939
/**
40-
* <p>Starts a bidirectional HTTP/2 stream where audio is streamed to Amazon Transcribe Medical and the
41-
* transcription results are streamed to your application.</p>
40+
* <p>Starts a bidirectional HTTP/2 or WebSocket stream where audio is streamed to
41+
* Amazon Transcribe Medical and the transcription results are streamed to your
42+
* application.</p>
43+
* <p>For more information on streaming with Amazon Transcribe Medical, see
44+
* <a href="https://docs.aws.amazon.com/transcribe/latest/dg/streaming.html">Transcribing
45+
* streaming audio</a>.</p>
4246
* @example
4347
* Use a bare-bones client and the command you need to make an API call.
4448
* ```javascript

clients/client-transcribe-streaming/src/commands/StartStreamTranscriptionCommand.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -35,24 +35,24 @@ export interface StartStreamTranscriptionCommandInput extends StartStreamTranscr
3535
export interface StartStreamTranscriptionCommandOutput extends StartStreamTranscriptionResponse, __MetadataBearer {}
3636

3737
/**
38-
* <p>Starts a bidirectional HTTP/2 stream where audio is streamed to Amazon Transcribe and the transcription
39-
* results are streamed to your application.</p>
40-
* <p>The following are encoded as HTTP/2 headers:</p>
38+
* <p>Starts a bidirectional HTTP/2 or WebSocket stream where audio is streamed to
39+
* Amazon Transcribe and the transcription results are streamed to your application.</p>
40+
* <p>The following are encoded as headers:</p>
4141
* <ul>
4242
* <li>
43-
* <p>x-amzn-transcribe-language-code</p>
43+
* <p>language-code</p>
4444
* </li>
4545
* <li>
46-
* <p>x-amzn-transcribe-media-encoding</p>
46+
* <p>media-encoding</p>
4747
* </li>
4848
* <li>
49-
* <p>x-amzn-transcribe-sample-rate</p>
49+
* <p>sample-rate</p>
5050
* </li>
5151
* <li>
52-
* <p>x-amzn-transcribe-session-id</p>
52+
* <p>session-id</p>
5353
* </li>
5454
* </ul>
55-
* <p>See the <a href="https://docs.aws.amazon.com/sdk-for-go/api/service/transcribestreamingservice/#TranscribeStreamingService.StartStreamTranscription"> SDK for Go API Reference</a> for more detail.</p>
55+
* <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>
5656
* @example
5757
* Use a bare-bones client and the command you need to make an API call.
5858
* ```javascript

0 commit comments

Comments
 (0)