Name
Aws::Polly::Select - Select AWS Polly speakers with specified characteristics
Synopsis
use Aws::Polly::Select;
my ($speaker)  =  Aws::Polly::Select::speaker
  LanguageCode => qr(us)i,
  Gender       => qr(female)i,
  LanguageName => qr(Spanish)i;
ok $speaker->Id eq q(Penelope);
Description
Aws::Polly::Select::speaker(key=>qr(value), ...)
Returns zero or more Amazon Web Services Polly speaker definitions which match the hash of characteristics provided. Each hash key must name one of the KEYs given below, the value for the key should be a regular expression to select against the possible VALUES listed beside each key. Please take care with the case of the values or use qr(...)i to make the selection case insensitive.
KEY           VALUES
Gender        Female Male
Id            Aditi Amy Astrid Brian Carla Carmen Celine Chantal Conchita
              Cristiano Dora Emma Enrique Ewa Filiz Geraint Giorgio Gwyneth Hans Ines Ivy
              Jacek Jan Joanna Joey Justin Karl Kendra Kimberly Liv Lotte Mads Maja Marlene
              Mathieu Matthew Maxim Miguel Mizuki Naja Nicole Penelope Raveena Ricardo Ruben
              Russell Salli Seoyeon Takumi Tatyana Vicki Vitoria
LanguageCode  cy-GB da-DK de-DE en-AU en-GB en-GB-WLS en-IN en-US es-ES es-US
              fr-CA fr-FR is-IS it-IT ja-JP ko-KR nb-NO nl-NL pl-PL pt-BR pt-PT ro-RO ru-RU
              sv-SE tr-TR
LanguageName  Australian English Brazilian Portuguese British English Canadian
              French Castilian Spanish Danish Dutch French German Icelandic Indian English
              Italian Japanese Korean Norwegian Polish Portuguese Romanian Russian Swedish
              Turkish US English US Spanish Welsh Welsh English
Written       cy da de en es fr is it ja ko nb nl pl pt ro ru sv tr
The above KEYs can be used as methods to get the corresponding VALUE's from each speaker defintion returned by select.
ok $speaker->LanguageCode eq q(es-US);
speakerIds()
Use speakerIds() to get a hash of speaker details by speaker id:
my $speaker = Aws::Polly::Select::speakerIds->{Vicki};
is_deeply $speaker,
 {Gender       => "Female",
  Id           => "Vicki",
  LanguageCode => "de-DE",
  LanguageName => "German",
  Name         => "Vicki",
  Written      => "de",
 };
Each of the fields describing a speaker may be accessed as a method, for example:
ok $speaker->Gender       eq "Female";
ok $speaker->LanguageName eq "German";
ok $speaker->Written      eq "de";
Installation
Standard Module::Build process for building and installing modules:
perl Build.PL
./Build
./Build test
./Build install
Author
philiprbrenan@gmail.com
http://www.appaapps.com
Copyright
Copyright (c) 2017 Philip R Brenan.
This module is free software. It may be used, redistributed and/or modified under the same terms as Perl itself.