Save AWS Polly mp3 file to S3
问题 I am trying to send some text to AWS Polly to convert to speech and then save that mp3 file to S3. That part seems to work now. // Send text to AWS Polly $client_polly = new Aws\Polly\PollyClient([ 'region' => 'us-west-2', 'version' => 'latest', 'credentials' => [ 'key' => $aws_useKey, 'secret' => $aws_secret, ] ]); $text = 'Test. Test. This is a sample text to be synthesized.'; $voice = 'Matthew'; $result_polly = $client_polly->startSpeechSynthesisTask([ 'Text' => $text, 'TextType' => 'text'