line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
|
2
|
|
|
|
|
|
|
package Paws::Polly::SynthesizeSpeechOutput; |
3
|
1
|
|
|
1
|
|
642
|
use Moose; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
10
|
|
4
|
|
|
|
|
|
|
has AudioStream => (is => 'ro', isa => 'Str'); |
5
|
|
|
|
|
|
|
has ContentType => (is => 'ro', isa => 'Str', traits => ['ParamInHeader'], header_name => 'Content-Type'); |
6
|
|
|
|
|
|
|
has RequestCharacters => (is => 'ro', isa => 'Int', traits => ['ParamInHeader'], header_name => 'x-amzn-RequestCharacters'); |
7
|
1
|
|
|
1
|
|
6754
|
use MooseX::ClassAttribute; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
10
|
|
8
|
|
|
|
|
|
|
class_has _stream_param => (is => 'ro', default => 'AudioStream'); |
9
|
|
|
|
|
|
|
has _request_id => (is => 'ro', isa => 'Str'); |
10
|
|
|
|
|
|
|
1; |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
### main pod documentation begin ### |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
=head1 NAME |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
Paws::Polly::SynthesizeSpeechOutput |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
=head1 ATTRIBUTES |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
=head2 AudioStream => Str |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
Stream containing the synthesized speech. |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
=head2 ContentType => Str |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
Specifies the type audio stream. This should reflect the |
29
|
|
|
|
|
|
|
C<OutputFormat> parameter in your request. |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
=over |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=item * |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
If you request C<mp3> as the C<OutputFormat>, the C<ContentType> |
36
|
|
|
|
|
|
|
returned is audio/mpeg. |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
=item * |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
If you request C<ogg_vorbis> as the C<OutputFormat>, the C<ContentType> |
41
|
|
|
|
|
|
|
returned is audio/ogg. |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
=item * |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
If you request C<pcm> as the C<OutputFormat>, the C<ContentType> |
46
|
|
|
|
|
|
|
returned is audio/pcm in a signed 16-bit, 1 channel (mono), |
47
|
|
|
|
|
|
|
little-endian format. |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
=item * |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
If you request C<json> as the C<OutputFormat>, the C<ContentType> |
52
|
|
|
|
|
|
|
returned is audio/json. |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
=back |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
=head2 RequestCharacters => Int |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
Number of characters synthesized. |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
=head2 _request_id => Str |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
=cut |
67
|
|
|
|
|
|
|
|