@aws-sdk/client-swf 3.170.0 → 3.178.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (50) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  3. package/dist-types/runtimeConfig.d.ts +1 -1
  4. package/dist-types/runtimeConfig.native.d.ts +1 -1
  5. package/dist-types/ts3.4/SWF.d.ts +633 -1549
  6. package/dist-types/ts3.4/SWFClient.d.ts +0 -25
  7. package/dist-types/ts3.4/commands/CountClosedWorkflowExecutionsCommand.d.ts +0 -2
  8. package/dist-types/ts3.4/commands/CountOpenWorkflowExecutionsCommand.d.ts +0 -2
  9. package/dist-types/ts3.4/commands/CountPendingActivityTasksCommand.d.ts +0 -2
  10. package/dist-types/ts3.4/commands/CountPendingDecisionTasksCommand.d.ts +0 -2
  11. package/dist-types/ts3.4/commands/DeprecateActivityTypeCommand.d.ts +0 -2
  12. package/dist-types/ts3.4/commands/DeprecateDomainCommand.d.ts +0 -2
  13. package/dist-types/ts3.4/commands/DeprecateWorkflowTypeCommand.d.ts +0 -2
  14. package/dist-types/ts3.4/commands/DescribeActivityTypeCommand.d.ts +0 -2
  15. package/dist-types/ts3.4/commands/DescribeDomainCommand.d.ts +0 -2
  16. package/dist-types/ts3.4/commands/DescribeWorkflowExecutionCommand.d.ts +0 -2
  17. package/dist-types/ts3.4/commands/DescribeWorkflowTypeCommand.d.ts +0 -2
  18. package/dist-types/ts3.4/commands/GetWorkflowExecutionHistoryCommand.d.ts +0 -2
  19. package/dist-types/ts3.4/commands/ListActivityTypesCommand.d.ts +0 -2
  20. package/dist-types/ts3.4/commands/ListClosedWorkflowExecutionsCommand.d.ts +0 -2
  21. package/dist-types/ts3.4/commands/ListDomainsCommand.d.ts +15 -0
  22. package/dist-types/ts3.4/commands/ListOpenWorkflowExecutionsCommand.d.ts +0 -2
  23. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +0 -2
  24. package/dist-types/ts3.4/commands/ListWorkflowTypesCommand.d.ts +0 -2
  25. package/dist-types/ts3.4/commands/PollForActivityTaskCommand.d.ts +0 -2
  26. package/dist-types/ts3.4/commands/PollForDecisionTaskCommand.d.ts +0 -2
  27. package/dist-types/ts3.4/commands/RecordActivityTaskHeartbeatCommand.d.ts +0 -2
  28. package/dist-types/ts3.4/commands/RegisterActivityTypeCommand.d.ts +0 -2
  29. package/dist-types/ts3.4/commands/RegisterDomainCommand.d.ts +0 -2
  30. package/dist-types/ts3.4/commands/RegisterWorkflowTypeCommand.d.ts +0 -2
  31. package/dist-types/ts3.4/commands/RequestCancelWorkflowExecutionCommand.d.ts +0 -2
  32. package/dist-types/ts3.4/commands/RespondActivityTaskCanceledCommand.d.ts +0 -2
  33. package/dist-types/ts3.4/commands/RespondActivityTaskCompletedCommand.d.ts +0 -2
  34. package/dist-types/ts3.4/commands/RespondActivityTaskFailedCommand.d.ts +0 -2
  35. package/dist-types/ts3.4/commands/RespondDecisionTaskCompletedCommand.d.ts +0 -2
  36. package/dist-types/ts3.4/commands/SignalWorkflowExecutionCommand.d.ts +0 -2
  37. package/dist-types/ts3.4/commands/StartWorkflowExecutionCommand.d.ts +0 -2
  38. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +0 -2
  39. package/dist-types/ts3.4/commands/TerminateWorkflowExecutionCommand.d.ts +0 -2
  40. package/dist-types/ts3.4/commands/UndeprecateActivityTypeCommand.d.ts +0 -2
  41. package/dist-types/ts3.4/commands/UndeprecateDomainCommand.d.ts +0 -2
  42. package/dist-types/ts3.4/commands/UndeprecateWorkflowTypeCommand.d.ts +0 -2
  43. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +0 -2
  44. package/dist-types/ts3.4/models/SWFServiceException.d.ts +0 -1
  45. package/dist-types/ts3.4/models/models_0.d.ts +0 -716
  46. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
  47. package/dist-types/ts3.4/runtimeConfig.d.ts +3 -2
  48. package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -2
  49. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +0 -1
  50. package/package.json +26 -26
