lib/Paws/ElasticTranscoder.pm

filter: Statementstmt 7.9% 11 / 138 Branchbran 0.0% 0 / 32 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 13.7% 4 / 29 Podpod 80.7% 21 / 26 totaltotal 16.0% 36 / 225 CC 25 SCAR 34.2
CC
25
Cov
6%
ListAllJobsByPipeline
56.0
ListAllJobsByStatus
56.0
ListAllPipelines
56.0
CRAP 30.5
« blib/lib/Paws/SNS.pm ↑ Summary lib/Paws/SimpleWorkflow.pm »
1 package Paws::ElasticTranscoder;
2 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 6 ▶ sub service { 'elastictranscoder' }
Subroutine service: called CC=1 SCAR=0.0
Pod undocumented
4 0 ▶ sub signing_name { 'elastictranscoder' }
Subroutine signing_name: not called CC=1 SCAR=6.9
Pod undocumented
5 0 ▶ sub version { '2012-09-25' }
Subroutine version: not called CC=1 SCAR=6.9
Pod undocumented
6 0 ▶ sub flattened_arrays { 0 }
Subroutine flattened_arrays: not called CC=1 SCAR=6.9
Pod undocumented
7 1 has max_attempts => (is => 'ro', isa => 'Int', default => 5);
8 6 ▶ has retry => (is => 'ro', isa => 'HashRef', default => sub {
Subroutine __ANON__: called CC=1 SCAR=0.0
9 6 { base => 'rand', type => 'exponential', growth_factor => 2 }
10 1 });
11 6 ▶ has retriables => (is => 'ro', isa => 'ArrayRef', default => sub { [
Subroutine __ANON__: called CC=1 SCAR=0.0
12 6 ] });
13  
14 1 with 'Paws::API::Caller', 'Paws::API::EndpointResolver', 'Paws::Net::V4Signature', 'Paws::Net::RestJsonCaller';
15  
16
17 0 ▶ sub CancelJob {
Subroutine CancelJob: not called CC=1 SCAR=6.9
Pod documented
18 0 my $self = shift;
19 0 my $call_object = $self->new_with_coercions('Paws::ElasticTranscoder::CancelJob', @_);
20 0 return $self->caller->do_call($self, $call_object);
21 }
22 0 ▶ sub CreateJob {
Subroutine CreateJob: not called CC=1 SCAR=6.9
Pod documented
23 0 my $self = shift;
24 0 my $call_object = $self->new_with_coercions('Paws::ElasticTranscoder::CreateJob', @_);
25 0 return $self->caller->do_call($self, $call_object);
26 }
27 0 ▶ sub CreatePipeline {
Subroutine CreatePipeline: not called CC=1 SCAR=6.9
Pod documented
28 0 my $self = shift;
29 0 my $call_object = $self->new_with_coercions('Paws::ElasticTranscoder::CreatePipeline', @_);
30 0 return $self->caller->do_call($self, $call_object);
31 }
32 0 ▶ sub CreatePreset {
Subroutine CreatePreset: not called CC=1 SCAR=6.9
Pod documented
33 0 my $self = shift;
34 0 my $call_object = $self->new_with_coercions('Paws::ElasticTranscoder::CreatePreset', @_);
35 0 return $self->caller->do_call($self, $call_object);
36 }
37 0 ▶ sub DeletePipeline {
Subroutine DeletePipeline: not called CC=1 SCAR=6.9
Pod documented
38 0 my $self = shift;
39 0 my $call_object = $self->new_with_coercions('Paws::ElasticTranscoder::DeletePipeline', @_);
40 0 return $self->caller->do_call($self, $call_object);
41 }
42 0 ▶ sub DeletePreset {
Subroutine DeletePreset: not called CC=1 SCAR=6.9
Pod documented
43 0 my $self = shift;
44 0 my $call_object = $self->new_with_coercions('Paws::ElasticTranscoder::DeletePreset', @_);
45 0 return $self->caller->do_call($self, $call_object);
46 }
47 0 ▶ sub ListJobsByPipeline {
Subroutine ListJobsByPipeline: not called CC=1 SCAR=6.9
Pod documented
48 0 my $self = shift;
49 0 my $call_object = $self->new_with_coercions('Paws::ElasticTranscoder::ListJobsByPipeline', @_);
50 0 return $self->caller->do_call($self, $call_object);
51 }
52 0 ▶ sub ListJobsByStatus {
Subroutine ListJobsByStatus: not called CC=1 SCAR=6.9
Pod documented
53 0 my $self = shift;
54 0 my $call_object = $self->new_with_coercions('Paws::ElasticTranscoder::ListJobsByStatus', @_);
55 0 return $self->caller->do_call($self, $call_object);
56 }
57 0 ▶ sub ListPipelines {
Subroutine ListPipelines: not called CC=1 SCAR=6.9
Pod documented
58 0 my $self = shift;
59 0 my $call_object = $self->new_with_coercions('Paws::ElasticTranscoder::ListPipelines', @_);
60 0 return $self->caller->do_call($self, $call_object);
61 }
62 0 ▶ sub ListPresets {
Subroutine ListPresets: not called CC=1 SCAR=6.9
Pod documented
63 0 my $self = shift;
64 0 my $call_object = $self->new_with_coercions('Paws::ElasticTranscoder::ListPresets', @_);
65 0 return $self->caller->do_call($self, $call_object);
66 }
67 0 ▶ sub ReadJob {
Subroutine ReadJob: not called CC=1 SCAR=6.9
Pod documented
68 0 my $self = shift;
69 0 my $call_object = $self->new_with_coercions('Paws::ElasticTranscoder::ReadJob', @_);
70 0 return $self->caller->do_call($self, $call_object);
71 }
72 0 ▶ sub ReadPipeline {
Subroutine ReadPipeline: not called CC=1 SCAR=6.9
Pod documented
73 0 my $self = shift;
74 0 my $call_object = $self->new_with_coercions('Paws::ElasticTranscoder::ReadPipeline', @_);
75 0 return $self->caller->do_call($self, $call_object);
76 }
77 0 ▶ sub ReadPreset {
Subroutine ReadPreset: not called CC=1 SCAR=6.9
Pod documented
78 0 my $self = shift;
79 0 my $call_object = $self->new_with_coercions('Paws::ElasticTranscoder::ReadPreset', @_);
80 0 return $self->caller->do_call($self, $call_object);
81 }
82 0 ▶ sub TestRole {
Subroutine TestRole: not called CC=1 SCAR=6.9
Pod documented
83 0 my $self = shift;
84 0 my $call_object = $self->new_with_coercions('Paws::ElasticTranscoder::TestRole', @_);
85 0 return $self->caller->do_call($self, $call_object);
86 }
87 0 ▶ sub UpdatePipeline {
Subroutine UpdatePipeline: not called CC=1 SCAR=6.9
Pod documented
88 0 my $self = shift;
89 0 my $call_object = $self->new_with_coercions('Paws::ElasticTranscoder::UpdatePipeline', @_);
90 0 return $self->caller->do_call($self, $call_object);
91 }
92 0 ▶ sub UpdatePipelineNotifications {
Subroutine UpdatePipelineNotifications: not called CC=1 SCAR=6.9
Pod documented
93 0 my $self = shift;
94 0 my $call_object = $self->new_with_coercions('Paws::ElasticTranscoder::UpdatePipelineNotifications', @_);
95 0 return $self->caller->do_call($self, $call_object);
96 }
97 0 ▶ sub UpdatePipelineStatus {
Subroutine UpdatePipelineStatus: not called CC=1 SCAR=6.9
Pod documented
98 0 my $self = shift;
99 0 my $call_object = $self->new_with_coercions('Paws::ElasticTranscoder::UpdatePipelineStatus', @_);
100 0 return $self->caller->do_call($self, $call_object);
101 }
102
103 0 ▶ sub ListAllJobsByPipeline {
Subroutine ListAllJobsByPipeline: not called CC=7 SCAR=40.3
Pod documented
104 0 my $self = shift;
105  
106 0 ▶ my $callback = shift @_ if (ref($_[0]) eq 'CODE');
Branch: 1 branch
BranchTrueFalseTotal
if ref $_[0] eq "CODE" 0 0 0
107 0 my $result = $self->ListJobsByPipeline(@_);
108 0 my $next_result = $result;
109  
110 0 ▶ if (not defined $callback) {
Branch: 1 branch
BranchTrueFalseTotal
if (not defined $callback) { } 0 0 0
111 0 ▶ while ($next_result->NextPageToken) {
Branch: 1 branch
BranchTrueFalseTotal
if ($next_result->NextPageToken) 0 0 0
112 0 $next_result = $self->ListJobsByPipeline(@_, PageToken => $next_result->NextPageToken);
113 0 push @{ $result->Jobs }, @{ $next_result->Jobs };
114 }
115 0 return $result;
116 } else {
117 0 ▶ while ($result->NextPageToken) {
Branch: 1 branch
BranchTrueFalseTotal
if ($result->NextPageToken) 0 0 0
118 0 $callback->($_ => 'Jobs') foreach (@{ $result->Jobs });
119 0 $result = $self->ListJobsByPipeline(@_, PageToken => $result->NextPageToken);
120 }
121 0 $callback->($_ => 'Jobs') foreach (@{ $result->Jobs });
122 }
123  
124 return undef
125 0 }
126 0 ▶ sub ListAllJobsByStatus {
Subroutine ListAllJobsByStatus: not called CC=7 SCAR=40.3
Pod documented
127 0 my $self = shift;
128  
129 0 ▶ my $callback = shift @_ if (ref($_[0]) eq 'CODE');
Branch: 1 branch
BranchTrueFalseTotal
if ref $_[0] eq "CODE" 0 0 0
130 0 my $result = $self->ListJobsByStatus(@_);
131 0 my $next_result = $result;
132  
133 0 ▶ if (not defined $callback) {
Branch: 1 branch
BranchTrueFalseTotal
if (not defined $callback) { } 0 0 0
134 0 ▶ while ($next_result->NextPageToken) {
Branch: 1 branch
BranchTrueFalseTotal
if ($next_result->NextPageToken) 0 0 0
135 0 $next_result = $self->ListJobsByStatus(@_, PageToken => $next_result->NextPageToken);
136 0 push @{ $result->Jobs }, @{ $next_result->Jobs };
137 }
138 0 return $result;
139 } else {
140 0 ▶ while ($result->NextPageToken) {
Branch: 1 branch
BranchTrueFalseTotal
if ($result->NextPageToken) 0 0 0
141 0 $callback->($_ => 'Jobs') foreach (@{ $result->Jobs });
142 0 $result = $self->ListJobsByStatus(@_, PageToken => $result->NextPageToken);
143 }
144 0 $callback->($_ => 'Jobs') foreach (@{ $result->Jobs });
145 }
146  
147 return undef
148 0 }
149 0 ▶ sub ListAllPipelines {
Subroutine ListAllPipelines: not called CC=7 SCAR=40.3
Pod documented
150 0 my $self = shift;
151  
152 0 ▶ my $callback = shift @_ if (ref($_[0]) eq 'CODE');
Branch: 1 branch
BranchTrueFalseTotal
if ref $_[0] eq "CODE" 0 0 0
153 0 my $result = $self->ListPipelines(@_);
154 0 my $next_result = $result;
155  
156 0 ▶ if (not defined $callback) {
Branch: 1 branch
BranchTrueFalseTotal
if (not defined $callback) { } 0 0 0
157 0 ▶ while ($next_result->NextPageToken) {
Branch: 1 branch
BranchTrueFalseTotal
if ($next_result->NextPageToken) 0 0 0
158 0 $next_result = $self->ListPipelines(@_, PageToken => $next_result->NextPageToken);
159 0 push @{ $result->Pipelines }, @{ $next_result->Pipelines };
160 }
161 0 return $result;
162 } else {
163 0 ▶ while ($result->NextPageToken) {
Branch: 1 branch
BranchTrueFalseTotal
if ($result->NextPageToken) 0 0 0
164 0 $callback->($_ => 'Pipelines') foreach (@{ $result->Pipelines });
165 0 $result = $self->ListPipelines(@_, PageToken => $result->NextPageToken);
166 }
167 0 $callback->($_ => 'Pipelines') foreach (@{ $result->Pipelines });
168 }
169  
170 return undef
171 0 }
172 0 ▶ sub ListAllPresets {
Subroutine ListAllPresets: not called CC=7 SCAR=40.3
Pod documented
173 0 my $self = shift;
174  
175 0 ▶ my $callback = shift @_ if (ref($_[0]) eq 'CODE');
Branch: 1 branch
BranchTrueFalseTotal
if ref $_[0] eq "CODE" 0 0 0
176 0 my $result = $self->ListPresets(@_);
177 0 my $next_result = $result;
178  
179 0 ▶ if (not defined $callback) {
Branch: 1 branch
BranchTrueFalseTotal
if (not defined $callback) { } 0 0 0
180 0 ▶ while ($next_result->NextPageToken) {
Branch: 1 branch
BranchTrueFalseTotal
if ($next_result->NextPageToken) 0 0 0
181 0 $next_result = $self->ListPresets(@_, PageToken => $next_result->NextPageToken);
182 0 push @{ $result->Presets }, @{ $next_result->Presets };
183 }
184 0 return $result;
185 } else {
186 0 ▶ while ($result->NextPageToken) {
Branch: 1 branch
BranchTrueFalseTotal
if ($result->NextPageToken) 0 0 0
187 0 $callback->($_ => 'Presets') foreach (@{ $result->Presets });
188 0 $result = $self->ListPresets(@_, PageToken => $result->NextPageToken);
189 }
190 0 $callback->($_ => 'Presets') foreach (@{ $result->Presets });
191 }
192  
193 return undef
194 0 }
195  
196  
197 0 ▶ sub operations { qw/CancelJob CreateJob CreatePipeline CreatePreset DeletePipeline DeletePreset ListJobsByPipeline ListJobsByStatus ListPipelines ListPresets ReadJob ReadPipeline ReadPreset TestRole UpdatePipeline UpdatePipelineNotifications UpdatePipelineStatus / }
Subroutine operations: not called CC=1 SCAR=6.9
Pod undocumented
198  
199 1 1;
200  
201 ### main pod documentation begin ###
202  
203 =head1 NAME
204  
205 Paws::ElasticTranscoder - Perl Interface to AWS Amazon Elastic Transcoder
206  
207 =head1 SYNOPSIS
208  
209 use Paws;
210  
211 my $obj = Paws->service('ElasticTranscoder');
212 my $res = $obj->Method(
213 Arg1 => $val1,
214 Arg2 => [ 'V1', 'V2' ],
215 # if Arg3 is an object, the HashRef will be used as arguments to the constructor
216 # of the arguments type
217 Arg3 => { Att1 => 'Val1' },
218 # if Arg4 is an array of objects, the HashRefs will be passed as arguments to
219 # the constructor of the arguments type
220 Arg4 => [ { Att1 => 'Val1' }, { Att1 => 'Val2' } ],
221 );
222  
223 =head1 DESCRIPTION
224  
225 AWS Elastic Transcoder Service
226  
227 The AWS Elastic Transcoder Service.
228  
229 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/elastictranscoder-2012-09-25>
230  
231  
232 =head1 METHODS
233  
234 =head2 CancelJob
235  
236 =over
237  
238 =item Id => Str
239  
240  
241 =back
242  
243 Each argument is described in detail in: L<Paws::ElasticTranscoder::CancelJob>
244  
245 Returns: a L<Paws::ElasticTranscoder::CancelJobResponse> instance
246  
247 The CancelJob operation cancels an unfinished job.
248  
249 You can only cancel a job that has a status of C<Submitted>. To prevent
250 a pipeline from starting to process a job while you're getting the job
251 identifier, use UpdatePipelineStatus to temporarily pause the pipeline.
252  
253  
254 =head2 CreateJob
255  
256 =over
257  
258 =item PipelineId => Str
259  
260 =item [Input => L<Paws::ElasticTranscoder::JobInput>]
261  
262 =item [Inputs => ArrayRef[L<Paws::ElasticTranscoder::JobInput>]]
263  
264 =item [Output => L<Paws::ElasticTranscoder::CreateJobOutput>]
265  
266 =item [OutputKeyPrefix => Str]
267  
268 =item [Outputs => ArrayRef[L<Paws::ElasticTranscoder::CreateJobOutput>]]
269  
270 =item [Playlists => ArrayRef[L<Paws::ElasticTranscoder::CreateJobPlaylist>]]
271  
272 =item [UserMetadata => L<Paws::ElasticTranscoder::UserMetadata>]
273  
274  
275 =back
276  
277 Each argument is described in detail in: L<Paws::ElasticTranscoder::CreateJob>
278  
279 Returns: a L<Paws::ElasticTranscoder::CreateJobResponse> instance
280  
281 When you create a job, Elastic Transcoder returns JSON data that
282 includes the values that you specified plus information about the job
283 that is created.
284  
285 If you have specified more than one output for your jobs (for example,
286 one output for the Kindle Fire and another output for the Apple iPhone
287 4s), you currently must use the Elastic Transcoder API to list the jobs
288 (as opposed to the AWS Console).
289  
290  
291 =head2 CreatePipeline
292  
293 =over
294  
295 =item InputBucket => Str
296  
297 =item Name => Str
298  
299 =item Role => Str
300  
301 =item [AwsKmsKeyArn => Str]
302  
303 =item [ContentConfig => L<Paws::ElasticTranscoder::PipelineOutputConfig>]
304  
305 =item [Notifications => L<Paws::ElasticTranscoder::Notifications>]
306  
307 =item [OutputBucket => Str]
308  
309 =item [ThumbnailConfig => L<Paws::ElasticTranscoder::PipelineOutputConfig>]
310  
311  
312 =back
313  
314 Each argument is described in detail in: L<Paws::ElasticTranscoder::CreatePipeline>
315  
316 Returns: a L<Paws::ElasticTranscoder::CreatePipelineResponse> instance
317  
318 The CreatePipeline operation creates a pipeline with settings that you
319 specify.
320  
321  
322 =head2 CreatePreset
323  
324 =over
325  
326 =item Container => Str
327  
328 =item Name => Str
329  
330 =item [Audio => L<Paws::ElasticTranscoder::AudioParameters>]
331  
332 =item [Description => Str]
333  
334 =item [Thumbnails => L<Paws::ElasticTranscoder::Thumbnails>]
335  
336 =item [Video => L<Paws::ElasticTranscoder::VideoParameters>]
337  
338  
339 =back
340  
341 Each argument is described in detail in: L<Paws::ElasticTranscoder::CreatePreset>
342  
343 Returns: a L<Paws::ElasticTranscoder::CreatePresetResponse> instance
344  
345 The CreatePreset operation creates a preset with settings that you
346 specify.
347  
348 Elastic Transcoder checks the CreatePreset settings to ensure that they
349 meet Elastic Transcoder requirements and to determine whether they
350 comply with H.264 standards. If your settings are not valid for Elastic
351 Transcoder, Elastic Transcoder returns an HTTP 400 response
352 (C<ValidationException>) and does not create the preset. If the
353 settings are valid for Elastic Transcoder but aren't strictly compliant
354 with the H.264 standard, Elastic Transcoder creates the preset and
355 returns a warning message in the response. This helps you determine
356 whether your settings comply with the H.264 standard while giving you
357 greater flexibility with respect to the video that Elastic Transcoder
358 produces.
359  
360 Elastic Transcoder uses the H.264 video-compression format. For more
361 information, see the International Telecommunication Union publication
362 I<Recommendation ITU-T H.264: Advanced video coding for generic
363 audiovisual services>.
364  
365  
366 =head2 DeletePipeline
367  
368 =over
369  
370 =item Id => Str
371  
372  
373 =back
374  
375 Each argument is described in detail in: L<Paws::ElasticTranscoder::DeletePipeline>
376  
377 Returns: a L<Paws::ElasticTranscoder::DeletePipelineResponse> instance
378  
379 The DeletePipeline operation removes a pipeline.
380  
381 You can only delete a pipeline that has never been used or that is not
382 currently in use (doesn't contain any active jobs). If the pipeline is
383 currently in use, C<DeletePipeline> returns an error.
384  
385  
386 =head2 DeletePreset
387  
388 =over
389  
390 =item Id => Str
391  
392  
393 =back
394  
395 Each argument is described in detail in: L<Paws::ElasticTranscoder::DeletePreset>
396  
397 Returns: a L<Paws::ElasticTranscoder::DeletePresetResponse> instance
398  
399 The DeletePreset operation removes a preset that you've added in an AWS
400 region.
401  
402 You can't delete the default presets that are included with Elastic
403 Transcoder.
404  
405  
406 =head2 ListJobsByPipeline
407  
408 =over
409  
410 =item PipelineId => Str
411  
412 =item [Ascending => Str]
413  
414 =item [PageToken => Str]
415  
416  
417 =back
418  
419 Each argument is described in detail in: L<Paws::ElasticTranscoder::ListJobsByPipeline>
420  
421 Returns: a L<Paws::ElasticTranscoder::ListJobsByPipelineResponse> instance
422  
423 The ListJobsByPipeline operation gets a list of the jobs currently in a
424 pipeline.
425  
426 Elastic Transcoder returns all of the jobs currently in the specified
427 pipeline. The response body contains one element for each job that
428 satisfies the search criteria.
429  
430  
431 =head2 ListJobsByStatus
432  
433 =over
434  
435 =item Status => Str
436  
437 =item [Ascending => Str]
438  
439 =item [PageToken => Str]
440  
441  
442 =back
443  
444 Each argument is described in detail in: L<Paws::ElasticTranscoder::ListJobsByStatus>
445  
446 Returns: a L<Paws::ElasticTranscoder::ListJobsByStatusResponse> instance
447  
448 The ListJobsByStatus operation gets a list of jobs that have a
449 specified status. The response body contains one element for each job
450 that satisfies the search criteria.
451  
452  
453 =head2 ListPipelines
454  
455 =over
456  
457 =item [Ascending => Str]
458  
459 =item [PageToken => Str]
460  
461  
462 =back
463  
464 Each argument is described in detail in: L<Paws::ElasticTranscoder::ListPipelines>
465  
466 Returns: a L<Paws::ElasticTranscoder::ListPipelinesResponse> instance
467  
468 The ListPipelines operation gets a list of the pipelines associated
469 with the current AWS account.
470  
471  
472 =head2 ListPresets
473  
474 =over
475  
476 =item [Ascending => Str]
477  
478 =item [PageToken => Str]
479  
480  
481 =back
482  
483 Each argument is described in detail in: L<Paws::ElasticTranscoder::ListPresets>
484  
485 Returns: a L<Paws::ElasticTranscoder::ListPresetsResponse> instance
486  
487 The ListPresets operation gets a list of the default presets included
488 with Elastic Transcoder and the presets that you've added in an AWS
489 region.
490  
491  
492 =head2 ReadJob
493  
494 =over
495  
496 =item Id => Str
497  
498  
499 =back
500  
501 Each argument is described in detail in: L<Paws::ElasticTranscoder::ReadJob>
502  
503 Returns: a L<Paws::ElasticTranscoder::ReadJobResponse> instance
504  
505 The ReadJob operation returns detailed information about a job.
506  
507  
508 =head2 ReadPipeline
509  
510 =over
511  
512 =item Id => Str
513  
514  
515 =back
516  
517 Each argument is described in detail in: L<Paws::ElasticTranscoder::ReadPipeline>
518  
519 Returns: a L<Paws::ElasticTranscoder::ReadPipelineResponse> instance
520  
521 The ReadPipeline operation gets detailed information about a pipeline.
522  
523  
524 =head2 ReadPreset
525  
526 =over
527  
528 =item Id => Str
529  
530  
531 =back
532  
533 Each argument is described in detail in: L<Paws::ElasticTranscoder::ReadPreset>
534  
535 Returns: a L<Paws::ElasticTranscoder::ReadPresetResponse> instance
536  
537 The ReadPreset operation gets detailed information about a preset.
538  
539  
540 =head2 TestRole
541  
542 =over
543  
544 =item InputBucket => Str
545  
546 =item OutputBucket => Str
547  
548 =item Role => Str
549  
550 =item Topics => ArrayRef[Str|Undef]
551  
552  
553 =back
554  
555 Each argument is described in detail in: L<Paws::ElasticTranscoder::TestRole>
556  
557 Returns: a L<Paws::ElasticTranscoder::TestRoleResponse> instance
558  
559 The TestRole operation tests the IAM role used to create the pipeline.
560  
561 The C<TestRole> action lets you determine whether the IAM role you are
562 using has sufficient permissions to let Elastic Transcoder perform
563 tasks associated with the transcoding process. The action attempts to
564 assume the specified IAM role, checks read access to the input and
565 output buckets, and tries to send a test notification to Amazon SNS
566 topics that you specify.
567  
568  
569 =head2 UpdatePipeline
570  
571 =over
572  
573 =item Id => Str
574  
575 =item [AwsKmsKeyArn => Str]
576  
577 =item [ContentConfig => L<Paws::ElasticTranscoder::PipelineOutputConfig>]
578  
579 =item [InputBucket => Str]
580  
581 =item [Name => Str]
582  
583 =item [Notifications => L<Paws::ElasticTranscoder::Notifications>]
584  
585 =item [Role => Str]
586  
587 =item [ThumbnailConfig => L<Paws::ElasticTranscoder::PipelineOutputConfig>]
588  
589  
590 =back
591  
592 Each argument is described in detail in: L<Paws::ElasticTranscoder::UpdatePipeline>
593  
594 Returns: a L<Paws::ElasticTranscoder::UpdatePipelineResponse> instance
595  
596 Use the C<UpdatePipeline> operation to update settings for a pipeline.
597  
598 When you change pipeline settings, your changes take effect
599 immediately. Jobs that you have already submitted and that Elastic
600 Transcoder has not started to process are affected in addition to jobs
601 that you submit after you change settings.
602  
603  
604 =head2 UpdatePipelineNotifications
605  
606 =over
607  
608 =item Id => Str
609  
610 =item Notifications => L<Paws::ElasticTranscoder::Notifications>
611  
612  
613 =back
614  
615 Each argument is described in detail in: L<Paws::ElasticTranscoder::UpdatePipelineNotifications>
616  
617 Returns: a L<Paws::ElasticTranscoder::UpdatePipelineNotificationsResponse> instance
618  
619 With the UpdatePipelineNotifications operation, you can update Amazon
620 Simple Notification Service (Amazon SNS) notifications for a pipeline.
621  
622 When you update notifications for a pipeline, Elastic Transcoder
623 returns the values that you specified in the request.
624  
625  
626 =head2 UpdatePipelineStatus
627  
628 =over
629  
630 =item Id => Str
631  
632 =item Status => Str
633  
634  
635 =back
636  
637 Each argument is described in detail in: L<Paws::ElasticTranscoder::UpdatePipelineStatus>
638  
639 Returns: a L<Paws::ElasticTranscoder::UpdatePipelineStatusResponse> instance
640  
641 The UpdatePipelineStatus operation pauses or reactivates a pipeline, so
642 that the pipeline stops or restarts the processing of jobs.
643  
644 Changing the pipeline status is useful if you want to cancel one or
645 more jobs. You can't cancel jobs after Elastic Transcoder has started
646 processing them; if you pause the pipeline to which you submitted the
647 jobs, you have more time to get the job IDs for the jobs that you want
648 to cancel, and to send a CancelJob request.
649  
650  
651  
652  
653 =head1 PAGINATORS
654  
655 Paginator methods are helpers that repetively call methods that return partial results
656  
657 =head2 ListAllJobsByPipeline(sub { },PipelineId => Str, [Ascending => Str, PageToken => Str])
658  
659 =head2 ListAllJobsByPipeline(PipelineId => Str, [Ascending => Str, PageToken => Str])
660  
661  
662 If passed a sub as first parameter, it will call the sub for each element found in :
663  
664 - Jobs, passing the object as the first parameter, and the string 'Jobs' as the second parameter
665  
666 If not, it will return a a L<Paws::ElasticTranscoder::ListJobsByPipelineResponse> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.
667  
668  
669 =head2 ListAllJobsByStatus(sub { },Status => Str, [Ascending => Str, PageToken => Str])
670  
671 =head2 ListAllJobsByStatus(Status => Str, [Ascending => Str, PageToken => Str])
672  
673  
674 If passed a sub as first parameter, it will call the sub for each element found in :
675  
676 - Jobs, passing the object as the first parameter, and the string 'Jobs' as the second parameter
677  
678 If not, it will return a a L<Paws::ElasticTranscoder::ListJobsByStatusResponse> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.
679  
680  
681 =head2 ListAllPipelines(sub { },[Ascending => Str, PageToken => Str])
682  
683 =head2 ListAllPipelines([Ascending => Str, PageToken => Str])
684  
685  
686 If passed a sub as first parameter, it will call the sub for each element found in :
687  
688 - Pipelines, passing the object as the first parameter, and the string 'Pipelines' as the second parameter
689  
690 If not, it will return a a L<Paws::ElasticTranscoder::ListPipelinesResponse> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.
691  
692  
693 =head2 ListAllPresets(sub { },[Ascending => Str, PageToken => Str])
694  
695 =head2 ListAllPresets([Ascending => Str, PageToken => Str])
696  
697  
698 If passed a sub as first parameter, it will call the sub for each element found in :
699  
700 - Presets, passing the object as the first parameter, and the string 'Presets' as the second parameter
701  
702 If not, it will return a a L<Paws::ElasticTranscoder::ListPresetsResponse> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.
703  
704  
705  
706  
707  
708 =head1 SEE ALSO
709  
710 This service class forms part of L<Paws>
711  
712 =head1 BUGS and CONTRIBUTIONS
713  
714 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
715  
716 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
717  
718 =cut
719  
« blib/lib/Paws/SNS.pm ↑ Summary lib/Paws/SimpleWorkflow.pm »