@aws-sdk/client-swf 3.321.1 → 3.326.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 (38) hide show
  1. package/dist-types/commands/CountClosedWorkflowExecutionsCommand.d.ts +7 -0
  2. package/dist-types/commands/CountOpenWorkflowExecutionsCommand.d.ts +7 -0
  3. package/dist-types/commands/CountPendingActivityTasksCommand.d.ts +7 -0
  4. package/dist-types/commands/CountPendingDecisionTasksCommand.d.ts +7 -0
  5. package/dist-types/commands/DeprecateActivityTypeCommand.d.ts +4 -0
  6. package/dist-types/commands/DeprecateDomainCommand.d.ts +4 -0
  7. package/dist-types/commands/DeprecateWorkflowTypeCommand.d.ts +4 -0
  8. package/dist-types/commands/DescribeActivityTypeCommand.d.ts +25 -0
  9. package/dist-types/commands/DescribeDomainCommand.d.ts +14 -0
  10. package/dist-types/commands/DescribeWorkflowExecutionCommand.d.ts +46 -0
  11. package/dist-types/commands/DescribeWorkflowTypeCommand.d.ts +25 -0
  12. package/dist-types/commands/GetWorkflowExecutionHistoryCommand.d.ts +389 -0
  13. package/dist-types/commands/ListActivityTypesCommand.d.ts +18 -0
  14. package/dist-types/commands/ListClosedWorkflowExecutionsCommand.d.ts +30 -0
  15. package/dist-types/commands/ListDomainsCommand.d.ts +14 -0
  16. package/dist-types/commands/ListOpenWorkflowExecutionsCommand.d.ts +30 -0
  17. package/dist-types/commands/ListTagsForResourceCommand.d.ts +11 -0
  18. package/dist-types/commands/ListWorkflowTypesCommand.d.ts +18 -0
  19. package/dist-types/commands/PollForActivityTaskCommand.d.ts +17 -0
  20. package/dist-types/commands/PollForDecisionTaskCommand.d.ts +394 -0
  21. package/dist-types/commands/RecordActivityTaskHeartbeatCommand.d.ts +6 -0
  22. package/dist-types/commands/RegisterActivityTypeCommand.d.ts +4 -0
  23. package/dist-types/commands/RegisterDomainCommand.d.ts +4 -0
  24. package/dist-types/commands/RegisterWorkflowTypeCommand.d.ts +4 -0
  25. package/dist-types/commands/RequestCancelWorkflowExecutionCommand.d.ts +4 -0
  26. package/dist-types/commands/RespondActivityTaskCanceledCommand.d.ts +4 -0
  27. package/dist-types/commands/RespondActivityTaskCompletedCommand.d.ts +4 -0
  28. package/dist-types/commands/RespondActivityTaskFailedCommand.d.ts +4 -0
  29. package/dist-types/commands/RespondDecisionTaskCompletedCommand.d.ts +4 -0
  30. package/dist-types/commands/SignalWorkflowExecutionCommand.d.ts +4 -0
  31. package/dist-types/commands/StartWorkflowExecutionCommand.d.ts +6 -0
  32. package/dist-types/commands/TagResourceCommand.d.ts +4 -0
  33. package/dist-types/commands/TerminateWorkflowExecutionCommand.d.ts +4 -0
  34. package/dist-types/commands/UndeprecateActivityTypeCommand.d.ts +4 -0
  35. package/dist-types/commands/UndeprecateDomainCommand.d.ts +4 -0
  36. package/dist-types/commands/UndeprecateWorkflowTypeCommand.d.ts +4 -0
  37. package/dist-types/commands/UntagResourceCommand.d.ts +4 -0
  38. package/package.json +16 -16
@@ -70,6 +70,21 @@ export interface PollForActivityTaskCommandOutput extends ActivityTask, __Metada
70
70
  * };
71
71
  * const command = new PollForActivityTaskCommand(input);
72
72
  * const response = await client.send(command);
