blib/lib/Paws/ElasticTranscoder/CreateJobPlaylist.pm untested

filter: Statementstmt 0.0% 0 / 8 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 9 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::ElasticTranscoder::CreateJobPlaylist;
3 use Moose;
4 has Format => (is => 'ro', isa => 'Str');
5 has HlsContentProtection => (is => 'ro', isa => 'Paws::ElasticTranscoder::HlsContentProtection');
6 has Name => (is => 'ro', isa => 'Str');
7 has OutputKeys => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
8 has PlayReadyDrm => (is => 'ro', isa => 'Paws::ElasticTranscoder::PlayReadyDrm');
9  
10 1;
11  
12 ### main pod documentation begin ###
13  
14 =head1 NAME
15  
16 Paws::ElasticTranscoder::CreateJobPlaylist
17  
18 =head1 USAGE
19  
20 This class represents one of two things:
21  
22 =head3 Arguments in a call to a service
23  
24 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
25 Each attribute should be used as a named argument in the calls that expect this type of object.
26  
27 As an example, if Att1 is expected to be a Paws::ElasticTranscoder::CreateJobPlaylist object:
28  
29 $service_obj->Method(Att1 => { Format => $value, ..., PlayReadyDrm => $value });
30  
31 =head3 Results returned from an API call
32  
33 Use accessors for each attribute. If Att1 is expected to be an Paws::ElasticTranscoder::CreateJobPlaylist object:
34  
35 $result = $service_obj->Method(...);
36 $result->Att1->Format
37  
38 =head1 DESCRIPTION
39  
40 Information about the master playlist.
41  
42 =head1 ATTRIBUTES
43  
44  
45 =head2 Format => Str
46  
47 The format of the output playlist. Valid formats include C<HLSv3>,
48 C<HLSv4>, and C<Smooth>.
49  
50  
51 =head2 HlsContentProtection => L<Paws::ElasticTranscoder::HlsContentProtection>
52  
53 The HLS content protection settings, if any, that you want Elastic
54 Transcoder to apply to the output files associated with this playlist.
55  
56  
57 =head2 Name => Str
58  
59 The name that you want Elastic Transcoder to assign to the master
60 playlist, for example, nyc-vacation.m3u8. If the name includes a C</>
61 character, the section of the name before the last C</> must be
62 identical for all C<Name> objects. If you create more than one master
63 playlist, the values of all C<Name> objects must be unique.
64  
65 Elastic Transcoder automatically appends the relevant file extension to
66 the file name (C<.m3u8> for C<HLSv3> and C<HLSv4> playlists, and
67 C<.ism> and C<.ismc> for C<Smooth> playlists). If you include a file
68 extension in C<Name>, the file name will have two extensions.
69  
70  
71 =head2 OutputKeys => ArrayRef[Str|Undef]
72  
73 For each output in this job that you want to include in a master
74 playlist, the value of the C<Outputs:Key> object.
75  
76 =over
77  
78 =item *
79  
80 If your output is not C<HLS> or does not have a segment duration set,
81 the name of the output file is a concatenation of C<OutputKeyPrefix>
82 and C<Outputs:Key>:
83  
84 OutputKeyPrefixC<Outputs:Key>
85  
86 =item *
87  
88 If your output is C<HLSv3> and has a segment duration set, or is not
89 included in a playlist, Elastic Transcoder creates an output playlist
90 file with a file extension of C<.m3u8>, and a series of C<.ts> files
91 that include a five-digit sequential counter beginning with 00000:
92  
93 OutputKeyPrefixC<Outputs:Key>.m3u8
94  
95 OutputKeyPrefixC<Outputs:Key>00000.ts
96  
97 =item *
98  
99 If your output is C<HLSv4>, has a segment duration set, and is included
100 in an C<HLSv4> playlist, Elastic Transcoder creates an output playlist
101 file with a file extension of C<_v4.m3u8>. If the output is video,
102 Elastic Transcoder also creates an output file with an extension of
103 C<_iframe.m3u8>:
104  
105 OutputKeyPrefixC<Outputs:Key>_v4.m3u8
106  
107 OutputKeyPrefixC<Outputs:Key>_iframe.m3u8
108  
109 OutputKeyPrefixC<Outputs:Key>.ts
110  
111 =back
112  
113 Elastic Transcoder automatically appends the relevant file extension to
114 the file name. If you include a file extension in Output Key, the file
115 name will have two extensions.
116  
117 If you include more than one output in a playlist, any segment duration
118 settings, clip settings, or caption settings must be the same for all
119 outputs in the playlist. For C<Smooth> playlists, the C<Audio:Profile>,
120 C<Video:Profile>, and C<Video:FrameRate> to C<Video:KeyframesMaxDist>
121 ratio must be the same for all outputs.
122  
123  
124 =head2 PlayReadyDrm => L<Paws::ElasticTranscoder::PlayReadyDrm>
125  
126 The DRM settings, if any, that you want Elastic Transcoder to apply to
127 the output files associated with this playlist.
128  
129  
130  
131 =head1 SEE ALSO
132  
133 This class forms part of L<Paws>, describing an object used in L<Paws::ElasticTranscoder>
134  
135 =head1 BUGS and CONTRIBUTIONS
136  
137 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
138  
139 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
140  
141 =cut
142