lib/Paws/SimpleWorkflow.pm

filter: Statementstmt 4.3% 11 / 253 Branchbran 0.0% 0 / 56 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 7.5% 4 / 53 Podpod 88.0% 44 / 50 totaltotal 14.3% 59 / 412 CC 43 SCAR 33.9
CC
43
Cov
4%
GetAllWorkflowExecutionHistory
56.0
ListAllActivityTypes
56.0
ListAllClosedWorkflowExecutions
56.0
CRAP 29.8
« lib/Paws/ElasticTranscoder.pm ↑ Summary blib/lib/Paws/Lambda.pm »
1 package Paws::SimpleWorkflow;
2 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 10 ▶ sub service { 'swf' }
Subroutine service: called CC=1 SCAR=0.0
Pod undocumented
4 0 ▶ sub signing_name { 'swf' }
Subroutine signing_name: not called CC=1 SCAR=6.9
Pod undocumented
5 0 ▶ sub version { '2012-01-25' }
Subroutine version: not called CC=1 SCAR=6.9
Pod undocumented
6 0 ▶ sub target_prefix { 'SimpleWorkflowService' }
Subroutine target_prefix: not called CC=1 SCAR=6.9
Pod undocumented
7 0 ▶ sub json_version { "1.0" }
Subroutine json_version: not called CC=1 SCAR=6.9
Pod undocumented
8 1 has max_attempts => (is => 'ro', isa => 'Int', default => 5);
9 10 ▶ has retry => (is => 'ro', isa => 'HashRef', default => sub {
Subroutine __ANON__: called CC=1 SCAR=0.0
10 10 { base => 'rand', type => 'exponential', growth_factor => 2 }
11 1 });
12 10 ▶ has retriables => (is => 'ro', isa => 'ArrayRef', default => sub { [
Subroutine __ANON__: called CC=1 SCAR=0.0
13 10 ] });
14  
15 1 with 'Paws::API::Caller', 'Paws::API::EndpointResolver', 'Paws::Net::V4Signature', 'Paws::Net::JsonCaller';
16  
17
18 0 ▶ sub CountClosedWorkflowExecutions {
Subroutine CountClosedWorkflowExecutions: not called CC=1 SCAR=6.9
Pod documented
19 0 my $self = shift;
20 0 my $call_object = $self->new_with_coercions('Paws::SimpleWorkflow::CountClosedWorkflowExecutions', @_);
21 0 return $self->caller->do_call($self, $call_object);
22 }
23 0 ▶ sub CountOpenWorkflowExecutions {
Subroutine CountOpenWorkflowExecutions: not called CC=1 SCAR=6.9
Pod documented
24 0 my $self = shift;
25 0 my $call_object = $self->new_with_coercions('Paws::SimpleWorkflow::CountOpenWorkflowExecutions', @_);
26 0 return $self->caller->do_call($self, $call_object);
27 }
28 0 ▶ sub CountPendingActivityTasks {
Subroutine CountPendingActivityTasks: not called CC=1 SCAR=6.9
Pod documented
29 0 my $self = shift;
30 0 my $call_object = $self->new_with_coercions('Paws::SimpleWorkflow::CountPendingActivityTasks', @_);
31 0 return $self->caller->do_call($self, $call_object);
32 }
33 0 ▶ sub CountPendingDecisionTasks {
Subroutine CountPendingDecisionTasks: not called CC=1 SCAR=6.9
Pod documented
34 0 my $self = shift;
35 0 my $call_object = $self->new_with_coercions('Paws::SimpleWorkflow::CountPendingDecisionTasks', @_);
36 0 return $self->caller->do_call($self, $call_object);
37 }
38 0 ▶ sub DeprecateActivityType {
Subroutine DeprecateActivityType: not called CC=1 SCAR=6.9
Pod documented
39 0 my $self = shift;
40 0 my $call_object = $self->new_with_coercions('Paws::SimpleWorkflow::DeprecateActivityType', @_);
41 0 return $self->caller->do_call($self, $call_object);
42 }
43 0 ▶ sub DeprecateDomain {
Subroutine DeprecateDomain: not called CC=1 SCAR=6.9
Pod documented
44 0 my $self = shift;
45 0 my $call_object = $self->new_with_coercions('Paws::SimpleWorkflow::DeprecateDomain', @_);
46 0 return $self->caller->do_call($self, $call_object);
47 }
48 0 ▶ sub DeprecateWorkflowType {
Subroutine DeprecateWorkflowType: not called CC=1 SCAR=6.9
Pod documented
49 0 my $self = shift;
50 0 my $call_object = $self->new_with_coercions('Paws::SimpleWorkflow::DeprecateWorkflowType', @_);
51 0 return $self->caller->do_call($self, $call_object);
52 }
53 0 ▶ sub DescribeActivityType {
Subroutine DescribeActivityType: not called CC=1 SCAR=6.9
Pod documented
54 0 my $self = shift;
55 0 my $call_object = $self->new_with_coercions('Paws::SimpleWorkflow::DescribeActivityType', @_);
56 0 return $self->caller->do_call($self, $call_object);
57 }
58 0 ▶ sub DescribeDomain {
Subroutine DescribeDomain: not called CC=1 SCAR=6.9
Pod documented
59 0 my $self = shift;
60 0 my $call_object = $self->new_with_coercions('Paws::SimpleWorkflow::DescribeDomain', @_);
61 0 return $self->caller->do_call($self, $call_object);
62 }
63 0 ▶ sub DescribeWorkflowExecution {
Subroutine DescribeWorkflowExecution: not called CC=1 SCAR=6.9
Pod documented
64 0 my $self = shift;
65 0 my $call_object = $self->new_with_coercions('Paws::SimpleWorkflow::DescribeWorkflowExecution', @_);
66 0 return $self->caller->do_call($self, $call_object);
67 }
68 0 ▶ sub DescribeWorkflowType {
Subroutine DescribeWorkflowType: not called CC=1 SCAR=6.9
Pod documented
69 0 my $self = shift;
70 0 my $call_object = $self->new_with_coercions('Paws::SimpleWorkflow::DescribeWorkflowType', @_);
71 0 return $self->caller->do_call($self, $call_object);
72 }
73 0 ▶ sub GetWorkflowExecutionHistory {
Subroutine GetWorkflowExecutionHistory: not called CC=1 SCAR=6.9
Pod documented
74 0 my $self = shift;
75 0 my $call_object = $self->new_with_coercions('Paws::SimpleWorkflow::GetWorkflowExecutionHistory', @_);
76 0 return $self->caller->do_call($self, $call_object);
77 }
78 0 ▶ sub ListActivityTypes {
Subroutine ListActivityTypes: not called CC=1 SCAR=6.9
Pod documented
79 0 my $self = shift;
80 0 my $call_object = $self->new_with_coercions('Paws::SimpleWorkflow::ListActivityTypes', @_);
81 0 return $self->caller->do_call($self, $call_object);
82 }
83 0 ▶ sub ListClosedWorkflowExecutions {
Subroutine ListClosedWorkflowExecutions: not called CC=1 SCAR=6.9
Pod documented
84 0 my $self = shift;
85 0 my $call_object = $self->new_with_coercions('Paws::SimpleWorkflow::ListClosedWorkflowExecutions', @_);
86 0 return $self->caller->do_call($self, $call_object);
87 }
88 0 ▶ sub ListDomains {
Subroutine ListDomains: not called CC=1 SCAR=6.9
Pod documented
89 0 my $self = shift;
90 0 my $call_object = $self->new_with_coercions('Paws::SimpleWorkflow::ListDomains', @_);
91 0 return $self->caller->do_call($self, $call_object);
92 }
93 0 ▶ sub ListOpenWorkflowExecutions {
Subroutine ListOpenWorkflowExecutions: not called CC=1 SCAR=6.9
Pod documented
94 0 my $self = shift;
95 0 my $call_object = $self->new_with_coercions('Paws::SimpleWorkflow::ListOpenWorkflowExecutions', @_);
96 0 return $self->caller->do_call($self, $call_object);
97 }
98 0 ▶ sub ListTagsForResource {
Subroutine ListTagsForResource: not called CC=1 SCAR=6.9
Pod documented
99 0 my $self = shift;
100 0 my $call_object = $self->new_with_coercions('Paws::SimpleWorkflow::ListTagsForResource', @_);
101 0 return $self->caller->do_call($self, $call_object);
102 }
103 0 ▶ sub ListWorkflowTypes {
Subroutine ListWorkflowTypes: not called CC=1 SCAR=6.9
Pod documented
104 0 my $self = shift;
105 0 my $call_object = $self->new_with_coercions('Paws::SimpleWorkflow::ListWorkflowTypes', @_);
106 0 return $self->caller->do_call($self, $call_object);
107 }
108 0 ▶ sub PollForActivityTask {
Subroutine PollForActivityTask: not called CC=1 SCAR=6.9
Pod documented
109 0 my $self = shift;
110 0 my $call_object = $self->new_with_coercions('Paws::SimpleWorkflow::PollForActivityTask', @_);
111 0 return $self->caller->do_call($self, $call_object);
112 }
113 0 ▶ sub PollForDecisionTask {
Subroutine PollForDecisionTask: not called CC=1 SCAR=6.9
Pod documented
114 0 my $self = shift;
115 0 my $call_object = $self->new_with_coercions('Paws::SimpleWorkflow::PollForDecisionTask', @_);
116 0 return $self->caller->do_call($self, $call_object);
117 }
118 0 ▶ sub RecordActivityTaskHeartbeat {
Subroutine RecordActivityTaskHeartbeat: not called CC=1 SCAR=6.9
Pod documented
119 0 my $self = shift;
120 0 my $call_object = $self->new_with_coercions('Paws::SimpleWorkflow::RecordActivityTaskHeartbeat', @_);
121 0 return $self->caller->do_call($self, $call_object);
122 }
123 0 ▶ sub RegisterActivityType {
Subroutine RegisterActivityType: not called CC=1 SCAR=6.9
Pod documented
124 0 my $self = shift;
125 0 my $call_object = $self->new_with_coercions('Paws::SimpleWorkflow::RegisterActivityType', @_);
126 0 return $self->caller->do_call($self, $call_object);
127 }
128 0 ▶ sub RegisterDomain {
Subroutine RegisterDomain: not called CC=1 SCAR=6.9
Pod documented
129 0 my $self = shift;
130 0 my $call_object = $self->new_with_coercions('Paws::SimpleWorkflow::RegisterDomain', @_);
131 0 return $self->caller->do_call($self, $call_object);
132 }
133 0 ▶ sub RegisterWorkflowType {
Subroutine RegisterWorkflowType: not called CC=1 SCAR=6.9
Pod documented
134 0 my $self = shift;
135 0 my $call_object = $self->new_with_coercions('Paws::SimpleWorkflow::RegisterWorkflowType', @_);
136 0 return $self->caller->do_call($self, $call_object);
137 }
138 0 ▶ sub RequestCancelWorkflowExecution {
Subroutine RequestCancelWorkflowExecution: not called CC=1 SCAR=6.9
Pod documented
139 0 my $self = shift;
140 0 my $call_object = $self->new_with_coercions('Paws::SimpleWorkflow::RequestCancelWorkflowExecution', @_);
141 0 return $self->caller->do_call($self, $call_object);
142 }
143 0 ▶ sub RespondActivityTaskCanceled {
Subroutine RespondActivityTaskCanceled: not called CC=1 SCAR=6.9
Pod documented
144 0 my $self = shift;
145 0 my $call_object = $self->new_with_coercions('Paws::SimpleWorkflow::RespondActivityTaskCanceled', @_);
146 0 return $self->caller->do_call($self, $call_object);
147 }
148 0 ▶ sub RespondActivityTaskCompleted {
Subroutine RespondActivityTaskCompleted: not called CC=1 SCAR=6.9
Pod documented
149 0 my $self = shift;
150 0 my $call_object = $self->new_with_coercions('Paws::SimpleWorkflow::RespondActivityTaskCompleted', @_);
151 0 return $self->caller->do_call($self, $call_object);
152 }
153 0 ▶ sub RespondActivityTaskFailed {
Subroutine RespondActivityTaskFailed: not called CC=1 SCAR=6.9
Pod documented
154 0 my $self = shift;
155 0 my $call_object = $self->new_with_coercions('Paws::SimpleWorkflow::RespondActivityTaskFailed', @_);
156 0 return $self->caller->do_call($self, $call_object);
157 }
158 0 ▶ sub RespondDecisionTaskCompleted {
Subroutine RespondDecisionTaskCompleted: not called CC=1 SCAR=6.9
Pod documented
159 0 my $self = shift;
160 0 my $call_object = $self->new_with_coercions('Paws::SimpleWorkflow::RespondDecisionTaskCompleted', @_);
161 0 return $self->caller->do_call($self, $call_object);
162 }
163 0 ▶ sub SignalWorkflowExecution {
Subroutine SignalWorkflowExecution: not called CC=1 SCAR=6.9
Pod documented
164 0 my $self = shift;
165 0 my $call_object = $self->new_with_coercions('Paws::SimpleWorkflow::SignalWorkflowExecution', @_);
166 0 return $self->caller->do_call($self, $call_object);
167 }
168 0 ▶ sub StartWorkflowExecution {
Subroutine StartWorkflowExecution: not called CC=1 SCAR=6.9
Pod documented
169 0 my $self = shift;
170 0 my $call_object = $self->new_with_coercions('Paws::SimpleWorkflow::StartWorkflowExecution', @_);
171 0 return $self->caller->do_call($self, $call_object);
172 }
173 0 ▶ sub TagResource {
Subroutine TagResource: not called CC=1 SCAR=6.9
Pod documented
174 0 my $self = shift;
175 0 my $call_object = $self->new_with_coercions('Paws::SimpleWorkflow::TagResource', @_);
176 0 return $self->caller->do_call($self, $call_object);
177 }
178 0 ▶ sub TerminateWorkflowExecution {
Subroutine TerminateWorkflowExecution: not called CC=1 SCAR=6.9
Pod documented
179 0 my $self = shift;
180 0 my $call_object = $self->new_with_coercions('Paws::SimpleWorkflow::TerminateWorkflowExecution', @_);
181 0 return $self->caller->do_call($self, $call_object);
182 }
183 0 ▶ sub UndeprecateActivityType {
Subroutine UndeprecateActivityType: not called CC=1 SCAR=6.9
Pod documented
184 0 my $self = shift;
185 0 my $call_object = $self->new_with_coercions('Paws::SimpleWorkflow::UndeprecateActivityType', @_);
186 0 return $self->caller->do_call($self, $call_object);
187 }
188 0 ▶ sub UndeprecateDomain {
Subroutine UndeprecateDomain: not called CC=1 SCAR=6.9
Pod documented
189 0 my $self = shift;
190 0 my $call_object = $self->new_with_coercions('Paws::SimpleWorkflow::UndeprecateDomain', @_);
191 0 return $self->caller->do_call($self, $call_object);
192 }
193 0 ▶ sub UndeprecateWorkflowType {
Subroutine UndeprecateWorkflowType: not called CC=1 SCAR=6.9
Pod documented
194 0 my $self = shift;
195 0 my $call_object = $self->new_with_coercions('Paws::SimpleWorkflow::UndeprecateWorkflowType', @_);
196 0 return $self->caller->do_call($self, $call_object);
197 }
198 0 ▶ sub UntagResource {
Subroutine UntagResource: not called CC=1 SCAR=6.9
Pod documented
199 0 my $self = shift;
200 0 my $call_object = $self->new_with_coercions('Paws::SimpleWorkflow::UntagResource', @_);
201 0 return $self->caller->do_call($self, $call_object);
202 }
203
204 0 ▶ sub GetAllWorkflowExecutionHistory {
Subroutine GetAllWorkflowExecutionHistory: not called CC=7 SCAR=40.3
Pod documented
205 0 my $self = shift;
206  
207 0 ▶ my $callback = shift @_ if (ref($_[0]) eq 'CODE');
Branch: 1 branch
BranchTrueFalseTotal
if ref $_[0] eq "CODE" 0 0 0
208 0 my $result = $self->GetWorkflowExecutionHistory(@_);
209 0 my $next_result = $result;
210  
211 0 ▶ if (not defined $callback) {
Branch: 1 branch
BranchTrueFalseTotal
if (not defined $callback) { } 0 0 0
212 0 ▶ while ($next_result->nextPageToken) {
Branch: 1 branch
BranchTrueFalseTotal
if ($next_result->nextPageToken) 0 0 0
213 0 $next_result = $self->GetWorkflowExecutionHistory(@_, nextPageToken => $next_result->nextPageToken);
214 0 push @{ $result->events }, @{ $next_result->events };
215 }
216 0 return $result;
217 } else {
218 0 ▶ while ($result->nextPageToken) {
Branch: 1 branch
BranchTrueFalseTotal
if ($result->nextPageToken) 0 0 0
219 0 $callback->($_ => 'events') foreach (@{ $result->events });
220 0 $result = $self->GetWorkflowExecutionHistory(@_, nextPageToken => $result->nextPageToken);
221 }
222 0 $callback->($_ => 'events') foreach (@{ $result->events });
223 }
224  
225 return undef
226 0 }
227 0 ▶ sub ListAllActivityTypes {
Subroutine ListAllActivityTypes: not called CC=7 SCAR=40.3
Pod documented
228 0 my $self = shift;
229  
230 0 ▶ my $callback = shift @_ if (ref($_[0]) eq 'CODE');
Branch: 1 branch
BranchTrueFalseTotal
if ref $_[0] eq "CODE" 0 0 0
231 0 my $result = $self->ListActivityTypes(@_);
232 0 my $next_result = $result;
233  
234 0 ▶ if (not defined $callback) {
Branch: 1 branch
BranchTrueFalseTotal
if (not defined $callback) { } 0 0 0
235 0 ▶ while ($next_result->nextPageToken) {
Branch: 1 branch
BranchTrueFalseTotal
if ($next_result->nextPageToken) 0 0 0
236 0 $next_result = $self->ListActivityTypes(@_, nextPageToken => $next_result->nextPageToken);
237 0 push @{ $result->typeInfos }, @{ $next_result->typeInfos };
238 }
239 0 return $result;
240 } else {
241 0 ▶ while ($result->nextPageToken) {
Branch: 1 branch
BranchTrueFalseTotal
if ($result->nextPageToken) 0 0 0
242 0 $callback->($_ => 'typeInfos') foreach (@{ $result->typeInfos });
243 0 $result = $self->ListActivityTypes(@_, nextPageToken => $result->nextPageToken);
244 }
245 0 $callback->($_ => 'typeInfos') foreach (@{ $result->typeInfos });
246 }
247  
248 return undef
249 0 }
250 0 ▶ sub ListAllClosedWorkflowExecutions {
Subroutine ListAllClosedWorkflowExecutions: not called CC=7 SCAR=40.3
Pod documented
251 0 my $self = shift;
252  
253 0 ▶ my $callback = shift @_ if (ref($_[0]) eq 'CODE');
Branch: 1 branch
BranchTrueFalseTotal
if ref $_[0] eq "CODE" 0 0 0
254 0 my $result = $self->ListClosedWorkflowExecutions(@_);
255 0 my $next_result = $result;
256  
257 0 ▶ if (not defined $callback) {
Branch: 1 branch
BranchTrueFalseTotal
if (not defined $callback) { } 0 0 0
258 0 ▶ while ($next_result->nextPageToken) {
Branch: 1 branch
BranchTrueFalseTotal
if ($next_result->nextPageToken) 0 0 0
259 0 $next_result = $self->ListClosedWorkflowExecutions(@_, nextPageToken => $next_result->nextPageToken);
260 0 push @{ $result->executionInfos }, @{ $next_result->executionInfos };
261 }
262 0 return $result;
263 } else {
264 0 ▶ while ($result->nextPageToken) {
Branch: 1 branch
BranchTrueFalseTotal
if ($result->nextPageToken) 0 0 0
265 0 $callback->($_ => 'executionInfos') foreach (@{ $result->executionInfos });
266 0 $result = $self->ListClosedWorkflowExecutions(@_, nextPageToken => $result->nextPageToken);
267 }
268 0 $callback->($_ => 'executionInfos') foreach (@{ $result->executionInfos });
269 }
270  
271 return undef
272 0 }
273 0 ▶ sub ListAllDomains {
Subroutine ListAllDomains: not called CC=7 SCAR=40.3
Pod documented
274 0 my $self = shift;
275  
276 0 ▶ my $callback = shift @_ if (ref($_[0]) eq 'CODE');
Branch: 1 branch
BranchTrueFalseTotal
if ref $_[0] eq "CODE" 0 0 0
277 0 my $result = $self->ListDomains(@_);
278 0 my $next_result = $result;
279  
280 0 ▶ if (not defined $callback) {
Branch: 1 branch
BranchTrueFalseTotal
if (not defined $callback) { } 0 0 0
281 0 ▶ while ($next_result->nextPageToken) {
Branch: 1 branch
BranchTrueFalseTotal
if ($next_result->nextPageToken) 0 0 0
282 0 $next_result = $self->ListDomains(@_, nextPageToken => $next_result->nextPageToken);
283 0 push @{ $result->domainInfos }, @{ $next_result->domainInfos };
284 }
285 0 return $result;
286 } else {
287 0 ▶ while ($result->nextPageToken) {
Branch: 1 branch
BranchTrueFalseTotal
if ($result->nextPageToken) 0 0 0
288 0 $callback->($_ => 'domainInfos') foreach (@{ $result->domainInfos });
289 0 $result = $self->ListDomains(@_, nextPageToken => $result->nextPageToken);
290 }
291 0 $callback->($_ => 'domainInfos') foreach (@{ $result->domainInfos });
292 }
293  
294 return undef
295 0 }
296 0 ▶ sub ListAllOpenWorkflowExecutions {
Subroutine ListAllOpenWorkflowExecutions: not called CC=7 SCAR=40.3
Pod documented
297 0 my $self = shift;
298  
299 0 ▶ my $callback = shift @_ if (ref($_[0]) eq 'CODE');
Branch: 1 branch
BranchTrueFalseTotal
if ref $_[0] eq "CODE" 0 0 0
300 0 my $result = $self->ListOpenWorkflowExecutions(@_);
301 0 my $next_result = $result;
302  
303 0 ▶ if (not defined $callback) {
Branch: 1 branch
BranchTrueFalseTotal
if (not defined $callback) { } 0 0 0
304 0 ▶ while ($next_result->nextPageToken) {
Branch: 1 branch
BranchTrueFalseTotal
if ($next_result->nextPageToken) 0 0 0
305 0 $next_result = $self->ListOpenWorkflowExecutions(@_, nextPageToken => $next_result->nextPageToken);
306 0 push @{ $result->executionInfos }, @{ $next_result->executionInfos };
307 }
308 0 return $result;
309 } else {
310 0 ▶ while ($result->nextPageToken) {
Branch: 1 branch
BranchTrueFalseTotal
if ($result->nextPageToken) 0 0 0
311 0 $callback->($_ => 'executionInfos') foreach (@{ $result->executionInfos });
312 0 $result = $self->ListOpenWorkflowExecutions(@_, nextPageToken => $result->nextPageToken);
313 }
314 0 $callback->($_ => 'executionInfos') foreach (@{ $result->executionInfos });
315 }
316  
317 return undef
318 0 }
319 0 ▶ sub ListAllWorkflowTypes {
Subroutine ListAllWorkflowTypes: not called CC=7 SCAR=40.3
Pod documented
320 0 my $self = shift;
321  
322 0 ▶ my $callback = shift @_ if (ref($_[0]) eq 'CODE');
Branch: 1 branch
BranchTrueFalseTotal
if ref $_[0] eq "CODE" 0 0 0
323 0 my $result = $self->ListWorkflowTypes(@_);
324 0 my $next_result = $result;
325  
326 0 ▶ if (not defined $callback) {
Branch: 1 branch
BranchTrueFalseTotal
if (not defined $callback) { } 0 0 0
327 0 ▶ while ($next_result->nextPageToken) {
Branch: 1 branch
BranchTrueFalseTotal
if ($next_result->nextPageToken) 0 0 0
328 0 $next_result = $self->ListWorkflowTypes(@_, nextPageToken => $next_result->nextPageToken);
329 0 push @{ $result->typeInfos }, @{ $next_result->typeInfos };
330 }
331 0 return $result;
332 } else {
333 0 ▶ while ($result->nextPageToken) {
Branch: 1 branch
BranchTrueFalseTotal
if ($result->nextPageToken) 0 0 0
334 0 $callback->($_ => 'typeInfos') foreach (@{ $result->typeInfos });
335 0 $result = $self->ListWorkflowTypes(@_, nextPageToken => $result->nextPageToken);
336 }
337 0 $callback->($_ => 'typeInfos') foreach (@{ $result->typeInfos });
338 }
339  
340 return undef
341 0 }
342 0 ▶ sub PollForAllDecisionTasks {
Subroutine PollForAllDecisionTasks: not called CC=7 SCAR=40.3
Pod documented
343 0 my $self = shift;
344  
345 0 ▶ my $callback = shift @_ if (ref($_[0]) eq 'CODE');
Branch: 1 branch
BranchTrueFalseTotal
if ref $_[0] eq "CODE" 0 0 0
346 0 my $result = $self->PollForDecisionTask(@_);
347 0 my $next_result = $result;
348  
349 0 ▶ if (not defined $callback) {
Branch: 1 branch
BranchTrueFalseTotal
if (not defined $callback) { } 0 0 0
350 0 ▶ while ($next_result->nextPageToken) {
Branch: 1 branch
BranchTrueFalseTotal
if ($next_result->nextPageToken) 0 0 0
351 0 $next_result = $self->PollForDecisionTask(@_, nextPageToken => $next_result->nextPageToken);
352 0 push @{ $result->events }, @{ $next_result->events };
353 }
354 0 return $result;
355 } else {
356 0 ▶ while ($result->nextPageToken) {
Branch: 1 branch
BranchTrueFalseTotal
if ($result->nextPageToken) 0 0 0
357 0 $callback->($_ => 'events') foreach (@{ $result->events });
358 0 $result = $self->PollForDecisionTask(@_, nextPageToken => $result->nextPageToken);
359 }
360 0 $callback->($_ => 'events') foreach (@{ $result->events });
361 }
362  
363 return undef
364 0 }
365  
366  
367 0 ▶ sub operations { qw/CountClosedWorkflowExecutions CountOpenWorkflowExecutions CountPendingActivityTasks CountPendingDecisionTasks DeprecateActivityType DeprecateDomain DeprecateWorkflowType DescribeActivityType DescribeDomain DescribeWorkflowExecution DescribeWorkflowType GetWorkflowExecutionHistory ListActivityTypes ListClosedWorkflowExecutions ListDomains ListOpenWorkflowExecutions ListTagsForResource ListWorkflowTypes PollForActivityTask PollForDecisionTask RecordActivityTaskHeartbeat RegisterActivityType RegisterDomain RegisterWorkflowType RequestCancelWorkflowExecution RespondActivityTaskCanceled RespondActivityTaskCompleted RespondActivityTaskFailed RespondDecisionTaskCompleted SignalWorkflowExecution StartWorkflowExecution TagResource TerminateWorkflowExecution UndeprecateActivityType UndeprecateDomain UndeprecateWorkflowType UntagResource / }
Subroutine operations: not called CC=1 SCAR=6.9
Pod undocumented
368  
369 1 1;
370  
371 ### main pod documentation begin ###
372  
373 =head1 NAME
374  
375 Paws::SimpleWorkflow - Perl Interface to AWS Amazon Simple Workflow Service
376  
377 =head1 SYNOPSIS
378  
379 use Paws;
380  
381 my $obj = Paws->service('SimpleWorkflow');
382 my $res = $obj->Method(
383 Arg1 => $val1,
384 Arg2 => [ 'V1', 'V2' ],
385 # if Arg3 is an object, the HashRef will be used as arguments to the constructor
386 # of the arguments type
387 Arg3 => { Att1 => 'Val1' },
388 # if Arg4 is an array of objects, the HashRefs will be passed as arguments to
389 # the constructor of the arguments type
390 Arg4 => [ { Att1 => 'Val1' }, { Att1 => 'Val2' } ],
391 );
392  
393 =head1 DESCRIPTION
394  
395 Amazon Simple Workflow Service
396  
397 The Amazon Simple Workflow Service (Amazon SWF) makes it easy to build
398 applications that use Amazon's cloud to coordinate work across
399 distributed components. In Amazon SWF, a I<task> represents a logical
400 unit of work that is performed by a component of your workflow.
401 Coordinating tasks in a workflow involves managing intertask
402 dependencies, scheduling, and concurrency in accordance with the
403 logical flow of the application.
404  
405 Amazon SWF gives you full control over implementing tasks and
406 coordinating them without worrying about underlying complexities such
407 as tracking their progress and maintaining their state.
408  
409 This documentation serves as reference only. For a broader overview of
410 the Amazon SWF programming model, see the I< Amazon SWF Developer Guide
411 (https://docs.aws.amazon.com/amazonswf/latest/developerguide/) >.
412  
413 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/swf-2012-01-25>
414  
415  
416 =head1 METHODS
417  
418 =head2 CountClosedWorkflowExecutions
419  
420 =over
421  
422 =item Domain => Str
423  
424 =item [CloseStatusFilter => L<Paws::SimpleWorkflow::CloseStatusFilter>]
425  
426 =item [CloseTimeFilter => L<Paws::SimpleWorkflow::ExecutionTimeFilter>]
427  
428 =item [ExecutionFilter => L<Paws::SimpleWorkflow::WorkflowExecutionFilter>]
429  
430 =item [StartTimeFilter => L<Paws::SimpleWorkflow::ExecutionTimeFilter>]
431  
432 =item [TagFilter => L<Paws::SimpleWorkflow::TagFilter>]
433  
434 =item [TypeFilter => L<Paws::SimpleWorkflow::WorkflowTypeFilter>]
435  
436  
437 =back
438  
439 Each argument is described in detail in: L<Paws::SimpleWorkflow::CountClosedWorkflowExecutions>
440  
441 Returns: a L<Paws::SimpleWorkflow::WorkflowExecutionCount> instance
442  
443 Returns the number of closed workflow executions within the given
444 domain that meet the specified filtering criteria.
445  
446 This operation is eventually consistent. The results are best effort
447 and may not exactly reflect recent updates and changes.
448  
449 B<Access Control>
450  
451 You can use IAM policies to control this action's access to Amazon SWF
452 resources as follows:
453  
454 =over
455  
456 =item *
457  
458 Use a C<Resource> element with the domain name to limit the action to
459 only specified domains.
460  
461 =item *
462  
463 Use an C<Action> element to allow or deny permission to call this
464 action.
465  
466 =item *
467  
468 Constrain the following parameters by using a C<Condition> element with
469 the appropriate keys.
470  
471 =over
472  
473 =item *
474  
475 C<tagFilter.tag>: String constraint. The key is C<swf:tagFilter.tag>.
476  
477 =item *
478  
479 C<typeFilter.name>: String constraint. The key is
480 C<swf:typeFilter.name>.
481  
482 =item *
483  
484 C<typeFilter.version>: String constraint. The key is
485 C<swf:typeFilter.version>.
486  
487 =back
488  
489 =back
490  
491 If the caller doesn't have sufficient permissions to invoke the action,
492 or the parameter values fall outside the specified constraints, the
493 action fails. The associated event attribute's C<cause> parameter is
494 set to C<OPERATION_NOT_PERMITTED>. For details and example IAM
495 policies, see Using IAM to Manage Access to Amazon SWF Workflows
496 (https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html)
497 in the I<Amazon SWF Developer Guide>.
498  
499  
500 =head2 CountOpenWorkflowExecutions
501  
502 =over
503  
504 =item Domain => Str
505  
506 =item StartTimeFilter => L<Paws::SimpleWorkflow::ExecutionTimeFilter>
507  
508 =item [ExecutionFilter => L<Paws::SimpleWorkflow::WorkflowExecutionFilter>]
509  
510 =item [TagFilter => L<Paws::SimpleWorkflow::TagFilter>]
511  
512 =item [TypeFilter => L<Paws::SimpleWorkflow::WorkflowTypeFilter>]
513  
514  
515 =back
516  
517 Each argument is described in detail in: L<Paws::SimpleWorkflow::CountOpenWorkflowExecutions>
518  
519 Returns: a L<Paws::SimpleWorkflow::WorkflowExecutionCount> instance
520  
521 Returns the number of open workflow executions within the given domain
522 that meet the specified filtering criteria.
523  
524 This operation is eventually consistent. The results are best effort
525 and may not exactly reflect recent updates and changes.
526  
527 B<Access Control>
528  
529 You can use IAM policies to control this action's access to Amazon SWF
530 resources as follows:
531  
532 =over
533  
534 =item *
535  
536 Use a C<Resource> element with the domain name to limit the action to
537 only specified domains.
538  
539 =item *
540  
541 Use an C<Action> element to allow or deny permission to call this
542 action.
543  
544 =item *
545  
546 Constrain the following parameters by using a C<Condition> element with
547 the appropriate keys.
548  
549 =over
550  
551 =item *
552  
553 C<tagFilter.tag>: String constraint. The key is C<swf:tagFilter.tag>.
554  
555 =item *
556  
557 C<typeFilter.name>: String constraint. The key is
558 C<swf:typeFilter.name>.
559  
560 =item *
561  
562 C<typeFilter.version>: String constraint. The key is
563 C<swf:typeFilter.version>.
564  
565 =back
566  
567 =back
568  
569 If the caller doesn't have sufficient permissions to invoke the action,
570 or the parameter values fall outside the specified constraints, the
571 action fails. The associated event attribute's C<cause> parameter is
572 set to C<OPERATION_NOT_PERMITTED>. For details and example IAM
573 policies, see Using IAM to Manage Access to Amazon SWF Workflows
574 (https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html)
575 in the I<Amazon SWF Developer Guide>.
576  
577  
578 =head2 CountPendingActivityTasks
579  
580 =over
581  
582 =item Domain => Str
583  
584 =item TaskList => L<Paws::SimpleWorkflow::TaskList>
585  
586  
587 =back
588  
589 Each argument is described in detail in: L<Paws::SimpleWorkflow::CountPendingActivityTasks>
590  
591 Returns: a L<Paws::SimpleWorkflow::PendingTaskCount> instance
592  
593 Returns the estimated number of activity tasks in the specified task
594 list. The count returned is an approximation and isn't guaranteed to be
595 exact. If you specify a task list that no activity task was ever
596 scheduled in then C<0> is returned.
597  
598 B<Access Control>
599  
600 You can use IAM policies to control this action's access to Amazon SWF
601 resources as follows:
602  
603 =over
604  
605 =item *
606  
607 Use a C<Resource> element with the domain name to limit the action to
608 only specified domains.
609  
610 =item *
611  
612 Use an C<Action> element to allow or deny permission to call this
613 action.
614  
615 =item *
616  
617 Constrain the C<taskList.name> parameter by using a C<Condition>
618 element with the C<swf:taskList.name> key to allow the action to access
619 only certain task lists.
620  
621 =back
622  
623 If the caller doesn't have sufficient permissions to invoke the action,
624 or the parameter values fall outside the specified constraints, the
625 action fails. The associated event attribute's C<cause> parameter is
626 set to C<OPERATION_NOT_PERMITTED>. For details and example IAM
627 policies, see Using IAM to Manage Access to Amazon SWF Workflows
628 (https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html)
629 in the I<Amazon SWF Developer Guide>.
630  
631  
632 =head2 CountPendingDecisionTasks
633  
634 =over
635  
636 =item Domain => Str
637  
638 =item TaskList => L<Paws::SimpleWorkflow::TaskList>
639  
640  
641 =back
642  
643 Each argument is described in detail in: L<Paws::SimpleWorkflow::CountPendingDecisionTasks>
644  
645 Returns: a L<Paws::SimpleWorkflow::PendingTaskCount> instance
646  
647 Returns the estimated number of decision tasks in the specified task
648 list. The count returned is an approximation and isn't guaranteed to be
649 exact. If you specify a task list that no decision task was ever
650 scheduled in then C<0> is returned.
651  
652 B<Access Control>
653  
654 You can use IAM policies to control this action's access to Amazon SWF
655 resources as follows:
656  
657 =over
658  
659 =item *
660  
661 Use a C<Resource> element with the domain name to limit the action to
662 only specified domains.
663  
664 =item *
665  
666 Use an C<Action> element to allow or deny permission to call this
667 action.
668  
669 =item *
670  
671 Constrain the C<taskList.name> parameter by using a C<Condition>
672 element with the C<swf:taskList.name> key to allow the action to access
673 only certain task lists.
674  
675 =back
676  
677 If the caller doesn't have sufficient permissions to invoke the action,
678 or the parameter values fall outside the specified constraints, the
679 action fails. The associated event attribute's C<cause> parameter is
680 set to C<OPERATION_NOT_PERMITTED>. For details and example IAM
681 policies, see Using IAM to Manage Access to Amazon SWF Workflows
682 (https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html)
683 in the I<Amazon SWF Developer Guide>.
684  
685  
686 =head2 DeprecateActivityType
687  
688 =over
689  
690 =item ActivityType => L<Paws::SimpleWorkflow::ActivityType>
691  
692 =item Domain => Str
693  
694  
695 =back
696  
697 Each argument is described in detail in: L<Paws::SimpleWorkflow::DeprecateActivityType>
698  
699 Returns: nothing
700  
701 Deprecates the specified I<activity type>. After an activity type has
702 been deprecated, you cannot create new tasks of that activity type.
703 Tasks of this type that were scheduled before the type was deprecated
704 continue to run.
705  
706 This operation is eventually consistent. The results are best effort
707 and may not exactly reflect recent updates and changes.
708  
709 B<Access Control>
710  
711 You can use IAM policies to control this action's access to Amazon SWF
712 resources as follows:
713  
714 =over
715  
716 =item *
717  
718 Use a C<Resource> element with the domain name to limit the action to
719 only specified domains.
720  
721 =item *
722  
723 Use an C<Action> element to allow or deny permission to call this
724 action.
725  
726 =item *
727  
728 Constrain the following parameters by using a C<Condition> element with
729 the appropriate keys.
730  
731 =over
732  
733 =item *
734  
735 C<activityType.name>: String constraint. The key is
736 C<swf:activityType.name>.
737  
738 =item *
739  
740 C<activityType.version>: String constraint. The key is
741 C<swf:activityType.version>.
742  
743 =back
744  
745 =back
746  
747 If the caller doesn't have sufficient permissions to invoke the action,
748 or the parameter values fall outside the specified constraints, the
749 action fails. The associated event attribute's C<cause> parameter is
750 set to C<OPERATION_NOT_PERMITTED>. For details and example IAM
751 policies, see Using IAM to Manage Access to Amazon SWF Workflows
752 (https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html)
753 in the I<Amazon SWF Developer Guide>.
754  
755  
756 =head2 DeprecateDomain
757  
758 =over
759  
760 =item Name => Str
761  
762  
763 =back
764  
765 Each argument is described in detail in: L<Paws::SimpleWorkflow::DeprecateDomain>
766  
767 Returns: nothing
768  
769 Deprecates the specified domain. After a domain has been deprecated it
770 cannot be used to create new workflow executions or register new types.
771 However, you can still use visibility actions on this domain.
772 Deprecating a domain also deprecates all activity and workflow types
773 registered in the domain. Executions that were started before the
774 domain was deprecated continues to run.
775  
776 This operation is eventually consistent. The results are best effort
777 and may not exactly reflect recent updates and changes.
778  
779 B<Access Control>
780  
781 You can use IAM policies to control this action's access to Amazon SWF
782 resources as follows:
783  
784 =over
785  
786 =item *
787  
788 Use a C<Resource> element with the domain name to limit the action to
789 only specified domains.
790  
791 =item *
792  
793 Use an C<Action> element to allow or deny permission to call this
794 action.
795  
796 =item *
797  
798 You cannot use an IAM policy to constrain this action's parameters.
799  
800 =back
801  
802 If the caller doesn't have sufficient permissions to invoke the action,
803 or the parameter values fall outside the specified constraints, the
804 action fails. The associated event attribute's C<cause> parameter is
805 set to C<OPERATION_NOT_PERMITTED>. For details and example IAM
806 policies, see Using IAM to Manage Access to Amazon SWF Workflows
807 (https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html)
808 in the I<Amazon SWF Developer Guide>.
809  
810  
811 =head2 DeprecateWorkflowType
812  
813 =over
814  
815 =item Domain => Str
816  
817 =item WorkflowType => L<Paws::SimpleWorkflow::WorkflowType>
818  
819  
820 =back
821  
822 Each argument is described in detail in: L<Paws::SimpleWorkflow::DeprecateWorkflowType>
823  
824 Returns: nothing
825  
826 Deprecates the specified I<workflow type>. After a workflow type has
827 been deprecated, you cannot create new executions of that type.
828 Executions that were started before the type was deprecated continues
829 to run. A deprecated workflow type may still be used when calling
830 visibility actions.
831  
832 This operation is eventually consistent. The results are best effort
833 and may not exactly reflect recent updates and changes.
834  
835 B<Access Control>
836  
837 You can use IAM policies to control this action's access to Amazon SWF
838 resources as follows:
839  
840 =over
841  
842 =item *
843  
844 Use a C<Resource> element with the domain name to limit the action to
845 only specified domains.
846  
847 =item *
848  
849 Use an C<Action> element to allow or deny permission to call this
850 action.
851  
852 =item *
853  
854 Constrain the following parameters by using a C<Condition> element with
855 the appropriate keys.
856  
857 =over
858  
859 =item *
860  
861 C<workflowType.name>: String constraint. The key is
862 C<swf:workflowType.name>.
863  
864 =item *
865  
866 C<workflowType.version>: String constraint. The key is
867 C<swf:workflowType.version>.
868  
869 =back
870  
871 =back
872  
873 If the caller doesn't have sufficient permissions to invoke the action,
874 or the parameter values fall outside the specified constraints, the
875 action fails. The associated event attribute's C<cause> parameter is
876 set to C<OPERATION_NOT_PERMITTED>. For details and example IAM
877 policies, see Using IAM to Manage Access to Amazon SWF Workflows
878 (https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html)
879 in the I<Amazon SWF Developer Guide>.
880  
881  
882 =head2 DescribeActivityType
883  
884 =over
885  
886 =item ActivityType => L<Paws::SimpleWorkflow::ActivityType>
887  
888 =item Domain => Str
889  
890  
891 =back
892  
893 Each argument is described in detail in: L<Paws::SimpleWorkflow::DescribeActivityType>
894  
895 Returns: a L<Paws::SimpleWorkflow::ActivityTypeDetail> instance
896  
897 Returns information about the specified activity type. This includes
898 configuration settings provided when the type was registered and other
899 general information about the type.
900  
901 B<Access Control>
902  
903 You can use IAM policies to control this action's access to Amazon SWF
904 resources as follows:
905  
906 =over
907  
908 =item *
909  
910 Use a C<Resource> element with the domain name to limit the action to
911 only specified domains.
912  
913 =item *
914  
915 Use an C<Action> element to allow or deny permission to call this
916 action.
917  
918 =item *
919  
920 Constrain the following parameters by using a C<Condition> element with
921 the appropriate keys.
922  
923 =over
924  
925 =item *
926  
927 C<activityType.name>: String constraint. The key is
928 C<swf:activityType.name>.
929  
930 =item *
931  
932 C<activityType.version>: String constraint. The key is
933 C<swf:activityType.version>.
934  
935 =back
936  
937 =back
938  
939 If the caller doesn't have sufficient permissions to invoke the action,
940 or the parameter values fall outside the specified constraints, the
941 action fails. The associated event attribute's C<cause> parameter is
942 set to C<OPERATION_NOT_PERMITTED>. For details and example IAM
943 policies, see Using IAM to Manage Access to Amazon SWF Workflows
944 (https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html)
945 in the I<Amazon SWF Developer Guide>.
946  
947  
948 =head2 DescribeDomain
949  
950 =over
951  
952 =item Name => Str
953  
954  
955 =back
956  
957 Each argument is described in detail in: L<Paws::SimpleWorkflow::DescribeDomain>
958  
959 Returns: a L<Paws::SimpleWorkflow::DomainDetail> instance
960  
961 Returns information about the specified domain, including description
962 and status.
963  
964 B<Access Control>
965  
966 You can use IAM policies to control this action's access to Amazon SWF
967 resources as follows:
968  
969 =over
970  
971 =item *
972  
973 Use a C<Resource> element with the domain name to limit the action to
974 only specified domains.
975  
976 =item *
977  
978 Use an C<Action> element to allow or deny permission to call this
979 action.
980  
981 =item *
982  
983 You cannot use an IAM policy to constrain this action's parameters.
984  
985 =back
986  
987 If the caller doesn't have sufficient permissions to invoke the action,
988 or the parameter values fall outside the specified constraints, the
989 action fails. The associated event attribute's C<cause> parameter is
990 set to C<OPERATION_NOT_PERMITTED>. For details and example IAM
991 policies, see Using IAM to Manage Access to Amazon SWF Workflows
992 (https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html)
993 in the I<Amazon SWF Developer Guide>.
994  
995  
996 =head2 DescribeWorkflowExecution
997  
998 =over
999  
1000 =item Domain => Str
1001  
1002 =item Execution => L<Paws::SimpleWorkflow::WorkflowExecution>
1003  
1004  
1005 =back
1006  
1007 Each argument is described in detail in: L<Paws::SimpleWorkflow::DescribeWorkflowExecution>
1008  
1009 Returns: a L<Paws::SimpleWorkflow::WorkflowExecutionDetail> instance
1010  
1011 Returns information about the specified workflow execution including
1012 its type and some statistics.
1013  
1014 This operation is eventually consistent. The results are best effort
1015 and may not exactly reflect recent updates and changes.
1016  
1017 B<Access Control>
1018  
1019 You can use IAM policies to control this action's access to Amazon SWF
1020 resources as follows:
1021  
1022 =over
1023  
1024 =item *
1025  
1026 Use a C<Resource> element with the domain name to limit the action to
1027 only specified domains.
1028  
1029 =item *
1030  
1031 Use an C<Action> element to allow or deny permission to call this
1032 action.
1033  
1034 =item *
1035  
1036 You cannot use an IAM policy to constrain this action's parameters.
1037  
1038 =back
1039  
1040 If the caller doesn't have sufficient permissions to invoke the action,
1041 or the parameter values fall outside the specified constraints, the
1042 action fails. The associated event attribute's C<cause> parameter is
1043 set to C<OPERATION_NOT_PERMITTED>. For details and example IAM
1044 policies, see Using IAM to Manage Access to Amazon SWF Workflows
1045 (https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html)
1046 in the I<Amazon SWF Developer Guide>.
1047  
1048  
1049 =head2 DescribeWorkflowType
1050  
1051 =over
1052  
1053 =item Domain => Str
1054  
1055 =item WorkflowType => L<Paws::SimpleWorkflow::WorkflowType>
1056  
1057  
1058 =back
1059  
1060 Each argument is described in detail in: L<Paws::SimpleWorkflow::DescribeWorkflowType>
1061  
1062 Returns: a L<Paws::SimpleWorkflow::WorkflowTypeDetail> instance
1063  
1064 Returns information about the specified I<workflow type>. This includes
1065 configuration settings specified when the type was registered and other
1066 information such as creation date, current status, etc.
1067  
1068 B<Access Control>
1069  
1070 You can use IAM policies to control this action's access to Amazon SWF
1071 resources as follows:
1072  
1073 =over
1074  
1075 =item *
1076  
1077 Use a C<Resource> element with the domain name to limit the action to
1078 only specified domains.
1079  
1080 =item *
1081  
1082 Use an C<Action> element to allow or deny permission to call this
1083 action.
1084  
1085 =item *
1086  
1087 Constrain the following parameters by using a C<Condition> element with
1088 the appropriate keys.
1089  
1090 =over
1091  
1092 =item *
1093  
1094 C<workflowType.name>: String constraint. The key is
1095 C<swf:workflowType.name>.
1096  
1097 =item *
1098  
1099 C<workflowType.version>: String constraint. The key is
1100 C<swf:workflowType.version>.
1101  
1102 =back
1103  
1104 =back
1105  
1106 If the caller doesn't have sufficient permissions to invoke the action,
1107 or the parameter values fall outside the specified constraints, the
1108 action fails. The associated event attribute's C<cause> parameter is
1109 set to C<OPERATION_NOT_PERMITTED>. For details and example IAM
1110 policies, see Using IAM to Manage Access to Amazon SWF Workflows
1111 (https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html)
1112 in the I<Amazon SWF Developer Guide>.
1113  
1114  
1115 =head2 GetWorkflowExecutionHistory
1116  
1117 =over
1118  
1119 =item Domain => Str
1120  
1121 =item Execution => L<Paws::SimpleWorkflow::WorkflowExecution>
1122  
1123 =item [MaximumPageSize => Int]
1124  
1125 =item [NextPageToken => Str]
1126  
1127 =item [ReverseOrder => Bool]
1128  
1129  
1130 =back
1131  
1132 Each argument is described in detail in: L<Paws::SimpleWorkflow::GetWorkflowExecutionHistory>
1133  
1134 Returns: a L<Paws::SimpleWorkflow::History> instance
1135  
1136 Returns the history of the specified workflow execution. The results
1137 may be split into multiple pages. To retrieve subsequent pages, make
1138 the call again using the C<nextPageToken> returned by the initial call.
1139  
1140 This operation is eventually consistent. The results are best effort
1141 and may not exactly reflect recent updates and changes.
1142  
1143 B<Access Control>
1144  
1145 You can use IAM policies to control this action's access to Amazon SWF
1146 resources as follows:
1147  
1148 =over
1149  
1150 =item *
1151  
1152 Use a C<Resource> element with the domain name to limit the action to
1153 only specified domains.
1154  
1155 =item *
1156  
1157 Use an C<Action> element to allow or deny permission to call this
1158 action.
1159  
1160 =item *
1161  
1162 You cannot use an IAM policy to constrain this action's parameters.
1163  
1164 =back
1165  
1166 If the caller doesn't have sufficient permissions to invoke the action,
1167 or the parameter values fall outside the specified constraints, the
1168 action fails. The associated event attribute's C<cause> parameter is
1169 set to C<OPERATION_NOT_PERMITTED>. For details and example IAM
1170 policies, see Using IAM to Manage Access to Amazon SWF Workflows
1171 (https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html)
1172 in the I<Amazon SWF Developer Guide>.
1173  
1174  
1175 =head2 ListActivityTypes
1176  
1177 =over
1178  
1179 =item Domain => Str
1180  
1181 =item RegistrationStatus => Str
1182  
1183 =item [MaximumPageSize => Int]
1184  
1185 =item [Name => Str]
1186  
1187 =item [NextPageToken => Str]
1188  
1189 =item [ReverseOrder => Bool]
1190  
1191  
1192 =back
1193  
1194 Each argument is described in detail in: L<Paws::SimpleWorkflow::ListActivityTypes>
1195  
1196 Returns: a L<Paws::SimpleWorkflow::ActivityTypeInfos> instance
1197  
1198 Returns information about all activities registered in the specified
1199 domain that match the specified name and registration status. The
1200 result includes information like creation date, current status of the
1201 activity, etc. The results may be split into multiple pages. To
1202 retrieve subsequent pages, make the call again using the
1203 C<nextPageToken> returned by the initial call.
1204  
1205 B<Access Control>
1206  
1207 You can use IAM policies to control this action's access to Amazon SWF
1208 resources as follows:
1209  
1210 =over
1211  
1212 =item *
1213  
1214 Use a C<Resource> element with the domain name to limit the action to
1215 only specified domains.
1216  
1217 =item *
1218  
1219 Use an C<Action> element to allow or deny permission to call this
1220 action.
1221  
1222 =item *
1223  
1224 You cannot use an IAM policy to constrain this action's parameters.
1225  
1226 =back
1227  
1228 If the caller doesn't have sufficient permissions to invoke the action,
1229 or the parameter values fall outside the specified constraints, the
1230 action fails. The associated event attribute's C<cause> parameter is
1231 set to C<OPERATION_NOT_PERMITTED>. For details and example IAM
1232 policies, see Using IAM to Manage Access to Amazon SWF Workflows
1233 (https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html)
1234 in the I<Amazon SWF Developer Guide>.
1235  
1236  
1237 =head2 ListClosedWorkflowExecutions
1238  
1239 =over
1240  
1241 =item Domain => Str
1242  
1243 =item [CloseStatusFilter => L<Paws::SimpleWorkflow::CloseStatusFilter>]
1244  
1245 =item [CloseTimeFilter => L<Paws::SimpleWorkflow::ExecutionTimeFilter>]
1246  
1247 =item [ExecutionFilter => L<Paws::SimpleWorkflow::WorkflowExecutionFilter>]
1248  
1249 =item [MaximumPageSize => Int]
1250  
1251 =item [NextPageToken => Str]
1252  
1253 =item [ReverseOrder => Bool]
1254  
1255 =item [StartTimeFilter => L<Paws::SimpleWorkflow::ExecutionTimeFilter>]
1256  
1257 =item [TagFilter => L<Paws::SimpleWorkflow::TagFilter>]
1258  
1259 =item [TypeFilter => L<Paws::SimpleWorkflow::WorkflowTypeFilter>]
1260  
1261  
1262 =back
1263  
1264 Each argument is described in detail in: L<Paws::SimpleWorkflow::ListClosedWorkflowExecutions>
1265  
1266 Returns: a L<Paws::SimpleWorkflow::WorkflowExecutionInfos> instance
1267  
1268 Returns a list of closed workflow executions in the specified domain
1269 that meet the filtering criteria. The results may be split into
1270 multiple pages. To retrieve subsequent pages, make the call again using
1271 the nextPageToken returned by the initial call.
1272  
1273 This operation is eventually consistent. The results are best effort
1274 and may not exactly reflect recent updates and changes.
1275  
1276 B<Access Control>
1277  
1278 You can use IAM policies to control this action's access to Amazon SWF
1279 resources as follows:
1280  
1281 =over
1282  
1283 =item *
1284  
1285 Use a C<Resource> element with the domain name to limit the action to
1286 only specified domains.
1287  
1288 =item *
1289  
1290 Use an C<Action> element to allow or deny permission to call this
1291 action.
1292  
1293 =item *
1294  
1295 Constrain the following parameters by using a C<Condition> element with
1296 the appropriate keys.
1297  
1298 =over
1299  
1300 =item *
1301  
1302 C<tagFilter.tag>: String constraint. The key is C<swf:tagFilter.tag>.
1303  
1304 =item *
1305  
1306 C<typeFilter.name>: String constraint. The key is
1307 C<swf:typeFilter.name>.
1308  
1309 =item *
1310  
1311 C<typeFilter.version>: String constraint. The key is
1312 C<swf:typeFilter.version>.
1313  
1314 =back
1315  
1316 =back
1317  
1318 If the caller doesn't have sufficient permissions to invoke the action,
1319 or the parameter values fall outside the specified constraints, the
1320 action fails. The associated event attribute's C<cause> parameter is
1321 set to C<OPERATION_NOT_PERMITTED>. For details and example IAM
1322 policies, see Using IAM to Manage Access to Amazon SWF Workflows
1323 (https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html)
1324 in the I<Amazon SWF Developer Guide>.
1325  
1326  
1327 =head2 ListDomains
1328  
1329 =over
1330  
1331 =item RegistrationStatus => Str
1332  
1333 =item [MaximumPageSize => Int]
1334  
1335 =item [NextPageToken => Str]
1336  
1337 =item [ReverseOrder => Bool]
1338  
1339  
1340 =back
1341  
1342 Each argument is described in detail in: L<Paws::SimpleWorkflow::ListDomains>
1343  
1344 Returns: a L<Paws::SimpleWorkflow::DomainInfos> instance
1345  
1346 Returns the list of domains registered in the account. The results may
1347 be split into multiple pages. To retrieve subsequent pages, make the
1348 call again using the nextPageToken returned by the initial call.
1349  
1350 This operation is eventually consistent. The results are best effort
1351 and may not exactly reflect recent updates and changes.
1352  
1353 B<Access Control>
1354  
1355 You can use IAM policies to control this action's access to Amazon SWF
1356 resources as follows:
1357  
1358 =over
1359  
1360 =item *
1361  
1362 Use a C<Resource> element with the domain name to limit the action to
1363 only specified domains. The element must be set to
1364 C<arn:aws:swf::AccountID:domain/*>, where I<AccountID> is the account
1365 ID, with no dashes.
1366  
1367 =item *
1368  
1369 Use an C<Action> element to allow or deny permission to call this
1370 action.
1371  
1372 =item *
1373  
1374 You cannot use an IAM policy to constrain this action's parameters.
1375  
1376 =back
1377  
1378 If the caller doesn't have sufficient permissions to invoke the action,
1379 or the parameter values fall outside the specified constraints, the
1380 action fails. The associated event attribute's C<cause> parameter is
1381 set to C<OPERATION_NOT_PERMITTED>. For details and example IAM
1382 policies, see Using IAM to Manage Access to Amazon SWF Workflows
1383 (https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html)
1384 in the I<Amazon SWF Developer Guide>.
1385  
1386  
1387 =head2 ListOpenWorkflowExecutions
1388  
1389 =over
1390  
1391 =item Domain => Str
1392  
1393 =item StartTimeFilter => L<Paws::SimpleWorkflow::ExecutionTimeFilter>
1394  
1395 =item [ExecutionFilter => L<Paws::SimpleWorkflow::WorkflowExecutionFilter>]
1396  
1397 =item [MaximumPageSize => Int]
1398  
1399 =item [NextPageToken => Str]
1400  
1401 =item [ReverseOrder => Bool]
1402  
1403 =item [TagFilter => L<Paws::SimpleWorkflow::TagFilter>]
1404  
1405 =item [TypeFilter => L<Paws::SimpleWorkflow::WorkflowTypeFilter>]
1406  
1407  
1408 =back
1409  
1410 Each argument is described in detail in: L<Paws::SimpleWorkflow::ListOpenWorkflowExecutions>
1411  
1412 Returns: a L<Paws::SimpleWorkflow::WorkflowExecutionInfos> instance
1413  
1414 Returns a list of open workflow executions in the specified domain that
1415 meet the filtering criteria. The results may be split into multiple
1416 pages. To retrieve subsequent pages, make the call again using the
1417 nextPageToken returned by the initial call.
1418  
1419 This operation is eventually consistent. The results are best effort
1420 and may not exactly reflect recent updates and changes.
1421  
1422 B<Access Control>
1423  
1424 You can use IAM policies to control this action's access to Amazon SWF
1425 resources as follows:
1426  
1427 =over
1428  
1429 =item *
1430  
1431 Use a C<Resource> element with the domain name to limit the action to
1432 only specified domains.
1433  
1434 =item *
1435  
1436 Use an C<Action> element to allow or deny permission to call this
1437 action.
1438  
1439 =item *
1440  
1441 Constrain the following parameters by using a C<Condition> element with
1442 the appropriate keys.
1443  
1444 =over
1445  
1446 =item *
1447  
1448 C<tagFilter.tag>: String constraint. The key is C<swf:tagFilter.tag>.
1449  
1450 =item *
1451  
1452 C<typeFilter.name>: String constraint. The key is
1453 C<swf:typeFilter.name>.
1454  
1455 =item *
1456  
1457 C<typeFilter.version>: String constraint. The key is
1458 C<swf:typeFilter.version>.
1459  
1460 =back
1461  
1462 =back
1463  
1464 If the caller doesn't have sufficient permissions to invoke the action,
1465 or the parameter values fall outside the specified constraints, the
1466 action fails. The associated event attribute's C<cause> parameter is
1467 set to C<OPERATION_NOT_PERMITTED>. For details and example IAM
1468 policies, see Using IAM to Manage Access to Amazon SWF Workflows
1469 (https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html)
1470 in the I<Amazon SWF Developer Guide>.
1471  
1472  
1473 =head2 ListTagsForResource
1474  
1475 =over
1476  
1477 =item ResourceArn => Str
1478  
1479  
1480 =back
1481  
1482 Each argument is described in detail in: L<Paws::SimpleWorkflow::ListTagsForResource>
1483  
1484 Returns: a L<Paws::SimpleWorkflow::ListTagsForResourceOutput> instance
1485  
1486 List tags for a given domain.
1487  
1488  
1489 =head2 ListWorkflowTypes
1490  
1491 =over
1492  
1493 =item Domain => Str
1494  
1495 =item RegistrationStatus => Str
1496  
1497 =item [MaximumPageSize => Int]
1498  
1499 =item [Name => Str]
1500  
1501 =item [NextPageToken => Str]
1502  
1503 =item [ReverseOrder => Bool]
1504  
1505  
1506 =back
1507  
1508 Each argument is described in detail in: L<Paws::SimpleWorkflow::ListWorkflowTypes>
1509  
1510 Returns: a L<Paws::SimpleWorkflow::WorkflowTypeInfos> instance
1511  
1512 Returns information about workflow types in the specified domain. The
1513 results may be split into multiple pages that can be retrieved by
1514 making the call repeatedly.
1515  
1516 B<Access Control>
1517  
1518 You can use IAM policies to control this action's access to Amazon SWF
1519 resources as follows:
1520  
1521 =over
1522  
1523 =item *
1524  
1525 Use a C<Resource> element with the domain name to limit the action to
1526 only specified domains.
1527  
1528 =item *
1529  
1530 Use an C<Action> element to allow or deny permission to call this
1531 action.
1532  
1533 =item *
1534  
1535 You cannot use an IAM policy to constrain this action's parameters.
1536  
1537 =back
1538  
1539 If the caller doesn't have sufficient permissions to invoke the action,
1540 or the parameter values fall outside the specified constraints, the
1541 action fails. The associated event attribute's C<cause> parameter is
1542 set to C<OPERATION_NOT_PERMITTED>. For details and example IAM
1543 policies, see Using IAM to Manage Access to Amazon SWF Workflows
1544 (https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html)
1545 in the I<Amazon SWF Developer Guide>.
1546  
1547  
1548 =head2 PollForActivityTask
1549  
1550 =over
1551  
1552 =item Domain => Str
1553  
1554 =item TaskList => L<Paws::SimpleWorkflow::TaskList>
1555  
1556 =item [Identity => Str]
1557  
1558  
1559 =back
1560  
1561 Each argument is described in detail in: L<Paws::SimpleWorkflow::PollForActivityTask>
1562  
1563 Returns: a L<Paws::SimpleWorkflow::ActivityTask> instance
1564  
1565 Used by workers to get an ActivityTask from the specified activity
1566 C<taskList>. This initiates a long poll, where the service holds the
1567 HTTP connection open and responds as soon as a task becomes available.
1568 The maximum time the service holds on to the request before responding
1569 is 60 seconds. If no task is available within 60 seconds, the poll
1570 returns an empty result. An empty result, in this context, means that
1571 an ActivityTask is returned, but that the value of taskToken is an
1572 empty string. If a task is returned, the worker should use its type to
1573 identify and process it correctly.
1574  
1575 Workers should set their client side socket timeout to at least 70
1576 seconds (10 seconds higher than the maximum time service may hold the
1577 poll request).
1578  
1579 B<Access Control>
1580  
1581 You can use IAM policies to control this action's access to Amazon SWF
1582 resources as follows:
1583  
1584 =over
1585  
1586 =item *
1587  
1588 Use a C<Resource> element with the domain name to limit the action to
1589 only specified domains.
1590  
1591 =item *
1592  
1593 Use an C<Action> element to allow or deny permission to call this
1594 action.
1595  
1596 =item *
1597  
1598 Constrain the C<taskList.name> parameter by using a C<Condition>
1599 element with the C<swf:taskList.name> key to allow the action to access
1600 only certain task lists.
1601  
1602 =back
1603  
1604 If the caller doesn't have sufficient permissions to invoke the action,
1605 or the parameter values fall outside the specified constraints, the
1606 action fails. The associated event attribute's C<cause> parameter is
1607 set to C<OPERATION_NOT_PERMITTED>. For details and example IAM
1608 policies, see Using IAM to Manage Access to Amazon SWF Workflows
1609 (https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html)
1610 in the I<Amazon SWF Developer Guide>.
1611  
1612  
1613 =head2 PollForDecisionTask
1614  
1615 =over
1616  
1617 =item Domain => Str
1618  
1619 =item TaskList => L<Paws::SimpleWorkflow::TaskList>
1620  
1621 =item [Identity => Str]
1622  
1623 =item [MaximumPageSize => Int]
1624  
1625 =item [NextPageToken => Str]
1626  
1627 =item [ReverseOrder => Bool]
1628  
1629  
1630 =back
1631  
1632 Each argument is described in detail in: L<Paws::SimpleWorkflow::PollForDecisionTask>
1633  
1634 Returns: a L<Paws::SimpleWorkflow::DecisionTask> instance
1635  
1636 Used by deciders to get a DecisionTask from the specified decision
1637 C<taskList>. A decision task may be returned for any open workflow
1638 execution that is using the specified task list. The task includes a
1639 paginated view of the history of the workflow execution. The decider
1640 should use the workflow type and the history to determine how to
1641 properly handle the task.
1642  
1643 This action initiates a long poll, where the service holds the HTTP
1644 connection open and responds as soon a task becomes available. If no
1645 decision task is available in the specified task list before the
1646 timeout of 60 seconds expires, an empty result is returned. An empty
1647 result, in this context, means that a DecisionTask is returned, but
1648 that the value of taskToken is an empty string.
1649  
1650 Deciders should set their client side socket timeout to at least 70
1651 seconds (10 seconds higher than the timeout).
1652  
1653 Because the number of workflow history events for a single workflow
1654 execution might be very large, the result returned might be split up
1655 across a number of pages. To retrieve subsequent pages, make additional
1656 calls to C<PollForDecisionTask> using the C<nextPageToken> returned by
1657 the initial call. Note that you do I<not> call
1658 C<GetWorkflowExecutionHistory> with this C<nextPageToken>. Instead,
1659 call C<PollForDecisionTask> again.
1660  
1661 B<Access Control>
1662  
1663 You can use IAM policies to control this action's access to Amazon SWF
1664 resources as follows:
1665  
1666 =over
1667  
1668 =item *
1669  
1670 Use a C<Resource> element with the domain name to limit the action to
1671 only specified domains.
1672  
1673 =item *
1674  
1675 Use an C<Action> element to allow or deny permission to call this
1676 action.
1677  
1678 =item *
1679  
1680 Constrain the C<taskList.name> parameter by using a C<Condition>
1681 element with the C<swf:taskList.name> key to allow the action to access
1682 only certain task lists.
1683  
1684 =back
1685  
1686 If the caller doesn't have sufficient permissions to invoke the action,
1687 or the parameter values fall outside the specified constraints, the
1688 action fails. The associated event attribute's C<cause> parameter is
1689 set to C<OPERATION_NOT_PERMITTED>. For details and example IAM
1690 policies, see Using IAM to Manage Access to Amazon SWF Workflows
1691 (https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html)
1692 in the I<Amazon SWF Developer Guide>.
1693  
1694  
1695 =head2 RecordActivityTaskHeartbeat
1696  
1697 =over
1698  
1699 =item TaskToken => Str
1700  
1701 =item [Details => Str]
1702  
1703  
1704 =back
1705  
1706 Each argument is described in detail in: L<Paws::SimpleWorkflow::RecordActivityTaskHeartbeat>
1707  
1708 Returns: a L<Paws::SimpleWorkflow::ActivityTaskStatus> instance
1709  
1710 Used by activity workers to report to the service that the ActivityTask
1711 represented by the specified C<taskToken> is still making progress. The
1712 worker can also specify details of the progress, for example percent
1713 complete, using the C<details> parameter. This action can also be used
1714 by the worker as a mechanism to check if cancellation is being
1715 requested for the activity task. If a cancellation is being attempted
1716 for the specified task, then the boolean C<cancelRequested> flag
1717 returned by the service is set to C<true>.
1718  
1719 This action resets the C<taskHeartbeatTimeout> clock. The
1720 C<taskHeartbeatTimeout> is specified in RegisterActivityType.
1721  
1722 This action doesn't in itself create an event in the workflow execution
1723 history. However, if the task times out, the workflow execution history
1724 contains a C<ActivityTaskTimedOut> event that contains the information
1725 from the last heartbeat generated by the activity worker.
1726  
1727 The C<taskStartToCloseTimeout> of an activity type is the maximum
1728 duration of an activity task, regardless of the number of
1729 RecordActivityTaskHeartbeat requests received. The
1730 C<taskStartToCloseTimeout> is also specified in RegisterActivityType.
1731  
1732 This operation is only useful for long-lived activities to report
1733 liveliness of the task and to determine if a cancellation is being
1734 attempted.
1735  
1736 If the C<cancelRequested> flag returns C<true>, a cancellation is being
1737 attempted. If the worker can cancel the activity, it should respond
1738 with RespondActivityTaskCanceled. Otherwise, it should ignore the
1739 cancellation request.
1740  
1741 B<Access Control>
1742  
1743 You can use IAM policies to control this action's access to Amazon SWF
1744 resources as follows:
1745  
1746 =over
1747  
1748 =item *
1749  
1750 Use a C<Resource> element with the domain name to limit the action to
1751 only specified domains.
1752  
1753 =item *
1754  
1755 Use an C<Action> element to allow or deny permission to call this
1756 action.
1757  
1758 =item *
1759  
1760 You cannot use an IAM policy to constrain this action's parameters.
1761  
1762 =back
1763  
1764 If the caller doesn't have sufficient permissions to invoke the action,
1765 or the parameter values fall outside the specified constraints, the
1766 action fails. The associated event attribute's C<cause> parameter is
1767 set to C<OPERATION_NOT_PERMITTED>. For details and example IAM
1768 policies, see Using IAM to Manage Access to Amazon SWF Workflows
1769 (https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html)
1770 in the I<Amazon SWF Developer Guide>.
1771  
1772  
1773 =head2 RegisterActivityType
1774  
1775 =over
1776  
1777 =item Domain => Str
1778  
1779 =item Name => Str
1780  
1781 =item Version => Str
1782  
1783 =item [DefaultTaskHeartbeatTimeout => Str]
1784  
1785 =item [DefaultTaskList => L<Paws::SimpleWorkflow::TaskList>]
1786  
1787 =item [DefaultTaskPriority => Str]
1788  
1789 =item [DefaultTaskScheduleToCloseTimeout => Str]
1790  
1791 =item [DefaultTaskScheduleToStartTimeout => Str]
1792  
1793 =item [DefaultTaskStartToCloseTimeout => Str]
1794  
1795 =item [Description => Str]
1796  
1797  
1798 =back
1799  
1800 Each argument is described in detail in: L<Paws::SimpleWorkflow::RegisterActivityType>
1801  
1802 Returns: nothing
1803  
1804 Registers a new I<activity type> along with its configuration settings
1805 in the specified domain.
1806  
1807 A C<TypeAlreadyExists> fault is returned if the type already exists in
1808 the domain. You cannot change any configuration settings of the type
1809 after its registration, and it must be registered as a new version.
1810  
1811 B<Access Control>
1812  
1813 You can use IAM policies to control this action's access to Amazon SWF
1814 resources as follows:
1815  
1816 =over
1817  
1818 =item *
1819  
1820 Use a C<Resource> element with the domain name to limit the action to
1821 only specified domains.
1822  
1823 =item *
1824  
1825 Use an C<Action> element to allow or deny permission to call this
1826 action.
1827  
1828 =item *
1829  
1830 Constrain the following parameters by using a C<Condition> element with
1831 the appropriate keys.
1832  
1833 =over
1834  
1835 =item *
1836  
1837 C<defaultTaskList.name>: String constraint. The key is
1838 C<swf:defaultTaskList.name>.
1839  
1840 =item *
1841  
1842 C<name>: String constraint. The key is C<swf:name>.
1843  
1844 =item *
1845  
1846 C<version>: String constraint. The key is C<swf:version>.
1847  
1848 =back
1849  
1850 =back
1851  
1852 If the caller doesn't have sufficient permissions to invoke the action,
1853 or the parameter values fall outside the specified constraints, the
1854 action fails. The associated event attribute's C<cause> parameter is
1855 set to C<OPERATION_NOT_PERMITTED>. For details and example IAM
1856 policies, see Using IAM to Manage Access to Amazon SWF Workflows
1857 (https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html)
1858 in the I<Amazon SWF Developer Guide>.
1859  
1860  
1861 =head2 RegisterDomain
1862  
1863 =over
1864  
1865 =item Name => Str
1866  
1867 =item WorkflowExecutionRetentionPeriodInDays => Str
1868  
1869 =item [Description => Str]
1870  
1871 =item [Tags => ArrayRef[L<Paws::SimpleWorkflow::ResourceTag>]]
1872  
1873  
1874 =back
1875  
1876 Each argument is described in detail in: L<Paws::SimpleWorkflow::RegisterDomain>
1877  
1878 Returns: nothing
1879  
1880 Registers a new domain.
1881  
1882 B<Access Control>
1883  
1884 You can use IAM policies to control this action's access to Amazon SWF
1885 resources as follows:
1886  
1887 =over
1888  
1889 =item *
1890  
1891 You cannot use an IAM policy to control domain access for this action.
1892 The name of the domain being registered is available as the resource of
1893 this action.
1894  
1895 =item *
1896  
1897 Use an C<Action> element to allow or deny permission to call this
1898 action.
1899  
1900 =item *
1901  
1902 You cannot use an IAM policy to constrain this action's parameters.
1903  
1904 =back
1905  
1906 If the caller doesn't have sufficient permissions to invoke the action,
1907 or the parameter values fall outside the specified constraints, the
1908 action fails. The associated event attribute's C<cause> parameter is
1909 set to C<OPERATION_NOT_PERMITTED>. For details and example IAM
1910 policies, see Using IAM to Manage Access to Amazon SWF Workflows
1911 (https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html)
1912 in the I<Amazon SWF Developer Guide>.
1913  
1914  
1915 =head2 RegisterWorkflowType
1916  
1917 =over
1918  
1919 =item Domain => Str
1920  
1921 =item Name => Str
1922  
1923 =item Version => Str
1924  
1925 =item [DefaultChildPolicy => Str]
1926  
1927 =item [DefaultExecutionStartToCloseTimeout => Str]
1928  
1929 =item [DefaultLambdaRole => Str]
1930  
1931 =item [DefaultTaskList => L<Paws::SimpleWorkflow::TaskList>]
1932  
1933 =item [DefaultTaskPriority => Str]
1934  
1935 =item [DefaultTaskStartToCloseTimeout => Str]
1936  
1937 =item [Description => Str]
1938  
1939  
1940 =back
1941  
1942 Each argument is described in detail in: L<Paws::SimpleWorkflow::RegisterWorkflowType>
1943  
1944 Returns: nothing
1945  
1946 Registers a new I<workflow type> and its configuration settings in the
1947 specified domain.
1948  
1949 The retention period for the workflow history is set by the
1950 RegisterDomain action.
1951  
1952 If the type already exists, then a C<TypeAlreadyExists> fault is
1953 returned. You cannot change the configuration settings of a workflow
1954 type once it is registered and it must be registered as a new version.
1955  
1956 B<Access Control>
1957  
1958 You can use IAM policies to control this action's access to Amazon SWF
1959 resources as follows:
1960  
1961 =over
1962  
1963 =item *
1964  
1965 Use a C<Resource> element with the domain name to limit the action to
1966 only specified domains.
1967  
1968 =item *
1969  
1970 Use an C<Action> element to allow or deny permission to call this
1971 action.
1972  
1973 =item *
1974  
1975 Constrain the following parameters by using a C<Condition> element with
1976 the appropriate keys.
1977  
1978 =over
1979  
1980 =item *
1981  
1982 C<defaultTaskList.name>: String constraint. The key is
1983 C<swf:defaultTaskList.name>.
1984  
1985 =item *
1986  
1987 C<name>: String constraint. The key is C<swf:name>.
1988  
1989 =item *
1990  
1991 C<version>: String constraint. The key is C<swf:version>.
1992  
1993 =back
1994  
1995 =back
1996  
1997 If the caller doesn't have sufficient permissions to invoke the action,
1998 or the parameter values fall outside the specified constraints, the
1999 action fails. The associated event attribute's C<cause> parameter is
2000 set to C<OPERATION_NOT_PERMITTED>. For details and example IAM
2001 policies, see Using IAM to Manage Access to Amazon SWF Workflows
2002 (https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html)
2003 in the I<Amazon SWF Developer Guide>.
2004  
2005  
2006 =head2 RequestCancelWorkflowExecution
2007  
2008 =over
2009  
2010 =item Domain => Str
2011  
2012 =item WorkflowId => Str
2013  
2014 =item [RunId => Str]
2015  
2016  
2017 =back
2018  
2019 Each argument is described in detail in: L<Paws::SimpleWorkflow::RequestCancelWorkflowExecution>
2020  
2021 Returns: nothing
2022  
2023 Records a C<WorkflowExecutionCancelRequested> event in the currently
2024 running workflow execution identified by the given domain, workflowId,
2025 and runId. This logically requests the cancellation of the workflow
2026 execution as a whole. It is up to the decider to take appropriate
2027 actions when it receives an execution history with this event.
2028  
2029 If the runId isn't specified, the C<WorkflowExecutionCancelRequested>
2030 event is recorded in the history of the current open workflow execution
2031 with the specified workflowId in the domain.
2032  
2033 Because this action allows the workflow to properly clean up and
2034 gracefully close, it should be used instead of
2035 TerminateWorkflowExecution when possible.
2036  
2037 B<Access Control>
2038  
2039 You can use IAM policies to control this action's access to Amazon SWF
2040 resources as follows:
2041  
2042 =over
2043  
2044 =item *
2045  
2046 Use a C<Resource> element with the domain name to limit the action to
2047 only specified domains.
2048  
2049 =item *
2050  
2051 Use an C<Action> element to allow or deny permission to call this
2052 action.
2053  
2054 =item *
2055  
2056 You cannot use an IAM policy to constrain this action's parameters.
2057  
2058 =back
2059  
2060 If the caller doesn't have sufficient permissions to invoke the action,
2061 or the parameter values fall outside the specified constraints, the
2062 action fails. The associated event attribute's C<cause> parameter is
2063 set to C<OPERATION_NOT_PERMITTED>. For details and example IAM
2064 policies, see Using IAM to Manage Access to Amazon SWF Workflows
2065 (https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html)
2066 in the I<Amazon SWF Developer Guide>.
2067  
2068  
2069 =head2 RespondActivityTaskCanceled
2070  
2071 =over
2072  
2073 =item TaskToken => Str
2074  
2075 =item [Details => Str]
2076  
2077  
2078 =back
2079  
2080 Each argument is described in detail in: L<Paws::SimpleWorkflow::RespondActivityTaskCanceled>
2081  
2082 Returns: nothing
2083  
2084 Used by workers to tell the service that the ActivityTask identified by
2085 the C<taskToken> was successfully canceled. Additional C<details> can
2086 be provided using the C<details> argument.
2087  
2088 These C<details> (if provided) appear in the C<ActivityTaskCanceled>
2089 event added to the workflow history.
2090  
2091 Only use this operation if the C<canceled> flag of a
2092 RecordActivityTaskHeartbeat request returns C<true> and if the activity
2093 can be safely undone or abandoned.
2094  
2095 A task is considered open from the time that it is scheduled until it
2096 is closed. Therefore a task is reported as open while a worker is
2097 processing it. A task is closed after it has been specified in a call
2098 to RespondActivityTaskCompleted, RespondActivityTaskCanceled,
2099 RespondActivityTaskFailed, or the task has timed out
2100 (https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dg-basic.html#swf-dev-timeout-types).
2101  
2102 B<Access Control>
2103  
2104 You can use IAM policies to control this action's access to Amazon SWF
2105 resources as follows:
2106  
2107 =over
2108  
2109 =item *
2110  
2111 Use a C<Resource> element with the domain name to limit the action to
2112 only specified domains.
2113  
2114 =item *
2115  
2116 Use an C<Action> element to allow or deny permission to call this
2117 action.
2118  
2119 =item *
2120  
2121 You cannot use an IAM policy to constrain this action's parameters.
2122  
2123 =back
2124  
2125 If the caller doesn't have sufficient permissions to invoke the action,
2126 or the parameter values fall outside the specified constraints, the
2127 action fails. The associated event attribute's C<cause> parameter is
2128 set to C<OPERATION_NOT_PERMITTED>. For details and example IAM
2129 policies, see Using IAM to Manage Access to Amazon SWF Workflows
2130 (https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html)
2131 in the I<Amazon SWF Developer Guide>.
2132  
2133  
2134 =head2 RespondActivityTaskCompleted
2135  
2136 =over
2137  
2138 =item TaskToken => Str
2139  
2140 =item [Result => Str]
2141  
2142  
2143 =back
2144  
2145 Each argument is described in detail in: L<Paws::SimpleWorkflow::RespondActivityTaskCompleted>
2146  
2147 Returns: nothing
2148  
2149 Used by workers to tell the service that the ActivityTask identified by
2150 the C<taskToken> completed successfully with a C<result> (if provided).
2151 The C<result> appears in the C<ActivityTaskCompleted> event in the
2152 workflow history.
2153  
2154 If the requested task doesn't complete successfully, use
2155 RespondActivityTaskFailed instead. If the worker finds that the task is
2156 canceled through the C<canceled> flag returned by
2157 RecordActivityTaskHeartbeat, it should cancel the task, clean up and
2158 then call RespondActivityTaskCanceled.
2159  
2160 A task is considered open from the time that it is scheduled until it
2161 is closed. Therefore a task is reported as open while a worker is
2162 processing it. A task is closed after it has been specified in a call
2163 to RespondActivityTaskCompleted, RespondActivityTaskCanceled,
2164 RespondActivityTaskFailed, or the task has timed out
2165 (https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dg-basic.html#swf-dev-timeout-types).
2166  
2167 B<Access Control>
2168  
2169 You can use IAM policies to control this action's access to Amazon SWF
2170 resources as follows:
2171  
2172 =over
2173  
2174 =item *
2175  
2176 Use a C<Resource> element with the domain name to limit the action to
2177 only specified domains.
2178  
2179 =item *
2180  
2181 Use an C<Action> element to allow or deny permission to call this
2182 action.
2183  
2184 =item *
2185  
2186 You cannot use an IAM policy to constrain this action's parameters.
2187  
2188 =back
2189  
2190 If the caller doesn't have sufficient permissions to invoke the action,
2191 or the parameter values fall outside the specified constraints, the
2192 action fails. The associated event attribute's C<cause> parameter is
2193 set to C<OPERATION_NOT_PERMITTED>. For details and example IAM
2194 policies, see Using IAM to Manage Access to Amazon SWF Workflows
2195 (https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html)
2196 in the I<Amazon SWF Developer Guide>.
2197  
2198  
2199 =head2 RespondActivityTaskFailed
2200  
2201 =over
2202  
2203 =item TaskToken => Str
2204  
2205 =item [Details => Str]
2206  
2207 =item [Reason => Str]
2208  
2209  
2210 =back
2211  
2212 Each argument is described in detail in: L<Paws::SimpleWorkflow::RespondActivityTaskFailed>
2213  
2214 Returns: nothing
2215  
2216 Used by workers to tell the service that the ActivityTask identified by
2217 the C<taskToken> has failed with C<reason> (if specified). The
2218 C<reason> and C<details> appear in the C<ActivityTaskFailed> event
2219 added to the workflow history.
2220  
2221 A task is considered open from the time that it is scheduled until it
2222 is closed. Therefore a task is reported as open while a worker is
2223 processing it. A task is closed after it has been specified in a call
2224 to RespondActivityTaskCompleted, RespondActivityTaskCanceled,
2225 RespondActivityTaskFailed, or the task has timed out
2226 (https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dg-basic.html#swf-dev-timeout-types).
2227  
2228 B<Access Control>
2229  
2230 You can use IAM policies to control this action's access to Amazon SWF
2231 resources as follows:
2232  
2233 =over
2234  
2235 =item *
2236  
2237 Use a C<Resource> element with the domain name to limit the action to
2238 only specified domains.
2239  
2240 =item *
2241  
2242 Use an C<Action> element to allow or deny permission to call this
2243 action.
2244  
2245 =item *
2246  
2247 You cannot use an IAM policy to constrain this action's parameters.
2248  
2249 =back
2250  
2251 If the caller doesn't have sufficient permissions to invoke the action,
2252 or the parameter values fall outside the specified constraints, the
2253 action fails. The associated event attribute's C<cause> parameter is
2254 set to C<OPERATION_NOT_PERMITTED>. For details and example IAM
2255 policies, see Using IAM to Manage Access to Amazon SWF Workflows
2256 (https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html)
2257 in the I<Amazon SWF Developer Guide>.
2258  
2259  
2260 =head2 RespondDecisionTaskCompleted
2261  
2262 =over
2263  
2264 =item TaskToken => Str
2265  
2266 =item [Decisions => ArrayRef[L<Paws::SimpleWorkflow::Decision>]]
2267  
2268 =item [ExecutionContext => Str]
2269  
2270  
2271 =back
2272  
2273 Each argument is described in detail in: L<Paws::SimpleWorkflow::RespondDecisionTaskCompleted>
2274  
2275 Returns: nothing
2276  
2277 Used by deciders to tell the service that the DecisionTask identified
2278 by the C<taskToken> has successfully completed. The C<decisions>
2279 argument specifies the list of decisions made while processing the
2280 task.
2281  
2282 A C<DecisionTaskCompleted> event is added to the workflow history. The
2283 C<executionContext> specified is attached to the event in the workflow
2284 execution history.
2285  
2286 B<Access Control>
2287  
2288 If an IAM policy grants permission to use
2289 C<RespondDecisionTaskCompleted>, it can express permissions for the
2290 list of decisions in the C<decisions> parameter. Each of the decisions
2291 has one or more parameters, much like a regular API call. To allow for
2292 policies to be as readable as possible, you can express permissions on
2293 decisions as if they were actual API calls, including applying
2294 conditions to some parameters. For more information, see Using IAM to
2295 Manage Access to Amazon SWF Workflows
2296 (https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html)
2297 in the I<Amazon SWF Developer Guide>.
2298  
2299  
2300 =head2 SignalWorkflowExecution
2301  
2302 =over
2303  
2304 =item Domain => Str
2305  
2306 =item SignalName => Str
2307  
2308 =item WorkflowId => Str
2309  
2310 =item [Input => Str]
2311  
2312 =item [RunId => Str]
2313  
2314  
2315 =back
2316  
2317 Each argument is described in detail in: L<Paws::SimpleWorkflow::SignalWorkflowExecution>
2318  
2319 Returns: nothing
2320  
2321 Records a C<WorkflowExecutionSignaled> event in the workflow execution
2322 history and creates a decision task for the workflow execution
2323 identified by the given domain, workflowId and runId. The event is
2324 recorded with the specified user defined signalName and input (if
2325 provided).
2326  
2327 If a runId isn't specified, then the C<WorkflowExecutionSignaled> event
2328 is recorded in the history of the current open workflow with the
2329 matching workflowId in the domain.
2330  
2331 If the specified workflow execution isn't open, this method fails with
2332 C<UnknownResource>.
2333  
2334 B<Access Control>
2335  
2336 You can use IAM policies to control this action's access to Amazon SWF
2337 resources as follows:
2338  
2339 =over
2340  
2341 =item *
2342  
2343 Use a C<Resource> element with the domain name to limit the action to
2344 only specified domains.
2345  
2346 =item *
2347  
2348 Use an C<Action> element to allow or deny permission to call this
2349 action.
2350  
2351 =item *
2352  
2353 You cannot use an IAM policy to constrain this action's parameters.
2354  
2355 =back
2356  
2357 If the caller doesn't have sufficient permissions to invoke the action,
2358 or the parameter values fall outside the specified constraints, the
2359 action fails. The associated event attribute's C<cause> parameter is
2360 set to C<OPERATION_NOT_PERMITTED>. For details and example IAM
2361 policies, see Using IAM to Manage Access to Amazon SWF Workflows
2362 (https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html)
2363 in the I<Amazon SWF Developer Guide>.
2364  
2365  
2366 =head2 StartWorkflowExecution
2367  
2368 =over
2369  
2370 =item Domain => Str
2371  
2372 =item WorkflowId => Str
2373  
2374 =item WorkflowType => L<Paws::SimpleWorkflow::WorkflowType>
2375  
2376 =item [ChildPolicy => Str]
2377  
2378 =item [ExecutionStartToCloseTimeout => Str]
2379  
2380 =item [Input => Str]
2381  
2382 =item [LambdaRole => Str]
2383  
2384 =item [TagList => ArrayRef[Str|Undef]]
2385  
2386 =item [TaskList => L<Paws::SimpleWorkflow::TaskList>]
2387  
2388 =item [TaskPriority => Str]
2389  
2390 =item [TaskStartToCloseTimeout => Str]
2391  
2392  
2393 =back
2394  
2395 Each argument is described in detail in: L<Paws::SimpleWorkflow::StartWorkflowExecution>
2396  
2397 Returns: a L<Paws::SimpleWorkflow::Run> instance
2398  
2399 Starts an execution of the workflow type in the specified domain using
2400 the provided C<workflowId> and input data.
2401  
2402 This action returns the newly started workflow execution.
2403  
2404 B<Access Control>
2405  
2406 You can use IAM policies to control this action's access to Amazon SWF
2407 resources as follows:
2408  
2409 =over
2410  
2411 =item *
2412  
2413 Use a C<Resource> element with the domain name to limit the action to
2414 only specified domains.
2415  
2416 =item *
2417  
2418 Use an C<Action> element to allow or deny permission to call this
2419 action.
2420  
2421 =item *
2422  
2423 Constrain the following parameters by using a C<Condition> element with
2424 the appropriate keys.
2425  
2426 =over
2427  
2428 =item *
2429  
2430 C<tagList.member.0>: The key is C<swf:tagList.member.0>.
2431  
2432 =item *
2433  
2434 C<tagList.member.1>: The key is C<swf:tagList.member.1>.
2435  
2436 =item *
2437  
2438 C<tagList.member.2>: The key is C<swf:tagList.member.2>.
2439  
2440 =item *
2441  
2442 C<tagList.member.3>: The key is C<swf:tagList.member.3>.
2443  
2444 =item *
2445  
2446 C<tagList.member.4>: The key is C<swf:tagList.member.4>.
2447  
2448 =item *
2449  
2450 C<taskList>: String constraint. The key is C<swf:taskList.name>.
2451  
2452 =item *
2453  
2454 C<workflowType.name>: String constraint. The key is
2455 C<swf:workflowType.name>.
2456  
2457 =item *
2458  
2459 C<workflowType.version>: String constraint. The key is
2460 C<swf:workflowType.version>.
2461  
2462 =back
2463  
2464 =back
2465  
2466 If the caller doesn't have sufficient permissions to invoke the action,
2467 or the parameter values fall outside the specified constraints, the
2468 action fails. The associated event attribute's C<cause> parameter is
2469 set to C<OPERATION_NOT_PERMITTED>. For details and example IAM
2470 policies, see Using IAM to Manage Access to Amazon SWF Workflows
2471 (https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html)
2472 in the I<Amazon SWF Developer Guide>.
2473  
2474  
2475 =head2 TagResource
2476  
2477 =over
2478  
2479 =item ResourceArn => Str
2480  
2481 =item Tags => ArrayRef[L<Paws::SimpleWorkflow::ResourceTag>]
2482  
2483  
2484 =back
2485  
2486 Each argument is described in detail in: L<Paws::SimpleWorkflow::TagResource>
2487  
2488 Returns: nothing
2489  
2490 Add a tag to a Amazon SWF domain.
2491  
2492 Amazon SWF supports a maximum of 50 tags per resource.
2493  
2494  
2495 =head2 TerminateWorkflowExecution
2496  
2497 =over
2498  
2499 =item Domain => Str
2500  
2501 =item WorkflowId => Str
2502  
2503 =item [ChildPolicy => Str]
2504  
2505 =item [Details => Str]
2506  
2507 =item [Reason => Str]
2508  
2509 =item [RunId => Str]
2510  
2511  
2512 =back
2513  
2514 Each argument is described in detail in: L<Paws::SimpleWorkflow::TerminateWorkflowExecution>
2515  
2516 Returns: nothing
2517  
2518 Records a C<WorkflowExecutionTerminated> event and forces closure of
2519 the workflow execution identified by the given domain, runId, and
2520 workflowId. The child policy, registered with the workflow type or
2521 specified when starting this execution, is applied to any open child
2522 workflow executions of this workflow execution.
2523  
2524 If the identified workflow execution was in progress, it is terminated
2525 immediately.
2526  
2527 If a runId isn't specified, then the C<WorkflowExecutionTerminated>
2528 event is recorded in the history of the current open workflow with the
2529 matching workflowId in the domain.
2530  
2531 You should consider using RequestCancelWorkflowExecution action instead
2532 because it allows the workflow to gracefully close while
2533 TerminateWorkflowExecution doesn't.
2534  
2535 B<Access Control>
2536  
2537 You can use IAM policies to control this action's access to Amazon SWF
2538 resources as follows:
2539  
2540 =over
2541  
2542 =item *
2543  
2544 Use a C<Resource> element with the domain name to limit the action to
2545 only specified domains.
2546  
2547 =item *
2548  
2549 Use an C<Action> element to allow or deny permission to call this
2550 action.
2551  
2552 =item *
2553  
2554 You cannot use an IAM policy to constrain this action's parameters.
2555  
2556 =back
2557  
2558 If the caller doesn't have sufficient permissions to invoke the action,
2559 or the parameter values fall outside the specified constraints, the
2560 action fails. The associated event attribute's C<cause> parameter is
2561 set to C<OPERATION_NOT_PERMITTED>. For details and example IAM
2562 policies, see Using IAM to Manage Access to Amazon SWF Workflows
2563 (https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html)
2564 in the I<Amazon SWF Developer Guide>.
2565  
2566  
2567 =head2 UndeprecateActivityType
2568  
2569 =over
2570  
2571 =item ActivityType => L<Paws::SimpleWorkflow::ActivityType>
2572  
2573 =item Domain => Str
2574  
2575  
2576 =back
2577  
2578 Each argument is described in detail in: L<Paws::SimpleWorkflow::UndeprecateActivityType>
2579  
2580 Returns: nothing
2581  
2582 Undeprecates a previously deprecated I<activity type>. After an
2583 activity type has been undeprecated, you can create new tasks of that
2584 activity type.
2585  
2586 This operation is eventually consistent. The results are best effort
2587 and may not exactly reflect recent updates and changes.
2588  
2589 B<Access Control>
2590  
2591 You can use IAM policies to control this action's access to Amazon SWF
2592 resources as follows:
2593  
2594 =over
2595  
2596 =item *
2597  
2598 Use a C<Resource> element with the domain name to limit the action to
2599 only specified domains.
2600  
2601 =item *
2602  
2603 Use an C<Action> element to allow or deny permission to call this
2604 action.
2605  
2606 =item *
2607  
2608 Constrain the following parameters by using a C<Condition> element with
2609 the appropriate keys.
2610  
2611 =over
2612  
2613 =item *
2614  
2615 C<activityType.name>: String constraint. The key is
2616 C<swf:activityType.name>.
2617  
2618 =item *
2619  
2620 C<activityType.version>: String constraint. The key is
2621 C<swf:activityType.version>.
2622  
2623 =back
2624  
2625 =back
2626  
2627 If the caller doesn't have sufficient permissions to invoke the action,
2628 or the parameter values fall outside the specified constraints, the
2629 action fails. The associated event attribute's C<cause> parameter is
2630 set to C<OPERATION_NOT_PERMITTED>. For details and example IAM
2631 policies, see Using IAM to Manage Access to Amazon SWF Workflows
2632 (https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html)
2633 in the I<Amazon SWF Developer Guide>.
2634  
2635  
2636 =head2 UndeprecateDomain
2637  
2638 =over
2639  
2640 =item Name => Str
2641  
2642  
2643 =back
2644  
2645 Each argument is described in detail in: L<Paws::SimpleWorkflow::UndeprecateDomain>
2646  
2647 Returns: nothing
2648  
2649 Undeprecates a previously deprecated domain. After a domain has been
2650 undeprecated it can be used to create new workflow executions or
2651 register new types.
2652  
2653 This operation is eventually consistent. The results are best effort
2654 and may not exactly reflect recent updates and changes.
2655  
2656 B<Access Control>
2657  
2658 You can use IAM policies to control this action's access to Amazon SWF
2659 resources as follows:
2660  
2661 =over
2662  
2663 =item *
2664  
2665 Use a C<Resource> element with the domain name to limit the action to
2666 only specified domains.
2667  
2668 =item *
2669  
2670 Use an C<Action> element to allow or deny permission to call this
2671 action.
2672  
2673 =item *
2674  
2675 You cannot use an IAM policy to constrain this action's parameters.
2676  
2677 =back
2678  
2679 If the caller doesn't have sufficient permissions to invoke the action,
2680 or the parameter values fall outside the specified constraints, the
2681 action fails. The associated event attribute's C<cause> parameter is
2682 set to C<OPERATION_NOT_PERMITTED>. For details and example IAM
2683 policies, see Using IAM to Manage Access to Amazon SWF Workflows
2684 (https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html)
2685 in the I<Amazon SWF Developer Guide>.
2686  
2687  
2688 =head2 UndeprecateWorkflowType
2689  
2690 =over
2691  
2692 =item Domain => Str
2693  
2694 =item WorkflowType => L<Paws::SimpleWorkflow::WorkflowType>
2695  
2696  
2697 =back
2698  
2699 Each argument is described in detail in: L<Paws::SimpleWorkflow::UndeprecateWorkflowType>
2700  
2701 Returns: nothing
2702  
2703 Undeprecates a previously deprecated I<workflow type>. After a workflow
2704 type has been undeprecated, you can create new executions of that type.
2705  
2706 This operation is eventually consistent. The results are best effort
2707 and may not exactly reflect recent updates and changes.
2708  
2709 B<Access Control>
2710  
2711 You can use IAM policies to control this action's access to Amazon SWF
2712 resources as follows:
2713  
2714 =over
2715  
2716 =item *
2717  
2718 Use a C<Resource> element with the domain name to limit the action to
2719 only specified domains.
2720  
2721 =item *
2722  
2723 Use an C<Action> element to allow or deny permission to call this
2724 action.
2725  
2726 =item *
2727  
2728 Constrain the following parameters by using a C<Condition> element with
2729 the appropriate keys.
2730  
2731 =over
2732  
2733 =item *
2734  
2735 C<workflowType.name>: String constraint. The key is
2736 C<swf:workflowType.name>.
2737  
2738 =item *
2739  
2740 C<workflowType.version>: String constraint. The key is
2741 C<swf:workflowType.version>.
2742  
2743 =back
2744  
2745 =back
2746  
2747 If the caller doesn't have sufficient permissions to invoke the action,
2748 or the parameter values fall outside the specified constraints, the
2749 action fails. The associated event attribute's C<cause> parameter is
2750 set to C<OPERATION_NOT_PERMITTED>. For details and example IAM
2751 policies, see Using IAM to Manage Access to Amazon SWF Workflows
2752 (https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html)
2753 in the I<Amazon SWF Developer Guide>.
2754  
2755  
2756 =head2 UntagResource
2757  
2758 =over
2759  
2760 =item ResourceArn => Str
2761  
2762 =item TagKeys => ArrayRef[Str|Undef]
2763  
2764  
2765 =back
2766  
2767 Each argument is described in detail in: L<Paws::SimpleWorkflow::UntagResource>
2768  
2769 Returns: nothing
2770  
2771 Remove a tag from a Amazon SWF domain.
2772  
2773  
2774  
2775  
2776 =head1 PAGINATORS
2777  
2778 Paginator methods are helpers that repetively call methods that return partial results
2779  
2780 =head2 GetAllWorkflowExecutionHistory(sub { },Domain => Str, Execution => L<Paws::SimpleWorkflow::WorkflowExecution>, [MaximumPageSize => Int, NextPageToken => Str, ReverseOrder => Bool])
2781  
2782 =head2 GetAllWorkflowExecutionHistory(Domain => Str, Execution => L<Paws::SimpleWorkflow::WorkflowExecution>, [MaximumPageSize => Int, NextPageToken => Str, ReverseOrder => Bool])
2783  
2784  
2785 If passed a sub as first parameter, it will call the sub for each element found in :
2786  
2787 - events, passing the object as the first parameter, and the string 'events' as the second parameter
2788  
2789 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.
2790  
2791  
2792 =head2 ListAllActivityTypes(sub { },Domain => Str, RegistrationStatus => Str, [MaximumPageSize => Int, Name => Str, NextPageToken => Str, ReverseOrder => Bool])
2793  
2794 =head2 ListAllActivityTypes(Domain => Str, RegistrationStatus => Str, [MaximumPageSize => Int, Name => Str, NextPageToken => Str, ReverseOrder => Bool])
2795  
2796  
2797 If passed a sub as first parameter, it will call the sub for each element found in :
2798  
2799 - typeInfos, passing the object as the first parameter, and the string 'typeInfos' as the second parameter
2800  
2801 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.
2802  
2803  
2804 =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>])
2805  
2806 =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>])
2807  
2808  
2809 If passed a sub as first parameter, it will call the sub for each element found in :
2810  
2811 - executionInfos, passing the object as the first parameter, and the string 'executionInfos' as the second parameter
2812  
2813 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.
2814  
2815  
2816 =head2 ListAllDomains(sub { },RegistrationStatus => Str, [MaximumPageSize => Int, NextPageToken => Str, ReverseOrder => Bool])
2817  
2818 =head2 ListAllDomains(RegistrationStatus => Str, [MaximumPageSize => Int, NextPageToken => Str, ReverseOrder => Bool])
2819  
2820  
2821 If passed a sub as first parameter, it will call the sub for each element found in :
2822  
2823 - domainInfos, passing the object as the first parameter, and the string 'domainInfos' as the second parameter
2824  
2825 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.
2826  
2827  
2828 =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>])
2829  
2830 =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>])
2831  
2832  
2833 If passed a sub as first parameter, it will call the sub for each element found in :
2834  
2835 - executionInfos, passing the object as the first parameter, and the string 'executionInfos' as the second parameter
2836  
2837 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.
2838  
2839  
2840 =head2 ListAllWorkflowTypes(sub { },Domain => Str, RegistrationStatus => Str, [MaximumPageSize => Int, Name => Str, NextPageToken => Str, ReverseOrder => Bool])
2841  
2842 =head2 ListAllWorkflowTypes(Domain => Str, RegistrationStatus => Str, [MaximumPageSize => Int, Name => Str, NextPageToken => Str, ReverseOrder => Bool])
2843  
2844  
2845 If passed a sub as first parameter, it will call the sub for each element found in :
2846  
2847 - typeInfos, passing the object as the first parameter, and the string 'typeInfos' as the second parameter
2848  
2849 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.
2850  
2851  
2852 =head2 PollForAllDecisionTasks(sub { },Domain => Str, TaskList => L<Paws::SimpleWorkflow::TaskList>, [Identity => Str, MaximumPageSize => Int, NextPageToken => Str, ReverseOrder => Bool])
2853  
2854 =head2 PollForAllDecisionTasks(Domain => Str, TaskList => L<Paws::SimpleWorkflow::TaskList>, [Identity => Str, MaximumPageSize => Int, NextPageToken => Str, ReverseOrder => Bool])
2855  
2856  
2857 If passed a sub as first parameter, it will call the sub for each element found in :
2858  
2859 - events, passing the object as the first parameter, and the string 'events' as the second parameter
2860  
2861 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.
2862  
2863  
2864  
2865  
2866  
2867 =head1 SEE ALSO
2868  
2869 This service class forms part of L<Paws>
2870  
2871 =head1 BUGS and CONTRIBUTIONS
2872  
2873 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
2874  
2875 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
2876  
2877 =cut
2878  
« lib/Paws/ElasticTranscoder.pm ↑ Summary blib/lib/Paws/Lambda.pm »