@aws-sdk/client-swf 3.933.0 → 3.935.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.
package/dist-cjs/index.js CHANGED
@@ -117,55 +117,6 @@ let SWFServiceException$1 = class SWFServiceException extends smithyClient.Servi
117
117
  }
118
118
  };
119
119
 
120
- const ActivityTaskTimeoutType = {
121
- HEARTBEAT: "HEARTBEAT",
122
- SCHEDULE_TO_CLOSE: "SCHEDULE_TO_CLOSE",
123
- SCHEDULE_TO_START: "SCHEDULE_TO_START",
124
- START_TO_CLOSE: "START_TO_CLOSE",
125
- };
126
- const RegistrationStatus = {
127
- DEPRECATED: "DEPRECATED",
128
- REGISTERED: "REGISTERED",
129
- };
130
- const CancelTimerFailedCause = {
131
- OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED",
132
- TIMER_ID_UNKNOWN: "TIMER_ID_UNKNOWN",
133
- };
134
- const CancelWorkflowExecutionFailedCause = {
135
- OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED",
136
- UNHANDLED_DECISION: "UNHANDLED_DECISION",
137
- };
138
- const ChildPolicy = {
139
- ABANDON: "ABANDON",
140
- REQUEST_CANCEL: "REQUEST_CANCEL",
141
- TERMINATE: "TERMINATE",
142
- };
143
- const WorkflowExecutionTimeoutType = {
144
- START_TO_CLOSE: "START_TO_CLOSE",
145
- };
146
- const CloseStatus = {
147
- CANCELED: "CANCELED",
148
- COMPLETED: "COMPLETED",
149
- CONTINUED_AS_NEW: "CONTINUED_AS_NEW",
150
- FAILED: "FAILED",
151
- TERMINATED: "TERMINATED",
152
- TIMED_OUT: "TIMED_OUT",
153
- };
154
- const CompleteWorkflowExecutionFailedCause = {
155
- OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED",
156
- UNHANDLED_DECISION: "UNHANDLED_DECISION",
157
- };
158
- const ContinueAsNewWorkflowExecutionFailedCause = {
159
- CONTINUE_AS_NEW_WORKFLOW_EXECUTION_RATE_EXCEEDED: "CONTINUE_AS_NEW_WORKFLOW_EXECUTION_RATE_EXCEEDED",
160
- DEFAULT_CHILD_POLICY_UNDEFINED: "DEFAULT_CHILD_POLICY_UNDEFINED",
161
- DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED: "DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED",
162
- DEFAULT_TASK_LIST_UNDEFINED: "DEFAULT_TASK_LIST_UNDEFINED",
163
- DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED: "DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED",
164
- OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED",
165
- UNHANDLED_DECISION: "UNHANDLED_DECISION",
166
- WORKFLOW_TYPE_DEPRECATED: "WORKFLOW_TYPE_DEPRECATED",
167
- WORKFLOW_TYPE_DOES_NOT_EXIST: "WORKFLOW_TYPE_DOES_NOT_EXIST",
168
- };
169
120
  let OperationNotPermittedFault$1 = class OperationNotPermittedFault extends SWFServiceException$1 {
170
121
  name = "OperationNotPermittedFault";
171
122
  $fault = "client";
@@ -190,154 +141,6 @@ let UnknownResourceFault$1 = class UnknownResourceFault extends SWFServiceExcept
190
141
  Object.setPrototypeOf(this, UnknownResourceFault.prototype);
191
142
  }
192
143
  };
