@aws-sdk/client-swf 3.300.0 → 3.303.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 (42) hide show
  1. package/dist-cjs/models/models_0.js +200 -226
  2. package/dist-es/models/models_0.js +200 -226
  3. package/dist-types/commands/CountClosedWorkflowExecutionsCommand.d.ts +6 -6
  4. package/dist-types/commands/CountOpenWorkflowExecutionsCommand.d.ts +5 -5
  5. package/dist-types/commands/CountPendingActivityTasksCommand.d.ts +2 -2
  6. package/dist-types/commands/CountPendingDecisionTasksCommand.d.ts +2 -2
  7. package/dist-types/commands/DeprecateActivityTypeCommand.d.ts +2 -2
  8. package/dist-types/commands/DeprecateDomainCommand.d.ts +1 -1
  9. package/dist-types/commands/DeprecateWorkflowTypeCommand.d.ts +2 -2
  10. package/dist-types/commands/DescribeActivityTypeCommand.d.ts +2 -2
  11. package/dist-types/commands/DescribeDomainCommand.d.ts +1 -1
  12. package/dist-types/commands/DescribeWorkflowExecutionCommand.d.ts +2 -2
  13. package/dist-types/commands/DescribeWorkflowTypeCommand.d.ts +2 -2
  14. package/dist-types/commands/GetWorkflowExecutionHistoryCommand.d.ts +2 -2
  15. package/dist-types/commands/ListActivityTypesCommand.d.ts +1 -1
  16. package/dist-types/commands/ListClosedWorkflowExecutionsCommand.d.ts +6 -6
  17. package/dist-types/commands/ListDomainsCommand.d.ts +1 -1
  18. package/dist-types/commands/ListOpenWorkflowExecutionsCommand.d.ts +5 -5
  19. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  20. package/dist-types/commands/ListWorkflowTypesCommand.d.ts +1 -1
  21. package/dist-types/commands/PollForActivityTaskCommand.d.ts +2 -2
  22. package/dist-types/commands/PollForDecisionTaskCommand.d.ts +2 -2
  23. package/dist-types/commands/RecordActivityTaskHeartbeatCommand.d.ts +1 -1
  24. package/dist-types/commands/RegisterActivityTypeCommand.d.ts +2 -2
  25. package/dist-types/commands/RegisterDomainCommand.d.ts +3 -3
  26. package/dist-types/commands/RegisterWorkflowTypeCommand.d.ts +2 -2
  27. package/dist-types/commands/RequestCancelWorkflowExecutionCommand.d.ts +1 -1
  28. package/dist-types/commands/RespondActivityTaskCanceledCommand.d.ts +1 -1
  29. package/dist-types/commands/RespondActivityTaskCompletedCommand.d.ts +1 -1
  30. package/dist-types/commands/RespondActivityTaskFailedCommand.d.ts +1 -1
  31. package/dist-types/commands/RespondDecisionTaskCompletedCommand.d.ts +20 -20
  32. package/dist-types/commands/SignalWorkflowExecutionCommand.d.ts +1 -1
  33. package/dist-types/commands/StartWorkflowExecutionCommand.d.ts +4 -4
  34. package/dist-types/commands/TagResourceCommand.d.ts +3 -3
  35. package/dist-types/commands/TerminateWorkflowExecutionCommand.d.ts +1 -1
  36. package/dist-types/commands/UndeprecateActivityTypeCommand.d.ts +2 -2
  37. package/dist-types/commands/UndeprecateDomainCommand.d.ts +1 -1
  38. package/dist-types/commands/UndeprecateWorkflowTypeCommand.d.ts +2 -2
  39. package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
  40. package/dist-types/models/models_0.d.ts +331 -201
  41. package/dist-types/ts3.4/models/models_0.d.ts +248 -200
  42. package/package.json +34 -34