73
+ * // { // ActivityTask
74
+ * // taskToken: "STRING_VALUE", // required
75
+ * // activityId: "STRING_VALUE", // required
76
+ * // startedEventId: Number("long"), // required
77
+ * // workflowExecution: { // WorkflowExecution
78
+ * // workflowId: "STRING_VALUE", // required
79
+ * // runId: "STRING_VALUE", // required
80
+ * // },
81
+ * // activityType: { // ActivityType
82
+ * // name: "STRING_VALUE", // required
83
+ * // version: "STRING_VALUE", // required
84
+ * // },
85
+ * // input: "STRING_VALUE",
86
+ * // };
87
+ *
73
88
  * ```
74
89
  *
75
90
  * @param PollForActivityTaskCommandInput - {@link PollForActivityTaskCommandInput}
@@ -87,6 +102,8 @@ export interface PollForActivityTaskCommandOutput extends ActivityTask, __Metada
87
102
  * @throws {@link UnknownResourceFault} (client fault)
88
103
  * <p>Returned when the named resource cannot be found with in the scope of this operation (region or domain). This could happen if the named resource was never created or is no longer available for this operation.</p>
89
104
  *
105
+ * @throws {@link SWFServiceException}
106
+ * <p>Base exception class for all service exceptions from SWF service.</p>
90
107
  *
91
108
  */
92
109
  export declare class PollForActivityTaskCommand extends $Command<PollForActivityTaskCommandInput, PollForActivityTaskCommandOutput, SWFClientResolvedConfig> {
@@ -85,6 +85,398 @@ export interface PollForDecisionTaskCommandOutput extends DecisionTask, __Metada
85
85
  * };
86
86
  * const command = new PollForDecisionTaskCommand(input);
87
87
  * const response = await client.send(command);
88
+ * // { // DecisionTask
89
+ * // taskToken: "STRING_VALUE", // required
90
+ * // startedEventId: Number("long"), // required
91
+ * // workflowExecution: { // WorkflowExecution
92
+ * // workflowId: "STRING_VALUE", // required
93
+ * // runId: "STRING_VALUE", // required
94
+ * // },
95
+ * // workflowType: { // WorkflowType
96
+ * // name: "STRING_VALUE", // required
97
+ * // version: "STRING_VALUE", // required
98
+ * // },
99
+ * // events: [ // HistoryEventList // required
100
+ * // { // HistoryEvent
101
+ * // eventTimestamp: new Date("TIMESTAMP"), // required
102
+ * // eventType: "WorkflowExecutionStarted" || "WorkflowExecutionCancelRequested" || "WorkflowExecutionCompleted" || "CompleteWorkflowExecutionFailed" || "WorkflowExecutionFailed" || "FailWorkflowExecutionFailed" || "WorkflowExecutionTimedOut" || "WorkflowExecutionCanceled" || "CancelWorkflowExecutionFailed" || "WorkflowExecutionContinuedAsNew" || "ContinueAsNewWorkflowExecutionFailed" || "WorkflowExecutionTerminated" || "DecisionTaskScheduled" || "DecisionTaskStarted" || "DecisionTaskCompleted" || "DecisionTaskTimedOut" || "ActivityTaskScheduled" || "ScheduleActivityTaskFailed" || "ActivityTaskStarted" || "ActivityTaskCompleted" || "ActivityTaskFailed" || "ActivityTaskTimedOut" || "ActivityTaskCanceled" || "ActivityTaskCancelRequested" || "RequestCancelActivityTaskFailed" || "WorkflowExecutionSignaled" || "MarkerRecorded" || "RecordMarkerFailed" || "TimerStarted" || "StartTimerFailed" || "TimerFired" || "TimerCanceled" || "CancelTimerFailed" || "StartChildWorkflowExecutionInitiated" || "StartChildWorkflowExecutionFailed" || "ChildWorkflowExecutionStarted" || "ChildWorkflowExecutionCompleted" || "ChildWorkflowExecutionFailed" || "ChildWorkflowExecutionTimedOut" || "ChildWorkflowExecutionCanceled" || "ChildWorkflowExecutionTerminated" || "SignalExternalWorkflowExecutionInitiated" || "SignalExternalWorkflowExecutionFailed" || "ExternalWorkflowExecutionSignaled" || "RequestCancelExternalWorkflowExecutionInitiated" || "RequestCancelExternalWorkflowExecutionFailed" || "ExternalWorkflowExecutionCancelRequested" || "LambdaFunctionScheduled" || "LambdaFunctionStarted" || "LambdaFunctionCompleted" || "LambdaFunctionFailed" || "LambdaFunctionTimedOut" || "ScheduleLambdaFunctionFailed" || "StartLambdaFunctionFailed", // required
103
+ * // eventId: Number("long"), // required
104
+ * // workflowExecutionStartedEventAttributes: { // WorkflowExecutionStartedEventAttributes
105
+ * // input: "STRING_VALUE",
106
+ * // executionStartToCloseTimeout: "STRING_VALUE",
107
+ * // taskStartToCloseTimeout: "STRING_VALUE",
108
+ * // childPolicy: "TERMINATE" || "REQUEST_CANCEL" || "ABANDON", // required
109
+ * // taskList: { // TaskList
110
+ * // name: "STRING_VALUE", // required
111
+ * // },
112
+ * // taskPriority: "STRING_VALUE",
113
+ * // workflowType: {
114
+ * // name: "STRING_VALUE", // required
115
+ * // version: "STRING_VALUE", // required
116
+ * // },
117
+ * // tagList: [ // TagList
118
+ * // "STRING_VALUE",
119
+ * // ],
120
+ * // continuedExecutionRunId: "STRING_VALUE",
121
+ * // parentWorkflowExecution: {
122
+ * // workflowId: "STRING_VALUE", // required
123
+ * // runId: "STRING_VALUE", // required
124
+ * // },
125
+ * // parentInitiatedEventId: Number("long"),
126
+ * // lambdaRole: "STRING_VALUE",
127
+ * // },
128
+ * // workflowExecutionCompletedEventAttributes: { // WorkflowExecutionCompletedEventAttributes
129
+ * // result: "STRING_VALUE",
130
+ * // decisionTaskCompletedEventId: Number("long"), // required
131
+ * // },
132
+ * // completeWorkflowExecutionFailedEventAttributes: { // CompleteWorkflowExecutionFailedEventAttributes
133
+ * // cause: "UNHANDLED_DECISION" || "OPERATION_NOT_PERMITTED", // required
134
+ * // decisionTaskCompletedEventId: Number("long"), // required
135
+ * // },
136
+ * // workflowExecutionFailedEventAttributes: { // WorkflowExecutionFailedEventAttributes
137
+ * // reason: "STRING_VALUE",
138
+ * // details: "STRING_VALUE",
139
+ * // decisionTaskCompletedEventId: Number("long"), // required
140
+ * // },
141
+ * // failWorkflowExecutionFailedEventAttributes: { // FailWorkflowExecutionFailedEventAttributes
142
+ * // cause: "UNHANDLED_DECISION" || "OPERATION_NOT_PERMITTED", // required
143
+ * // decisionTaskCompletedEventId: Number("long"), // required
144
+ * // },
145
+ * // workflowExecutionTimedOutEventAttributes: { // WorkflowExecutionTimedOutEventAttributes
146
+ * // timeoutType: "START_TO_CLOSE", // required
147
+ * // childPolicy: "TERMINATE" || "REQUEST_CANCEL" || "ABANDON", // required
148
+ * // },
149
+ * // workflowExecutionCanceledEventAttributes: { // WorkflowExecutionCanceledEventAttributes
150
+ * // details: "STRING_VALUE",
151
+ * // decisionTaskCompletedEventId: Number("long"), // required
152
+ * // },
153
+ * // cancelWorkflowExecutionFailedEventAttributes: { // CancelWorkflowExecutionFailedEventAttributes
154
+ * // cause: "UNHANDLED_DECISION" || "OPERATION_NOT_PERMITTED", // required
155
+ * // decisionTaskCompletedEventId: Number("long"), // required
156
+ * // },
157
+ * // workflowExecutionContinuedAsNewEventAttributes: { // WorkflowExecutionContinuedAsNewEventAttributes
158
+ * // input: "STRING_VALUE",
159
+ * // decisionTaskCompletedEventId: Number("long"), // required
160
+ * // newExecutionRunId: "STRING_VALUE", // required
161
+ * // executionStartToCloseTimeout: "STRING_VALUE",
162
+ * // taskList: {
163
+ * // name: "STRING_VALUE", // required
164
+ * // },
165
+ * // taskPriority: "STRING_VALUE",
166
+ * // taskStartToCloseTimeout: "STRING_VALUE",
167
+ * // childPolicy: "TERMINATE" || "REQUEST_CANCEL" || "ABANDON", // required
168
+ * // tagList: [
169
+ * // "STRING_VALUE",
170
+ * // ],
171
+ * // workflowType: {
172
+ * // name: "STRING_VALUE", // required
173
+ * // version: "STRING_VALUE", // required
174
+ * // },
175
+ * // lambdaRole: "STRING_VALUE",
176
+ * // },
177
+ * // continueAsNewWorkflowExecutionFailedEventAttributes: { // ContinueAsNewWorkflowExecutionFailedEventAttributes
178
+ * // cause: "UNHANDLED_DECISION" || "WORKFLOW_TYPE_DEPRECATED" || "WORKFLOW_TYPE_DOES_NOT_EXIST" || "DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED" || "DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED" || "DEFAULT_TASK_LIST_UNDEFINED" || "DEFAULT_CHILD_POLICY_UNDEFINED" || "CONTINUE_AS_NEW_WORKFLOW_EXECUTION_RATE_EXCEEDED" || "OPERATION_NOT_PERMITTED", // required
179
+ * // decisionTaskCompletedEventId: Number("long"), // required
180
+ * // },
181
+ * // workflowExecutionTerminatedEventAttributes: { // WorkflowExecutionTerminatedEventAttributes
182
+ * // reason: "STRING_VALUE",
183
+ * // details: "STRING_VALUE",
184
+ * // childPolicy: "TERMINATE" || "REQUEST_CANCEL" || "ABANDON", // required
185
+ * // cause: "CHILD_POLICY_APPLIED" || "EVENT_LIMIT_EXCEEDED" || "OPERATOR_INITIATED",
186
+ * // },
187
+ * // workflowExecutionCancelRequestedEventAttributes: { // WorkflowExecutionCancelRequestedEventAttributes
188
+ * // externalWorkflowExecution: {
189
+ * // workflowId: "STRING_VALUE", // required
190
+ * // runId: "STRING_VALUE", // required
191
+ * // },
192
+ * // externalInitiatedEventId: Number("long"),
193
+ * // cause: "CHILD_POLICY_APPLIED",
194
+ * // },
195
+ * // decisionTaskScheduledEventAttributes: { // DecisionTaskScheduledEventAttributes
196
+ * // taskList: {
197
+ * // name: "STRING_VALUE", // required
198
+ * // },
199
+ * // taskPriority: "STRING_VALUE",
200
+ * // startToCloseTimeout: "STRING_VALUE",
201
+ * // },
202
+ * // decisionTaskStartedEventAttributes: { // DecisionTaskStartedEventAttributes
203
+ * // identity: "STRING_VALUE",
204
+ * // scheduledEventId: Number("long"), // required
205
+ * // },
206
+ * // decisionTaskCompletedEventAttributes: { // DecisionTaskCompletedEventAttributes
207
+ * // executionContext: "STRING_VALUE",
208
+ * // scheduledEventId: Number("long"), // required
209
+ * // startedEventId: Number("long"), // required
210
+ * // },
211
+ * // decisionTaskTimedOutEventAttributes: { // DecisionTaskTimedOutEventAttributes
212
+ * // timeoutType: "START_TO_CLOSE", // required
213
+ * // scheduledEventId: Number("long"), // required
214
+ * // startedEventId: Number("long"), // required
215
+ * // },
216
+ * // activityTaskScheduledEventAttributes: { // ActivityTaskScheduledEventAttributes
217
+ * // activityType: { // ActivityType
218
+ * // name: "STRING_VALUE", // required
219
+ * // version: "STRING_VALUE", // required
220
+ * // },
221
+ * // activityId: "STRING_VALUE", // required
222
+ * // input: "STRING_VALUE",
223
+ * // control: "STRING_VALUE",
224
+ * // scheduleToStartTimeout: "STRING_VALUE",
225
+ * // scheduleToCloseTimeout: "STRING_VALUE",
226
+ * // startToCloseTimeout: "STRING_VALUE",
227
+ * // taskList: {
228
+ * // name: "STRING_VALUE", // required
229
+ * // },
230
+ * // taskPriority: "STRING_VALUE",
231
+ * // decisionTaskCompletedEventId: Number("long"), // required
232
+ * // heartbeatTimeout: "STRING_VALUE",
233
+ * // },
234
+ * // activityTaskStartedEventAttributes: { // ActivityTaskStartedEventAttributes
235
+ * // identity: "STRING_VALUE",
236
+ * // scheduledEventId: Number("long"), // required
237
+ * // },
238
+ * // activityTaskCompletedEventAttributes: { // ActivityTaskCompletedEventAttributes
239
+ * // result: "STRING_VALUE",
240
+ * // scheduledEventId: Number("long"), // required
241
+ * // startedEventId: Number("long"), // required
242
+ * // },
243
+ * // activityTaskFailedEventAttributes: { // ActivityTaskFailedEventAttributes
244
+ * // reason: "STRING_VALUE",
245
+ * // details: "STRING_VALUE",
246
+ * // scheduledEventId: Number("long"), // required
247
+ * // startedEventId: Number("long"), // required
248
+ * // },
249
+ * // activityTaskTimedOutEventAttributes: { // ActivityTaskTimedOutEventAttributes
250
+ * // timeoutType: "START_TO_CLOSE" || "SCHEDULE_TO_START" || "SCHEDULE_TO_CLOSE" || "HEARTBEAT", // required
251
+ * // scheduledEventId: Number("long"), // required
252
+ * // startedEventId: Number("long"), // required
253
+ * // details: "STRING_VALUE",
254
+ * // },
255
+ * // activityTaskCanceledEventAttributes: { // ActivityTaskCanceledEventAttributes
256
+ * // details: "STRING_VALUE",
257
+ * // scheduledEventId: Number("long"), // required
258
+ * // startedEventId: Number("long"), // required
259
+ * // latestCancelRequestedEventId: Number("long"),
260
+ * // },
261
+ * // activityTaskCancelRequestedEventAttributes: { // ActivityTaskCancelRequestedEventAttributes
262
+ * // decisionTaskCompletedEventId: Number("long"), // required
263
+ * // activityId: "STRING_VALUE", // required
264
+ * // },
265
+ * // workflowExecutionSignaledEventAttributes: { // WorkflowExecutionSignaledEventAttributes
266
+ * // signalName: "STRING_VALUE", // required
267
+ * // input: "STRING_VALUE",
268
+ * // externalWorkflowExecution: {
269
+ * // workflowId: "STRING_VALUE", // required
270
+ * // runId: "STRING_VALUE", // required
271
+ * // },
272
+ * // externalInitiatedEventId: Number("long"),
273
+ * // },
274
+ * // markerRecordedEventAttributes: { // MarkerRecordedEventAttributes
275
+ * // markerName: "STRING_VALUE", // required
276
+ * // details: "STRING_VALUE",
277
+ * // decisionTaskCompletedEventId: Number("long"), // required
278
+ * // },
279
+ * // recordMarkerFailedEventAttributes: { // RecordMarkerFailedEventAttributes
280
+ * // markerName: "STRING_VALUE", // required
281
+ * // cause: "OPERATION_NOT_PERMITTED", // required
282
+ * // decisionTaskCompletedEventId: Number("long"), // required
283
+ * // },
284
+ * // timerStartedEventAttributes: { // TimerStartedEventAttributes
285
+ * // timerId: "STRING_VALUE", // required
286
+ * // control: "STRING_VALUE",
287
+ * // startToFireTimeout: "STRING_VALUE", // required
288
+ * // decisionTaskCompletedEventId: Number("long"), // required
289
+ * // },
290
+ * // timerFiredEventAttributes: { // TimerFiredEventAttributes
291
+ * // timerId: "STRING_VALUE", // required
292
+ * // startedEventId: Number("long"), // required
293
+ * // },
294
+ * // timerCanceledEventAttributes: { // TimerCanceledEventAttributes
295
+ * // timerId: "STRING_VALUE", // required
296
+ * // startedEventId: Number("long"), // required
297
+ * // decisionTaskCompletedEventId: Number("long"), // required
298
+ * // },
299
+ * // startChildWorkflowExecutionInitiatedEventAttributes: { // StartChildWorkflowExecutionInitiatedEventAttributes
300
+ * // workflowId: "STRING_VALUE", // required
301
+ * // workflowType: {
302
+ * // name: "STRING_VALUE", // required
303
+ * // version: "STRING_VALUE", // required
304
+ * // },
305
+ * // control: "STRING_VALUE",
306
+ * // input: "STRING_VALUE",
307
+ * // executionStartToCloseTimeout: "STRING_VALUE",
308
+ * // taskList: {
309
+ * // name: "STRING_VALUE", // required
310
+ * // },
311
+ * // taskPriority: "STRING_VALUE",
312
+ * // decisionTaskCompletedEventId: Number("long"), // required
313
+ * // childPolicy: "TERMINATE" || "REQUEST_CANCEL" || "ABANDON", // required
314
+ * // taskStartToCloseTimeout: "STRING_VALUE",
315
+ * // tagList: [
316
+ * // "STRING_VALUE",
317
+ * // ],
318
+ * // lambdaRole: "STRING_VALUE",
319
+ * // },
320
+ * // childWorkflowExecutionStartedEventAttributes: { // ChildWorkflowExecutionStartedEventAttributes
321
+ * // workflowExecution: {
322
+ * // workflowId: "STRING_VALUE", // required
323
+ * // runId: "STRING_VALUE", // required
324
+ * // },
325
+ * // workflowType: {
326
+ * // name: "STRING_VALUE", // required
327
+ * // version: "STRING_VALUE", // required
328
+ * // },
329
+ * // initiatedEventId: Number("long"), // required
330
+ * // },
331
+ * // childWorkflowExecutionCompletedEventAttributes: { // ChildWorkflowExecutionCompletedEventAttributes
332
+ * // workflowExecution: "<WorkflowExecution>", // required
333
+ * // workflowType: "<WorkflowType>", // required
334
+ * // result: "STRING_VALUE",
335
+ * // initiatedEventId: Number("long"), // required
336
+ * // startedEventId: Number("long"), // required
337
+ * // },
338
+ * // childWorkflowExecutionFailedEventAttributes: { // ChildWorkflowExecutionFailedEventAttributes
339
+ * // workflowExecution: "<WorkflowExecution>", // required
340
+ * // workflowType: "<WorkflowType>", // required
341
+ * // reason: "STRING_VALUE",
342
+ * // details: "STRING_VALUE",
343
+ * // initiatedEventId: Number("long"), // required
344
+ * // startedEventId: Number("long"), // required
345
+ * // },
346
+ * // childWorkflowExecutionTimedOutEventAttributes: { // ChildWorkflowExecutionTimedOutEventAttributes
347
+ * // workflowExecution: "<WorkflowExecution>", // required
348
+ * // workflowType: "<WorkflowType>", // required
349
+ * // timeoutType: "START_TO_CLOSE", // required
350
+ * // initiatedEventId: Number("long"), // required
351
+ * // startedEventId: Number("long"), // required
352
+ * // },
353
+ * // childWorkflowExecutionCanceledEventAttributes: { // ChildWorkflowExecutionCanceledEventAttributes
354
+ * // workflowExecution: "<WorkflowExecution>", // required
355
+ * // workflowType: "<WorkflowType>", // required
356
+ * // details: "STRING_VALUE",
357
+ * // initiatedEventId: Number("long"), // required
358
+ * // startedEventId: Number("long"), // required
359
+ * // },
360
+ * // childWorkflowExecutionTerminatedEventAttributes: { // ChildWorkflowExecutionTerminatedEventAttributes
361
+ * // workflowExecution: "<WorkflowExecution>", // required
362
+ * // workflowType: "<WorkflowType>", // required
363
+ * // initiatedEventId: Number("long"), // required
364
+ * // startedEventId: Number("long"), // required
365
+ * // },
366
+ * // signalExternalWorkflowExecutionInitiatedEventAttributes: { // SignalExternalWorkflowExecutionInitiatedEventAttributes
367
+ * // workflowId: "STRING_VALUE", // required
368
+ * // runId: "STRING_VALUE",
369
+ * // signalName: "STRING_VALUE", // required
370
+ * // input: "STRING_VALUE",
371
+ * // decisionTaskCompletedEventId: Number("long"), // required
372
+ * // control: "STRING_VALUE",
373
+ * // },
374
+ * // externalWorkflowExecutionSignaledEventAttributes: { // ExternalWorkflowExecutionSignaledEventAttributes
375
+ * // workflowExecution: "<WorkflowExecution>", // required
376
+ * // initiatedEventId: Number("long"), // required
377
+ * // },
378
+ * // signalExternalWorkflowExecutionFailedEventAttributes: { // SignalExternalWorkflowExecutionFailedEventAttributes
379
+ * // workflowId: "STRING_VALUE", // required
380
+ * // runId: "STRING_VALUE",
381
+ * // cause: "UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION" || "SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED" || "OPERATION_NOT_PERMITTED", // required
382
+ * // initiatedEventId: Number("long"), // required
383
+ * // decisionTaskCompletedEventId: Number("long"), // required
384
+ * // control: "STRING_VALUE",
385
+ * // },
386
+ * // externalWorkflowExecutionCancelRequestedEventAttributes: { // ExternalWorkflowExecutionCancelRequestedEventAttributes
387
+ * // workflowExecution: "<WorkflowExecution>", // required
388
+ * // initiatedEventId: Number("long"), // required
389
+ * // },
390
+ * // requestCancelExternalWorkflowExecutionInitiatedEventAttributes: { // RequestCancelExternalWorkflowExecutionInitiatedEventAttributes
391
+ * // workflowId: "STRING_VALUE", // required
392
+ * // runId: "STRING_VALUE",
393
+ * // decisionTaskCompletedEventId: Number("long"), // required
394
+ * // control: "STRING_VALUE",
395
+ * // },
396
+ * // requestCancelExternalWorkflowExecutionFailedEventAttributes: { // RequestCancelExternalWorkflowExecutionFailedEventAttributes
397
+ * // workflowId: "STRING_VALUE", // required
398
+ * // runId: "STRING_VALUE",
399
+ * // cause: "UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION" || "REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED" || "OPERATION_NOT_PERMITTED", // required
400
+ * // initiatedEventId: Number("long"), // required
401
+ * // decisionTaskCompletedEventId: Number("long"), // required
402
+ * // control: "STRING_VALUE",
403
+ * // },
404
+ * // scheduleActivityTaskFailedEventAttributes: { // ScheduleActivityTaskFailedEventAttributes
405
+ * // activityType: {
406
+ * // name: "STRING_VALUE", // required
407
+ * // version: "STRING_VALUE", // required
408
+ * // },
409
+ * // activityId: "STRING_VALUE", // required
410
+ * // cause: "ACTIVITY_TYPE_DEPRECATED" || "ACTIVITY_TYPE_DOES_NOT_EXIST" || "ACTIVITY_ID_ALREADY_IN_USE" || "OPEN_ACTIVITIES_LIMIT_EXCEEDED" || "ACTIVITY_CREATION_RATE_EXCEEDED" || "DEFAULT_SCHEDULE_TO_CLOSE_TIMEOUT_UNDEFINED" || "DEFAULT_TASK_LIST_UNDEFINED" || "DEFAULT_SCHEDULE_TO_START_TIMEOUT_UNDEFINED" || "DEFAULT_START_TO_CLOSE_TIMEOUT_UNDEFINED" || "DEFAULT_HEARTBEAT_TIMEOUT_UNDEFINED" || "OPERATION_NOT_PERMITTED", // required
411
+ * // decisionTaskCompletedEventId: Number("long"), // required
412
+ * // },
413
+ * // requestCancelActivityTaskFailedEventAttributes: { // RequestCancelActivityTaskFailedEventAttributes
414
+ * // activityId: "STRING_VALUE", // required
415
+ * // cause: "ACTIVITY_ID_UNKNOWN" || "OPERATION_NOT_PERMITTED", // required
416
+ * // decisionTaskCompletedEventId: Number("long"), // required
417
+ * // },
418
+ * // startTimerFailedEventAttributes: { // StartTimerFailedEventAttributes
419
+ * // timerId: "STRING_VALUE", // required
420
+ * // cause: "TIMER_ID_ALREADY_IN_USE" || "OPEN_TIMERS_LIMIT_EXCEEDED" || "TIMER_CREATION_RATE_EXCEEDED" || "OPERATION_NOT_PERMITTED", // required
421
+ * // decisionTaskCompletedEventId: Number("long"), // required
422
+ * // },
423
+ * // cancelTimerFailedEventAttributes: { // CancelTimerFailedEventAttributes
424
+ * // timerId: "STRING_VALUE", // required
425
+ * // cause: "TIMER_ID_UNKNOWN" || "OPERATION_NOT_PERMITTED", // required
426
+ * // decisionTaskCompletedEventId: Number("long"), // required
427
+ * // },
428
+ * // startChildWorkflowExecutionFailedEventAttributes: { // StartChildWorkflowExecutionFailedEventAttributes
429
+ * // workflowType: "<WorkflowType>", // required
430
+ * // cause: "WORKFLOW_TYPE_DOES_NOT_EXIST" || "WORKFLOW_TYPE_DEPRECATED" || "OPEN_CHILDREN_LIMIT_EXCEEDED" || "OPEN_WORKFLOWS_LIMIT_EXCEEDED" || "CHILD_CREATION_RATE_EXCEEDED" || "WORKFLOW_ALREADY_RUNNING" || "DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED" || "DEFAULT_TASK_LIST_UNDEFINED" || "DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED" || "DEFAULT_CHILD_POLICY_UNDEFINED" || "OPERATION_NOT_PERMITTED", // required
431
+ * // workflowId: "STRING_VALUE", // required
432
+ * // initiatedEventId: Number("long"), // required
433
+ * // decisionTaskCompletedEventId: Number("long"), // required
434
+ * // control: "STRING_VALUE",
435
+ * // },
436
+ * // lambdaFunctionScheduledEventAttributes: { // LambdaFunctionScheduledEventAttributes
437
+ * // id: "STRING_VALUE", // required
438
+ * // name: "STRING_VALUE", // required
439
+ * // control: "STRING_VALUE",
440
+ * // input: "STRING_VALUE",
441
+ * // startToCloseTimeout: "STRING_VALUE",
442
+ * // decisionTaskCompletedEventId: Number("long"), // required
443
+ * // },
444
+ * // lambdaFunctionStartedEventAttributes: { // LambdaFunctionStartedEventAttributes
445
+ * // scheduledEventId: Number("long"), // required
446
+ * // },
447
+ * // lambdaFunctionCompletedEventAttributes: { // LambdaFunctionCompletedEventAttributes
448
+ * // scheduledEventId: Number("long"), // required
449
+ * // startedEventId: Number("long"), // required
450
+ * // result: "STRING_VALUE",
451
+ * // },
452
+ * // lambdaFunctionFailedEventAttributes: { // LambdaFunctionFailedEventAttributes
453
+ * // scheduledEventId: Number("long"), // required
454
+ * // startedEventId: Number("long"), // required
455
+ * // reason: "STRING_VALUE",
456
+ * // details: "STRING_VALUE",
457
+ * // },
458
+ * // lambdaFunctionTimedOutEventAttributes: { // LambdaFunctionTimedOutEventAttributes
459
+ * // scheduledEventId: Number("long"), // required
460
+ * // startedEventId: Number("long"), // required
461
+ * // timeoutType: "START_TO_CLOSE",
462
+ * // },
463
+ * // scheduleLambdaFunctionFailedEventAttributes: { // ScheduleLambdaFunctionFailedEventAttributes
464
+ * // id: "STRING_VALUE", // required
465
+ * // name: "STRING_VALUE", // required
466
+ * // cause: "ID_ALREADY_IN_USE" || "OPEN_LAMBDA_FUNCTIONS_LIMIT_EXCEEDED" || "LAMBDA_FUNCTION_CREATION_RATE_EXCEEDED" || "LAMBDA_SERVICE_NOT_AVAILABLE_IN_REGION", // required
467
+ * // decisionTaskCompletedEventId: Number("long"), // required
468
+ * // },
469
+ * // startLambdaFunctionFailedEventAttributes: { // StartLambdaFunctionFailedEventAttributes
470
+ * // scheduledEventId: Number("long"),
471
+ * // cause: "ASSUME_ROLE_FAILED",
472
+ * // message: "STRING_VALUE",
473
+ * // },
474
+ * // },
475
+ * // ],
476
+ * // nextPageToken: "STRING_VALUE",
477
+ * // previousStartedEventId: Number("long"),
478
+ * // };
479
+ *
88
480
  * ```
