line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Paws::SimpleWorkflow::ContinueAsNewWorkflowExecutionDecisionAttributes; |
2
|
1
|
|
|
1
|
|
703
|
use Moose; |
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
8
|
|
3
|
|
|
|
|
|
|
has ChildPolicy => (is => 'ro', isa => 'Str', request_name => 'childPolicy', traits => ['NameInRequest']); |
4
|
|
|
|
|
|
|
has ExecutionStartToCloseTimeout => (is => 'ro', isa => 'Str', request_name => 'executionStartToCloseTimeout', traits => ['NameInRequest']); |
5
|
|
|
|
|
|
|
has Input => (is => 'ro', isa => 'Str', request_name => 'input', traits => ['NameInRequest']); |
6
|
|
|
|
|
|
|
has LambdaRole => (is => 'ro', isa => 'Str', request_name => 'lambdaRole', traits => ['NameInRequest']); |
7
|
|
|
|
|
|
|
has TagList => (is => 'ro', isa => 'ArrayRef[Str|Undef]', request_name => 'tagList', traits => ['NameInRequest']); |
8
|
|
|
|
|
|
|
has TaskList => (is => 'ro', isa => 'Paws::SimpleWorkflow::TaskList', request_name => 'taskList', traits => ['NameInRequest']); |
9
|
|
|
|
|
|
|
has TaskPriority => (is => 'ro', isa => 'Str', request_name => 'taskPriority', traits => ['NameInRequest']); |
10
|
|
|
|
|
|
|
has TaskStartToCloseTimeout => (is => 'ro', isa => 'Str', request_name => 'taskStartToCloseTimeout', traits => ['NameInRequest']); |
11
|
|
|
|
|
|
|
has WorkflowTypeVersion => (is => 'ro', isa => 'Str', request_name => 'workflowTypeVersion', traits => ['NameInRequest']); |
12
|
|
|
|
|
|
|
1; |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
### main pod documentation begin ### |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
=head1 NAME |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
Paws::SimpleWorkflow::ContinueAsNewWorkflowExecutionDecisionAttributes |
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::ContinueAsNewWorkflowExecutionDecisionAttributes object: |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
$service_obj->Method(Att1 => { ChildPolicy => $value, ..., WorkflowTypeVersion => $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::ContinueAsNewWorkflowExecutionDecisionAttributes object: |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
$result = $service_obj->Method(...); |
38
|
|
|
|
|
|
|
$result->Att1->ChildPolicy |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
=head1 DESCRIPTION |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
Provides details of the C<ContinueAsNewWorkflowExecution> decision. |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
B<Access Control> |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
You can use IAM policies to control this decision's access to Amazon |
47
|
|
|
|
|
|
|
SWF resources as follows: |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
=over |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
=item * Use a C<Resource> element with the domain name to limit the |
52
|
|
|
|
|
|
|
action to only specified domains. |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
=item * Use an C<Action> element to allow or deny permission to call |
55
|
|
|
|
|
|
|
this action. |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
=item * Constrain the following parameters by using a C<Condition> |
58
|
|
|
|
|
|
|
element with the appropriate keys. |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
=over |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
=item * C<tag>: I<Optional.>. A tag used to identify the workflow |
63
|
|
|
|
|
|
|
execution |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
=item * C<taskList>: String constraint. The key is |
66
|
|
|
|
|
|
|
C<swf:taskList.name>. |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
=item * C<workflowType.version>: String constraint. The key is |
69
|
|
|
|
|
|
|
C<swf:workflowType.version>. |
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
=back |
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
=back |
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
If the caller does not have sufficient permissions to invoke the |
76
|
|
|
|
|
|
|
action, or the parameter values fall outside the specified constraints, |
77
|
|
|
|
|
|
|
the action fails. The associated event attribute's B<cause> parameter |
78
|
|
|
|
|
|
|
will be set to OPERATION_NOT_PERMITTED. For details and example IAM |
79
|
|
|
|
|
|
|
policies, see Using IAM to Manage Access to Amazon SWF Workflows. |
80
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
=head1 ATTRIBUTES |
82
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
|
84
|
|
|
|
|
|
|
=head2 ChildPolicy => Str |
85
|
|
|
|
|
|
|
|
86
|
|
|
|
|
|
|
If set, specifies the policy to use for the child workflow executions |
87
|
|
|
|
|
|
|
of the new execution if it is terminated by calling the |
88
|
|
|
|
|
|
|
TerminateWorkflowExecution action explicitly or due to an expired |
89
|
|
|
|
|
|
|
timeout. This policy overrides the default child policy specified when |
90
|
|
|
|
|
|
|
registering the workflow type using RegisterWorkflowType. |
91
|
|
|
|
|
|
|
|
92
|
|
|
|
|
|
|
The supported child policies are: |
93
|
|
|
|
|
|
|
|
94
|
|
|
|
|
|
|
=over |
95
|
|
|
|
|
|
|
|
96
|
|
|
|
|
|
|
=item * B<TERMINATE:> the child executions will be terminated. |
97
|
|
|
|
|
|
|
|
98
|
|
|
|
|
|
|
=item * B<REQUEST_CANCEL:> a request to cancel will be attempted for |
99
|
|
|
|
|
|
|
each child execution by recording a C<WorkflowExecutionCancelRequested> |
100
|
|
|
|
|
|
|
event in its history. It is up to the decider to take appropriate |
101
|
|
|
|
|
|
|
actions when it receives an execution history with this event. |
102
|
|
|
|
|
|
|
|
103
|
|
|
|
|
|
|
=item * B<ABANDON:> no action will be taken. The child executions will |
104
|
|
|
|
|
|
|
continue to run. |
105
|
|
|
|
|
|
|
|
106
|
|
|
|
|
|
|
=back |
107
|
|
|
|
|
|
|
|
108
|
|
|
|
|
|
|
A child policy for this workflow execution must be specified either as |
109
|
|
|
|
|
|
|
a default for the workflow type or through this parameter. If neither |
110
|
|
|
|
|
|
|
this parameter is set nor a default child policy was specified at |
111
|
|
|
|
|
|
|
registration time then a fault will be returned. |
112
|
|
|
|
|
|
|
|
113
|
|
|
|
|
|
|
|
114
|
|
|
|
|
|
|
=head2 ExecutionStartToCloseTimeout => Str |
115
|
|
|
|
|
|
|
|
116
|
|
|
|
|
|
|
If set, specifies the total duration for this workflow execution. This |
117
|
|
|
|
|
|
|
overrides the C<defaultExecutionStartToCloseTimeout> specified when |
118
|
|
|
|
|
|
|
registering the workflow type. |
119
|
|
|
|
|
|
|
|
120
|
|
|
|
|
|
|
The duration is specified in seconds; an integer greater than or equal |
121
|
|
|
|
|
|
|
to 0. The value "NONE" can be used to specify unlimited duration. |
122
|
|
|
|
|
|
|
|
123
|
|
|
|
|
|
|
An execution start-to-close timeout for this workflow execution must be |
124
|
|
|
|
|
|
|
specified either as a default for the workflow type or through this |
125
|
|
|
|
|
|
|
field. If neither this field is set nor a default execution |
126
|
|
|
|
|
|
|
start-to-close timeout was specified at registration time then a fault |
127
|
|
|
|
|
|
|
will be returned. |
128
|
|
|
|
|
|
|
|
129
|
|
|
|
|
|
|
|
130
|
|
|
|
|
|
|
=head2 Input => Str |
131
|
|
|
|
|
|
|
|
132
|
|
|
|
|
|
|
The input provided to the new workflow execution. |
133
|
|
|
|
|
|
|
|
134
|
|
|
|
|
|
|
|
135
|
|
|
|
|
|
|
=head2 LambdaRole => Str |
136
|
|
|
|
|
|
|
|
137
|
|
|
|
|
|
|
The ARN of an IAM role that authorizes Amazon SWF to invoke AWS Lambda |
138
|
|
|
|
|
|
|
functions. |
139
|
|
|
|
|
|
|
|
140
|
|
|
|
|
|
|
In order for this workflow execution to invoke AWS Lambda functions, an |
141
|
|
|
|
|
|
|
appropriate IAM role must be specified either as a default for the |
142
|
|
|
|
|
|
|
workflow type or through this field. |
143
|
|
|
|
|
|
|
|
144
|
|
|
|
|
|
|
|
145
|
|
|
|
|
|
|
=head2 TagList => ArrayRef[Str|Undef] |
146
|
|
|
|
|
|
|
|
147
|
|
|
|
|
|
|
The list of tags to associate with the new workflow execution. A |
148
|
|
|
|
|
|
|
maximum of 5 tags can be specified. You can list workflow executions |
149
|
|
|
|
|
|
|
with a specific tag by calling ListOpenWorkflowExecutions or |
150
|
|
|
|
|
|
|
ListClosedWorkflowExecutions and specifying a TagFilter. |
151
|
|
|
|
|
|
|
|
152
|
|
|
|
|
|
|
|
153
|
|
|
|
|
|
|
=head2 TaskList => L<Paws::SimpleWorkflow::TaskList> |
154
|
|
|
|
|
|
|
|
155
|
|
|
|
|
|
|
|
156
|
|
|
|
|
|
|
|
157
|
|
|
|
|
|
|
|
158
|
|
|
|
|
|
|
=head2 TaskPriority => Str |
159
|
|
|
|
|
|
|
|
160
|
|
|
|
|
|
|
I<Optional.> The task priority that, if set, specifies the priority for |
161
|
|
|
|
|
|
|
the decision tasks for this workflow execution. This overrides the |
162
|
|
|
|
|
|
|
defaultTaskPriority specified when registering the workflow type. Valid |
163
|
|
|
|
|
|
|
values are integers that range from Java's C<Integer.MIN_VALUE> |
164
|
|
|
|
|
|
|
(-2147483648) to C<Integer.MAX_VALUE> (2147483647). Higher numbers |
165
|
|
|
|
|
|
|
indicate higher priority. |
166
|
|
|
|
|
|
|
|
167
|
|
|
|
|
|
|
For more information about setting task priority, see Setting Task |
168
|
|
|
|
|
|
|
Priority in the I<Amazon Simple Workflow Developer Guide>. |
169
|
|
|
|
|
|
|
|
170
|
|
|
|
|
|
|
|
171
|
|
|
|
|
|
|
=head2 TaskStartToCloseTimeout => Str |
172
|
|
|
|
|
|
|
|
173
|
|
|
|
|
|
|
Specifies the maximum duration of decision tasks for the new workflow |
174
|
|
|
|
|
|
|
execution. This parameter overrides the |
175
|
|
|
|
|
|
|
C<defaultTaskStartToCloseTimout> specified when registering the |
176
|
|
|
|
|
|
|
workflow type using RegisterWorkflowType. |
177
|
|
|
|
|
|
|
|
178
|
|
|
|
|
|
|
The duration is specified in seconds; an integer greater than or equal |
179
|
|
|
|
|
|
|
to 0. The value "NONE" can be used to specify unlimited duration. |
180
|
|
|
|
|
|
|
|
181
|
|
|
|
|
|
|
A task start-to-close timeout for the new workflow execution must be |
182
|
|
|
|
|
|
|
specified either as a default for the workflow type or through this |
183
|
|
|
|
|
|
|
parameter. If neither this parameter is set nor a default task |
184
|
|
|
|
|
|
|
start-to-close timeout was specified at registration time then a fault |
185
|
|
|
|
|
|
|
will be returned. |
186
|
|
|
|
|
|
|
|
187
|
|
|
|
|
|
|
|
188
|
|
|
|
|
|
|
=head2 WorkflowTypeVersion => Str |
189
|
|
|
|
|
|
|
|
190
|
|
|
|
|
|
|
|
191
|
|
|
|
|
|
|
|
192
|
|
|
|
|
|
|
|
193
|
|
|
|
|
|
|
|
194
|
|
|
|
|
|
|
=head1 SEE ALSO |
195
|
|
|
|
|
|
|
|
196
|
|
|
|
|
|
|
This class forms part of L<Paws>, describing an object used in L<Paws::SimpleWorkflow> |
197
|
|
|
|
|
|
|
|
198
|
|
|
|
|
|
|
=head1 BUGS and CONTRIBUTIONS |
199
|
|
|
|
|
|
|
|
200
|
|
|
|
|
|
|
The source code is located here: https://github.com/pplu/aws-sdk-perl |
201
|
|
|
|
|
|
|
|
202
|
|
|
|
|
|
|
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues |
203
|
|
|
|
|
|
|
|
204
|
|
|
|
|
|
|
=cut |
205
|
|
|
|
|
|
|
|