Reconfiguring the Amazon CLI - Amazon Polly
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

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
  1. 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.

  2. Activate Amazon Polly using one of the two following options:

    1. Uninstall and reinstall the Amazon CLI.

      For instructions, see Installing the Amazon Command Line Interface in the Amazon Command Line Interface User Guide.

      or

    2. 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
  3. Reverify the availability of Amazon Polly.

    aws polly help

    The description of Amazon Polly should be visible.