193
- const DecisionType = {
194
- CancelTimer: "CancelTimer",
195
- CancelWorkflowExecution: "CancelWorkflowExecution",
196
- CompleteWorkflowExecution: "CompleteWorkflowExecution",
197
- ContinueAsNewWorkflowExecution: "ContinueAsNewWorkflowExecution",
198
- FailWorkflowExecution: "FailWorkflowExecution",
199
- RecordMarker: "RecordMarker",
200
- RequestCancelActivityTask: "RequestCancelActivityTask",
201
- RequestCancelExternalWorkflowExecution: "RequestCancelExternalWorkflowExecution",
202
- ScheduleActivityTask: "ScheduleActivityTask",
203
- ScheduleLambdaFunction: "ScheduleLambdaFunction",
204
- SignalExternalWorkflowExecution: "SignalExternalWorkflowExecution",
205
- StartChildWorkflowExecution: "StartChildWorkflowExecution",
206
- StartTimer: "StartTimer",
207
- };
208
- const DecisionTaskTimeoutType = {
209
- SCHEDULE_TO_START: "SCHEDULE_TO_START",
210
- START_TO_CLOSE: "START_TO_CLOSE",
211
- };
212
- const EventType = {
213
- ActivityTaskCancelRequested: "ActivityTaskCancelRequested",
214
- ActivityTaskCanceled: "ActivityTaskCanceled",
215
- ActivityTaskCompleted: "ActivityTaskCompleted",
216
- ActivityTaskFailed: "ActivityTaskFailed",
217
- ActivityTaskScheduled: "ActivityTaskScheduled",
218
- ActivityTaskStarted: "ActivityTaskStarted",
219
- ActivityTaskTimedOut: "ActivityTaskTimedOut",
220
- CancelTimerFailed: "CancelTimerFailed",
221
- CancelWorkflowExecutionFailed: "CancelWorkflowExecutionFailed",
222
- ChildWorkflowExecutionCanceled: "ChildWorkflowExecutionCanceled",
223
- ChildWorkflowExecutionCompleted: "ChildWorkflowExecutionCompleted",
224
- ChildWorkflowExecutionFailed: "ChildWorkflowExecutionFailed",
225
- ChildWorkflowExecutionStarted: "ChildWorkflowExecutionStarted",
226
- ChildWorkflowExecutionTerminated: "ChildWorkflowExecutionTerminated",
227
- ChildWorkflowExecutionTimedOut: "ChildWorkflowExecutionTimedOut",
228
- CompleteWorkflowExecutionFailed: "CompleteWorkflowExecutionFailed",
229
- ContinueAsNewWorkflowExecutionFailed: "ContinueAsNewWorkflowExecutionFailed",
230
- DecisionTaskCompleted: "DecisionTaskCompleted",
231
- DecisionTaskScheduled: "DecisionTaskScheduled",
232
- DecisionTaskStarted: "DecisionTaskStarted",
233
- DecisionTaskTimedOut: "DecisionTaskTimedOut",
234
- ExternalWorkflowExecutionCancelRequested: "ExternalWorkflowExecutionCancelRequested",
235
- ExternalWorkflowExecutionSignaled: "ExternalWorkflowExecutionSignaled",
236
- FailWorkflowExecutionFailed: "FailWorkflowExecutionFailed",
237
- LambdaFunctionCompleted: "LambdaFunctionCompleted",
238
- LambdaFunctionFailed: "LambdaFunctionFailed",
239
- LambdaFunctionScheduled: "LambdaFunctionScheduled",
240
- LambdaFunctionStarted: "LambdaFunctionStarted",
241
- LambdaFunctionTimedOut: "LambdaFunctionTimedOut",
242
- MarkerRecorded: "MarkerRecorded",
243
- RecordMarkerFailed: "RecordMarkerFailed",
244
- RequestCancelActivityTaskFailed: "RequestCancelActivityTaskFailed",
245
- RequestCancelExternalWorkflowExecutionFailed: "RequestCancelExternalWorkflowExecutionFailed",
246
- RequestCancelExternalWorkflowExecutionInitiated: "RequestCancelExternalWorkflowExecutionInitiated",
247
- ScheduleActivityTaskFailed: "ScheduleActivityTaskFailed",
248
- ScheduleLambdaFunctionFailed: "ScheduleLambdaFunctionFailed",
249
- SignalExternalWorkflowExecutionFailed: "SignalExternalWorkflowExecutionFailed",
250
- SignalExternalWorkflowExecutionInitiated: "SignalExternalWorkflowExecutionInitiated",
251
- StartChildWorkflowExecutionFailed: "StartChildWorkflowExecutionFailed",
252
- StartChildWorkflowExecutionInitiated: "StartChildWorkflowExecutionInitiated",
253
- StartLambdaFunctionFailed: "StartLambdaFunctionFailed",
254
- StartTimerFailed: "StartTimerFailed",
255
- TimerCanceled: "TimerCanceled",
256
- TimerFired: "TimerFired",
257
- TimerStarted: "TimerStarted",
258
- WorkflowExecutionCancelRequested: "WorkflowExecutionCancelRequested",
259
- WorkflowExecutionCanceled: "WorkflowExecutionCanceled",
260
- WorkflowExecutionCompleted: "WorkflowExecutionCompleted",
261
- WorkflowExecutionContinuedAsNew: "WorkflowExecutionContinuedAsNew",
262
- WorkflowExecutionFailed: "WorkflowExecutionFailed",
263
- WorkflowExecutionSignaled: "WorkflowExecutionSignaled",
264
- WorkflowExecutionStarted: "WorkflowExecutionStarted",
265
- WorkflowExecutionTerminated: "WorkflowExecutionTerminated",
266
- WorkflowExecutionTimedOut: "WorkflowExecutionTimedOut",
267
- };
268
- const FailWorkflowExecutionFailedCause = {
269
- OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED",
270
- UNHANDLED_DECISION: "UNHANDLED_DECISION",
271
- };
272
- const LambdaFunctionTimeoutType = {
273
- START_TO_CLOSE: "START_TO_CLOSE",
274
- };
275
- const RecordMarkerFailedCause = {
276
- OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED",
277
- };
278
- const RequestCancelActivityTaskFailedCause = {
279
- ACTIVITY_ID_UNKNOWN: "ACTIVITY_ID_UNKNOWN",
280
- OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED",
281
- };
282
- const RequestCancelExternalWorkflowExecutionFailedCause = {
283
- OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED",
284
- REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED: "REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED",
285
- UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION: "UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION",
286
- };
287
- const ScheduleActivityTaskFailedCause = {
288
- ACTIVITY_CREATION_RATE_EXCEEDED: "ACTIVITY_CREATION_RATE_EXCEEDED",
289
- ACTIVITY_ID_ALREADY_IN_USE: "ACTIVITY_ID_ALREADY_IN_USE",
290
- ACTIVITY_TYPE_DEPRECATED: "ACTIVITY_TYPE_DEPRECATED",
291
- ACTIVITY_TYPE_DOES_NOT_EXIST: "ACTIVITY_TYPE_DOES_NOT_EXIST",
292
- DEFAULT_HEARTBEAT_TIMEOUT_UNDEFINED: "DEFAULT_HEARTBEAT_TIMEOUT_UNDEFINED",
293
- DEFAULT_SCHEDULE_TO_CLOSE_TIMEOUT_UNDEFINED: "DEFAULT_SCHEDULE_TO_CLOSE_TIMEOUT_UNDEFINED",
294
- DEFAULT_SCHEDULE_TO_START_TIMEOUT_UNDEFINED: "DEFAULT_SCHEDULE_TO_START_TIMEOUT_UNDEFINED",
295
- DEFAULT_START_TO_CLOSE_TIMEOUT_UNDEFINED: "DEFAULT_START_TO_CLOSE_TIMEOUT_UNDEFINED",
296
- DEFAULT_TASK_LIST_UNDEFINED: "DEFAULT_TASK_LIST_UNDEFINED",
297
- OPEN_ACTIVITIES_LIMIT_EXCEEDED: "OPEN_ACTIVITIES_LIMIT_EXCEEDED",
298
- OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED",
299
- };
300
- const ScheduleLambdaFunctionFailedCause = {
301
- ID_ALREADY_IN_USE: "ID_ALREADY_IN_USE",
302
- LAMBDA_FUNCTION_CREATION_RATE_EXCEEDED: "LAMBDA_FUNCTION_CREATION_RATE_EXCEEDED",
303
- LAMBDA_SERVICE_NOT_AVAILABLE_IN_REGION: "LAMBDA_SERVICE_NOT_AVAILABLE_IN_REGION",
304
- OPEN_LAMBDA_FUNCTIONS_LIMIT_EXCEEDED: "OPEN_LAMBDA_FUNCTIONS_LIMIT_EXCEEDED",
305
- };
306
- const SignalExternalWorkflowExecutionFailedCause = {
307
- OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED",
308
- SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED: "SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED",
309
- UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION: "UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION",
310
- };
311
- const StartChildWorkflowExecutionFailedCause = {
312
- CHILD_CREATION_RATE_EXCEEDED: "CHILD_CREATION_RATE_EXCEEDED",
313
- DEFAULT_CHILD_POLICY_UNDEFINED: "DEFAULT_CHILD_POLICY_UNDEFINED",
314
- DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED: "DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED",
315
- DEFAULT_TASK_LIST_UNDEFINED: "DEFAULT_TASK_LIST_UNDEFINED",
316
- DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED: "DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED",
317
- OPEN_CHILDREN_LIMIT_EXCEEDED: "OPEN_CHILDREN_LIMIT_EXCEEDED",
318
- OPEN_WORKFLOWS_LIMIT_EXCEEDED: "OPEN_WORKFLOWS_LIMIT_EXCEEDED",
319
- OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED",
320
- WORKFLOW_ALREADY_RUNNING: "WORKFLOW_ALREADY_RUNNING",
321
- WORKFLOW_TYPE_DEPRECATED: "WORKFLOW_TYPE_DEPRECATED",
322
- WORKFLOW_TYPE_DOES_NOT_EXIST: "WORKFLOW_TYPE_DOES_NOT_EXIST",
323
- };
324
- const StartLambdaFunctionFailedCause = {
325
- ASSUME_ROLE_FAILED: "ASSUME_ROLE_FAILED",
326
- };
327
- const StartTimerFailedCause = {
328
- OPEN_TIMERS_LIMIT_EXCEEDED: "OPEN_TIMERS_LIMIT_EXCEEDED",
329
- OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED",
330
- TIMER_CREATION_RATE_EXCEEDED: "TIMER_CREATION_RATE_EXCEEDED",
331
- TIMER_ID_ALREADY_IN_USE: "TIMER_ID_ALREADY_IN_USE",
332
- };
333
- const WorkflowExecutionCancelRequestedCause = {
334
- CHILD_POLICY_APPLIED: "CHILD_POLICY_APPLIED",
335
- };
336
- const WorkflowExecutionTerminatedCause = {
337
- CHILD_POLICY_APPLIED: "CHILD_POLICY_APPLIED",
338
- EVENT_LIMIT_EXCEEDED: "EVENT_LIMIT_EXCEEDED",
339
- OPERATOR_INITIATED: "OPERATOR_INITIATED",
340
- };
341
144
  let DefaultUndefinedFault$1 = class DefaultUndefinedFault extends SWFServiceException$1 {
342
145
  name = "DefaultUndefinedFault";
343
146
  $fault = "client";
@@ -386,10 +189,6 @@ let DomainDeprecatedFault$1 = class DomainDeprecatedFault extends SWFServiceExce
386
189
  Object.setPrototypeOf(this, DomainDeprecatedFault.prototype);
387
190
  }
