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