File Coverage

blib/lib/Paws/SimpleWorkflow/ContinueAsNewWorkflowExecutionDecisionAttributes.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::ContinueAsNewWorkflowExecutionDecisionAttributes;
2 1     1   531 use Moose;
  1         3  
  1         11  
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 the 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 *
52              
53             Use a C<Resource> element with the domain name to limit the action to
54             only specified domains.
55              
56             =item *
57              
58             Use an C<Action> element to allow or deny permission to call this
59             action.
60              
61             =item *
62              
63             Constrain the following parameters by using a C<Condition> element with
64             the appropriate keys.
65              
66             =over
67              
68             =item *
69              
70             C<tag> E<ndash> A tag used to identify the workflow execution
71              
72             =item *
73              
74             C<taskList> E<ndash> String constraint. The key is
75             C<swf:taskList.name>.
76              
77             =item *
78              
79             C<workflowType.version> E<ndash> String constraint. The key is
80             C<swf:workflowType.version>.
81              
82             =back
83              
84             =back
85              
86             If the caller doesn't have sufficient permissions to invoke the action,
87             or the parameter values fall outside the specified constraints, the
88             action fails. The associated event attribute's C<cause> parameter is
89             set to C<OPERATION_NOT_PERMITTED>. For details and example IAM
90             policies, see Using IAM to Manage Access to Amazon SWF Workflows in the
91             I<Amazon SWF Developer Guide>.
92              
93             =head1 ATTRIBUTES
94              
95              
96             =head2 ChildPolicy => Str
97              
98             If set, specifies the policy to use for the child workflow executions
99             of the new execution if it is terminated by calling the
100             TerminateWorkflowExecution action explicitly or due to an expired
101             timeout. This policy overrides the default child policy specified when
102             registering the workflow type using RegisterWorkflowType.
103              
104             The supported child policies are:
105              
106             =over
107              
108             =item *
109              
110             C<TERMINATE> E<ndash> The child executions are terminated.
111              
112             =item *
113              
114             C<REQUEST_CANCEL> E<ndash> A request to cancel is attempted for each
115             child execution by recording a C<WorkflowExecutionCancelRequested>
116             event in its history. It is up to the decider to take appropriate
117             actions when it receives an execution history with this event.
118              
119             =item *
120              
121             C<ABANDON> E<ndash> No action is taken. The child executions continue
122             to run.
123              
124             =back
125              
126             A child policy for this workflow execution must be specified either as
127             a default for the workflow type or through this parameter. If neither
128             this parameter is set nor a default child policy was specified at
129             registration time then a fault is returned.
130              
131              
132             =head2 ExecutionStartToCloseTimeout => Str
133              
134             If set, specifies the total duration for this workflow execution. This
135             overrides the C<defaultExecutionStartToCloseTimeout> specified when
136             registering the workflow type.
137              
138             The duration is specified in seconds, an integer greater than or equal
139             to C<0>. You can use C<NONE> to specify unlimited duration.
140              
141             An execution start-to-close timeout for this workflow execution must be
142             specified either as a default for the workflow type or through this
143             field. If neither this field is set nor a default execution
144             start-to-close timeout was specified at registration time then a fault
145             is returned.
146              
147              
148             =head2 Input => Str
149              
150             The input provided to the new workflow execution.
151              
152              
153             =head2 LambdaRole => Str
154              
155             The IAM role to attach to the new (continued) execution.
156              
157              
158             =head2 TagList => ArrayRef[Str|Undef]
159              
160             The list of tags to associate with the new 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 task list to use for the decisions of the new (continued) workflow
169             execution.
170              
171              
172             =head2 TaskPriority => Str
173              
174             The task priority that, if set, specifies the priority for the decision
175             tasks for this workflow execution. This overrides the
176             defaultTaskPriority specified when registering the workflow type. Valid
177             values are integers that range from Java's C<Integer.MIN_VALUE>
178             (-2147483648) to C<Integer.MAX_VALUE> (2147483647). Higher numbers
179             indicate higher priority.
180              
181             For more information about setting task priority, see Setting Task
182             Priority in the I<Amazon SWF Developer Guide>.
183              
184              
185             =head2 TaskStartToCloseTimeout => Str
186              
187             Specifies the maximum duration of decision tasks for the new workflow
188             execution. This parameter overrides the
189             C<defaultTaskStartToCloseTimout> specified when registering the
190             workflow type using RegisterWorkflowType.
191              
192             The duration is specified in seconds, an integer greater than or equal
193             to C<0>. You can use C<NONE> to specify unlimited duration.
194              
195             A task start-to-close timeout for the new workflow execution must be
196             specified either as a default for the workflow type or through this
197             parameter. If neither this parameter is set nor a default task
198             start-to-close timeout was specified at registration time then a fault
199             is returned.
200              
201              
202             =head2 WorkflowTypeVersion => Str
203              
204             The version of the workflow to start.
205              
206              
207              
208             =head1 SEE ALSO
209              
210             This class forms part of L<Paws>, describing an object used in L<Paws::SimpleWorkflow>
211              
212             =head1 BUGS and CONTRIBUTIONS
213              
214             The source code is located here: https://github.com/pplu/aws-sdk-perl
215              
216             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
217              
218             =cut
219