| 1 | |||
| 2 | package Paws::Polly::PutLexicon; | ||
| 3 | 1 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 1 | has Content => (is => 'ro', isa => 'Str', required => 1); | |
| 5 | 1 | has Name => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'LexiconName', required => 1); | |
| 6 | |||
| 7 | 1 | ▶ | use MooseX::ClassAttribute; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 8 | |||
| 9 | 1 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'PutLexicon'); | |
| 10 | 1 | class_has _api_uri => (isa => 'Str', is => 'ro', default => '/v1/lexicons/{LexiconName}'); | |
| 11 | 1 | class_has _api_method => (isa => 'Str', is => 'ro', default => 'PUT'); | |
| 12 | 1 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Polly::PutLexiconOutput'); | |
| 13 | 1 | 1; | |
| 14 | |||
| 15 | ### main pod documentation begin ### | ||
| 16 | |||
| 17 | =head1 NAME | ||
| 18 | |||
| 19 | Paws::Polly::PutLexicon - Arguments for method PutLexicon on L<Paws::Polly> | ||
| 20 | |||
| 21 | =head1 DESCRIPTION | ||
| 22 | |||
| 23 | This class represents the parameters used for calling the method PutLexicon on the | ||
| 24 | L<Amazon Polly|Paws::Polly> service. Use the attributes of this class | ||
| 25 | as arguments to method PutLexicon. | ||
| 26 | |||
| 27 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to PutLexicon. | ||
| 28 | |||
| 29 | =head1 SYNOPSIS | ||
| 30 | |||
| 31 | my $polly = Paws->service('Polly'); | ||
| 32 | # To save a lexicon | ||
| 33 | # Stores a pronunciation lexicon in an AWS Region. | ||
| 34 | my $PutLexiconOutput = $polly->PutLexicon( | ||
| 35 | 'Content' => 'file://example.pls', | ||
| 36 | 'Name' => 'W3C' | ||
| 37 | ); | ||
| 38 | |||
| 39 | |||
| 40 | Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. | ||
| 41 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/polly/PutLexicon> | ||
| 42 | |||
| 43 | =head1 ATTRIBUTES | ||
| 44 | |||
| 45 | |||
| 46 | =head2 B<REQUIRED> Content => Str | ||
| 47 | |||
| 48 | Content of the PLS lexicon as string data. | ||
| 49 | |||
| 50 | |||
| 51 | |||
| 52 | =head2 B<REQUIRED> Name => Str | ||
| 53 | |||
| 54 | Name of the lexicon. The name must follow the regular express format | ||
| 55 | [0-9A-Za-z]{1,20}. That is, the name is a case-sensitive alphanumeric | ||
| 56 | string up to 20 characters long. | ||
| 57 | |||
| 58 | |||
| 59 | |||
| 60 | |||
| 61 | =head1 SEE ALSO | ||
| 62 | |||
| 63 | This class forms part of L<Paws>, documenting arguments for method PutLexicon in L<Paws::Polly> | ||
| 64 | |||
| 65 | =head1 BUGS and CONTRIBUTIONS | ||
| 66 | |||
| 67 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 68 | |||
| 69 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 70 | |||
| 71 | =cut | ||
| 72 | |||