mirror of
https://github.com/jambonz/speech-utils.git
synced 2026-07-23 20:51:49 +00:00
support mod_google_tts
This commit is contained in:
+1
-1
@@ -278,7 +278,7 @@ const synthPolly = async(logger, {credentials, stats, language, voice, engine, t
|
||||
});
|
||||
} else if (roleArn) {
|
||||
const stsClient = new STSClient({ region});
|
||||
const roleToAssume = { RoleArn: 'myRoleArn', RoleSessionName: 'session1' };
|
||||
const roleToAssume = { RoleArn: roleArn, RoleSessionName: 'Jambonz Speech' };
|
||||
const command = new AssumeRoleCommand(roleToAssume);
|
||||
|
||||
const response = await stsClient.send(command);
|
||||
|
||||
Reference in New Issue
Block a user