File Coverage

blib/lib/Paws/SimpleWorkflow/WorkflowExecutionInfo.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::SimpleWorkflow::WorkflowExecutionInfo;
2 1     1   679 use Moose;
  1         3  
  1         11  
3             has CancelRequested => (is => 'ro', isa => 'Bool', request_name => 'cancelRequested', traits => ['NameInRequest']);
4             has CloseStatus => (is => 'ro', isa => 'Str', request_name => 'closeStatus', traits => ['NameInRequest']);
5             has CloseTimestamp => (is => 'ro', isa => 'Str', request_name => 'closeTimestamp', traits => ['NameInRequest']);
6             has Execution => (is => 'ro', isa => 'Paws::SimpleWorkflow::WorkflowExecution', request_name => 'execution', traits => ['NameInRequest'], required => 1);
7             has ExecutionStatus => (is => 'ro', isa => 'Str', request_name => 'executionStatus', traits => ['NameInRequest'], required => 1);
8             has Parent => (is => 'ro', isa => 'Paws::SimpleWorkflow::WorkflowExecution', request_name => 'parent', traits => ['NameInRequest']);
9             has StartTimestamp => (is => 'ro', isa => 'Str', request_name => 'startTimestamp', traits => ['NameInRequest'], required => 1);
10             has TagList => (is => 'ro', isa => 'ArrayRef[Str|Undef]', request_name => 'tagList', traits => ['NameInRequest']);
11             has WorkflowType => (is => 'ro', isa => 'Paws::SimpleWorkflow::WorkflowType', request_name => 'workflowType', traits => ['NameInRequest'], required => 1);
12             1;
13              
14             ### main pod documentation begin ###
15              
16             =head1 NAME
17              
18             Paws::SimpleWorkflow::WorkflowExecutionInfo
19              
20             =head1 USAGE
21              
22             This class represents one of two things:
23              
24             =head3 Arguments in a call to a service
25              
26             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
27             Each attribute should be used as a named argument in the calls that expect this type of object.
28              
29             As an example, if Att1 is expected to be a Paws::SimpleWorkflow::WorkflowExecutionInfo object:
30              
31             $service_obj->Method(Att1 => { CancelRequested => $value, ..., WorkflowType => $value });
32              
33             =head3 Results returned from an API call
34              
35             Use accessors for each attribute. If Att1 is expected to be an Paws::SimpleWorkflow::WorkflowExecutionInfo object:
36              
37             $result = $service_obj->Method(...);
38             $result->Att1->CancelRequested
39              
40             =head1 DESCRIPTION
41              
42             Contains information about a workflow execution.
43              
44             =head1 ATTRIBUTES
45              
46              
47             =head2 CancelRequested => Bool
48              
49             Set to true if a cancellation is requested for this workflow execution.
50              
51              
52             =head2 CloseStatus => Str
53              
54             If the execution status is closed then this specifies how the execution
55             was closed:
56              
57             =over
58              
59             =item * C<COMPLETED>: the execution was successfully completed.
60              
61             =item * C<CANCELED>: the execution was canceled.Cancellation allows the
62             implementation to gracefully clean up before the execution is closed.
63              
64             =item * C<TERMINATED>: the execution was force terminated.
65              
66             =item * C<FAILED>: the execution failed to complete.
67              
68             =item * C<TIMED_OUT>: the execution did not complete in the alloted
69             time and was automatically timed out.
70              
71             =item * C<CONTINUED_AS_NEW>: the execution is logically continued. This
72             means the current execution was completed and a new execution was
73             started to carry on the workflow.
74              
75             =back
76              
77              
78              
79             =head2 CloseTimestamp => Str
80              
81             The time when the workflow execution was closed. Set only if the
82             execution status is CLOSED.
83              
84              
85             =head2 B<REQUIRED> Execution => L<Paws::SimpleWorkflow::WorkflowExecution>
86              
87             The workflow execution this information is about.
88              
89              
90             =head2 B<REQUIRED> ExecutionStatus => Str
91              
92             The current status of the execution.
93              
94              
95             =head2 Parent => L<Paws::SimpleWorkflow::WorkflowExecution>
96              
97             If this workflow execution is a child of another execution then
98             contains the workflow execution that started this execution.
99              
100              
101             =head2 B<REQUIRED> StartTimestamp => Str
102              
103             The time when the execution was started.
104              
105              
106             =head2 TagList => ArrayRef[Str|Undef]
107              
108             The list of tags associated with the workflow execution. Tags can be
109             used to identify and list workflow executions of interest through the
110             visibility APIs. A workflow execution can have a maximum of 5 tags.
111              
112              
113             =head2 B<REQUIRED> WorkflowType => L<Paws::SimpleWorkflow::WorkflowType>
114              
115             The type of the workflow execution.
116              
117              
118              
119             =head1 SEE ALSO
120              
121             This class forms part of L<Paws>, describing an object used in L<Paws::SimpleWorkflow>
122              
123             =head1 BUGS and CONTRIBUTIONS
124              
125             The source code is located here: https://github.com/pplu/aws-sdk-perl
126              
127             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
128              
129             =cut
130