89
481
  *
90
482
  * @param PollForDecisionTaskCommandInput - {@link PollForDecisionTaskCommandInput}
@@ -102,6 +494,8 @@ export interface PollForDecisionTaskCommandOutput extends DecisionTask, __Metada
102
494
  * @throws {@link UnknownResourceFault} (client fault)
103
495
  * <p>Returned when the named resource cannot be found with in the scope of this operation (region or domain). This could happen if the named resource was never created or is no longer available for this operation.</p>
104
496
  *
497
+ * @throws {@link SWFServiceException}
498
+ * <p>Base exception class for all service exceptions from SWF service.</p>
105
499
  *
106
500
  */
107
501
  export declare class PollForDecisionTaskCommand extends $Command<PollForDecisionTaskCommandInput, PollForDecisionTaskCommandOutput, SWFClientResolvedConfig> {
@@ -79,6 +79,10 @@ export interface RecordActivityTaskHeartbeatCommandOutput extends ActivityTaskSt
79
79
  * };
80
80
  * const command = new RecordActivityTaskHeartbeatCommand(input);
81
81
  * const response = await client.send(command);
82
+ * // { // ActivityTaskStatus
83
+ * // cancelRequested: true || false, // required
84
+ * // };
85
+ *
82
86
  * ```
83
87
  *
84
88
  * @param RecordActivityTaskHeartbeatCommandInput - {@link RecordActivityTaskHeartbeatCommandInput}
@@ -93,6 +97,8 @@ export interface RecordActivityTaskHeartbeatCommandOutput extends ActivityTaskSt
93
97
  * @throws {@link UnknownResourceFault} (client fault)
94
98
  * <p>Returned when the named resource cannot be found with in the scope of this operation (region or domain). This could happen if the named resource was never created or is no longer available for this operation.</p>
95
99
  *
100
+ * @throws {@link SWFServiceException}
101
+ * <p>Base exception class for all service exceptions from SWF service.</p>
96
102
  *
97
103
  */
98
104
  export declare class RecordActivityTaskHeartbeatCommand extends $Command<RecordActivityTaskHeartbeatCommandInput, RecordActivityTaskHeartbeatCommandOutput, SWFClientResolvedConfig> {
@@ -88,6 +88,8 @@ export interface RegisterActivityTypeCommandOutput extends __MetadataBearer {
88
88
  * };
89
89
  * const command = new RegisterActivityTypeCommand(input);
90
90
  * const response = await client.send(command);
91
+ * // {};
92
+ *
91
93
  * ```
