File Coverage

blib/lib/Paws/ElasticTranscoder/Preset.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package Paws::ElasticTranscoder::Preset;
2 1     1   528 use Moose;
  1         2  
  1         7  
3             has Arn => (is => 'ro', isa => 'Str');
4             has Audio => (is => 'ro', isa => 'Paws::ElasticTranscoder::AudioParameters');
5             has Container => (is => 'ro', isa => 'Str');
6             has Description => (is => 'ro', isa => 'Str');
7             has Id => (is => 'ro', isa => 'Str');
8             has Name => (is => 'ro', isa => 'Str');
9             has Thumbnails => (is => 'ro', isa => 'Paws::ElasticTranscoder::Thumbnails');
10             has Type => (is => 'ro', isa => 'Str');
11             has Video => (is => 'ro', isa => 'Paws::ElasticTranscoder::VideoParameters');
12             1;
13              
14             ### main pod documentation begin ###
15              
16             =head1 NAME
17              
18             Paws::ElasticTranscoder::Preset
19              
20             =head1 USAGE
21              
22             This class represents one of two things:
23              
24             =head3 Arguments in a call to a service
25              
26             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
27             Each attribute should be used as a named argument in the calls that expect this type of object.
28              
29             As an example, if Att1 is expected to be a Paws::ElasticTranscoder::Preset object:
30              
31             $service_obj->Method(Att1 => { Arn => $value, ..., Video => $value });
32              
33             =head3 Results returned from an API call
34              
35             Use accessors for each attribute. If Att1 is expected to be an Paws::ElasticTranscoder::Preset object:
36              
37             $result = $service_obj->Method(...);
38             $result->Att1->Arn
39              
40             =head1 DESCRIPTION
41              
42             Presets are templates that contain most of the settings for transcoding
43             media files from one format to another. Elastic Transcoder includes
44             some default presets for common formats, for example, several iPod and
45             iPhone versions. You can also create your own presets for formats that
46             aren't included among the default presets. You specify which preset you
47             want to use when you create a job.
48              
49             =head1 ATTRIBUTES
50              
51              
52             =head2 Arn => Str
53              
54             The Amazon Resource Name (ARN) for the preset.
55              
56              
57             =head2 Audio => L<Paws::ElasticTranscoder::AudioParameters>
58              
59             A section of the response body that provides information about the
60             audio preset values.
61              
62              
63             =head2 Container => Str
64              
65             The container type for the output file. Valid values include C<flac>,
66             C<flv>, C<fmp4>, C<gif>, C<mp3>, C<mp4>, C<mpg>, C<mxf>, C<oga>,
67             C<ogg>, C<ts>, and C<webm>.
68              
69              
70             =head2 Description => Str
71              
72             A description of the preset.
73              
74              
75             =head2 Id => Str
76              
77             Identifier for the new preset. You use this value to get settings for
78             the preset or to delete it.
79              
80              
81             =head2 Name => Str
82              
83             The name of the preset.
84              
85              
86             =head2 Thumbnails => L<Paws::ElasticTranscoder::Thumbnails>
87              
88             A section of the response body that provides information about the
89             thumbnail preset values, if any.
90              
91              
92             =head2 Type => Str
93              
94             Whether the preset is a default preset provided by Elastic Transcoder
95             (C<System>) or a preset that you have defined (C<Custom>).
96              
97              
98             =head2 Video => L<Paws::ElasticTranscoder::VideoParameters>
99              
100             A section of the response body that provides information about the
101             video preset values.
102              
103              
104              
105             =head1 SEE ALSO
106              
107             This class forms part of L<Paws>, describing an object used in L<Paws::ElasticTranscoder>
108              
109             =head1 BUGS and CONTRIBUTIONS
110              
111             The source code is located here: https://github.com/pplu/aws-sdk-perl
112              
113             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
114              
115             =cut
116