@aws-sdk/client-swf 3.325.0 → 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 +3 -3
@@ -67,6 +67,393 @@ export interface GetWorkflowExecutionHistoryCommandOutput extends History, __Met
67
67
  * };
68
68
  * const command = new GetWorkflowExecutionHistoryCommand(input);
69
69
  * const response = await client.send(command);
70
+ * // { // History
71
+ * // events: [ // HistoryEventList // required
72
+ * // { // HistoryEvent
73
+ * // eventTimestamp: new Date("TIMESTAMP"), // required
74
+ * // 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
75
+ * // eventId: Number("long"), // required
76
+ * // workflowExecutionStartedEventAttributes: { // WorkflowExecutionStartedEventAttributes
77
+ * // input: "STRING_VALUE",
78
+ * // executionStartToCloseTimeout: "STRING_VALUE",
79
+ * // taskStartToCloseTimeout: "STRING_VALUE",
80
+ * // childPolicy: "TERMINATE" || "REQUEST_CANCEL" || "ABANDON", // required
81
+ * // taskList: { // TaskList
82
+ * // name: "STRING_VALUE", // required
83
+ * // },
84
+ * // taskPriority: "STRING_VALUE",
85
+ * // workflowType: { // WorkflowType
86
+ * // name: "STRING_VALUE", // required
87
+ * // version: "STRING_VALUE", // required
88
+ * // },
89
+ * // tagList: [ // TagList
90
+ * // "STRING_VALUE",
91
+ * // ],
92
+ * // continuedExecutionRunId: "STRING_VALUE",
93
+ * // parentWorkflowExecution: { // WorkflowExecution
94
+ * // workflowId: "STRING_VALUE", // required
95
+ * // runId: "STRING_VALUE", // required
96
+ * // },
97
+ * // parentInitiatedEventId: Number("long"),
98
+ * // lambdaRole: "STRING_VALUE",
99
+ * // },
100
+ * // workflowExecutionCompletedEventAttributes: { // WorkflowExecutionCompletedEventAttributes
101
+ * // result: "STRING_VALUE",
102
+ * // decisionTaskCompletedEventId: Number("long"), // required
103
+ * // },
104
+ * // completeWorkflowExecutionFailedEventAttributes: { // CompleteWorkflowExecutionFailedEventAttributes
105
+ * // cause: "UNHANDLED_DECISION" || "OPERATION_NOT_PERMITTED", // required
106
+ * // decisionTaskCompletedEventId: Number("long"), // required
107
+ * // },
108
+ * // workflowExecutionFailedEventAttributes: { // WorkflowExecutionFailedEventAttributes
109
+ * // reason: "STRING_VALUE",
110
+ * // details: "STRING_VALUE",
111
+ * // decisionTaskCompletedEventId: Number("long"), // required
112
+ * // },
113
+ * // failWorkflowExecutionFailedEventAttributes: { // FailWorkflowExecutionFailedEventAttributes
114
+ * // cause: "UNHANDLED_DECISION" || "OPERATION_NOT_PERMITTED", // required
115
+ * // decisionTaskCompletedEventId: Number("long"), // required
116
+ * // },
117
+ * // workflowExecutionTimedOutEventAttributes: { // WorkflowExecutionTimedOutEventAttributes
118
+ * // timeoutType: "START_TO_CLOSE", // required
119
+ * // childPolicy: "TERMINATE" || "REQUEST_CANCEL" || "ABANDON", // required
120
+ * // },
121
+ * // workflowExecutionCanceledEventAttributes: { // WorkflowExecutionCanceledEventAttributes
122
+ * // details: "STRING_VALUE",
123
+ * // decisionTaskCompletedEventId: Number("long"), // required
124
+ * // },
125
+ * // cancelWorkflowExecutionFailedEventAttributes: { // CancelWorkflowExecutionFailedEventAttributes
126
+ * // cause: "UNHANDLED_DECISION" || "OPERATION_NOT_PERMITTED", // required
127
+ * // decisionTaskCompletedEventId: Number("long"), // required
128
+ * // },
129
+ * // workflowExecutionContinuedAsNewEventAttributes: { // WorkflowExecutionContinuedAsNewEventAttributes
130
+ * // input: "STRING_VALUE",
131
+ * // decisionTaskCompletedEventId: Number("long"), // required
132
+ * // newExecutionRunId: "STRING_VALUE", // required
133
+ * // executionStartToCloseTimeout: "STRING_VALUE",
134
+ * // taskList: {
135
+ * // name: "STRING_VALUE", // required
136
+ * // },
137
+ * // taskPriority: "STRING_VALUE",
138
+ * // taskStartToCloseTimeout: "STRING_VALUE",
139
+ * // childPolicy: "TERMINATE" || "REQUEST_CANCEL" || "ABANDON", // required
140
+ * // tagList: [
141
+ * // "STRING_VALUE",
142
+ * // ],
143
+ * // workflowType: {
144
+ * // name: "STRING_VALUE", // required
145
+ * // version: "STRING_VALUE", // required
146
+ * // },
147
+ * // lambdaRole: "STRING_VALUE",
148
+ * // },
149
+ * // continueAsNewWorkflowExecutionFailedEventAttributes: { // ContinueAsNewWorkflowExecutionFailedEventAttributes
150
+ * // 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
151
+ * // decisionTaskCompletedEventId: Number("long"), // required
152
+ * // },
153
+ * // workflowExecutionTerminatedEventAttributes: { // WorkflowExecutionTerminatedEventAttributes
154
+ * // reason: "STRING_VALUE",
155
+ * // details: "STRING_VALUE",
156
+ * // childPolicy: "TERMINATE" || "REQUEST_CANCEL" || "ABANDON", // required
157
+ * // cause: "CHILD_POLICY_APPLIED" || "EVENT_LIMIT_EXCEEDED" || "OPERATOR_INITIATED",
158
+ * // },
159
+ * // workflowExecutionCancelRequestedEventAttributes: { // WorkflowExecutionCancelRequestedEventAttributes
160
+ * // externalWorkflowExecution: {
161
+ * // workflowId: "STRING_VALUE", // required
162
+ * // runId: "STRING_VALUE", // required
163
+ * // },
164
+ * // externalInitiatedEventId: Number("long"),
165
+ * // cause: "CHILD_POLICY_APPLIED",
166
+ * // },
167
+ * // decisionTaskScheduledEventAttributes: { // DecisionTaskScheduledEventAttributes
168
+ * // taskList: {
169
+ * // name: "STRING_VALUE", // required
170
+ * // },
171
+ * // taskPriority: "STRING_VALUE",
172
+ * // startToCloseTimeout: "STRING_VALUE",
173
+ * // },
174
+ * // decisionTaskStartedEventAttributes: { // DecisionTaskStartedEventAttributes
175
+ * // identity: "STRING_VALUE",
176
+ * // scheduledEventId: Number("long"), // required
177
+ * // },
178
+ * // decisionTaskCompletedEventAttributes: { // DecisionTaskCompletedEventAttributes
179
+ * // executionContext: "STRING_VALUE",
180
+ * // scheduledEventId: Number("long"), // required
181
+ * // startedEventId: Number("long"), // required
182
+ * // },
183
+ * // decisionTaskTimedOutEventAttributes: { // DecisionTaskTimedOutEventAttributes
184
+ * // timeoutType: "START_TO_CLOSE", // required
185
+ * // scheduledEventId: Number("long"), // required
186
+ * // startedEventId: Number("long"), // required
187
+ * // },
188
+ * // activityTaskScheduledEventAttributes: { // ActivityTaskScheduledEventAttributes
189
+ * // activityType: { // ActivityType
190
+ * // name: "STRING_VALUE", // required
191
+ * // version: "STRING_VALUE", // required
192
+ * // },
193
+ * // activityId: "STRING_VALUE", // required
194
+ * // input: "STRING_VALUE",
195
+ * // control: "STRING_VALUE",
196
+ * // scheduleToStartTimeout: "STRING_VALUE",
197
+ * // scheduleToCloseTimeout: "STRING_VALUE",
198
+ * // startToCloseTimeout: "STRING_VALUE",
199
+ * // taskList: {
200
+ * // name: "STRING_VALUE", // required
201
+ * // },
202
+ * // taskPriority: "STRING_VALUE",
203
+ * // decisionTaskCompletedEventId: Number("long"), // required
204
+ * // heartbeatTimeout: "STRING_VALUE",
205
+ * // },
206
+ * // activityTaskStartedEventAttributes: { // ActivityTaskStartedEventAttributes
207
+ * // identity: "STRING_VALUE",
208
+ * // scheduledEventId: Number("long"), // required
209
+ * // },
210
+ * // activityTaskCompletedEventAttributes: { // ActivityTaskCompletedEventAttributes
211
+ * // result: "STRING_VALUE",
212
+ * // scheduledEventId: Number("long"), // required
213
+ * // startedEventId: Number("long"), // required
214
+ * // },
215
+ * // activityTaskFailedEventAttributes: { // ActivityTaskFailedEventAttributes
216
+ * // reason: "STRING_VALUE",
217
+ * // details: "STRING_VALUE",
218
+ * // scheduledEventId: Number("long"), // required
219
+ * // startedEventId: Number("long"), // required
220
+ * // },
221
+ * // activityTaskTimedOutEventAttributes: { // ActivityTaskTimedOutEventAttributes
222
+ * // timeoutType: "START_TO_CLOSE" || "SCHEDULE_TO_START" || "SCHEDULE_TO_CLOSE" || "HEARTBEAT", // required
223
+ * // scheduledEventId: Number("long"), // required
224
+ * // startedEventId: Number("long"), // required
225
+ * // details: "STRING_VALUE",
226
+ * // },
227
+ * // activityTaskCanceledEventAttributes: { // ActivityTaskCanceledEventAttributes
228
+ * // details: "STRING_VALUE",
229
+ * // scheduledEventId: Number("long"), // required
230
+ * // startedEventId: Number("long"), // required
231
+ * // latestCancelRequestedEventId: Number("long"),
232
+ * // },
233
+ * // activityTaskCancelRequestedEventAttributes: { // ActivityTaskCancelRequestedEventAttributes
234
+ * // decisionTaskCompletedEventId: Number("long"), // required
235
+ * // activityId: "STRING_VALUE", // required
236
+ * // },
237
+ * // workflowExecutionSignaledEventAttributes: { // WorkflowExecutionSignaledEventAttributes
238
+ * // signalName: "STRING_VALUE", // required
239
+ * // input: "STRING_VALUE",
240
+ * // externalWorkflowExecution: {
241
+ * // workflowId: "STRING_VALUE", // required
242
+ * // runId: "STRING_VALUE", // required
243
+ * // },
244
+ * // externalInitiatedEventId: Number("long"),
245
+ * // },
246
+ * // markerRecordedEventAttributes: { // MarkerRecordedEventAttributes
247
+ * // markerName: "STRING_VALUE", // required
248
+ * // details: "STRING_VALUE",
249
+ * // decisionTaskCompletedEventId: Number("long"), // required
250
+ * // },
251
+ * // recordMarkerFailedEventAttributes: { // RecordMarkerFailedEventAttributes
252
+ * // markerName: "STRING_VALUE", // required
253
+ * // cause: "OPERATION_NOT_PERMITTED", // required
254
+ * // decisionTaskCompletedEventId: Number("long"), // required
255
+ * // },
256
+ * // timerStartedEventAttributes: { // TimerStartedEventAttributes
257
+ * // timerId: "STRING_VALUE", // required
258
+ * // control: "STRING_VALUE",
259
+ * // startToFireTimeout: "STRING_VALUE", // required
260
+ * // decisionTaskCompletedEventId: Number("long"), // required
261
+ * // },
262
+ * // timerFiredEventAttributes: { // TimerFiredEventAttributes
263
+ * // timerId: "STRING_VALUE", // required
264
+ * // startedEventId: Number("long"), // required
265
+ * // },
266
+ * // timerCanceledEventAttributes: { // TimerCanceledEventAttributes
267
+ * // timerId: "STRING_VALUE", // required
268
+ * // startedEventId: Number("long"), // required
269
+ * // decisionTaskCompletedEventId: Number("long"), // required
270
+ * // },
271
+ * // startChildWorkflowExecutionInitiatedEventAttributes: { // StartChildWorkflowExecutionInitiatedEventAttributes
272
+ * // workflowId: "STRING_VALUE", // required
273
+ * // workflowType: {
274
+ * // name: "STRING_VALUE", // required
275
+ * // version: "STRING_VALUE", // required
276
+ * // },
277
+ * // control: "STRING_VALUE",
278
+ * // input: "STRING_VALUE",
279
+ * // executionStartToCloseTimeout: "STRING_VALUE",
280
+ * // taskList: {
281
+ * // name: "STRING_VALUE", // required
282
+ * // },
283
+ * // taskPriority: "STRING_VALUE",
284
+ * // decisionTaskCompletedEventId: Number("long"), // required
285
+ * // childPolicy: "TERMINATE" || "REQUEST_CANCEL" || "ABANDON", // required
286
+ * // taskStartToCloseTimeout: "STRING_VALUE",
287
+ * // tagList: [
288
+ * // "STRING_VALUE",
289
+ * // ],
290
+ * // lambdaRole: "STRING_VALUE",
291
+ * // },
292
+ * // childWorkflowExecutionStartedEventAttributes: { // ChildWorkflowExecutionStartedEventAttributes
293
+ * // workflowExecution: {
294
+ * // workflowId: "STRING_VALUE", // required
295
+ * // runId: "STRING_VALUE", // required
296
+ * // },
297
+ * // workflowType: {
298
+ * // name: "STRING_VALUE", // required
299
+ * // version: "STRING_VALUE", // required
300
+ * // },
301
+ * // initiatedEventId: Number("long"), // required
302
+ * // },
303
+ * // childWorkflowExecutionCompletedEventAttributes: { // ChildWorkflowExecutionCompletedEventAttributes
304
+ * // workflowExecution: {
305
+ * // workflowId: "STRING_VALUE", // required
306
+ * // runId: "STRING_VALUE", // required
307
+ * // },
308
+ * // workflowType: {
309
+ * // name: "STRING_VALUE", // required
310
+ * // version: "STRING_VALUE", // required
311
+ * // },
312
+ * // result: "STRING_VALUE",
313
+ * // initiatedEventId: Number("long"), // required
314
+ * // startedEventId: Number("long"), // required
315
+ * // },
316
+ * // childWorkflowExecutionFailedEventAttributes: { // ChildWorkflowExecutionFailedEventAttributes
317
+ * // workflowExecution: "<WorkflowExecution>", // required
318
+ * // workflowType: "<WorkflowType>", // required
319
+ * // reason: "STRING_VALUE",
320
+ * // details: "STRING_VALUE",
321
+ * // initiatedEventId: Number("long"), // required
322
+ * // startedEventId: Number("long"), // required
323
+ * // },
324
+ * // childWorkflowExecutionTimedOutEventAttributes: { // ChildWorkflowExecutionTimedOutEventAttributes
325
+ * // workflowExecution: "<WorkflowExecution>", // required
326
+ * // workflowType: "<WorkflowType>", // required
327
+ * // timeoutType: "START_TO_CLOSE", // required
328
+ * // initiatedEventId: Number("long"), // required
329
+ * // startedEventId: Number("long"), // required
330
+ * // },
331
+ * // childWorkflowExecutionCanceledEventAttributes: { // ChildWorkflowExecutionCanceledEventAttributes
332
+ * // workflowExecution: "<WorkflowExecution>", // required
333
+ * // workflowType: "<WorkflowType>", // required
334
+ * // details: "STRING_VALUE",
335
+ * // initiatedEventId: Number("long"), // required
336
+ * // startedEventId: Number("long"), // required
337
+ * // },
338
+ * // childWorkflowExecutionTerminatedEventAttributes: { // ChildWorkflowExecutionTerminatedEventAttributes
339
+ * // workflowExecution: "<WorkflowExecution>", // required
340
+ * // workflowType: "<WorkflowType>", // required
341
+ * // initiatedEventId: Number("long"), // required
342
+ * // startedEventId: Number("long"), // required
343
+ * // },
344
+ * // signalExternalWorkflowExecutionInitiatedEventAttributes: { // SignalExternalWorkflowExecutionInitiatedEventAttributes
345
+ * // workflowId: "STRING_VALUE", // required
346
+ * // runId: "STRING_VALUE",
347
+ * // signalName: "STRING_VALUE", // required
348
+ * // input: "STRING_VALUE",
349
+ * // decisionTaskCompletedEventId: Number("long"), // required
350
+ * // control: "STRING_VALUE",
351
+ * // },
352
+ * // externalWorkflowExecutionSignaledEventAttributes: { // ExternalWorkflowExecutionSignaledEventAttributes
353
+ * // workflowExecution: "<WorkflowExecution>", // required
354
+ * // initiatedEventId: Number("long"), // required
355
+ * // },
356
+ * // signalExternalWorkflowExecutionFailedEventAttributes: { // SignalExternalWorkflowExecutionFailedEventAttributes
357
+ * // workflowId: "STRING_VALUE", // required
358
+ * // runId: "STRING_VALUE",
359
+ * // cause: "UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION" || "SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED" || "OPERATION_NOT_PERMITTED", // required
360
+ * // initiatedEventId: Number("long"), // required
361
+ * // decisionTaskCompletedEventId: Number("long"), // required
362
+ * // control: "STRING_VALUE",
363
+ * // },
364
+ * // externalWorkflowExecutionCancelRequestedEventAttributes: { // ExternalWorkflowExecutionCancelRequestedEventAttributes
365
+ * // workflowExecution: "<WorkflowExecution>", // required
366
+ * // initiatedEventId: Number("long"), // required
367
+ * // },
368
+ * // requestCancelExternalWorkflowExecutionInitiatedEventAttributes: { // RequestCancelExternalWorkflowExecutionInitiatedEventAttributes
369
+ * // workflowId: "STRING_VALUE", // required
370
+ * // runId: "STRING_VALUE",
371
+ * // decisionTaskCompletedEventId: Number("long"), // required
372
+ * // control: "STRING_VALUE",
373
+ * // },
374
+ * // requestCancelExternalWorkflowExecutionFailedEventAttributes: { // RequestCancelExternalWorkflowExecutionFailedEventAttributes
375
+ * // workflowId: "STRING_VALUE", // required
376
+ * // runId: "STRING_VALUE",
377
+ * // cause: "UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION" || "REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED" || "OPERATION_NOT_PERMITTED", // required
378
+ * // initiatedEventId: Number("long"), // required
379
+ * // decisionTaskCompletedEventId: Number("long"), // required
380
+ * // control: "STRING_VALUE",
381
+ * // },
382
+ * // scheduleActivityTaskFailedEventAttributes: { // ScheduleActivityTaskFailedEventAttributes
383
+ * // activityType: {
384
+ * // name: "STRING_VALUE", // required
385
+ * // version: "STRING_VALUE", // required
386
+ * // },
387
+ * // activityId: "STRING_VALUE", // required
388
+ * // 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
389
+ * // decisionTaskCompletedEventId: Number("long"), // required
390
+ * // },
391
+ * // requestCancelActivityTaskFailedEventAttributes: { // RequestCancelActivityTaskFailedEventAttributes
392
+ * // activityId: "STRING_VALUE", // required
393
+ * // cause: "ACTIVITY_ID_UNKNOWN" || "OPERATION_NOT_PERMITTED", // required
394
+ * // decisionTaskCompletedEventId: Number("long"), // required
395
+ * // },
396
+ * // startTimerFailedEventAttributes: { // StartTimerFailedEventAttributes
397
+ * // timerId: "STRING_VALUE", // required
398
+ * // cause: "TIMER_ID_ALREADY_IN_USE" || "OPEN_TIMERS_LIMIT_EXCEEDED" || "TIMER_CREATION_RATE_EXCEEDED" || "OPERATION_NOT_PERMITTED", // required
399
+ * // decisionTaskCompletedEventId: Number("long"), // required
400
+ * // },
401
+ * // cancelTimerFailedEventAttributes: { // CancelTimerFailedEventAttributes
402
+ * // timerId: "STRING_VALUE", // required
403
+ * // cause: "TIMER_ID_UNKNOWN" || "OPERATION_NOT_PERMITTED", // required
404
+ * // decisionTaskCompletedEventId: Number("long"), // required
405
+ * // },
406
+ * // startChildWorkflowExecutionFailedEventAttributes: { // StartChildWorkflowExecutionFailedEventAttributes
407
+ * // workflowType: "<WorkflowType>", // required
408
+ * // 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
409
+ * // workflowId: "STRING_VALUE", // required
410
+ * // initiatedEventId: Number("long"), // required
411
+ * // decisionTaskCompletedEventId: Number("long"), // required
412
+ * // control: "STRING_VALUE",
413
+ * // },
414
+ * // lambdaFunctionScheduledEventAttributes: { // LambdaFunctionScheduledEventAttributes
415
+ * // id: "STRING_VALUE", // required
416
+ * // name: "STRING_VALUE", // required
417
+ * // control: "STRING_VALUE",
418
+ * // input: "STRING_VALUE",
419
+ * // startToCloseTimeout: "STRING_VALUE",
420
+ * // decisionTaskCompletedEventId: Number("long"), // required
421
+ * // },
422
+ * // lambdaFunctionStartedEventAttributes: { // LambdaFunctionStartedEventAttributes
423
+ * // scheduledEventId: Number("long"), // required
424
+ * // },
425
+ * // lambdaFunctionCompletedEventAttributes: { // LambdaFunctionCompletedEventAttributes
426
+ * // scheduledEventId: Number("long"), // required
427
+ * // startedEventId: Number("long"), // required
428
+ * // result: "STRING_VALUE",
429
+ * // },
430
+ * // lambdaFunctionFailedEventAttributes: { // LambdaFunctionFailedEventAttributes
431
+ * // scheduledEventId: Number("long"), // required
432
+ * // startedEventId: Number("long"), // required
433
+ * // reason: "STRING_VALUE",
434
+ * // details: "STRING_VALUE",
435
+ * // },
436
+ * // lambdaFunctionTimedOutEventAttributes: { // LambdaFunctionTimedOutEventAttributes
437
+ * // scheduledEventId: Number("long"), // required
438
+ * // startedEventId: Number("long"), // required
439
+ * // timeoutType: "START_TO_CLOSE",
440
+ * // },
441
+ * // scheduleLambdaFunctionFailedEventAttributes: { // ScheduleLambdaFunctionFailedEventAttributes
442
+ * // id: "STRING_VALUE", // required
443
+ * // name: "STRING_VALUE", // required
444
+ * // cause: "ID_ALREADY_IN_USE" || "OPEN_LAMBDA_FUNCTIONS_LIMIT_EXCEEDED" || "LAMBDA_FUNCTION_CREATION_RATE_EXCEEDED" || "LAMBDA_SERVICE_NOT_AVAILABLE_IN_REGION", // required
445
+ * // decisionTaskCompletedEventId: Number("long"), // required
446
+ * // },
447
+ * // startLambdaFunctionFailedEventAttributes: { // StartLambdaFunctionFailedEventAttributes
448
+ * // scheduledEventId: Number("long"),
449
+ * // cause: "ASSUME_ROLE_FAILED",
450
+ * // message: "STRING_VALUE",
451
+ * // },
452
+ * // },
453
+ * // ],
454
+ * // nextPageToken: "STRING_VALUE",
455
+ * // };
456
+ *
70
457
  * ```
71
458
  *
72
459
  * @param GetWorkflowExecutionHistoryCommandInput - {@link GetWorkflowExecutionHistoryCommandInput}
@@ -81,6 +468,8 @@ export interface GetWorkflowExecutionHistoryCommandOutput extends History, __Met
81
468
  * @throws {@link UnknownResourceFault} (client fault)
82
469
  * <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>
83
470
  *
471
+ * @throws {@link SWFServiceException}
472
+ * <p>Base exception class for all service exceptions from SWF service.</p>
84
473
  *
85
474
  */
86
475
  export declare class GetWorkflowExecutionHistoryCommand extends $Command<GetWorkflowExecutionHistoryCommandInput, GetWorkflowExecutionHistoryCommandOutput, SWFClientResolvedConfig> {
@@ -63,6 +63,22 @@ export interface ListActivityTypesCommandOutput extends ActivityTypeInfos, __Met
63
63
  * };
64
64
  * const command = new ListActivityTypesCommand(input);
65
65
  * const response = await client.send(command);
66
+ * // { // ActivityTypeInfos
67
+ * // typeInfos: [ // ActivityTypeInfoList // required
68
+ * // { // ActivityTypeInfo
69
+ * // activityType: { // ActivityType
70
+ * // name: "STRING_VALUE", // required
71
+ * // version: "STRING_VALUE", // required
72
+ * // },
73
+ * // status: "REGISTERED" || "DEPRECATED", // required
74
+ * // description: "STRING_VALUE",
75
+ * // creationDate: new Date("TIMESTAMP"), // required
76
+ * // deprecationDate: new Date("TIMESTAMP"),
77
+ * // },
78
+ * // ],
79
+ * // nextPageToken: "STRING_VALUE",
80
+ * // };
81
+ *
66
82
  * ```
