line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
|
2
|
|
|
|
|
|
|
package Paws::DataPipeline::SetTaskStatus; |
3
|
1
|
|
|
1
|
|
437
|
use Moose; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
6
|
|
4
|
|
|
|
|
|
|
has ErrorId => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'errorId' ); |
5
|
|
|
|
|
|
|
has ErrorMessage => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'errorMessage' ); |
6
|
|
|
|
|
|
|
has ErrorStackTrace => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'errorStackTrace' ); |
7
|
|
|
|
|
|
|
has TaskId => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'taskId' , required => 1); |
8
|
|
|
|
|
|
|
has TaskStatus => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'taskStatus' , required => 1); |
9
|
|
|
|
|
|
|
|
10
|
1
|
|
|
1
|
|
6213
|
use MooseX::ClassAttribute; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
9
|
|
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
class_has _api_call => (isa => 'Str', is => 'ro', default => 'SetTaskStatus'); |
13
|
|
|
|
|
|
|
class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::DataPipeline::SetTaskStatusOutput'); |
14
|
|
|
|
|
|
|
class_has _result_key => (isa => 'Str', is => 'ro'); |
15
|
|
|
|
|
|
|
1; |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
### main pod documentation begin ### |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
=head1 NAME |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
Paws::DataPipeline::SetTaskStatus - Arguments for method SetTaskStatus on Paws::DataPipeline |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
=head1 DESCRIPTION |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
This class represents the parameters used for calling the method SetTaskStatus on the |
26
|
|
|
|
|
|
|
AWS Data Pipeline service. Use the attributes of this class |
27
|
|
|
|
|
|
|
as arguments to method SetTaskStatus. |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to SetTaskStatus. |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
As an example: |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
$service_obj->SetTaskStatus(Att1 => $value1, Att2 => $value2, ...); |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
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. |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
=head1 ATTRIBUTES |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
=head2 ErrorId => Str |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
If an error occurred during the task, this value specifies the error |
43
|
|
|
|
|
|
|
code. This value is set on the physical attempt object. It is used to |
44
|
|
|
|
|
|
|
display error information to the user. It should not start with string |
45
|
|
|
|
|
|
|
"Service_" which is reserved by the system. |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
=head2 ErrorMessage => Str |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
If an error occurred during the task, this value specifies a text |
52
|
|
|
|
|
|
|
description of the error. This value is set on the physical attempt |
53
|
|
|
|
|
|
|
object. It is used to display error information to the user. The web |
54
|
|
|
|
|
|
|
service does not parse this value. |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
=head2 ErrorStackTrace => Str |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
If an error occurred during the task, this value specifies the stack |
61
|
|
|
|
|
|
|
trace associated with the error. This value is set on the physical |
62
|
|
|
|
|
|
|
attempt object. It is used to display error information to the user. |
63
|
|
|
|
|
|
|
The web service does not parse this value. |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
=head2 B<REQUIRED> TaskId => Str |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
The ID of the task assigned to the task runner. This value is provided |
70
|
|
|
|
|
|
|
in the response for PollForTask. |
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
=head2 B<REQUIRED> TaskStatus => Str |
75
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
If C<FINISHED>, the task successfully completed. If C<FAILED>, the task |
77
|
|
|
|
|
|
|
ended unsuccessfully. Preconditions use false. |
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
Valid values are: C<"FINISHED">, C<"FAILED">, C<"FALSE"> |
80
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
=head1 SEE ALSO |
83
|
|
|
|
|
|
|
|
84
|
|
|
|
|
|
|
This class forms part of L<Paws>, documenting arguments for method SetTaskStatus in L<Paws::DataPipeline> |
85
|
|
|
|
|
|
|
|
86
|
|
|
|
|
|
|
=head1 BUGS and CONTRIBUTIONS |
87
|
|
|
|
|
|
|
|
88
|
|
|
|
|
|
|
The source code is located here: https://github.com/pplu/aws-sdk-perl |
89
|
|
|
|
|
|
|
|
90
|
|
|
|
|
|
|
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues |
91
|
|
|
|
|
|
|
|
92
|
|
|
|
|
|
|
=cut |
93
|
|
|
|
|
|
|
|