lib/Paws/DataPipeline.pm

filter: Statementstmt 8.6% 11 / 127 Branchbran 0.0% 0 / 24 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 12.9% 4 / 31 Podpod 78.5% 22 / 28 totaltotal 17.6% 37 / 210 CC 19 SCAR 32.2
CC
19
Cov
7%
DescribeAllObjects
56.0
ListAllPipelines
56.0
QueryAllObjects
56.0
CRAP 25.1
« blib/lib/Paws/MachineLearning.pm ↑ Summary blib/lib/Paws/ES.pm »
1 package Paws::DataPipeline;
2 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 1 ▶ sub service { 'datapipeline' }
Subroutine service: called CC=1 SCAR=0.0
Pod undocumented
4 0 ▶ sub signing_name { 'datapipeline' }
Subroutine signing_name: not called CC=1 SCAR=6.9
Pod undocumented
5 0 ▶ sub version { '2012-10-29' }
Subroutine version: not called CC=1 SCAR=6.9
Pod undocumented
6 0 ▶ sub target_prefix { 'DataPipeline' }
Subroutine target_prefix: not called CC=1 SCAR=6.9
Pod undocumented
7 0 ▶ sub json_version { "1.1" }
Subroutine json_version: not called CC=1 SCAR=6.9
Pod undocumented
8 1 has max_attempts => (is => 'ro', isa => 'Int', default => 5);
9 1 ▶ has retry => (is => 'ro', isa => 'HashRef', default => sub {
Subroutine __ANON__: called CC=1 SCAR=0.0
10 1 { base => 'rand', type => 'exponential', growth_factor => 2 }
11 1 });
12 1 ▶ has retriables => (is => 'ro', isa => 'ArrayRef', default => sub { [
Subroutine __ANON__: called CC=1 SCAR=0.0
13 1 ] });
14  
15 1 with 'Paws::API::Caller', 'Paws::API::EndpointResolver', 'Paws::Net::V4Signature', 'Paws::Net::JsonCaller';
16  
17
18 0 ▶ sub ActivatePipeline {
Subroutine ActivatePipeline: not called CC=1 SCAR=6.9
Pod documented
19 0 my $self = shift;
20 0 my $call_object = $self->new_with_coercions('Paws::DataPipeline::ActivatePipeline', @_);
21 0 return $self->caller->do_call($self, $call_object);
22 }
23 0 ▶ sub AddTags {
Subroutine AddTags: not called CC=1 SCAR=6.9
Pod documented
24 0 my $self = shift;
25 0 my $call_object = $self->new_with_coercions('Paws::DataPipeline::AddTags', @_);
26 0 return $self->caller->do_call($self, $call_object);
27 }
28 0 ▶ sub CreatePipeline {
Subroutine CreatePipeline: not called CC=1 SCAR=6.9
Pod documented
29 0 my $self = shift;
30 0 my $call_object = $self->new_with_coercions('Paws::DataPipeline::CreatePipeline', @_);
31 0 return $self->caller->do_call($self, $call_object);
32 }
33 0 ▶ sub DeactivatePipeline {
Subroutine DeactivatePipeline: not called CC=1 SCAR=6.9
Pod documented
34 0 my $self = shift;
35 0 my $call_object = $self->new_with_coercions('Paws::DataPipeline::DeactivatePipeline', @_);
36 0 return $self->caller->do_call($self, $call_object);
37 }
38 0 ▶ sub DeletePipeline {
Subroutine DeletePipeline: not called CC=1 SCAR=6.9
Pod documented
39 0 my $self = shift;
40 0 my $call_object = $self->new_with_coercions('Paws::DataPipeline::DeletePipeline', @_);
41 0 return $self->caller->do_call($self, $call_object);
42 }
43 0 ▶ sub DescribeObjects {
Subroutine DescribeObjects: not called CC=1 SCAR=6.9
Pod documented
44 0 my $self = shift;
45 0 my $call_object = $self->new_with_coercions('Paws::DataPipeline::DescribeObjects', @_);
46 0 return $self->caller->do_call($self, $call_object);
47 }
48 0 ▶ sub DescribePipelines {
Subroutine DescribePipelines: not called CC=1 SCAR=6.9
Pod documented
49 0 my $self = shift;
50 0 my $call_object = $self->new_with_coercions('Paws::DataPipeline::DescribePipelines', @_);
51 0 return $self->caller->do_call($self, $call_object);
52 }
53 0 ▶ sub EvaluateExpression {
Subroutine EvaluateExpression: not called CC=1 SCAR=6.9
Pod documented
54 0 my $self = shift;
55 0 my $call_object = $self->new_with_coercions('Paws::DataPipeline::EvaluateExpression', @_);
56 0 return $self->caller->do_call($self, $call_object);
57 }
58 0 ▶ sub GetPipelineDefinition {
Subroutine GetPipelineDefinition: not called CC=1 SCAR=6.9
Pod documented
59 0 my $self = shift;
60 0 my $call_object = $self->new_with_coercions('Paws::DataPipeline::GetPipelineDefinition', @_);
61 0 return $self->caller->do_call($self, $call_object);
62 }
63 0 ▶ sub ListPipelines {
Subroutine ListPipelines: not called CC=1 SCAR=6.9
Pod documented
64 0 my $self = shift;
65 0 my $call_object = $self->new_with_coercions('Paws::DataPipeline::ListPipelines', @_);
66 0 return $self->caller->do_call($self, $call_object);
67 }
68 0 ▶ sub PollForTask {
Subroutine PollForTask: not called CC=1 SCAR=6.9
Pod documented
69 0 my $self = shift;
70 0 my $call_object = $self->new_with_coercions('Paws::DataPipeline::PollForTask', @_);
71 0 return $self->caller->do_call($self, $call_object);
72 }
73 0 ▶ sub PutPipelineDefinition {
Subroutine PutPipelineDefinition: not called CC=1 SCAR=6.9
Pod documented
74 0 my $self = shift;
75 0 my $call_object = $self->new_with_coercions('Paws::DataPipeline::PutPipelineDefinition', @_);
76 0 return $self->caller->do_call($self, $call_object);
77 }
78 0 ▶ sub QueryObjects {
Subroutine QueryObjects: not called CC=1 SCAR=6.9
Pod documented
79 0 my $self = shift;
80 0 my $call_object = $self->new_with_coercions('Paws::DataPipeline::QueryObjects', @_);
81 0 return $self->caller->do_call($self, $call_object);
82 }
83 0 ▶ sub RemoveTags {
Subroutine RemoveTags: not called CC=1 SCAR=6.9
Pod documented
84 0 my $self = shift;
85 0 my $call_object = $self->new_with_coercions('Paws::DataPipeline::RemoveTags', @_);
86 0 return $self->caller->do_call($self, $call_object);
87 }
88 0 ▶ sub ReportTaskProgress {
Subroutine ReportTaskProgress: not called CC=1 SCAR=6.9
Pod documented
89 0 my $self = shift;
90 0 my $call_object = $self->new_with_coercions('Paws::DataPipeline::ReportTaskProgress', @_);
91 0 return $self->caller->do_call($self, $call_object);
92 }
93 0 ▶ sub ReportTaskRunnerHeartbeat {
Subroutine ReportTaskRunnerHeartbeat: not called CC=1 SCAR=6.9
Pod documented
94 0 my $self = shift;
95 0 my $call_object = $self->new_with_coercions('Paws::DataPipeline::ReportTaskRunnerHeartbeat', @_);
96 0 return $self->caller->do_call($self, $call_object);
97 }
98 0 ▶ sub SetStatus {
Subroutine SetStatus: not called CC=1 SCAR=6.9
Pod documented
99 0 my $self = shift;
100 0 my $call_object = $self->new_with_coercions('Paws::DataPipeline::SetStatus', @_);
101 0 return $self->caller->do_call($self, $call_object);
102 }
103 0 ▶ sub SetTaskStatus {
Subroutine SetTaskStatus: not called CC=1 SCAR=6.9
Pod documented
104 0 my $self = shift;
105 0 my $call_object = $self->new_with_coercions('Paws::DataPipeline::SetTaskStatus', @_);
106 0 return $self->caller->do_call($self, $call_object);
107 }
108 0 ▶ sub ValidatePipelineDefinition {
Subroutine ValidatePipelineDefinition: not called CC=1 SCAR=6.9
Pod documented
109 0 my $self = shift;
110 0 my $call_object = $self->new_with_coercions('Paws::DataPipeline::ValidatePipelineDefinition', @_);
111 0 return $self->caller->do_call($self, $call_object);
112 }
113
114 0 ▶ sub DescribeAllObjects {
Subroutine DescribeAllObjects: not called CC=7 SCAR=40.3
Pod documented
115 0 my $self = shift;
116  
117 0 ▶ my $callback = shift @_ if (ref($_[0]) eq 'CODE');
Branch: 1 branch
BranchTrueFalseTotal
if ref $_[0] eq "CODE" 0 0 0
118 0 my $result = $self->DescribeObjects(@_);
119 0 my $next_result = $result;
120  
121 0 ▶ if (not defined $callback) {
Branch: 1 branch
BranchTrueFalseTotal
if (not defined $callback) { } 0 0 0
122 0 ▶ while ($next_result->hasMoreResults) {
Branch: 1 branch
BranchTrueFalseTotal
if ($next_result->hasMoreResults) 0 0 0
123 0 $next_result = $self->DescribeObjects(@_, marker => $next_result->marker);
124 0 push @{ $result->pipelineObjects }, @{ $next_result->pipelineObjects };
125 }
126 0 return $result;
127 } else {
128 0 ▶ while ($result->hasMoreResults) {
Branch: 1 branch
BranchTrueFalseTotal
if ($result->hasMoreResults) 0 0 0
129 0 $callback->($_ => 'pipelineObjects') foreach (@{ $result->pipelineObjects });
130 0 $result = $self->DescribeObjects(@_, marker => $result->marker);
131 }
132 0 $callback->($_ => 'pipelineObjects') foreach (@{ $result->pipelineObjects });
133 }
134  
135 return undef
136 0 }
137 0 ▶ sub ListAllPipelines {
Subroutine ListAllPipelines: not called CC=7 SCAR=40.3
Pod documented
138 0 my $self = shift;
139  
140 0 ▶ my $callback = shift @_ if (ref($_[0]) eq 'CODE');
Branch: 1 branch
BranchTrueFalseTotal
if ref $_[0] eq "CODE" 0 0 0
141 0 my $result = $self->ListPipelines(@_);
142 0 my $next_result = $result;
143  
144 0 ▶ if (not defined $callback) {
Branch: 1 branch
BranchTrueFalseTotal
if (not defined $callback) { } 0 0 0
145 0 ▶ while ($next_result->hasMoreResults) {
Branch: 1 branch
BranchTrueFalseTotal
if ($next_result->hasMoreResults) 0 0 0
146 0 $next_result = $self->ListPipelines(@_, marker => $next_result->marker);
147 0 push @{ $result->pipelineIdList }, @{ $next_result->pipelineIdList };
148 }
149 0 return $result;
150 } else {
151 0 ▶ while ($result->hasMoreResults) {
Branch: 1 branch
BranchTrueFalseTotal
if ($result->hasMoreResults) 0 0 0
152 0 $callback->($_ => 'pipelineIdList') foreach (@{ $result->pipelineIdList });
153 0 $result = $self->ListPipelines(@_, marker => $result->marker);
154 }
155 0 $callback->($_ => 'pipelineIdList') foreach (@{ $result->pipelineIdList });
156 }
157  
158 return undef
159 0 }
160 0 ▶ sub QueryAllObjects {
Subroutine QueryAllObjects: not called CC=7 SCAR=40.3
Pod documented
161 0 my $self = shift;
162  
163 0 ▶ my $callback = shift @_ if (ref($_[0]) eq 'CODE');
Branch: 1 branch
BranchTrueFalseTotal
if ref $_[0] eq "CODE" 0 0 0
164 0 my $result = $self->QueryObjects(@_);
165 0 my $next_result = $result;
166  
167 0 ▶ if (not defined $callback) {
Branch: 1 branch
BranchTrueFalseTotal
if (not defined $callback) { } 0 0 0
168 0 ▶ while ($next_result->hasMoreResults) {
Branch: 1 branch
BranchTrueFalseTotal
if ($next_result->hasMoreResults) 0 0 0
169 0 $next_result = $self->QueryObjects(@_, marker => $next_result->marker);
170 0 push @{ $result->ids }, @{ $next_result->ids };
171 }
172 0 return $result;
173 } else {
174 0 ▶ while ($result->hasMoreResults) {
Branch: 1 branch
BranchTrueFalseTotal
if ($result->hasMoreResults) 0 0 0
175 0 $callback->($_ => 'ids') foreach (@{ $result->ids });
176 0 $result = $self->QueryObjects(@_, marker => $result->marker);
177 }
178 0 $callback->($_ => 'ids') foreach (@{ $result->ids });
179 }
180  
181 return undef
182 0 }
183  
184  
185 0 ▶ sub operations { qw/ActivatePipeline AddTags CreatePipeline DeactivatePipeline DeletePipeline DescribeObjects DescribePipelines EvaluateExpression GetPipelineDefinition ListPipelines PollForTask PutPipelineDefinition QueryObjects RemoveTags ReportTaskProgress ReportTaskRunnerHeartbeat SetStatus SetTaskStatus ValidatePipelineDefinition / }
Subroutine operations: not called CC=1 SCAR=6.9
Pod undocumented
186  
187 1 1;
188  
189 ### main pod documentation begin ###
190  
191 =head1 NAME
192  
193 Paws::DataPipeline - Perl Interface to AWS AWS Data Pipeline
194  
195 =head1 SYNOPSIS
196  
197 use Paws;
198  
199 my $obj = Paws->service('DataPipeline');
200 my $res = $obj->Method(
201 Arg1 => $val1,
202 Arg2 => [ 'V1', 'V2' ],
203 # if Arg3 is an object, the HashRef will be used as arguments to the constructor
204 # of the arguments type
205 Arg3 => { Att1 => 'Val1' },
206 # if Arg4 is an array of objects, the HashRefs will be passed as arguments to
207 # the constructor of the arguments type
208 Arg4 => [ { Att1 => 'Val1' }, { Att1 => 'Val2' } ],
209 );
210  
211 =head1 DESCRIPTION
212  
213 AWS Data Pipeline configures and manages a data-driven workflow called
214 a pipeline. AWS Data Pipeline handles the details of scheduling and
215 ensuring that data dependencies are met so that your application can
216 focus on processing the data.
217  
218 AWS Data Pipeline provides a JAR implementation of a task runner called
219 AWS Data Pipeline Task Runner. AWS Data Pipeline Task Runner provides
220 logic for common data management scenarios, such as performing database
221 queries and running data analysis using Amazon Elastic MapReduce
222 (Amazon EMR). You can use AWS Data Pipeline Task Runner as your task
223 runner, or you can write your own task runner to provide custom data
224 management.
225  
226 AWS Data Pipeline implements two main sets of functionality. Use the
227 first set to create a pipeline and define data sources, schedules,
228 dependencies, and the transforms to be performed on the data. Use the
229 second set in your task runner application to receive the next task
230 ready for processing. The logic for performing the task, such as
231 querying the data, running data analysis, or converting the data from
232 one format to another, is contained within the task runner. The task
233 runner performs the task assigned to it by the web service, reporting
234 progress to the web service as it does so. When the task is done, the
235 task runner reports the final success or failure of the task to the web
236 service.
237  
238 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29>
239  
240  
241 =head1 METHODS
242  
243 =head2 ActivatePipeline
244  
245 =over
246  
247 =item PipelineId => Str
248  
249 =item [ParameterValues => ArrayRef[L<Paws::DataPipeline::ParameterValue>]]
250  
251 =item [StartTimestamp => Str]
252  
253  
254 =back
255  
256 Each argument is described in detail in: L<Paws::DataPipeline::ActivatePipeline>
257  
258 Returns: a L<Paws::DataPipeline::ActivatePipelineOutput> instance
259  
260 Validates the specified pipeline and starts processing pipeline tasks.
261 If the pipeline does not pass validation, activation fails.
262  
263 If you need to pause the pipeline to investigate an issue with a
264 component, such as a data source or script, call DeactivatePipeline.
265  
266 To activate a finished pipeline, modify the end date for the pipeline
267 and then activate it.
268  
269  
270 =head2 AddTags
271  
272 =over
273  
274 =item PipelineId => Str
275  
276 =item Tags => ArrayRef[L<Paws::DataPipeline::Tag>]
277  
278  
279 =back
280  
281 Each argument is described in detail in: L<Paws::DataPipeline::AddTags>
282  
283 Returns: a L<Paws::DataPipeline::AddTagsOutput> instance
284  
285 Adds or modifies tags for the specified pipeline.
286  
287  
288 =head2 CreatePipeline
289  
290 =over
291  
292 =item Name => Str
293  
294 =item UniqueId => Str
295  
296 =item [Description => Str]
297  
298 =item [Tags => ArrayRef[L<Paws::DataPipeline::Tag>]]
299  
300  
301 =back
302  
303 Each argument is described in detail in: L<Paws::DataPipeline::CreatePipeline>
304  
305 Returns: a L<Paws::DataPipeline::CreatePipelineOutput> instance
306  
307 Creates a new, empty pipeline. Use PutPipelineDefinition to populate
308 the pipeline.
309  
310  
311 =head2 DeactivatePipeline
312  
313 =over
314  
315 =item PipelineId => Str
316  
317 =item [CancelActive => Bool]
318  
319  
320 =back
321  
322 Each argument is described in detail in: L<Paws::DataPipeline::DeactivatePipeline>
323  
324 Returns: a L<Paws::DataPipeline::DeactivatePipelineOutput> instance
325  
326 Deactivates the specified running pipeline. The pipeline is set to the
327 C<DEACTIVATING> state until the deactivation process completes.
328  
329 To resume a deactivated pipeline, use ActivatePipeline. By default, the
330 pipeline resumes from the last completed execution. Optionally, you can
331 specify the date and time to resume the pipeline.
332  
333  
334 =head2 DeletePipeline
335  
336 =over
337  
338 =item PipelineId => Str
339  
340  
341 =back
342  
343 Each argument is described in detail in: L<Paws::DataPipeline::DeletePipeline>
344  
345 Returns: nothing
346  
347 Deletes a pipeline, its pipeline definition, and its run history. AWS
348 Data Pipeline attempts to cancel instances associated with the pipeline
349 that are currently being processed by task runners.
350  
351 Deleting a pipeline cannot be undone. You cannot query or restore a
352 deleted pipeline. To temporarily pause a pipeline instead of deleting
353 it, call SetStatus with the status set to C<PAUSE> on individual
354 components. Components that are paused by SetStatus can be resumed.
355  
356  
357 =head2 DescribeObjects
358  
359 =over
360  
361 =item ObjectIds => ArrayRef[Str|Undef]
362  
363 =item PipelineId => Str
364  
365 =item [EvaluateExpressions => Bool]
366  
367 =item [Marker => Str]
368  
369  
370 =back
371  
372 Each argument is described in detail in: L<Paws::DataPipeline::DescribeObjects>
373  
374 Returns: a L<Paws::DataPipeline::DescribeObjectsOutput> instance
375  
376 Gets the object definitions for a set of objects associated with the
377 pipeline. Object definitions are composed of a set of fields that
378 define the properties of the object.
379  
380  
381 =head2 DescribePipelines
382  
383 =over
384  
385 =item PipelineIds => ArrayRef[Str|Undef]
386  
387  
388 =back
389  
390 Each argument is described in detail in: L<Paws::DataPipeline::DescribePipelines>
391  
392 Returns: a L<Paws::DataPipeline::DescribePipelinesOutput> instance
393  
394 Retrieves metadata about one or more pipelines. The information
395 retrieved includes the name of the pipeline, the pipeline identifier,
396 its current state, and the user account that owns the pipeline. Using
397 account credentials, you can retrieve metadata about pipelines that you
398 or your IAM users have created. If you are using an IAM user account,
399 you can retrieve metadata about only those pipelines for which you have
400 read permissions.
401  
402 To retrieve the full pipeline definition instead of metadata about the
403 pipeline, call GetPipelineDefinition.
404  
405  
406 =head2 EvaluateExpression
407  
408 =over
409  
410 =item Expression => Str
411  
412 =item ObjectId => Str
413  
414 =item PipelineId => Str
415  
416  
417 =back
418  
419 Each argument is described in detail in: L<Paws::DataPipeline::EvaluateExpression>
420  
421 Returns: a L<Paws::DataPipeline::EvaluateExpressionOutput> instance
422  
423 Task runners call C<EvaluateExpression> to evaluate a string in the
424 context of the specified object. For example, a task runner can
425 evaluate SQL queries stored in Amazon S3.
426  
427  
428 =head2 GetPipelineDefinition
429  
430 =over
431  
432 =item PipelineId => Str
433  
434 =item [Version => Str]
435  
436  
437 =back
438  
439 Each argument is described in detail in: L<Paws::DataPipeline::GetPipelineDefinition>
440  
441 Returns: a L<Paws::DataPipeline::GetPipelineDefinitionOutput> instance
442  
443 Gets the definition of the specified pipeline. You can call
444 C<GetPipelineDefinition> to retrieve the pipeline definition that you
445 provided using PutPipelineDefinition.
446  
447  
448 =head2 ListPipelines
449  
450 =over
451  
452 =item [Marker => Str]
453  
454  
455 =back
456  
457 Each argument is described in detail in: L<Paws::DataPipeline::ListPipelines>
458  
459 Returns: a L<Paws::DataPipeline::ListPipelinesOutput> instance
460  
461 Lists the pipeline identifiers for all active pipelines that you have
462 permission to access.
463  
464  
465 =head2 PollForTask
466  
467 =over
468  
469 =item WorkerGroup => Str
470  
471 =item [Hostname => Str]
472  
473 =item [InstanceIdentity => L<Paws::DataPipeline::InstanceIdentity>]
474  
475  
476 =back
477  
478 Each argument is described in detail in: L<Paws::DataPipeline::PollForTask>
479  
480 Returns: a L<Paws::DataPipeline::PollForTaskOutput> instance
481  
482 Task runners call C<PollForTask> to receive a task to perform from AWS
483 Data Pipeline. The task runner specifies which tasks it can perform by
484 setting a value for the C<workerGroup> parameter. The task returned can
485 come from any of the pipelines that match the C<workerGroup> value
486 passed in by the task runner and that was launched using the IAM user
487 credentials specified by the task runner.
488  
489 If tasks are ready in the work queue, C<PollForTask> returns a response
490 immediately. If no tasks are available in the queue, C<PollForTask>
491 uses long-polling and holds on to a poll connection for up to a 90
492 seconds, during which time the first newly scheduled task is handed to
493 the task runner. To accomodate this, set the socket timeout in your
494 task runner to 90 seconds. The task runner should not call
495 C<PollForTask> again on the same C<workerGroup> until it receives a
496 response, and this can take up to 90 seconds.
497  
498  
499 =head2 PutPipelineDefinition
500  
501 =over
502  
503 =item PipelineId => Str
504  
505 =item PipelineObjects => ArrayRef[L<Paws::DataPipeline::PipelineObject>]
506  
507 =item [ParameterObjects => ArrayRef[L<Paws::DataPipeline::ParameterObject>]]
508  
509 =item [ParameterValues => ArrayRef[L<Paws::DataPipeline::ParameterValue>]]
510  
511  
512 =back
513  
514 Each argument is described in detail in: L<Paws::DataPipeline::PutPipelineDefinition>
515  
516 Returns: a L<Paws::DataPipeline::PutPipelineDefinitionOutput> instance
517  
518 Adds tasks, schedules, and preconditions to the specified pipeline. You
519 can use C<PutPipelineDefinition> to populate a new pipeline.
520  
521 C<PutPipelineDefinition> also validates the configuration as it adds it
522 to the pipeline. Changes to the pipeline are saved unless one of the
523 following three validation errors exists in the pipeline.
524  
525 =over
526  
527 =item 1. An object is missing a name or identifier field.
528  
529 =item 2. A string or reference field is empty.
530  
531 =item 3. The number of objects in the pipeline exceeds the maximum
532 allowed objects.
533  
534 =item 4. The pipeline is in a FINISHED state.
535  
536 =back
537  
538 Pipeline object definitions are passed to the C<PutPipelineDefinition>
539 action and returned by the GetPipelineDefinition action.
540  
541  
542 =head2 QueryObjects
543  
544 =over
545  
546 =item PipelineId => Str
547  
548 =item Sphere => Str
549  
550 =item [Limit => Int]
551  
552 =item [Marker => Str]
553  
554 =item [Query => L<Paws::DataPipeline::Query>]
555  
556  
557 =back
558  
559 Each argument is described in detail in: L<Paws::DataPipeline::QueryObjects>
560  
561 Returns: a L<Paws::DataPipeline::QueryObjectsOutput> instance
562  
563 Queries the specified pipeline for the names of objects that match the
564 specified set of conditions.
565  
566  
567 =head2 RemoveTags
568  
569 =over
570  
571 =item PipelineId => Str
572  
573 =item TagKeys => ArrayRef[Str|Undef]
574  
575  
576 =back
577  
578 Each argument is described in detail in: L<Paws::DataPipeline::RemoveTags>
579  
580 Returns: a L<Paws::DataPipeline::RemoveTagsOutput> instance
581  
582 Removes existing tags from the specified pipeline.
583  
584  
585 =head2 ReportTaskProgress
586  
587 =over
588  
589 =item TaskId => Str
590  
591 =item [Fields => ArrayRef[L<Paws::DataPipeline::Field>]]
592  
593  
594 =back
595  
596 Each argument is described in detail in: L<Paws::DataPipeline::ReportTaskProgress>
597  
598 Returns: a L<Paws::DataPipeline::ReportTaskProgressOutput> instance
599  
600 Task runners call C<ReportTaskProgress> when assigned a task to
601 acknowledge that it has the task. If the web service does not receive
602 this acknowledgement within 2 minutes, it assigns the task in a
603 subsequent PollForTask call. After this initial acknowledgement, the
604 task runner only needs to report progress every 15 minutes to maintain
605 its ownership of the task. You can change this reporting time from 15
606 minutes by specifying a C<reportProgressTimeout> field in your
607 pipeline.
608  
609 If a task runner does not report its status after 5 minutes, AWS Data
610 Pipeline assumes that the task runner is unable to process the task and
611 reassigns the task in a subsequent response to PollForTask. Task
612 runners should call C<ReportTaskProgress> every 60 seconds.
613  
614  
615 =head2 ReportTaskRunnerHeartbeat
616  
617 =over
618  
619 =item TaskrunnerId => Str
620  
621 =item [Hostname => Str]
622  
623 =item [WorkerGroup => Str]
624  
625  
626 =back
627  
628 Each argument is described in detail in: L<Paws::DataPipeline::ReportTaskRunnerHeartbeat>
629  
630 Returns: a L<Paws::DataPipeline::ReportTaskRunnerHeartbeatOutput> instance
631  
632 Task runners call C<ReportTaskRunnerHeartbeat> every 15 minutes to
633 indicate that they are operational. If the AWS Data Pipeline Task
634 Runner is launched on a resource managed by AWS Data Pipeline, the web
635 service can use this call to detect when the task runner application
636 has failed and restart a new instance.
637  
638  
639 =head2 SetStatus
640  
641 =over
642  
643 =item ObjectIds => ArrayRef[Str|Undef]
644  
645 =item PipelineId => Str
646  
647 =item Status => Str
648  
649  
650 =back
651  
652 Each argument is described in detail in: L<Paws::DataPipeline::SetStatus>
653  
654 Returns: nothing
655  
656 Requests that the status of the specified physical or logical pipeline
657 objects be updated in the specified pipeline. This update might not
658 occur immediately, but is eventually consistent. The status that can be
659 set depends on the type of object (for example, DataNode or Activity).
660 You cannot perform this operation on C<FINISHED> pipelines and
661 attempting to do so returns C<InvalidRequestException>.
662  
663  
664 =head2 SetTaskStatus
665  
666 =over
667  
668 =item TaskId => Str
669  
670 =item TaskStatus => Str
671  
672 =item [ErrorId => Str]
673  
674 =item [ErrorMessage => Str]
675  
676 =item [ErrorStackTrace => Str]
677  
678  
679 =back
680  
681 Each argument is described in detail in: L<Paws::DataPipeline::SetTaskStatus>
682  
683 Returns: a L<Paws::DataPipeline::SetTaskStatusOutput> instance
684  
685 Task runners call C<SetTaskStatus> to notify AWS Data Pipeline that a
686 task is completed and provide information about the final status. A
687 task runner makes this call regardless of whether the task was
688 sucessful. A task runner does not need to call C<SetTaskStatus> for
689 tasks that are canceled by the web service during a call to
690 ReportTaskProgress.
691  
692  
693 =head2 ValidatePipelineDefinition
694  
695 =over
696  
697 =item PipelineId => Str
698  
699 =item PipelineObjects => ArrayRef[L<Paws::DataPipeline::PipelineObject>]
700  
701 =item [ParameterObjects => ArrayRef[L<Paws::DataPipeline::ParameterObject>]]
702  
703 =item [ParameterValues => ArrayRef[L<Paws::DataPipeline::ParameterValue>]]
704  
705  
706 =back
707  
708 Each argument is described in detail in: L<Paws::DataPipeline::ValidatePipelineDefinition>
709  
710 Returns: a L<Paws::DataPipeline::ValidatePipelineDefinitionOutput> instance
711  
712 Validates the specified pipeline definition to ensure that it is well
713 formed and can be run without error.
714  
715  
716  
717  
718 =head1 PAGINATORS
719  
720 Paginator methods are helpers that repetively call methods that return partial results
721  
722 =head2 DescribeAllObjects(sub { },ObjectIds => ArrayRef[Str|Undef], PipelineId => Str, [EvaluateExpressions => Bool, Marker => Str])
723  
724 =head2 DescribeAllObjects(ObjectIds => ArrayRef[Str|Undef], PipelineId => Str, [EvaluateExpressions => Bool, Marker => Str])
725  
726  
727 If passed a sub as first parameter, it will call the sub for each element found in :
728  
729 - pipelineObjects, passing the object as the first parameter, and the string 'pipelineObjects' as the second parameter
730  
731 If not, it will return a a L<Paws::DataPipeline::DescribeObjectsOutput> 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.
732  
733  
734 =head2 ListAllPipelines(sub { },[Marker => Str])
735  
736 =head2 ListAllPipelines([Marker => Str])
737  
738  
739 If passed a sub as first parameter, it will call the sub for each element found in :
740  
741 - pipelineIdList, passing the object as the first parameter, and the string 'pipelineIdList' as the second parameter
742  
743 If not, it will return a a L<Paws::DataPipeline::ListPipelinesOutput> 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.
744  
745  
746 =head2 QueryAllObjects(sub { },PipelineId => Str, Sphere => Str, [Limit => Int, Marker => Str, Query => L<Paws::DataPipeline::Query>])
747  
748 =head2 QueryAllObjects(PipelineId => Str, Sphere => Str, [Limit => Int, Marker => Str, Query => L<Paws::DataPipeline::Query>])
749  
750  
751 If passed a sub as first parameter, it will call the sub for each element found in :
752  
753 - ids, passing the object as the first parameter, and the string 'ids' as the second parameter
754  
755 If not, it will return a a L<Paws::DataPipeline::QueryObjectsOutput> 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.
756  
757  
758  
759  
760  
761 =head1 SEE ALSO
762  
763 This service class forms part of L<Paws>
764  
765 =head1 BUGS and CONTRIBUTIONS
766  
767 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
768  
769 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
770  
771 =cut
772  
« blib/lib/Paws/MachineLearning.pm ↑ Summary blib/lib/Paws/ES.pm »