line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
|
2
|
|
|
|
|
|
|
package Paws::ElasticTranscoder::CreateJob; |
3
|
1
|
|
|
1
|
|
670
|
use Moose; |
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
14
|
|
4
|
|
|
|
|
|
|
has Input => (is => 'ro', isa => 'Paws::ElasticTranscoder::JobInput'); |
5
|
|
|
|
|
|
|
has Inputs => (is => 'ro', isa => 'ArrayRef[Paws::ElasticTranscoder::JobInput]'); |
6
|
|
|
|
|
|
|
has Output => (is => 'ro', isa => 'Paws::ElasticTranscoder::CreateJobOutput'); |
7
|
|
|
|
|
|
|
has OutputKeyPrefix => (is => 'ro', isa => 'Str'); |
8
|
|
|
|
|
|
|
has Outputs => (is => 'ro', isa => 'ArrayRef[Paws::ElasticTranscoder::CreateJobOutput]'); |
9
|
|
|
|
|
|
|
has PipelineId => (is => 'ro', isa => 'Str', required => 1); |
10
|
|
|
|
|
|
|
has Playlists => (is => 'ro', isa => 'ArrayRef[Paws::ElasticTranscoder::CreateJobPlaylist]'); |
11
|
|
|
|
|
|
|
has UserMetadata => (is => 'ro', isa => 'Paws::ElasticTranscoder::UserMetadata'); |
12
|
|
|
|
|
|
|
|
13
|
1
|
|
|
1
|
|
12067
|
use MooseX::ClassAttribute; |
|
1
|
|
|
|
|
5
|
|
|
1
|
|
|
|
|
15
|
|
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateJob'); |
16
|
|
|
|
|
|
|
class_has _api_uri => (isa => 'Str', is => 'ro', default => '/2012-09-25/jobs'); |
17
|
|
|
|
|
|
|
class_has _api_method => (isa => 'Str', is => 'ro', default => 'POST'); |
18
|
|
|
|
|
|
|
class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::ElasticTranscoder::CreateJobResponse'); |
19
|
|
|
|
|
|
|
class_has _result_key => (isa => 'Str', is => 'ro'); |
20
|
|
|
|
|
|
|
1; |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
### main pod documentation begin ### |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
=head1 NAME |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
Paws::ElasticTranscoder::CreateJob - Arguments for method CreateJob on Paws::ElasticTranscoder |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=head1 DESCRIPTION |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
This class represents the parameters used for calling the method CreateJob on the |
31
|
|
|
|
|
|
|
Amazon Elastic Transcoder service. Use the attributes of this class |
32
|
|
|
|
|
|
|
as arguments to method CreateJob. |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateJob. |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
As an example: |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
$service_obj->CreateJob(Att1 => $value1, Att2 => $value2, ...); |
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
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
=head1 ATTRIBUTES |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
=head2 Input => L<Paws::ElasticTranscoder::JobInput> |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
A section of the request body that provides information about the file |
48
|
|
|
|
|
|
|
that is being transcoded. |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
=head2 Inputs => ArrayRef[L<Paws::ElasticTranscoder::JobInput>] |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
A section of the request body that provides information about the files |
55
|
|
|
|
|
|
|
that are being transcoded. |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
=head2 Output => L<Paws::ElasticTranscoder::CreateJobOutput> |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
A section of the request body that provides information about the |
62
|
|
|
|
|
|
|
transcoded (target) file. We strongly recommend that you use the |
63
|
|
|
|
|
|
|
C<Outputs> syntax instead of the C<Output> syntax. |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
=head2 OutputKeyPrefix => Str |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
The value, if any, that you want Elastic Transcoder to prepend to the |
70
|
|
|
|
|
|
|
names of all files that this job creates, including output files, |
71
|
|
|
|
|
|
|
thumbnails, and playlists. |
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
=head2 Outputs => ArrayRef[L<Paws::ElasticTranscoder::CreateJobOutput>] |
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
A section of the request body that provides information about the |
78
|
|
|
|
|
|
|
transcoded (target) files. We recommend that you use the C<Outputs> |
79
|
|
|
|
|
|
|
syntax instead of the C<Output> syntax. |
80
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
=head2 B<REQUIRED> PipelineId => Str |
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
The C<Id> of the pipeline that you want Elastic Transcoder to use for |
86
|
|
|
|
|
|
|
transcoding. The pipeline determines several settings, including the |
87
|
|
|
|
|
|
|
Amazon S3 bucket from which Elastic Transcoder gets the files to |
88
|
|
|
|
|
|
|
transcode and the bucket into which Elastic Transcoder puts the |
89
|
|
|
|
|
|
|
transcoded files. |
90
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
|
92
|
|
|
|
|
|
|
|
93
|
|
|
|
|
|
|
=head2 Playlists => ArrayRef[L<Paws::ElasticTranscoder::CreateJobPlaylist>] |
94
|
|
|
|
|
|
|
|
95
|
|
|
|
|
|
|
If you specify a preset in C<PresetId> for which the value of |
96
|
|
|
|
|
|
|
C<Container> is fmp4 (Fragmented MP4) or ts (MPEG-TS), Playlists |
97
|
|
|
|
|
|
|
contains information about the master playlists that you want Elastic |
98
|
|
|
|
|
|
|
Transcoder to create. |
99
|
|
|
|
|
|
|
|
100
|
|
|
|
|
|
|
The maximum number of master playlists in a job is 30. |
101
|
|
|
|
|
|
|
|
102
|
|
|
|
|
|
|
|
103
|
|
|
|
|
|
|
|
104
|
|
|
|
|
|
|
=head2 UserMetadata => L<Paws::ElasticTranscoder::UserMetadata> |
105
|
|
|
|
|
|
|
|
106
|
|
|
|
|
|
|
User-defined metadata that you want to associate with an Elastic |
107
|
|
|
|
|
|
|
Transcoder job. You specify metadata in C<key/value> pairs, and you can |
108
|
|
|
|
|
|
|
add up to 10 C<key/value> pairs per job. Elastic Transcoder does not |
109
|
|
|
|
|
|
|
guarantee that C<key/value> pairs are returned in the same order in |
110
|
|
|
|
|
|
|
which you specify them. |
111
|
|
|
|
|
|
|
|
112
|
|
|
|
|
|
|
|
113
|
|
|
|
|
|
|
|
114
|
|
|
|
|
|
|
|
115
|
|
|
|
|
|
|
=head1 SEE ALSO |
116
|
|
|
|
|
|
|
|
117
|
|
|
|
|
|
|
This class forms part of L<Paws>, documenting arguments for method CreateJob in L<Paws::ElasticTranscoder> |
118
|
|
|
|
|
|
|
|
119
|
|
|
|
|
|
|
=head1 BUGS and CONTRIBUTIONS |
120
|
|
|
|
|
|
|
|
121
|
|
|
|
|
|
|
The source code is located here: https://github.com/pplu/aws-sdk-perl |
122
|
|
|
|
|
|
|
|
123
|
|
|
|
|
|
|
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues |
124
|
|
|
|
|
|
|
|
125
|
|
|
|
|
|
|
=cut |
126
|
|
|
|
|
|
|
|