@@ -1,1549 +1,633 @@
1
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
2
- import { CountClosedWorkflowExecutionsCommandInput, CountClosedWorkflowExecutionsCommandOutput } from "./commands/CountClosedWorkflowExecutionsCommand";
3
- import { CountOpenWorkflowExecutionsCommandInput, CountOpenWorkflowExecutionsCommandOutput } from "./commands/CountOpenWorkflowExecutionsCommand";
4
- import { CountPendingActivityTasksCommandInput, CountPendingActivityTasksCommandOutput } from "./commands/CountPendingActivityTasksCommand";
5
- import { CountPendingDecisionTasksCommandInput, CountPendingDecisionTasksCommandOutput } from "./commands/CountPendingDecisionTasksCommand";
6
- import { DeprecateActivityTypeCommandInput, DeprecateActivityTypeCommandOutput } from "./commands/DeprecateActivityTypeCommand";
7
- import { DeprecateDomainCommandInput, DeprecateDomainCommandOutput } from "./commands/DeprecateDomainCommand";
8
- import { DeprecateWorkflowTypeCommandInput, DeprecateWorkflowTypeCommandOutput } from "./commands/DeprecateWorkflowTypeCommand";
9
- import { DescribeActivityTypeCommandInput, DescribeActivityTypeCommandOutput } from "./commands/DescribeActivityTypeCommand";
10
- import { DescribeDomainCommandInput, DescribeDomainCommandOutput } from "./commands/DescribeDomainCommand";
11
- import { DescribeWorkflowExecutionCommandInput, DescribeWorkflowExecutionCommandOutput } from "./commands/DescribeWorkflowExecutionCommand";
12
- import { DescribeWorkflowTypeCommandInput, DescribeWorkflowTypeCommandOutput } from "./commands/DescribeWorkflowTypeCommand";
13
- import { GetWorkflowExecutionHistoryCommandInput, GetWorkflowExecutionHistoryCommandOutput } from "./commands/GetWorkflowExecutionHistoryCommand";
14
- import { ListActivityTypesCommandInput, ListActivityTypesCommandOutput } from "./commands/ListActivityTypesCommand";
15
- import { ListClosedWorkflowExecutionsCommandInput, ListClosedWorkflowExecutionsCommandOutput } from "./commands/ListClosedWorkflowExecutionsCommand";
16
- import { ListDomainsCommandInput, ListDomainsCommandOutput } from "./commands/ListDomainsCommand";
17
- import { ListOpenWorkflowExecutionsCommandInput, ListOpenWorkflowExecutionsCommandOutput } from "./commands/ListOpenWorkflowExecutionsCommand";
18
- import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
19
- import { ListWorkflowTypesCommandInput, ListWorkflowTypesCommandOutput } from "./commands/ListWorkflowTypesCommand";
20
- import { PollForActivityTaskCommandInput, PollForActivityTaskCommandOutput } from "./commands/PollForActivityTaskCommand";
21
- import { PollForDecisionTaskCommandInput, PollForDecisionTaskCommandOutput } from "./commands/PollForDecisionTaskCommand";
22
- import { RecordActivityTaskHeartbeatCommandInput, RecordActivityTaskHeartbeatCommandOutput } from "./commands/RecordActivityTaskHeartbeatCommand";
23
- import { RegisterActivityTypeCommandInput, RegisterActivityTypeCommandOutput } from "./commands/RegisterActivityTypeCommand";
24
- import { RegisterDomainCommandInput, RegisterDomainCommandOutput } from "./commands/RegisterDomainCommand";
25
- import { RegisterWorkflowTypeCommandInput, RegisterWorkflowTypeCommandOutput } from "./commands/RegisterWorkflowTypeCommand";
26
- import { RequestCancelWorkflowExecutionCommandInput, RequestCancelWorkflowExecutionCommandOutput } from "./commands/RequestCancelWorkflowExecutionCommand";
27
- import { RespondActivityTaskCanceledCommandInput, RespondActivityTaskCanceledCommandOutput } from "./commands/RespondActivityTaskCanceledCommand";
28
- import { RespondActivityTaskCompletedCommandInput, RespondActivityTaskCompletedCommandOutput } from "./commands/RespondActivityTaskCompletedCommand";
29
- import { RespondActivityTaskFailedCommandInput, RespondActivityTaskFailedCommandOutput } from "./commands/RespondActivityTaskFailedCommand";
30
- import { RespondDecisionTaskCompletedCommandInput, RespondDecisionTaskCompletedCommandOutput } from "./commands/RespondDecisionTaskCompletedCommand";
31
- import { SignalWorkflowExecutionCommandInput, SignalWorkflowExecutionCommandOutput } from "./commands/SignalWorkflowExecutionCommand";
32
- import { StartWorkflowExecutionCommandInput, StartWorkflowExecutionCommandOutput } from "./commands/StartWorkflowExecutionCommand";
33
- import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
34
- import { TerminateWorkflowExecutionCommandInput, TerminateWorkflowExecutionCommandOutput } from "./commands/TerminateWorkflowExecutionCommand";
35
- import { UndeprecateActivityTypeCommandInput, UndeprecateActivityTypeCommandOutput } from "./commands/UndeprecateActivityTypeCommand";
36
- import { UndeprecateDomainCommandInput, UndeprecateDomainCommandOutput } from "./commands/UndeprecateDomainCommand";
37
- import { UndeprecateWorkflowTypeCommandInput, UndeprecateWorkflowTypeCommandOutput } from "./commands/UndeprecateWorkflowTypeCommand";
38
- import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
39
- import { SWFClient } from "./SWFClient";
40
- /**
41
- * <fullname>Amazon Simple Workflow Service</fullname>
42
- *
43
- * <p>The Amazon Simple Workflow Service (Amazon SWF) makes it easy to build applications that use Amazon's cloud to
44
- * coordinate work across distributed components. In Amazon SWF, a <i>task</i>
45
- * represents a logical unit of work that is performed by a component of your workflow.
46
- * Coordinating tasks in a workflow involves managing intertask dependencies, scheduling, and
47
- * concurrency in accordance with the logical flow of the application.</p>
48
- *
49
- * <p>Amazon SWF gives you full control over implementing tasks and coordinating them without
50
- * worrying about underlying complexities such as tracking their progress and maintaining their
51
- * state.</p>
52
- *
53
- * <p>This documentation serves as reference only. For a broader overview of the Amazon SWF
54
- * programming model, see the <i>
55
- * <a href="https://docs.aws.amazon.com/amazonswf/latest/developerguide/">Amazon SWF Developer Guide</a>
56
- * </i>.</p>
57
- */
58
- export declare class SWF extends SWFClient {
59
- /**
60
- * <p>Returns the number of closed workflow executions within the given domain that meet the
61
- * specified filtering criteria.</p>
62
- * <note>
63
- * <p>This operation is eventually consistent. The results are best effort and may not
64
- * exactly reflect recent updates and changes.</p>
65
- * </note>
66
- * <p>
67
- * <b>Access Control</b>
68
- * </p>
69
- * <p>You can use IAM policies to control this action's access to Amazon SWF resources as
70
- * follows:</p>
71
- * <ul>
72
- * <li>
73
- * <p>Use a <code>Resource</code> element with the domain name to limit the action to
74
- * only specified domains.</p>
75
- * </li>
76
- * <li>
77
- * <p>Use an <code>Action</code> element to allow or deny permission to call this
78
- * action.</p>
79
- * </li>
80
- * <li>
81
- * <p>Constrain the following parameters by using a <code>Condition</code> element with
82
- * the appropriate keys.</p>
83
- * <ul>
84
- * <li>
85
- * <p>
86
- * <code>tagFilter.tag</code>: String constraint. The key is
87
- * <code>swf:tagFilter.tag</code>.</p>
88
- * </li>
89
- * <li>
90
- * <p>
91
- * <code>typeFilter.name</code>: String constraint. The key is
92
- * <code>swf:typeFilter.name</code>.</p>
93
- * </li>
94
- * <li>
95
- * <p>
96
- * <code>typeFilter.version</code>: String constraint. The key is
97
- * <code>swf:typeFilter.version</code>.</p>
98
- * </li>
99
- * </ul>
100
- * </li>
101
- * </ul>
102
- * <p>If the caller doesn't have sufficient permissions to invoke the action, or the
103
- * parameter values fall outside the specified constraints, the action fails. The associated
104
- * event attribute's <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>.
105
- * For details and example IAM policies, see <a href="https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html">Using IAM to Manage Access to Amazon SWF
106
- * Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>
107
- */
108
- countClosedWorkflowExecutions(args: CountClosedWorkflowExecutionsCommandInput, options?: __HttpHandlerOptions): Promise<CountClosedWorkflowExecutionsCommandOutput>;
109
- countClosedWorkflowExecutions(args: CountClosedWorkflowExecutionsCommandInput, cb: (err: any, data?: CountClosedWorkflowExecutionsCommandOutput) => void): void;
110
- countClosedWorkflowExecutions(args: CountClosedWorkflowExecutionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CountClosedWorkflowExecutionsCommandOutput) => void): void;
111
- /**
112
- * <p>Returns the number of open workflow executions within the given domain that meet the
113
- * specified filtering criteria.</p>
114
- * <note>
115
- * <p>This operation is eventually consistent. The results are best effort and may not
116
- * exactly reflect recent updates and changes.</p>
117
- * </note>
118
- * <p>
119
- * <b>Access Control</b>
120
- * </p>
121
- * <p>You can use IAM policies to control this action's access to Amazon SWF resources as
122
- * follows:</p>
123
- * <ul>
124
- * <li>
125
- * <p>Use a <code>Resource</code> element with the domain name to limit the action to
126
- * only specified domains.</p>
127
- * </li>
128
- * <li>
129
- * <p>Use an <code>Action</code> element to allow or deny permission to call this
130
- * action.</p>
131
- * </li>
132
- * <li>
133
- * <p>Constrain the following parameters by using a <code>Condition</code> element with
134
- * the appropriate keys.</p>
135
- * <ul>
136
- * <li>
137
- * <p>
138
- * <code>tagFilter.tag</code>: String constraint. The key is
139
- * <code>swf:tagFilter.tag</code>.</p>
140
- * </li>
141
- * <li>
142
- * <p>
143
- * <code>typeFilter.name</code>: String constraint. The key is
144
- * <code>swf:typeFilter.name</code>.</p>
145
- * </li>
146
- * <li>
147
- * <p>
148
- * <code>typeFilter.version</code>: String constraint. The key is
149
- * <code>swf:typeFilter.version</code>.</p>
150
- * </li>
151
- * </ul>
152
- * </li>
153
- * </ul>
154
- * <p>If the caller doesn't have sufficient permissions to invoke the action, or the
155
- * parameter values fall outside the specified constraints, the action fails. The associated
156
- * event attribute's <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>.
157
- * For details and example IAM policies, see <a href="https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html">Using IAM to Manage Access to Amazon SWF
158
- * Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>
159
- */
160
- countOpenWorkflowExecutions(args: CountOpenWorkflowExecutionsCommandInput, options?: __HttpHandlerOptions): Promise<CountOpenWorkflowExecutionsCommandOutput>;
161
- countOpenWorkflowExecutions(args: CountOpenWorkflowExecutionsCommandInput, cb: (err: any, data?: CountOpenWorkflowExecutionsCommandOutput) => void): void;
162
- countOpenWorkflowExecutions(args: CountOpenWorkflowExecutionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CountOpenWorkflowExecutionsCommandOutput) => void): void;
163
- /**
164
- * <p>Returns the estimated number of activity tasks in the specified task list. The count
165
- * returned is an approximation and isn't guaranteed to be exact. If you specify a task list that
166
- * no activity task was ever scheduled in then <code>0</code> is returned.</p>
167
- * <p>
168
- * <b>Access Control</b>
169
- * </p>
170
- * <p>You can use IAM policies to control this action's access to Amazon SWF resources as
171
- * follows:</p>
172
- * <ul>
173
- * <li>
174
- * <p>Use a <code>Resource</code> element with the domain name to limit the action to
175
- * only specified domains.</p>
176
- * </li>
177
- * <li>
178
- * <p>Use an <code>Action</code> element to allow or deny permission to call this
179
- * action.</p>
180
- * </li>
181
- * <li>
182
- * <p>Constrain the <code>taskList.name</code> parameter by using a
183
- * <code>Condition</code> element with the <code>swf:taskList.name</code> key to allow the
184
- * action to access only certain task lists.</p>
185
- * </li>
186
- * </ul>
187
- * <p>If the caller doesn't have sufficient permissions to invoke the action, or the
188
- * parameter values fall outside the specified constraints, the action fails. The associated
189
- * event attribute's <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>.
190
- * For details and example IAM policies, see <a href="https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html">Using IAM to Manage Access to Amazon SWF
191
- * Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>
192
- */
193
- countPendingActivityTasks(args: CountPendingActivityTasksCommandInput, options?: __HttpHandlerOptions): Promise<CountPendingActivityTasksCommandOutput>;
194
- countPendingActivityTasks(args: CountPendingActivityTasksCommandInput, cb: (err: any, data?: CountPendingActivityTasksCommandOutput) => void): void;
195
- countPendingActivityTasks(args: CountPendingActivityTasksCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CountPendingActivityTasksCommandOutput) => void): void;
196
- /**
197
- * <p>Returns the estimated number of decision tasks in the specified task list. The count
198
- * returned is an approximation and isn't guaranteed to be exact. If you specify a task list that
199
- * no decision task was ever scheduled in then <code>0</code> is returned.</p>
200
- * <p>
201
- * <b>Access Control</b>
202
- * </p>
203
- * <p>You can use IAM policies to control this action's access to Amazon SWF resources as
204
- * follows:</p>
205
- * <ul>
206
- * <li>
207
- * <p>Use a <code>Resource</code> element with the domain name to limit the action to
208
- * only specified domains.</p>
209
- * </li>
210
- * <li>
211
- * <p>Use an <code>Action</code> element to allow or deny permission to call this
212
- * action.</p>
213
- * </li>
214
- * <li>
215
- * <p>Constrain the <code>taskList.name</code> parameter by using a
216
- * <code>Condition</code> element with the <code>swf:taskList.name</code> key to allow the
217
- * action to access only certain task lists.</p>
218
- * </li>
219
- * </ul>
220
- * <p>If the caller doesn't have sufficient permissions to invoke the action, or the
221
- * parameter values fall outside the specified constraints, the action fails. The associated
222
- * event attribute's <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>.
223
- * For details and example IAM policies, see <a href="https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html">Using IAM to Manage Access to Amazon SWF
224
- * Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>
225
- */
226
- countPendingDecisionTasks(args: CountPendingDecisionTasksCommandInput, options?: __HttpHandlerOptions): Promise<CountPendingDecisionTasksCommandOutput>;
227
- countPendingDecisionTasks(args: CountPendingDecisionTasksCommandInput, cb: (err: any, data?: CountPendingDecisionTasksCommandOutput) => void): void;
228
- countPendingDecisionTasks(args: CountPendingDecisionTasksCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CountPendingDecisionTasksCommandOutput) => void): void;
229
- /**
230
- * <p>Deprecates the specified <i>activity type</i>. After an activity type has
231
- * been deprecated, you cannot create new tasks of that activity type. Tasks of this type that
232
- * were scheduled before the type was deprecated continue to run.</p>
233
- * <note>
234
- * <p>This operation is eventually consistent. The results are best effort and may not
235
- * exactly reflect recent updates and changes.</p>
236
- * </note>
237
- * <p>
238
- * <b>Access Control</b>
239
- * </p>
240
- * <p>You can use IAM policies to control this action's access to Amazon SWF resources as
241
- * follows:</p>
242
- * <ul>
243
- * <li>
244
- * <p>Use a <code>Resource</code> element with the domain name to limit the action to
245
- * only specified domains.</p>
246
- * </li>
247
- * <li>
248
- * <p>Use an <code>Action</code> element to allow or deny permission to call this
249
- * action.</p>
250
- * </li>
251
- * <li>
252
- * <p>Constrain the following parameters by using a <code>Condition</code> element with
253
- * the appropriate keys.</p>
254
- * <ul>
255
- * <li>
256
- * <p>
257
- * <code>activityType.name</code>: String constraint. The key is
258
- * <code>swf:activityType.name</code>.</p>
259
- * </li>
260
- * <li>
261
- * <p>
262
- * <code>activityType.version</code>: String constraint. The key is
263
- * <code>swf:activityType.version</code>.</p>
264
- * </li>
265
- * </ul>
266
- * </li>
267
- * </ul>
268
- * <p>If the caller doesn't have sufficient permissions to invoke the action, or the
269
- * parameter values fall outside the specified constraints, the action fails. The associated
270
- * event attribute's <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>.
271
- * For details and example IAM policies, see <a href="https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html">Using IAM to Manage Access to Amazon SWF
272
- * Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>
273
- */
274
- deprecateActivityType(args: DeprecateActivityTypeCommandInput, options?: __HttpHandlerOptions): Promise<DeprecateActivityTypeCommandOutput>;
275
- deprecateActivityType(args: DeprecateActivityTypeCommandInput, cb: (err: any, data?: DeprecateActivityTypeCommandOutput) => void): void;
276
- deprecateActivityType(args: DeprecateActivityTypeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeprecateActivityTypeCommandOutput) => void): void;
277
- /**
278
- * <p>Deprecates the specified domain. After a domain has been deprecated it cannot be used
279
- * to create new workflow executions or register new types. However, you can still use visibility
280
- * actions on this domain. Deprecating a domain also deprecates all activity and workflow types
281
- * registered in the domain. Executions that were started before the domain was deprecated
282
- * continues to run.</p>
283
- * <note>
284
- * <p>This operation is eventually consistent. The results are best effort and may not
285
- * exactly reflect recent updates and changes.</p>
286
- * </note>
287
- * <p>
288
- * <b>Access Control</b>
289
- * </p>
290
- * <p>You can use IAM policies to control this action's access to Amazon SWF resources as
291
- * follows:</p>
292
- * <ul>
293
- * <li>
294
- * <p>Use a <code>Resource</code> element with the domain name to limit the action to
295
- * only specified domains.</p>
296
- * </li>
297
- * <li>
298
- * <p>Use an <code>Action</code> element to allow or deny permission to call this
299
- * action.</p>
300
- * </li>
301
- * <li>
302
- * <p>You cannot use an IAM policy to constrain this action's parameters.</p>
303
- * </li>
304
- * </ul>
305
- * <p>If the caller doesn't have sufficient permissions to invoke the action, or the
306
- * parameter values fall outside the specified constraints, the action fails. The associated
307
- * event attribute's <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>.
308
- * For details and example IAM policies, see <a href="https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html">Using IAM to Manage Access to Amazon SWF
309
- * Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>
310
- */
311
- deprecateDomain(args: DeprecateDomainCommandInput, options?: __HttpHandlerOptions): Promise<DeprecateDomainCommandOutput>;
312
- deprecateDomain(args: DeprecateDomainCommandInput, cb: (err: any, data?: DeprecateDomainCommandOutput) => void): void;
313
- deprecateDomain(args: DeprecateDomainCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeprecateDomainCommandOutput) => void): void;
314
- /**
315
- * <p>Deprecates the specified <i>workflow type</i>. After a workflow type has
316
- * been deprecated, you cannot create new executions of that type. Executions that were started
317
- * before the type was deprecated continues to run. A deprecated workflow type may still be used
318
- * when calling visibility actions.</p>
319
- * <note>
320
- * <p>This operation is eventually consistent. The results are best effort and may not
321
- * exactly reflect recent updates and changes.</p>
322
- * </note>
323
- * <p>
324
- * <b>Access Control</b>
325
- * </p>
326
- * <p>You can use IAM policies to control this action's access to Amazon SWF resources as
327
- * follows:</p>
328
- * <ul>
329
- * <li>
330
- * <p>Use a <code>Resource</code> element with the domain name to limit the action to
331
- * only specified domains.</p>
332
- * </li>
333
- * <li>
334
- * <p>Use an <code>Action</code> element to allow or deny permission to call this
335
- * action.</p>
336
- * </li>
337
- * <li>
338
- * <p>Constrain the following parameters by using a <code>Condition</code> element with
339
- * the appropriate keys.</p>
340
- * <ul>
341
- * <li>
342
- * <p>
343
- * <code>workflowType.name</code>: String constraint. The key is
344
- * <code>swf:workflowType.name</code>.</p>
345
- * </li>
346
- * <li>
347
- * <p>
348
- * <code>workflowType.version</code>: String constraint. The key is
349
- * <code>swf:workflowType.version</code>.</p>
350
- * </li>
351
- * </ul>
352
- * </li>
353
- * </ul>
354
- * <p>If the caller doesn't have sufficient permissions to invoke the action, or the
355
- * parameter values fall outside the specified constraints, the action fails. The associated
356
- * event attribute's <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>.
357
- * For details and example IAM policies, see <a href="https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html">Using IAM to Manage Access to Amazon SWF
358
- * Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>
359
- */
360
- deprecateWorkflowType(args: DeprecateWorkflowTypeCommandInput, options?: __HttpHandlerOptions): Promise<DeprecateWorkflowTypeCommandOutput>;
361
- deprecateWorkflowType(args: DeprecateWorkflowTypeCommandInput, cb: (err: any, data?: DeprecateWorkflowTypeCommandOutput) => void): void;
362
- deprecateWorkflowType(args: DeprecateWorkflowTypeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeprecateWorkflowTypeCommandOutput) => void): void;
363
- /**
364
- * <p>Returns information about the specified activity type. This includes configuration
365
- * settings provided when the type was registered and other general information about the
366
- * type.</p>
367
- * <p>
368
- * <b>Access Control</b>
369
- * </p>
370
- * <p>You can use IAM policies to control this action's access to Amazon SWF resources as
371
- * follows:</p>
372
- * <ul>
373
- * <li>
374
- * <p>Use a <code>Resource</code> element with the domain name to limit the action to
375
- * only specified domains.</p>
376
- * </li>
377
- * <li>
378
- * <p>Use an <code>Action</code> element to allow or deny permission to call this
379
- * action.</p>
380
- * </li>
381
- * <li>
382
- * <p>Constrain the following parameters by using a <code>Condition</code> element with
383
- * the appropriate keys.</p>
384
- * <ul>
385
- * <li>
386
- * <p>
387
- * <code>activityType.name</code>: String constraint. The key is
388
- * <code>swf:activityType.name</code>.</p>
389
- * </li>
390
- * <li>
391
- * <p>
392
- * <code>activityType.version</code>: String constraint. The key is
393
- * <code>swf:activityType.version</code>.</p>
394
- * </li>
395
- * </ul>
396
- * </li>
397
- * </ul>
398
- * <p>If the caller doesn't have sufficient permissions to invoke the action, or the
399
- * parameter values fall outside the specified constraints, the action fails. The associated
400
- * event attribute's <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>.
401
- * For details and example IAM policies, see <a href="https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html">Using IAM to Manage Access to Amazon SWF
402
- * Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>
403
- */
404
- describeActivityType(args: DescribeActivityTypeCommandInput, options?: __HttpHandlerOptions): Promise<DescribeActivityTypeCommandOutput>;
405
- describeActivityType(args: DescribeActivityTypeCommandInput, cb: (err: any, data?: DescribeActivityTypeCommandOutput) => void): void;
406
- describeActivityType(args: DescribeActivityTypeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeActivityTypeCommandOutput) => void): void;
407
- /**
408
- * <p>Returns information about the specified domain, including description and
409
- * status.</p>
410
- * <p>
411
- * <b>Access Control</b>
412
- * </p>
413
- * <p>You can use IAM policies to control this action's access to Amazon SWF resources as
414
- * follows:</p>
415
- * <ul>
416
- * <li>
417
- * <p>Use a <code>Resource</code> element with the domain name to limit the action to
418
- * only specified domains.</p>
419
- * </li>
420
- * <li>
421
- * <p>Use an <code>Action</code> element to allow or deny permission to call this
422
- * action.</p>
423
- * </li>
424
- * <li>
425
- * <p>You cannot use an IAM policy to constrain this action's parameters.</p>
426
- * </li>
427
- * </ul>
428
- * <p>If the caller doesn't have sufficient permissions to invoke the action, or the
429
- * parameter values fall outside the specified constraints, the action fails. The associated
430
- * event attribute's <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>.
431
- * For details and example IAM policies, see <a href="https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html">Using IAM to Manage Access to Amazon SWF
432
- * Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>
433
- */
434
- describeDomain(args: DescribeDomainCommandInput, options?: __HttpHandlerOptions): Promise<DescribeDomainCommandOutput>;
435
- describeDomain(args: DescribeDomainCommandInput, cb: (err: any, data?: DescribeDomainCommandOutput) => void): void;
436
- describeDomain(args: DescribeDomainCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeDomainCommandOutput) => void): void;
437
- /**
438
- * <p>Returns information about the specified workflow execution including its type and some
439
- * statistics.</p>
440
- * <note>
441
- * <p>This operation is eventually consistent. The results are best effort and may not
442
- * exactly reflect recent updates and changes.</p>
443
- * </note>
444
- * <p>
445
- * <b>Access Control</b>
446
- * </p>
447
- * <p>You can use IAM policies to control this action's access to Amazon SWF resources as
448
- * follows:</p>
449
- * <ul>
450
- * <li>
451
- * <p>Use a <code>Resource</code> element with the domain name to limit the action to
452
- * only specified domains.</p>
453
- * </li>
454
- * <li>
455
- * <p>Use an <code>Action</code> element to allow or deny permission to call this
456
- * action.</p>
457
- * </li>
458
- * <li>
459
- * <p>You cannot use an IAM policy to constrain this action's parameters.</p>
460
- * </li>
461
- * </ul>
462
- * <p>If the caller doesn't have sufficient permissions to invoke the action, or the
463
- * parameter values fall outside the specified constraints, the action fails. The associated
464
- * event attribute's <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>.
465
- * For details and example IAM policies, see <a href="https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html">Using IAM to Manage Access to Amazon SWF
466
- * Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>
467
- */
468
- describeWorkflowExecution(args: DescribeWorkflowExecutionCommandInput, options?: __HttpHandlerOptions): Promise<DescribeWorkflowExecutionCommandOutput>;
469
- describeWorkflowExecution(args: DescribeWorkflowExecutionCommandInput, cb: (err: any, data?: DescribeWorkflowExecutionCommandOutput) => void): void;
470
- describeWorkflowExecution(args: DescribeWorkflowExecutionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeWorkflowExecutionCommandOutput) => void): void;
471
- /**
472
- * <p>Returns information about the specified <i>workflow type</i>. This
473
- * includes configuration settings specified when the type was registered and other information
474
- * such as creation date, current status, etc.</p>
475
- * <p>
476
- * <b>Access Control</b>
477
- * </p>
478
- * <p>You can use IAM policies to control this action's access to Amazon SWF resources as
479
- * follows:</p>
480
- * <ul>
481
- * <li>
482
- * <p>Use a <code>Resource</code> element with the domain name to limit the action to
483
- * only specified domains.</p>
484
- * </li>
485
- * <li>
486
- * <p>Use an <code>Action</code> element to allow or deny permission to call this
487
- * action.</p>
488
- * </li>
489
- * <li>
490
- * <p>Constrain the following parameters by using a <code>Condition</code> element with
491
- * the appropriate keys.</p>
492
- * <ul>
493
- * <li>
494
- * <p>
495
- * <code>workflowType.name</code>: String constraint. The key is
496
- * <code>swf:workflowType.name</code>.</p>
497
- * </li>
498
- * <li>
499
- * <p>
500
- * <code>workflowType.version</code>: String constraint. The key is
501
- * <code>swf:workflowType.version</code>.</p>
502
- * </li>
503
- * </ul>
504
- * </li>
505
- * </ul>
506
- * <p>If the caller doesn't have sufficient permissions to invoke the action, or the
507
- * parameter values fall outside the specified constraints, the action fails. The associated
508
- * event attribute's <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>.
509
- * For details and example IAM policies, see <a href="https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html">Using IAM to Manage Access to Amazon SWF
510
- * Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>
511
- */
512
- describeWorkflowType(args: DescribeWorkflowTypeCommandInput, options?: __HttpHandlerOptions): Promise<DescribeWorkflowTypeCommandOutput>;
513
- describeWorkflowType(args: DescribeWorkflowTypeCommandInput, cb: (err: any, data?: DescribeWorkflowTypeCommandOutput) => void): void;
514
- describeWorkflowType(args: DescribeWorkflowTypeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeWorkflowTypeCommandOutput) => void): void;
515
- /**
516
- * <p>Returns the history of the specified workflow execution. The results may be split into
517
- * multiple pages. To retrieve subsequent pages, make the call again using the
518
- * <code>nextPageToken</code> returned by the initial call.</p>
519
- * <note>
520
- * <p>This operation is eventually consistent. The results are best effort and may not
521
- * exactly reflect recent updates and changes.</p>
522
- * </note>
523
- * <p>
524
- * <b>Access Control</b>
525
- * </p>
526
- * <p>You can use IAM policies to control this action's access to Amazon SWF resources as
527
- * follows:</p>
528
- * <ul>
529
- * <li>
530
- * <p>Use a <code>Resource</code> element with the domain name to limit the action to
531
- * only specified domains.</p>
532
- * </li>
533
- * <li>
534
- * <p>Use an <code>Action</code> element to allow or deny permission to call this
535
- * action.</p>
536
- * </li>
537
- * <li>
538
- * <p>You cannot use an IAM policy to constrain this action's parameters.</p>
539
- * </li>
540
- * </ul>
541
- * <p>If the caller doesn't have sufficient permissions to invoke the action, or the
542
- * parameter values fall outside the specified constraints, the action fails. The associated
543
- * event attribute's <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>.
544
- * For details and example IAM policies, see <a href="https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html">Using IAM to Manage Access to Amazon SWF
545
- * Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>
546
- */
547
- getWorkflowExecutionHistory(args: GetWorkflowExecutionHistoryCommandInput, options?: __HttpHandlerOptions): Promise<GetWorkflowExecutionHistoryCommandOutput>;
548
- getWorkflowExecutionHistory(args: GetWorkflowExecutionHistoryCommandInput, cb: (err: any, data?: GetWorkflowExecutionHistoryCommandOutput) => void): void;
549
- getWorkflowExecutionHistory(args: GetWorkflowExecutionHistoryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetWorkflowExecutionHistoryCommandOutput) => void): void;
550
- /**
551
- * <p>Returns information about all activities registered in the specified domain that match
552
- * the specified name and registration status. The result includes information like creation
553
- * date, current status of the activity, etc. The results may be split into multiple pages. To
554
- * retrieve subsequent pages, make the call again using the <code>nextPageToken</code> returned
555
- * by the initial call.</p>
556
- * <p>
557
- * <b>Access Control</b>
558
- * </p>
559
- * <p>You can use IAM policies to control this action's access to Amazon SWF resources as
560
- * follows:</p>
561
- * <ul>
562
- * <li>
563
- * <p>Use a <code>Resource</code> element with the domain name to limit the action to
564
- * only specified domains.</p>
565
- * </li>
566
- * <li>
567
- * <p>Use an <code>Action</code> element to allow or deny permission to call this
568
- * action.</p>
569
- * </li>
570
- * <li>
571
- * <p>You cannot use an IAM policy to constrain this action's parameters.</p>
572
- * </li>
573
- * </ul>
574
- * <p>If the caller doesn't have sufficient permissions to invoke the action, or the
575
- * parameter values fall outside the specified constraints, the action fails. The associated
576
- * event attribute's <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>.
577
- * For details and example IAM policies, see <a href="https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html">Using IAM to Manage Access to Amazon SWF
578
- * Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>
579
- */
580
- listActivityTypes(args: ListActivityTypesCommandInput, options?: __HttpHandlerOptions): Promise<ListActivityTypesCommandOutput>;
581
- listActivityTypes(args: ListActivityTypesCommandInput, cb: (err: any, data?: ListActivityTypesCommandOutput) => void): void;
582
- listActivityTypes(args: ListActivityTypesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListActivityTypesCommandOutput) => void): void;
583
- /**
584
- * <p>Returns a list of closed workflow executions in the specified domain that meet the
585
- * filtering criteria. The results may be split into multiple pages. To retrieve subsequent
586
- * pages, make the call again using the nextPageToken returned by the initial call.</p>
587
- * <note>
588
- * <p>This operation is eventually consistent. The results are best effort and may not
589
- * exactly reflect recent updates and changes.</p>
590
- * </note>
591
- * <p>
592
- * <b>Access Control</b>
593
- * </p>
594
- * <p>You can use IAM policies to control this action's access to Amazon SWF resources as
595
- * follows:</p>
596
- * <ul>
597
- * <li>
598
- * <p>Use a <code>Resource</code> element with the domain name to limit the action to
599
- * only specified domains.</p>
600
- * </li>
601
- * <li>
602
- * <p>Use an <code>Action</code> element to allow or deny permission to call this
603
- * action.</p>
604
- * </li>
605
- * <li>
606
- * <p>Constrain the following parameters by using a <code>Condition</code> element with
607
- * the appropriate keys.</p>
608
- * <ul>
609
- * <li>
610
- * <p>
611
- * <code>tagFilter.tag</code>: String constraint. The key is
612
- * <code>swf:tagFilter.tag</code>.</p>
613
- * </li>
614
- * <li>
615
- * <p>
616
- * <code>typeFilter.name</code>: String constraint. The key is
617
- * <code>swf:typeFilter.name</code>.</p>
618
- * </li>
619
- * <li>
620
- * <p>
621
- * <code>typeFilter.version</code>: String constraint. The key is
622
- * <code>swf:typeFilter.version</code>.</p>
623
- * </li>
624
- * </ul>
625
- * </li>
626
- * </ul>
627
- * <p>If the caller doesn't have sufficient permissions to invoke the action, or the
628
- * parameter values fall outside the specified constraints, the action fails. The associated
629
- * event attribute's <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>.
630
- * For details and example IAM policies, see <a href="https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html">Using IAM to Manage Access to Amazon SWF
631
- * Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>
632
- */
633
- listClosedWorkflowExecutions(args: ListClosedWorkflowExecutionsCommandInput, options?: __HttpHandlerOptions): Promise<ListClosedWorkflowExecutionsCommandOutput>;
634
- listClosedWorkflowExecutions(args: ListClosedWorkflowExecutionsCommandInput, cb: (err: any, data?: ListClosedWorkflowExecutionsCommandOutput) => void): void;
635
- listClosedWorkflowExecutions(args: ListClosedWorkflowExecutionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListClosedWorkflowExecutionsCommandOutput) => void): void;
636
- /**
637
- * <p>Returns the list of domains registered in the account. The results may be split into
638
- * multiple pages. To retrieve subsequent pages, make the call again using the nextPageToken
639
- * returned by the initial call.</p>
640
- * <note>
641
- * <p>This operation is eventually consistent. The results are best effort and may not
642
- * exactly reflect recent updates and changes.</p>
643
- * </note>
644
- * <p>
645
- * <b>Access Control</b>
646
- * </p>
647
- * <p>You can use IAM policies to control this action's access to Amazon SWF resources as
648
- * follows:</p>
649
- * <ul>
650
- * <li>
651
- * <p>Use a <code>Resource</code> element with the domain name to limit the action to
652
- * only specified domains. The element must be set to
653
- * <code>arn:aws:swf::AccountID:domain/*</code>, where <i>AccountID</i> is
654
- * the account ID, with no dashes.</p>
655
- * </li>
656
- * <li>
657
- * <p>Use an <code>Action</code> element to allow or deny permission to call this
658
- * action.</p>
659
- * </li>
660
- * <li>
661
- * <p>You cannot use an IAM policy to constrain this action's parameters.</p>
662
- * </li>
663
- * </ul>
664
- * <p>If the caller doesn't have sufficient permissions to invoke the action, or the
665
- * parameter values fall outside the specified constraints, the action fails. The associated
666
- * event attribute's <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>.
667
- * For details and example IAM policies, see <a href="https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html">Using IAM to Manage Access to Amazon SWF
668
- * Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>
669
- */
670
- listDomains(args: ListDomainsCommandInput, options?: __HttpHandlerOptions): Promise<ListDomainsCommandOutput>;
671
- listDomains(args: ListDomainsCommandInput, cb: (err: any, data?: ListDomainsCommandOutput) => void): void;
672
- listDomains(args: ListDomainsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListDomainsCommandOutput) => void): void;
673
- /**
674
- * <p>Returns a list of open workflow executions in the specified domain that meet the
675
- * filtering criteria. The results may be split into multiple pages. To retrieve subsequent
676
- * pages, make the call again using the nextPageToken returned by the initial call.</p>
677
- * <note>
678
- * <p>This operation is eventually consistent. The results are best effort and may not
679
- * exactly reflect recent updates and changes.</p>
680
- * </note>
681
- * <p>
682
- * <b>Access Control</b>
683
- * </p>
684
- * <p>You can use IAM policies to control this action's access to Amazon SWF resources as
685
- * follows:</p>
686
- * <ul>
687
- * <li>
688
- * <p>Use a <code>Resource</code> element with the domain name to limit the action to
689
- * only specified domains.</p>
690
- * </li>
691
- * <li>
692
- * <p>Use an <code>Action</code> element to allow or deny permission to call this
693
- * action.</p>
694
- * </li>
695
- * <li>
696
- * <p>Constrain the following parameters by using a <code>Condition</code> element with
697
- * the appropriate keys.</p>
698
- * <ul>
699
- * <li>
700
- * <p>
701
- * <code>tagFilter.tag</code>: String constraint. The key is
702
- * <code>swf:tagFilter.tag</code>.</p>
703
- * </li>
704
- * <li>
705
- * <p>
706
- * <code>typeFilter.name</code>: String constraint. The key is
707
- * <code>swf:typeFilter.name</code>.</p>
708
- * </li>
709
- * <li>
710
- * <p>
711
- * <code>typeFilter.version</code>: String constraint. The key is
712
- * <code>swf:typeFilter.version</code>.</p>
713
- * </li>
714
- * </ul>
715
- * </li>
716
- * </ul>
717
- * <p>If the caller doesn't have sufficient permissions to invoke the action, or the
718
- * parameter values fall outside the specified constraints, the action fails. The associated
719
- * event attribute's <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>.
720
- * For details and example IAM policies, see <a href="https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html">Using IAM to Manage Access to Amazon SWF
721
- * Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>
722
- */
723
- listOpenWorkflowExecutions(args: ListOpenWorkflowExecutionsCommandInput, options?: __HttpHandlerOptions): Promise<ListOpenWorkflowExecutionsCommandOutput>;
724
- listOpenWorkflowExecutions(args: ListOpenWorkflowExecutionsCommandInput, cb: (err: any, data?: ListOpenWorkflowExecutionsCommandOutput) => void): void;
725
- listOpenWorkflowExecutions(args: ListOpenWorkflowExecutionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListOpenWorkflowExecutionsCommandOutput) => void): void;
726
- /**
727
- * <p>List tags for a given domain.</p>
728
- */
729
- listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
730
- listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
731
- listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
732
- /**
733
- * <p>Returns information about workflow types in the specified domain. The results may be
734
- * split into multiple pages that can be retrieved by making the call repeatedly.</p>
735
- * <p>
736
- * <b>Access Control</b>
737
- * </p>
738
- * <p>You can use IAM policies to control this action's access to Amazon SWF resources as
739
- * follows:</p>
740
- * <ul>
741
- * <li>
742
- * <p>Use a <code>Resource</code> element with the domain name to limit the action to
743
- * only specified domains.</p>
744
- * </li>
745
- * <li>
746
- * <p>Use an <code>Action</code> element to allow or deny permission to call this
747
- * action.</p>
748
- * </li>
749
- * <li>
750
- * <p>You cannot use an IAM policy to constrain this action's parameters.</p>
751
- * </li>
752
- * </ul>
753
- * <p>If the caller doesn't have sufficient permissions to invoke the action, or the
754
- * parameter values fall outside the specified constraints, the action fails. The associated
755
- * event attribute's <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>.
756
- * For details and example IAM policies, see <a href="https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html">Using IAM to Manage Access to Amazon SWF
757
- * Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>
758
- */
759
- listWorkflowTypes(args: ListWorkflowTypesCommandInput, options?: __HttpHandlerOptions): Promise<ListWorkflowTypesCommandOutput>;
760
- listWorkflowTypes(args: ListWorkflowTypesCommandInput, cb: (err: any, data?: ListWorkflowTypesCommandOutput) => void): void;
761
- listWorkflowTypes(args: ListWorkflowTypesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListWorkflowTypesCommandOutput) => void): void;
762
- /**
763
- * <p>Used by workers to get an <a>ActivityTask</a> from the specified activity
764
- * <code>taskList</code>. This initiates a long poll, where the service holds the HTTP
765
- * connection open and responds as soon as a task becomes available. The maximum time the service
766
- * holds on to the request before responding is 60 seconds. If no task is available within 60
767
- * seconds, the poll returns an empty result. An empty result, in this context, means that an
768
- * ActivityTask is returned, but that the value of taskToken is an empty string. If a task is
769
- * returned, the worker should use its type to identify and process it correctly.</p>
770
- * <important>
771
- * <p>Workers should set their client side socket timeout to at least 70 seconds (10
772
- * seconds higher than the maximum time service may hold the poll request).</p>
773
- * </important>
774
- * <p>
775
- * <b>Access Control</b>
776
- * </p>
777
- * <p>You can use IAM policies to control this action's access to Amazon SWF resources as
778
- * follows:</p>
779
- * <ul>
780
- * <li>
781
- * <p>Use a <code>Resource</code> element with the domain name to limit the action to
782
- * only specified domains.</p>
783
- * </li>
784
- * <li>
785
- * <p>Use an <code>Action</code> element to allow or deny permission to call this
786
- * action.</p>
787
- * </li>
788
- * <li>
789
- * <p>Constrain the <code>taskList.name</code> parameter by using a
790
- * <code>Condition</code> element with the <code>swf:taskList.name</code> key to allow the
791
- * action to access only certain task lists.</p>
792
- * </li>
793
- * </ul>
794
- * <p>If the caller doesn't have sufficient permissions to invoke the action, or the
795
- * parameter values fall outside the specified constraints, the action fails. The associated
796
- * event attribute's <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>.
797
- * For details and example IAM policies, see <a href="https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html">Using IAM to Manage Access to Amazon SWF
798
- * Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>
799
- */
800
- pollForActivityTask(args: PollForActivityTaskCommandInput, options?: __HttpHandlerOptions): Promise<PollForActivityTaskCommandOutput>;
801
- pollForActivityTask(args: PollForActivityTaskCommandInput, cb: (err: any, data?: PollForActivityTaskCommandOutput) => void): void;
802
- pollForActivityTask(args: PollForActivityTaskCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PollForActivityTaskCommandOutput) => void): void;
803
- /**
804
- * <p>Used by deciders to get a <a>DecisionTask</a> from the specified decision
805
- * <code>taskList</code>. A decision task may be returned for any open workflow execution that
806
- * is using the specified task list. The task includes a paginated view of the history of the
807
- * workflow execution. The decider should use the workflow type and the history to determine how
808
- * to properly handle the task.</p>
809
- * <p>This action initiates a long poll, where the service holds the HTTP connection open and
810
- * responds as soon a task becomes available. If no decision task is available in the specified
811
- * task list before the timeout of 60 seconds expires, an empty result is returned. An empty
812
- * result, in this context, means that a DecisionTask is returned, but that the value of
813
- * taskToken is an empty string.</p>
814
- * <important>
815
- * <p>Deciders should set their client side socket timeout to at least 70 seconds (10
816
- * seconds higher than the timeout).</p>
817
- * </important>
818
- * <important>
819
- * <p>Because the number of workflow history events for a single workflow execution might
820
- * be very large, the result returned might be split up across a number of pages. To retrieve
821
- * subsequent pages, make additional calls to <code>PollForDecisionTask</code> using the
822
- * <code>nextPageToken</code> returned by the initial call. Note that you do
823
- * <i>not</i> call <code>GetWorkflowExecutionHistory</code> with this
824
- * <code>nextPageToken</code>. Instead, call <code>PollForDecisionTask</code>
825
- * again.</p>
826
- * </important>
827
- * <p>
828
- * <b>Access Control</b>
829
- * </p>
830
- * <p>You can use IAM policies to control this action's access to Amazon SWF resources as
831
- * follows:</p>
832
- * <ul>
833
- * <li>
834
- * <p>Use a <code>Resource</code> element with the domain name to limit the action to
835
- * only specified domains.</p>
836
- * </li>
837
- * <li>
838
- * <p>Use an <code>Action</code> element to allow or deny permission to call this
839
- * action.</p>
840
- * </li>
841
- * <li>
842
- * <p>Constrain the <code>taskList.name</code> parameter by using a
843
- * <code>Condition</code> element with the <code>swf:taskList.name</code> key to allow the
844
- * action to access only certain task lists.</p>
845
- * </li>
846
- * </ul>
847
- * <p>If the caller doesn't have sufficient permissions to invoke the action, or the
848
- * parameter values fall outside the specified constraints, the action fails. The associated
849
- * event attribute's <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>.
850
- * For details and example IAM policies, see <a href="https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html">Using IAM to Manage Access to Amazon SWF
851
- * Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>
852
- */
853
- pollForDecisionTask(args: PollForDecisionTaskCommandInput, options?: __HttpHandlerOptions): Promise<PollForDecisionTaskCommandOutput>;
854
- pollForDecisionTask(args: PollForDecisionTaskCommandInput, cb: (err: any, data?: PollForDecisionTaskCommandOutput) => void): void;
855
- pollForDecisionTask(args: PollForDecisionTaskCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PollForDecisionTaskCommandOutput) => void): void;
856
- /**
857
- * <p>Used by activity workers to report to the service that the <a>ActivityTask</a> represented by the specified <code>taskToken</code> is still making progress. The worker
858
- * can also specify details of the progress, for example percent complete, using the
859
- * <code>details</code> parameter. This action can also be used by the worker as a mechanism to
860
- * check if cancellation is being requested for the activity task. If a cancellation is being
861
- * attempted for the specified task, then the boolean <code>cancelRequested</code> flag returned
862
- * by the service is set to <code>true</code>.</p>
863
- * <p>This action resets the <code>taskHeartbeatTimeout</code> clock. The
864
- * <code>taskHeartbeatTimeout</code> is specified in <a>RegisterActivityType</a>.</p>
865
- * <p>This action doesn't in itself create an event in the workflow execution history.
866
- * However, if the task times out, the workflow execution history contains a
867
- * <code>ActivityTaskTimedOut</code> event that contains the information from the last
868
- * heartbeat generated by the activity worker.</p>
869
- * <note>
870
- * <p>The <code>taskStartToCloseTimeout</code> of an activity type is the maximum duration
871
- * of an activity task, regardless of the number of <a>RecordActivityTaskHeartbeat</a> requests received. The <code>taskStartToCloseTimeout</code> is also specified in <a>RegisterActivityType</a>.</p>
872
- * </note>
873
- * <note>
874
- * <p>This operation is only useful for long-lived activities to report liveliness of the
875
- * task and to determine if a cancellation is being attempted.</p>
876
- * </note>
877
- * <important>
878
- * <p>If the <code>cancelRequested</code> flag returns <code>true</code>, a cancellation is
879
- * being attempted. If the worker can cancel the activity, it should respond with <a>RespondActivityTaskCanceled</a>. Otherwise, it should ignore the cancellation
880
- * request.</p>
881
- * </important>
882
- * <p>
883
- * <b>Access Control</b>
884
- * </p>
885
- * <p>You can use IAM policies to control this action's access to Amazon SWF resources as
886
- * follows:</p>
887
- * <ul>
888
- * <li>
889
- * <p>Use a <code>Resource</code> element with the domain name to limit the action to
890
- * only specified domains.</p>
891
- * </li>
892
- * <li>
893
- * <p>Use an <code>Action</code> element to allow or deny permission to call this
894
- * action.</p>
895
- * </li>
896
- * <li>
897
- * <p>You cannot use an IAM policy to constrain this action's parameters.</p>
898
- * </li>
899
- * </ul>
900
- * <p>If the caller doesn't have sufficient permissions to invoke the action, or the
901
- * parameter values fall outside the specified constraints, the action fails. The associated
902
- * event attribute's <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>.
903
- * For details and example IAM policies, see <a href="https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html">Using IAM to Manage Access to Amazon SWF
904
- * Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>
905
- */
906
- recordActivityTaskHeartbeat(args: RecordActivityTaskHeartbeatCommandInput, options?: __HttpHandlerOptions): Promise<RecordActivityTaskHeartbeatCommandOutput>;
907
- recordActivityTaskHeartbeat(args: RecordActivityTaskHeartbeatCommandInput, cb: (err: any, data?: RecordActivityTaskHeartbeatCommandOutput) => void): void;
908
- recordActivityTaskHeartbeat(args: RecordActivityTaskHeartbeatCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RecordActivityTaskHeartbeatCommandOutput) => void): void;
909
- /**
910
- * <p>Registers a new <i>activity type</i> along with its configuration
911
- * settings in the specified domain.</p>
912
- * <important>
913
- * <p>A <code>TypeAlreadyExists</code> fault is returned if the type already exists in the
914
- * domain. You cannot change any configuration settings of the type after its registration, and
915
- * it must be registered as a new version.</p>
916
- * </important>
917
- * <p>
918
- * <b>Access Control</b>
919
- * </p>
920
- * <p>You can use IAM policies to control this action's access to Amazon SWF resources as
921
- * follows:</p>
922
- * <ul>
923
- * <li>
924
- * <p>Use a <code>Resource</code> element with the domain name to limit the action to
925
- * only specified domains.</p>
926
- * </li>
927
- * <li>
928
- * <p>Use an <code>Action</code> element to allow or deny permission to call this
929
- * action.</p>
930
- * </li>
931
- * <li>
932
- * <p>Constrain the following parameters by using a <code>Condition</code> element with
933
- * the appropriate keys.</p>
934
- * <ul>
935
- * <li>
936
- * <p>
937
- * <code>defaultTaskList.name</code>: String constraint. The key is
938
- * <code>swf:defaultTaskList.name</code>.</p>
939
- * </li>
940
- * <li>
941
- * <p>
942
- * <code>name</code>: String constraint. The key is <code>swf:name</code>.</p>
943
- * </li>
944
- * <li>
945
- * <p>
946
- * <code>version</code>: String constraint. The key is
947
- * <code>swf:version</code>.</p>
948
- * </li>
949
- * </ul>
950
- * </li>
951
- * </ul>
952
- * <p>If the caller doesn't have sufficient permissions to invoke the action, or the
953
- * parameter values fall outside the specified constraints, the action fails. The associated
954
- * event attribute's <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>.
955
- * For details and example IAM policies, see <a href="https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html">Using IAM to Manage Access to Amazon SWF
956
- * Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>
957
- */
958
- registerActivityType(args: RegisterActivityTypeCommandInput, options?: __HttpHandlerOptions): Promise<RegisterActivityTypeCommandOutput>;
959
- registerActivityType(args: RegisterActivityTypeCommandInput, cb: (err: any, data?: RegisterActivityTypeCommandOutput) => void): void;
960
- registerActivityType(args: RegisterActivityTypeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RegisterActivityTypeCommandOutput) => void): void;
961
- /**
962
- * <p>Registers a new domain.</p>
963
- * <p>
964
- * <b>Access Control</b>
965
- * </p>
966
- * <p>You can use IAM policies to control this action's access to Amazon SWF resources as
967
- * follows:</p>
968
- * <ul>
969
- * <li>
970
- * <p>You cannot use an IAM policy to control domain access for this action. The name of
971
- * the domain being registered is available as the resource of this action.</p>
972
- * </li>
973
- * <li>
974
- * <p>Use an <code>Action</code> element to allow or deny permission to call this
975
- * action.</p>
976
- * </li>
977
- * <li>
978
- * <p>You cannot use an IAM policy to constrain this action's parameters.</p>
979
- * </li>
980
- * </ul>
981
- * <p>If the caller doesn't have sufficient permissions to invoke the action, or the
982
- * parameter values fall outside the specified constraints, the action fails. The associated
983
- * event attribute's <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>.
984
- * For details and example IAM policies, see <a href="https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html">Using IAM to Manage Access to Amazon SWF
985
- * Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>
986
- */
987
- registerDomain(args: RegisterDomainCommandInput, options?: __HttpHandlerOptions): Promise<RegisterDomainCommandOutput>;
988
- registerDomain(args: RegisterDomainCommandInput, cb: (err: any, data?: RegisterDomainCommandOutput) => void): void;
989
- registerDomain(args: RegisterDomainCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RegisterDomainCommandOutput) => void): void;
990
- /**
991
- * <p>Registers a new <i>workflow type</i> and its configuration settings in
992
- * the specified domain.</p>
993
- * <p>The retention period for the workflow history is set by the <a>RegisterDomain</a> action.</p>
994
- * <important>
995
- * <p>If the type already exists, then a <code>TypeAlreadyExists</code> fault is returned.
996
- * You cannot change the configuration settings of a workflow type once it is registered and it
997
- * must be registered as a new version.</p>
998
- * </important>
999
- * <p>
1000
- * <b>Access Control</b>
1001
- * </p>
1002
- * <p>You can use IAM policies to control this action's access to Amazon SWF resources as
1003
- * follows:</p>
1004
- * <ul>
1005
- * <li>
1006
- * <p>Use a <code>Resource</code> element with the domain name to limit the action to
1007
- * only specified domains.</p>
1008
- * </li>
1009
- * <li>
1010
- * <p>Use an <code>Action</code> element to allow or deny permission to call this
1011
- * action.</p>
1012
- * </li>
1013
- * <li>
1014
- * <p>Constrain the following parameters by using a <code>Condition</code> element with
1015
- * the appropriate keys.</p>
1016
- * <ul>
1017
- * <li>
1018
- * <p>
1019
- * <code>defaultTaskList.name</code>: String constraint. The key is
1020
- * <code>swf:defaultTaskList.name</code>.</p>
1021
- * </li>
1022
- * <li>
1023
- * <p>
1024
- * <code>name</code>: String constraint. The key is <code>swf:name</code>.</p>
1025
- * </li>
1026
- * <li>
1027
- * <p>
1028
- * <code>version</code>: String constraint. The key is
1029
- * <code>swf:version</code>.</p>
1030
- * </li>
1031
- * </ul>
1032
- * </li>
1033
- * </ul>
1034
- * <p>If the caller doesn't have sufficient permissions to invoke the action, or the
1035
- * parameter values fall outside the specified constraints, the action fails. The associated
1036
- * event attribute's <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>.
1037
- * For details and example IAM policies, see <a href="https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html">Using IAM to Manage Access to Amazon SWF
1038
- * Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>
1039
- */
1040
- registerWorkflowType(args: RegisterWorkflowTypeCommandInput, options?: __HttpHandlerOptions): Promise<RegisterWorkflowTypeCommandOutput>;
1041
- registerWorkflowType(args: RegisterWorkflowTypeCommandInput, cb: (err: any, data?: RegisterWorkflowTypeCommandOutput) => void): void;
1042
- registerWorkflowType(args: RegisterWorkflowTypeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RegisterWorkflowTypeCommandOutput) => void): void;
1043
- /**
1044
- * <p>Records a <code>WorkflowExecutionCancelRequested</code> event in the currently running
1045
- * workflow execution identified by the given domain, workflowId, and runId. This logically
1046
- * requests the cancellation of the workflow execution as a whole. It is up to the decider to
1047
- * take appropriate actions when it receives an execution history with this event.</p>
1048
- *
1049
- * <note>
1050
- * <p>If the runId isn't specified, the <code>WorkflowExecutionCancelRequested</code> event
1051
- * is recorded in the history of the current open workflow execution with the specified
1052
- * workflowId in the domain.</p>
1053
- * </note>
1054
- *
1055
- * <note>
1056
- * <p>Because this action allows the workflow to properly clean up and gracefully close, it
1057
- * should be used instead of <a>TerminateWorkflowExecution</a> when
1058
- * possible.</p>
1059
- * </note>
1060
- * <p>
1061
- * <b>Access Control</b>
1062
- * </p>
1063
- * <p>You can use IAM policies to control this action's access to Amazon SWF resources as
1064
- * follows:</p>
1065
- * <ul>
1066
- * <li>
1067
- * <p>Use a <code>Resource</code> element with the domain name to limit the action to
1068
- * only specified domains.</p>
1069
- * </li>
1070
- * <li>
1071
- * <p>Use an <code>Action</code> element to allow or deny permission to call this
1072
- * action.</p>
1073
- * </li>
1074
- * <li>
1075
- * <p>You cannot use an IAM policy to constrain this action's parameters.</p>
1076
- * </li>
1077
- * </ul>
1078
- * <p>If the caller doesn't have sufficient permissions to invoke the action, or the
1079
- * parameter values fall outside the specified constraints, the action fails. The associated
1080
- * event attribute's <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>.
1081
- * For details and example IAM policies, see <a href="https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html">Using IAM to Manage Access to Amazon SWF
1082
- * Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>
1083
- */
1084
- requestCancelWorkflowExecution(args: RequestCancelWorkflowExecutionCommandInput, options?: __HttpHandlerOptions): Promise<RequestCancelWorkflowExecutionCommandOutput>;
1085
- requestCancelWorkflowExecution(args: RequestCancelWorkflowExecutionCommandInput, cb: (err: any, data?: RequestCancelWorkflowExecutionCommandOutput) => void): void;
1086
- requestCancelWorkflowExecution(args: RequestCancelWorkflowExecutionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RequestCancelWorkflowExecutionCommandOutput) => void): void;
1087
- /**
1088
- * <p>Used by workers to tell the service that the <a>ActivityTask</a> identified
1089
- * by the <code>taskToken</code> was successfully canceled. Additional <code>details</code> can
1090
- * be provided using the <code>details</code> argument.</p>
1091
- *
1092
- * <p>These <code>details</code> (if provided) appear in the
1093
- * <code>ActivityTaskCanceled</code> event added to the workflow history.</p>
1094
- *
1095
- * <important>
1096
- * <p>Only use this operation if the <code>canceled</code> flag of a <a>RecordActivityTaskHeartbeat</a> request returns <code>true</code> and if the
1097
- * activity can be safely undone or abandoned.</p>
1098
- * </important>
1099
- *
1100
- * <p>A task is considered open from the time that it is scheduled until it is closed.
1101
- * Therefore a task is reported as open while a worker is processing it. A task is closed after
1102
- * it has been specified in a call to <a>RespondActivityTaskCompleted</a>,
1103
- * RespondActivityTaskCanceled, <a>RespondActivityTaskFailed</a>, or the task has
1104
- * <a href="https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dg-basic.html#swf-dev-timeout-types">timed
1105
- * out</a>.</p>
1106
- *
1107
- * <p>
1108
- * <b>Access Control</b>
1109
- * </p>
1110
- * <p>You can use IAM policies to control this action's access to Amazon SWF resources as
1111
- * follows:</p>
1112
- * <ul>
1113
- * <li>
1114
- * <p>Use a <code>Resource</code> element with the domain name to limit the action to
1115
- * only specified domains.</p>
1116
- * </li>
1117
- * <li>
1118
- * <p>Use an <code>Action</code> element to allow or deny permission to call this
1119
- * action.</p>
1120
- * </li>
1121
- * <li>
1122
- * <p>You cannot use an IAM policy to constrain this action's parameters.</p>
1123
- * </li>
1124
- * </ul>
1125
- * <p>If the caller doesn't have sufficient permissions to invoke the action, or the
1126
- * parameter values fall outside the specified constraints, the action fails. The associated
1127
- * event attribute's <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>.
1128
- * For details and example IAM policies, see <a href="https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html">Using IAM to Manage Access to Amazon SWF
1129
- * Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>
1130
- */
1131
- respondActivityTaskCanceled(args: RespondActivityTaskCanceledCommandInput, options?: __HttpHandlerOptions): Promise<RespondActivityTaskCanceledCommandOutput>;
1132
- respondActivityTaskCanceled(args: RespondActivityTaskCanceledCommandInput, cb: (err: any, data?: RespondActivityTaskCanceledCommandOutput) => void): void;
1133
- respondActivityTaskCanceled(args: RespondActivityTaskCanceledCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RespondActivityTaskCanceledCommandOutput) => void): void;
1134
- /**
1135
- * <p>Used by workers to tell the service that the <a>ActivityTask</a> identified
1136
- * by the <code>taskToken</code> completed successfully with a <code>result</code> (if provided).
1137
- * The <code>result</code> appears in the <code>ActivityTaskCompleted</code> event in the
1138
- * workflow history.</p>
1139
- *
1140
- * <important>
1141
- * <p>If the requested task doesn't complete successfully, use <a>RespondActivityTaskFailed</a> instead. If the worker finds that the task is
1142
- * canceled through the <code>canceled</code> flag returned by <a>RecordActivityTaskHeartbeat</a>, it should cancel the task, clean up and then call
1143
- * <a>RespondActivityTaskCanceled</a>.</p>
1144
- * </important>
1145
- *
1146
- * <p>A task is considered open from the time that it is scheduled until it is closed.
1147
- * Therefore a task is reported as open while a worker is processing it. A task is closed after
1148
- * it has been specified in a call to RespondActivityTaskCompleted, <a>RespondActivityTaskCanceled</a>, <a>RespondActivityTaskFailed</a>, or the
1149
- * task has <a href="https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dg-basic.html#swf-dev-timeout-types">timed
1150
- * out</a>.</p>
1151
- *
1152
- * <p>
1153
- * <b>Access Control</b>
1154
- * </p>
1155
- * <p>You can use IAM policies to control this action's access to Amazon SWF resources as
1156
- * follows:</p>
1157
- * <ul>
1158
- * <li>
1159
- * <p>Use a <code>Resource</code> element with the domain name to limit the action to
1160
- * only specified domains.</p>
1161
- * </li>
1162
- * <li>
1163
- * <p>Use an <code>Action</code> element to allow or deny permission to call this
1164
- * action.</p>
1165
- * </li>
1166
- * <li>
1167
- * <p>You cannot use an IAM policy to constrain this action's parameters.</p>
1168
- * </li>
1169
- * </ul>
1170
- * <p>If the caller doesn't have sufficient permissions to invoke the action, or the
1171
- * parameter values fall outside the specified constraints, the action fails. The associated
1172
- * event attribute's <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>.
1173
- * For details and example IAM policies, see <a href="https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html">Using IAM to Manage Access to Amazon SWF
1174
- * Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>
1175
- */
1176
- respondActivityTaskCompleted(args: RespondActivityTaskCompletedCommandInput, options?: __HttpHandlerOptions): Promise<RespondActivityTaskCompletedCommandOutput>;
1177
- respondActivityTaskCompleted(args: RespondActivityTaskCompletedCommandInput, cb: (err: any, data?: RespondActivityTaskCompletedCommandOutput) => void): void;
1178
- respondActivityTaskCompleted(args: RespondActivityTaskCompletedCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RespondActivityTaskCompletedCommandOutput) => void): void;
1179
- /**
1180
- * <p>Used by workers to tell the service that the <a>ActivityTask</a> identified
1181
- * by the <code>taskToken</code> has failed with <code>reason</code> (if specified). The
1182
- * <code>reason</code> and <code>details</code> appear in the <code>ActivityTaskFailed</code>
1183
- * event added to the workflow history.</p>
1184
- *
1185
- * <p>A task is considered open from the time that it is scheduled until it is closed.
1186
- * Therefore a task is reported as open while a worker is processing it. A task is closed after
1187
- * it has been specified in a call to <a>RespondActivityTaskCompleted</a>, <a>RespondActivityTaskCanceled</a>, RespondActivityTaskFailed, or the task has <a href="https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dg-basic.html#swf-dev-timeout-types">timed
1188
- * out</a>.</p>
1189
- *
1190
- * <p>
1191
- * <b>Access Control</b>
1192
- * </p>
1193
- * <p>You can use IAM policies to control this action's access to Amazon SWF resources as
1194
- * follows:</p>
1195
- * <ul>
1196
- * <li>
1197
- * <p>Use a <code>Resource</code> element with the domain name to limit the action to
1198
- * only specified domains.</p>
1199
- * </li>
1200
- * <li>
1201
- * <p>Use an <code>Action</code> element to allow or deny permission to call this
1202
- * action.</p>
1203
- * </li>
1204
- * <li>
1205
- * <p>You cannot use an IAM policy to constrain this action's parameters.</p>
1206
- * </li>
1207
- * </ul>
1208
- * <p>If the caller doesn't have sufficient permissions to invoke the action, or the
1209
- * parameter values fall outside the specified constraints, the action fails. The associated
1210
- * event attribute's <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>.
1211
- * For details and example IAM policies, see <a href="https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html">Using IAM to Manage Access to Amazon SWF
1212
- * Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>
1213
- */
1214
- respondActivityTaskFailed(args: RespondActivityTaskFailedCommandInput, options?: __HttpHandlerOptions): Promise<RespondActivityTaskFailedCommandOutput>;
1215
- respondActivityTaskFailed(args: RespondActivityTaskFailedCommandInput, cb: (err: any, data?: RespondActivityTaskFailedCommandOutput) => void): void;
1216
- respondActivityTaskFailed(args: RespondActivityTaskFailedCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RespondActivityTaskFailedCommandOutput) => void): void;
1217
- /**
1218
- * <p>Used by deciders to tell the service that the <a>DecisionTask</a> identified
1219
- * by the <code>taskToken</code> has successfully completed. The <code>decisions</code> argument
1220
- * specifies the list of decisions made while processing the task.</p>
1221
- *
1222
- * <p>A <code>DecisionTaskCompleted</code> event is added to the workflow history. The
1223
- * <code>executionContext</code> specified is attached to the event in the workflow execution
1224
- * history.</p>
1225
- *
1226
- * <p>
1227
- * <b>Access Control</b>
1228
- * </p>
1229
- *
1230
- * <p>If an IAM policy grants permission to use <code>RespondDecisionTaskCompleted</code>, it
1231
- * can express permissions for the list of decisions in the <code>decisions</code> parameter.
1232
- * Each of the decisions has one or more parameters, much like a regular API call. To allow for
1233
- * policies to be as readable as possible, you can express permissions on decisions as if they
1234
- * were actual API calls, including applying conditions to some parameters. For more information,
1235
- * see <a href="https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html">Using
1236
- * IAM to Manage Access to Amazon SWF Workflows</a> in the
1237
- * <i>Amazon SWF Developer Guide</i>.</p>
1238
- */
1239
- respondDecisionTaskCompleted(args: RespondDecisionTaskCompletedCommandInput, options?: __HttpHandlerOptions): Promise<RespondDecisionTaskCompletedCommandOutput>;
1240
- respondDecisionTaskCompleted(args: RespondDecisionTaskCompletedCommandInput, cb: (err: any, data?: RespondDecisionTaskCompletedCommandOutput) => void): void;
1241
- respondDecisionTaskCompleted(args: RespondDecisionTaskCompletedCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RespondDecisionTaskCompletedCommandOutput) => void): void;
1242
- /**
1243
- * <p>Records a <code>WorkflowExecutionSignaled</code> event in the workflow execution
1244
- * history and creates a decision task for the workflow execution identified by the given domain,
1245
- * workflowId and runId. The event is recorded with the specified user defined signalName and
1246
- * input (if provided).</p>
1247
- *
1248
- * <note>
1249
- * <p>If a runId isn't specified, then the <code>WorkflowExecutionSignaled</code> event is
1250
- * recorded in the history of the current open workflow with the matching workflowId in the
1251
- * domain.</p>
1252
- * </note>
1253
- *
1254
- * <note>
1255
- * <p>If the specified workflow execution isn't open, this method fails with
1256
- * <code>UnknownResource</code>.</p>
1257
- * </note>
1258
- *
1259
- * <p>
1260
- * <b>Access Control</b>
1261
- * </p>
1262
- * <p>You can use IAM policies to control this action's access to Amazon SWF resources as
1263
- * follows:</p>
1264
- * <ul>
1265
- * <li>
1266
- * <p>Use a <code>Resource</code> element with the domain name to limit the action to
1267
- * only specified domains.</p>
1268
- * </li>
1269
- * <li>
1270
- * <p>Use an <code>Action</code> element to allow or deny permission to call this
1271
- * action.</p>
1272
- * </li>
1273
- * <li>
1274
- * <p>You cannot use an IAM policy to constrain this action's parameters.</p>
1275
- * </li>
1276
- * </ul>
1277
- * <p>If the caller doesn't have sufficient permissions to invoke the action, or the
1278
- * parameter values fall outside the specified constraints, the action fails. The associated
1279
- * event attribute's <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>.
1280
- * For details and example IAM policies, see <a href="https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html">Using IAM to Manage Access to Amazon SWF
1281
- * Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>
1282
- */
1283
- signalWorkflowExecution(args: SignalWorkflowExecutionCommandInput, options?: __HttpHandlerOptions): Promise<SignalWorkflowExecutionCommandOutput>;
1284
- signalWorkflowExecution(args: SignalWorkflowExecutionCommandInput, cb: (err: any, data?: SignalWorkflowExecutionCommandOutput) => void): void;
1285
- signalWorkflowExecution(args: SignalWorkflowExecutionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SignalWorkflowExecutionCommandOutput) => void): void;
1286
- /**
1287
- * <p>Starts an execution of the workflow type in the specified domain using the provided
1288
- * <code>workflowId</code> and input data.</p>
1289
- *
1290
- * <p>This action returns the newly started workflow execution.</p>
1291
- *
1292
- * <p>
1293
- * <b>Access Control</b>
1294
- * </p>
1295
- * <p>You can use IAM policies to control this action's access to Amazon SWF resources as
1296
- * follows:</p>
1297
- * <ul>
1298
- * <li>
1299
- * <p>Use a <code>Resource</code> element with the domain name to limit the action to
1300
- * only specified domains.</p>
1301
- * </li>
1302
- * <li>
1303
- * <p>Use an <code>Action</code> element to allow or deny permission to call this
1304
- * action.</p>
1305
- * </li>
1306
- * <li>
1307
- * <p>Constrain the following parameters by using a <code>Condition</code> element with
1308
- * the appropriate keys.</p>
1309
- * <ul>
1310
- * <li>
1311
- * <p>
1312
- * <code>tagList.member.0</code>: The key is <code>swf:tagList.member.0</code>.</p>
1313
- * </li>
1314
- * <li>
1315
- * <p>
1316
- * <code>tagList.member.1</code>: The key is <code>swf:tagList.member.1</code>.</p>
1317
- * </li>
1318
- * <li>
1319
- * <p>
1320
- * <code>tagList.member.2</code>: The key is <code>swf:tagList.member.2</code>.</p>
1321
- * </li>
1322
- * <li>
1323
- * <p>
1324
- * <code>tagList.member.3</code>: The key is <code>swf:tagList.member.3</code>.</p>
1325
- * </li>
1326
- * <li>
1327
- * <p>
1328
- * <code>tagList.member.4</code>: The key is <code>swf:tagList.member.4</code>.</p>
1329
- * </li>
1330
- * <li>
1331
- * <p>
1332
- * <code>taskList</code>: String constraint. The key is
1333
- * <code>swf:taskList.name</code>.</p>
1334
- * </li>
1335
- * <li>
1336
- * <p>
1337
- * <code>workflowType.name</code>: String constraint. The key is
1338
- * <code>swf:workflowType.name</code>.</p>
1339
- * </li>
1340
- * <li>
1341
- * <p>
1342
- * <code>workflowType.version</code>: String constraint. The key is
1343
- * <code>swf:workflowType.version</code>.</p>
1344
- * </li>
1345
- * </ul>
1346
- * </li>
1347
- * </ul>
1348
- * <p>If the caller doesn't have sufficient permissions to invoke the action, or the
1349
- * parameter values fall outside the specified constraints, the action fails. The associated
1350
- * event attribute's <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>.
1351
- * For details and example IAM policies, see <a href="https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html">Using IAM to Manage Access to Amazon SWF
1352
- * Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>
1353
- */
1354
- startWorkflowExecution(args: StartWorkflowExecutionCommandInput, options?: __HttpHandlerOptions): Promise<StartWorkflowExecutionCommandOutput>;
1355
- startWorkflowExecution(args: StartWorkflowExecutionCommandInput, cb: (err: any, data?: StartWorkflowExecutionCommandOutput) => void): void;
1356
- startWorkflowExecution(args: StartWorkflowExecutionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartWorkflowExecutionCommandOutput) => void): void;
1357
- /**
1358
- * <p>Add a tag to a Amazon SWF domain.</p>
1359
- * <note>
1360
- * <p>Amazon SWF supports a maximum of 50 tags per resource.</p>
1361
- * </note>
1362
- */
1363
- tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
1364
- tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
1365
- tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
1366
- /**
1367
- * <p>Records a <code>WorkflowExecutionTerminated</code> event and forces closure of the
1368
- * workflow execution identified by the given domain, runId, and workflowId. The child policy,
1369
- * registered with the workflow type or specified when starting this execution, is applied to any
1370
- * open child workflow executions of this workflow execution.</p>
1371
- *
1372
- * <important>
1373
- * <p>If the identified workflow execution was in progress, it is terminated
1374
- * immediately.</p>
1375
- * </important>
1376
- *
1377
- * <note>
1378
- * <p>If a runId isn't specified, then the <code>WorkflowExecutionTerminated</code> event
1379
- * is recorded in the history of the current open workflow with the matching workflowId in the
1380
- * domain.</p>
1381
- * </note>
1382
- *
1383
- * <note>
1384
- * <p>You should consider using <a>RequestCancelWorkflowExecution</a> action
1385
- * instead because it allows the workflow to gracefully close while <a>TerminateWorkflowExecution</a> doesn't.</p>
1386
- * </note>
1387
- *
1388
- * <p>
1389
- * <b>Access Control</b>
1390
- * </p>
1391
- * <p>You can use IAM policies to control this action's access to Amazon SWF resources as
1392
- * follows:</p>
1393
- * <ul>
1394
- * <li>
1395
- * <p>Use a <code>Resource</code> element with the domain name to limit the action to
1396
- * only specified domains.</p>
1397
- * </li>
1398
- * <li>
1399
- * <p>Use an <code>Action</code> element to allow or deny permission to call this
1400
- * action.</p>
1401
- * </li>
1402
- * <li>
1403
- * <p>You cannot use an IAM policy to constrain this action's parameters.</p>
1404
- * </li>
1405
- * </ul>
1406
- * <p>If the caller doesn't have sufficient permissions to invoke the action, or the
1407
- * parameter values fall outside the specified constraints, the action fails. The associated
1408
- * event attribute's <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>.
1409
- * For details and example IAM policies, see <a href="https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html">Using IAM to Manage Access to Amazon SWF
1410
- * Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>
1411
- */
1412
- terminateWorkflowExecution(args: TerminateWorkflowExecutionCommandInput, options?: __HttpHandlerOptions): Promise<TerminateWorkflowExecutionCommandOutput>;
1413
- terminateWorkflowExecution(args: TerminateWorkflowExecutionCommandInput, cb: (err: any, data?: TerminateWorkflowExecutionCommandOutput) => void): void;
1414
- terminateWorkflowExecution(args: TerminateWorkflowExecutionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TerminateWorkflowExecutionCommandOutput) => void): void;
1415
- /**
1416
- * <p>Undeprecates a previously deprecated <i>activity type</i>. After an activity type has
1417
- * been undeprecated, you can create new tasks of that activity type.</p>
1418
- * <note>
1419
- * <p>This operation is eventually consistent. The results are best effort and may not
1420
- * exactly reflect recent updates and changes.</p>
1421
- * </note>
1422
- * <p>
1423
- * <b>Access Control</b>
1424
- * </p>
1425
- * <p>You can use IAM policies to control this action's access to Amazon SWF resources as
1426
- * follows:</p>
1427
- * <ul>
1428
- * <li>
1429
- * <p>Use a <code>Resource</code> element with the domain name to limit the action to
1430
- * only specified domains.</p>
1431
- * </li>
1432
- * <li>
1433
- * <p>Use an <code>Action</code> element to allow or deny permission to call this
1434
- * action.</p>
1435
- * </li>
1436
- * <li>
1437
- * <p>Constrain the following parameters by using a <code>Condition</code> element with
1438
- * the appropriate keys.</p>
1439
- * <ul>
1440
- * <li>
1441
- * <p>
1442
- * <code>activityType.name</code>: String constraint. The key is
1443
- * <code>swf:activityType.name</code>.</p>
1444
- * </li>
1445
- * <li>
1446
- * <p>
1447
- * <code>activityType.version</code>: String constraint. The key is
1448
- * <code>swf:activityType.version</code>.</p>
1449
- * </li>
1450
- * </ul>
1451
- * </li>
1452
- * </ul>
1453
- * <p>If the caller doesn't have sufficient permissions to invoke the action, or the
1454
- * parameter values fall outside the specified constraints, the action fails. The associated
1455
- * event attribute's <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>.
1456
- * For details and example IAM policies, see <a href="https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html">Using IAM to Manage Access to Amazon SWF
1457
- * Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>
1458
- */
1459
- undeprecateActivityType(args: UndeprecateActivityTypeCommandInput, options?: __HttpHandlerOptions): Promise<UndeprecateActivityTypeCommandOutput>;
1460
- undeprecateActivityType(args: UndeprecateActivityTypeCommandInput, cb: (err: any, data?: UndeprecateActivityTypeCommandOutput) => void): void;
1461
- undeprecateActivityType(args: UndeprecateActivityTypeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UndeprecateActivityTypeCommandOutput) => void): void;
1462
- /**
1463
- * <p>Undeprecates a previously deprecated domain. After a domain has been undeprecated it can be used
1464
- * to create new workflow executions or register new types.</p>
1465
- * <note>
1466
- * <p>This operation is eventually consistent. The results are best effort and may not
1467
- * exactly reflect recent updates and changes.</p>
1468
- * </note>
1469
- * <p>
1470
- * <b>Access Control</b>
1471
- * </p>
1472
- * <p>You can use IAM policies to control this action's access to Amazon SWF resources as
1473
- * follows:</p>
1474
- * <ul>
1475
- * <li>
1476
- * <p>Use a <code>Resource</code> element with the domain name to limit the action to
1477
- * only specified domains.</p>
1478
- * </li>
1479
- * <li>
1480
- * <p>Use an <code>Action</code> element to allow or deny permission to call this
1481
- * action.</p>
1482
- * </li>
1483
- * <li>
1484
- * <p>You cannot use an IAM policy to constrain this action's parameters.</p>
1485
- * </li>
1486
- * </ul>
1487
- * <p>If the caller doesn't have sufficient permissions to invoke the action, or the
1488
- * parameter values fall outside the specified constraints, the action fails. The associated
1489
- * event attribute's <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>.
1490
- * For details and example IAM policies, see <a href="https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html">Using IAM to Manage Access to Amazon SWF
1491
- * Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>
1492
- */
1493
- undeprecateDomain(args: UndeprecateDomainCommandInput, options?: __HttpHandlerOptions): Promise<UndeprecateDomainCommandOutput>;
1494
- undeprecateDomain(args: UndeprecateDomainCommandInput, cb: (err: any, data?: UndeprecateDomainCommandOutput) => void): void;
1495
- undeprecateDomain(args: UndeprecateDomainCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UndeprecateDomainCommandOutput) => void): void;
1496
- /**
1497
- * <p>Undeprecates a previously deprecated <i>workflow type</i>. After a workflow type has
1498
- * been undeprecated, you can create new executions of that type. </p>
1499
- * <note>
1500
- * <p>This operation is eventually consistent. The results are best effort and may not
1501
- * exactly reflect recent updates and changes.</p>
1502
- * </note>
1503
- * <p>
1504
- * <b>Access Control</b>
1505
- * </p>
1506
- * <p>You can use IAM policies to control this action's access to Amazon SWF resources as
1507
- * follows:</p>
1508
- * <ul>
1509
- * <li>
1510
- * <p>Use a <code>Resource</code> element with the domain name to limit the action to
1511
- * only specified domains.</p>
1512
- * </li>
1513
- * <li>
1514
- * <p>Use an <code>Action</code> element to allow or deny permission to call this
1515
- * action.</p>
1516
- * </li>
1517
- * <li>
1518
- * <p>Constrain the following parameters by using a <code>Condition</code> element with
1519
- * the appropriate keys.</p>
1520
- * <ul>
1521
- * <li>
1522
- * <p>
1523
- * <code>workflowType.name</code>: String constraint. The key is
1524
- * <code>swf:workflowType.name</code>.</p>
1525
- * </li>
1526
- * <li>
1527
- * <p>
1528
- * <code>workflowType.version</code>: String constraint. The key is
1529
- * <code>swf:workflowType.version</code>.</p>
1530
- * </li>
1531
- * </ul>
1532
- * </li>
1533
- * </ul>
1534
- * <p>If the caller doesn't have sufficient permissions to invoke the action, or the
1535
- * parameter values fall outside the specified constraints, the action fails. The associated
1536
- * event attribute's <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>.
1537
- * For details and example IAM policies, see <a href="https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html">Using IAM to Manage Access to Amazon SWF
1538
- * Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>
1539
- */
1540
- undeprecateWorkflowType(args: UndeprecateWorkflowTypeCommandInput, options?: __HttpHandlerOptions): Promise<UndeprecateWorkflowTypeCommandOutput>;
1541
- undeprecateWorkflowType(args: UndeprecateWorkflowTypeCommandInput, cb: (err: any, data?: UndeprecateWorkflowTypeCommandOutput) => void): void;
1542
- undeprecateWorkflowType(args: UndeprecateWorkflowTypeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UndeprecateWorkflowTypeCommandOutput) => void): void;
1543
- /**
1544
- * <p>Remove a tag from a Amazon SWF domain.</p>
1545
- */
1546
- untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
1547
- untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
1548
- untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
1549
- }
1
+ import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
2
+ import {
3
+ CountClosedWorkflowExecutionsCommandInput,
4
+ CountClosedWorkflowExecutionsCommandOutput,
5
+ } from "./commands/CountClosedWorkflowExecutionsCommand";
6
+ import {
7
+ CountOpenWorkflowExecutionsCommandInput,
8
+ CountOpenWorkflowExecutionsCommandOutput,
9
+ } from "./commands/CountOpenWorkflowExecutionsCommand";
10
+ import {
11
+ CountPendingActivityTasksCommandInput,
12
+ CountPendingActivityTasksCommandOutput,
13
+ } from "./commands/CountPendingActivityTasksCommand";
14
+ import {
15
+ CountPendingDecisionTasksCommandInput,
16
+ CountPendingDecisionTasksCommandOutput,
17
+ } from "./commands/CountPendingDecisionTasksCommand";
18
+ import {
19
+ DeprecateActivityTypeCommandInput,
20
+ DeprecateActivityTypeCommandOutput,
21
+ } from "./commands/DeprecateActivityTypeCommand";
22
+ import {
23
+ DeprecateDomainCommandInput,
24
+ DeprecateDomainCommandOutput,
25
+ } from "./commands/DeprecateDomainCommand";
26
+ import {
27
+ DeprecateWorkflowTypeCommandInput,
28
+ DeprecateWorkflowTypeCommandOutput,
29
+ } from "./commands/DeprecateWorkflowTypeCommand";
30
+ import {
31
+ DescribeActivityTypeCommandInput,
32
+ DescribeActivityTypeCommandOutput,
33
+ } from "./commands/DescribeActivityTypeCommand";
34
+ import {
35
+ DescribeDomainCommandInput,
36
+ DescribeDomainCommandOutput,
37
+ } from "./commands/DescribeDomainCommand";
38
+ import {
39
+ DescribeWorkflowExecutionCommandInput,
40
+ DescribeWorkflowExecutionCommandOutput,
41
+ } from "./commands/DescribeWorkflowExecutionCommand";
42
+ import {
43
+ DescribeWorkflowTypeCommandInput,
44
+ DescribeWorkflowTypeCommandOutput,
45
+ } from "./commands/DescribeWorkflowTypeCommand";
46
+ import {
47
+ GetWorkflowExecutionHistoryCommandInput,
48
+ GetWorkflowExecutionHistoryCommandOutput,
49
+ } from "./commands/GetWorkflowExecutionHistoryCommand";
50
+ import {
51
+ ListActivityTypesCommandInput,
52
+ ListActivityTypesCommandOutput,
53
+ } from "./commands/ListActivityTypesCommand";
54
+ import {
55
+ ListClosedWorkflowExecutionsCommandInput,
56
+ ListClosedWorkflowExecutionsCommandOutput,
57
+ } from "./commands/ListClosedWorkflowExecutionsCommand";
58
+ import {
59
+ ListDomainsCommandInput,
60
+ ListDomainsCommandOutput,
61
+ } from "./commands/ListDomainsCommand";
62
+ import {
63
+ ListOpenWorkflowExecutionsCommandInput,
64
+ ListOpenWorkflowExecutionsCommandOutput,
65
+ } from "./commands/ListOpenWorkflowExecutionsCommand";
66
+ import {
67
+ ListTagsForResourceCommandInput,
68
+ ListTagsForResourceCommandOutput,
69
+ } from "./commands/ListTagsForResourceCommand";
70
+ import {
71
+ ListWorkflowTypesCommandInput,
72
+ ListWorkflowTypesCommandOutput,
73
+ } from "./commands/ListWorkflowTypesCommand";
74
+ import {
75
+ PollForActivityTaskCommandInput,
76
+ PollForActivityTaskCommandOutput,
77
+ } from "./commands/PollForActivityTaskCommand";
78
+ import {
79
+ PollForDecisionTaskCommandInput,
80
+ PollForDecisionTaskCommandOutput,
81
+ } from "./commands/PollForDecisionTaskCommand";
82
+ import {
83
+ RecordActivityTaskHeartbeatCommandInput,
84
+ RecordActivityTaskHeartbeatCommandOutput,
85
+ } from "./commands/RecordActivityTaskHeartbeatCommand";
86
+ import {
87
+ RegisterActivityTypeCommandInput,
88
+ RegisterActivityTypeCommandOutput,
89
+ } from "./commands/RegisterActivityTypeCommand";
90
+ import {
91
+ RegisterDomainCommandInput,
92
+ RegisterDomainCommandOutput,
93
+ } from "./commands/RegisterDomainCommand";
94
+ import {
95
+ RegisterWorkflowTypeCommandInput,
96
+ RegisterWorkflowTypeCommandOutput,
97
+ } from "./commands/RegisterWorkflowTypeCommand";
98
+ import {
99
+ RequestCancelWorkflowExecutionCommandInput,
100
+ RequestCancelWorkflowExecutionCommandOutput,
101
+ } from "./commands/RequestCancelWorkflowExecutionCommand";
102
+ import {
103
+ RespondActivityTaskCanceledCommandInput,
104
+ RespondActivityTaskCanceledCommandOutput,
105
+ } from "./commands/RespondActivityTaskCanceledCommand";
106
+ import {
107
+ RespondActivityTaskCompletedCommandInput,
108
+ RespondActivityTaskCompletedCommandOutput,
109
+ } from "./commands/RespondActivityTaskCompletedCommand";
110
+ import {
111
+ RespondActivityTaskFailedCommandInput,
112
+ RespondActivityTaskFailedCommandOutput,
113
+ } from "./commands/RespondActivityTaskFailedCommand";
114
+ import {
115
+ RespondDecisionTaskCompletedCommandInput,
116
+ RespondDecisionTaskCompletedCommandOutput,
117
+ } from "./commands/RespondDecisionTaskCompletedCommand";
118
+ import {
119
+ SignalWorkflowExecutionCommandInput,
120
+ SignalWorkflowExecutionCommandOutput,
121
+ } from "./commands/SignalWorkflowExecutionCommand";
122
+ import {
123
+ StartWorkflowExecutionCommandInput,
124
+ StartWorkflowExecutionCommandOutput,
125
+ } from "./commands/StartWorkflowExecutionCommand";
126
+ import {
127
+ TagResourceCommandInput,
128
+ TagResourceCommandOutput,
129
+ } from "./commands/TagResourceCommand";
130
+ import {
131
+ TerminateWorkflowExecutionCommandInput,
132
+ TerminateWorkflowExecutionCommandOutput,
133
+ } from "./commands/TerminateWorkflowExecutionCommand";
134
+ import {
135
+ UndeprecateActivityTypeCommandInput,
136
+ UndeprecateActivityTypeCommandOutput,
137
+ } from "./commands/UndeprecateActivityTypeCommand";
138
+ import {
139
+ UndeprecateDomainCommandInput,
140
+ UndeprecateDomainCommandOutput,
141
+ } from "./commands/UndeprecateDomainCommand";
142
+ import {
143
+ UndeprecateWorkflowTypeCommandInput,
144
+ UndeprecateWorkflowTypeCommandOutput,
145
+ } from "./commands/UndeprecateWorkflowTypeCommand";
146
+ import {
147
+ UntagResourceCommandInput,
148
+ UntagResourceCommandOutput,
149
+ } from "./commands/UntagResourceCommand";
150
+ import { SWFClient } from "./SWFClient";
151
+ export declare class SWF extends SWFClient {
152
+ countClosedWorkflowExecutions(
153
+ args: CountClosedWorkflowExecutionsCommandInput,
154
+ options?: __HttpHandlerOptions
155
+ ): Promise<CountClosedWorkflowExecutionsCommandOutput>;
156
+ countClosedWorkflowExecutions(
157
+ args: CountClosedWorkflowExecutionsCommandInput,
158
+ cb: (err: any, data?: CountClosedWorkflowExecutionsCommandOutput) => void
159
+ ): void;
160
+ countClosedWorkflowExecutions(
161
+ args: CountClosedWorkflowExecutionsCommandInput,
162
+ options: __HttpHandlerOptions,
163
+ cb: (err: any, data?: CountClosedWorkflowExecutionsCommandOutput) => void
164
+ ): void;
165
+ countOpenWorkflowExecutions(
166
+ args: CountOpenWorkflowExecutionsCommandInput,
167
+ options?: __HttpHandlerOptions
168
+ ): Promise<CountOpenWorkflowExecutionsCommandOutput>;
169
+ countOpenWorkflowExecutions(
170
+ args: CountOpenWorkflowExecutionsCommandInput,
171
+ cb: (err: any, data?: CountOpenWorkflowExecutionsCommandOutput) => void
172
+ ): void;
173
+ countOpenWorkflowExecutions(
174
+ args: CountOpenWorkflowExecutionsCommandInput,
175
+ options: __HttpHandlerOptions,
176
+ cb: (err: any, data?: CountOpenWorkflowExecutionsCommandOutput) => void
177
+ ): void;
178
+ countPendingActivityTasks(
179
+ args: CountPendingActivityTasksCommandInput,
180
+ options?: __HttpHandlerOptions
181
+ ): Promise<CountPendingActivityTasksCommandOutput>;
182
+ countPendingActivityTasks(
183
+ args: CountPendingActivityTasksCommandInput,
184
+ cb: (err: any, data?: CountPendingActivityTasksCommandOutput) => void
185
+ ): void;
186
+ countPendingActivityTasks(
187
+ args: CountPendingActivityTasksCommandInput,
188
+ options: __HttpHandlerOptions,
189
+ cb: (err: any, data?: CountPendingActivityTasksCommandOutput) => void
190
+ ): void;
191
+ countPendingDecisionTasks(
192
+ args: CountPendingDecisionTasksCommandInput,
193
+ options?: __HttpHandlerOptions
194
+ ): Promise<CountPendingDecisionTasksCommandOutput>;
195
+ countPendingDecisionTasks(
196
+ args: CountPendingDecisionTasksCommandInput,
197
+ cb: (err: any, data?: CountPendingDecisionTasksCommandOutput) => void
198
+ ): void;
199
+ countPendingDecisionTasks(
200
+ args: CountPendingDecisionTasksCommandInput,
201
+ options: __HttpHandlerOptions,
202
+ cb: (err: any, data?: CountPendingDecisionTasksCommandOutput) => void
203
+ ): void;
204
+ deprecateActivityType(
205
+ args: DeprecateActivityTypeCommandInput,
206
+ options?: __HttpHandlerOptions
207
+ ): Promise<DeprecateActivityTypeCommandOutput>;
208
+ deprecateActivityType(
209
+ args: DeprecateActivityTypeCommandInput,
210
+ cb: (err: any, data?: DeprecateActivityTypeCommandOutput) => void
211
+ ): void;
212
+ deprecateActivityType(
213
+ args: DeprecateActivityTypeCommandInput,
214
+ options: __HttpHandlerOptions,
215
+ cb: (err: any, data?: DeprecateActivityTypeCommandOutput) => void
216
+ ): void;
217
+ deprecateDomain(
218
+ args: DeprecateDomainCommandInput,
219
+ options?: __HttpHandlerOptions
220
+ ): Promise<DeprecateDomainCommandOutput>;
221
+ deprecateDomain(
222
+ args: DeprecateDomainCommandInput,
223
+ cb: (err: any, data?: DeprecateDomainCommandOutput) => void
224
+ ): void;
225
+ deprecateDomain(
226
+ args: DeprecateDomainCommandInput,
227
+ options: __HttpHandlerOptions,
228
+ cb: (err: any, data?: DeprecateDomainCommandOutput) => void
229
+ ): void;
230
+ deprecateWorkflowType(
231
+ args: DeprecateWorkflowTypeCommandInput,
232
+ options?: __HttpHandlerOptions
233
+ ): Promise<DeprecateWorkflowTypeCommandOutput>;
234
+ deprecateWorkflowType(
235
+ args: DeprecateWorkflowTypeCommandInput,
236
+ cb: (err: any, data?: DeprecateWorkflowTypeCommandOutput) => void
237
+ ): void;
238
+ deprecateWorkflowType(
239
+ args: DeprecateWorkflowTypeCommandInput,
240
+ options: __HttpHandlerOptions,
241
+ cb: (err: any, data?: DeprecateWorkflowTypeCommandOutput) => void
242
+ ): void;
243
+ describeActivityType(
244
+ args: DescribeActivityTypeCommandInput,
245
+ options?: __HttpHandlerOptions
246
+ ): Promise<DescribeActivityTypeCommandOutput>;
247
+ describeActivityType(
248
+ args: DescribeActivityTypeCommandInput,
249
+ cb: (err: any, data?: DescribeActivityTypeCommandOutput) => void
250
+ ): void;
251
+ describeActivityType(
252
+ args: DescribeActivityTypeCommandInput,
253
+ options: __HttpHandlerOptions,
254
+ cb: (err: any, data?: DescribeActivityTypeCommandOutput) => void
255
+ ): void;
256
+ describeDomain(
257
+ args: DescribeDomainCommandInput,
258
+ options?: __HttpHandlerOptions
259
+ ): Promise<DescribeDomainCommandOutput>;
260
+ describeDomain(
261
+ args: DescribeDomainCommandInput,
262
+ cb: (err: any, data?: DescribeDomainCommandOutput) => void
263
+ ): void;
264
+ describeDomain(
265
+ args: DescribeDomainCommandInput,
266
+ options: __HttpHandlerOptions,
267
+ cb: (err: any, data?: DescribeDomainCommandOutput) => void
268
+ ): void;
269
+ describeWorkflowExecution(
270
+ args: DescribeWorkflowExecutionCommandInput,
271
+ options?: __HttpHandlerOptions
272
+ ): Promise<DescribeWorkflowExecutionCommandOutput>;
273
+ describeWorkflowExecution(
274
+ args: DescribeWorkflowExecutionCommandInput,
275
+ cb: (err: any, data?: DescribeWorkflowExecutionCommandOutput) => void
276
+ ): void;
277
+ describeWorkflowExecution(
278
+ args: DescribeWorkflowExecutionCommandInput,
279
+ options: __HttpHandlerOptions,
280
+ cb: (err: any, data?: DescribeWorkflowExecutionCommandOutput) => void
281
+ ): void;
282
+ describeWorkflowType(
283
+ args: DescribeWorkflowTypeCommandInput,
284
+ options?: __HttpHandlerOptions
285
+ ): Promise<DescribeWorkflowTypeCommandOutput>;
286
+ describeWorkflowType(
287
+ args: DescribeWorkflowTypeCommandInput,
288
+ cb: (err: any, data?: DescribeWorkflowTypeCommandOutput) => void
289
+ ): void;
290
+ describeWorkflowType(
291
+ args: DescribeWorkflowTypeCommandInput,
292
+ options: __HttpHandlerOptions,
293
+ cb: (err: any, data?: DescribeWorkflowTypeCommandOutput) => void
294
+ ): void;
295
+ getWorkflowExecutionHistory(
296
+ args: GetWorkflowExecutionHistoryCommandInput,
297
+ options?: __HttpHandlerOptions
298
+ ): Promise<GetWorkflowExecutionHistoryCommandOutput>;
299
+ getWorkflowExecutionHistory(
300
+ args: GetWorkflowExecutionHistoryCommandInput,
301
+ cb: (err: any, data?: GetWorkflowExecutionHistoryCommandOutput) => void
302
+ ): void;
303
+ getWorkflowExecutionHistory(
304
+ args: GetWorkflowExecutionHistoryCommandInput,
305
+ options: __HttpHandlerOptions,
306
+ cb: (err: any, data?: GetWorkflowExecutionHistoryCommandOutput) => void
307
+ ): void;
308
+ listActivityTypes(
309
+ args: ListActivityTypesCommandInput,
310
+ options?: __HttpHandlerOptions
311
+ ): Promise<ListActivityTypesCommandOutput>;
312
+ listActivityTypes(
313
+ args: ListActivityTypesCommandInput,
314
+ cb: (err: any, data?: ListActivityTypesCommandOutput) => void
315
+ ): void;
316
+ listActivityTypes(
317
+ args: ListActivityTypesCommandInput,
318
+ options: __HttpHandlerOptions,
319
+ cb: (err: any, data?: ListActivityTypesCommandOutput) => void
320
+ ): void;
321
+ listClosedWorkflowExecutions(
322
+ args: ListClosedWorkflowExecutionsCommandInput,
323
+ options?: __HttpHandlerOptions
324
+ ): Promise<ListClosedWorkflowExecutionsCommandOutput>;
325
+ listClosedWorkflowExecutions(
326
+ args: ListClosedWorkflowExecutionsCommandInput,
327
+ cb: (err: any, data?: ListClosedWorkflowExecutionsCommandOutput) => void
328
+ ): void;
329
+ listClosedWorkflowExecutions(
330
+ args: ListClosedWorkflowExecutionsCommandInput,
331
+ options: __HttpHandlerOptions,
332
+ cb: (err: any, data?: ListClosedWorkflowExecutionsCommandOutput) => void
333
+ ): void;
334
+ listDomains(
335
+ args: ListDomainsCommandInput,
336
+ options?: __HttpHandlerOptions
337
+ ): Promise<ListDomainsCommandOutput>;
338
+ listDomains(
339
+ args: ListDomainsCommandInput,
340
+ cb: (err: any, data?: ListDomainsCommandOutput) => void
341
+ ): void;
342
+ listDomains(
343
+ args: ListDomainsCommandInput,
344
+ options: __HttpHandlerOptions,
345
+ cb: (err: any, data?: ListDomainsCommandOutput) => void
346
+ ): void;
347
+ listOpenWorkflowExecutions(
348
+ args: ListOpenWorkflowExecutionsCommandInput,
349
+ options?: __HttpHandlerOptions
350
+ ): Promise<ListOpenWorkflowExecutionsCommandOutput>;
351
+ listOpenWorkflowExecutions(
352
+ args: ListOpenWorkflowExecutionsCommandInput,
353
+ cb: (err: any, data?: ListOpenWorkflowExecutionsCommandOutput) => void
354
+ ): void;
355
+ listOpenWorkflowExecutions(
356
+ args: ListOpenWorkflowExecutionsCommandInput,
357
+ options: __HttpHandlerOptions,
358
+ cb: (err: any, data?: ListOpenWorkflowExecutionsCommandOutput) => void
359
+ ): void;
360
+ listTagsForResource(
361
+ args: ListTagsForResourceCommandInput,
362
+ options?: __HttpHandlerOptions
363
+ ): Promise<ListTagsForResourceCommandOutput>;
364
+ listTagsForResource(
365
+ args: ListTagsForResourceCommandInput,
366
+ cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
367
+ ): void;
368
+ listTagsForResource(
369
+ args: ListTagsForResourceCommandInput,
370
+ options: __HttpHandlerOptions,
371
+ cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
372
+ ): void;
373
+ listWorkflowTypes(
374
+ args: ListWorkflowTypesCommandInput,
375
+ options?: __HttpHandlerOptions
376
+ ): Promise<ListWorkflowTypesCommandOutput>;
377
+ listWorkflowTypes(
378
+ args: ListWorkflowTypesCommandInput,
379
+ cb: (err: any, data?: ListWorkflowTypesCommandOutput) => void
380
+ ): void;
381
+ listWorkflowTypes(
382
+ args: ListWorkflowTypesCommandInput,
383
+ options: __HttpHandlerOptions,
384
+ cb: (err: any, data?: ListWorkflowTypesCommandOutput) => void
385
+ ): void;
386
+ pollForActivityTask(
387
+ args: PollForActivityTaskCommandInput,
388
+ options?: __HttpHandlerOptions
389
+ ): Promise<PollForActivityTaskCommandOutput>;
390
+ pollForActivityTask(
391
+ args: PollForActivityTaskCommandInput,
392
+ cb: (err: any, data?: PollForActivityTaskCommandOutput) => void
393
+ ): void;
394
+ pollForActivityTask(
395
+ args: PollForActivityTaskCommandInput,
396
+ options: __HttpHandlerOptions,
397
+ cb: (err: any, data?: PollForActivityTaskCommandOutput) => void
398
+ ): void;
399
+ pollForDecisionTask(
400
+ args: PollForDecisionTaskCommandInput,
401
+ options?: __HttpHandlerOptions
402
+ ): Promise<PollForDecisionTaskCommandOutput>;
403
+ pollForDecisionTask(
404
+ args: PollForDecisionTaskCommandInput,
405
+ cb: (err: any, data?: PollForDecisionTaskCommandOutput) => void
406
+ ): void;
407
+ pollForDecisionTask(
408
+ args: PollForDecisionTaskCommandInput,
409
+ options: __HttpHandlerOptions,
410
+ cb: (err: any, data?: PollForDecisionTaskCommandOutput) => void
411
+ ): void;
412
+ recordActivityTaskHeartbeat(
413
+ args: RecordActivityTaskHeartbeatCommandInput,
414
+ options?: __HttpHandlerOptions
415
+ ): Promise<RecordActivityTaskHeartbeatCommandOutput>;
416
+ recordActivityTaskHeartbeat(
417
+ args: RecordActivityTaskHeartbeatCommandInput,
418
+ cb: (err: any, data?: RecordActivityTaskHeartbeatCommandOutput) => void
419
+ ): void;
420
+ recordActivityTaskHeartbeat(
421
+ args: RecordActivityTaskHeartbeatCommandInput,
422
+ options: __HttpHandlerOptions,
423
+ cb: (err: any, data?: RecordActivityTaskHeartbeatCommandOutput) => void
424
+ ): void;
425
+ registerActivityType(
426
+ args: RegisterActivityTypeCommandInput,
427
+ options?: __HttpHandlerOptions
428
+ ): Promise<RegisterActivityTypeCommandOutput>;
429
+ registerActivityType(
430
+ args: RegisterActivityTypeCommandInput,
431
+ cb: (err: any, data?: RegisterActivityTypeCommandOutput) => void
432
+ ): void;
433
+ registerActivityType(
434
+ args: RegisterActivityTypeCommandInput,
435
+ options: __HttpHandlerOptions,
436
+ cb: (err: any, data?: RegisterActivityTypeCommandOutput) => void
437
+ ): void;
438
+ registerDomain(
439
+ args: RegisterDomainCommandInput,
440
+ options?: __HttpHandlerOptions
441
+ ): Promise<RegisterDomainCommandOutput>;
442
+ registerDomain(
443
+ args: RegisterDomainCommandInput,
444
+ cb: (err: any, data?: RegisterDomainCommandOutput) => void
445
+ ): void;
446
+ registerDomain(
447
+ args: RegisterDomainCommandInput,
448
+ options: __HttpHandlerOptions,
449
+ cb: (err: any, data?: RegisterDomainCommandOutput) => void
450
+ ): void;
451
+ registerWorkflowType(
452
+ args: RegisterWorkflowTypeCommandInput,
453
+ options?: __HttpHandlerOptions
454
+ ): Promise<RegisterWorkflowTypeCommandOutput>;
455
+ registerWorkflowType(
456
+ args: RegisterWorkflowTypeCommandInput,
457
+ cb: (err: any, data?: RegisterWorkflowTypeCommandOutput) => void
458
+ ): void;
459
+ registerWorkflowType(
460
+ args: RegisterWorkflowTypeCommandInput,
461
+ options: __HttpHandlerOptions,
462
+ cb: (err: any, data?: RegisterWorkflowTypeCommandOutput) => void
463
+ ): void;
464
+ requestCancelWorkflowExecution(
465
+ args: RequestCancelWorkflowExecutionCommandInput,
466
+ options?: __HttpHandlerOptions
467
+ ): Promise<RequestCancelWorkflowExecutionCommandOutput>;
468
+ requestCancelWorkflowExecution(
469
+ args: RequestCancelWorkflowExecutionCommandInput,
470
+ cb: (err: any, data?: RequestCancelWorkflowExecutionCommandOutput) => void
471
+ ): void;
472
+ requestCancelWorkflowExecution(
473
+ args: RequestCancelWorkflowExecutionCommandInput,
474
+ options: __HttpHandlerOptions,
475
+ cb: (err: any, data?: RequestCancelWorkflowExecutionCommandOutput) => void
476
+ ): void;
477
+ respondActivityTaskCanceled(
478
+ args: RespondActivityTaskCanceledCommandInput,
479
+ options?: __HttpHandlerOptions
480
+ ): Promise<RespondActivityTaskCanceledCommandOutput>;
481
+ respondActivityTaskCanceled(
482
+ args: RespondActivityTaskCanceledCommandInput,
483
+ cb: (err: any, data?: RespondActivityTaskCanceledCommandOutput) => void
484
+ ): void;
485
+ respondActivityTaskCanceled(
486
+ args: RespondActivityTaskCanceledCommandInput,
487
+ options: __HttpHandlerOptions,
488
+ cb: (err: any, data?: RespondActivityTaskCanceledCommandOutput) => void
489
+ ): void;
490
+ respondActivityTaskCompleted(
491
+ args: RespondActivityTaskCompletedCommandInput,
492
+ options?: __HttpHandlerOptions
493
+ ): Promise<RespondActivityTaskCompletedCommandOutput>;
494
+ respondActivityTaskCompleted(
495
+ args: RespondActivityTaskCompletedCommandInput,
496
+ cb: (err: any, data?: RespondActivityTaskCompletedCommandOutput) => void
497
+ ): void;
498
+ respondActivityTaskCompleted(
499
+ args: RespondActivityTaskCompletedCommandInput,
500
+ options: __HttpHandlerOptions,
501
+ cb: (err: any, data?: RespondActivityTaskCompletedCommandOutput) => void
502
+ ): void;
503
+ respondActivityTaskFailed(
504
+ args: RespondActivityTaskFailedCommandInput,
505
+ options?: __HttpHandlerOptions
506
+ ): Promise<RespondActivityTaskFailedCommandOutput>;
507
+ respondActivityTaskFailed(
508
+ args: RespondActivityTaskFailedCommandInput,
509
+ cb: (err: any, data?: RespondActivityTaskFailedCommandOutput) => void
510
+ ): void;
511
+ respondActivityTaskFailed(
512
+ args: RespondActivityTaskFailedCommandInput,
513
+ options: __HttpHandlerOptions,
514
+ cb: (err: any, data?: RespondActivityTaskFailedCommandOutput) => void
515
+ ): void;
516
+ respondDecisionTaskCompleted(
517
+ args: RespondDecisionTaskCompletedCommandInput,
518
+ options?: __HttpHandlerOptions
519
+ ): Promise<RespondDecisionTaskCompletedCommandOutput>;
520
+ respondDecisionTaskCompleted(
521
+ args: RespondDecisionTaskCompletedCommandInput,
522
+ cb: (err: any, data?: RespondDecisionTaskCompletedCommandOutput) => void
523
+ ): void;
524
+ respondDecisionTaskCompleted(
525
+ args: RespondDecisionTaskCompletedCommandInput,
526
+ options: __HttpHandlerOptions,
527
+ cb: (err: any, data?: RespondDecisionTaskCompletedCommandOutput) => void
528
+ ): void;
529
+ signalWorkflowExecution(
530
+ args: SignalWorkflowExecutionCommandInput,
531
+ options?: __HttpHandlerOptions
532
+ ): Promise<SignalWorkflowExecutionCommandOutput>;
533
+ signalWorkflowExecution(
534
+ args: SignalWorkflowExecutionCommandInput,
535
+ cb: (err: any, data?: SignalWorkflowExecutionCommandOutput) => void
536
+ ): void;
537
+ signalWorkflowExecution(
538
+ args: SignalWorkflowExecutionCommandInput,
539
+ options: __HttpHandlerOptions,
540
+ cb: (err: any, data?: SignalWorkflowExecutionCommandOutput) => void
541
+ ): void;
542
+ startWorkflowExecution(
543
+ args: StartWorkflowExecutionCommandInput,
544
+ options?: __HttpHandlerOptions
545
+ ): Promise<StartWorkflowExecutionCommandOutput>;
546
+ startWorkflowExecution(
547
+ args: StartWorkflowExecutionCommandInput,
548
+ cb: (err: any, data?: StartWorkflowExecutionCommandOutput) => void
549
+ ): void;
550
+ startWorkflowExecution(
551
+ args: StartWorkflowExecutionCommandInput,
552
+ options: __HttpHandlerOptions,
553
+ cb: (err: any, data?: StartWorkflowExecutionCommandOutput) => void
554
+ ): void;
555
+ tagResource(
556
+ args: TagResourceCommandInput,
557
+ options?: __HttpHandlerOptions
558
+ ): Promise<TagResourceCommandOutput>;
559
+ tagResource(
560
+ args: TagResourceCommandInput,
561
+ cb: (err: any, data?: TagResourceCommandOutput) => void
562
+ ): void;
563
+ tagResource(
564
+ args: TagResourceCommandInput,
565
+ options: __HttpHandlerOptions,
566
+ cb: (err: any, data?: TagResourceCommandOutput) => void
567
+ ): void;
568
+ terminateWorkflowExecution(
569
+ args: TerminateWorkflowExecutionCommandInput,
570
+ options?: __HttpHandlerOptions
571
+ ): Promise<TerminateWorkflowExecutionCommandOutput>;
572
+ terminateWorkflowExecution(
573
+ args: TerminateWorkflowExecutionCommandInput,
574
+ cb: (err: any, data?: TerminateWorkflowExecutionCommandOutput) => void
575
+ ): void;
576
+ terminateWorkflowExecution(
577
+ args: TerminateWorkflowExecutionCommandInput,
578
+ options: __HttpHandlerOptions,
579
+ cb: (err: any, data?: TerminateWorkflowExecutionCommandOutput) => void
580
+ ): void;
581
+ undeprecateActivityType(
582
+ args: UndeprecateActivityTypeCommandInput,
583
+ options?: __HttpHandlerOptions
584
+ ): Promise<UndeprecateActivityTypeCommandOutput>;
585
+ undeprecateActivityType(
586
+ args: UndeprecateActivityTypeCommandInput,
587
+ cb: (err: any, data?: UndeprecateActivityTypeCommandOutput) => void
588
+ ): void;
589
+ undeprecateActivityType(
590
+ args: UndeprecateActivityTypeCommandInput,
591
+ options: __HttpHandlerOptions,
592
+ cb: (err: any, data?: UndeprecateActivityTypeCommandOutput) => void
593
+ ): void;
594
+ undeprecateDomain(
595
+ args: UndeprecateDomainCommandInput,
596
+ options?: __HttpHandlerOptions
597
+ ): Promise<UndeprecateDomainCommandOutput>;
598
+ undeprecateDomain(
599
+ args: UndeprecateDomainCommandInput,
600
+ cb: (err: any, data?: UndeprecateDomainCommandOutput) => void
601
+ ): void;
602
+ undeprecateDomain(
603
+ args: UndeprecateDomainCommandInput,
604
+ options: __HttpHandlerOptions,
605
+ cb: (err: any, data?: UndeprecateDomainCommandOutput) => void
606
+ ): void;
607
+ undeprecateWorkflowType(
608
+ args: UndeprecateWorkflowTypeCommandInput,
609
+ options?: __HttpHandlerOptions
610
+ ): Promise<UndeprecateWorkflowTypeCommandOutput>;
611
+ undeprecateWorkflowType(
612
+ args: UndeprecateWorkflowTypeCommandInput,
613
+ cb: (err: any, data?: UndeprecateWorkflowTypeCommandOutput) => void
614
+ ): void;
615
+ undeprecateWorkflowType(
616
+ args: UndeprecateWorkflowTypeCommandInput,
617
+ options: __HttpHandlerOptions,
618
+ cb: (err: any, data?: UndeprecateWorkflowTypeCommandOutput) => void
619
+ ): void;
620
+ untagResource(
621
+ args: UntagResourceCommandInput,
622
+ options?: __HttpHandlerOptions
623
+ ): Promise<UntagResourceCommandOutput>;
624
+ untagResource(
625
+ args: UntagResourceCommandInput,
626
+ cb: (err: any, data?: UntagResourceCommandOutput) => void
627
+ ): void;
628
+ untagResource(
629
+ args: UntagResourceCommandInput,
630
+ options: __HttpHandlerOptions,
631
+ cb: (err: any, data?: UntagResourceCommandOutput) => void
632
+ ): void;
633
+ }