67
83
  *
68
84
  * @param ListActivityTypesCommandInput - {@link ListActivityTypesCommandInput}
@@ -77,6 +93,8 @@ export interface ListActivityTypesCommandOutput extends ActivityTypeInfos, __Met
77
93
  * @throws {@link UnknownResourceFault} (client fault)
78
94
  * <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>
79
95
  *
96
+ * @throws {@link SWFServiceException}
97
+ * <p>Base exception class for all service exceptions from SWF service.</p>
80
98
  *
81
99
  */
82
100
  export declare class ListActivityTypesCommand extends $Command<ListActivityTypesCommandInput, ListActivityTypesCommandOutput, SWFClientResolvedConfig> {
@@ -102,6 +102,34 @@ export interface ListClosedWorkflowExecutionsCommandOutput extends WorkflowExecu
102
102
  * };
103
103
  * const command = new ListClosedWorkflowExecutionsCommand(input);
104
104
  * const response = await client.send(command);
105
+ * // { // WorkflowExecutionInfos
106
+ * // executionInfos: [ // WorkflowExecutionInfoList // required
107
+ * // { // WorkflowExecutionInfo
108
+ * // execution: { // WorkflowExecution
109
+ * // workflowId: "STRING_VALUE", // required
110
+ * // runId: "STRING_VALUE", // required
111
+ * // },
112
+ * // workflowType: { // WorkflowType
113
+ * // name: "STRING_VALUE", // required
114
+ * // version: "STRING_VALUE", // required
115
+ * // },
116
+ * // startTimestamp: new Date("TIMESTAMP"), // required
117
+ * // closeTimestamp: new Date("TIMESTAMP"),
118
+ * // executionStatus: "OPEN" || "CLOSED", // required
119
+ * // closeStatus: "COMPLETED" || "FAILED" || "CANCELED" || "TERMINATED" || "CONTINUED_AS_NEW" || "TIMED_OUT",
120
+ * // parent: {
121
+ * // workflowId: "STRING_VALUE", // required
122
+ * // runId: "STRING_VALUE", // required
123
+ * // },
124
+ * // tagList: [ // TagList
125
+ * // "STRING_VALUE",
126
+ * // ],
127
+ * // cancelRequested: true || false,
128
+ * // },
129
+ * // ],
130
+ * // nextPageToken: "STRING_VALUE",
131
+ * // };
132
+ *
105
133
  * ```
106
134
  *
107
135
  * @param ListClosedWorkflowExecutionsCommandInput - {@link ListClosedWorkflowExecutionsCommandInput}
@@ -116,6 +144,8 @@ export interface ListClosedWorkflowExecutionsCommandOutput extends WorkflowExecu
116
144
  * @throws {@link UnknownResourceFault} (client fault)
117
145
  * <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>
118
146
  *
147
+ * @throws {@link SWFServiceException}
148
+ * <p>Base exception class for all service exceptions from SWF service.</p>
119
149
  *
120
150
  */
121
151
  export declare class ListClosedWorkflowExecutionsCommand extends $Command<ListClosedWorkflowExecutionsCommandInput, ListClosedWorkflowExecutionsCommandOutput, SWFClientResolvedConfig> {
@@ -65,6 +65,18 @@ export interface ListDomainsCommandOutput extends DomainInfos, __MetadataBearer
65
65
  * };
66
66
  * const command = new ListDomainsCommand(input);
67
67
  * const response = await client.send(command);
68
+ * // { // DomainInfos
69
+ * // domainInfos: [ // DomainInfoList // required
70
+ * // { // DomainInfo
71
+ * // name: "STRING_VALUE", // required
72
+ * // status: "REGISTERED" || "DEPRECATED", // required
73
+ * // description: "STRING_VALUE",
74
+ * // arn: "STRING_VALUE",
75
+ * // },
76
+ * // ],
77
+ * // nextPageToken: "STRING_VALUE",
78
+ * // };
79
+ *
68
80
  * ```
