-
Notifications
You must be signed in to change notification settings - Fork 634
Closed
Labels
guidanceGeneral information and guidance, answers to FAQs, or recommended best practices/resources.General information and guidance, answers to FAQs, or recommended best practices/resources.p2This is a standard priority issueThis is a standard priority issue
Description
Checkboxes for prior research
- I've gone through Developer Guide and API reference
- I've checked AWS Forums and StackOverflow.
- I've searched for previous similar issues and didn't find any solution.
Describe the bug
I am trying to build a text-to-speech feature which will be able to read long articles. I found voice name 'Patrick, Male' suitable for my use case (tested on the console). When I try to pass the VoiceId from my Node.js application, the IDE prompts me that the VoiceId does not exist in the model.
Regression Issue
- Select this option if this issue appears to be a regression.
SDK version number
@aws-sdk/package-name@version^3.693.0
Which JavaScript Runtime is this issue in?
Node.js
Details of the browser/Node.js/ReactNative version
v20.10.0
Reproduction Steps
const params = {
OutputS3BucketName: process.env.AWS_TTS_BUCKET_NAME,
OutputS3KeyPrefix: keyPrefix,
OutputFormat: OutputFormat.MP3,
Text: textContent,
Engine: Engine.LONG_FORM,
// Voice Id for Patrick is missing from the model (This will result in an error):
VoiceId: VoiceId.Patrick,
};
// Start speech synthesis task
const command = new StartSpeechSynthesisTaskCommand(params);
const response = await this.pollyClient.send(command);
Observed Behavior
The IDE does not let me pass my desired VoiceId

Expected Behavior
I should be able to use my desired VoiceId
Possible Solution
Update the VoiceId model to include a value for 'Patrick'
Additional Information/Context
No response
Metadata
Metadata
Assignees
Labels
guidanceGeneral information and guidance, answers to FAQs, or recommended best practices/resources.General information and guidance, answers to FAQs, or recommended best practices/resources.p2This is a standard priority issueThis is a standard priority issue