File Coverage

blib/lib/Paws/DataPipeline/TaskObject.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::DataPipeline::TaskObject;
2 1     1   420 use Moose;
  1         3  
  1         6  
3             has AttemptId => (is => 'ro', isa => 'Str', request_name => 'attemptId', traits => ['NameInRequest']);
4             has Objects => (is => 'ro', isa => 'Paws::DataPipeline::PipelineObjectMap', request_name => 'objects', traits => ['NameInRequest']);
5             has PipelineId => (is => 'ro', isa => 'Str', request_name => 'pipelineId', traits => ['NameInRequest']);
6             has TaskId => (is => 'ro', isa => 'Str', request_name => 'taskId', traits => ['NameInRequest']);
7             1;
8              
9             ### main pod documentation begin ###
10              
11             =head1 NAME
12              
13             Paws::DataPipeline::TaskObject
14              
15             =head1 USAGE
16              
17             This class represents one of two things:
18              
19             =head3 Arguments in a call to a service
20              
21             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
22             Each attribute should be used as a named argument in the calls that expect this type of object.
23              
24             As an example, if Att1 is expected to be a Paws::DataPipeline::TaskObject object:
25              
26             $service_obj->Method(Att1 => { AttemptId => $value, ..., TaskId => $value });
27              
28             =head3 Results returned from an API call
29              
30             Use accessors for each attribute. If Att1 is expected to be an Paws::DataPipeline::TaskObject object:
31              
32             $result = $service_obj->Method(...);
33             $result->Att1->AttemptId
34              
35             =head1 DESCRIPTION
36              
37             Contains information about a pipeline task that is assigned to a task
38             runner.
39              
40             =head1 ATTRIBUTES
41              
42              
43             =head2 AttemptId => Str
44              
45             The ID of the pipeline task attempt object. AWS Data Pipeline uses this
46             value to track how many times a task is attempted.
47              
48              
49             =head2 Objects => L<Paws::DataPipeline::PipelineObjectMap>
50              
51             Connection information for the location where the task runner will
52             publish the output of the task.
53              
54              
55             =head2 PipelineId => Str
56              
57             The ID of the pipeline that provided the task.
58              
59              
60             =head2 TaskId => Str
61              
62             An internal identifier for the task. This ID is passed to the
63             SetTaskStatus and ReportTaskProgress actions.
64              
65              
66              
67             =head1 SEE ALSO
68              
69             This class forms part of L<Paws>, describing an object used in L<Paws::DataPipeline>
70              
71             =head1 BUGS and CONTRIBUTIONS
72              
73             The source code is located here: https://github.com/pplu/aws-sdk-perl
74              
75             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
76              
77             =cut
78