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   662 use Moose;
  1         5  
  1         11  
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 * B<TERMINATE:> the child executions will be terminated.
61              
62             =item * B<REQUEST_CANCEL:> a request to cancel will be attempted for
63             each child execution by recording a C<WorkflowExecutionCancelRequested>
64             event in its history. It is up to the decider to take appropriate
65             actions when it receives an execution history with this event.
66              
67             =item * B<ABANDON:> no action will be taken. The child executions will
68             continue to run.
69              
70             =back
71              
72              
73              
74             =head2 ContinuedExecutionRunId => Str
75              
76             If this workflow execution was started due to a
77             C<ContinueAsNewWorkflowExecution> decision, then it contains the
78             C<runId> of the previous workflow execution that was closed and
79             continued as this execution.
80              
81              
82             =head2 ExecutionStartToCloseTimeout => Str
83              
84             The maximum duration for this workflow execution.
85              
86             The duration is specified in seconds; an integer greater than or equal
87             to 0. The value "NONE" can be used to specify unlimited duration.
88              
89              
90             =head2 Input => Str
91              
92             The input provided to the workflow execution (if any).
93              
94              
95             =head2 LambdaRole => Str
96              
97             The IAM role attached to this workflow execution to use when invoking
98             AWS Lambda functions.
99              
100              
101             =head2 ParentInitiatedEventId => Int
102              
103             The ID of the C<StartChildWorkflowExecutionInitiated> event
104             corresponding to the C<StartChildWorkflowExecution> decision to start
105             this workflow execution. The source event with this ID can be found in
106             the history of the source workflow execution. This information can be
107             useful for diagnosing problems by tracing back the chain of events
108             leading up to this event.
109              
110              
111             =head2 ParentWorkflowExecution => L<Paws::SimpleWorkflow::WorkflowExecution>
112              
113             The source workflow execution that started this workflow execution. The
114             member is not set if the workflow execution was not started by a
115             workflow.
116              
117              
118             =head2 TagList => ArrayRef[Str|Undef]
119              
120             The list of tags associated with this workflow execution. An execution
121             can have up to 5 tags.
122              
123              
124             =head2 B<REQUIRED> TaskList => L<Paws::SimpleWorkflow::TaskList>
125              
126             The name of the task list for scheduling the decision tasks for this
127             workflow execution.
128              
129              
130             =head2 TaskPriority => Str
131              
132            
133              
134              
135             =head2 TaskStartToCloseTimeout => Str
136              
137             The maximum duration of decision tasks for this workflow type.
138              
139             The duration is specified in seconds; an integer greater than or equal
140             to 0. The value "NONE" can be used to specify unlimited duration.
141              
142              
143             =head2 B<REQUIRED> WorkflowType => L<Paws::SimpleWorkflow::WorkflowType>
144              
145             The workflow type of this execution.
146              
147              
148              
149             =head1 SEE ALSO
150              
151             This class forms part of L<Paws>, describing an object used in L<Paws::SimpleWorkflow>
152              
153             =head1 BUGS and CONTRIBUTIONS
154              
155             The source code is located here: https://github.com/pplu/aws-sdk-perl
156              
157             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
158              
159             =cut
160