boto3 1.9.199 polly synthesize_speech doesn't accept Engine parameter
See original GitHub issueIssue
I was trying Polly neural voices. On Boto3 Polly document, synthesize_speech method already includes Engine parameter.
However, when I used it, it complains about Unknown parameter. Unknown parameter in input: “Engine”, must be one of: LexiconNames, OutputFormat, SampleRate, SpeechMarkTypes, Text, TextType, VoiceId, LanguageCode
Steps
I tried using the following code
print('boto3 ver: ', boto3.__version__)
pollyClient = boto3.client('polly')
try:
response = pollyClient.synthesize_speech(
Engine='neural',
OutputFormat='mp3',
Text='test',
TextType='ssml',
VoiceId='Matthew'
)
except Exception as e:
print('synthesize_speech exception: ', e)
boto3 ver: 1.9.199
synthesize_speech exception: Parameter validation failed:
Unknown parameter in input: "Engine", must be one of: LexiconNames, OutputFormat,
SampleRate, SpeechMarkTypes, Text, TextType, VoiceId, LanguageCode
Does version 1.9.199 support neural voices?
Issue Analytics
- State:
- Created 4 years ago
- Comments:17 (7 by maintainers)
Top Results From Across the Web
No results found
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I tried using virtual environment and i am not getting any error after that. These are all the steps i tried to update boto3 version in my lambda function.
These are the steps to update boto3 version in lambda function using virtual environment.
I don’t have much idea about lambda pricing but as far as i know it should not affect the cost. I am closing the issue as i believe this issue has been resolved.
Please reopen if you still have any concerns.