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   1390 use Moose;
  1     1   4  
  1         12  
  1         36375  
  1         5  
  1         21  
3 10     10 0 44 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 Amazon SWF Developer Guide.
380              
381             =head1 METHODS
382              
383             =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>])
384              
385             Each argument is described in detail in: L<Paws::SimpleWorkflow::CountClosedWorkflowExecutions>
386              
387             Returns: a L<Paws::SimpleWorkflow::WorkflowExecutionCount> instance
388              
389             Returns the number of closed workflow executions within the given
390             domain that meet the specified filtering criteria.
391              
392             This operation is eventually consistent. The results are best effort
393             and may not exactly reflect recent updates and changes.
394              
395             B<Access Control>
396              
397             You can use IAM policies to control this action's access to Amazon SWF
398             resources as follows:
399              
400             =over
401              
402             =item * Use a C<Resource> element with the domain name to limit the
403             action to only specified domains.
404              
405             =item * Use an C<Action> element to allow or deny permission to call
406             this action.
407              
408             =item * Constrain the following parameters by using a C<Condition>
409             element with the appropriate keys.
410              
411             =over
412              
413             =item * C<tagFilter.tag>: String constraint. The key is
414             C<swf:tagFilter.tag>.
415              
416             =item * C<typeFilter.name>: String constraint. The key is
417             C<swf:typeFilter.name>.
418              
419             =item * C<typeFilter.version>: String constraint. The key is
420             C<swf:typeFilter.version>.
421              
422             =back
423              
424             =back
425              
426             If the caller does not have sufficient permissions to invoke the
427             action, or the parameter values fall outside the specified constraints,
428             the action fails. The associated event attribute's B<cause> parameter
429             will be set to OPERATION_NOT_PERMITTED. For details and example IAM
430             policies, see Using IAM to Manage Access to Amazon SWF Workflows.
431              
432              
433             =head2 CountOpenWorkflowExecutions(Domain => Str, StartTimeFilter => L<Paws::SimpleWorkflow::ExecutionTimeFilter>, [ExecutionFilter => L<Paws::SimpleWorkflow::WorkflowExecutionFilter>, TagFilter => L<Paws::SimpleWorkflow::TagFilter>, TypeFilter => L<Paws::SimpleWorkflow::WorkflowTypeFilter>])
434              
435             Each argument is described in detail in: L<Paws::SimpleWorkflow::CountOpenWorkflowExecutions>
436              
437             Returns: a L<Paws::SimpleWorkflow::WorkflowExecutionCount> instance
438              
439             Returns the number of open workflow executions within the given domain
440             that meet the specified filtering criteria.
441              
442             This operation is eventually consistent. The results are best effort
443             and may not exactly reflect recent updates and changes.
444              
445             B<Access Control>
446              
447             You can use IAM policies to control this action's access to Amazon SWF
448             resources as follows:
449              
450             =over
451              
452             =item * Use a C<Resource> element with the domain name to limit the
453             action to only specified domains.
454              
455             =item * Use an C<Action> element to allow or deny permission to call
456             this action.
457              
458             =item * Constrain the following parameters by using a C<Condition>
459             element with the appropriate keys.
460              
461             =over
462              
463             =item * C<tagFilter.tag>: String constraint. The key is
464             C<swf:tagFilter.tag>.
465              
466             =item * C<typeFilter.name>: String constraint. The key is
467             C<swf:typeFilter.name>.
468              
469             =item * C<typeFilter.version>: String constraint. The key is
470             C<swf:typeFilter.version>.
471              
472             =back
473              
474             =back
475              
476             If the caller does not have sufficient permissions to invoke the
477             action, or the parameter values fall outside the specified constraints,
478             the action fails. The associated event attribute's B<cause> parameter
479             will be set to OPERATION_NOT_PERMITTED. For details and example IAM
480             policies, see Using IAM to Manage Access to Amazon SWF Workflows.
481              
482              
483             =head2 CountPendingActivityTasks(Domain => Str, TaskList => L<Paws::SimpleWorkflow::TaskList>)
484              
485             Each argument is described in detail in: L<Paws::SimpleWorkflow::CountPendingActivityTasks>
486              
487             Returns: a L<Paws::SimpleWorkflow::PendingTaskCount> instance
488              
489             Returns the estimated number of activity tasks in the specified task
490             list. The count returned is an approximation and is not guaranteed to
491             be exact. If you specify a task list that no activity task was ever
492             scheduled in then 0 will be returned.
493              
494             B<Access Control>
495              
496             You can use IAM policies to control this action's access to Amazon SWF
497             resources as follows:
498              
499             =over
500              
501             =item * Use a C<Resource> element with the domain name to limit the
502             action to only specified domains.
503              
504             =item * Use an C<Action> element to allow or deny permission to call
505             this action.
506              
507             =item * Constrain the C<taskList.name> parameter by using a
508             B<Condition> element with the C<swf:taskList.name> key to allow the
509             action to access only certain task lists.
510              
511             =back
512              
513             If the caller does not have sufficient permissions to invoke the
514             action, or the parameter values fall outside the specified constraints,
515             the action fails. The associated event attribute's B<cause> parameter
516             will be set to OPERATION_NOT_PERMITTED. For details and example IAM
517             policies, see Using IAM to Manage Access to Amazon SWF Workflows.
518              
519              
520             =head2 CountPendingDecisionTasks(Domain => Str, TaskList => L<Paws::SimpleWorkflow::TaskList>)
521              
522             Each argument is described in detail in: L<Paws::SimpleWorkflow::CountPendingDecisionTasks>
523              
524             Returns: a L<Paws::SimpleWorkflow::PendingTaskCount> instance
525              
526             Returns the estimated number of decision tasks in the specified task
527             list. The count returned is an approximation and is not guaranteed to
528             be exact. If you specify a task list that no decision task was ever
529             scheduled in then 0 will be returned.
530              
531             B<Access Control>
532              
533             You can use IAM policies to control this action's access to Amazon SWF
534             resources as follows:
535              
536             =over
537              
538             =item * Use a C<Resource> element with the domain name to limit the
539             action to only specified domains.
540              
541             =item * Use an C<Action> element to allow or deny permission to call
542             this action.
543              
544             =item * Constrain the C<taskList.name> parameter by using a
545             B<Condition> element with the C<swf:taskList.name> key to allow the
546             action to access only certain task lists.
547              
548             =back
549              
550             If the caller does not have sufficient permissions to invoke the
551             action, or the parameter values fall outside the specified constraints,
552             the action fails. The associated event attribute's B<cause> parameter
553             will be set to OPERATION_NOT_PERMITTED. For details and example IAM
554             policies, see Using IAM to Manage Access to Amazon SWF Workflows.
555              
556              
557             =head2 DeprecateActivityType(ActivityType => L<Paws::SimpleWorkflow::ActivityType>, Domain => Str)
558              
559             Each argument is described in detail in: L<Paws::SimpleWorkflow::DeprecateActivityType>
560              
561             Returns: nothing
562              
563             Deprecates the specified I<activity type>. After an activity type has
564             been deprecated, you cannot create new tasks of that activity type.
565             Tasks of this type that were scheduled before the type was deprecated
566             will continue to run.
567              
568             This operation is eventually consistent. The results are best effort
569             and may not exactly reflect recent updates and changes.
570              
571             B<Access Control>
572              
573             You can use IAM policies to control this action's access to Amazon SWF
574             resources as follows:
575              
576             =over
577              
578             =item * Use a C<Resource> element with the domain name to limit the
579             action to only specified domains.
580              
581             =item * Use an C<Action> element to allow or deny permission to call
582             this action.
583              
584             =item * Constrain the following parameters by using a C<Condition>
585             element with the appropriate keys.
586              
587             =over
588              
589             =item * C<activityType.name>: String constraint. The key is
590             C<swf:activityType.name>.
591              
592             =item * C<activityType.version>: String constraint. The key is
593             C<swf:activityType.version>.
594              
595             =back
596              
597             =back
598              
599             If the caller does not have sufficient permissions to invoke the
600             action, or the parameter values fall outside the specified constraints,
601             the action fails. The associated event attribute's B<cause> parameter
602             will be set to OPERATION_NOT_PERMITTED. For details and example IAM
603             policies, see Using IAM to Manage Access to Amazon SWF Workflows.
604              
605              
606             =head2 DeprecateDomain(Name => Str)
607              
608             Each argument is described in detail in: L<Paws::SimpleWorkflow::DeprecateDomain>
609              
610             Returns: nothing
611              
612             Deprecates the specified domain. After a domain has been deprecated it
613             cannot be used to create new workflow executions or register new types.
614             However, you can still use visibility actions on this domain.
615             Deprecating a domain also deprecates all activity and workflow types
616             registered in the domain. Executions that were started before the
617             domain was deprecated will continue to run.
618              
619             This operation is eventually consistent. The results are best effort
620             and may not exactly reflect recent updates and changes.
621              
622             B<Access Control>
623              
624             You can use IAM policies to control this action's access to Amazon SWF
625             resources as follows:
626              
627             =over
628              
629             =item * Use a C<Resource> element with the domain name to limit the
630             action to only specified domains.
631              
632             =item * Use an C<Action> element to allow or deny permission to call
633             this action.
634              
635             =item * You cannot use an IAM policy to constrain this action's
636             parameters.
637              
638             =back
639              
640             If the caller does not have sufficient permissions to invoke the
641             action, or the parameter values fall outside the specified constraints,
642             the action fails. The associated event attribute's B<cause> parameter
643             will be set to OPERATION_NOT_PERMITTED. For details and example IAM
644             policies, see Using IAM to Manage Access to Amazon SWF Workflows.
645              
646              
647             =head2 DeprecateWorkflowType(Domain => Str, WorkflowType => L<Paws::SimpleWorkflow::WorkflowType>)
648              
649             Each argument is described in detail in: L<Paws::SimpleWorkflow::DeprecateWorkflowType>
650              
651             Returns: nothing
652              
653             Deprecates the specified I<workflow type>. After a workflow type has
654             been deprecated, you cannot create new executions of that type.
655             Executions that were started before the type was deprecated will
656             continue to run. A deprecated workflow type may still be used when
657             calling visibility actions.
658              
659             This operation is eventually consistent. The results are best effort
660             and may not exactly reflect recent updates and changes.
661              
662             B<Access Control>
663              
664             You can use IAM policies to control this action's access to Amazon SWF
665             resources as follows:
666              
667             =over
668              
669             =item * Use a C<Resource> element with the domain name to limit the
670             action to only specified domains.
671              
672             =item * Use an C<Action> element to allow or deny permission to call
673             this action.
674              
675             =item * Constrain the following parameters by using a C<Condition>
676             element with the appropriate keys.
677              
678             =over
679              
680             =item * C<workflowType.name>: String constraint. The key is
681             C<swf:workflowType.name>.
682              
683             =item * C<workflowType.version>: String constraint. The key is
684             C<swf:workflowType.version>.
685              
686             =back
687              
688             =back
689              
690             If the caller does not have sufficient permissions to invoke the
691             action, or the parameter values fall outside the specified constraints,
692             the action fails. The associated event attribute's B<cause> parameter
693             will be set to OPERATION_NOT_PERMITTED. For details and example IAM
694             policies, see Using IAM to Manage Access to Amazon SWF Workflows.
695              
696              
697             =head2 DescribeActivityType(ActivityType => L<Paws::SimpleWorkflow::ActivityType>, Domain => Str)
698              
699             Each argument is described in detail in: L<Paws::SimpleWorkflow::DescribeActivityType>
700              
701             Returns: a L<Paws::SimpleWorkflow::ActivityTypeDetail> instance
702              
703             Returns information about the specified activity type. This includes
704             configuration settings provided when the type was registered and other
705             general information about the type.
706              
707             B<Access Control>
708              
709             You can use IAM policies to control this action's access to Amazon SWF
710             resources as follows:
711              
712             =over
713              
714             =item * Use a C<Resource> element with the domain name to limit the
715             action to only specified domains.
716              
717             =item * Use an C<Action> element to allow or deny permission to call
718             this action.
719              
720             =item * Constrain the following parameters by using a C<Condition>
721             element with the appropriate keys.
722              
723             =over
724              
725             =item * C<activityType.name>: String constraint. The key is
726             C<swf:activityType.name>.
727              
728             =item * C<activityType.version>: String constraint. The key is
729             C<swf:activityType.version>.
730              
731             =back
732              
733             =back
734              
735             If the caller does not have sufficient permissions to invoke the
736             action, or the parameter values fall outside the specified constraints,
737             the action fails. The associated event attribute's B<cause> parameter
738             will be set to OPERATION_NOT_PERMITTED. For details and example IAM
739             policies, see Using IAM to Manage Access to Amazon SWF Workflows.
740              
741              
742             =head2 DescribeDomain(Name => Str)
743              
744             Each argument is described in detail in: L<Paws::SimpleWorkflow::DescribeDomain>
745              
746             Returns: a L<Paws::SimpleWorkflow::DomainDetail> instance
747              
748             Returns information about the specified domain, including description
749             and status.
750              
751             B<Access Control>
752              
753             You can use IAM policies to control this action's access to Amazon SWF
754             resources as follows:
755              
756             =over
757              
758             =item * Use a C<Resource> element with the domain name to limit the
759             action to only specified domains.
760              
761             =item * Use an C<Action> element to allow or deny permission to call
762             this action.
763              
764             =item * You cannot use an IAM policy to constrain this action's
765             parameters.
766              
767             =back
768              
769             If the caller does not have sufficient permissions to invoke the
770             action, or the parameter values fall outside the specified constraints,
771             the action fails. The associated event attribute's B<cause> parameter
772             will be set to OPERATION_NOT_PERMITTED. For details and example IAM
773             policies, see Using IAM to Manage Access to Amazon SWF Workflows.
774              
775              
776             =head2 DescribeWorkflowExecution(Domain => Str, Execution => L<Paws::SimpleWorkflow::WorkflowExecution>)
777              
778             Each argument is described in detail in: L<Paws::SimpleWorkflow::DescribeWorkflowExecution>
779              
780             Returns: a L<Paws::SimpleWorkflow::WorkflowExecutionDetail> instance
781              
782             Returns information about the specified workflow execution including
783             its type and some statistics.
784              
785             This operation is eventually consistent. The results are best effort
786             and may not exactly reflect recent updates and changes.
787              
788             B<Access Control>
789              
790             You can use IAM policies to control this action's access to Amazon SWF
791             resources as follows:
792              
793             =over
794              
795             =item * Use a C<Resource> element with the domain name to limit the
796             action to only specified domains.
797              
798             =item * Use an C<Action> element to allow or deny permission to call
799             this action.
800              
801             =item * You cannot use an IAM policy to constrain this action's
802             parameters.
803              
804             =back
805              
806             If the caller does not have sufficient permissions to invoke the
807             action, or the parameter values fall outside the specified constraints,
808             the action fails. The associated event attribute's B<cause> parameter
809             will be set to OPERATION_NOT_PERMITTED. For details and example IAM
810             policies, see Using IAM to Manage Access to Amazon SWF Workflows.
811              
812              
813             =head2 DescribeWorkflowType(Domain => Str, WorkflowType => L<Paws::SimpleWorkflow::WorkflowType>)
814              
815             Each argument is described in detail in: L<Paws::SimpleWorkflow::DescribeWorkflowType>
816              
817             Returns: a L<Paws::SimpleWorkflow::WorkflowTypeDetail> instance
818              
819             Returns information about the specified I<workflow type>. This includes
820             configuration settings specified when the type was registered and other
821             information such as creation date, current status, and so on.
822              
823             B<Access Control>
824              
825             You can use IAM policies to control this action's access to Amazon SWF
826             resources as follows:
827              
828             =over
829              
830             =item * Use a C<Resource> element with the domain name to limit the
831             action to only specified domains.
832              
833             =item * Use an C<Action> element to allow or deny permission to call
834             this action.
835              
836             =item * Constrain the following parameters by using a C<Condition>
837             element with the appropriate keys.
838              
839             =over
840              
841             =item * C<workflowType.name>: String constraint. The key is
842             C<swf:workflowType.name>.
843              
844             =item * C<workflowType.version>: String constraint. The key is
845             C<swf:workflowType.version>.
846              
847             =back
848              
849             =back
850              
851             If the caller does not have sufficient permissions to invoke the
852             action, or the parameter values fall outside the specified constraints,
853             the action fails. The associated event attribute's B<cause> parameter
854             will be set to OPERATION_NOT_PERMITTED. For details and example IAM
855             policies, see Using IAM to Manage Access to Amazon SWF Workflows.
856              
857              
858             =head2 GetWorkflowExecutionHistory(Domain => Str, Execution => L<Paws::SimpleWorkflow::WorkflowExecution>, [MaximumPageSize => Int, NextPageToken => Str, ReverseOrder => Bool])
859              
860             Each argument is described in detail in: L<Paws::SimpleWorkflow::GetWorkflowExecutionHistory>
861              
862             Returns: a L<Paws::SimpleWorkflow::History> instance
863              
864             Returns the history of the specified workflow execution. The results
865             may be split into multiple pages. To retrieve subsequent pages, make
866             the call again using the C<nextPageToken> returned by the initial call.
867              
868             This operation is eventually consistent. The results are best effort
869             and may not exactly reflect recent updates and changes.
870              
871             B<Access Control>
872              
873             You can use IAM policies to control this action's access to Amazon SWF
874             resources as follows:
875              
876             =over
877              
878             =item * Use a C<Resource> element with the domain name to limit the
879             action to only specified domains.
880              
881             =item * Use an C<Action> element to allow or deny permission to call
882             this action.
883              
884             =item * You cannot use an IAM policy to constrain this action's
885             parameters.
886              
887             =back
888              
889             If the caller does not have sufficient permissions to invoke the
890             action, or the parameter values fall outside the specified constraints,
891             the action fails. The associated event attribute's B<cause> parameter
892             will be set to OPERATION_NOT_PERMITTED. For details and example IAM
893             policies, see Using IAM to Manage Access to Amazon SWF Workflows.
894              
895              
896             =head2 ListActivityTypes(Domain => Str, RegistrationStatus => Str, [MaximumPageSize => Int, Name => Str, NextPageToken => Str, ReverseOrder => Bool])
897              
898             Each argument is described in detail in: L<Paws::SimpleWorkflow::ListActivityTypes>
899              
900             Returns: a L<Paws::SimpleWorkflow::ActivityTypeInfos> instance
901              
902             Returns information about all activities registered in the specified
903             domain that match the specified name and registration status. The
904             result includes information like creation date, current status of the
905             activity, etc. The results may be split into multiple pages. To
906             retrieve subsequent pages, make the call again using the
907             C<nextPageToken> returned by the initial call.
908              
909             B<Access Control>
910              
911             You can use IAM policies to control this action's access to Amazon SWF
912             resources as follows:
913              
914             =over
915              
916             =item * Use a C<Resource> element with the domain name to limit the
917             action to only specified domains.
918              
919             =item * Use an C<Action> element to allow or deny permission to call
920             this action.
921              
922             =item * You cannot use an IAM policy to constrain this action's
923             parameters.
924              
925             =back
926              
927             If the caller does not have sufficient permissions to invoke the
928             action, or the parameter values fall outside the specified constraints,
929             the action fails. The associated event attribute's B<cause> parameter
930             will be set to OPERATION_NOT_PERMITTED. For details and example IAM
931             policies, see Using IAM to Manage Access to Amazon SWF Workflows.
932              
933              
934             =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>])
935              
936             Each argument is described in detail in: L<Paws::SimpleWorkflow::ListClosedWorkflowExecutions>
937              
938             Returns: a L<Paws::SimpleWorkflow::WorkflowExecutionInfos> instance
939              
940             Returns a list of closed workflow executions in the specified domain
941             that meet the filtering criteria. The results may be split into
942             multiple pages. To retrieve subsequent pages, make the call again using
943             the nextPageToken returned by the initial call.
944              
945             This operation is eventually consistent. The results are best effort
946             and may not exactly reflect recent updates and changes.
947              
948             B<Access Control>
949              
950             You can use IAM policies to control this action's access to Amazon SWF
951             resources as follows:
952              
953             =over
954              
955             =item * Use a C<Resource> element with the domain name to limit the
956             action to only specified domains.
957              
958             =item * Use an C<Action> element to allow or deny permission to call
959             this action.
960              
961             =item * Constrain the following parameters by using a C<Condition>
962             element with the appropriate keys.
963              
964             =over
965              
966             =item * C<tagFilter.tag>: String constraint. The key is
967             C<swf:tagFilter.tag>.
968              
969             =item * C<typeFilter.name>: String constraint. The key is
970             C<swf:typeFilter.name>.
971              
972             =item * C<typeFilter.version>: String constraint. The key is
973             C<swf:typeFilter.version>.
974              
975             =back
976              
977             =back
978              
979             If the caller does not have sufficient permissions to invoke the
980             action, or the parameter values fall outside the specified constraints,
981             the action fails. The associated event attribute's B<cause> parameter
982             will be set to OPERATION_NOT_PERMITTED. For details and example IAM
983             policies, see Using IAM to Manage Access to Amazon SWF Workflows.
984              
985              
986             =head2 ListDomains(RegistrationStatus => Str, [MaximumPageSize => Int, NextPageToken => Str, ReverseOrder => Bool])
987              
988             Each argument is described in detail in: L<Paws::SimpleWorkflow::ListDomains>
989              
990             Returns: a L<Paws::SimpleWorkflow::DomainInfos> instance
991              
992             Returns the list of domains registered in the account. The results may
993             be split into multiple pages. To retrieve subsequent pages, make the
994             call again using the nextPageToken returned by the initial call.
995              
996             This operation is eventually consistent. The results are best effort
997             and may not exactly reflect recent updates and changes.
998              
999             B<Access Control>
1000              
1001             You can use IAM policies to control this action's access to Amazon SWF
1002             resources as follows:
1003              
1004             =over
1005              
1006             =item * Use a C<Resource> element with the domain name to limit the
1007             action to only specified domains. The element must be set to
1008             C<arn:aws:swf::AccountID:domain/*>, where I<AccountID> is the account
1009             ID, with no dashes.
1010              
1011             =item * Use an C<Action> element to allow or deny permission to call
1012             this action.
1013              
1014             =item * You cannot use an IAM policy to constrain this action's
1015             parameters.
1016              
1017             =back
1018              
1019             If the caller does not have sufficient permissions to invoke the
1020             action, or the parameter values fall outside the specified constraints,
1021             the action fails. The associated event attribute's B<cause> parameter
1022             will be set to OPERATION_NOT_PERMITTED. For details and example IAM
1023             policies, see Using IAM to Manage Access to Amazon SWF Workflows.
1024              
1025              
1026             =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>])
1027              
1028             Each argument is described in detail in: L<Paws::SimpleWorkflow::ListOpenWorkflowExecutions>
1029              
1030             Returns: a L<Paws::SimpleWorkflow::WorkflowExecutionInfos> instance
1031              
1032             Returns a list of open workflow executions in the specified domain that
1033             meet the filtering criteria. The results may be split into multiple
1034             pages. To retrieve subsequent pages, make the call again using the
1035             nextPageToken returned by the initial call.
1036              
1037             This operation is eventually consistent. The results are best effort
1038             and may not exactly reflect recent updates and changes.
1039              
1040             B<Access Control>
1041              
1042             You can use IAM policies to control this action's access to Amazon SWF
1043             resources as follows:
1044              
1045             =over
1046              
1047             =item * Use a C<Resource> element with the domain name to limit the
1048             action to only specified domains.
1049              
1050             =item * Use an C<Action> element to allow or deny permission to call
1051             this action.
1052              
1053             =item * Constrain the following parameters by using a C<Condition>
1054             element with the appropriate keys.
1055              
1056             =over
1057              
1058             =item * C<tagFilter.tag>: String constraint. The key is
1059             C<swf:tagFilter.tag>.
1060              
1061             =item * C<typeFilter.name>: String constraint. The key is
1062             C<swf:typeFilter.name>.
1063              
1064             =item * C<typeFilter.version>: String constraint. The key is
1065             C<swf:typeFilter.version>.
1066              
1067             =back
1068              
1069             =back
1070              
1071             If the caller does not have sufficient permissions to invoke the
1072             action, or the parameter values fall outside the specified constraints,
1073             the action fails. The associated event attribute's B<cause> parameter
1074             will be set to OPERATION_NOT_PERMITTED. For details and example IAM
1075             policies, see Using IAM to Manage Access to Amazon SWF Workflows.
1076              
1077              
1078             =head2 ListWorkflowTypes(Domain => Str, RegistrationStatus => Str, [MaximumPageSize => Int, Name => Str, NextPageToken => Str, ReverseOrder => Bool])
1079              
1080             Each argument is described in detail in: L<Paws::SimpleWorkflow::ListWorkflowTypes>
1081              
1082             Returns: a L<Paws::SimpleWorkflow::WorkflowTypeInfos> instance
1083              
1084             Returns information about workflow types in the specified domain. The
1085             results may be split into multiple pages that can be retrieved by
1086             making the call repeatedly.
1087              
1088             B<Access Control>
1089              
1090             You can use IAM policies to control this action's access to Amazon SWF
1091             resources as follows:
1092              
1093             =over
1094              
1095             =item * Use a C<Resource> element with the domain name to limit the
1096             action to only specified domains.
1097              
1098             =item * Use an C<Action> element to allow or deny permission to call
1099             this action.
1100              
1101             =item * You cannot use an IAM policy to constrain this action's
1102             parameters.
1103              
1104             =back
1105              
1106             If the caller does not have sufficient permissions to invoke the
1107             action, or the parameter values fall outside the specified constraints,
1108             the action fails. The associated event attribute's B<cause> parameter
1109             will be set to OPERATION_NOT_PERMITTED. For details and example IAM
1110             policies, see Using IAM to Manage Access to Amazon SWF Workflows.
1111              
1112              
1113             =head2 PollForActivityTask(Domain => Str, TaskList => L<Paws::SimpleWorkflow::TaskList>, [Identity => Str])
1114              
1115             Each argument is described in detail in: L<Paws::SimpleWorkflow::PollForActivityTask>
1116              
1117             Returns: a L<Paws::SimpleWorkflow::ActivityTask> instance
1118              
1119             Used by workers to get an ActivityTask from the specified activity
1120             C<taskList>. This initiates a long poll, where the service holds the
1121             HTTP connection open and responds as soon as a task becomes available.
1122             The maximum time the service holds on to the request before responding
1123             is 60 seconds. If no task is available within 60 seconds, the poll will
1124             return an empty result. An empty result, in this context, means that an
1125             ActivityTask is returned, but that the value of taskToken is an empty
1126             string. If a task is returned, the worker should use its type to
1127             identify and process it correctly.
1128              
1129             Workers should set their client side socket timeout to at least 70
1130             seconds (10 seconds higher than the maximum time service may hold the
1131             poll request).
1132              
1133             B<Access Control>
1134              
1135             You can use IAM policies to control this action's access to Amazon SWF
1136             resources as follows:
1137              
1138             =over
1139              
1140             =item * Use a C<Resource> element with the domain name to limit the
1141             action to only specified domains.
1142              
1143             =item * Use an C<Action> element to allow or deny permission to call
1144             this action.
1145              
1146             =item * Constrain the C<taskList.name> parameter by using a
1147             B<Condition> element with the C<swf:taskList.name> key to allow the
1148             action to access only certain task lists.
1149              
1150             =back
1151              
1152             If the caller does not have sufficient permissions to invoke the
1153             action, or the parameter values fall outside the specified constraints,
1154             the action fails. The associated event attribute's B<cause> parameter
1155             will be set to OPERATION_NOT_PERMITTED. For details and example IAM
1156             policies, see Using IAM to Manage Access to Amazon SWF Workflows.
1157              
1158              
1159             =head2 PollForDecisionTask(Domain => Str, TaskList => L<Paws::SimpleWorkflow::TaskList>, [Identity => Str, MaximumPageSize => Int, NextPageToken => Str, ReverseOrder => Bool])
1160              
1161             Each argument is described in detail in: L<Paws::SimpleWorkflow::PollForDecisionTask>
1162              
1163             Returns: a L<Paws::SimpleWorkflow::DecisionTask> instance
1164              
1165             Used by deciders to get a DecisionTask from the specified decision
1166             C<taskList>. A decision task may be returned for any open workflow
1167             execution that is using the specified task list. The task includes a
1168             paginated view of the history of the workflow execution. The decider
1169             should use the workflow type and the history to determine how to
1170             properly handle the task.
1171              
1172             This action initiates a long poll, where the service holds the HTTP
1173             connection open and responds as soon a task becomes available. If no
1174             decision task is available in the specified task list before the
1175             timeout of 60 seconds expires, an empty result is returned. An empty
1176             result, in this context, means that a DecisionTask is returned, but
1177             that the value of C<taskToken> is an empty string.
1178              
1179             Deciders should set their client-side socket timeout to at least 70
1180             seconds (10 seconds higher than the timeout). Because the number of
1181             workflow history events for a single workflow execution might be very
1182             large, the result returned might be split up across a number of pages.
1183             To retrieve subsequent pages, make additional calls to
1184             C<PollForDecisionTask> using the C<nextPageToken> returned by the
1185             initial call. Note that you do B<not> call
1186             C<GetWorkflowExecutionHistory> with this C<nextPageToken>. Instead,
1187             call C<PollForDecisionTask> again.
1188              
1189             B<Access Control>
1190              
1191             You can use IAM policies to control this action's access to Amazon SWF
1192             resources as follows:
1193              
1194             =over
1195              
1196             =item * Use a C<Resource> element with the domain name to limit the
1197             action to only specified domains.
1198              
1199             =item * Use an C<Action> element to allow or deny permission to call
1200             this action.
1201              
1202             =item * Constrain the C<taskList.name> parameter by using a
1203             B<Condition> element with the C<swf:taskList.name> key to allow the
1204             action to access only certain task lists.
1205              
1206             =back
1207              
1208             If the caller does not have sufficient permissions to invoke the
1209             action, or the parameter values fall outside the specified constraints,
1210             the action fails. The associated event attribute's B<cause> parameter
1211             will be set to OPERATION_NOT_PERMITTED. For details and example IAM
1212             policies, see Using IAM to Manage Access to Amazon SWF Workflows.
1213              
1214              
1215             =head2 RecordActivityTaskHeartbeat(TaskToken => Str, [Details => Str])
1216              
1217             Each argument is described in detail in: L<Paws::SimpleWorkflow::RecordActivityTaskHeartbeat>
1218              
1219             Returns: a L<Paws::SimpleWorkflow::ActivityTaskStatus> instance
1220              
1221             Used by activity workers to report to the service that the ActivityTask
1222             represented by the specified C<taskToken> is still making progress. The
1223             worker can also (optionally) specify details of the progress, for
1224             example percent complete, using the C<details> parameter. This action
1225             can also be used by the worker as a mechanism to check if cancellation
1226             is being requested for the activity task. If a cancellation is being
1227             attempted for the specified task, then the boolean C<cancelRequested>
1228             flag returned by the service is set to C<true>.
1229              
1230             This action resets the C<taskHeartbeatTimeout> clock. The
1231             C<taskHeartbeatTimeout> is specified in RegisterActivityType.
1232              
1233             This action does not in itself create an event in the workflow
1234             execution history. However, if the task times out, the workflow
1235             execution history will contain a C<ActivityTaskTimedOut> event that
1236             contains the information from the last heartbeat generated by the
1237             activity worker.
1238              
1239             The C<taskStartToCloseTimeout> of an activity type is the maximum
1240             duration of an activity task, regardless of the number of
1241             RecordActivityTaskHeartbeat requests received. The
1242             C<taskStartToCloseTimeout> is also specified in RegisterActivityType.
1243             This operation is only useful for long-lived activities to report
1244             liveliness of the task and to determine if a cancellation is being
1245             attempted. If the C<cancelRequested> flag returns C<true>, a
1246             cancellation is being attempted. If the worker can cancel the activity,
1247             it should respond with RespondActivityTaskCanceled. Otherwise, it
1248             should ignore the cancellation request.
1249              
1250             B<Access Control>
1251              
1252             You can use IAM policies to control this action's access to Amazon SWF
1253             resources as follows:
1254              
1255             =over
1256              
1257             =item * Use a C<Resource> element with the domain name to limit the
1258             action to only specified domains.
1259              
1260             =item * Use an C<Action> element to allow or deny permission to call
1261             this action.
1262              
1263             =item * You cannot use an IAM policy to constrain this action's
1264             parameters.
1265              
1266             =back
1267              
1268             If the caller does not have sufficient permissions to invoke the
1269             action, or the parameter values fall outside the specified constraints,
1270             the action fails. The associated event attribute's B<cause> parameter
1271             will be set to OPERATION_NOT_PERMITTED. For details and example IAM
1272             policies, see Using IAM to Manage Access to Amazon SWF Workflows.
1273              
1274              
1275             =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])
1276              
1277             Each argument is described in detail in: L<Paws::SimpleWorkflow::RegisterActivityType>
1278              
1279             Returns: nothing
1280              
1281             Registers a new I<activity type> along with its configuration settings
1282             in the specified domain.
1283              
1284             A C<TypeAlreadyExists> fault is returned if the type already exists in
1285             the domain. You cannot change any configuration settings of the type
1286             after its registration, and it must be registered as a new version.
1287              
1288             B<Access Control>
1289              
1290             You can use IAM policies to control this action's access to Amazon SWF
1291             resources as follows:
1292              
1293             =over
1294              
1295             =item * Use a C<Resource> element with the domain name to limit the
1296             action to only specified domains.
1297              
1298             =item * Use an C<Action> element to allow or deny permission to call
1299             this action.
1300              
1301             =item * Constrain the following parameters by using a C<Condition>
1302             element with the appropriate keys.
1303              
1304             =over
1305              
1306             =item * C<defaultTaskList.name>: String constraint. The key is
1307             C<swf:defaultTaskList.name>.
1308              
1309             =item * C<name>: String constraint. The key is C<swf:name>.
1310              
1311             =item * C<version>: String constraint. The key is C<swf:version>.
1312              
1313             =back
1314              
1315             =back
1316              
1317             If the caller does not have sufficient permissions to invoke the
1318             action, or the parameter values fall outside the specified constraints,
1319             the action fails. The associated event attribute's B<cause> parameter
1320             will be set to OPERATION_NOT_PERMITTED. For details and example IAM
1321             policies, see Using IAM to Manage Access to Amazon SWF Workflows.
1322              
1323              
1324             =head2 RegisterDomain(Name => Str, WorkflowExecutionRetentionPeriodInDays => Str, [Description => Str])
1325              
1326             Each argument is described in detail in: L<Paws::SimpleWorkflow::RegisterDomain>
1327              
1328             Returns: nothing
1329              
1330             Registers a new domain.
1331              
1332             B<Access Control>
1333              
1334             You can use IAM policies to control this action's access to Amazon SWF
1335             resources as follows:
1336              
1337             =over
1338              
1339             =item * You cannot use an IAM policy to control domain access for this
1340             action. The name of the domain being registered is available as the
1341             resource of this action.
1342              
1343             =item * Use an C<Action> element to allow or deny permission to call
1344             this action.
1345              
1346             =item * You cannot use an IAM policy to constrain this action's
1347             parameters.
1348              
1349             =back
1350              
1351             If the caller does not have sufficient permissions to invoke the
1352             action, or the parameter values fall outside the specified constraints,
1353             the action fails. The associated event attribute's B<cause> parameter
1354             will be set to OPERATION_NOT_PERMITTED. For details and example IAM
1355             policies, see Using IAM to Manage Access to Amazon SWF Workflows.
1356              
1357              
1358             =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])
1359              
1360             Each argument is described in detail in: L<Paws::SimpleWorkflow::RegisterWorkflowType>
1361              
1362             Returns: nothing
1363              
1364             Registers a new I<workflow type> and its configuration settings in the
1365             specified domain.
1366              
1367             The retention period for the workflow history is set by the
1368             RegisterDomain action.
1369              
1370             If the type already exists, then a C<TypeAlreadyExists> fault is
1371             returned. You cannot change the configuration settings of a workflow
1372             type once it is registered and it must be registered as a new version.
1373              
1374             B<Access Control>
1375              
1376             You can use IAM policies to control this action's access to Amazon SWF
1377             resources as follows:
1378              
1379             =over
1380              
1381             =item * Use a C<Resource> element with the domain name to limit the
1382             action to only specified domains.
1383              
1384             =item * Use an C<Action> element to allow or deny permission to call
1385             this action.
1386              
1387             =item * Constrain the following parameters by using a C<Condition>
1388             element with the appropriate keys.
1389              
1390             =over
1391              
1392             =item * C<defaultTaskList.name>: String constraint. The key is
1393             C<swf:defaultTaskList.name>.
1394              
1395             =item * C<name>: String constraint. The key is C<swf:name>.
1396              
1397             =item * C<version>: String constraint. The key is C<swf:version>.
1398              
1399             =back
1400              
1401             =back
1402              
1403             If the caller does not have sufficient permissions to invoke the
1404             action, or the parameter values fall outside the specified constraints,
1405             the action fails. The associated event attribute's B<cause> parameter
1406             will be set to OPERATION_NOT_PERMITTED. For details and example IAM
1407             policies, see Using IAM to Manage Access to Amazon SWF Workflows.
1408              
1409              
1410             =head2 RequestCancelWorkflowExecution(Domain => Str, WorkflowId => Str, [RunId => Str])
1411              
1412             Each argument is described in detail in: L<Paws::SimpleWorkflow::RequestCancelWorkflowExecution>
1413              
1414             Returns: nothing
1415              
1416             Records a C<WorkflowExecutionCancelRequested> event in the currently
1417             running workflow execution identified by the given domain, workflowId,
1418             and runId. This logically requests the cancellation of the workflow
1419             execution as a whole. It is up to the decider to take appropriate
1420             actions when it receives an execution history with this event.
1421              
1422             If the runId is not specified, the C<WorkflowExecutionCancelRequested>
1423             event is recorded in the history of the current open workflow execution
1424             with the specified workflowId in the domain. Because this action allows
1425             the workflow to properly clean up and gracefully close, it should be
1426             used instead of TerminateWorkflowExecution when possible.
1427              
1428             B<Access Control>
1429              
1430             You can use IAM policies to control this action's access to Amazon SWF
1431             resources as follows:
1432              
1433             =over
1434              
1435             =item * Use a C<Resource> element with the domain name to limit the
1436             action to only specified domains.
1437              
1438             =item * Use an C<Action> element to allow or deny permission to call
1439             this action.
1440              
1441             =item * You cannot use an IAM policy to constrain this action's
1442             parameters.
1443              
1444             =back
1445              
1446             If the caller does not have sufficient permissions to invoke the
1447             action, or the parameter values fall outside the specified constraints,
1448             the action fails. The associated event attribute's B<cause> parameter
1449             will be set to OPERATION_NOT_PERMITTED. For details and example IAM
1450             policies, see Using IAM to Manage Access to Amazon SWF Workflows.
1451              
1452              
1453             =head2 RespondActivityTaskCanceled(TaskToken => Str, [Details => Str])
1454              
1455             Each argument is described in detail in: L<Paws::SimpleWorkflow::RespondActivityTaskCanceled>
1456              
1457             Returns: nothing
1458              
1459             Used by workers to tell the service that the ActivityTask identified by
1460             the C<taskToken> was successfully canceled. Additional C<details> can
1461             be optionally provided using the C<details> argument.
1462              
1463             These C<details> (if provided) appear in the C<ActivityTaskCanceled>
1464             event added to the workflow history.
1465              
1466             Only use this operation if the C<canceled> flag of a
1467             RecordActivityTaskHeartbeat request returns C<true> and if the activity
1468             can be safely undone or abandoned.
1469              
1470             A task is considered open from the time that it is scheduled until it
1471             is closed. Therefore a task is reported as open while a worker is
1472             processing it. A task is closed after it has been specified in a call
1473             to RespondActivityTaskCompleted, RespondActivityTaskCanceled,
1474             RespondActivityTaskFailed, or the task has timed out.
1475              
1476             B<Access Control>
1477              
1478             You can use IAM policies to control this action's access to Amazon SWF
1479             resources as follows:
1480              
1481             =over
1482              
1483             =item * Use a C<Resource> element with the domain name to limit the
1484             action to only specified domains.
1485              
1486             =item * Use an C<Action> element to allow or deny permission to call
1487             this action.
1488              
1489             =item * You cannot use an IAM policy to constrain this action's
1490             parameters.
1491              
1492             =back
1493              
1494             If the caller does not have sufficient permissions to invoke the
1495             action, or the parameter values fall outside the specified constraints,
1496             the action fails. The associated event attribute's B<cause> parameter
1497             will be set to OPERATION_NOT_PERMITTED. For details and example IAM
1498             policies, see Using IAM to Manage Access to Amazon SWF Workflows.
1499              
1500              
1501             =head2 RespondActivityTaskCompleted(TaskToken => Str, [Result => Str])
1502              
1503             Each argument is described in detail in: L<Paws::SimpleWorkflow::RespondActivityTaskCompleted>
1504              
1505             Returns: nothing
1506              
1507             Used by workers to tell the service that the ActivityTask identified by
1508             the C<taskToken> completed successfully with a C<result> (if provided).
1509             The C<result> appears in the C<ActivityTaskCompleted> event in the
1510             workflow history.
1511              
1512             If the requested task does not complete successfully, use
1513             RespondActivityTaskFailed instead. If the worker finds that the task is
1514             canceled through the C<canceled> flag returned by
1515             RecordActivityTaskHeartbeat, it should cancel the task, clean up and
1516             then call RespondActivityTaskCanceled.
1517              
1518             A task is considered open from the time that it is scheduled until it
1519             is closed. Therefore a task is reported as open while a worker is
1520             processing it. A task is closed after it has been specified in a call
1521             to RespondActivityTaskCompleted, RespondActivityTaskCanceled,
1522             RespondActivityTaskFailed, or the task has timed out.
1523              
1524             B<Access Control>
1525              
1526             You can use IAM policies to control this action's access to Amazon SWF
1527             resources as follows:
1528              
1529             =over
1530              
1531             =item * Use a C<Resource> element with the domain name to limit the
1532             action to only specified domains.
1533              
1534             =item * Use an C<Action> element to allow or deny permission to call
1535             this action.
1536              
1537             =item * You cannot use an IAM policy to constrain this action's
1538             parameters.
1539              
1540             =back
1541              
1542             If the caller does not have sufficient permissions to invoke the
1543             action, or the parameter values fall outside the specified constraints,
1544             the action fails. The associated event attribute's B<cause> parameter
1545             will be set to OPERATION_NOT_PERMITTED. For details and example IAM
1546             policies, see Using IAM to Manage Access to Amazon SWF Workflows.
1547              
1548              
1549             =head2 RespondActivityTaskFailed(TaskToken => Str, [Details => Str, Reason => Str])
1550              
1551             Each argument is described in detail in: L<Paws::SimpleWorkflow::RespondActivityTaskFailed>
1552              
1553             Returns: nothing
1554              
1555             Used by workers to tell the service that the ActivityTask identified by
1556             the C<taskToken> has failed with C<reason> (if specified). The
1557             C<reason> and C<details> appear in the C<ActivityTaskFailed> event
1558             added to the workflow history.
1559              
1560             A task is considered open from the time that it is scheduled until it
1561             is closed. Therefore a task is reported as open while a worker is
1562             processing it. A task is closed after it has been specified in a call
1563             to RespondActivityTaskCompleted, RespondActivityTaskCanceled,
1564             RespondActivityTaskFailed, or the task has timed out.
1565              
1566             B<Access Control>
1567              
1568             You can use IAM policies to control this action's access to Amazon SWF
1569             resources as follows:
1570              
1571             =over
1572              
1573             =item * Use a C<Resource> element with the domain name to limit the
1574             action to only specified domains.
1575              
1576             =item * Use an C<Action> element to allow or deny permission to call
1577             this action.
1578              
1579             =item * You cannot use an IAM policy to constrain this action's
1580             parameters.
1581              
1582             =back
1583              
1584             If the caller does not have sufficient permissions to invoke the
1585             action, or the parameter values fall outside the specified constraints,
1586             the action fails. The associated event attribute's B<cause> parameter
1587             will be set to OPERATION_NOT_PERMITTED. For details and example IAM
1588             policies, see Using IAM to Manage Access to Amazon SWF Workflows.
1589              
1590              
1591             =head2 RespondDecisionTaskCompleted(TaskToken => Str, [Decisions => ArrayRef[L<Paws::SimpleWorkflow::Decision>], ExecutionContext => Str])
1592              
1593             Each argument is described in detail in: L<Paws::SimpleWorkflow::RespondDecisionTaskCompleted>
1594              
1595             Returns: nothing
1596              
1597             Used by deciders to tell the service that the DecisionTask identified
1598             by the C<taskToken> has successfully completed. The C<decisions>
1599             argument specifies the list of decisions made while processing the
1600             task.
1601              
1602             A C<DecisionTaskCompleted> event is added to the workflow history. The
1603             C<executionContext> specified is attached to the event in the workflow
1604             execution history.
1605              
1606             B<Access Control>
1607              
1608             If an IAM policy grants permission to use
1609             C<RespondDecisionTaskCompleted>, it can express permissions for the
1610             list of decisions in the C<decisions> parameter. Each of the decisions
1611             has one or more parameters, much like a regular API call. To allow for
1612             policies to be as readable as possible, you can express permissions on
1613             decisions as if they were actual API calls, including applying
1614             conditions to some parameters. For more information, see Using IAM to
1615             Manage Access to Amazon SWF Workflows.
1616              
1617              
1618             =head2 SignalWorkflowExecution(Domain => Str, SignalName => Str, WorkflowId => Str, [Input => Str, RunId => Str])
1619              
1620             Each argument is described in detail in: L<Paws::SimpleWorkflow::SignalWorkflowExecution>
1621              
1622             Returns: nothing
1623              
1624             Records a C<WorkflowExecutionSignaled> event in the workflow execution
1625             history and creates a decision task for the workflow execution
1626             identified by the given domain, workflowId and runId. The event is
1627             recorded with the specified user defined signalName and input (if
1628             provided).
1629              
1630             If a runId is not specified, then the C<WorkflowExecutionSignaled>
1631             event is recorded in the history of the current open workflow with the
1632             matching workflowId in the domain. If the specified workflow execution
1633             is not open, this method fails with C<UnknownResource>.
1634              
1635             B<Access Control>
1636              
1637             You can use IAM policies to control this action's access to Amazon SWF
1638             resources as follows:
1639              
1640             =over
1641              
1642             =item * Use a C<Resource> element with the domain name to limit the
1643             action to only specified domains.
1644              
1645             =item * Use an C<Action> element to allow or deny permission to call
1646             this action.
1647              
1648             =item * You cannot use an IAM policy to constrain this action's
1649             parameters.
1650              
1651             =back
1652              
1653             If the caller does not have sufficient permissions to invoke the
1654             action, or the parameter values fall outside the specified constraints,
1655             the action fails. The associated event attribute's B<cause> parameter
1656             will be set to OPERATION_NOT_PERMITTED. For details and example IAM
1657             policies, see Using IAM to Manage Access to Amazon SWF Workflows.
1658              
1659              
1660             =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])
1661              
1662             Each argument is described in detail in: L<Paws::SimpleWorkflow::StartWorkflowExecution>
1663              
1664             Returns: a L<Paws::SimpleWorkflow::Run> instance
1665              
1666             Starts an execution of the workflow type in the specified domain using
1667             the provided C<workflowId> and input data.
1668              
1669             This action returns the newly started workflow execution.
1670              
1671             B<Access Control>
1672              
1673             You can use IAM policies to control this action's access to Amazon SWF
1674             resources as follows:
1675              
1676             =over
1677              
1678             =item * Use a C<Resource> element with the domain name to limit the
1679             action to only specified domains.
1680              
1681             =item * Use an C<Action> element to allow or deny permission to call
1682             this action.
1683              
1684             =item * Constrain the following parameters by using a C<Condition>
1685             element with the appropriate keys.
1686              
1687             =over
1688              
1689             =item * C<tagList.member.0>: The key is C<swf:tagList.member.0>.
1690              
1691             =item * C<tagList.member.1>: The key is C<swf:tagList.member.1>.
1692              
1693             =item * C<tagList.member.2>: The key is C<swf:tagList.member.2>.
1694              
1695             =item * C<tagList.member.3>: The key is C<swf:tagList.member.3>.
1696              
1697             =item * C<tagList.member.4>: The key is C<swf:tagList.member.4>.
1698              
1699             =item * C<taskList>: String constraint. The key is
1700             C<swf:taskList.name>.
1701              
1702             =item * C<workflowType.name>: String constraint. The key is
1703             C<swf:workflowType.name>.
1704              
1705             =item * C<workflowType.version>: String constraint. The key is
1706             C<swf:workflowType.version>.
1707              
1708             =back
1709              
1710             =back
1711              
1712             If the caller does not have sufficient permissions to invoke the
1713             action, or the parameter values fall outside the specified constraints,
1714             the action fails. The associated event attribute's B<cause> parameter
1715             will be set to OPERATION_NOT_PERMITTED. For details and example IAM
1716             policies, see Using IAM to Manage Access to Amazon SWF Workflows.
1717              
1718              
1719             =head2 TerminateWorkflowExecution(Domain => Str, WorkflowId => Str, [ChildPolicy => Str, Details => Str, Reason => Str, RunId => Str])
1720              
1721             Each argument is described in detail in: L<Paws::SimpleWorkflow::TerminateWorkflowExecution>
1722              
1723             Returns: nothing
1724              
1725             Records a C<WorkflowExecutionTerminated> event and forces closure of
1726             the workflow execution identified by the given domain, runId, and
1727             workflowId. The child policy, registered with the workflow type or
1728             specified when starting this execution, is applied to any open child
1729             workflow executions of this workflow execution.
1730              
1731             If the identified workflow execution was in progress, it is terminated
1732             immediately. If a runId is not specified, then the
1733             C<WorkflowExecutionTerminated> event is recorded in the history of the
1734             current open workflow with the matching workflowId in the domain. You
1735             should consider using RequestCancelWorkflowExecution action instead
1736             because it allows the workflow to gracefully close while
1737             TerminateWorkflowExecution does not.
1738              
1739             B<Access Control>
1740              
1741             You can use IAM policies to control this action's access to Amazon SWF
1742             resources as follows:
1743              
1744             =over
1745              
1746             =item * Use a C<Resource> element with the domain name to limit the
1747             action to only specified domains.
1748              
1749             =item * Use an C<Action> element to allow or deny permission to call
1750             this action.
1751              
1752             =item * You cannot use an IAM policy to constrain this action's
1753             parameters.
1754              
1755             =back
1756              
1757             If the caller does not have sufficient permissions to invoke the
1758             action, or the parameter values fall outside the specified constraints,
1759             the action fails. The associated event attribute's B<cause> parameter
1760             will be set to OPERATION_NOT_PERMITTED. For details and example IAM
1761             policies, see Using IAM to Manage Access to Amazon SWF Workflows.
1762              
1763              
1764              
1765              
1766             =head1 PAGINATORS
1767              
1768             Paginator methods are helpers that repetively call methods that return partial results
1769              
1770             =head2 GetAllWorkflowExecutionHistory(sub { },Domain => Str, Execution => L<Paws::SimpleWorkflow::WorkflowExecution>, [MaximumPageSize => Int, NextPageToken => Str, ReverseOrder => Bool])
1771              
1772             =head2 GetAllWorkflowExecutionHistory(Domain => Str, Execution => L<Paws::SimpleWorkflow::WorkflowExecution>, [MaximumPageSize => Int, NextPageToken => Str, ReverseOrder => Bool])
1773              
1774              
1775             If passed a sub as first parameter, it will call the sub for each element found in :
1776              
1777             - events, passing the object as the first parameter, and the string 'events' as the second parameter
1778              
1779             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.
1780              
1781              
1782             =head2 ListAllActivityTypes(sub { },Domain => Str, RegistrationStatus => Str, [MaximumPageSize => Int, Name => Str, NextPageToken => Str, ReverseOrder => Bool])
1783              
1784             =head2 ListAllActivityTypes(Domain => Str, RegistrationStatus => Str, [MaximumPageSize => Int, Name => Str, NextPageToken => Str, ReverseOrder => Bool])
1785              
1786              
1787             If passed a sub as first parameter, it will call the sub for each element found in :
1788              
1789             - typeInfos, passing the object as the first parameter, and the string 'typeInfos' as the second parameter
1790              
1791             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.
1792              
1793              
1794             =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>])
1795              
1796             =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>])
1797              
1798              
1799             If passed a sub as first parameter, it will call the sub for each element found in :
1800              
1801             - executionInfos, passing the object as the first parameter, and the string 'executionInfos' as the second parameter
1802              
1803             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.
1804              
1805              
1806             =head2 ListAllDomains(sub { },RegistrationStatus => Str, [MaximumPageSize => Int, NextPageToken => Str, ReverseOrder => Bool])
1807              
1808             =head2 ListAllDomains(RegistrationStatus => Str, [MaximumPageSize => Int, NextPageToken => Str, ReverseOrder => Bool])
1809              
1810              
1811             If passed a sub as first parameter, it will call the sub for each element found in :
1812              
1813             - domainInfos, passing the object as the first parameter, and the string 'domainInfos' as the second parameter
1814              
1815             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.
1816              
1817              
1818             =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>])
1819              
1820             =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>])
1821              
1822              
1823             If passed a sub as first parameter, it will call the sub for each element found in :
1824              
1825             - executionInfos, passing the object as the first parameter, and the string 'executionInfos' as the second parameter
1826              
1827             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.
1828              
1829              
1830             =head2 ListAllWorkflowTypes(sub { },Domain => Str, RegistrationStatus => Str, [MaximumPageSize => Int, Name => Str, NextPageToken => Str, ReverseOrder => Bool])
1831              
1832             =head2 ListAllWorkflowTypes(Domain => Str, RegistrationStatus => Str, [MaximumPageSize => Int, Name => Str, NextPageToken => Str, ReverseOrder => Bool])
1833              
1834              
1835             If passed a sub as first parameter, it will call the sub for each element found in :
1836              
1837             - typeInfos, passing the object as the first parameter, and the string 'typeInfos' as the second parameter
1838              
1839             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.
1840              
1841              
1842             =head2 PollForAllDecisionTasks(sub { },Domain => Str, TaskList => L<Paws::SimpleWorkflow::TaskList>, [Identity => Str, MaximumPageSize => Int, NextPageToken => Str, ReverseOrder => Bool])
1843              
1844             =head2 PollForAllDecisionTasks(Domain => Str, TaskList => L<Paws::SimpleWorkflow::TaskList>, [Identity => Str, MaximumPageSize => Int, NextPageToken => Str, ReverseOrder => Bool])
1845              
1846              
1847             If passed a sub as first parameter, it will call the sub for each element found in :
1848              
1849             - events, passing the object as the first parameter, and the string 'events' as the second parameter
1850              
1851             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.
1852              
1853              
1854              
1855              
1856              
1857             =head1 SEE ALSO
1858              
1859             This service class forms part of L<Paws>
1860              
1861             =head1 BUGS and CONTRIBUTIONS
1862              
1863             The source code is located here: https://github.com/pplu/aws-sdk-perl
1864              
1865             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
1866              
1867             =cut
1868