Paws::Polly - Perl Interface to AWS Amazon Polly
use Paws; my $obj = Paws->service('Polly'); my $res = $obj->Method( Arg1 => $val1, Arg2 => [ 'V1', 'V2' ], # if Arg3 is an object, the HashRef will be used as arguments to the constructor # of the arguments type Arg3 => { Att1 => 'Val1' }, # if Arg4 is an array of objects, the HashRefs will be passed as arguments to # the constructor of the arguments type Arg4 => [ { Att1 => 'Val1' }, { Att1 => 'Val2' } ], );
Amazon Polly is a web service that makes it easy to synthesize speech from text.
The Amazon Polly service provides API operations for synthesizing high-quality speech from plain text and Speech Synthesis Markup Language (SSML), along with managing pronunciations lexicons that enable you to get the best results for your application domain.
Each argument is described in detail in: Paws::Polly::DeleteLexicon
Returns: a Paws::Polly::DeleteLexiconOutput instance
Deletes the specified pronunciation lexicon stored in an AWS Region. A lexicon which has been deleted is not available for speech synthesis, nor is it possible to retrieve it using either the C<GetLexicon> or C<ListLexicon> APIs.
For more information, see Managing Lexicons.
Each argument is described in detail in: Paws::Polly::DescribeVoices
Returns: a Paws::Polly::DescribeVoicesOutput instance
Returns the list of voices that are available for use when requesting speech synthesis. Each voice speaks a specified language, is either male or female, and is identified by an ID, which is the ASCII version of the voice name.
When synthesizing speech ( SynthesizeSpeech ), you provide the voice ID for the voice you want from the list of voices returned by DescribeVoices.
SynthesizeSpeech
DescribeVoices
For example, you want your news reader application to read news in a specific language, but giving a user the option to choose the voice. Using the DescribeVoices operation you can provide the user with a list of available voices to select from.
You can optionally specify a language code to filter the available voices. For example, if you specify en-US, the operation returns a list of all available US English voices.
en-US
This operation requires permissions to perform the polly:DescribeVoices action.
polly:DescribeVoices
Each argument is described in detail in: Paws::Polly::GetLexicon
Returns: a Paws::Polly::GetLexiconOutput instance
Returns the content of the specified pronunciation lexicon stored in an AWS Region. For more information, see Managing Lexicons.
Each argument is described in detail in: Paws::Polly::ListLexicons
Returns: a Paws::Polly::ListLexiconsOutput instance
Returns a list of pronunciation lexicons stored in an AWS Region. For more information, see Managing Lexicons.
Each argument is described in detail in: Paws::Polly::PutLexicon
Returns: a Paws::Polly::PutLexiconOutput instance
Stores a pronunciation lexicon in an AWS Region. If a lexicon with the same name already exists in the region, it is overwritten by the new lexicon. Lexicon operations have eventual consistency, therefore, it might take some time before the lexicon is available to the SynthesizeSpeech operation.
Each argument is described in detail in: Paws::Polly::SynthesizeSpeech
Returns: a Paws::Polly::SynthesizeSpeechOutput instance
Synthesizes UTF-8 input, plain text or SSML, to a stream of bytes. SSML input must be valid, well-formed SSML. Some alphabets might not be available with all the voices (for example, Cyrillic might not be read at all by English voices) unless phoneme mapping is used. For more information, see How it Works.
Paginator methods are helpers that repetively call methods that return partial results
This service class forms part of Paws
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
To install Paws::SDK::Config, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Paws::SDK::Config
CPAN shell
perl -MCPAN -e shell install Paws::SDK::Config
For more information on module installation, please visit the detailed CPAN module installation guide.