Skip to content

Commit

Permalink
feat(client-transcribe-streaming): This will release hi-IN and th-TH
Browse files Browse the repository at this point in the history
  • Loading branch information
awstools committed Nov 9, 2022
1 parent 552e450 commit 50252d2
Show file tree
Hide file tree
Showing 6 changed files with 1,009 additions and 802 deletions.
41 changes: 30 additions & 11 deletions clients/client-transcribe-streaming/src/TranscribeStreaming.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,31 @@ import {
import { TranscribeStreamingClient } from "./TranscribeStreamingClient";

/**
* <p>Operations and objects for transcribing streaming speech to text.</p>
* <p>Amazon Transcribe streaming offers two types of real-time transcription:
* <b>Standard</b> and <b>Medical</b>.</p>
* <ul>
* <li>
* <p>
* <b>Standard transcriptions</b> are the most common option. Refer
* to for details.</p>
* </li>
* <li>
* <p>
* <b>Medical transcriptions</b> are tailored to medical professionals
* and incorporate medical terms. A common use case for this service is transcribing doctor-patient
* dialogue in real time, so doctors can focus on their patient instead of taking notes. Refer to
* for details.</p>
* </li>
* </ul>
*/
export class TranscribeStreaming extends TranscribeStreamingClient {
/**
* <p>Starts a bidirectional HTTP/2 stream where audio is streamed to Amazon Transcribe Medical and the
* transcription results are streamed to your application.</p>
* <p>Starts a bidirectional HTTP/2 or WebSocket stream where audio is streamed to
* Amazon Transcribe Medical and the transcription results are streamed to your
* application.</p>
* <p>For more information on streaming with Amazon Transcribe Medical, see
* <a href="https://docs.aws.amazon.com/transcribe/latest/dg/streaming.html">Transcribing
* streaming audio</a>.</p>
*/
public startMedicalStreamTranscription(
args: StartMedicalStreamTranscriptionCommandInput,
Expand Down Expand Up @@ -51,24 +70,24 @@ export class TranscribeStreaming extends TranscribeStreamingClient {
}

/**
* <p>Starts a bidirectional HTTP/2 stream where audio is streamed to Amazon Transcribe and the transcription
* results are streamed to your application.</p>
* <p>The following are encoded as HTTP/2 headers:</p>
* <p>Starts a bidirectional HTTP/2 or WebSocket stream where audio is streamed to
* Amazon Transcribe and the transcription results are streamed to your application.</p>
* <p>The following are encoded as headers:</p>
* <ul>
* <li>
* <p>x-amzn-transcribe-language-code</p>
* <p>language-code</p>
* </li>
* <li>
* <p>x-amzn-transcribe-media-encoding</p>
* <p>media-encoding</p>
* </li>
* <li>
* <p>x-amzn-transcribe-sample-rate</p>
* <p>sample-rate</p>
* </li>
* <li>
* <p>x-amzn-transcribe-session-id</p>
* <p>session-id</p>
* </li>
* </ul>
* <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>
* <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>
*/
public startStreamTranscription(
args: StartStreamTranscriptionCommandInput,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,22 @@ type TranscribeStreamingClientResolvedConfigType = __SmithyResolvedConfiguration
export interface TranscribeStreamingClientResolvedConfig extends TranscribeStreamingClientResolvedConfigType {}

/**
* <p>Operations and objects for transcribing streaming speech to text.</p>
* <p>Amazon Transcribe streaming offers two types of real-time transcription:
* <b>Standard</b> and <b>Medical</b>.</p>
* <ul>
* <li>
* <p>
* <b>Standard transcriptions</b> are the most common option. Refer
* to for details.</p>
* </li>
* <li>
* <p>
* <b>Medical transcriptions</b> are tailored to medical professionals
* and incorporate medical terms. A common use case for this service is transcribing doctor-patient
* dialogue in real time, so doctors can focus on their patient instead of taking notes. Refer to
* for details.</p>
* </li>
* </ul>
*/
export class TranscribeStreamingClient extends __Client<
__HttpHandlerOptions,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,12 @@ export interface StartMedicalStreamTranscriptionCommandOutput
__MetadataBearer {}

/**
* <p>Starts a bidirectional HTTP/2 stream where audio is streamed to Amazon Transcribe Medical and the
* transcription results are streamed to your application.</p>
* <p>Starts a bidirectional HTTP/2 or WebSocket stream where audio is streamed to
* Amazon Transcribe Medical and the transcription results are streamed to your
* application.</p>
* <p>For more information on streaming with Amazon Transcribe Medical, see
* <a href="https://docs.aws.amazon.com/transcribe/latest/dg/streaming.html">Transcribing
* streaming audio</a>.</p>
* @example
* Use a bare-bones client and the command you need to make an API call.
* ```javascript
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,24 +35,24 @@ export interface StartStreamTranscriptionCommandInput extends StartStreamTranscr
export interface StartStreamTranscriptionCommandOutput extends StartStreamTranscriptionResponse, __MetadataBearer {}

/**
* <p>Starts a bidirectional HTTP/2 stream where audio is streamed to Amazon Transcribe and the transcription
* results are streamed to your application.</p>
* <p>The following are encoded as HTTP/2 headers:</p>
* <p>Starts a bidirectional HTTP/2 or WebSocket stream where audio is streamed to
* Amazon Transcribe and the transcription results are streamed to your application.</p>
* <p>The following are encoded as headers:</p>
* <ul>
* <li>
* <p>x-amzn-transcribe-language-code</p>
* <p>language-code</p>
* </li>
* <li>
* <p>x-amzn-transcribe-media-encoding</p>
* <p>media-encoding</p>
* </li>
* <li>
* <p>x-amzn-transcribe-sample-rate</p>
* <p>sample-rate</p>
* </li>
* <li>
* <p>x-amzn-transcribe-session-id</p>
* <p>session-id</p>
* </li>
* </ul>
* <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>
* <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>
* @example
* Use a bare-bones client and the command you need to make an API call.
* ```javascript
Expand Down
Loading

0 comments on commit 50252d2

Please sign in to comment.