@@ -60,12 +60,14 @@ export interface ActivityTaskStartedEventAttributes {
60
60
  export interface ActivityTaskStatus {
61
61
  cancelRequested: boolean | undefined;
62
62
  }
63
- export declare enum ActivityTaskTimeoutType {
64
- HEARTBEAT = "HEARTBEAT",
65
- SCHEDULE_TO_CLOSE = "SCHEDULE_TO_CLOSE",
66
- SCHEDULE_TO_START = "SCHEDULE_TO_START",
67
- START_TO_CLOSE = "START_TO_CLOSE",
68
- }
63
+ export declare const ActivityTaskTimeoutType: {
64
+ readonly HEARTBEAT: "HEARTBEAT";
65
+ readonly SCHEDULE_TO_CLOSE: "SCHEDULE_TO_CLOSE";
66
+ readonly SCHEDULE_TO_START: "SCHEDULE_TO_START";
67
+ readonly START_TO_CLOSE: "START_TO_CLOSE";
68
+ };
69
+ export type ActivityTaskTimeoutType =
70
+ (typeof ActivityTaskTimeoutType)[keyof typeof ActivityTaskTimeoutType];
69
71
  export interface ActivityTaskTimedOutEventAttributes {
70
72
  timeoutType: ActivityTaskTimeoutType | string | undefined;
71
73
  scheduledEventId: number | undefined;
@@ -80,10 +82,12 @@ export interface ActivityTypeConfiguration {
80
82
  defaultTaskScheduleToStartTimeout?: string;
81
83
  defaultTaskScheduleToCloseTimeout?: string;
82
84
  }
83
- export declare enum RegistrationStatus {
84
- DEPRECATED = "DEPRECATED",
85
- REGISTERED = "REGISTERED",
86
- }
85
+ export declare const RegistrationStatus: {
86
+ readonly DEPRECATED: "DEPRECATED";
87
+ readonly REGISTERED: "REGISTERED";
88
+ };
89
+ export type RegistrationStatus =
90
+ (typeof RegistrationStatus)[keyof typeof RegistrationStatus];
87
91
  export interface ActivityTypeInfo {
88
92
  activityType: ActivityType | undefined;
89
93
  status: RegistrationStatus | string | undefined;
@@ -102,10 +106,12 @@ export interface ActivityTypeInfos {
102
106
  export interface CancelTimerDecisionAttributes {
103
107
  timerId: string | undefined;
104
108
  }
105
- export declare enum CancelTimerFailedCause {
106
- OPERATION_NOT_PERMITTED = "OPERATION_NOT_PERMITTED",
107
- TIMER_ID_UNKNOWN = "TIMER_ID_UNKNOWN",
108
- }
109
+ export declare const CancelTimerFailedCause: {
110
+ readonly OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED";
111
+ readonly TIMER_ID_UNKNOWN: "TIMER_ID_UNKNOWN";
112
+ };
113
+ export type CancelTimerFailedCause =
114
+ (typeof CancelTimerFailedCause)[keyof typeof CancelTimerFailedCause];
109
115
  export interface CancelTimerFailedEventAttributes {
110
116
  timerId: string | undefined;
111
117
  cause: CancelTimerFailedCause | string | undefined;
@@ -114,19 +120,22 @@ export interface CancelTimerFailedEventAttributes {
114
120
  export interface CancelWorkflowExecutionDecisionAttributes {
115
121
  details?: string;
116
122
  }
117
- export declare enum CancelWorkflowExecutionFailedCause {
118
- OPERATION_NOT_PERMITTED = "OPERATION_NOT_PERMITTED",
119
- UNHANDLED_DECISION = "UNHANDLED_DECISION",
120
- }
123
+ export declare const CancelWorkflowExecutionFailedCause: {
124
+ readonly OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED";
125
+ readonly UNHANDLED_DECISION: "UNHANDLED_DECISION";
126
+ };
127
+ export type CancelWorkflowExecutionFailedCause =
128
+ (typeof CancelWorkflowExecutionFailedCause)[keyof typeof CancelWorkflowExecutionFailedCause];
121
129
  export interface CancelWorkflowExecutionFailedEventAttributes {
122
130
  cause: CancelWorkflowExecutionFailedCause | string | undefined;
123
131
  decisionTaskCompletedEventId: number | undefined;
124
132
  }
125
- export declare enum ChildPolicy {
126
- ABANDON = "ABANDON",
127
- REQUEST_CANCEL = "REQUEST_CANCEL",
128
- TERMINATE = "TERMINATE",
129
- }
133
+ export declare const ChildPolicy: {
134
+ readonly ABANDON: "ABANDON";
135
+ readonly REQUEST_CANCEL: "REQUEST_CANCEL";
136
+ readonly TERMINATE: "TERMINATE";
137
+ };
138
+ export type ChildPolicy = (typeof ChildPolicy)[keyof typeof ChildPolicy];
130
139
  export interface WorkflowType {
131
140
  name: string | undefined;
132
141
  version: string | undefined;
@@ -164,9 +173,11 @@ export interface ChildWorkflowExecutionTerminatedEventAttributes {
164
173
  initiatedEventId: number | undefined;
165
174
  startedEventId: number | undefined;
166
175
  }
167
- export declare enum WorkflowExecutionTimeoutType {
168
- START_TO_CLOSE = "START_TO_CLOSE",
169
- }
176
+ export declare const WorkflowExecutionTimeoutType: {
177
+ readonly START_TO_CLOSE: "START_TO_CLOSE";
178
+ };
179
+ export type WorkflowExecutionTimeoutType =
180
+ (typeof WorkflowExecutionTimeoutType)[keyof typeof WorkflowExecutionTimeoutType];
170
181
  export interface ChildWorkflowExecutionTimedOutEventAttributes {
171
182
  workflowExecution: WorkflowExecution | undefined;
172
183
  workflowType: WorkflowType | undefined;
@@ -174,24 +185,27 @@ export interface ChildWorkflowExecutionTimedOutEventAttributes {
174
185
  initiatedEventId: number | undefined;
175
186
  startedEventId: number | undefined;
176
187
  }
177
- export declare enum CloseStatus {
178
- CANCELED = "CANCELED",
179
- COMPLETED = "COMPLETED",
180
- CONTINUED_AS_NEW = "CONTINUED_AS_NEW",
181
- FAILED = "FAILED",
182
- TERMINATED = "TERMINATED",
183
- TIMED_OUT = "TIMED_OUT",
184
- }
188
+ export declare const CloseStatus: {
189
+ readonly CANCELED: "CANCELED";
190
+ readonly COMPLETED: "COMPLETED";
191
+ readonly CONTINUED_AS_NEW: "CONTINUED_AS_NEW";
192
+ readonly FAILED: "FAILED";
193
+ readonly TERMINATED: "TERMINATED";
194
+ readonly TIMED_OUT: "TIMED_OUT";
195
+ };
196
+ export type CloseStatus = (typeof CloseStatus)[keyof typeof CloseStatus];
185
197
  export interface CloseStatusFilter {
186
198
  status: CloseStatus | string | undefined;
187
199
  }
188
200
  export interface CompleteWorkflowExecutionDecisionAttributes {
189
201
  result?: string;
190
202
  }
191
- export declare enum CompleteWorkflowExecutionFailedCause {
192
- OPERATION_NOT_PERMITTED = "OPERATION_NOT_PERMITTED",
193
- UNHANDLED_DECISION = "UNHANDLED_DECISION",
194
- }
203
+ export declare const CompleteWorkflowExecutionFailedCause: {
204
+ readonly OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED";
205
+ readonly UNHANDLED_DECISION: "UNHANDLED_DECISION";
206
+ };
207
+ export type CompleteWorkflowExecutionFailedCause =
208
+ (typeof CompleteWorkflowExecutionFailedCause)[keyof typeof CompleteWorkflowExecutionFailedCause];
195
209
  export interface CompleteWorkflowExecutionFailedEventAttributes {
196
210
  cause: CompleteWorkflowExecutionFailedCause | string | undefined;
197
211
  decisionTaskCompletedEventId: number | undefined;
@@ -207,17 +221,19 @@ export interface ContinueAsNewWorkflowExecutionDecisionAttributes {
207
221
  workflowTypeVersion?: string;
208
222
  lambdaRole?: string;
209
223
  }
210
- export declare enum ContinueAsNewWorkflowExecutionFailedCause {
211
- CONTINUE_AS_NEW_WORKFLOW_EXECUTION_RATE_EXCEEDED = "CONTINUE_AS_NEW_WORKFLOW_EXECUTION_RATE_EXCEEDED",
212
- DEFAULT_CHILD_POLICY_UNDEFINED = "DEFAULT_CHILD_POLICY_UNDEFINED",
213
- DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED = "DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED",
214
- DEFAULT_TASK_LIST_UNDEFINED = "DEFAULT_TASK_LIST_UNDEFINED",
215
- DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED = "DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED",
216
- OPERATION_NOT_PERMITTED = "OPERATION_NOT_PERMITTED",
217
- UNHANDLED_DECISION = "UNHANDLED_DECISION",
218
- WORKFLOW_TYPE_DEPRECATED = "WORKFLOW_TYPE_DEPRECATED",
219
- WORKFLOW_TYPE_DOES_NOT_EXIST = "WORKFLOW_TYPE_DOES_NOT_EXIST",
220
- }
224
+ export declare const ContinueAsNewWorkflowExecutionFailedCause: {
225
+ readonly CONTINUE_AS_NEW_WORKFLOW_EXECUTION_RATE_EXCEEDED: "CONTINUE_AS_NEW_WORKFLOW_EXECUTION_RATE_EXCEEDED";
226
+ readonly DEFAULT_CHILD_POLICY_UNDEFINED: "DEFAULT_CHILD_POLICY_UNDEFINED";
227
+ readonly DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED: "DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED";
228
+ readonly DEFAULT_TASK_LIST_UNDEFINED: "DEFAULT_TASK_LIST_UNDEFINED";
229
+ readonly DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED: "DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED";
230
+ readonly OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED";
231
+ readonly UNHANDLED_DECISION: "UNHANDLED_DECISION";
232
+ readonly WORKFLOW_TYPE_DEPRECATED: "WORKFLOW_TYPE_DEPRECATED";
233
+ readonly WORKFLOW_TYPE_DOES_NOT_EXIST: "WORKFLOW_TYPE_DOES_NOT_EXIST";
234
+ };
235
+ export type ContinueAsNewWorkflowExecutionFailedCause =
236
+ (typeof ContinueAsNewWorkflowExecutionFailedCause)[keyof typeof ContinueAsNewWorkflowExecutionFailedCause];
221
237
  export interface ContinueAsNewWorkflowExecutionFailedEventAttributes {
222
238
  cause: ContinueAsNewWorkflowExecutionFailedCause | string | undefined;
223
239
  decisionTaskCompletedEventId: number | undefined;
@@ -282,21 +298,22 @@ export interface CountPendingDecisionTasksInput {
282
298
  domain: string | undefined;
283
299
  taskList: TaskList | undefined;
284
300
  }
285
- export declare enum DecisionType {
286
- CancelTimer = "CancelTimer",
287
- CancelWorkflowExecution = "CancelWorkflowExecution",
288
- CompleteWorkflowExecution = "CompleteWorkflowExecution",
289
- ContinueAsNewWorkflowExecution = "ContinueAsNewWorkflowExecution",
290
- FailWorkflowExecution = "FailWorkflowExecution",
291
- RecordMarker = "RecordMarker",
292
- RequestCancelActivityTask = "RequestCancelActivityTask",
293
- RequestCancelExternalWorkflowExecution = "RequestCancelExternalWorkflowExecution",
294
- ScheduleActivityTask = "ScheduleActivityTask",
295
- ScheduleLambdaFunction = "ScheduleLambdaFunction",
296
- SignalExternalWorkflowExecution = "SignalExternalWorkflowExecution",
297
- StartChildWorkflowExecution = "StartChildWorkflowExecution",
298
- StartTimer = "StartTimer",
299
- }
301
+ export declare const DecisionType: {
302
+ readonly CancelTimer: "CancelTimer";
303
+ readonly CancelWorkflowExecution: "CancelWorkflowExecution";
304
+ readonly CompleteWorkflowExecution: "CompleteWorkflowExecution";
305
+ readonly ContinueAsNewWorkflowExecution: "ContinueAsNewWorkflowExecution";
306
+ readonly FailWorkflowExecution: "FailWorkflowExecution";
307
+ readonly RecordMarker: "RecordMarker";
308
+ readonly RequestCancelActivityTask: "RequestCancelActivityTask";
309
+ readonly RequestCancelExternalWorkflowExecution: "RequestCancelExternalWorkflowExecution";
310
+ readonly ScheduleActivityTask: "ScheduleActivityTask";
311
+ readonly ScheduleLambdaFunction: "ScheduleLambdaFunction";
312
+ readonly SignalExternalWorkflowExecution: "SignalExternalWorkflowExecution";
313
+ readonly StartChildWorkflowExecution: "StartChildWorkflowExecution";
314
+ readonly StartTimer: "StartTimer";
315
+ };
316
+ export type DecisionType = (typeof DecisionType)[keyof typeof DecisionType];
300
317
  export interface FailWorkflowExecutionDecisionAttributes {
301
318
  reason?: string;
302
319
  details?: string;
@@ -387,70 +404,73 @@ export interface DecisionTaskStartedEventAttributes {
387
404
  identity?: string;
388
405
  scheduledEventId: number | undefined;
389
406
  }
390
- export declare enum DecisionTaskTimeoutType {
391
- START_TO_CLOSE = "START_TO_CLOSE",
392
- }
407
+ export declare const DecisionTaskTimeoutType: {
408
+ readonly START_TO_CLOSE: "START_TO_CLOSE";
409
+ };
410
+ export type DecisionTaskTimeoutType =
411
+ (typeof DecisionTaskTimeoutType)[keyof typeof DecisionTaskTimeoutType];
393
412
  export interface DecisionTaskTimedOutEventAttributes {
394
413
  timeoutType: DecisionTaskTimeoutType | string | undefined;
395
414
  scheduledEventId: number | undefined;
396
415
  startedEventId: number | undefined;
397
416
  }
398
- export declare enum EventType {
399
- ActivityTaskCancelRequested = "ActivityTaskCancelRequested",
400
- ActivityTaskCanceled = "ActivityTaskCanceled",
401
- ActivityTaskCompleted = "ActivityTaskCompleted",
402
- ActivityTaskFailed = "ActivityTaskFailed",
403
- ActivityTaskScheduled = "ActivityTaskScheduled",
404
- ActivityTaskStarted = "ActivityTaskStarted",
405
- ActivityTaskTimedOut = "ActivityTaskTimedOut",
406
- CancelTimerFailed = "CancelTimerFailed",
407
- CancelWorkflowExecutionFailed = "CancelWorkflowExecutionFailed",
408
- ChildWorkflowExecutionCanceled = "ChildWorkflowExecutionCanceled",
409
- ChildWorkflowExecutionCompleted = "ChildWorkflowExecutionCompleted",
410
- ChildWorkflowExecutionFailed = "ChildWorkflowExecutionFailed",
411
- ChildWorkflowExecutionStarted = "ChildWorkflowExecutionStarted",
412
- ChildWorkflowExecutionTerminated = "ChildWorkflowExecutionTerminated",
413
- ChildWorkflowExecutionTimedOut = "ChildWorkflowExecutionTimedOut",
414
- CompleteWorkflowExecutionFailed = "CompleteWorkflowExecutionFailed",
415
- ContinueAsNewWorkflowExecutionFailed = "ContinueAsNewWorkflowExecutionFailed",
416
- DecisionTaskCompleted = "DecisionTaskCompleted",
417
- DecisionTaskScheduled = "DecisionTaskScheduled",
418
- DecisionTaskStarted = "DecisionTaskStarted",
419
- DecisionTaskTimedOut = "DecisionTaskTimedOut",
420
- ExternalWorkflowExecutionCancelRequested = "ExternalWorkflowExecutionCancelRequested",
421
- ExternalWorkflowExecutionSignaled = "ExternalWorkflowExecutionSignaled",
422
- FailWorkflowExecutionFailed = "FailWorkflowExecutionFailed",
423
- LambdaFunctionCompleted = "LambdaFunctionCompleted",
424
- LambdaFunctionFailed = "LambdaFunctionFailed",
425
- LambdaFunctionScheduled = "LambdaFunctionScheduled",
426
- LambdaFunctionStarted = "LambdaFunctionStarted",
427
- LambdaFunctionTimedOut = "LambdaFunctionTimedOut",
428
- MarkerRecorded = "MarkerRecorded",
429
- RecordMarkerFailed = "RecordMarkerFailed",
430
- RequestCancelActivityTaskFailed = "RequestCancelActivityTaskFailed",
431
- RequestCancelExternalWorkflowExecutionFailed = "RequestCancelExternalWorkflowExecutionFailed",
432
- RequestCancelExternalWorkflowExecutionInitiated = "RequestCancelExternalWorkflowExecutionInitiated",
433
- ScheduleActivityTaskFailed = "ScheduleActivityTaskFailed",
434
- ScheduleLambdaFunctionFailed = "ScheduleLambdaFunctionFailed",
435
- SignalExternalWorkflowExecutionFailed = "SignalExternalWorkflowExecutionFailed",
436
- SignalExternalWorkflowExecutionInitiated = "SignalExternalWorkflowExecutionInitiated",
437
- StartChildWorkflowExecutionFailed = "StartChildWorkflowExecutionFailed",
438
- StartChildWorkflowExecutionInitiated = "StartChildWorkflowExecutionInitiated",
439
- StartLambdaFunctionFailed = "StartLambdaFunctionFailed",
440
- StartTimerFailed = "StartTimerFailed",
441
- TimerCanceled = "TimerCanceled",
442
- TimerFired = "TimerFired",
443
- TimerStarted = "TimerStarted",
444
- WorkflowExecutionCancelRequested = "WorkflowExecutionCancelRequested",
445
- WorkflowExecutionCanceled = "WorkflowExecutionCanceled",
446
- WorkflowExecutionCompleted = "WorkflowExecutionCompleted",
447
- WorkflowExecutionContinuedAsNew = "WorkflowExecutionContinuedAsNew",
448
- WorkflowExecutionFailed = "WorkflowExecutionFailed",
449
- WorkflowExecutionSignaled = "WorkflowExecutionSignaled",
450
- WorkflowExecutionStarted = "WorkflowExecutionStarted",
451
- WorkflowExecutionTerminated = "WorkflowExecutionTerminated",
452
- WorkflowExecutionTimedOut = "WorkflowExecutionTimedOut",
453
- }
417
+ export declare const EventType: {
418
+ readonly ActivityTaskCancelRequested: "ActivityTaskCancelRequested";
419
+ readonly ActivityTaskCanceled: "ActivityTaskCanceled";
420
+ readonly ActivityTaskCompleted: "ActivityTaskCompleted";
421
+ readonly ActivityTaskFailed: "ActivityTaskFailed";
422
+ readonly ActivityTaskScheduled: "ActivityTaskScheduled";
423
+ readonly ActivityTaskStarted: "ActivityTaskStarted";
424
+ readonly ActivityTaskTimedOut: "ActivityTaskTimedOut";
425
+ readonly CancelTimerFailed: "CancelTimerFailed";
426
+ readonly CancelWorkflowExecutionFailed: "CancelWorkflowExecutionFailed";
427
+ readonly ChildWorkflowExecutionCanceled: "ChildWorkflowExecutionCanceled";
428
+ readonly ChildWorkflowExecutionCompleted: "ChildWorkflowExecutionCompleted";
429
+ readonly ChildWorkflowExecutionFailed: "ChildWorkflowExecutionFailed";
430
+ readonly ChildWorkflowExecutionStarted: "ChildWorkflowExecutionStarted";
431
+ readonly ChildWorkflowExecutionTerminated: "ChildWorkflowExecutionTerminated";
432
+ readonly ChildWorkflowExecutionTimedOut: "ChildWorkflowExecutionTimedOut";
433
+ readonly CompleteWorkflowExecutionFailed: "CompleteWorkflowExecutionFailed";
434
+ readonly ContinueAsNewWorkflowExecutionFailed: "ContinueAsNewWorkflowExecutionFailed";
435
+ readonly DecisionTaskCompleted: "DecisionTaskCompleted";
436
+ readonly DecisionTaskScheduled: "DecisionTaskScheduled";
437
+ readonly DecisionTaskStarted: "DecisionTaskStarted";
438
+ readonly DecisionTaskTimedOut: "DecisionTaskTimedOut";
439
+ readonly ExternalWorkflowExecutionCancelRequested: "ExternalWorkflowExecutionCancelRequested";
440
+ readonly ExternalWorkflowExecutionSignaled: "ExternalWorkflowExecutionSignaled";
441
+ readonly FailWorkflowExecutionFailed: "FailWorkflowExecutionFailed";
442
+ readonly LambdaFunctionCompleted: "LambdaFunctionCompleted";
443
+ readonly LambdaFunctionFailed: "LambdaFunctionFailed";
444
+ readonly LambdaFunctionScheduled: "LambdaFunctionScheduled";
445
+ readonly LambdaFunctionStarted: "LambdaFunctionStarted";
446
+ readonly LambdaFunctionTimedOut: "LambdaFunctionTimedOut";
447
+ readonly MarkerRecorded: "MarkerRecorded";
448
+ readonly RecordMarkerFailed: "RecordMarkerFailed";
449
+ readonly RequestCancelActivityTaskFailed: "RequestCancelActivityTaskFailed";
450
+ readonly RequestCancelExternalWorkflowExecutionFailed: "RequestCancelExternalWorkflowExecutionFailed";
451
+ readonly RequestCancelExternalWorkflowExecutionInitiated: "RequestCancelExternalWorkflowExecutionInitiated";
452
+ readonly ScheduleActivityTaskFailed: "ScheduleActivityTaskFailed";
453
+ readonly ScheduleLambdaFunctionFailed: "ScheduleLambdaFunctionFailed";
454
+ readonly SignalExternalWorkflowExecutionFailed: "SignalExternalWorkflowExecutionFailed";
455
+ readonly SignalExternalWorkflowExecutionInitiated: "SignalExternalWorkflowExecutionInitiated";
456
+ readonly StartChildWorkflowExecutionFailed: "StartChildWorkflowExecutionFailed";
457
+ readonly StartChildWorkflowExecutionInitiated: "StartChildWorkflowExecutionInitiated";
458
+ readonly StartLambdaFunctionFailed: "StartLambdaFunctionFailed";
459
+ readonly StartTimerFailed: "StartTimerFailed";
460
+ readonly TimerCanceled: "TimerCanceled";
461
+ readonly TimerFired: "TimerFired";
462
+ readonly TimerStarted: "TimerStarted";
463
+ readonly WorkflowExecutionCancelRequested: "WorkflowExecutionCancelRequested";
464
+ readonly WorkflowExecutionCanceled: "WorkflowExecutionCanceled";
465
+ readonly WorkflowExecutionCompleted: "WorkflowExecutionCompleted";
466
+ readonly WorkflowExecutionContinuedAsNew: "WorkflowExecutionContinuedAsNew";
467
+ readonly WorkflowExecutionFailed: "WorkflowExecutionFailed";
468
+ readonly WorkflowExecutionSignaled: "WorkflowExecutionSignaled";
469
+ readonly WorkflowExecutionStarted: "WorkflowExecutionStarted";
470
+ readonly WorkflowExecutionTerminated: "WorkflowExecutionTerminated";
471
+ readonly WorkflowExecutionTimedOut: "WorkflowExecutionTimedOut";
472
+ };
473
+ export type EventType = (typeof EventType)[keyof typeof EventType];
454
474
  export interface ExternalWorkflowExecutionCancelRequestedEventAttributes {
455
475
  workflowExecution: WorkflowExecution | undefined;
456
476
  initiatedEventId: number | undefined;
@@ -459,10 +479,12 @@ export interface ExternalWorkflowExecutionSignaledEventAttributes {
459
479
  workflowExecution: WorkflowExecution | undefined;
460
480
  initiatedEventId: number | undefined;
461
481
  }
462
- export declare enum FailWorkflowExecutionFailedCause {
463
- OPERATION_NOT_PERMITTED = "OPERATION_NOT_PERMITTED",
464
- UNHANDLED_DECISION = "UNHANDLED_DECISION",
465
- }
482
+ export declare const FailWorkflowExecutionFailedCause: {
483
+ readonly OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED";
484
+ readonly UNHANDLED_DECISION: "UNHANDLED_DECISION";
485
+ };
486
+ export type FailWorkflowExecutionFailedCause =
487
+ (typeof FailWorkflowExecutionFailedCause)[keyof typeof FailWorkflowExecutionFailedCause];
466
488
  export interface FailWorkflowExecutionFailedEventAttributes {
467
489
  cause: FailWorkflowExecutionFailedCause | string | undefined;
468
490
  decisionTaskCompletedEventId: number | undefined;
@@ -489,9 +511,11 @@ export interface LambdaFunctionScheduledEventAttributes {
489
511
  export interface LambdaFunctionStartedEventAttributes {
490
512
  scheduledEventId: number | undefined;
491
513
  }
492
- export declare enum LambdaFunctionTimeoutType {
493
- START_TO_CLOSE = "START_TO_CLOSE",
494
- }
514
+ export declare const LambdaFunctionTimeoutType: {
515
+ readonly START_TO_CLOSE: "START_TO_CLOSE";
516
+ };
517
+ export type LambdaFunctionTimeoutType =
518
+ (typeof LambdaFunctionTimeoutType)[keyof typeof LambdaFunctionTimeoutType];
495
519
  export interface LambdaFunctionTimedOutEventAttributes {
496
520
  scheduledEventId: number | undefined;
497
521
  startedEventId: number | undefined;
@@ -502,28 +526,34 @@ export interface MarkerRecordedEventAttributes {
502
526
  details?: string;
503
527
  decisionTaskCompletedEventId: number | undefined;
504
528
  }
505
- export declare enum RecordMarkerFailedCause {
506
- OPERATION_NOT_PERMITTED = "OPERATION_NOT_PERMITTED",
507
- }
529
+ export declare const RecordMarkerFailedCause: {
530
+ readonly OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED";
531
+ };
532
+ export type RecordMarkerFailedCause =
533
+ (typeof RecordMarkerFailedCause)[keyof typeof RecordMarkerFailedCause];
508
534
  export interface RecordMarkerFailedEventAttributes {
509
535
  markerName: string | undefined;
510
536
  cause: RecordMarkerFailedCause | string | undefined;
511
537
  decisionTaskCompletedEventId: number | undefined;
512
538
  }
513
- export declare enum RequestCancelActivityTaskFailedCause {
514
- ACTIVITY_ID_UNKNOWN = "ACTIVITY_ID_UNKNOWN",
515
- OPERATION_NOT_PERMITTED = "OPERATION_NOT_PERMITTED",
516
- }
539
+ export declare const RequestCancelActivityTaskFailedCause: {
540
+ readonly ACTIVITY_ID_UNKNOWN: "ACTIVITY_ID_UNKNOWN";
541
+ readonly OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED";
542
+ };
543
+ export type RequestCancelActivityTaskFailedCause =
544
+ (typeof RequestCancelActivityTaskFailedCause)[keyof typeof RequestCancelActivityTaskFailedCause];
517
545
  export interface RequestCancelActivityTaskFailedEventAttributes {
518
546
  activityId: string | undefined;
519
547
  cause: RequestCancelActivityTaskFailedCause | string | undefined;
520
548
  decisionTaskCompletedEventId: number | undefined;
521
549
  }
522
- export declare enum RequestCancelExternalWorkflowExecutionFailedCause {
523
- OPERATION_NOT_PERMITTED = "OPERATION_NOT_PERMITTED",
524
- REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED = "REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED",
525
- UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION = "UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION",
526
- }
550
+ export declare const RequestCancelExternalWorkflowExecutionFailedCause: {
551
+ readonly OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED";
552
+ readonly REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED: "REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED";
553
+ readonly UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION: "UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION";
554
+ };
555
+ export type RequestCancelExternalWorkflowExecutionFailedCause =
556
+ (typeof RequestCancelExternalWorkflowExecutionFailedCause)[keyof typeof RequestCancelExternalWorkflowExecutionFailedCause];
527
557
  export interface RequestCancelExternalWorkflowExecutionFailedEventAttributes {
528
558
  workflowId: string | undefined;
529
559
  runId?: string;
@@ -538,42 +568,48 @@ export interface RequestCancelExternalWorkflowExecutionInitiatedEventAttributes
538
568
  decisionTaskCompletedEventId: number | undefined;
539
569
  control?: string;
540
570
  }
541
- export declare enum ScheduleActivityTaskFailedCause {
542
- ACTIVITY_CREATION_RATE_EXCEEDED = "ACTIVITY_CREATION_RATE_EXCEEDED",
543
- ACTIVITY_ID_ALREADY_IN_USE = "ACTIVITY_ID_ALREADY_IN_USE",
544
- ACTIVITY_TYPE_DEPRECATED = "ACTIVITY_TYPE_DEPRECATED",
545
- ACTIVITY_TYPE_DOES_NOT_EXIST = "ACTIVITY_TYPE_DOES_NOT_EXIST",
546
- DEFAULT_HEARTBEAT_TIMEOUT_UNDEFINED = "DEFAULT_HEARTBEAT_TIMEOUT_UNDEFINED",
547
- DEFAULT_SCHEDULE_TO_CLOSE_TIMEOUT_UNDEFINED = "DEFAULT_SCHEDULE_TO_CLOSE_TIMEOUT_UNDEFINED",
548
- DEFAULT_SCHEDULE_TO_START_TIMEOUT_UNDEFINED = "DEFAULT_SCHEDULE_TO_START_TIMEOUT_UNDEFINED",
549
- DEFAULT_START_TO_CLOSE_TIMEOUT_UNDEFINED = "DEFAULT_START_TO_CLOSE_TIMEOUT_UNDEFINED",
550
- DEFAULT_TASK_LIST_UNDEFINED = "DEFAULT_TASK_LIST_UNDEFINED",
551
- OPEN_ACTIVITIES_LIMIT_EXCEEDED = "OPEN_ACTIVITIES_LIMIT_EXCEEDED",
552
- OPERATION_NOT_PERMITTED = "OPERATION_NOT_PERMITTED",
553
- }
571
+ export declare const ScheduleActivityTaskFailedCause: {
572
+ readonly ACTIVITY_CREATION_RATE_EXCEEDED: "ACTIVITY_CREATION_RATE_EXCEEDED";
573
+ readonly ACTIVITY_ID_ALREADY_IN_USE: "ACTIVITY_ID_ALREADY_IN_USE";
574
+ readonly ACTIVITY_TYPE_DEPRECATED: "ACTIVITY_TYPE_DEPRECATED";
575
+ readonly ACTIVITY_TYPE_DOES_NOT_EXIST: "ACTIVITY_TYPE_DOES_NOT_EXIST";
576
+ readonly DEFAULT_HEARTBEAT_TIMEOUT_UNDEFINED: "DEFAULT_HEARTBEAT_TIMEOUT_UNDEFINED";
577
+ readonly DEFAULT_SCHEDULE_TO_CLOSE_TIMEOUT_UNDEFINED: "DEFAULT_SCHEDULE_TO_CLOSE_TIMEOUT_UNDEFINED";
578
+ readonly DEFAULT_SCHEDULE_TO_START_TIMEOUT_UNDEFINED: "DEFAULT_SCHEDULE_TO_START_TIMEOUT_UNDEFINED";
579
+ readonly DEFAULT_START_TO_CLOSE_TIMEOUT_UNDEFINED: "DEFAULT_START_TO_CLOSE_TIMEOUT_UNDEFINED";
580
+ readonly DEFAULT_TASK_LIST_UNDEFINED: "DEFAULT_TASK_LIST_UNDEFINED";
581
+ readonly OPEN_ACTIVITIES_LIMIT_EXCEEDED: "OPEN_ACTIVITIES_LIMIT_EXCEEDED";
582
+ readonly OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED";
583
+ };
584
+ export type ScheduleActivityTaskFailedCause =
585
+ (typeof ScheduleActivityTaskFailedCause)[keyof typeof ScheduleActivityTaskFailedCause];
554
586
  export interface ScheduleActivityTaskFailedEventAttributes {
555
587
  activityType: ActivityType | undefined;
556
588
  activityId: string | undefined;
557
589
  cause: ScheduleActivityTaskFailedCause | string | undefined;
558
590
  decisionTaskCompletedEventId: number | undefined;
559
591
  }
560
- export declare enum ScheduleLambdaFunctionFailedCause {
561
- ID_ALREADY_IN_USE = "ID_ALREADY_IN_USE",
562
- LAMBDA_FUNCTION_CREATION_RATE_EXCEEDED = "LAMBDA_FUNCTION_CREATION_RATE_EXCEEDED",
563
- LAMBDA_SERVICE_NOT_AVAILABLE_IN_REGION = "LAMBDA_SERVICE_NOT_AVAILABLE_IN_REGION",
564
- OPEN_LAMBDA_FUNCTIONS_LIMIT_EXCEEDED = "OPEN_LAMBDA_FUNCTIONS_LIMIT_EXCEEDED",
565
- }
592
+ export declare const ScheduleLambdaFunctionFailedCause: {
593
+ readonly ID_ALREADY_IN_USE: "ID_ALREADY_IN_USE";
594
+ readonly LAMBDA_FUNCTION_CREATION_RATE_EXCEEDED: "LAMBDA_FUNCTION_CREATION_RATE_EXCEEDED";
595
+ readonly LAMBDA_SERVICE_NOT_AVAILABLE_IN_REGION: "LAMBDA_SERVICE_NOT_AVAILABLE_IN_REGION";
596
+ readonly OPEN_LAMBDA_FUNCTIONS_LIMIT_EXCEEDED: "OPEN_LAMBDA_FUNCTIONS_LIMIT_EXCEEDED";
597
+ };
598
+ export type ScheduleLambdaFunctionFailedCause =
599
+ (typeof ScheduleLambdaFunctionFailedCause)[keyof typeof ScheduleLambdaFunctionFailedCause];
566
600
  export interface ScheduleLambdaFunctionFailedEventAttributes {
567
601
  id: string | undefined;
568
602
  name: string | undefined;
569
603
  cause: ScheduleLambdaFunctionFailedCause | string | undefined;
570
604
  decisionTaskCompletedEventId: number | undefined;
571
605
  }
572
- export declare enum SignalExternalWorkflowExecutionFailedCause {
573
- OPERATION_NOT_PERMITTED = "OPERATION_NOT_PERMITTED",
574
- SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED = "SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED",
575
- UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION = "UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION",
576
- }
606
+ export declare const SignalExternalWorkflowExecutionFailedCause: {
607
+ readonly OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED";
608
+ readonly SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED: "SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED";
609
+ readonly UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION: "UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION";
610
+ };
611
+ export type SignalExternalWorkflowExecutionFailedCause =
612
+ (typeof SignalExternalWorkflowExecutionFailedCause)[keyof typeof SignalExternalWorkflowExecutionFailedCause];
577
613
  export interface SignalExternalWorkflowExecutionFailedEventAttributes {
578
614
  workflowId: string | undefined;
579
615
  runId?: string;
@@ -590,19 +626,21 @@ export interface SignalExternalWorkflowExecutionInitiatedEventAttributes {
590
626
  decisionTaskCompletedEventId: number | undefined;
591
627
  control?: string;
592
628
  }
593
- export declare enum StartChildWorkflowExecutionFailedCause {
594
- CHILD_CREATION_RATE_EXCEEDED = "CHILD_CREATION_RATE_EXCEEDED",
595
- DEFAULT_CHILD_POLICY_UNDEFINED = "DEFAULT_CHILD_POLICY_UNDEFINED",
596
- DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED = "DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED",
597
- DEFAULT_TASK_LIST_UNDEFINED = "DEFAULT_TASK_LIST_UNDEFINED",
598
- DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED = "DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED",
599
- OPEN_CHILDREN_LIMIT_EXCEEDED = "OPEN_CHILDREN_LIMIT_EXCEEDED",
600
- OPEN_WORKFLOWS_LIMIT_EXCEEDED = "OPEN_WORKFLOWS_LIMIT_EXCEEDED",
601
- OPERATION_NOT_PERMITTED = "OPERATION_NOT_PERMITTED",
602
- WORKFLOW_ALREADY_RUNNING = "WORKFLOW_ALREADY_RUNNING",
603
- WORKFLOW_TYPE_DEPRECATED = "WORKFLOW_TYPE_DEPRECATED",
604
- WORKFLOW_TYPE_DOES_NOT_EXIST = "WORKFLOW_TYPE_DOES_NOT_EXIST",
605
- }
629
+ export declare const StartChildWorkflowExecutionFailedCause: {
630
+ readonly CHILD_CREATION_RATE_EXCEEDED: "CHILD_CREATION_RATE_EXCEEDED";
631
+ readonly DEFAULT_CHILD_POLICY_UNDEFINED: "DEFAULT_CHILD_POLICY_UNDEFINED";
632
+ readonly DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED: "DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED";
633
+ readonly DEFAULT_TASK_LIST_UNDEFINED: "DEFAULT_TASK_LIST_UNDEFINED";
634
+ readonly DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED: "DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED";
635
+ readonly OPEN_CHILDREN_LIMIT_EXCEEDED: "OPEN_CHILDREN_LIMIT_EXCEEDED";
636
+ readonly OPEN_WORKFLOWS_LIMIT_EXCEEDED: "OPEN_WORKFLOWS_LIMIT_EXCEEDED";
637
+ readonly OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED";
638
+ readonly WORKFLOW_ALREADY_RUNNING: "WORKFLOW_ALREADY_RUNNING";
639
+ readonly WORKFLOW_TYPE_DEPRECATED: "WORKFLOW_TYPE_DEPRECATED";
640
+ readonly WORKFLOW_TYPE_DOES_NOT_EXIST: "WORKFLOW_TYPE_DOES_NOT_EXIST";
641
+ };
642
+ export type StartChildWorkflowExecutionFailedCause =
643
+ (typeof StartChildWorkflowExecutionFailedCause)[keyof typeof StartChildWorkflowExecutionFailedCause];
606
644
  export interface StartChildWorkflowExecutionFailedEventAttributes {
607
645
  workflowType: WorkflowType | undefined;
608
646
  cause: StartChildWorkflowExecutionFailedCause | string | undefined;
@@ -625,20 +663,24 @@ export interface StartChildWorkflowExecutionInitiatedEventAttributes {
625
663
  tagList?: string[];
626
664
  lambdaRole?: string;
627
665
  }
628
- export declare enum StartLambdaFunctionFailedCause {
629
- ASSUME_ROLE_FAILED = "ASSUME_ROLE_FAILED",
630
- }
666
+ export declare const StartLambdaFunctionFailedCause: {
667
+ readonly ASSUME_ROLE_FAILED: "ASSUME_ROLE_FAILED";
668
+ };
669
+ export type StartLambdaFunctionFailedCause =
670
+ (typeof StartLambdaFunctionFailedCause)[keyof typeof StartLambdaFunctionFailedCause];
631
671
  export interface StartLambdaFunctionFailedEventAttributes {
632
672
  scheduledEventId?: number;
633
673
  cause?: StartLambdaFunctionFailedCause | string;
634
674
  message?: string;
635
675
  }
636
- export declare enum StartTimerFailedCause {
637
- OPEN_TIMERS_LIMIT_EXCEEDED = "OPEN_TIMERS_LIMIT_EXCEEDED",
638
- OPERATION_NOT_PERMITTED = "OPERATION_NOT_PERMITTED",
639
- TIMER_CREATION_RATE_EXCEEDED = "TIMER_CREATION_RATE_EXCEEDED",
640
- TIMER_ID_ALREADY_IN_USE = "TIMER_ID_ALREADY_IN_USE",
641
- }
676
+ export declare const StartTimerFailedCause: {
677
+ readonly OPEN_TIMERS_LIMIT_EXCEEDED: "OPEN_TIMERS_LIMIT_EXCEEDED";
678
+ readonly OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED";
679
+ readonly TIMER_CREATION_RATE_EXCEEDED: "TIMER_CREATION_RATE_EXCEEDED";
680
+ readonly TIMER_ID_ALREADY_IN_USE: "TIMER_ID_ALREADY_IN_USE";
681
+ };
682
+ export type StartTimerFailedCause =
683
+ (typeof StartTimerFailedCause)[keyof typeof StartTimerFailedCause];
642
684
  export interface StartTimerFailedEventAttributes {
643
685
  timerId: string | undefined;
644
686
  cause: StartTimerFailedCause | string | undefined;
@@ -663,9 +705,11 @@ export interface WorkflowExecutionCanceledEventAttributes {
663
705
  details?: string;
664
706
  decisionTaskCompletedEventId: number | undefined;
665
707
  }
666
- export declare enum WorkflowExecutionCancelRequestedCause {
667
- CHILD_POLICY_APPLIED = "CHILD_POLICY_APPLIED",
668
- }
708
+ export declare const WorkflowExecutionCancelRequestedCause: {
709
+ readonly CHILD_POLICY_APPLIED: "CHILD_POLICY_APPLIED";
710
+ };
711
+ export type WorkflowExecutionCancelRequestedCause =
712
+ (typeof WorkflowExecutionCancelRequestedCause)[keyof typeof WorkflowExecutionCancelRequestedCause];
669
713
  export interface WorkflowExecutionCancelRequestedEventAttributes {
670
714
  externalWorkflowExecution?: WorkflowExecution;
671
715
  externalInitiatedEventId?: number;
@@ -713,11 +757,13 @@ export interface WorkflowExecutionStartedEventAttributes {
713
757
  parentInitiatedEventId?: number;
714
758
  lambdaRole?: string;
715
759
  }
716
- export declare enum WorkflowExecutionTerminatedCause {
717
- CHILD_POLICY_APPLIED = "CHILD_POLICY_APPLIED",
718
- EVENT_LIMIT_EXCEEDED = "EVENT_LIMIT_EXCEEDED",
719
- OPERATOR_INITIATED = "OPERATOR_INITIATED",
720
- }
760
+ export declare const WorkflowExecutionTerminatedCause: {
761
+ readonly CHILD_POLICY_APPLIED: "CHILD_POLICY_APPLIED";
762
+ readonly EVENT_LIMIT_EXCEEDED: "EVENT_LIMIT_EXCEEDED";
763
+ readonly OPERATOR_INITIATED: "OPERATOR_INITIATED";
764
+ };
765
+ export type WorkflowExecutionTerminatedCause =
766
+ (typeof WorkflowExecutionTerminatedCause)[keyof typeof WorkflowExecutionTerminatedCause];
721
767
  export interface WorkflowExecutionTerminatedEventAttributes {
722
768
  reason?: string;
723
769
  details?: string;
@@ -860,10 +906,12 @@ export interface WorkflowExecutionConfiguration {
860
906
  childPolicy: ChildPolicy | string | undefined;
861
907
  lambdaRole?: string;
862
908
  }
863
- export declare enum ExecutionStatus {
864
- CLOSED = "CLOSED",
865
- OPEN = "OPEN",
866
- }
909
+ export declare const ExecutionStatus: {
910
+ readonly CLOSED: "CLOSED";
911
+ readonly OPEN: "OPEN";
912
+ };
913
+ export type ExecutionStatus =
914
+ (typeof ExecutionStatus)[keyof typeof ExecutionStatus];
867
915
  export interface WorkflowExecutionInfo {
868
916
  execution: WorkflowExecution | undefined;
869
917
  workflowType: WorkflowType | undefined;