69
81
  *
70
82
  * @param ListDomainsCommandInput - {@link ListDomainsCommandInput}
@@ -76,6 +88,8 @@ export interface ListDomainsCommandOutput extends DomainInfos, __MetadataBearer
76
88
  * @throws {@link OperationNotPermittedFault} (client fault)
77
89
  * <p>Returned when the caller doesn't have sufficient permissions to invoke the action.</p>
78
90
  *
91
+ * @throws {@link SWFServiceException}
92
+ * <p>Base exception class for all service exceptions from SWF service.</p>
79
93
  *
80
94
  */
81
95
  export declare class ListDomainsCommand extends $Command<ListDomainsCommandInput, ListDomainsCommandOutput, SWFClientResolvedConfig> {
@@ -95,6 +95,34 @@ export interface ListOpenWorkflowExecutionsCommandOutput extends WorkflowExecuti
95
95
  * };
96
96
  * const command = new ListOpenWorkflowExecutionsCommand(input);
97
97
  * const response = await client.send(command);
98
+ * // { // WorkflowExecutionInfos
99
+ * // executionInfos: [ // WorkflowExecutionInfoList // required
100
+ * // { // WorkflowExecutionInfo
101
+ * // execution: { // WorkflowExecution
102
+ * // workflowId: "STRING_VALUE", // required
103
+ * // runId: "STRING_VALUE", // required
104
+ * // },
105
+ * // workflowType: { // WorkflowType
106
+ * // name: "STRING_VALUE", // required
107
+ * // version: "STRING_VALUE", // required
108
+ * // },
109
+ * // startTimestamp: new Date("TIMESTAMP"), // required
110
+ * // closeTimestamp: new Date("TIMESTAMP"),
111
+ * // executionStatus: "OPEN" || "CLOSED", // required
112
+ * // closeStatus: "COMPLETED" || "FAILED" || "CANCELED" || "TERMINATED" || "CONTINUED_AS_NEW" || "TIMED_OUT",
113
+ * // parent: {
114
+ * // workflowId: "STRING_VALUE", // required
115
+ * // runId: "STRING_VALUE", // required
116
+ * // },
117
+ * // tagList: [ // TagList
118
+ * // "STRING_VALUE",
119
+ * // ],
120
+ * // cancelRequested: true || false,
121
+ * // },
122
+ * // ],
123
+ * // nextPageToken: "STRING_VALUE",
124
+ * // };
125
+ *
98
126
  * ```
99
127
  *
100
128
  * @param ListOpenWorkflowExecutionsCommandInput - {@link ListOpenWorkflowExecutionsCommandInput}
@@ -109,6 +137,8 @@ export interface ListOpenWorkflowExecutionsCommandOutput extends WorkflowExecuti
109
137
  * @throws {@link UnknownResourceFault} (client fault)
110
138
  * <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
139
  *
140
+ * @throws {@link SWFServiceException}
141
+ * <p>Base exception class for all service exceptions from SWF service.</p>
112
142
  *
113
143
  */
114
144
  export declare class ListOpenWorkflowExecutionsCommand extends $Command<ListOpenWorkflowExecutionsCommandInput, ListOpenWorkflowExecutionsCommandOutput, SWFClientResolvedConfig> {
@@ -31,6 +31,15 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceOut
31
31
  * };
32
32
  * const command = new ListTagsForResourceCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // { // ListTagsForResourceOutput
35
+ * // tags: [ // ResourceTagList
36
+ * // { // ResourceTag
37
+ * // key: "STRING_VALUE", // required
38
+ * // value: "STRING_VALUE",
39
+ * // },
40
+ * // ],
41
+ * // };
42
+ *
34
43
  * ```