388
191
  };
389
- const ExecutionStatus = {
390
- CLOSED: "CLOSED",
391
- OPEN: "OPEN",
392
- };
393
192
  let DomainAlreadyExistsFault$1 = class DomainAlreadyExistsFault extends SWFServiceException$1 {
394
193
  name = "DomainAlreadyExistsFault";
395
194
  $fault = "client";
@@ -2607,6 +2406,208 @@ const paginateListWorkflowTypes = core.createPaginator(SWFClient, ListWorkflowTy
2607
2406
 
2608
2407
  const paginatePollForDecisionTask = core.createPaginator(SWFClient, PollForDecisionTaskCommand, "nextPageToken", "nextPageToken", "maximumPageSize");
2609
2408
 
2409
+ const ActivityTaskTimeoutType = {
2410
+ HEARTBEAT: "HEARTBEAT",
2411
+ SCHEDULE_TO_CLOSE: "SCHEDULE_TO_CLOSE",
2412
+ SCHEDULE_TO_START: "SCHEDULE_TO_START",
2413
+ START_TO_CLOSE: "START_TO_CLOSE",
2414
+ };
2415
+ const RegistrationStatus = {
2416
+ DEPRECATED: "DEPRECATED",
2417
+ REGISTERED: "REGISTERED",
2418
+ };
2419
+ const CancelTimerFailedCause = {
2420
+ OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED",
2421
+ TIMER_ID_UNKNOWN: "TIMER_ID_UNKNOWN",
2422
+ };
2423
+ const CancelWorkflowExecutionFailedCause = {
2424
+ OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED",
2425
+ UNHANDLED_DECISION: "UNHANDLED_DECISION",
2426
+ };
2427
+ const ChildPolicy = {
2428
+ ABANDON: "ABANDON",
2429
+ REQUEST_CANCEL: "REQUEST_CANCEL",
2430
+ TERMINATE: "TERMINATE",
2431
+ };
2432
+ const WorkflowExecutionTimeoutType = {
2433
+ START_TO_CLOSE: "START_TO_CLOSE",
2434
+ };
2435
+ const CloseStatus = {
2436
+ CANCELED: "CANCELED",
2437
+ COMPLETED: "COMPLETED",
2438
+ CONTINUED_AS_NEW: "CONTINUED_AS_NEW",
2439
+ FAILED: "FAILED",
2440
+ TERMINATED: "TERMINATED",
2441
+ TIMED_OUT: "TIMED_OUT",
2442
+ };
2443
+ const CompleteWorkflowExecutionFailedCause = {
2444
+ OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED",
2445
+ UNHANDLED_DECISION: "UNHANDLED_DECISION",
2446
+ };
2447
+ const ContinueAsNewWorkflowExecutionFailedCause = {
2448
+ CONTINUE_AS_NEW_WORKFLOW_EXECUTION_RATE_EXCEEDED: "CONTINUE_AS_NEW_WORKFLOW_EXECUTION_RATE_EXCEEDED",
2449
+ DEFAULT_CHILD_POLICY_UNDEFINED: "DEFAULT_CHILD_POLICY_UNDEFINED",
2450
+ DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED: "DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED",
2451
+ DEFAULT_TASK_LIST_UNDEFINED: "DEFAULT_TASK_LIST_UNDEFINED",
2452
+ DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED: "DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED",
2453
+ OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED",
2454
+ UNHANDLED_DECISION: "UNHANDLED_DECISION",
2455
+ WORKFLOW_TYPE_DEPRECATED: "WORKFLOW_TYPE_DEPRECATED",
2456
+ WORKFLOW_TYPE_DOES_NOT_EXIST: "WORKFLOW_TYPE_DOES_NOT_EXIST",
2457
+ };
2458
+ const DecisionType = {
2459
+ CancelTimer: "CancelTimer",
2460
+ CancelWorkflowExecution: "CancelWorkflowExecution",
2461
+ CompleteWorkflowExecution: "CompleteWorkflowExecution",
2462
+ ContinueAsNewWorkflowExecution: "ContinueAsNewWorkflowExecution",
2463
+ FailWorkflowExecution: "FailWorkflowExecution",
2464
+ RecordMarker: "RecordMarker",
2465
+ RequestCancelActivityTask: "RequestCancelActivityTask",
2466
+ RequestCancelExternalWorkflowExecution: "RequestCancelExternalWorkflowExecution",
2467
+ ScheduleActivityTask: "ScheduleActivityTask",
2468
+ ScheduleLambdaFunction: "ScheduleLambdaFunction",
2469
+ SignalExternalWorkflowExecution: "SignalExternalWorkflowExecution",
2470
+ StartChildWorkflowExecution: "StartChildWorkflowExecution",
2471
+ StartTimer: "StartTimer",
2472
+ };
2473
+ const DecisionTaskTimeoutType = {
2474
+ SCHEDULE_TO_START: "SCHEDULE_TO_START",
2475
+ START_TO_CLOSE: "START_TO_CLOSE",
2476
+ };
2477
+ const EventType = {
2478
+ ActivityTaskCancelRequested: "ActivityTaskCancelRequested",
2479
+ ActivityTaskCanceled: "ActivityTaskCanceled",
2480
+ ActivityTaskCompleted: "ActivityTaskCompleted",
2481
+ ActivityTaskFailed: "ActivityTaskFailed",
2482
+ ActivityTaskScheduled: "ActivityTaskScheduled",
2483
+ ActivityTaskStarted: "ActivityTaskStarted",
2484
+ ActivityTaskTimedOut: "ActivityTaskTimedOut",
2485
+ CancelTimerFailed: "CancelTimerFailed",
2486
+ CancelWorkflowExecutionFailed: "CancelWorkflowExecutionFailed",
2487
+ ChildWorkflowExecutionCanceled: "ChildWorkflowExecutionCanceled",
2488
+ ChildWorkflowExecutionCompleted: "ChildWorkflowExecutionCompleted",
2489
+ ChildWorkflowExecutionFailed: "ChildWorkflowExecutionFailed",
2490
+ ChildWorkflowExecutionStarted: "ChildWorkflowExecutionStarted",
2491
+ ChildWorkflowExecutionTerminated: "ChildWorkflowExecutionTerminated",
2492
+ ChildWorkflowExecutionTimedOut: "ChildWorkflowExecutionTimedOut",
2493
+ CompleteWorkflowExecutionFailed: "CompleteWorkflowExecutionFailed",
2494
+ ContinueAsNewWorkflowExecutionFailed: "ContinueAsNewWorkflowExecutionFailed",
2495
+ DecisionTaskCompleted: "DecisionTaskCompleted",
2496
+ DecisionTaskScheduled: "DecisionTaskScheduled",
2497
+ DecisionTaskStarted: "DecisionTaskStarted",
2498
+ DecisionTaskTimedOut: "DecisionTaskTimedOut",
2499
+ ExternalWorkflowExecutionCancelRequested: "ExternalWorkflowExecutionCancelRequested",
2500
+ ExternalWorkflowExecutionSignaled: "ExternalWorkflowExecutionSignaled",
2501
+ FailWorkflowExecutionFailed: "FailWorkflowExecutionFailed",
2502
+ LambdaFunctionCompleted: "LambdaFunctionCompleted",
2503
+ LambdaFunctionFailed: "LambdaFunctionFailed",
2504
+ LambdaFunctionScheduled: "LambdaFunctionScheduled",
2505
+ LambdaFunctionStarted: "LambdaFunctionStarted",
2506
+ LambdaFunctionTimedOut: "LambdaFunctionTimedOut",
2507
+ MarkerRecorded: "MarkerRecorded",
2508
+ RecordMarkerFailed: "RecordMarkerFailed",
2509
+ RequestCancelActivityTaskFailed: "RequestCancelActivityTaskFailed",
2510
+ RequestCancelExternalWorkflowExecutionFailed: "RequestCancelExternalWorkflowExecutionFailed",
2511
+ RequestCancelExternalWorkflowExecutionInitiated: "RequestCancelExternalWorkflowExecutionInitiated",
2512
+ ScheduleActivityTaskFailed: "ScheduleActivityTaskFailed",
2513
+ ScheduleLambdaFunctionFailed: "ScheduleLambdaFunctionFailed",
2514
+ SignalExternalWorkflowExecutionFailed: "SignalExternalWorkflowExecutionFailed",
2515
+ SignalExternalWorkflowExecutionInitiated: "SignalExternalWorkflowExecutionInitiated",
2516
+ StartChildWorkflowExecutionFailed: "StartChildWorkflowExecutionFailed",
2517
+ StartChildWorkflowExecutionInitiated: "StartChildWorkflowExecutionInitiated",
2518
+ StartLambdaFunctionFailed: "StartLambdaFunctionFailed",
2519
+ StartTimerFailed: "StartTimerFailed",
2520
+ TimerCanceled: "TimerCanceled",
2521
+ TimerFired: "TimerFired",
2522
+ TimerStarted: "TimerStarted",
2523
+ WorkflowExecutionCancelRequested: "WorkflowExecutionCancelRequested",
2524
+ WorkflowExecutionCanceled: "WorkflowExecutionCanceled",
2525
+ WorkflowExecutionCompleted: "WorkflowExecutionCompleted",
2526
+ WorkflowExecutionContinuedAsNew: "WorkflowExecutionContinuedAsNew",
2527
+ WorkflowExecutionFailed: "WorkflowExecutionFailed",
2528
+ WorkflowExecutionSignaled: "WorkflowExecutionSignaled",
2529
+ WorkflowExecutionStarted: "WorkflowExecutionStarted",
2530
+ WorkflowExecutionTerminated: "WorkflowExecutionTerminated",
2531
+ WorkflowExecutionTimedOut: "WorkflowExecutionTimedOut",
2532
+ };
2533
+ const FailWorkflowExecutionFailedCause = {
2534
+ OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED",
2535
+ UNHANDLED_DECISION: "UNHANDLED_DECISION",
2536
+ };
2537
+ const LambdaFunctionTimeoutType = {
2538
+ START_TO_CLOSE: "START_TO_CLOSE",
2539
+ };
2540
+ const RecordMarkerFailedCause = {
2541
+ OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED",
2542
+ };
2543
+ const RequestCancelActivityTaskFailedCause = {
2544
+ ACTIVITY_ID_UNKNOWN: "ACTIVITY_ID_UNKNOWN",
2545
+ OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED",
2546
+ };
2547
+ const RequestCancelExternalWorkflowExecutionFailedCause = {
2548
+ OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED",
2549
+ REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED: "REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED",
2550
+ UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION: "UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION",
2551
+ };
2552
+ const ScheduleActivityTaskFailedCause = {
2553
+ ACTIVITY_CREATION_RATE_EXCEEDED: "ACTIVITY_CREATION_RATE_EXCEEDED",
2554
+ ACTIVITY_ID_ALREADY_IN_USE: "ACTIVITY_ID_ALREADY_IN_USE",
2555
+ ACTIVITY_TYPE_DEPRECATED: "ACTIVITY_TYPE_DEPRECATED",
2556
+ ACTIVITY_TYPE_DOES_NOT_EXIST: "ACTIVITY_TYPE_DOES_NOT_EXIST",
2557
+ DEFAULT_HEARTBEAT_TIMEOUT_UNDEFINED: "DEFAULT_HEARTBEAT_TIMEOUT_UNDEFINED",
2558
+ DEFAULT_SCHEDULE_TO_CLOSE_TIMEOUT_UNDEFINED: "DEFAULT_SCHEDULE_TO_CLOSE_TIMEOUT_UNDEFINED",
2559
+ DEFAULT_SCHEDULE_TO_START_TIMEOUT_UNDEFINED: "DEFAULT_SCHEDULE_TO_START_TIMEOUT_UNDEFINED",
2560
+ DEFAULT_START_TO_CLOSE_TIMEOUT_UNDEFINED: "DEFAULT_START_TO_CLOSE_TIMEOUT_UNDEFINED",
2561
+ DEFAULT_TASK_LIST_UNDEFINED: "DEFAULT_TASK_LIST_UNDEFINED",
2562
+ OPEN_ACTIVITIES_LIMIT_EXCEEDED: "OPEN_ACTIVITIES_LIMIT_EXCEEDED",
2563
+ OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED",
2564
+ };
2565
+ const ScheduleLambdaFunctionFailedCause = {
2566
+ ID_ALREADY_IN_USE: "ID_ALREADY_IN_USE",
2567
+ LAMBDA_FUNCTION_CREATION_RATE_EXCEEDED: "LAMBDA_FUNCTION_CREATION_RATE_EXCEEDED",
2568
+ LAMBDA_SERVICE_NOT_AVAILABLE_IN_REGION: "LAMBDA_SERVICE_NOT_AVAILABLE_IN_REGION",
2569
+ OPEN_LAMBDA_FUNCTIONS_LIMIT_EXCEEDED: "OPEN_LAMBDA_FUNCTIONS_LIMIT_EXCEEDED",
2570
+ };
2571
+ const SignalExternalWorkflowExecutionFailedCause = {
2572
+ OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED",
2573
+ SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED: "SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED",
2574
+ UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION: "UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION",
2575
+ };
2576
+ const StartChildWorkflowExecutionFailedCause = {
2577
+ CHILD_CREATION_RATE_EXCEEDED: "CHILD_CREATION_RATE_EXCEEDED",
2578
+ DEFAULT_CHILD_POLICY_UNDEFINED: "DEFAULT_CHILD_POLICY_UNDEFINED",
2579
+ DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED: "DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED",
2580
+ DEFAULT_TASK_LIST_UNDEFINED: "DEFAULT_TASK_LIST_UNDEFINED",
2581
+ DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED: "DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED",
2582
+ OPEN_CHILDREN_LIMIT_EXCEEDED: "OPEN_CHILDREN_LIMIT_EXCEEDED",
2583
+ OPEN_WORKFLOWS_LIMIT_EXCEEDED: "OPEN_WORKFLOWS_LIMIT_EXCEEDED",
2584
+ OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED",
2585
+ WORKFLOW_ALREADY_RUNNING: "WORKFLOW_ALREADY_RUNNING",
2586
+ WORKFLOW_TYPE_DEPRECATED: "WORKFLOW_TYPE_DEPRECATED",
2587
+ WORKFLOW_TYPE_DOES_NOT_EXIST: "WORKFLOW_TYPE_DOES_NOT_EXIST",
2588
+ };
2589
+ const StartLambdaFunctionFailedCause = {
2590
+ ASSUME_ROLE_FAILED: "ASSUME_ROLE_FAILED",
2591
+ };
2592
+ const StartTimerFailedCause = {
2593
+ OPEN_TIMERS_LIMIT_EXCEEDED: "OPEN_TIMERS_LIMIT_EXCEEDED",
2594
+ OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED",
2595
+ TIMER_CREATION_RATE_EXCEEDED: "TIMER_CREATION_RATE_EXCEEDED",
2596
+ TIMER_ID_ALREADY_IN_USE: "TIMER_ID_ALREADY_IN_USE",
2597
+ };
2598
+ const WorkflowExecutionCancelRequestedCause = {
2599
+ CHILD_POLICY_APPLIED: "CHILD_POLICY_APPLIED",
2600
+ };
2601
+ const WorkflowExecutionTerminatedCause = {
2602
+ CHILD_POLICY_APPLIED: "CHILD_POLICY_APPLIED",
2603
+ EVENT_LIMIT_EXCEEDED: "EVENT_LIMIT_EXCEEDED",
2604
+ OPERATOR_INITIATED: "OPERATOR_INITIATED",
2605
+ };
2606
+ const ExecutionStatus = {
2607
+ CLOSED: "CLOSED",
2608
+ OPEN: "OPEN",
2609
+ };
2610
+
2610
2611
  Object.defineProperty(exports, "$Command", {
2611
2612
  enumerable: true,
2612
2613
  get: function () { return smithyClient.Command; }
package/dist-es/index.js CHANGED
@@ -2,5 +2,6 @@ export * from "./SWFClient";
2
2
  export * from "./SWF";
3
3
  export * from "./commands";
4
4
  export * from "./pagination";
5
- export * from "./models";
5
+ export * from "./models/enums";
6
+ export * from "./models/errors";
6
7
  export { SWFServiceException } from "./models/SWFServiceException";
@@ -0,0 +1,201 @@
1
+ export const ActivityTaskTimeoutType = {
2
+ HEARTBEAT: "HEARTBEAT",
3
+ SCHEDULE_TO_CLOSE: "SCHEDULE_TO_CLOSE",
4
+ SCHEDULE_TO_START: "SCHEDULE_TO_START",
5
+ START_TO_CLOSE: "START_TO_CLOSE",
6
+ };
7
+ export const RegistrationStatus = {
8
+ DEPRECATED: "DEPRECATED",
9
+ REGISTERED: "REGISTERED",
10
+ };
11
+ export const CancelTimerFailedCause = {
12
+ OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED",
13
+ TIMER_ID_UNKNOWN: "TIMER_ID_UNKNOWN",
14
+ };
15
+ export const CancelWorkflowExecutionFailedCause = {
16
+ OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED",
17
+ UNHANDLED_DECISION: "UNHANDLED_DECISION",
18
+ };
19
+ export const ChildPolicy = {
20
+ ABANDON: "ABANDON",
21
+ REQUEST_CANCEL: "REQUEST_CANCEL",
22
+ TERMINATE: "TERMINATE",
23
+ };
24
+ export const WorkflowExecutionTimeoutType = {
25
+ START_TO_CLOSE: "START_TO_CLOSE",
26
+ };
27
+ export const CloseStatus = {
28
+ CANCELED: "CANCELED",
29
+ COMPLETED: "COMPLETED",
30
+ CONTINUED_AS_NEW: "CONTINUED_AS_NEW",
31
+ FAILED: "FAILED",
32
+ TERMINATED: "TERMINATED",
33
+ TIMED_OUT: "TIMED_OUT",
34
+ };
35
+ export const CompleteWorkflowExecutionFailedCause = {
36
+ OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED",
37
+ UNHANDLED_DECISION: "UNHANDLED_DECISION",
38
+ };
39
+ export const ContinueAsNewWorkflowExecutionFailedCause = {
40
+ CONTINUE_AS_NEW_WORKFLOW_EXECUTION_RATE_EXCEEDED: "CONTINUE_AS_NEW_WORKFLOW_EXECUTION_RATE_EXCEEDED",
41
+ DEFAULT_CHILD_POLICY_UNDEFINED: "DEFAULT_CHILD_POLICY_UNDEFINED",
42
+ DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED: "DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED",
43
+ DEFAULT_TASK_LIST_UNDEFINED: "DEFAULT_TASK_LIST_UNDEFINED",
44
+ DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED: "DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED",
45
+ OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED",
46
+ UNHANDLED_DECISION: "UNHANDLED_DECISION",
47
+ WORKFLOW_TYPE_DEPRECATED: "WORKFLOW_TYPE_DEPRECATED",
48
+ WORKFLOW_TYPE_DOES_NOT_EXIST: "WORKFLOW_TYPE_DOES_NOT_EXIST",
49
+ };
50
+ export const DecisionType = {
51
+ CancelTimer: "CancelTimer",
52
+ CancelWorkflowExecution: "CancelWorkflowExecution",
53
+ CompleteWorkflowExecution: "CompleteWorkflowExecution",
54
+ ContinueAsNewWorkflowExecution: "ContinueAsNewWorkflowExecution",
55
+ FailWorkflowExecution: "FailWorkflowExecution",
56
+ RecordMarker: "RecordMarker",
57
+ RequestCancelActivityTask: "RequestCancelActivityTask",
58
+ RequestCancelExternalWorkflowExecution: "RequestCancelExternalWorkflowExecution",
59
+ ScheduleActivityTask: "ScheduleActivityTask",
60
+ ScheduleLambdaFunction: "ScheduleLambdaFunction",
61
+ SignalExternalWorkflowExecution: "SignalExternalWorkflowExecution",
62
+ StartChildWorkflowExecution: "StartChildWorkflowExecution",
63
+ StartTimer: "StartTimer",
64
+ };
65
+ export const DecisionTaskTimeoutType = {
66
+ SCHEDULE_TO_START: "SCHEDULE_TO_START",
67
+ START_TO_CLOSE: "START_TO_CLOSE",
68
+ };
69
+ export const EventType = {
70
+ ActivityTaskCancelRequested: "ActivityTaskCancelRequested",
71
+ ActivityTaskCanceled: "ActivityTaskCanceled",
72
+ ActivityTaskCompleted: "ActivityTaskCompleted",
73
+ ActivityTaskFailed: "ActivityTaskFailed",
74
+ ActivityTaskScheduled: "ActivityTaskScheduled",
75
+ ActivityTaskStarted: "ActivityTaskStarted",
76
+ ActivityTaskTimedOut: "ActivityTaskTimedOut",
77
+ CancelTimerFailed: "CancelTimerFailed",
78
+ CancelWorkflowExecutionFailed: "CancelWorkflowExecutionFailed",
79
+ ChildWorkflowExecutionCanceled: "ChildWorkflowExecutionCanceled",
80
+ ChildWorkflowExecutionCompleted: "ChildWorkflowExecutionCompleted",
81
+ ChildWorkflowExecutionFailed: "ChildWorkflowExecutionFailed",
82
+ ChildWorkflowExecutionStarted: "ChildWorkflowExecutionStarted",
83
+ ChildWorkflowExecutionTerminated: "ChildWorkflowExecutionTerminated",
84
+ ChildWorkflowExecutionTimedOut: "ChildWorkflowExecutionTimedOut",
85
+ CompleteWorkflowExecutionFailed: "CompleteWorkflowExecutionFailed",
86
+ ContinueAsNewWorkflowExecutionFailed: "ContinueAsNewWorkflowExecutionFailed",
87
+ DecisionTaskCompleted: "DecisionTaskCompleted",
88
+ DecisionTaskScheduled: "DecisionTaskScheduled",
89
+ DecisionTaskStarted: "DecisionTaskStarted",
90
+ DecisionTaskTimedOut: "DecisionTaskTimedOut",
91
+ ExternalWorkflowExecutionCancelRequested: "ExternalWorkflowExecutionCancelRequested",
92
+ ExternalWorkflowExecutionSignaled: "ExternalWorkflowExecutionSignaled",
93
+ FailWorkflowExecutionFailed: "FailWorkflowExecutionFailed",
94
+ LambdaFunctionCompleted: "LambdaFunctionCompleted",
95
+ LambdaFunctionFailed: "LambdaFunctionFailed",
96
+ LambdaFunctionScheduled: "LambdaFunctionScheduled",
97
+ LambdaFunctionStarted: "LambdaFunctionStarted",
98
+ LambdaFunctionTimedOut: "LambdaFunctionTimedOut",
99
+ MarkerRecorded: "MarkerRecorded",
100
+ RecordMarkerFailed: "RecordMarkerFailed",
101
+ RequestCancelActivityTaskFailed: "RequestCancelActivityTaskFailed",
102
+ RequestCancelExternalWorkflowExecutionFailed: "RequestCancelExternalWorkflowExecutionFailed",
103
+ RequestCancelExternalWorkflowExecutionInitiated: "RequestCancelExternalWorkflowExecutionInitiated",
104
+ ScheduleActivityTaskFailed: "ScheduleActivityTaskFailed",
105
+ ScheduleLambdaFunctionFailed: "ScheduleLambdaFunctionFailed",
106
+ SignalExternalWorkflowExecutionFailed: "SignalExternalWorkflowExecutionFailed",
107
+ SignalExternalWorkflowExecutionInitiated: "SignalExternalWorkflowExecutionInitiated",
108
+ StartChildWorkflowExecutionFailed: "StartChildWorkflowExecutionFailed",
109
+ StartChildWorkflowExecutionInitiated: "StartChildWorkflowExecutionInitiated",
110
+ StartLambdaFunctionFailed: "StartLambdaFunctionFailed",
111
+ StartTimerFailed: "StartTimerFailed",
112
+ TimerCanceled: "TimerCanceled",
113
+ TimerFired: "TimerFired",
114
+ TimerStarted: "TimerStarted",
115
+ WorkflowExecutionCancelRequested: "WorkflowExecutionCancelRequested",
116
+ WorkflowExecutionCanceled: "WorkflowExecutionCanceled",
117
+ WorkflowExecutionCompleted: "WorkflowExecutionCompleted",
118
+ WorkflowExecutionContinuedAsNew: "WorkflowExecutionContinuedAsNew",
119
+ WorkflowExecutionFailed: "WorkflowExecutionFailed",
120
+ WorkflowExecutionSignaled: "WorkflowExecutionSignaled",
121
+ WorkflowExecutionStarted: "WorkflowExecutionStarted",
122
+ WorkflowExecutionTerminated: "WorkflowExecutionTerminated",
123
+ WorkflowExecutionTimedOut: "WorkflowExecutionTimedOut",
124
+ };
125
+ export const FailWorkflowExecutionFailedCause = {
126
+ OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED",
127
+ UNHANDLED_DECISION: "UNHANDLED_DECISION",
128
+ };
129
+ export const LambdaFunctionTimeoutType = {
130
+ START_TO_CLOSE: "START_TO_CLOSE",
131
+ };
132
+ export const RecordMarkerFailedCause = {
133
+ OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED",
134
+ };
135
+ export const RequestCancelActivityTaskFailedCause = {
136
+ ACTIVITY_ID_UNKNOWN: "ACTIVITY_ID_UNKNOWN",
137
+ OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED",
138
+ };
139
+ export const RequestCancelExternalWorkflowExecutionFailedCause = {
140
+ OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED",
141
+ REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED: "REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED",
142
+ UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION: "UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION",
143
+ };
144
+ export const ScheduleActivityTaskFailedCause = {
145
+ ACTIVITY_CREATION_RATE_EXCEEDED: "ACTIVITY_CREATION_RATE_EXCEEDED",
146
+ ACTIVITY_ID_ALREADY_IN_USE: "ACTIVITY_ID_ALREADY_IN_USE",
147
+ ACTIVITY_TYPE_DEPRECATED: "ACTIVITY_TYPE_DEPRECATED",
148
+ ACTIVITY_TYPE_DOES_NOT_EXIST: "ACTIVITY_TYPE_DOES_NOT_EXIST",
149
+ DEFAULT_HEARTBEAT_TIMEOUT_UNDEFINED: "DEFAULT_HEARTBEAT_TIMEOUT_UNDEFINED",
150
+ DEFAULT_SCHEDULE_TO_CLOSE_TIMEOUT_UNDEFINED: "DEFAULT_SCHEDULE_TO_CLOSE_TIMEOUT_UNDEFINED",
151
+ DEFAULT_SCHEDULE_TO_START_TIMEOUT_UNDEFINED: "DEFAULT_SCHEDULE_TO_START_TIMEOUT_UNDEFINED",
152
+ DEFAULT_START_TO_CLOSE_TIMEOUT_UNDEFINED: "DEFAULT_START_TO_CLOSE_TIMEOUT_UNDEFINED",
153
+ DEFAULT_TASK_LIST_UNDEFINED: "DEFAULT_TASK_LIST_UNDEFINED",
154
+ OPEN_ACTIVITIES_LIMIT_EXCEEDED: "OPEN_ACTIVITIES_LIMIT_EXCEEDED",
155
+ OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED",
156
+ };
157
+ export const ScheduleLambdaFunctionFailedCause = {
158
+ ID_ALREADY_IN_USE: "ID_ALREADY_IN_USE",
159
+ LAMBDA_FUNCTION_CREATION_RATE_EXCEEDED: "LAMBDA_FUNCTION_CREATION_RATE_EXCEEDED",
160
+ LAMBDA_SERVICE_NOT_AVAILABLE_IN_REGION: "LAMBDA_SERVICE_NOT_AVAILABLE_IN_REGION",
161
+ OPEN_LAMBDA_FUNCTIONS_LIMIT_EXCEEDED: "OPEN_LAMBDA_FUNCTIONS_LIMIT_EXCEEDED",
162
+ };
163
+ export const SignalExternalWorkflowExecutionFailedCause = {
164
+ OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED",
165
+ SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED: "SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED",
166
+ UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION: "UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION",
167
+ };
168
+ export const StartChildWorkflowExecutionFailedCause = {
169
+ CHILD_CREATION_RATE_EXCEEDED: "CHILD_CREATION_RATE_EXCEEDED",
170
+ DEFAULT_CHILD_POLICY_UNDEFINED: "DEFAULT_CHILD_POLICY_UNDEFINED",
171
+ DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED: "DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED",
172
+ DEFAULT_TASK_LIST_UNDEFINED: "DEFAULT_TASK_LIST_UNDEFINED",
173
+ DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED: "DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED",
174
+ OPEN_CHILDREN_LIMIT_EXCEEDED: "OPEN_CHILDREN_LIMIT_EXCEEDED",
175
+ OPEN_WORKFLOWS_LIMIT_EXCEEDED: "OPEN_WORKFLOWS_LIMIT_EXCEEDED",
176
+ OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED",
177
+ WORKFLOW_ALREADY_RUNNING: "WORKFLOW_ALREADY_RUNNING",
178
+ WORKFLOW_TYPE_DEPRECATED: "WORKFLOW_TYPE_DEPRECATED",
179
+ WORKFLOW_TYPE_DOES_NOT_EXIST: "WORKFLOW_TYPE_DOES_NOT_EXIST",
180
+ };
181
+ export const StartLambdaFunctionFailedCause = {
182
+ ASSUME_ROLE_FAILED: "ASSUME_ROLE_FAILED",
183
+ };
184
+ export const StartTimerFailedCause = {
185
+ OPEN_TIMERS_LIMIT_EXCEEDED: "OPEN_TIMERS_LIMIT_EXCEEDED",
186
+ OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED",
187
+ TIMER_CREATION_RATE_EXCEEDED: "TIMER_CREATION_RATE_EXCEEDED",
188
+ TIMER_ID_ALREADY_IN_USE: "TIMER_ID_ALREADY_IN_USE",
189
+ };
190
+ export const WorkflowExecutionCancelRequestedCause = {
191
+ CHILD_POLICY_APPLIED: "CHILD_POLICY_APPLIED",
192
+ };
193
+ export const WorkflowExecutionTerminatedCause = {
194
+ CHILD_POLICY_APPLIED: "CHILD_POLICY_APPLIED",
195
+ EVENT_LIMIT_EXCEEDED: "EVENT_LIMIT_EXCEEDED",
196
+ OPERATOR_INITIATED: "OPERATOR_INITIATED",
197
+ };
198
+ export const ExecutionStatus = {
199
+ CLOSED: "CLOSED",
200
+ OPEN: "OPEN",
201
+ };