In the previous section, we have access to the text-to-speech feature from Amazon Polly. In this section, we try to access it from a program. This is useful when you apply Polly on IoT devices such as Raspberry Pi:
- To access Amazon Polly, we need to prepare the account with privilege access for AWS Polly. First, you can access the AWS IAM dashboard on http://console.aws.amazon.com/iam/. Then, create a new user if you don't have it yet.
- Now you can configure your user to give permission to access Amazon Polly. Open your IAM user that is shown in the following screenshot. Then, click on the Add permissions button. Find AmazonPollyFullAccess policy and add it into your IAM user:
- Next, you should copy ...