35
44
  *
36
45
  * @param ListTagsForResourceCommandInput - {@link ListTagsForResourceCommandInput}
@@ -48,6 +57,8 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceOut
48
57
  * @throws {@link UnknownResourceFault} (client fault)
49
58
  * <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>
50
59
  *
60
+ * @throws {@link SWFServiceException}
61
+ * <p>Base exception class for all service exceptions from SWF service.</p>
51
62
  *
52
63
  */
53
64
  export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, SWFClientResolvedConfig> {
@@ -60,6 +60,22 @@ export interface ListWorkflowTypesCommandOutput extends WorkflowTypeInfos, __Met
60
60
  * };
61
61
  * const command = new ListWorkflowTypesCommand(input);
62
62
  * const response = await client.send(command);
63
+ * // { // WorkflowTypeInfos
64
+ * // typeInfos: [ // WorkflowTypeInfoList // required
65
+ * // { // WorkflowTypeInfo
66
+ * // workflowType: { // WorkflowType
67
+ * // name: "STRING_VALUE", // required
68
+ * // version: "STRING_VALUE", // required
69
+ * // },
70
+ * // status: "REGISTERED" || "DEPRECATED", // required
71
+ * // description: "STRING_VALUE",
72
+ * // creationDate: new Date("TIMESTAMP"), // required
73
+ * // deprecationDate: new Date("TIMESTAMP"),
74
+ * // },
75
+ * // ],
76
+ * // nextPageToken: "STRING_VALUE",
77
+ * // };
78
+ *
63
79
  * ```
64
80
  *
65
81
  * @param ListWorkflowTypesCommandInput - {@link ListWorkflowTypesCommandInput}
@@ -74,6 +90,8 @@ export interface ListWorkflowTypesCommandOutput extends WorkflowTypeInfos, __Met
74
90
  * @throws {@link UnknownResourceFault} (client fault)
75
91
  * <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>
76
92
  *
93
+ * @throws {@link SWFServiceException}
94
+ * <p>Base exception class for all service exceptions from SWF service.</p>
77
95
  *
78
96
  */
79
97
  export declare class ListWorkflowTypesCommand extends $Command<ListWorkflowTypesCommandInput, ListWorkflowTypesCommandOutput, SWFClientResolvedConfig> {