Reconfiguring the Amazon CLI
If you've previously downloaded and configured the Amazon CLI, Amazon Polly might be unavailable unless you reconfigure the Amazon CLI. The following procedure checks to see if this is necessary.
To reactivate Amazon Polly from the Amazon CLI
-
Verify the availability of Amazon Polly by typing the following help command at the Amazon CLI command prompt.
aws polly help
If you see a description of Amazon Polly and a list of valid commands appears in the Amazon CLI window, you can use Amazon Polly from the Amazon CLI immediately. In this case, you can skip the rest of this procedure. If this is not displayed, continue with Step 2.
-
Activate Amazon Polly using one of the two following options:
-
Uninstall and reinstall the Amazon CLI.
For instructions, see Installing the Amazon Command Line Interface in the Amazon Command Line Interface User Guide.
or
-
Download the file service-2.json.
At the command prompt, run the following command.
aws configure add-model --service-model
file://service-2.json
--service-name polly
-
-
Reverify the availability of Amazon Polly.
aws polly help
The description of Amazon Polly should be visible.