|
173 | 173 | "max":48000,
|
174 | 174 | "min":8000
|
175 | 175 | },
|
| 176 | + "NumberOfChannels":{ |
| 177 | + "type":"integer", |
| 178 | + "min":2 |
| 179 | + }, |
176 | 180 | "RequestId":{"type":"string"},
|
177 | 181 | "Result":{
|
178 | 182 | "type":"structure",
|
|
196 | 200 | "Alternatives":{
|
197 | 201 | "shape":"AlternativeList",
|
198 | 202 | "documentation":"<p>A list of possible transcriptions for the audio. Each alternative typically contains one <code>item</code> that contains the result of the transcription.</p>"
|
| 203 | + }, |
| 204 | + "ChannelId":{ |
| 205 | + "shape":"String", |
| 206 | + "documentation":"<p>When channel identification is enabled, Amazon Transcribe transcribes the speech from each audio channel separately.</p> <p>You can use <code>ChannelId</code> to retrieve the transcription results for a single channel in your audio stream.</p>" |
199 | 207 | }
|
200 | 208 | },
|
201 | 209 | "documentation":"<p>The result of transcribing a portion of the input audio stream. </p>"
|
|
215 | 223 | },
|
216 | 224 | "SessionId":{
|
217 | 225 | "type":"string",
|
| 226 | + "max":36, |
| 227 | + "min":36, |
218 | 228 | "pattern":"[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}"
|
219 | 229 | },
|
220 | 230 | "StartStreamTranscriptionRequest":{
|
|
277 | 287 | "documentation":"<p>When <code>true</code>, enables speaker identification in your real-time stream.</p>",
|
278 | 288 | "location":"header",
|
279 | 289 | "locationName":"x-amzn-transcribe-show-speaker-label"
|
| 290 | + }, |
| 291 | + "EnableChannelIdentification":{ |
| 292 | + "shape":"Boolean", |
| 293 | + "documentation":"<p>When <code>true</code>, instructs Amazon Transcribe to process each audio channel separately and then merge the transcription output of each channel into a single transcription.</p> <p>Amazon Transcribe also produces a transcription of each item. An item includes the start time, end time, and any alternative transcriptions.</p> <p>You can't set both <code>ShowSpeakerLabel</code> and <code>EnableChannelIdentification</code> in the same request. If you set both, your request returns a <code>BadRequestException</code>.</p>", |
| 294 | + "location":"header", |
| 295 | + "locationName":"x-amzn-transcribe-enable-channel-identification" |
| 296 | + }, |
| 297 | + "NumberOfChannels":{ |
| 298 | + "shape":"NumberOfChannels", |
| 299 | + "documentation":"<p>The number of channels that are in your audio stream.</p>", |
| 300 | + "location":"header", |
| 301 | + "locationName":"x-amzn-transcribe-number-of-channels" |
280 | 302 | }
|
281 | 303 | },
|
282 | 304 | "payload":"AudioStream"
|
|
341 | 363 | "documentation":"<p>Shows whether speaker identification was enabled in the stream.</p>",
|
342 | 364 | "location":"header",
|
343 | 365 | "locationName":"x-amzn-transcribe-show-speaker-label"
|
| 366 | + }, |
| 367 | + "EnableChannelIdentification":{ |
| 368 | + "shape":"Boolean", |
| 369 | + "documentation":"<p>Shows whether channel identification has been enabled in the stream.</p>", |
| 370 | + "location":"header", |
| 371 | + "locationName":"x-amzn-transcribe-enable-channel-identification" |
| 372 | + }, |
| 373 | + "NumberOfChannels":{ |
| 374 | + "shape":"NumberOfChannels", |
| 375 | + "documentation":"<p>The number of channels identified in the stream.</p>", |
| 376 | + "location":"header", |
| 377 | + "locationName":"x-amzn-transcribe-number-of-channels" |
344 | 378 | }
|
345 | 379 | },
|
346 | 380 | "payload":"TranscriptResultStream"
|
|
0 commit comments