Hello, Many thanks for this OS package!
I'm using it in a project deployed on AWS Lambda (Bref + Serverless framework), locally with Sail it worked but when deploying it on AWS I was getting:
Aws\Polly\Exception\PollyException
Error executing "SynthesizeSpeech" on "https://polly.eu-central-1.amazonaws.com/v1/speech"; AWS HTTP error: Client error: `POST https://polly.eu-central-1.amazonaws.com/v1/speech` resulted in a `403 Forbidden` response:
{"message":"The security token included in the request is invalid."}
UnrecognizedClientException (client): The security token included in the request is invalid. - {"message":"The security token included in the request is invalid."}I've added the AWS_SESSION_TOKEN config field which allows the AWS SDK to work even when using an assumed IAM role.