mirror of
https://github.com/jambonz/speech-utils.git
synced 2026-07-04 19:31:49 +00:00
wip
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: roleArn, RoleSessionName: 'Jambonz Speech' };
|
||||
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