blib/lib/Paws/Polly/SynthesizeSpeechOutput.pm

filter: Statementstmt 100% 12 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 2 / 2 Podpod n/a totaltotal 100% 14 / 14 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« blib/lib/Paws/Polly/SynthesizeSpeech.pm ↑ Summary blib/lib/Paws/Polly/Voice.pm »
1  
2 package Paws::Polly::SynthesizeSpeechOutput;
3 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 has AudioStream => (is => 'ro', isa => 'Str');
5 1 has ContentType => (is => 'ro', isa => 'Str', traits => ['ParamInHeader'], header_name => 'Content-Type');
6 1 has RequestCharacters => (is => 'ro', isa => 'Int', traits => ['ParamInHeader'], header_name => 'x-amzn-RequestCharacters');
7 1 ▶ use MooseX::ClassAttribute;
Subroutine BEGIN: called CC=1 SCAR=0.0
8 1 class_has _stream_param => (is => 'ro', default => 'AudioStream');
9 1 has _request_id => (is => 'ro', isa => 'Str');
10 1 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  
« blib/lib/Paws/Polly/SynthesizeSpeech.pm ↑ Summary blib/lib/Paws/Polly/Voice.pm »