File Coverage

blib/lib/Paws/SimpleWorkflow/StartChildWorkflowExecutionDecisionAttributes.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::StartChildWorkflowExecutionDecisionAttributes;
2 1     1   1026 use Moose;
  1         2  
  1         8  
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 the 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 *
54              
55             Use a C<Resource> element with the domain name to limit the action to
56             only specified domains.
57              
58             =item *
59              
60             Use an C<Action> element to allow or deny permission to call this
61             action.
62              
63             =item *
64              
65             Constrain the following parameters by using a C<Condition> element with
66             the appropriate keys.
67              
68             =over
69              
70             =item *
71              
72             C<tagList.member.N> E<ndash> The key is "swf:tagList.N" where N is the
73             tag number from 0 to 4, inclusive.
74              
75             =item *
76              
77             C<taskList> E<ndash> String constraint. The key is
78             C<swf:taskList.name>.
79              
80             =item *
81              
82             C<workflowType.name> E<ndash> String constraint. The key is
83             C<swf:workflowType.name>.
84              
85             =item *
86              
87             C<workflowType.version> E<ndash> String constraint. The key is
88             C<swf:workflowType.version>.
89              
90             =back
91              
92             =back
93              
94             If the caller doesn't have sufficient permissions to invoke the action,
95             or the parameter values fall outside the specified constraints, the
96             action fails. The associated event attribute's C<cause> parameter is
97             set to C<OPERATION_NOT_PERMITTED>. For details and example IAM
98             policies, see Using IAM to Manage Access to Amazon SWF Workflows in the
99             I<Amazon SWF Developer Guide>.
100              
101             =head1 ATTRIBUTES
102              
103              
104             =head2 ChildPolicy => Str
105              
106             If set, specifies the policy to use for the child workflow executions
107             if the workflow execution being started is terminated by calling the
108             TerminateWorkflowExecution action explicitly or due to an expired
109             timeout. This policy overrides the default child policy specified when
110             registering the workflow type using RegisterWorkflowType.
111              
112             The supported child policies are:
113              
114             =over
115              
116             =item *
117              
118             C<TERMINATE> E<ndash> The child executions are terminated.
119              
120             =item *
121              
122             C<REQUEST_CANCEL> E<ndash> A request to cancel is attempted for each
123             child execution by recording a C<WorkflowExecutionCancelRequested>
124             event in its history. It is up to the decider to take appropriate
125             actions when it receives an execution history with this event.
126              
127             =item *
128              
129             C<ABANDON> E<ndash> No action is taken. The child executions continue
130             to run.
131              
132             =back
133              
134             A child policy for this workflow execution must be specified either as
135             a default for the workflow type or through this parameter. If neither
136             this parameter is set nor a default child policy was specified at
137             registration time then a fault is returned.
138              
139              
140             =head2 Control => Str
141              
142             The data attached to the event that can be used by the decider in
143             subsequent workflow tasks. This data isn't sent to the child workflow
144             execution.
145              
146              
147             =head2 ExecutionStartToCloseTimeout => Str
148              
149             The total duration for this workflow execution. This overrides the
150             defaultExecutionStartToCloseTimeout specified when registering the
151             workflow type.
152              
153             The duration is specified in seconds, an integer greater than or equal
154             to C<0>. You can use C<NONE> to specify unlimited duration.
155              
156             An execution start-to-close timeout for this workflow execution must be
157             specified either as a default for the workflow type or through this
158             parameter. If neither this parameter is set nor a default execution
159             start-to-close timeout was specified at registration time then a fault
160             is returned.
161              
162              
163             =head2 Input => Str
164              
165             The input to be provided to the workflow execution.
166              
167              
168             =head2 LambdaRole => Str
169              
170             The IAM role attached to the child workflow execution.
171              
172              
173             =head2 TagList => ArrayRef[Str|Undef]
174              
175             The list of tags to associate with the child workflow execution. A
176             maximum of 5 tags can be specified. You can list workflow executions
177             with a specific tag by calling ListOpenWorkflowExecutions or
178             ListClosedWorkflowExecutions and specifying a TagFilter.
179              
180              
181             =head2 TaskList => L<Paws::SimpleWorkflow::TaskList>
182              
183             The name of the task list to be used for decision tasks of the child
184             workflow execution.
185              
186             A task list for this workflow execution must be specified either as a
187             default for the workflow type or through this parameter. If neither
188             this parameter is set nor a default task list was specified at
189             registration time then a fault is returned.
190              
191             The specified string must not start or end with whitespace. It must not
192             contain a C<:> (colon), C</> (slash), C<|> (vertical bar), or any
193             control characters (C<\u0000-\u001f> | C<\u007f-\u009f>). Also, it must
194             not contain the literal string C<arn>.
195              
196              
197             =head2 TaskPriority => Str
198              
199             A task priority that, if set, specifies the priority for a decision
200             task of this workflow execution. This overrides the defaultTaskPriority
201             specified when registering the workflow type. Valid values are integers
202             that range from Java's C<Integer.MIN_VALUE> (-2147483648) to
203             C<Integer.MAX_VALUE> (2147483647). Higher numbers indicate higher
204             priority.
205              
206             For more information about setting task priority, see Setting Task
207             Priority in the I<Amazon SWF Developer Guide>.
208              
209              
210             =head2 TaskStartToCloseTimeout => Str
211              
212             Specifies the maximum duration of decision tasks for this workflow
213             execution. This parameter overrides the
214             C<defaultTaskStartToCloseTimout> specified when registering the
215             workflow type using RegisterWorkflowType.
216              
217             The duration is specified in seconds, an integer greater than or equal
218             to C<0>. You can use C<NONE> to specify unlimited duration.
219              
220             A task start-to-close timeout for this workflow execution must be
221             specified either as a default for the workflow type or through this
222             parameter. If neither this parameter is set nor a default task
223             start-to-close timeout was specified at registration time then a fault
224             is returned.
225              
226              
227             =head2 B<REQUIRED> WorkflowId => Str
228              
229             The C<workflowId> of the workflow execution.
230              
231             The specified string must not start or end with whitespace. It must not
232             contain a C<:> (colon), C</> (slash), C<|> (vertical bar), or any
233             control characters (C<\u0000-\u001f> | C<\u007f-\u009f>). Also, it must
234             not contain the literal string C<arn>.
235              
236              
237             =head2 B<REQUIRED> WorkflowType => L<Paws::SimpleWorkflow::WorkflowType>
238              
239             The type of the workflow execution to be started.
240              
241              
242              
243             =head1 SEE ALSO
244              
245             This class forms part of L<Paws>, describing an object used in L<Paws::SimpleWorkflow>
246              
247             =head1 BUGS and CONTRIBUTIONS
248              
249             The source code is located here: https://github.com/pplu/aws-sdk-perl
250              
251             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
252              
253             =cut
254