File Coverage

blib/lib/Paws/SimpleWorkflow.pm
Criterion Covered Total %
statement 7 230 3.0
branch 0 28 0.0
condition n/a
subroutine 3 45 6.6
pod 38 43 88.3
total 48 346 13.8


line stmt bran cond sub pod time code
1             package Paws::SimpleWorkflow;
2 1     1   893 use Moose;
  1     1   5  
  1         8  
  1         1988  
  1         3  
  1         8  
3 10     10 0 35 sub service { 'swf' }
4 0     0 0   sub version { '2012-01-25' }
5 0     0 0   sub target_prefix { 'SimpleWorkflowService' }
6 0     0 0   sub json_version { "1.0" }
7             has max_attempts => (is => 'ro', isa => 'Int', default => 5);
8             has retry => (is => 'ro', isa => 'HashRef', default => sub {
9             { base => 'rand', type => 'exponential', growth_factor => 2 }
10             });
11             has retriables => (is => 'ro', isa => 'ArrayRef', default => sub { [
12             ] });
13              
14             with 'Paws::API::Caller', 'Paws::API::EndpointResolver', 'Paws::Net::V4Signature', 'Paws::Net::JsonCaller', 'Paws::Net::JsonResponse';
15              
16            
17             sub CountClosedWorkflowExecutions {
18 0     0 1   my $self = shift;
19 0           my $call_object = $self->new_with_coercions('Paws::SimpleWorkflow::CountClosedWorkflowExecutions', @_);
20 0           return $self->caller->do_call($self, $call_object);
21             }
22             sub CountOpenWorkflowExecutions {
23 0     0 1   my $self = shift;
24 0           my $call_object = $self->new_with_coercions('Paws::SimpleWorkflow::CountOpenWorkflowExecutions', @_);
25 0           return $self->caller->do_call($self, $call_object);
26             }
27             sub CountPendingActivityTasks {
28 0     0 1   my $self = shift;
29 0           my $call_object = $self->new_with_coercions('Paws::SimpleWorkflow::CountPendingActivityTasks', @_);
30 0           return $self->caller->do_call($self, $call_object);
31             }
32             sub CountPendingDecisionTasks {
33 0     0 1   my $self = shift;
34 0           my $call_object = $self->new_with_coercions('Paws::SimpleWorkflow::CountPendingDecisionTasks', @_);
35 0           return $self->caller->do_call($self, $call_object);
36             }
37             sub DeprecateActivityType {
38 0     0 1   my $self = shift;
39 0           my $call_object = $self->new_with_coercions('Paws::SimpleWorkflow::DeprecateActivityType', @_);
40 0           return $self->caller->do_call($self, $call_object);
41             }
42             sub DeprecateDomain {
43 0     0 1   my $self = shift;
44 0           my $call_object = $self->new_with_coercions('Paws::SimpleWorkflow::DeprecateDomain', @_);
45 0           return $self->caller->do_call($self, $call_object);
46             }
47             sub DeprecateWorkflowType {
48 0     0 1   my $self = shift;
49 0           my $call_object = $self->new_with_coercions('Paws::SimpleWorkflow::DeprecateWorkflowType', @_);
50 0           return $self->caller->do_call($self, $call_object);
51             }
52             sub DescribeActivityType {
53 0     0 1   my $self = shift;
54 0           my $call_object = $self->new_with_coercions('Paws::SimpleWorkflow::DescribeActivityType', @_);
55 0           return $self->caller->do_call($self, $call_object);
56             }
57             sub DescribeDomain {
58 0     0 1   my $self = shift;
59 0           my $call_object = $self->new_with_coercions('Paws::SimpleWorkflow::DescribeDomain', @_);
60 0           return $self->caller->do_call($self, $call_object);
61             }
62             sub DescribeWorkflowExecution {
63 0     0 1   my $self = shift;
64 0           my $call_object = $self->new_with_coercions('Paws::SimpleWorkflow::DescribeWorkflowExecution', @_);
65 0           return $self->caller->do_call($self, $call_object);
66             }
67             sub DescribeWorkflowType {
68 0     0 1   my $self = shift;
69 0           my $call_object = $self->new_with_coercions('Paws::SimpleWorkflow::DescribeWorkflowType', @_);
70 0           return $self->caller->do_call($self, $call_object);
71             }
72             sub GetWorkflowExecutionHistory {
73 0     0 1   my $self = shift;
74 0           my $call_object = $self->new_with_coercions('Paws::SimpleWorkflow::GetWorkflowExecutionHistory', @_);
75 0           return $self->caller->do_call($self, $call_object);
76             }
77             sub ListActivityTypes {
78 0     0 1   my $self = shift;
79 0           my $call_object = $self->new_with_coercions('Paws::SimpleWorkflow::ListActivityTypes', @_);
80 0           return $self->caller->do_call($self, $call_object);
81             }
82             sub ListClosedWorkflowExecutions {
83 0     0 1   my $self = shift;
84 0           my $call_object = $self->new_with_coercions('Paws::SimpleWorkflow::ListClosedWorkflowExecutions', @_);
85 0           return $self->caller->do_call($self, $call_object);
86             }
87             sub ListDomains {
88 0     0 1   my $self = shift;
89 0           my $call_object = $self->new_with_coercions('Paws::SimpleWorkflow::ListDomains', @_);
90 0           return $self->caller->do_call($self, $call_object);
91             }
92             sub ListOpenWorkflowExecutions {
93 0     0 1   my $self = shift;
94 0           my $call_object = $self->new_with_coercions('Paws::SimpleWorkflow::ListOpenWorkflowExecutions', @_);
95 0           return $self->caller->do_call($self, $call_object);
96             }
97             sub ListWorkflowTypes {
98 0     0 1   my $self = shift;
99 0           my $call_object = $self->new_with_coercions('Paws::SimpleWorkflow::ListWorkflowTypes', @_);
100 0           return $self->caller->do_call($self, $call_object);
101             }
102             sub PollForActivityTask {
103 0     0 1   my $self = shift;
104 0           my $call_object = $self->new_with_coercions('Paws::SimpleWorkflow::PollForActivityTask', @_);
105 0           return $self->caller->do_call($self, $call_object);
106             }
107             sub PollForDecisionTask {
108 0     0 1   my $self = shift;
109 0           my $call_object = $self->new_with_coercions('Paws::SimpleWorkflow::PollForDecisionTask', @_);
110 0           return $self->caller->do_call($self, $call_object);
111             }
112             sub RecordActivityTaskHeartbeat {
113 0     0 1   my $self = shift;
114 0           my $call_object = $self->new_with_coercions('Paws::SimpleWorkflow::RecordActivityTaskHeartbeat', @_);
115 0           return $self->caller->do_call($self, $call_object);
116             }
117             sub RegisterActivityType {
118 0     0 1   my $self = shift;
119 0           my $call_object = $self->new_with_coercions('Paws::SimpleWorkflow::RegisterActivityType', @_);
120 0           return $self->caller->do_call($self, $call_object);
121             }
122             sub RegisterDomain {
123 0     0 1   my $self = shift;
124 0           my $call_object = $self->new_with_coercions('Paws::SimpleWorkflow::RegisterDomain', @_);
125 0           return $self->caller->do_call($self, $call_object);
126             }
127             sub RegisterWorkflowType {
128 0     0 1   my $self = shift;
129 0           my $call_object = $self->new_with_coercions('Paws::SimpleWorkflow::RegisterWorkflowType', @_);
130 0           return $self->caller->do_call($self, $call_object);
131             }
132             sub RequestCancelWorkflowExecution {
133 0     0 1   my $self = shift;
134 0           my $call_object = $self->new_with_coercions('Paws::SimpleWorkflow::RequestCancelWorkflowExecution', @_);
135 0           return $self->caller->do_call($self, $call_object);
136             }
137             sub RespondActivityTaskCanceled {
138 0     0 1   my $self = shift;
139 0           my $call_object = $self->new_with_coercions('Paws::SimpleWorkflow::RespondActivityTaskCanceled', @_);
140 0           return $self->caller->do_call($self, $call_object);
141             }
142             sub RespondActivityTaskCompleted {
143 0     0 1   my $self = shift;
144 0           my $call_object = $self->new_with_coercions('Paws::SimpleWorkflow::RespondActivityTaskCompleted', @_);
145 0           return $self->caller->do_call($self, $call_object);
146             }
147             sub RespondActivityTaskFailed {
148 0     0 1   my $self = shift;
149 0           my $call_object = $self->new_with_coercions('Paws::SimpleWorkflow::RespondActivityTaskFailed', @_);
150 0           return $self->caller->do_call($self, $call_object);
151             }
152             sub RespondDecisionTaskCompleted {
153 0     0 1   my $self = shift;
154 0           my $call_object = $self->new_with_coercions('Paws::SimpleWorkflow::RespondDecisionTaskCompleted', @_);
155 0           return $self->caller->do_call($self, $call_object);
156             }
157             sub SignalWorkflowExecution {
158 0     0 1   my $self = shift;
159 0           my $call_object = $self->new_with_coercions('Paws::SimpleWorkflow::SignalWorkflowExecution', @_);
160 0           return $self->caller->do_call($self, $call_object);
161             }
162             sub StartWorkflowExecution {
163 0     0 1   my $self = shift;
164 0           my $call_object = $self->new_with_coercions('Paws::SimpleWorkflow::StartWorkflowExecution', @_);
165 0           return $self->caller->do_call($self, $call_object);
166             }
167             sub TerminateWorkflowExecution {
168 0     0 1   my $self = shift;
169 0           my $call_object = $self->new_with_coercions('Paws::SimpleWorkflow::TerminateWorkflowExecution', @_);
170 0           return $self->caller->do_call($self, $call_object);
171             }
172            
173             sub GetAllWorkflowExecutionHistory {
174 0     0 1   my $self = shift;
175              
176 0 0         my $callback = shift @_ if (ref($_[0]) eq 'CODE');
177 0           my $result = $self->GetWorkflowExecutionHistory(@_);
178 0           my $next_result = $result;
179              
180 0 0         if (not defined $callback) {
181 0           while ($next_result->nextPageToken) {
182 0           $next_result = $self->GetWorkflowExecutionHistory(@_, nextPageToken => $next_result->nextPageToken);
183 0           push @{ $result->events }, @{ $next_result->events };
  0            
  0            
184             }
185 0           return $result;
186             } else {
187 0           while ($result->nextPageToken) {
188 0           $callback->($_ => 'events') foreach (@{ $result->events });
  0            
189 0           $result = $self->GetWorkflowExecutionHistory(@_, nextPageToken => $result->nextPageToken);
190             }
191 0           $callback->($_ => 'events') foreach (@{ $result->events });
  0            
192             }
193              
194             return undef
195 0           }
196             sub ListAllActivityTypes {
197 0     0 1   my $self = shift;
198              
199 0 0         my $callback = shift @_ if (ref($_[0]) eq 'CODE');
200 0           my $result = $self->ListActivityTypes(@_);
201 0           my $next_result = $result;
202              
203 0 0         if (not defined $callback) {
204 0           while ($next_result->nextPageToken) {
205 0           $next_result = $self->ListActivityTypes(@_, nextPageToken => $next_result->nextPageToken);
206 0           push @{ $result->typeInfos }, @{ $next_result->typeInfos };
  0            
  0            
207             }
208 0           return $result;
209             } else {
210 0           while ($result->nextPageToken) {
211 0           $callback->($_ => 'typeInfos') foreach (@{ $result->typeInfos });
  0            
212 0           $result = $self->ListActivityTypes(@_, nextPageToken => $result->nextPageToken);
213             }
214 0           $callback->($_ => 'typeInfos') foreach (@{ $result->typeInfos });
  0            
215             }
216              
217             return undef
218 0           }
219             sub ListAllClosedWorkflowExecutions {
220 0     0 1   my $self = shift;
221              
222 0 0         my $callback = shift @_ if (ref($_[0]) eq 'CODE');
223 0           my $result = $self->ListClosedWorkflowExecutions(@_);
224 0           my $next_result = $result;
225              
226 0 0         if (not defined $callback) {
227 0           while ($next_result->nextPageToken) {
228 0           $next_result = $self->ListClosedWorkflowExecutions(@_, nextPageToken => $next_result->nextPageToken);
229 0           push @{ $result->executionInfos }, @{ $next_result->executionInfos };
  0            
  0            
230             }
231 0           return $result;
232             } else {
233 0           while ($result->nextPageToken) {
234 0           $callback->($_ => 'executionInfos') foreach (@{ $result->executionInfos });
  0            
235 0           $result = $self->ListClosedWorkflowExecutions(@_, nextPageToken => $result->nextPageToken);
236             }
237 0           $callback->($_ => 'executionInfos') foreach (@{ $result->executionInfos });
  0            
238             }
239              
240             return undef
241 0           }
242             sub ListAllDomains {
243 0     0 1   my $self = shift;
244              
245 0 0         my $callback = shift @_ if (ref($_[0]) eq 'CODE');
246 0           my $result = $self->ListDomains(@_);
247 0           my $next_result = $result;
248              
249 0 0         if (not defined $callback) {
250 0           while ($next_result->nextPageToken) {
251 0           $next_result = $self->ListDomains(@_, nextPageToken => $next_result->nextPageToken);
252 0           push @{ $result->domainInfos }, @{ $next_result->domainInfos };
  0            
  0            
253             }
254 0           return $result;
255             } else {
256 0           while ($result->nextPageToken) {
257 0           $callback->($_ => 'domainInfos') foreach (@{ $result->domainInfos });
  0            
258 0           $result = $self->ListDomains(@_, nextPageToken => $result->nextPageToken);
259             }
260 0           $callback->($_ => 'domainInfos') foreach (@{ $result->domainInfos });
  0            
261             }
262              
263             return undef
264 0           }
265             sub ListAllOpenWorkflowExecutions {
266 0     0 1   my $self = shift;
267              
268 0 0         my $callback = shift @_ if (ref($_[0]) eq 'CODE');
269 0           my $result = $self->ListOpenWorkflowExecutions(@_);
270 0           my $next_result = $result;
271              
272 0 0         if (not defined $callback) {
273 0           while ($next_result->nextPageToken) {
274 0           $next_result = $self->ListOpenWorkflowExecutions(@_, nextPageToken => $next_result->nextPageToken);
275 0           push @{ $result->executionInfos }, @{ $next_result->executionInfos };
  0            
  0            
276             }
277 0           return $result;
278             } else {
279 0           while ($result->nextPageToken) {
280 0           $callback->($_ => 'executionInfos') foreach (@{ $result->executionInfos });
  0            
281 0           $result = $self->ListOpenWorkflowExecutions(@_, nextPageToken => $result->nextPageToken);
282             }
283 0           $callback->($_ => 'executionInfos') foreach (@{ $result->executionInfos });
  0            
284             }
285              
286             return undef
287 0           }
288             sub ListAllWorkflowTypes {
289 0     0 1   my $self = shift;
290              
291 0 0         my $callback = shift @_ if (ref($_[0]) eq 'CODE');
292 0           my $result = $self->ListWorkflowTypes(@_);
293 0           my $next_result = $result;
294              
295 0 0         if (not defined $callback) {
296 0           while ($next_result->nextPageToken) {
297 0           $next_result = $self->ListWorkflowTypes(@_, nextPageToken => $next_result->nextPageToken);
298 0           push @{ $result->typeInfos }, @{ $next_result->typeInfos };
  0            
  0            
299             }
300 0           return $result;
301             } else {
302 0           while ($result->nextPageToken) {
303 0           $callback->($_ => 'typeInfos') foreach (@{ $result->typeInfos });
  0            
304 0           $result = $self->ListWorkflowTypes(@_, nextPageToken => $result->nextPageToken);
305             }
306 0           $callback->($_ => 'typeInfos') foreach (@{ $result->typeInfos });
  0            
307             }
308              
309             return undef
310 0           }
311             sub PollForAllDecisionTasks {
312 0     0 1   my $self = shift;
313              
314 0 0         my $callback = shift @_ if (ref($_[0]) eq 'CODE');
315 0           my $result = $self->PollForDecisionTask(@_);
316 0           my $next_result = $result;
317              
318 0 0         if (not defined $callback) {
319 0           while ($next_result->nextPageToken) {
320 0           $next_result = $self->PollForDecisionTask(@_, nextPageToken => $next_result->nextPageToken);
321 0           push @{ $result->events }, @{ $next_result->events };
  0            
  0            
322             }
323 0           return $result;
324             } else {
325 0           while ($result->nextPageToken) {
326 0           $callback->($_ => 'events') foreach (@{ $result->events });
  0            
327 0           $result = $self->PollForDecisionTask(@_, nextPageToken => $result->nextPageToken);
328             }
329 0           $callback->($_ => 'events') foreach (@{ $result->events });
  0            
330             }
331              
332             return undef
333 0           }
334              
335              
336 0     0 0   sub operations { qw/CountClosedWorkflowExecutions CountOpenWorkflowExecutions CountPendingActivityTasks CountPendingDecisionTasks DeprecateActivityType DeprecateDomain DeprecateWorkflowType DescribeActivityType DescribeDomain DescribeWorkflowExecution DescribeWorkflowType GetWorkflowExecutionHistory ListActivityTypes ListClosedWorkflowExecutions ListDomains ListOpenWorkflowExecutions ListWorkflowTypes PollForActivityTask PollForDecisionTask RecordActivityTaskHeartbeat RegisterActivityType RegisterDomain RegisterWorkflowType RequestCancelWorkflowExecution RespondActivityTaskCanceled RespondActivityTaskCompleted RespondActivityTaskFailed RespondDecisionTaskCompleted SignalWorkflowExecution StartWorkflowExecution TerminateWorkflowExecution / }
337              
338             1;
339              
340             ### main pod documentation begin ###
341              
342             =head1 NAME
343              
344             Paws::SimpleWorkflow - Perl Interface to AWS Amazon Simple Workflow Service
345              
346             =head1 SYNOPSIS
347              
348             use Paws;
349              
350             my $obj = Paws->service('SimpleWorkflow');
351             my $res = $obj->Method(
352             Arg1 => $val1,
353             Arg2 => [ 'V1', 'V2' ],
354             # if Arg3 is an object, the HashRef will be used as arguments to the constructor
355             # of the arguments type
356             Arg3 => { Att1 => 'Val1' },
357             # if Arg4 is an array of objects, the HashRefs will be passed as arguments to
358             # the constructor of the arguments type
359             Arg4 => [ { Att1 => 'Val1' }, { Att1 => 'Val2' } ],
360             );
361              
362             =head1 DESCRIPTION
363              
364             Amazon Simple Workflow Service
365              
366             The Amazon Simple Workflow Service (Amazon SWF) makes it easy to build
367             applications that use Amazon's cloud to coordinate work across
368             distributed components. In Amazon SWF, a I<task> represents a logical
369             unit of work that is performed by a component of your workflow.
370             Coordinating tasks in a workflow involves managing intertask
371             dependencies, scheduling, and concurrency in accordance with the
372             logical flow of the application.
373              
374             Amazon SWF gives you full control over implementing tasks and
375             coordinating them without worrying about underlying complexities such
376             as tracking their progress and maintaining their state.
377              
378             This documentation serves as reference only. For a broader overview of
379             the Amazon SWF programming model, see the I< Amazon SWF Developer Guide
380             >.
381              
382             =head1 METHODS
383              
384             =head2 CountClosedWorkflowExecutions(Domain => Str, [CloseStatusFilter => L<Paws::SimpleWorkflow::CloseStatusFilter>, CloseTimeFilter => L<Paws::SimpleWorkflow::ExecutionTimeFilter>, ExecutionFilter => L<Paws::SimpleWorkflow::WorkflowExecutionFilter>, StartTimeFilter => L<Paws::SimpleWorkflow::ExecutionTimeFilter>, TagFilter => L<Paws::SimpleWorkflow::TagFilter>, TypeFilter => L<Paws::SimpleWorkflow::WorkflowTypeFilter>])
385              
386             Each argument is described in detail in: L<Paws::SimpleWorkflow::CountClosedWorkflowExecutions>
387              
388             Returns: a L<Paws::SimpleWorkflow::WorkflowExecutionCount> instance
389              
390             Returns the number of closed workflow executions within the given
391             domain that meet the specified filtering criteria.
392              
393             This operation is eventually consistent. The results are best effort
394             and may not exactly reflect recent updates and changes.
395              
396             B<Access Control>
397              
398             You can use IAM policies to control this action's access to Amazon SWF
399             resources as follows:
400              
401             =over
402              
403             =item *
404              
405             Use a C<Resource> element with the domain name to limit the action to
406             only specified domains.
407              
408             =item *
409              
410             Use an C<Action> element to allow or deny permission to call this
411             action.
412              
413             =item *
414              
415             Constrain the following parameters by using a C<Condition> element with
416             the appropriate keys.
417              
418             =over
419              
420             =item *
421              
422             C<tagFilter.tag>: String constraint. The key is C<swf:tagFilter.tag>.
423              
424             =item *
425              
426             C<typeFilter.name>: String constraint. The key is
427             C<swf:typeFilter.name>.
428              
429             =item *
430              
431             C<typeFilter.version>: String constraint. The key is
432             C<swf:typeFilter.version>.
433              
434             =back
435              
436             =back
437              
438             If the caller doesn't have sufficient permissions to invoke the action,
439             or the parameter values fall outside the specified constraints, the
440             action fails. The associated event attribute's C<cause> parameter is
441             set to C<OPERATION_NOT_PERMITTED>. For details and example IAM
442             policies, see Using IAM to Manage Access to Amazon SWF Workflows in the
443             I<Amazon SWF Developer Guide>.
444              
445              
446             =head2 CountOpenWorkflowExecutions(Domain => Str, StartTimeFilter => L<Paws::SimpleWorkflow::ExecutionTimeFilter>, [ExecutionFilter => L<Paws::SimpleWorkflow::WorkflowExecutionFilter>, TagFilter => L<Paws::SimpleWorkflow::TagFilter>, TypeFilter => L<Paws::SimpleWorkflow::WorkflowTypeFilter>])
447              
448             Each argument is described in detail in: L<Paws::SimpleWorkflow::CountOpenWorkflowExecutions>
449              
450             Returns: a L<Paws::SimpleWorkflow::WorkflowExecutionCount> instance
451              
452             Returns the number of open workflow executions within the given domain
453             that meet the specified filtering criteria.
454              
455             This operation is eventually consistent. The results are best effort
456             and may not exactly reflect recent updates and changes.
457              
458             B<Access Control>
459              
460             You can use IAM policies to control this action's access to Amazon SWF
461             resources as follows:
462              
463             =over
464              
465             =item *
466              
467             Use a C<Resource> element with the domain name to limit the action to
468             only specified domains.
469              
470             =item *
471              
472             Use an C<Action> element to allow or deny permission to call this
473             action.
474              
475             =item *
476              
477             Constrain the following parameters by using a C<Condition> element with
478             the appropriate keys.
479              
480             =over
481              
482             =item *
483              
484             C<tagFilter.tag>: String constraint. The key is C<swf:tagFilter.tag>.
485              
486             =item *
487              
488             C<typeFilter.name>: String constraint. The key is
489             C<swf:typeFilter.name>.
490              
491             =item *
492              
493             C<typeFilter.version>: String constraint. The key is
494             C<swf:typeFilter.version>.
495              
496             =back
497              
498             =back
499              
500             If the caller doesn't have sufficient permissions to invoke the action,
501             or the parameter values fall outside the specified constraints, the
502             action fails. The associated event attribute's C<cause> parameter is
503             set to C<OPERATION_NOT_PERMITTED>. For details and example IAM
504             policies, see Using IAM to Manage Access to Amazon SWF Workflows in the
505             I<Amazon SWF Developer Guide>.
506              
507              
508             =head2 CountPendingActivityTasks(Domain => Str, TaskList => L<Paws::SimpleWorkflow::TaskList>)
509              
510             Each argument is described in detail in: L<Paws::SimpleWorkflow::CountPendingActivityTasks>
511              
512             Returns: a L<Paws::SimpleWorkflow::PendingTaskCount> instance
513              
514             Returns the estimated number of activity tasks in the specified task
515             list. The count returned is an approximation and isn't guaranteed to be
516             exact. If you specify a task list that no activity task was ever
517             scheduled in then C<0> is returned.
518              
519             B<Access Control>
520              
521             You can use IAM policies to control this action's access to Amazon SWF
522             resources as follows:
523              
524             =over
525              
526             =item *
527              
528             Use a C<Resource> element with the domain name to limit the action to
529             only specified domains.
530              
531             =item *
532              
533             Use an C<Action> element to allow or deny permission to call this
534             action.
535              
536             =item *
537              
538             Constrain the C<taskList.name> parameter by using a C<Condition>
539             element with the C<swf:taskList.name> key to allow the action to access
540             only certain task lists.
541              
542             =back
543              
544             If the caller doesn't have sufficient permissions to invoke the action,
545             or the parameter values fall outside the specified constraints, the
546             action fails. The associated event attribute's C<cause> parameter is
547             set to C<OPERATION_NOT_PERMITTED>. For details and example IAM
548             policies, see Using IAM to Manage Access to Amazon SWF Workflows in the
549             I<Amazon SWF Developer Guide>.
550              
551              
552             =head2 CountPendingDecisionTasks(Domain => Str, TaskList => L<Paws::SimpleWorkflow::TaskList>)
553              
554             Each argument is described in detail in: L<Paws::SimpleWorkflow::CountPendingDecisionTasks>
555              
556             Returns: a L<Paws::SimpleWorkflow::PendingTaskCount> instance
557              
558             Returns the estimated number of decision tasks in the specified task
559             list. The count returned is an approximation and isn't guaranteed to be
560             exact. If you specify a task list that no decision task was ever
561             scheduled in then C<0> is returned.
562              
563             B<Access Control>
564              
565             You can use IAM policies to control this action's access to Amazon SWF
566             resources as follows:
567              
568             =over
569              
570             =item *
571              
572             Use a C<Resource> element with the domain name to limit the action to
573             only specified domains.
574              
575             =item *
576              
577             Use an C<Action> element to allow or deny permission to call this
578             action.
579              
580             =item *
581              
582             Constrain the C<taskList.name> parameter by using a C<Condition>
583             element with the C<swf:taskList.name> key to allow the action to access
584             only certain task lists.
585              
586             =back
587              
588             If the caller doesn't have sufficient permissions to invoke the action,
589             or the parameter values fall outside the specified constraints, the
590             action fails. The associated event attribute's C<cause> parameter is
591             set to C<OPERATION_NOT_PERMITTED>. For details and example IAM
592             policies, see Using IAM to Manage Access to Amazon SWF Workflows in the
593             I<Amazon SWF Developer Guide>.
594              
595              
596             =head2 DeprecateActivityType(ActivityType => L<Paws::SimpleWorkflow::ActivityType>, Domain => Str)
597              
598             Each argument is described in detail in: L<Paws::SimpleWorkflow::DeprecateActivityType>
599              
600             Returns: nothing
601              
602             Deprecates the specified I<activity type>. After an activity type has
603             been deprecated, you cannot create new tasks of that activity type.
604             Tasks of this type that were scheduled before the type was deprecated
605             continue to run.
606              
607             This operation is eventually consistent. The results are best effort
608             and may not exactly reflect recent updates and changes.
609              
610             B<Access Control>
611              
612             You can use IAM policies to control this action's access to Amazon SWF
613             resources as follows:
614              
615             =over
616              
617             =item *
618              
619             Use a C<Resource> element with the domain name to limit the action to
620             only specified domains.
621              
622             =item *
623              
624             Use an C<Action> element to allow or deny permission to call this
625             action.
626              
627             =item *
628              
629             Constrain the following parameters by using a C<Condition> element with
630             the appropriate keys.
631              
632             =over
633              
634             =item *
635              
636             C<activityType.name>: String constraint. The key is
637             C<swf:activityType.name>.
638              
639             =item *
640              
641             C<activityType.version>: String constraint. The key is
642             C<swf:activityType.version>.
643              
644             =back
645              
646             =back
647              
648             If the caller doesn't have sufficient permissions to invoke the action,
649             or the parameter values fall outside the specified constraints, the
650             action fails. The associated event attribute's C<cause> parameter is
651             set to C<OPERATION_NOT_PERMITTED>. For details and example IAM
652             policies, see Using IAM to Manage Access to Amazon SWF Workflows in the
653             I<Amazon SWF Developer Guide>.
654              
655              
656             =head2 DeprecateDomain(Name => Str)
657              
658             Each argument is described in detail in: L<Paws::SimpleWorkflow::DeprecateDomain>
659              
660             Returns: nothing
661              
662             Deprecates the specified domain. After a domain has been deprecated it
663             cannot be used to create new workflow executions or register new types.
664             However, you can still use visibility actions on this domain.
665             Deprecating a domain also deprecates all activity and workflow types
666             registered in the domain. Executions that were started before the
667             domain was deprecated continues to run.
668              
669             This operation is eventually consistent. The results are best effort
670             and may not exactly reflect recent updates and changes.
671              
672             B<Access Control>
673              
674             You can use IAM policies to control this action's access to Amazon SWF
675             resources as follows:
676              
677             =over
678              
679             =item *
680              
681             Use a C<Resource> element with the domain name to limit the action to
682             only specified domains.
683              
684             =item *
685              
686             Use an C<Action> element to allow or deny permission to call this
687             action.
688              
689             =item *
690              
691             You cannot use an IAM policy to constrain this action's parameters.
692              
693             =back
694              
695             If the caller doesn't have sufficient permissions to invoke the action,
696             or the parameter values fall outside the specified constraints, the
697             action fails. The associated event attribute's C<cause> parameter is
698             set to C<OPERATION_NOT_PERMITTED>. For details and example IAM
699             policies, see Using IAM to Manage Access to Amazon SWF Workflows in the
700             I<Amazon SWF Developer Guide>.
701              
702              
703             =head2 DeprecateWorkflowType(Domain => Str, WorkflowType => L<Paws::SimpleWorkflow::WorkflowType>)
704              
705             Each argument is described in detail in: L<Paws::SimpleWorkflow::DeprecateWorkflowType>
706              
707             Returns: nothing
708              
709             Deprecates the specified I<workflow type>. After a workflow type has
710             been deprecated, you cannot create new executions of that type.
711             Executions that were started before the type was deprecated continues
712             to run. A deprecated workflow type may still be used when calling
713             visibility actions.
714              
715             This operation is eventually consistent. The results are best effort
716             and may not exactly reflect recent updates and changes.
717              
718             B<Access Control>
719              
720             You can use IAM policies to control this action's access to Amazon SWF
721             resources as follows:
722              
723             =over
724              
725             =item *
726              
727             Use a C<Resource> element with the domain name to limit the action to
728             only specified domains.
729              
730             =item *
731              
732             Use an C<Action> element to allow or deny permission to call this
733             action.
734              
735             =item *
736              
737             Constrain the following parameters by using a C<Condition> element with
738             the appropriate keys.
739              
740             =over
741              
742             =item *
743              
744             C<workflowType.name>: String constraint. The key is
745             C<swf:workflowType.name>.
746              
747             =item *
748              
749             C<workflowType.version>: String constraint. The key is
750             C<swf:workflowType.version>.
751              
752             =back
753              
754             =back
755              
756             If the caller doesn't have sufficient permissions to invoke the action,
757             or the parameter values fall outside the specified constraints, the
758             action fails. The associated event attribute's C<cause> parameter is
759             set to C<OPERATION_NOT_PERMITTED>. For details and example IAM
760             policies, see Using IAM to Manage Access to Amazon SWF Workflows in the
761             I<Amazon SWF Developer Guide>.
762              
763              
764             =head2 DescribeActivityType(ActivityType => L<Paws::SimpleWorkflow::ActivityType>, Domain => Str)
765              
766             Each argument is described in detail in: L<Paws::SimpleWorkflow::DescribeActivityType>
767              
768             Returns: a L<Paws::SimpleWorkflow::ActivityTypeDetail> instance
769              
770             Returns information about the specified activity type. This includes
771             configuration settings provided when the type was registered and other
772             general information about the type.
773              
774             B<Access Control>
775              
776             You can use IAM policies to control this action's access to Amazon SWF
777             resources as follows:
778              
779             =over
780              
781             =item *
782              
783             Use a C<Resource> element with the domain name to limit the action to
784             only specified domains.
785              
786             =item *
787              
788             Use an C<Action> element to allow or deny permission to call this
789             action.
790              
791             =item *
792              
793             Constrain the following parameters by using a C<Condition> element with
794             the appropriate keys.
795              
796             =over
797              
798             =item *
799              
800             C<activityType.name>: String constraint. The key is
801             C<swf:activityType.name>.
802              
803             =item *
804              
805             C<activityType.version>: String constraint. The key is
806             C<swf:activityType.version>.
807              
808             =back
809              
810             =back
811              
812             If the caller doesn't have sufficient permissions to invoke the action,
813             or the parameter values fall outside the specified constraints, the
814             action fails. The associated event attribute's C<cause> parameter is
815             set to C<OPERATION_NOT_PERMITTED>. For details and example IAM
816             policies, see Using IAM to Manage Access to Amazon SWF Workflows in the
817             I<Amazon SWF Developer Guide>.
818              
819              
820             =head2 DescribeDomain(Name => Str)
821              
822             Each argument is described in detail in: L<Paws::SimpleWorkflow::DescribeDomain>
823              
824             Returns: a L<Paws::SimpleWorkflow::DomainDetail> instance
825              
826             Returns information about the specified domain, including description
827             and status.
828              
829             B<Access Control>
830              
831             You can use IAM policies to control this action's access to Amazon SWF
832             resources as follows:
833              
834             =over
835              
836             =item *
837              
838             Use a C<Resource> element with the domain name to limit the action to
839             only specified domains.
840              
841             =item *
842              
843             Use an C<Action> element to allow or deny permission to call this
844             action.
845              
846             =item *
847              
848             You cannot use an IAM policy to constrain this action's parameters.
849              
850             =back
851              
852             If the caller doesn't have sufficient permissions to invoke the action,
853             or the parameter values fall outside the specified constraints, the
854             action fails. The associated event attribute's C<cause> parameter is
855             set to C<OPERATION_NOT_PERMITTED>. For details and example IAM
856             policies, see Using IAM to Manage Access to Amazon SWF Workflows in the
857             I<Amazon SWF Developer Guide>.
858              
859              
860             =head2 DescribeWorkflowExecution(Domain => Str, Execution => L<Paws::SimpleWorkflow::WorkflowExecution>)
861              
862             Each argument is described in detail in: L<Paws::SimpleWorkflow::DescribeWorkflowExecution>
863              
864             Returns: a L<Paws::SimpleWorkflow::WorkflowExecutionDetail> instance
865              
866             Returns information about the specified workflow execution including
867             its type and some statistics.
868              
869             This operation is eventually consistent. The results are best effort
870             and may not exactly reflect recent updates and changes.
871              
872             B<Access Control>
873              
874             You can use IAM policies to control this action's access to Amazon SWF
875             resources as follows:
876              
877             =over
878              
879             =item *
880              
881             Use a C<Resource> element with the domain name to limit the action to
882             only specified domains.
883              
884             =item *
885              
886             Use an C<Action> element to allow or deny permission to call this
887             action.
888              
889             =item *
890              
891             You cannot use an IAM policy to constrain this action's parameters.
892              
893             =back
894              
895             If the caller doesn't have sufficient permissions to invoke the action,
896             or the parameter values fall outside the specified constraints, the
897             action fails. The associated event attribute's C<cause> parameter is
898             set to C<OPERATION_NOT_PERMITTED>. For details and example IAM
899             policies, see Using IAM to Manage Access to Amazon SWF Workflows in the
900             I<Amazon SWF Developer Guide>.
901              
902              
903             =head2 DescribeWorkflowType(Domain => Str, WorkflowType => L<Paws::SimpleWorkflow::WorkflowType>)
904              
905             Each argument is described in detail in: L<Paws::SimpleWorkflow::DescribeWorkflowType>
906              
907             Returns: a L<Paws::SimpleWorkflow::WorkflowTypeDetail> instance
908              
909             Returns information about the specified I<workflow type>. This includes
910             configuration settings specified when the type was registered and other
911             information such as creation date, current status, etc.
912              
913             B<Access Control>
914              
915             You can use IAM policies to control this action's access to Amazon SWF
916             resources as follows:
917              
918             =over
919              
920             =item *
921              
922             Use a C<Resource> element with the domain name to limit the action to
923             only specified domains.
924              
925             =item *
926              
927             Use an C<Action> element to allow or deny permission to call this
928             action.
929              
930             =item *
931              
932             Constrain the following parameters by using a C<Condition> element with
933             the appropriate keys.
934              
935             =over
936              
937             =item *
938              
939             C<workflowType.name>: String constraint. The key is
940             C<swf:workflowType.name>.
941              
942             =item *
943              
944             C<workflowType.version>: String constraint. The key is
945             C<swf:workflowType.version>.
946              
947             =back
948              
949             =back
950              
951             If the caller doesn't have sufficient permissions to invoke the action,
952             or the parameter values fall outside the specified constraints, the
953             action fails. The associated event attribute's C<cause> parameter is
954             set to C<OPERATION_NOT_PERMITTED>. For details and example IAM
955             policies, see Using IAM to Manage Access to Amazon SWF Workflows in the
956             I<Amazon SWF Developer Guide>.
957              
958              
959             =head2 GetWorkflowExecutionHistory(Domain => Str, Execution => L<Paws::SimpleWorkflow::WorkflowExecution>, [MaximumPageSize => Int, NextPageToken => Str, ReverseOrder => Bool])
960              
961             Each argument is described in detail in: L<Paws::SimpleWorkflow::GetWorkflowExecutionHistory>
962              
963             Returns: a L<Paws::SimpleWorkflow::History> instance
964              
965             Returns the history of the specified workflow execution. The results
966             may be split into multiple pages. To retrieve subsequent pages, make
967             the call again using the C<nextPageToken> returned by the initial call.
968              
969             This operation is eventually consistent. The results are best effort
970             and may not exactly reflect recent updates and changes.
971              
972             B<Access Control>
973              
974             You can use IAM policies to control this action's access to Amazon SWF
975             resources as follows:
976              
977             =over
978              
979             =item *
980              
981             Use a C<Resource> element with the domain name to limit the action to
982             only specified domains.
983              
984             =item *
985              
986             Use an C<Action> element to allow or deny permission to call this
987             action.
988              
989             =item *
990              
991             You cannot use an IAM policy to constrain this action's parameters.
992              
993             =back
994              
995             If the caller doesn't have sufficient permissions to invoke the action,
996             or the parameter values fall outside the specified constraints, the
997             action fails. The associated event attribute's C<cause> parameter is
998             set to C<OPERATION_NOT_PERMITTED>. For details and example IAM
999             policies, see Using IAM to Manage Access to Amazon SWF Workflows in the
1000             I<Amazon SWF Developer Guide>.
1001              
1002              
1003             =head2 ListActivityTypes(Domain => Str, RegistrationStatus => Str, [MaximumPageSize => Int, Name => Str, NextPageToken => Str, ReverseOrder => Bool])
1004              
1005             Each argument is described in detail in: L<Paws::SimpleWorkflow::ListActivityTypes>
1006              
1007             Returns: a L<Paws::SimpleWorkflow::ActivityTypeInfos> instance
1008              
1009             Returns information about all activities registered in the specified
1010             domain that match the specified name and registration status. The
1011             result includes information like creation date, current status of the
1012             activity, etc. The results may be split into multiple pages. To
1013             retrieve subsequent pages, make the call again using the
1014             C<nextPageToken> returned by the initial call.
1015              
1016             B<Access Control>
1017              
1018             You can use IAM policies to control this action's access to Amazon SWF
1019             resources as follows:
1020              
1021             =over
1022              
1023             =item *
1024              
1025             Use a C<Resource> element with the domain name to limit the action to
1026             only specified domains.
1027              
1028             =item *
1029              
1030             Use an C<Action> element to allow or deny permission to call this
1031             action.
1032              
1033             =item *
1034              
1035             You cannot use an IAM policy to constrain this action's parameters.
1036              
1037             =back
1038              
1039             If the caller doesn't have sufficient permissions to invoke the action,
1040             or the parameter values fall outside the specified constraints, the
1041             action fails. The associated event attribute's C<cause> parameter is
1042             set to C<OPERATION_NOT_PERMITTED>. For details and example IAM
1043             policies, see Using IAM to Manage Access to Amazon SWF Workflows in the
1044             I<Amazon SWF Developer Guide>.
1045              
1046              
1047             =head2 ListClosedWorkflowExecutions(Domain => Str, [CloseStatusFilter => L<Paws::SimpleWorkflow::CloseStatusFilter>, CloseTimeFilter => L<Paws::SimpleWorkflow::ExecutionTimeFilter>, ExecutionFilter => L<Paws::SimpleWorkflow::WorkflowExecutionFilter>, MaximumPageSize => Int, NextPageToken => Str, ReverseOrder => Bool, StartTimeFilter => L<Paws::SimpleWorkflow::ExecutionTimeFilter>, TagFilter => L<Paws::SimpleWorkflow::TagFilter>, TypeFilter => L<Paws::SimpleWorkflow::WorkflowTypeFilter>])
1048              
1049             Each argument is described in detail in: L<Paws::SimpleWorkflow::ListClosedWorkflowExecutions>
1050              
1051             Returns: a L<Paws::SimpleWorkflow::WorkflowExecutionInfos> instance
1052              
1053             Returns a list of closed workflow executions in the specified domain
1054             that meet the filtering criteria. The results may be split into
1055             multiple pages. To retrieve subsequent pages, make the call again using
1056             the nextPageToken returned by the initial call.
1057              
1058             This operation is eventually consistent. The results are best effort
1059             and may not exactly reflect recent updates and changes.
1060              
1061             B<Access Control>
1062              
1063             You can use IAM policies to control this action's access to Amazon SWF
1064             resources as follows:
1065              
1066             =over
1067              
1068             =item *
1069              
1070             Use a C<Resource> element with the domain name to limit the action to
1071             only specified domains.
1072              
1073             =item *
1074              
1075             Use an C<Action> element to allow or deny permission to call this
1076             action.
1077              
1078             =item *
1079              
1080             Constrain the following parameters by using a C<Condition> element with
1081             the appropriate keys.
1082              
1083             =over
1084              
1085             =item *
1086              
1087             C<tagFilter.tag>: String constraint. The key is C<swf:tagFilter.tag>.
1088              
1089             =item *
1090              
1091             C<typeFilter.name>: String constraint. The key is
1092             C<swf:typeFilter.name>.
1093              
1094             =item *
1095              
1096             C<typeFilter.version>: String constraint. The key is
1097             C<swf:typeFilter.version>.
1098              
1099             =back
1100              
1101             =back
1102              
1103             If the caller doesn't have sufficient permissions to invoke the action,
1104             or the parameter values fall outside the specified constraints, the
1105             action fails. The associated event attribute's C<cause> parameter is
1106             set to C<OPERATION_NOT_PERMITTED>. For details and example IAM
1107             policies, see Using IAM to Manage Access to Amazon SWF Workflows in the
1108             I<Amazon SWF Developer Guide>.
1109              
1110              
1111             =head2 ListDomains(RegistrationStatus => Str, [MaximumPageSize => Int, NextPageToken => Str, ReverseOrder => Bool])
1112              
1113             Each argument is described in detail in: L<Paws::SimpleWorkflow::ListDomains>
1114              
1115             Returns: a L<Paws::SimpleWorkflow::DomainInfos> instance
1116              
1117             Returns the list of domains registered in the account. The results may
1118             be split into multiple pages. To retrieve subsequent pages, make the
1119             call again using the nextPageToken returned by the initial call.
1120              
1121             This operation is eventually consistent. The results are best effort
1122             and may not exactly reflect recent updates and changes.
1123              
1124             B<Access Control>
1125              
1126             You can use IAM policies to control this action's access to Amazon SWF
1127             resources as follows:
1128              
1129             =over
1130              
1131             =item *
1132              
1133             Use a C<Resource> element with the domain name to limit the action to
1134             only specified domains. The element must be set to
1135             C<arn:aws:swf::AccountID:domain/*>, where I<AccountID> is the account
1136             ID, with no dashes.
1137              
1138             =item *
1139              
1140             Use an C<Action> element to allow or deny permission to call this
1141             action.
1142              
1143             =item *
1144              
1145             You cannot use an IAM policy to constrain this action's parameters.
1146              
1147             =back
1148              
1149             If the caller doesn't have sufficient permissions to invoke the action,
1150             or the parameter values fall outside the specified constraints, the
1151             action fails. The associated event attribute's C<cause> parameter is
1152             set to C<OPERATION_NOT_PERMITTED>. For details and example IAM
1153             policies, see Using IAM to Manage Access to Amazon SWF Workflows in the
1154             I<Amazon SWF Developer Guide>.
1155              
1156              
1157             =head2 ListOpenWorkflowExecutions(Domain => Str, StartTimeFilter => L<Paws::SimpleWorkflow::ExecutionTimeFilter>, [ExecutionFilter => L<Paws::SimpleWorkflow::WorkflowExecutionFilter>, MaximumPageSize => Int, NextPageToken => Str, ReverseOrder => Bool, TagFilter => L<Paws::SimpleWorkflow::TagFilter>, TypeFilter => L<Paws::SimpleWorkflow::WorkflowTypeFilter>])
1158              
1159             Each argument is described in detail in: L<Paws::SimpleWorkflow::ListOpenWorkflowExecutions>
1160              
1161             Returns: a L<Paws::SimpleWorkflow::WorkflowExecutionInfos> instance
1162              
1163             Returns a list of open workflow executions in the specified domain that
1164             meet the filtering criteria. The results may be split into multiple
1165             pages. To retrieve subsequent pages, make the call again using the
1166             nextPageToken returned by the initial call.
1167              
1168             This operation is eventually consistent. The results are best effort
1169             and may not exactly reflect recent updates and changes.
1170              
1171             B<Access Control>
1172              
1173             You can use IAM policies to control this action's access to Amazon SWF
1174             resources as follows:
1175              
1176             =over
1177              
1178             =item *
1179              
1180             Use a C<Resource> element with the domain name to limit the action to
1181             only specified domains.
1182              
1183             =item *
1184              
1185             Use an C<Action> element to allow or deny permission to call this
1186             action.
1187              
1188             =item *
1189              
1190             Constrain the following parameters by using a C<Condition> element with
1191             the appropriate keys.
1192              
1193             =over
1194              
1195             =item *
1196              
1197             C<tagFilter.tag>: String constraint. The key is C<swf:tagFilter.tag>.
1198              
1199             =item *
1200              
1201             C<typeFilter.name>: String constraint. The key is
1202             C<swf:typeFilter.name>.
1203              
1204             =item *
1205              
1206             C<typeFilter.version>: String constraint. The key is
1207             C<swf:typeFilter.version>.
1208              
1209             =back
1210              
1211             =back
1212              
1213             If the caller doesn't have sufficient permissions to invoke the action,
1214             or the parameter values fall outside the specified constraints, the
1215             action fails. The associated event attribute's C<cause> parameter is
1216             set to C<OPERATION_NOT_PERMITTED>. For details and example IAM
1217             policies, see Using IAM to Manage Access to Amazon SWF Workflows in the
1218             I<Amazon SWF Developer Guide>.
1219              
1220              
1221             =head2 ListWorkflowTypes(Domain => Str, RegistrationStatus => Str, [MaximumPageSize => Int, Name => Str, NextPageToken => Str, ReverseOrder => Bool])
1222              
1223             Each argument is described in detail in: L<Paws::SimpleWorkflow::ListWorkflowTypes>
1224              
1225             Returns: a L<Paws::SimpleWorkflow::WorkflowTypeInfos> instance
1226              
1227             Returns information about workflow types in the specified domain. The
1228             results may be split into multiple pages that can be retrieved by
1229             making the call repeatedly.
1230              
1231             B<Access Control>
1232              
1233             You can use IAM policies to control this action's access to Amazon SWF
1234             resources as follows:
1235              
1236             =over
1237              
1238             =item *
1239              
1240             Use a C<Resource> element with the domain name to limit the action to
1241             only specified domains.
1242              
1243             =item *
1244              
1245             Use an C<Action> element to allow or deny permission to call this
1246             action.
1247              
1248             =item *
1249              
1250             You cannot use an IAM policy to constrain this action's parameters.
1251              
1252             =back
1253              
1254             If the caller doesn't have sufficient permissions to invoke the action,
1255             or the parameter values fall outside the specified constraints, the
1256             action fails. The associated event attribute's C<cause> parameter is
1257             set to C<OPERATION_NOT_PERMITTED>. For details and example IAM
1258             policies, see Using IAM to Manage Access to Amazon SWF Workflows in the
1259             I<Amazon SWF Developer Guide>.
1260              
1261              
1262             =head2 PollForActivityTask(Domain => Str, TaskList => L<Paws::SimpleWorkflow::TaskList>, [Identity => Str])
1263              
1264             Each argument is described in detail in: L<Paws::SimpleWorkflow::PollForActivityTask>
1265              
1266             Returns: a L<Paws::SimpleWorkflow::ActivityTask> instance
1267              
1268             Used by workers to get an ActivityTask from the specified activity
1269             C<taskList>. This initiates a long poll, where the service holds the
1270             HTTP connection open and responds as soon as a task becomes available.
1271             The maximum time the service holds on to the request before responding
1272             is 60 seconds. If no task is available within 60 seconds, the poll
1273             returns an empty result. An empty result, in this context, means that
1274             an ActivityTask is returned, but that the value of taskToken is an
1275             empty string. If a task is returned, the worker should use its type to
1276             identify and process it correctly.
1277              
1278             Workers should set their client side socket timeout to at least 70
1279             seconds (10 seconds higher than the maximum time service may hold the
1280             poll request).
1281              
1282             B<Access Control>
1283              
1284             You can use IAM policies to control this action's access to Amazon SWF
1285             resources as follows:
1286              
1287             =over
1288              
1289             =item *
1290              
1291             Use a C<Resource> element with the domain name to limit the action to
1292             only specified domains.
1293              
1294             =item *
1295              
1296             Use an C<Action> element to allow or deny permission to call this
1297             action.
1298              
1299             =item *
1300              
1301             Constrain the C<taskList.name> parameter by using a C<Condition>
1302             element with the C<swf:taskList.name> key to allow the action to access
1303             only certain task lists.
1304              
1305             =back
1306              
1307             If the caller doesn't have sufficient permissions to invoke the action,
1308             or the parameter values fall outside the specified constraints, the
1309             action fails. The associated event attribute's C<cause> parameter is
1310             set to C<OPERATION_NOT_PERMITTED>. For details and example IAM
1311             policies, see Using IAM to Manage Access to Amazon SWF Workflows in the
1312             I<Amazon SWF Developer Guide>.
1313              
1314              
1315             =head2 PollForDecisionTask(Domain => Str, TaskList => L<Paws::SimpleWorkflow::TaskList>, [Identity => Str, MaximumPageSize => Int, NextPageToken => Str, ReverseOrder => Bool])
1316              
1317             Each argument is described in detail in: L<Paws::SimpleWorkflow::PollForDecisionTask>
1318              
1319             Returns: a L<Paws::SimpleWorkflow::DecisionTask> instance
1320              
1321             Used by deciders to get a DecisionTask from the specified decision
1322             C<taskList>. A decision task may be returned for any open workflow
1323             execution that is using the specified task list. The task includes a
1324             paginated view of the history of the workflow execution. The decider
1325             should use the workflow type and the history to determine how to
1326             properly handle the task.
1327              
1328             This action initiates a long poll, where the service holds the HTTP
1329             connection open and responds as soon a task becomes available. If no
1330             decision task is available in the specified task list before the
1331             timeout of 60 seconds expires, an empty result is returned. An empty
1332             result, in this context, means that a DecisionTask is returned, but
1333             that the value of taskToken is an empty string.
1334              
1335             Deciders should set their client side socket timeout to at least 70
1336             seconds (10 seconds higher than the timeout).
1337              
1338             Because the number of workflow history events for a single workflow
1339             execution might be very large, the result returned might be split up
1340             across a number of pages. To retrieve subsequent pages, make additional
1341             calls to C<PollForDecisionTask> using the C<nextPageToken> returned by
1342             the initial call. Note that you do I<not> call
1343             C<GetWorkflowExecutionHistory> with this C<nextPageToken>. Instead,
1344             call C<PollForDecisionTask> again.
1345              
1346             B<Access Control>
1347              
1348             You can use IAM policies to control this action's access to Amazon SWF
1349             resources as follows:
1350              
1351             =over
1352              
1353             =item *
1354              
1355             Use a C<Resource> element with the domain name to limit the action to
1356             only specified domains.
1357              
1358             =item *
1359              
1360             Use an C<Action> element to allow or deny permission to call this
1361             action.
1362              
1363             =item *
1364              
1365             Constrain the C<taskList.name> parameter by using a C<Condition>
1366             element with the C<swf:taskList.name> key to allow the action to access
1367             only certain task lists.
1368              
1369             =back
1370              
1371             If the caller doesn't have sufficient permissions to invoke the action,
1372             or the parameter values fall outside the specified constraints, the
1373             action fails. The associated event attribute's C<cause> parameter is
1374             set to C<OPERATION_NOT_PERMITTED>. For details and example IAM
1375             policies, see Using IAM to Manage Access to Amazon SWF Workflows in the
1376             I<Amazon SWF Developer Guide>.
1377              
1378              
1379             =head2 RecordActivityTaskHeartbeat(TaskToken => Str, [Details => Str])
1380              
1381             Each argument is described in detail in: L<Paws::SimpleWorkflow::RecordActivityTaskHeartbeat>
1382              
1383             Returns: a L<Paws::SimpleWorkflow::ActivityTaskStatus> instance
1384              
1385             Used by activity workers to report to the service that the ActivityTask
1386             represented by the specified C<taskToken> is still making progress. The
1387             worker can also specify details of the progress, for example percent
1388             complete, using the C<details> parameter. This action can also be used
1389             by the worker as a mechanism to check if cancellation is being
1390             requested for the activity task. If a cancellation is being attempted
1391             for the specified task, then the boolean C<cancelRequested> flag
1392             returned by the service is set to C<true>.
1393              
1394             This action resets the C<taskHeartbeatTimeout> clock. The
1395             C<taskHeartbeatTimeout> is specified in RegisterActivityType.
1396              
1397             This action doesn't in itself create an event in the workflow execution
1398             history. However, if the task times out, the workflow execution history
1399             contains a C<ActivityTaskTimedOut> event that contains the information
1400             from the last heartbeat generated by the activity worker.
1401              
1402             The C<taskStartToCloseTimeout> of an activity type is the maximum
1403             duration of an activity task, regardless of the number of
1404             RecordActivityTaskHeartbeat requests received. The
1405             C<taskStartToCloseTimeout> is also specified in RegisterActivityType.
1406              
1407             This operation is only useful for long-lived activities to report
1408             liveliness of the task and to determine if a cancellation is being
1409             attempted.
1410              
1411             If the C<cancelRequested> flag returns C<true>, a cancellation is being
1412             attempted. If the worker can cancel the activity, it should respond
1413             with RespondActivityTaskCanceled. Otherwise, it should ignore the
1414             cancellation request.
1415              
1416             B<Access Control>
1417              
1418             You can use IAM policies to control this action's access to Amazon SWF
1419             resources as follows:
1420              
1421             =over
1422              
1423             =item *
1424              
1425             Use a C<Resource> element with the domain name to limit the action to
1426             only specified domains.
1427              
1428             =item *
1429              
1430             Use an C<Action> element to allow or deny permission to call this
1431             action.
1432              
1433             =item *
1434              
1435             You cannot use an IAM policy to constrain this action's parameters.
1436              
1437             =back
1438              
1439             If the caller doesn't have sufficient permissions to invoke the action,
1440             or the parameter values fall outside the specified constraints, the
1441             action fails. The associated event attribute's C<cause> parameter is
1442             set to C<OPERATION_NOT_PERMITTED>. For details and example IAM
1443             policies, see Using IAM to Manage Access to Amazon SWF Workflows in the
1444             I<Amazon SWF Developer Guide>.
1445              
1446              
1447             =head2 RegisterActivityType(Domain => Str, Name => Str, Version => Str, [DefaultTaskHeartbeatTimeout => Str, DefaultTaskList => L<Paws::SimpleWorkflow::TaskList>, DefaultTaskPriority => Str, DefaultTaskScheduleToCloseTimeout => Str, DefaultTaskScheduleToStartTimeout => Str, DefaultTaskStartToCloseTimeout => Str, Description => Str])
1448              
1449             Each argument is described in detail in: L<Paws::SimpleWorkflow::RegisterActivityType>
1450              
1451             Returns: nothing
1452              
1453             Registers a new I<activity type> along with its configuration settings
1454             in the specified domain.
1455              
1456             A C<TypeAlreadyExists> fault is returned if the type already exists in
1457             the domain. You cannot change any configuration settings of the type
1458             after its registration, and it must be registered as a new version.
1459              
1460             B<Access Control>
1461              
1462             You can use IAM policies to control this action's access to Amazon SWF
1463             resources as follows:
1464              
1465             =over
1466              
1467             =item *
1468              
1469             Use a C<Resource> element with the domain name to limit the action to
1470             only specified domains.
1471              
1472             =item *
1473              
1474             Use an C<Action> element to allow or deny permission to call this
1475             action.
1476              
1477             =item *
1478              
1479             Constrain the following parameters by using a C<Condition> element with
1480             the appropriate keys.
1481              
1482             =over
1483              
1484             =item *
1485              
1486             C<defaultTaskList.name>: String constraint. The key is
1487             C<swf:defaultTaskList.name>.
1488              
1489             =item *
1490              
1491             C<name>: String constraint. The key is C<swf:name>.
1492              
1493             =item *
1494              
1495             C<version>: String constraint. The key is C<swf:version>.
1496              
1497             =back
1498              
1499             =back
1500              
1501             If the caller doesn't have sufficient permissions to invoke the action,
1502             or the parameter values fall outside the specified constraints, the
1503             action fails. The associated event attribute's C<cause> parameter is
1504             set to C<OPERATION_NOT_PERMITTED>. For details and example IAM
1505             policies, see Using IAM to Manage Access to Amazon SWF Workflows in the
1506             I<Amazon SWF Developer Guide>.
1507              
1508              
1509             =head2 RegisterDomain(Name => Str, WorkflowExecutionRetentionPeriodInDays => Str, [Description => Str])
1510              
1511             Each argument is described in detail in: L<Paws::SimpleWorkflow::RegisterDomain>
1512              
1513             Returns: nothing
1514              
1515             Registers a new domain.
1516              
1517             B<Access Control>
1518              
1519             You can use IAM policies to control this action's access to Amazon SWF
1520             resources as follows:
1521              
1522             =over
1523              
1524             =item *
1525              
1526             You cannot use an IAM policy to control domain access for this action.
1527             The name of the domain being registered is available as the resource of
1528             this action.
1529              
1530             =item *
1531              
1532             Use an C<Action> element to allow or deny permission to call this
1533             action.
1534              
1535             =item *
1536              
1537             You cannot use an IAM policy to constrain this action's parameters.
1538              
1539             =back
1540              
1541             If the caller doesn't have sufficient permissions to invoke the action,
1542             or the parameter values fall outside the specified constraints, the
1543             action fails. The associated event attribute's C<cause> parameter is
1544             set to C<OPERATION_NOT_PERMITTED>. For details and example IAM
1545             policies, see Using IAM to Manage Access to Amazon SWF Workflows in the
1546             I<Amazon SWF Developer Guide>.
1547              
1548              
1549             =head2 RegisterWorkflowType(Domain => Str, Name => Str, Version => Str, [DefaultChildPolicy => Str, DefaultExecutionStartToCloseTimeout => Str, DefaultLambdaRole => Str, DefaultTaskList => L<Paws::SimpleWorkflow::TaskList>, DefaultTaskPriority => Str, DefaultTaskStartToCloseTimeout => Str, Description => Str])
1550              
1551             Each argument is described in detail in: L<Paws::SimpleWorkflow::RegisterWorkflowType>
1552              
1553             Returns: nothing
1554              
1555             Registers a new I<workflow type> and its configuration settings in the
1556             specified domain.
1557              
1558             The retention period for the workflow history is set by the
1559             RegisterDomain action.
1560              
1561             If the type already exists, then a C<TypeAlreadyExists> fault is
1562             returned. You cannot change the configuration settings of a workflow
1563             type once it is registered and it must be registered as a new version.
1564              
1565             B<Access Control>
1566              
1567             You can use IAM policies to control this action's access to Amazon SWF
1568             resources as follows:
1569              
1570             =over
1571              
1572             =item *
1573              
1574             Use a C<Resource> element with the domain name to limit the action to
1575             only specified domains.
1576              
1577             =item *
1578              
1579             Use an C<Action> element to allow or deny permission to call this
1580             action.
1581              
1582             =item *
1583              
1584             Constrain the following parameters by using a C<Condition> element with
1585             the appropriate keys.
1586              
1587             =over
1588              
1589             =item *
1590              
1591             C<defaultTaskList.name>: String constraint. The key is
1592             C<swf:defaultTaskList.name>.
1593              
1594             =item *
1595              
1596             C<name>: String constraint. The key is C<swf:name>.
1597              
1598             =item *
1599              
1600             C<version>: String constraint. The key is C<swf:version>.
1601              
1602             =back
1603              
1604             =back
1605              
1606             If the caller doesn't have sufficient permissions to invoke the action,
1607             or the parameter values fall outside the specified constraints, the
1608             action fails. The associated event attribute's C<cause> parameter is
1609             set to C<OPERATION_NOT_PERMITTED>. For details and example IAM
1610             policies, see Using IAM to Manage Access to Amazon SWF Workflows in the
1611             I<Amazon SWF Developer Guide>.
1612              
1613              
1614             =head2 RequestCancelWorkflowExecution(Domain => Str, WorkflowId => Str, [RunId => Str])
1615              
1616             Each argument is described in detail in: L<Paws::SimpleWorkflow::RequestCancelWorkflowExecution>
1617              
1618             Returns: nothing
1619              
1620             Records a C<WorkflowExecutionCancelRequested> event in the currently
1621             running workflow execution identified by the given domain, workflowId,
1622             and runId. This logically requests the cancellation of the workflow
1623             execution as a whole. It is up to the decider to take appropriate
1624             actions when it receives an execution history with this event.
1625              
1626             If the runId isn't specified, the C<WorkflowExecutionCancelRequested>
1627             event is recorded in the history of the current open workflow execution
1628             with the specified workflowId in the domain.
1629              
1630             Because this action allows the workflow to properly clean up and
1631             gracefully close, it should be used instead of
1632             TerminateWorkflowExecution when possible.
1633              
1634             B<Access Control>
1635              
1636             You can use IAM policies to control this action's access to Amazon SWF
1637             resources as follows:
1638              
1639             =over
1640              
1641             =item *
1642              
1643             Use a C<Resource> element with the domain name to limit the action to
1644             only specified domains.
1645              
1646             =item *
1647              
1648             Use an C<Action> element to allow or deny permission to call this
1649             action.
1650              
1651             =item *
1652              
1653             You cannot use an IAM policy to constrain this action's parameters.
1654              
1655             =back
1656              
1657             If the caller doesn't have sufficient permissions to invoke the action,
1658             or the parameter values fall outside the specified constraints, the
1659             action fails. The associated event attribute's C<cause> parameter is
1660             set to C<OPERATION_NOT_PERMITTED>. For details and example IAM
1661             policies, see Using IAM to Manage Access to Amazon SWF Workflows in the
1662             I<Amazon SWF Developer Guide>.
1663              
1664              
1665             =head2 RespondActivityTaskCanceled(TaskToken => Str, [Details => Str])
1666              
1667             Each argument is described in detail in: L<Paws::SimpleWorkflow::RespondActivityTaskCanceled>
1668              
1669             Returns: nothing
1670              
1671             Used by workers to tell the service that the ActivityTask identified by
1672             the C<taskToken> was successfully canceled. Additional C<details> can
1673             be provided using the C<details> argument.
1674              
1675             These C<details> (if provided) appear in the C<ActivityTaskCanceled>
1676             event added to the workflow history.
1677              
1678             Only use this operation if the C<canceled> flag of a
1679             RecordActivityTaskHeartbeat request returns C<true> and if the activity
1680             can be safely undone or abandoned.
1681              
1682             A task is considered open from the time that it is scheduled until it
1683             is closed. Therefore a task is reported as open while a worker is
1684             processing it. A task is closed after it has been specified in a call
1685             to RespondActivityTaskCompleted, RespondActivityTaskCanceled,
1686             RespondActivityTaskFailed, or the task has timed out.
1687              
1688             B<Access Control>
1689              
1690             You can use IAM policies to control this action's access to Amazon SWF
1691             resources as follows:
1692              
1693             =over
1694              
1695             =item *
1696              
1697             Use a C<Resource> element with the domain name to limit the action to
1698             only specified domains.
1699              
1700             =item *
1701              
1702             Use an C<Action> element to allow or deny permission to call this
1703             action.
1704              
1705             =item *
1706              
1707             You cannot use an IAM policy to constrain this action's parameters.
1708              
1709             =back
1710              
1711             If the caller doesn't have sufficient permissions to invoke the action,
1712             or the parameter values fall outside the specified constraints, the
1713             action fails. The associated event attribute's C<cause> parameter is
1714             set to C<OPERATION_NOT_PERMITTED>. For details and example IAM
1715             policies, see Using IAM to Manage Access to Amazon SWF Workflows in the
1716             I<Amazon SWF Developer Guide>.
1717              
1718              
1719             =head2 RespondActivityTaskCompleted(TaskToken => Str, [Result => Str])
1720              
1721             Each argument is described in detail in: L<Paws::SimpleWorkflow::RespondActivityTaskCompleted>
1722              
1723             Returns: nothing
1724              
1725             Used by workers to tell the service that the ActivityTask identified by
1726             the C<taskToken> completed successfully with a C<result> (if provided).
1727             The C<result> appears in the C<ActivityTaskCompleted> event in the
1728             workflow history.
1729              
1730             If the requested task doesn't complete successfully, use
1731             RespondActivityTaskFailed instead. If the worker finds that the task is
1732             canceled through the C<canceled> flag returned by
1733             RecordActivityTaskHeartbeat, it should cancel the task, clean up and
1734             then call RespondActivityTaskCanceled.
1735              
1736             A task is considered open from the time that it is scheduled until it
1737             is closed. Therefore a task is reported as open while a worker is
1738             processing it. A task is closed after it has been specified in a call
1739             to RespondActivityTaskCompleted, RespondActivityTaskCanceled,
1740             RespondActivityTaskFailed, or the task has timed out.
1741              
1742             B<Access Control>
1743              
1744             You can use IAM policies to control this action's access to Amazon SWF
1745             resources as follows:
1746              
1747             =over
1748              
1749             =item *
1750              
1751             Use a C<Resource> element with the domain name to limit the action to
1752             only specified domains.
1753              
1754             =item *
1755              
1756             Use an C<Action> element to allow or deny permission to call this
1757             action.
1758              
1759             =item *
1760              
1761             You cannot use an IAM policy to constrain this action's parameters.
1762              
1763             =back
1764              
1765             If the caller doesn't have sufficient permissions to invoke the action,
1766             or the parameter values fall outside the specified constraints, the
1767             action fails. The associated event attribute's C<cause> parameter is
1768             set to C<OPERATION_NOT_PERMITTED>. For details and example IAM
1769             policies, see Using IAM to Manage Access to Amazon SWF Workflows in the
1770             I<Amazon SWF Developer Guide>.
1771              
1772              
1773             =head2 RespondActivityTaskFailed(TaskToken => Str, [Details => Str, Reason => Str])
1774              
1775             Each argument is described in detail in: L<Paws::SimpleWorkflow::RespondActivityTaskFailed>
1776              
1777             Returns: nothing
1778              
1779             Used by workers to tell the service that the ActivityTask identified by
1780             the C<taskToken> has failed with C<reason> (if specified). The
1781             C<reason> and C<details> appear in the C<ActivityTaskFailed> event
1782             added to the workflow history.
1783              
1784             A task is considered open from the time that it is scheduled until it
1785             is closed. Therefore a task is reported as open while a worker is
1786             processing it. A task is closed after it has been specified in a call
1787             to RespondActivityTaskCompleted, RespondActivityTaskCanceled,
1788             RespondActivityTaskFailed, or the task has timed out.
1789              
1790             B<Access Control>
1791              
1792             You can use IAM policies to control this action's access to Amazon SWF
1793             resources as follows:
1794              
1795             =over
1796              
1797             =item *
1798              
1799             Use a C<Resource> element with the domain name to limit the action to
1800             only specified domains.
1801              
1802             =item *
1803              
1804             Use an C<Action> element to allow or deny permission to call this
1805             action.
1806              
1807             =item *
1808              
1809             You cannot use an IAM policy to constrain this action's parameters.
1810              
1811             =back
1812              
1813             If the caller doesn't have sufficient permissions to invoke the action,
1814             or the parameter values fall outside the specified constraints, the
1815             action fails. The associated event attribute's C<cause> parameter is
1816             set to C<OPERATION_NOT_PERMITTED>. For details and example IAM
1817             policies, see Using IAM to Manage Access to Amazon SWF Workflows in the
1818             I<Amazon SWF Developer Guide>.
1819              
1820              
1821             =head2 RespondDecisionTaskCompleted(TaskToken => Str, [Decisions => ArrayRef[L<Paws::SimpleWorkflow::Decision>], ExecutionContext => Str])
1822              
1823             Each argument is described in detail in: L<Paws::SimpleWorkflow::RespondDecisionTaskCompleted>
1824              
1825             Returns: nothing
1826              
1827             Used by deciders to tell the service that the DecisionTask identified
1828             by the C<taskToken> has successfully completed. The C<decisions>
1829             argument specifies the list of decisions made while processing the
1830             task.
1831              
1832             A C<DecisionTaskCompleted> event is added to the workflow history. The
1833             C<executionContext> specified is attached to the event in the workflow
1834             execution history.
1835              
1836             B<Access Control>
1837              
1838             If an IAM policy grants permission to use
1839             C<RespondDecisionTaskCompleted>, it can express permissions for the
1840             list of decisions in the C<decisions> parameter. Each of the decisions
1841             has one or more parameters, much like a regular API call. To allow for
1842             policies to be as readable as possible, you can express permissions on
1843             decisions as if they were actual API calls, including applying
1844             conditions to some parameters. For more information, see Using IAM to
1845             Manage Access to Amazon SWF Workflows in the I<Amazon SWF Developer
1846             Guide>.
1847              
1848              
1849             =head2 SignalWorkflowExecution(Domain => Str, SignalName => Str, WorkflowId => Str, [Input => Str, RunId => Str])
1850              
1851             Each argument is described in detail in: L<Paws::SimpleWorkflow::SignalWorkflowExecution>
1852              
1853             Returns: nothing
1854              
1855             Records a C<WorkflowExecutionSignaled> event in the workflow execution
1856             history and creates a decision task for the workflow execution
1857             identified by the given domain, workflowId and runId. The event is
1858             recorded with the specified user defined signalName and input (if
1859             provided).
1860              
1861             If a runId isn't specified, then the C<WorkflowExecutionSignaled> event
1862             is recorded in the history of the current open workflow with the
1863             matching workflowId in the domain.
1864              
1865             If the specified workflow execution isn't open, this method fails with
1866             C<UnknownResource>.
1867              
1868             B<Access Control>
1869              
1870             You can use IAM policies to control this action's access to Amazon SWF
1871             resources as follows:
1872              
1873             =over
1874              
1875             =item *
1876              
1877             Use a C<Resource> element with the domain name to limit the action to
1878             only specified domains.
1879              
1880             =item *
1881              
1882             Use an C<Action> element to allow or deny permission to call this
1883             action.
1884              
1885             =item *
1886              
1887             You cannot use an IAM policy to constrain this action's parameters.
1888              
1889             =back
1890              
1891             If the caller doesn't have sufficient permissions to invoke the action,
1892             or the parameter values fall outside the specified constraints, the
1893             action fails. The associated event attribute's C<cause> parameter is
1894             set to C<OPERATION_NOT_PERMITTED>. For details and example IAM
1895             policies, see Using IAM to Manage Access to Amazon SWF Workflows in the
1896             I<Amazon SWF Developer Guide>.
1897              
1898              
1899             =head2 StartWorkflowExecution(Domain => Str, WorkflowId => Str, WorkflowType => L<Paws::SimpleWorkflow::WorkflowType>, [ChildPolicy => Str, ExecutionStartToCloseTimeout => Str, Input => Str, LambdaRole => Str, TagList => ArrayRef[Str|Undef], TaskList => L<Paws::SimpleWorkflow::TaskList>, TaskPriority => Str, TaskStartToCloseTimeout => Str])
1900              
1901             Each argument is described in detail in: L<Paws::SimpleWorkflow::StartWorkflowExecution>
1902              
1903             Returns: a L<Paws::SimpleWorkflow::Run> instance
1904              
1905             Starts an execution of the workflow type in the specified domain using
1906             the provided C<workflowId> and input data.
1907              
1908             This action returns the newly started workflow execution.
1909              
1910             B<Access Control>
1911              
1912             You can use IAM policies to control this action's access to Amazon SWF
1913             resources as follows:
1914              
1915             =over
1916              
1917             =item *
1918              
1919             Use a C<Resource> element with the domain name to limit the action to
1920             only specified domains.
1921              
1922             =item *
1923              
1924             Use an C<Action> element to allow or deny permission to call this
1925             action.
1926              
1927             =item *
1928              
1929             Constrain the following parameters by using a C<Condition> element with
1930             the appropriate keys.
1931              
1932             =over
1933              
1934             =item *
1935              
1936             C<tagList.member.0>: The key is C<swf:tagList.member.0>.
1937              
1938             =item *
1939              
1940             C<tagList.member.1>: The key is C<swf:tagList.member.1>.
1941              
1942             =item *
1943              
1944             C<tagList.member.2>: The key is C<swf:tagList.member.2>.
1945              
1946             =item *
1947              
1948             C<tagList.member.3>: The key is C<swf:tagList.member.3>.
1949              
1950             =item *
1951              
1952             C<tagList.member.4>: The key is C<swf:tagList.member.4>.
1953              
1954             =item *
1955              
1956             C<taskList>: String constraint. The key is C<swf:taskList.name>.
1957              
1958             =item *
1959              
1960             C<workflowType.name>: String constraint. The key is
1961             C<swf:workflowType.name>.
1962              
1963             =item *
1964              
1965             C<workflowType.version>: String constraint. The key is
1966             C<swf:workflowType.version>.
1967              
1968             =back
1969              
1970             =back
1971              
1972             If the caller doesn't have sufficient permissions to invoke the action,
1973             or the parameter values fall outside the specified constraints, the
1974             action fails. The associated event attribute's C<cause> parameter is
1975             set to C<OPERATION_NOT_PERMITTED>. For details and example IAM
1976             policies, see Using IAM to Manage Access to Amazon SWF Workflows in the
1977             I<Amazon SWF Developer Guide>.
1978              
1979              
1980             =head2 TerminateWorkflowExecution(Domain => Str, WorkflowId => Str, [ChildPolicy => Str, Details => Str, Reason => Str, RunId => Str])
1981              
1982             Each argument is described in detail in: L<Paws::SimpleWorkflow::TerminateWorkflowExecution>
1983              
1984             Returns: nothing
1985              
1986             Records a C<WorkflowExecutionTerminated> event and forces closure of
1987             the workflow execution identified by the given domain, runId, and
1988             workflowId. The child policy, registered with the workflow type or
1989             specified when starting this execution, is applied to any open child
1990             workflow executions of this workflow execution.
1991              
1992             If the identified workflow execution was in progress, it is terminated
1993             immediately.
1994              
1995             If a runId isn't specified, then the C<WorkflowExecutionTerminated>
1996             event is recorded in the history of the current open workflow with the
1997             matching workflowId in the domain.
1998              
1999             You should consider using RequestCancelWorkflowExecution action instead
2000             because it allows the workflow to gracefully close while
2001             TerminateWorkflowExecution doesn't.
2002              
2003             B<Access Control>
2004              
2005             You can use IAM policies to control this action's access to Amazon SWF
2006             resources as follows:
2007              
2008             =over
2009              
2010             =item *
2011              
2012             Use a C<Resource> element with the domain name to limit the action to
2013             only specified domains.
2014              
2015             =item *
2016              
2017             Use an C<Action> element to allow or deny permission to call this
2018             action.
2019              
2020             =item *
2021              
2022             You cannot use an IAM policy to constrain this action's parameters.
2023              
2024             =back
2025              
2026             If the caller doesn't have sufficient permissions to invoke the action,
2027             or the parameter values fall outside the specified constraints, the
2028             action fails. The associated event attribute's C<cause> parameter is
2029             set to C<OPERATION_NOT_PERMITTED>. For details and example IAM
2030             policies, see Using IAM to Manage Access to Amazon SWF Workflows in the
2031             I<Amazon SWF Developer Guide>.
2032              
2033              
2034              
2035              
2036             =head1 PAGINATORS
2037              
2038             Paginator methods are helpers that repetively call methods that return partial results
2039              
2040             =head2 GetAllWorkflowExecutionHistory(sub { },Domain => Str, Execution => L<Paws::SimpleWorkflow::WorkflowExecution>, [MaximumPageSize => Int, NextPageToken => Str, ReverseOrder => Bool])
2041              
2042             =head2 GetAllWorkflowExecutionHistory(Domain => Str, Execution => L<Paws::SimpleWorkflow::WorkflowExecution>, [MaximumPageSize => Int, NextPageToken => Str, ReverseOrder => Bool])
2043              
2044              
2045             If passed a sub as first parameter, it will call the sub for each element found in :
2046              
2047             - events, passing the object as the first parameter, and the string 'events' as the second parameter
2048              
2049             If not, it will return a a L<Paws::SimpleWorkflow::History> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.
2050              
2051              
2052             =head2 ListAllActivityTypes(sub { },Domain => Str, RegistrationStatus => Str, [MaximumPageSize => Int, Name => Str, NextPageToken => Str, ReverseOrder => Bool])
2053              
2054             =head2 ListAllActivityTypes(Domain => Str, RegistrationStatus => Str, [MaximumPageSize => Int, Name => Str, NextPageToken => Str, ReverseOrder => Bool])
2055              
2056              
2057             If passed a sub as first parameter, it will call the sub for each element found in :
2058              
2059             - typeInfos, passing the object as the first parameter, and the string 'typeInfos' as the second parameter
2060              
2061             If not, it will return a a L<Paws::SimpleWorkflow::ActivityTypeInfos> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.
2062              
2063              
2064             =head2 ListAllClosedWorkflowExecutions(sub { },Domain => Str, [CloseStatusFilter => L<Paws::SimpleWorkflow::CloseStatusFilter>, CloseTimeFilter => L<Paws::SimpleWorkflow::ExecutionTimeFilter>, ExecutionFilter => L<Paws::SimpleWorkflow::WorkflowExecutionFilter>, MaximumPageSize => Int, NextPageToken => Str, ReverseOrder => Bool, StartTimeFilter => L<Paws::SimpleWorkflow::ExecutionTimeFilter>, TagFilter => L<Paws::SimpleWorkflow::TagFilter>, TypeFilter => L<Paws::SimpleWorkflow::WorkflowTypeFilter>])
2065              
2066             =head2 ListAllClosedWorkflowExecutions(Domain => Str, [CloseStatusFilter => L<Paws::SimpleWorkflow::CloseStatusFilter>, CloseTimeFilter => L<Paws::SimpleWorkflow::ExecutionTimeFilter>, ExecutionFilter => L<Paws::SimpleWorkflow::WorkflowExecutionFilter>, MaximumPageSize => Int, NextPageToken => Str, ReverseOrder => Bool, StartTimeFilter => L<Paws::SimpleWorkflow::ExecutionTimeFilter>, TagFilter => L<Paws::SimpleWorkflow::TagFilter>, TypeFilter => L<Paws::SimpleWorkflow::WorkflowTypeFilter>])
2067              
2068              
2069             If passed a sub as first parameter, it will call the sub for each element found in :
2070              
2071             - executionInfos, passing the object as the first parameter, and the string 'executionInfos' as the second parameter
2072              
2073             If not, it will return a a L<Paws::SimpleWorkflow::WorkflowExecutionInfos> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.
2074              
2075              
2076             =head2 ListAllDomains(sub { },RegistrationStatus => Str, [MaximumPageSize => Int, NextPageToken => Str, ReverseOrder => Bool])
2077              
2078             =head2 ListAllDomains(RegistrationStatus => Str, [MaximumPageSize => Int, NextPageToken => Str, ReverseOrder => Bool])
2079              
2080              
2081             If passed a sub as first parameter, it will call the sub for each element found in :
2082              
2083             - domainInfos, passing the object as the first parameter, and the string 'domainInfos' as the second parameter
2084              
2085             If not, it will return a a L<Paws::SimpleWorkflow::DomainInfos> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.
2086              
2087              
2088             =head2 ListAllOpenWorkflowExecutions(sub { },Domain => Str, StartTimeFilter => L<Paws::SimpleWorkflow::ExecutionTimeFilter>, [ExecutionFilter => L<Paws::SimpleWorkflow::WorkflowExecutionFilter>, MaximumPageSize => Int, NextPageToken => Str, ReverseOrder => Bool, TagFilter => L<Paws::SimpleWorkflow::TagFilter>, TypeFilter => L<Paws::SimpleWorkflow::WorkflowTypeFilter>])
2089              
2090             =head2 ListAllOpenWorkflowExecutions(Domain => Str, StartTimeFilter => L<Paws::SimpleWorkflow::ExecutionTimeFilter>, [ExecutionFilter => L<Paws::SimpleWorkflow::WorkflowExecutionFilter>, MaximumPageSize => Int, NextPageToken => Str, ReverseOrder => Bool, TagFilter => L<Paws::SimpleWorkflow::TagFilter>, TypeFilter => L<Paws::SimpleWorkflow::WorkflowTypeFilter>])
2091              
2092              
2093             If passed a sub as first parameter, it will call the sub for each element found in :
2094              
2095             - executionInfos, passing the object as the first parameter, and the string 'executionInfos' as the second parameter
2096              
2097             If not, it will return a a L<Paws::SimpleWorkflow::WorkflowExecutionInfos> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.
2098              
2099              
2100             =head2 ListAllWorkflowTypes(sub { },Domain => Str, RegistrationStatus => Str, [MaximumPageSize => Int, Name => Str, NextPageToken => Str, ReverseOrder => Bool])
2101              
2102             =head2 ListAllWorkflowTypes(Domain => Str, RegistrationStatus => Str, [MaximumPageSize => Int, Name => Str, NextPageToken => Str, ReverseOrder => Bool])
2103              
2104              
2105             If passed a sub as first parameter, it will call the sub for each element found in :
2106              
2107             - typeInfos, passing the object as the first parameter, and the string 'typeInfos' as the second parameter
2108              
2109             If not, it will return a a L<Paws::SimpleWorkflow::WorkflowTypeInfos> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.
2110              
2111              
2112             =head2 PollForAllDecisionTasks(sub { },Domain => Str, TaskList => L<Paws::SimpleWorkflow::TaskList>, [Identity => Str, MaximumPageSize => Int, NextPageToken => Str, ReverseOrder => Bool])
2113              
2114             =head2 PollForAllDecisionTasks(Domain => Str, TaskList => L<Paws::SimpleWorkflow::TaskList>, [Identity => Str, MaximumPageSize => Int, NextPageToken => Str, ReverseOrder => Bool])
2115              
2116              
2117             If passed a sub as first parameter, it will call the sub for each element found in :
2118              
2119             - events, passing the object as the first parameter, and the string 'events' as the second parameter
2120              
2121             If not, it will return a a L<Paws::SimpleWorkflow::DecisionTask> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.
2122              
2123              
2124              
2125              
2126              
2127             =head1 SEE ALSO
2128              
2129             This service class forms part of L<Paws>
2130              
2131             =head1 BUGS and CONTRIBUTIONS
2132              
2133             The source code is located here: https://github.com/pplu/aws-sdk-perl
2134              
2135             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
2136              
2137             =cut
2138