Skip to content

Commit d9c90f6

Browse files
author
AWS
committed
Amazon Transcribe Service Update: This release adds an additional parameter for subtitling with Amazon Transcribe batch jobs: outputStartIndex.
1 parent 37add96 commit d9c90f6

File tree

2 files changed

+27
-8
lines changed

2 files changed

+27
-8
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "Amazon Transcribe Service",
4+
"contributor": "",
5+
"description": "This release adds an additional parameter for subtitling with Amazon Transcribe batch jobs: outputStartIndex."
6+
}

services/transcribe/src/main/resources/codegen-resources/service-2.json

Lines changed: 21 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -691,7 +691,7 @@
691691
},
692692
"MediaSampleRateHertz":{
693693
"shape":"MediaSampleRateHertz",
694-
"documentation":"<p>The sample rate, in Hertz, of the audio.</p>"
694+
"documentation":"<p>The sample rate, in Hertz, of the input audio.</p>"
695695
},
696696
"MediaFormat":{
697697
"shape":"MediaFormat",
@@ -2578,7 +2578,7 @@
25782578
},
25792579
"LanguageCode":{
25802580
"shape":"LanguageCode",
2581-
"documentation":"<p>The language code for the language used in the input media file.</p> <p>To transcribe speech in Modern Standard Arabic (ar-SA), your audio or video file must be encoded at a sample rate of 16,000 Hz or higher.</p>"
2581+
"documentation":"<p>The language code for the language used in the input media file. You must include either <code>LanguageCode</code> or <code>IdentifyLanguage</code> in your request.</p> <p>To transcribe speech in Modern Standard Arabic (ar-SA), your audio or video file must be encoded at a sample rate of 16,000 Hz or higher.</p>"
25822582
},
25832583
"MediaSampleRateHertz":{
25842584
"shape":"MediaSampleRateHertz",
@@ -2626,7 +2626,7 @@
26262626
},
26272627
"IdentifyLanguage":{
26282628
"shape":"Boolean",
2629-
"documentation":"<p>Set this field to <code>true</code> to enable automatic language identification. Automatic language identification is disabled by default. You receive a <code>BadRequestException</code> error if you enter a value for a <code>LanguageCode</code>.</p>"
2629+
"documentation":"<p>Set this field to <code>true</code> to enable automatic language identification. Automatic language identification is disabled by default. You receive a <code>BadRequestException</code> error if you enter a value for a <code>LanguageCode</code>.</p> <p>You must include either <code>LanguageCode</code> or <code>IdentifyLanguage</code> in your request.</p>"
26302630
},
26312631
"LanguageOptions":{
26322632
"shape":"LanguageOptions",
@@ -2651,7 +2651,7 @@
26512651
"members":{
26522652
"TranscriptionJob":{
26532653
"shape":"TranscriptionJob",
2654-
"documentation":"<p>An object containing details of the asynchronous transcription job.</p>"
2654+
"documentation":"<p>Provides information about your asynchronous transcription job.</p>"
26552655
}
26562656
}
26572657
},
@@ -2676,29 +2676,42 @@
26762676
"type":"list",
26772677
"member":{"shape":"SubtitleFormat"}
26782678
},
2679+
"SubtitleOutputStartIndex":{
2680+
"type":"integer",
2681+
"max":1,
2682+
"min":0
2683+
},
26792684
"Subtitles":{
26802685
"type":"structure",
26812686
"members":{
26822687
"Formats":{
26832688
"shape":"SubtitleFormats",
2684-
"documentation":"<p>Specify the output format for your subtitle file.</p>"
2689+
"documentation":"<p>Specify the output format for your subtitle file; if you select both <code>srt</code> and <code>vtt</code> formats, two output files are generated.</p>"
2690+
},
2691+
"OutputStartIndex":{
2692+
"shape":"SubtitleOutputStartIndex",
2693+
"documentation":"<p>Defines the starting value that is assigned to the first subtitle segment.</p> <p>The default start index for Amazon Transcribe is <code>0</code>, which differs from the more widely used standard of <code>1</code>. If you're uncertain which value to use, we recommend choosing <code>1</code>, as this may improve compatibility with other services.</p>"
26852694
}
26862695
},
2687-
"documentation":"<p>Generate subtitles for your batch transcription job.</p>"
2696+
"documentation":"<p>Generate subtitles for your batch transcription job. Note that your subtitle files are placed in the same location as your transcription output.</p>"
26882697
},
26892698
"SubtitlesOutput":{
26902699
"type":"structure",
26912700
"members":{
26922701
"Formats":{
26932702
"shape":"SubtitleFormats",
2694-
"documentation":"<p>Specify the output format for your subtitle file; if you select both SRT and VTT formats, two output files are generated.</p>"
2703+
"documentation":"<p>The format of your subtitle files. If your request specified both <code>srt</code> and <code>vtt</code> formats, both formats are shown.</p>"
26952704
},
26962705
"SubtitleFileUris":{
26972706
"shape":"SubtitleFileUris",
26982707
"documentation":"<p>Contains the output location for your subtitle file. This location must be an S3 bucket.</p>"
2708+
},
2709+
"OutputStartIndex":{
2710+
"shape":"SubtitleOutputStartIndex",
2711+
"documentation":"<p>Shows the output start index value for your subtitle files. If you did not specify a value in your request, the default value of <code>0</code> is used.</p>"
26992712
}
27002713
},
2701-
"documentation":"<p>Choose the output format for your subtitle file and the S3 location where you want your file saved.</p>"
2714+
"documentation":"<p>The S3 location where your subtitle files are located. Note that your subtitle files are placed in the same location as your transcription output. Refer to <code>TranscriptFileUri</code> to download your files.</p>"
27022715
},
27032716
"Tag":{
27042717
"type":"structure",

0 commit comments

Comments
 (0)