Skip to content

Commit c54f5e0

Browse files
author
AWS
committed
Amazon Polly Update: Added support for new output format - Opus.
1 parent 08bae37 commit c54f5e0

File tree

2 files changed

+11
-6
lines changed

2 files changed

+11
-6
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 Polly",
4+
"contributor": "",
5+
"description": "Added support for new output format - Opus."
6+
}

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

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -193,8 +193,7 @@
193193
},
194194
"DeleteLexiconOutput":{
195195
"type":"structure",
196-
"members":{
197-
}
196+
"members":{}
198197
},
199198
"DescribeVoicesInput":{
200199
"type":"structure",
@@ -646,6 +645,7 @@
646645
"enum":[
647646
"json",
648647
"mp3",
648+
"ogg_opus",
649649
"ogg_vorbis",
650650
"pcm"
651651
]
@@ -680,8 +680,7 @@
680680
},
681681
"PutLexiconOutput":{
682682
"type":"structure",
683-
"members":{
684-
}
683+
"members":{}
685684
},
686685
"RequestCharacters":{"type":"integer"},
687686
"SampleRate":{"type":"string"},
@@ -880,7 +879,7 @@
880879
"members":{
881880
"Engine":{
882881
"shape":"Engine",
883-
"documentation":"<p>Specifies the engine (<code>standard</code>, <code>neural</code>, <code>long-form</code>, or <code>generative</code>) for Amazon Polly to use when processing input text for speech synthesis. Provide an engine that is supported by the voice you select. If you don't provide an engine, the standard engine is selected by default. If a chosen voice isn't supported by the standard engine, this will result in an error. For information on Amazon Polly voices and which voices are available for each engine, see <a href=\"https://docs.aws.amazon.com/polly/latest/dg/voicelist.html\">Available Voices</a>.</p> <p>Type: String</p> <p>Valid Values: <code>standard</code> | <code>neural</code> | <code>long-form</code> | <code>generative</code> </p> <p>Required: Yes</p>"
882+
"documentation":"<p>Specifies the engine (<code>standard</code>, <code>neural</code>, <code>long-form</code>, or <code>generative</code>) for Amazon Polly to use when processing input text for speech synthesis. Provide an engine that is supported by the voice you select. If you don't provide an engine, the standard engine is selected by default. If a chosen voice isn't supported by the standard engine, this will result in an error. For information on Amazon Polly voices and which voices are available for each engine, see <a href=\"https://docs.aws.amazon.com/polly/latest/dg/voicelist.html\">Available Voices</a>.</p>"
884883
},
885884
"LanguageCode":{
886885
"shape":"LanguageCode",
@@ -896,7 +895,7 @@
896895
},
897896
"SampleRate":{
898897
"shape":"SampleRate",
899-
"documentation":"<p>The audio frequency specified in Hz.</p> <p>The valid values for mp3 and ogg_vorbis are \"8000\", \"16000\", \"22050\", and \"24000\". The default value for standard voices is \"22050\". The default value for neural voices is \"24000\". The default value for long-form voices is \"24000\". The default value for generative voices is \"24000\".</p> <p>Valid values for pcm are \"8000\" and \"16000\" The default value is \"16000\". </p>"
898+
"documentation":"<p>The audio frequency specified in Hz.</p> <p>The valid values for mp3 and ogg_vorbis are \"8000\", \"16000\", \"22050\", \"24000\", \"44100\" and \"48000\". The default value for standard voices is \"22050\". The default value for neural voices is \"24000\". The default value for long-form voices is \"24000\". The default value for generative voices is \"24000\".</p> <p>Valid values for pcm are \"8000\" and \"16000\" The default value is \"16000\". </p>"
900899
},
901900
"SpeechMarkTypes":{
902901
"shape":"SpeechMarkTypeList",

0 commit comments

Comments
 (0)