92
94
  *
93
95
  * @param RegisterActivityTypeCommandInput - {@link RegisterActivityTypeCommandInput}
@@ -108,6 +110,8 @@ export interface RegisterActivityTypeCommandOutput extends __MetadataBearer {
108
110
  * @throws {@link UnknownResourceFault} (client fault)
109
111
  * <p>Returned when the named resource cannot be found with in the scope of this operation (region or domain). This could happen if the named resource was never created or is no longer available for this operation.</p>
110
112
  *
113
+ * @throws {@link SWFServiceException}
114
+ * <p>Base exception class for all service exceptions from SWF service.</p>
111
115
  *
112
116
  */
113
117
  export declare class RegisterActivityTypeCommand extends $Command<RegisterActivityTypeCommandInput, RegisterActivityTypeCommandOutput, SWFClientResolvedConfig> {
@@ -62,6 +62,8 @@ export interface RegisterDomainCommandOutput extends __MetadataBearer {
62
62
  * };
63
63
  * const command = new RegisterDomainCommand(input);
64
64
  * const response = await client.send(command);
65
+ * // {};
66
+ *
65
67
  * ```
66
68
  *
67
69
  * @param RegisterDomainCommandInput - {@link RegisterDomainCommandInput}
@@ -82,6 +84,8 @@ export interface RegisterDomainCommandOutput extends __MetadataBearer {
82
84
  * @throws {@link TooManyTagsFault} (client fault)
83
85
  * <p>You've exceeded the number of tags allowed for a domain.</p>
84
86
  *
87
+ * @throws {@link SWFServiceException}
88
+ * <p>Base exception class for all service exceptions from SWF service.</p>
85
89
  *
86
90
  */
87
91
  export declare class RegisterDomainCommand extends $Command<RegisterDomainCommandInput, RegisterDomainCommandOutput, SWFClientResolvedConfig> {
@@ -89,6 +89,8 @@ export interface RegisterWorkflowTypeCommandOutput extends __MetadataBearer {
89
89
  * };
90
90
  * const command = new RegisterWorkflowTypeCommand(input);
91
91
  * const response = await client.send(command);
92
+ * // {};
93
+ *
92
94
  * ```
93
95
  *
94
96
  * @param RegisterWorkflowTypeCommandInput - {@link RegisterWorkflowTypeCommandInput}
@@ -109,6 +111,8 @@ export interface RegisterWorkflowTypeCommandOutput extends __MetadataBearer {
109
111
  * @throws {@link UnknownResourceFault} (client fault)
110
112
  * <p>Returned when the named resource cannot be found with in the scope of this operation (region or domain). This could happen if the named resource was never created or is no longer available for this operation.</p>
111
113
  *
114
+ * @throws {@link SWFServiceException}
115
+ * <p>Base exception class for all service exceptions from SWF service.</p>
112
116
  *
113
117
  */
114
118
  export declare class RegisterWorkflowTypeCommand extends $Command<RegisterWorkflowTypeCommandInput, RegisterWorkflowTypeCommandOutput, SWFClientResolvedConfig> {
@@ -71,6 +71,8 @@ export interface RequestCancelWorkflowExecutionCommandOutput extends __MetadataB
71
71
  * };
72
72
  * const command = new RequestCancelWorkflowExecutionCommand(input);
73
73
  * const response = await client.send(command);
74
+ * // {};
75
+ *
74
76
  * ```
75
77
  *
76
78
  * @param RequestCancelWorkflowExecutionCommandInput - {@link RequestCancelWorkflowExecutionCommandInput}
@@ -85,6 +87,8 @@ export interface RequestCancelWorkflowExecutionCommandOutput extends __MetadataB
85
87
  * @throws {@link UnknownResourceFault} (client fault)
86
88
  * <p>Returned when the named resource cannot be found with in the scope of this operation (region or domain). This could happen if the named resource was never created or is no longer available for this operation.</p>
87
89
  *
90
+ * @throws {@link SWFServiceException}
91
+ * <p>Base exception class for all service exceptions from SWF service.</p>
88
92
  *
89
93
  */
90
94
  export declare class RequestCancelWorkflowExecutionCommand extends $Command<RequestCancelWorkflowExecutionCommandInput, RequestCancelWorkflowExecutionCommandOutput, SWFClientResolvedConfig> {
@@ -73,6 +73,8 @@ export interface RespondActivityTaskCanceledCommandOutput extends __MetadataBear
73
73
  * };
74
74
  * const command = new RespondActivityTaskCanceledCommand(input);
75
75
  * const response = await client.send(command);
76
+ * // {};
77
+ *
76
78
  * ```
77
79
  *
78
80
  * @param RespondActivityTaskCanceledCommandInput - {@link RespondActivityTaskCanceledCommandInput}
@@ -87,6 +89,8 @@ export interface RespondActivityTaskCanceledCommandOutput extends __MetadataBear
87
89
  * @throws {@link UnknownResourceFault} (client fault)
88
90
  * <p>Returned when the named resource cannot be found with in the scope of this operation (region or domain). This could happen if the named resource was never created or is no longer available for this operation.</p>
89
91
  *
92
+ * @throws {@link SWFServiceException}
93
+ * <p>Base exception class for all service exceptions from SWF service.</p>
90
94
  *
91
95
  */
92
96
  export declare class RespondActivityTaskCanceledCommand extends $Command<RespondActivityTaskCanceledCommandInput, RespondActivityTaskCanceledCommandOutput, SWFClientResolvedConfig> {
@@ -71,6 +71,8 @@ export interface RespondActivityTaskCompletedCommandOutput extends __MetadataBea
71
71
  * };
72
72
  * const command = new RespondActivityTaskCompletedCommand(input);
73
73
  * const response = await client.send(command);
74
+ * // {};
75
+ *
74
76
  * ```
75
77
  *
76
78
  * @param RespondActivityTaskCompletedCommandInput - {@link RespondActivityTaskCompletedCommandInput}
@@ -85,6 +87,8 @@ export interface RespondActivityTaskCompletedCommandOutput extends __MetadataBea
85
87
  * @throws {@link UnknownResourceFault} (client fault)
86
88
  * <p>Returned when the named resource cannot be found with in the scope of this operation (region or domain). This could happen if the named resource was never created or is no longer available for this operation.</p>
87
89
  *
90
+ * @throws {@link SWFServiceException}
91
+ * <p>Base exception class for all service exceptions from SWF service.</p>
88
92
  *
89
93
  */
90
94
  export declare class RespondActivityTaskCompletedCommand extends $Command<RespondActivityTaskCompletedCommandInput, RespondActivityTaskCompletedCommandOutput, SWFClientResolvedConfig> {
@@ -65,6 +65,8 @@ export interface RespondActivityTaskFailedCommandOutput extends __MetadataBearer
65
65
  * };
66
66
  * const command = new RespondActivityTaskFailedCommand(input);
67
67
  * const response = await client.send(command);
68
+ * // {};
69
+ *
68
70
  * ```
69
71
  *
70
72
  * @param RespondActivityTaskFailedCommandInput - {@link RespondActivityTaskFailedCommandInput}
@@ -79,6 +81,8 @@ export interface RespondActivityTaskFailedCommandOutput extends __MetadataBearer
79
81
  * @throws {@link UnknownResourceFault} (client fault)
80
82
  * <p>Returned when the named resource cannot be found with in the scope of this operation (region or domain). This could happen if the named resource was never created or is no longer available for this operation.</p>
81
83
  *
84
+ * @throws {@link SWFServiceException}
85
+ * <p>Base exception class for all service exceptions from SWF service.</p>
82
86
  *
83
87
  */
84
88
  export declare class RespondActivityTaskFailedCommand extends $Command<RespondActivityTaskFailedCommandInput, RespondActivityTaskFailedCommandOutput, SWFClientResolvedConfig> {
@@ -152,6 +152,8 @@ export interface RespondDecisionTaskCompletedCommandOutput extends __MetadataBea
152
152
  * };
153
153
  * const command = new RespondDecisionTaskCompletedCommand(input);
154
154
  * const response = await client.send(command);
155
+ * // {};
156
+ *
155
157
  * ```
156
158
  *
157
159
  * @param RespondDecisionTaskCompletedCommandInput - {@link RespondDecisionTaskCompletedCommandInput}
@@ -166,6 +168,8 @@ export interface RespondDecisionTaskCompletedCommandOutput extends __MetadataBea
166
168
  * @throws {@link UnknownResourceFault} (client fault)
167
169
  * <p>Returned when the named resource cannot be found with in the scope of this operation (region or domain). This could happen if the named resource was never created or is no longer available for this operation.</p>
168
170
  *
171
+ * @throws {@link SWFServiceException}
172
+ * <p>Base exception class for all service exceptions from SWF service.</p>
169
173
  *
170
174
  */
171
175
  export declare class RespondDecisionTaskCompletedCommand extends $Command<RespondDecisionTaskCompletedCommandInput, RespondDecisionTaskCompletedCommandOutput, SWFClientResolvedConfig> {
@@ -73,6 +73,8 @@ export interface SignalWorkflowExecutionCommandOutput extends __MetadataBearer {
73
73
  * };
74
74
  * const command = new SignalWorkflowExecutionCommand(input);
75
75
  * const response = await client.send(command);
76
+ * // {};
77
+ *
76
78
  * ```
77
79
  *
78
80
  * @param SignalWorkflowExecutionCommandInput - {@link SignalWorkflowExecutionCommandInput}
@@ -87,6 +89,8 @@ export interface SignalWorkflowExecutionCommandOutput extends __MetadataBearer {
87
89
  * @throws {@link UnknownResourceFault} (client fault)
88
90
  * <p>Returned when the named resource cannot be found with in the scope of this operation (region or domain). This could happen if the named resource was never created or is no longer available for this operation.</p>
89
91
  *
92
+ * @throws {@link SWFServiceException}
93
+ * <p>Base exception class for all service exceptions from SWF service.</p>
90
94
  *
91
95
  */
92
96
  export declare class SignalWorkflowExecutionCommand extends $Command<SignalWorkflowExecutionCommandInput, SignalWorkflowExecutionCommandOutput, SWFClientResolvedConfig> {