Skip to content

Commit

Permalink
feat(client-transcribe-streaming): We are expanding support for 40 ne…
Browse files Browse the repository at this point in the history
…w locales in AWS Transcribe Streaming.
  • Loading branch information
awstools committed Oct 15, 2024
1 parent d4a0fb6 commit 73471ab
Show file tree
Hide file tree
Showing 5 changed files with 390 additions and 90 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ export interface StartCallAnalyticsStreamTranscriptionCommandOutput
* <p>One or more arguments to the <code>StartStreamTranscription</code>,
* <code>StartMedicalStreamTranscription</code>, or <code>StartCallAnalyticsStreamTranscription</code>
* operation was not valid. For example, <code>MediaEncoding</code> or <code>LanguageCode</code>
* used not valid values. Check the specified parameters and try your request again.</p>
* used unsupported values. Check the specified parameters and try your request again.</p>
*
* @throws {@link ConflictException} (client fault)
* <p>A new stream started with the same session ID. The current stream has been terminated.</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export interface StartMedicalStreamTranscriptionCommandOutput
* // const { TranscribeStreamingClient, StartMedicalStreamTranscriptionCommand } = require("@aws-sdk/client-transcribe-streaming"); // CommonJS import
* const client = new TranscribeStreamingClient(config);
* const input = { // StartMedicalStreamTranscriptionRequest
* 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" || "hi-IN" || "th-TH", // required
* 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", // required
* MediaSampleRateHertz: Number("int"), // required
* MediaEncoding: "pcm" || "ogg-opus" || "flac", // required
* VocabularyName: "STRING_VALUE",
Expand Down Expand Up @@ -111,7 +111,7 @@ export interface StartMedicalStreamTranscriptionCommandOutput
* const response = await client.send(command);
* // { // StartMedicalStreamTranscriptionResponse
* // RequestId: "STRING_VALUE",
* // 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" || "hi-IN" || "th-TH",
* // 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",
* // MediaSampleRateHertz: Number("int"),
* // MediaEncoding: "pcm" || "ogg-opus" || "flac",
* // VocabularyName: "STRING_VALUE",
Expand Down Expand Up @@ -190,7 +190,7 @@ export interface StartMedicalStreamTranscriptionCommandOutput
* <p>One or more arguments to the <code>StartStreamTranscription</code>,
* <code>StartMedicalStreamTranscription</code>, or <code>StartCallAnalyticsStreamTranscription</code>
* operation was not valid. For example, <code>MediaEncoding</code> or <code>LanguageCode</code>
* used not valid values. Check the specified parameters and try your request again.</p>
* used unsupported values. Check the specified parameters and try your request again.</p>
*
* @throws {@link ConflictException} (client fault)
* <p>A new stream started with the same session ID. The current stream has been terminated.</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export interface StartStreamTranscriptionCommandOutput extends StartStreamTransc
* // const { TranscribeStreamingClient, StartStreamTranscriptionCommand } = require("@aws-sdk/client-transcribe-streaming"); // CommonJS import
* const client = new TranscribeStreamingClient(config);
* const input = { // StartStreamTranscriptionRequest
* 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" || "hi-IN" || "th-TH",
* 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",
* MediaSampleRateHertz: Number("int"), // required
* MediaEncoding: "pcm" || "ogg-opus" || "flac", // required
* VocabularyName: "STRING_VALUE",
Expand Down Expand Up @@ -105,7 +105,7 @@ export interface StartStreamTranscriptionCommandOutput extends StartStreamTransc
* LanguageModelName: "STRING_VALUE",
* IdentifyLanguage: true || false,
* LanguageOptions: "STRING_VALUE",
* PreferredLanguage: "en-US" || "en-GB" || "es-US" || "fr-CA" || "fr-FR" || "en-AU" || "it-IT" || "de-DE" || "pt-BR" || "ja-JP" || "ko-KR" || "zh-CN" || "hi-IN" || "th-TH",
* PreferredLanguage: "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",
* IdentifyMultipleLanguages: true || false,
* VocabularyNames: "STRING_VALUE",
* VocabularyFilterNames: "STRING_VALUE",
Expand All @@ -114,7 +114,7 @@ export interface StartStreamTranscriptionCommandOutput extends StartStreamTransc
* const response = await client.send(command);
* // { // StartStreamTranscriptionResponse
* // RequestId: "STRING_VALUE",
* // 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" || "hi-IN" || "th-TH",
* // 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",
* // MediaSampleRateHertz: Number("int"),
* // MediaEncoding: "pcm" || "ogg-opus" || "flac",
* // VocabularyName: "STRING_VALUE",
Expand Down Expand Up @@ -156,10 +156,10 @@ export interface StartStreamTranscriptionCommandOutput extends StartStreamTransc
* // },
* // ],
* // ChannelId: "STRING_VALUE",
* // 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" || "hi-IN" || "th-TH",
* // 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",
* // LanguageIdentification: [ // LanguageIdentification
* // { // LanguageWithScore
* // 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" || "hi-IN" || "th-TH",
* // 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",
* // Score: Number("double"),
* // },
* // ],
Expand Down Expand Up @@ -196,7 +196,7 @@ export interface StartStreamTranscriptionCommandOutput extends StartStreamTransc
* // LanguageModelName: "STRING_VALUE",
* // IdentifyLanguage: true || false,
* // LanguageOptions: "STRING_VALUE",
* // PreferredLanguage: "en-US" || "en-GB" || "es-US" || "fr-CA" || "fr-FR" || "en-AU" || "it-IT" || "de-DE" || "pt-BR" || "ja-JP" || "ko-KR" || "zh-CN" || "hi-IN" || "th-TH",
* // PreferredLanguage: "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",
* // IdentifyMultipleLanguages: true || false,
* // VocabularyNames: "STRING_VALUE",
* // VocabularyFilterNames: "STRING_VALUE",
Expand All @@ -214,7 +214,7 @@ export interface StartStreamTranscriptionCommandOutput extends StartStreamTransc
* <p>One or more arguments to the <code>StartStreamTranscription</code>,
* <code>StartMedicalStreamTranscription</code>, or <code>StartCallAnalyticsStreamTranscription</code>
* operation was not valid. For example, <code>MediaEncoding</code> or <code>LanguageCode</code>
* used not valid values. Check the specified parameters and try your request again.</p>
* used unsupported values. Check the specified parameters and try your request again.</p>
*
* @throws {@link ConflictException} (client fault)
* <p>A new stream started with the same session ID. The current stream has been terminated.</p>
Expand Down
Loading

0 comments on commit 73471ab

Please sign in to comment.