File Coverage

blib/lib/Paws/SimpleWorkflow/WorkflowExecutionStartedEventAttributes.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::WorkflowExecutionStartedEventAttributes;
2 1     1   525 use Moose;
  1         3  
  1         10  
3             has ChildPolicy => (is => 'ro', isa => 'Str', request_name => 'childPolicy', traits => ['NameInRequest'], required => 1);
4             has ContinuedExecutionRunId => (is => 'ro', isa => 'Str', request_name => 'continuedExecutionRunId', traits => ['NameInRequest']);
5             has ExecutionStartToCloseTimeout => (is => 'ro', isa => 'Str', request_name => 'executionStartToCloseTimeout', traits => ['NameInRequest']);
6             has Input => (is => 'ro', isa => 'Str', request_name => 'input', traits => ['NameInRequest']);
7             has LambdaRole => (is => 'ro', isa => 'Str', request_name => 'lambdaRole', traits => ['NameInRequest']);
8             has ParentInitiatedEventId => (is => 'ro', isa => 'Int', request_name => 'parentInitiatedEventId', traits => ['NameInRequest']);
9             has ParentWorkflowExecution => (is => 'ro', isa => 'Paws::SimpleWorkflow::WorkflowExecution', request_name => 'parentWorkflowExecution', traits => ['NameInRequest']);
10             has TagList => (is => 'ro', isa => 'ArrayRef[Str|Undef]', request_name => 'tagList', traits => ['NameInRequest']);
11             has TaskList => (is => 'ro', isa => 'Paws::SimpleWorkflow::TaskList', request_name => 'taskList', traits => ['NameInRequest'], required => 1);
12             has TaskPriority => (is => 'ro', isa => 'Str', request_name => 'taskPriority', traits => ['NameInRequest']);
13             has TaskStartToCloseTimeout => (is => 'ro', isa => 'Str', request_name => 'taskStartToCloseTimeout', traits => ['NameInRequest']);
14             has WorkflowType => (is => 'ro', isa => 'Paws::SimpleWorkflow::WorkflowType', request_name => 'workflowType', traits => ['NameInRequest'], required => 1);
15             1;
16              
17             ### main pod documentation begin ###
18              
19             =head1 NAME
20              
21             Paws::SimpleWorkflow::WorkflowExecutionStartedEventAttributes
22              
23             =head1 USAGE
24              
25             This class represents one of two things:
26              
27             =head3 Arguments in a call to a service
28              
29             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
30             Each attribute should be used as a named argument in the calls that expect this type of object.
31              
32             As an example, if Att1 is expected to be a Paws::SimpleWorkflow::WorkflowExecutionStartedEventAttributes object:
33              
34             $service_obj->Method(Att1 => { ChildPolicy => $value, ..., WorkflowType => $value });
35              
36             =head3 Results returned from an API call
37              
38             Use accessors for each attribute. If Att1 is expected to be an Paws::SimpleWorkflow::WorkflowExecutionStartedEventAttributes object:
39              
40             $result = $service_obj->Method(...);
41             $result->Att1->ChildPolicy
42              
43             =head1 DESCRIPTION
44              
45             Provides details of C<WorkflowExecutionStarted> event.
46              
47             =head1 ATTRIBUTES
48              
49              
50             =head2 B<REQUIRED> ChildPolicy => Str
51              
52             The policy to use for the child workflow executions if this workflow
53             execution is terminated, by calling the TerminateWorkflowExecution
54             action explicitly or due to an expired timeout.
55              
56             The supported child policies are:
57              
58             =over
59              
60             =item *
61              
62             C<TERMINATE> E<ndash> The child executions are terminated.
63              
64             =item *
65              
66             C<REQUEST_CANCEL> E<ndash> A request to cancel is attempted for each
67             child execution by recording a C<WorkflowExecutionCancelRequested>
68             event in its history. It is up to the decider to take appropriate
69             actions when it receives an execution history with this event.
70              
71             =item *
72              
73             C<ABANDON> E<ndash> No action is taken. The child executions continue
74             to run.
75              
76             =back
77              
78              
79              
80             =head2 ContinuedExecutionRunId => Str
81              
82             If this workflow execution was started due to a
83             C<ContinueAsNewWorkflowExecution> decision, then it contains the
84             C<runId> of the previous workflow execution that was closed and
85             continued as this execution.
86              
87              
88             =head2 ExecutionStartToCloseTimeout => Str
89              
90             The maximum duration for this workflow execution.
91              
92             The duration is specified in seconds, an integer greater than or equal
93             to C<0>. You can use C<NONE> to specify unlimited duration.
94              
95              
96             =head2 Input => Str
97              
98             The input provided to the workflow execution.
99              
100              
101             =head2 LambdaRole => Str
102              
103             The IAM role attached to the workflow execution.
104              
105              
106             =head2 ParentInitiatedEventId => Int
107              
108             The ID of the C<StartChildWorkflowExecutionInitiated> event
109             corresponding to the C<StartChildWorkflowExecution> Decision to start
110             this workflow execution. The source event with this ID can be found in
111             the history of the source workflow execution. This information can be
112             useful for diagnosing problems by tracing back the chain of events
113             leading up to this event.
114              
115              
116             =head2 ParentWorkflowExecution => L<Paws::SimpleWorkflow::WorkflowExecution>
117              
118             The source workflow execution that started this workflow execution. The
119             member isn't set if the workflow execution was not started by a
120             workflow.
121              
122              
123             =head2 TagList => ArrayRef[Str|Undef]
124              
125             The list of tags associated with this workflow execution. An execution
126             can have up to 5 tags.
127              
128              
129             =head2 B<REQUIRED> TaskList => L<Paws::SimpleWorkflow::TaskList>
130              
131             The name of the task list for scheduling the decision tasks for this
132             workflow execution.
133              
134              
135             =head2 TaskPriority => Str
136              
137             The priority of the decision tasks in the workflow execution.
138              
139              
140             =head2 TaskStartToCloseTimeout => Str
141              
142             The maximum duration of decision tasks for this workflow type.
143              
144             The duration is specified in seconds, an integer greater than or equal
145             to C<0>. You can use C<NONE> to specify unlimited duration.
146              
147              
148             =head2 B<REQUIRED> WorkflowType => L<Paws::SimpleWorkflow::WorkflowType>
149              
150             The workflow type of this execution.
151              
152              
153              
154             =head1 SEE ALSO
155              
156             This class forms part of L<Paws>, describing an object used in L<Paws::SimpleWorkflow>
157              
158             =head1 BUGS and CONTRIBUTIONS
159              
160             The source code is located here: https://github.com/pplu/aws-sdk-perl
161              
162             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
163              
164             =cut
165