mirror of
https://github.com/jambonz/speech-utils.git
synced 2026-10-09 21:14:25 +00:00
wip
This commit is contained in:
@@ -108,11 +108,12 @@ const getAwsVoices = async(_client, createHash, retrieveHash, logger, credential
|
|||||||
client = new PollyClient({
|
client = new PollyClient({
|
||||||
region,
|
region,
|
||||||
credentials: await getAwsAuthToken(
|
credentials: await getAwsAuthToken(
|
||||||
logger, createHash, retrieveHash, {
|
logger, createHash, retrieveHash,
|
||||||
accessKeyId: null,
|
{
|
||||||
secretAccessKey: null,
|
accessKeyId: null,
|
||||||
region,
|
secretAccessKey: null,
|
||||||
RoleArn: roleArn
|
region,
|
||||||
|
RoleArn: roleArn
|
||||||
}),
|
}),
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
+2
-2
@@ -282,13 +282,13 @@ const synthPolly = async(createHash, retrieveHash, logger,
|
|||||||
polly = new PollyClient({
|
polly = new PollyClient({
|
||||||
region,
|
region,
|
||||||
credentials: await getAwsAuthToken(
|
credentials: await getAwsAuthToken(
|
||||||
logger, createHash, retrieveHash,
|
logger, createHash, retrieveHash,
|
||||||
{
|
{
|
||||||
accessKeyId: null,
|
accessKeyId: null,
|
||||||
secretAccessKey: null,
|
secretAccessKey: null,
|
||||||
region,
|
region,
|
||||||
RoleArn: roleArn
|
RoleArn: roleArn
|
||||||
}),
|
}),
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
// AWS RoleArn assigned to Instance profile
|
// AWS RoleArn assigned to Instance profile
|
||||||
|
|||||||
Reference in New Issue
Block a user