@aws-sdk/client-swf 3.301.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.
@@ -1,62 +1,53 @@
1
1
  import { SWFServiceException as __BaseException } from "./SWFServiceException";
2
- export var ActivityTaskTimeoutType;
3
- (function (ActivityTaskTimeoutType) {
4
- ActivityTaskTimeoutType["HEARTBEAT"] = "HEARTBEAT";
5
- ActivityTaskTimeoutType["SCHEDULE_TO_CLOSE"] = "SCHEDULE_TO_CLOSE";
6
- ActivityTaskTimeoutType["SCHEDULE_TO_START"] = "SCHEDULE_TO_START";
7
- ActivityTaskTimeoutType["START_TO_CLOSE"] = "START_TO_CLOSE";
8
- })(ActivityTaskTimeoutType || (ActivityTaskTimeoutType = {}));
9
- export var RegistrationStatus;
10
- (function (RegistrationStatus) {
11
- RegistrationStatus["DEPRECATED"] = "DEPRECATED";
12
- RegistrationStatus["REGISTERED"] = "REGISTERED";
13
- })(RegistrationStatus || (RegistrationStatus = {}));
14
- export var CancelTimerFailedCause;
15
- (function (CancelTimerFailedCause) {
16
- CancelTimerFailedCause["OPERATION_NOT_PERMITTED"] = "OPERATION_NOT_PERMITTED";
17
- CancelTimerFailedCause["TIMER_ID_UNKNOWN"] = "TIMER_ID_UNKNOWN";
18
- })(CancelTimerFailedCause || (CancelTimerFailedCause = {}));
19
- export var CancelWorkflowExecutionFailedCause;
20
- (function (CancelWorkflowExecutionFailedCause) {
21
- CancelWorkflowExecutionFailedCause["OPERATION_NOT_PERMITTED"] = "OPERATION_NOT_PERMITTED";
22
- CancelWorkflowExecutionFailedCause["UNHANDLED_DECISION"] = "UNHANDLED_DECISION";
23
- })(CancelWorkflowExecutionFailedCause || (CancelWorkflowExecutionFailedCause = {}));
24
- export var ChildPolicy;
25
- (function (ChildPolicy) {
26
- ChildPolicy["ABANDON"] = "ABANDON";
27
- ChildPolicy["REQUEST_CANCEL"] = "REQUEST_CANCEL";
28
- ChildPolicy["TERMINATE"] = "TERMINATE";
29
- })(ChildPolicy || (ChildPolicy = {}));
30
- export var WorkflowExecutionTimeoutType;
31
- (function (WorkflowExecutionTimeoutType) {
32
- WorkflowExecutionTimeoutType["START_TO_CLOSE"] = "START_TO_CLOSE";
33
- })(WorkflowExecutionTimeoutType || (WorkflowExecutionTimeoutType = {}));
34
- export var CloseStatus;
35
- (function (CloseStatus) {
36
- CloseStatus["CANCELED"] = "CANCELED";
37
- CloseStatus["COMPLETED"] = "COMPLETED";
38
- CloseStatus["CONTINUED_AS_NEW"] = "CONTINUED_AS_NEW";
39
- CloseStatus["FAILED"] = "FAILED";
40
- CloseStatus["TERMINATED"] = "TERMINATED";
41
- CloseStatus["TIMED_OUT"] = "TIMED_OUT";
42
- })(CloseStatus || (CloseStatus = {}));
43
- export var CompleteWorkflowExecutionFailedCause;
44
- (function (CompleteWorkflowExecutionFailedCause) {
45
- CompleteWorkflowExecutionFailedCause["OPERATION_NOT_PERMITTED"] = "OPERATION_NOT_PERMITTED";
46
- CompleteWorkflowExecutionFailedCause["UNHANDLED_DECISION"] = "UNHANDLED_DECISION";
47
- })(CompleteWorkflowExecutionFailedCause || (CompleteWorkflowExecutionFailedCause = {}));
48
- export var ContinueAsNewWorkflowExecutionFailedCause;
49
- (function (ContinueAsNewWorkflowExecutionFailedCause) {
50
- ContinueAsNewWorkflowExecutionFailedCause["CONTINUE_AS_NEW_WORKFLOW_EXECUTION_RATE_EXCEEDED"] = "CONTINUE_AS_NEW_WORKFLOW_EXECUTION_RATE_EXCEEDED";
51
- ContinueAsNewWorkflowExecutionFailedCause["DEFAULT_CHILD_POLICY_UNDEFINED"] = "DEFAULT_CHILD_POLICY_UNDEFINED";
52
- ContinueAsNewWorkflowExecutionFailedCause["DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED"] = "DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED";
53
- ContinueAsNewWorkflowExecutionFailedCause["DEFAULT_TASK_LIST_UNDEFINED"] = "DEFAULT_TASK_LIST_UNDEFINED";
54
- ContinueAsNewWorkflowExecutionFailedCause["DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED"] = "DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED";
55
- ContinueAsNewWorkflowExecutionFailedCause["OPERATION_NOT_PERMITTED"] = "OPERATION_NOT_PERMITTED";
56
- ContinueAsNewWorkflowExecutionFailedCause["UNHANDLED_DECISION"] = "UNHANDLED_DECISION";
57
- ContinueAsNewWorkflowExecutionFailedCause["WORKFLOW_TYPE_DEPRECATED"] = "WORKFLOW_TYPE_DEPRECATED";
58
- ContinueAsNewWorkflowExecutionFailedCause["WORKFLOW_TYPE_DOES_NOT_EXIST"] = "WORKFLOW_TYPE_DOES_NOT_EXIST";
59
- })(ContinueAsNewWorkflowExecutionFailedCause || (ContinueAsNewWorkflowExecutionFailedCause = {}));
2
+ export const ActivityTaskTimeoutType = {
3
+ HEARTBEAT: "HEARTBEAT",
4
+ SCHEDULE_TO_CLOSE: "SCHEDULE_TO_CLOSE",
5
+ SCHEDULE_TO_START: "SCHEDULE_TO_START",
6
+ START_TO_CLOSE: "START_TO_CLOSE",
7
+ };
8
+ export const RegistrationStatus = {
9
+ DEPRECATED: "DEPRECATED",
10
+ REGISTERED: "REGISTERED",
11
+ };
12
+ export const CancelTimerFailedCause = {
13
+ OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED",
14
+ TIMER_ID_UNKNOWN: "TIMER_ID_UNKNOWN",
15
+ };
16
+ export const CancelWorkflowExecutionFailedCause = {
17
+ OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED",
18
+ UNHANDLED_DECISION: "UNHANDLED_DECISION",
19
+ };
20
+ export const ChildPolicy = {
21
+ ABANDON: "ABANDON",
22
+ REQUEST_CANCEL: "REQUEST_CANCEL",
23
+ TERMINATE: "TERMINATE",
24
+ };
25
+ export const WorkflowExecutionTimeoutType = {
26
+ START_TO_CLOSE: "START_TO_CLOSE",
27
+ };
28
+ export const CloseStatus = {
29
+ CANCELED: "CANCELED",
30
+ COMPLETED: "COMPLETED",
31
+ CONTINUED_AS_NEW: "CONTINUED_AS_NEW",
32
+ FAILED: "FAILED",
33
+ TERMINATED: "TERMINATED",
34
+ TIMED_OUT: "TIMED_OUT",
35
+ };
36
+ export const CompleteWorkflowExecutionFailedCause = {
37
+ OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED",
38
+ UNHANDLED_DECISION: "UNHANDLED_DECISION",
39
+ };
40
+ export const ContinueAsNewWorkflowExecutionFailedCause = {
41
+ CONTINUE_AS_NEW_WORKFLOW_EXECUTION_RATE_EXCEEDED: "CONTINUE_AS_NEW_WORKFLOW_EXECUTION_RATE_EXCEEDED",
42
+ DEFAULT_CHILD_POLICY_UNDEFINED: "DEFAULT_CHILD_POLICY_UNDEFINED",
43
+ DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED: "DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED",
44
+ DEFAULT_TASK_LIST_UNDEFINED: "DEFAULT_TASK_LIST_UNDEFINED",
45
+ DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED: "DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED",
46
+ OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED",
47
+ UNHANDLED_DECISION: "UNHANDLED_DECISION",
48
+ WORKFLOW_TYPE_DEPRECATED: "WORKFLOW_TYPE_DEPRECATED",
49
+ WORKFLOW_TYPE_DOES_NOT_EXIST: "WORKFLOW_TYPE_DOES_NOT_EXIST",
50
+ };
60
51
  export class OperationNotPermittedFault extends __BaseException {
61
52
  constructor(opts) {
62
53
  super({
@@ -81,169 +72,153 @@ export class UnknownResourceFault extends __BaseException {
81
72
  Object.setPrototypeOf(this, UnknownResourceFault.prototype);
82
73
  }
83
74
  }
84
- export var DecisionType;
85
- (function (DecisionType) {
86
- DecisionType["CancelTimer"] = "CancelTimer";
87
- DecisionType["CancelWorkflowExecution"] = "CancelWorkflowExecution";
88
- DecisionType["CompleteWorkflowExecution"] = "CompleteWorkflowExecution";
89
- DecisionType["ContinueAsNewWorkflowExecution"] = "ContinueAsNewWorkflowExecution";
90
- DecisionType["FailWorkflowExecution"] = "FailWorkflowExecution";
91
- DecisionType["RecordMarker"] = "RecordMarker";
92
- DecisionType["RequestCancelActivityTask"] = "RequestCancelActivityTask";
93
- DecisionType["RequestCancelExternalWorkflowExecution"] = "RequestCancelExternalWorkflowExecution";
94
- DecisionType["ScheduleActivityTask"] = "ScheduleActivityTask";
95
- DecisionType["ScheduleLambdaFunction"] = "ScheduleLambdaFunction";
96
- DecisionType["SignalExternalWorkflowExecution"] = "SignalExternalWorkflowExecution";
97
- DecisionType["StartChildWorkflowExecution"] = "StartChildWorkflowExecution";
98
- DecisionType["StartTimer"] = "StartTimer";
99
- })(DecisionType || (DecisionType = {}));
100
- export var DecisionTaskTimeoutType;
101
- (function (DecisionTaskTimeoutType) {
102
- DecisionTaskTimeoutType["START_TO_CLOSE"] = "START_TO_CLOSE";
103
- })(DecisionTaskTimeoutType || (DecisionTaskTimeoutType = {}));
104
- export var EventType;
105
- (function (EventType) {
106
- EventType["ActivityTaskCancelRequested"] = "ActivityTaskCancelRequested";
107
- EventType["ActivityTaskCanceled"] = "ActivityTaskCanceled";
108
- EventType["ActivityTaskCompleted"] = "ActivityTaskCompleted";
109
- EventType["ActivityTaskFailed"] = "ActivityTaskFailed";
110
- EventType["ActivityTaskScheduled"] = "ActivityTaskScheduled";
111
- EventType["ActivityTaskStarted"] = "ActivityTaskStarted";
112
- EventType["ActivityTaskTimedOut"] = "ActivityTaskTimedOut";
113
- EventType["CancelTimerFailed"] = "CancelTimerFailed";
114
- EventType["CancelWorkflowExecutionFailed"] = "CancelWorkflowExecutionFailed";
115
- EventType["ChildWorkflowExecutionCanceled"] = "ChildWorkflowExecutionCanceled";
116
- EventType["ChildWorkflowExecutionCompleted"] = "ChildWorkflowExecutionCompleted";
117
- EventType["ChildWorkflowExecutionFailed"] = "ChildWorkflowExecutionFailed";
118
- EventType["ChildWorkflowExecutionStarted"] = "ChildWorkflowExecutionStarted";
119
- EventType["ChildWorkflowExecutionTerminated"] = "ChildWorkflowExecutionTerminated";
120
- EventType["ChildWorkflowExecutionTimedOut"] = "ChildWorkflowExecutionTimedOut";
121
- EventType["CompleteWorkflowExecutionFailed"] = "CompleteWorkflowExecutionFailed";
122
- EventType["ContinueAsNewWorkflowExecutionFailed"] = "ContinueAsNewWorkflowExecutionFailed";
123
- EventType["DecisionTaskCompleted"] = "DecisionTaskCompleted";
124
- EventType["DecisionTaskScheduled"] = "DecisionTaskScheduled";
125
- EventType["DecisionTaskStarted"] = "DecisionTaskStarted";
126
- EventType["DecisionTaskTimedOut"] = "DecisionTaskTimedOut";
127
- EventType["ExternalWorkflowExecutionCancelRequested"] = "ExternalWorkflowExecutionCancelRequested";
128
- EventType["ExternalWorkflowExecutionSignaled"] = "ExternalWorkflowExecutionSignaled";
129
- EventType["FailWorkflowExecutionFailed"] = "FailWorkflowExecutionFailed";
130
- EventType["LambdaFunctionCompleted"] = "LambdaFunctionCompleted";
131
- EventType["LambdaFunctionFailed"] = "LambdaFunctionFailed";
132
- EventType["LambdaFunctionScheduled"] = "LambdaFunctionScheduled";
133
- EventType["LambdaFunctionStarted"] = "LambdaFunctionStarted";
134
- EventType["LambdaFunctionTimedOut"] = "LambdaFunctionTimedOut";
135
- EventType["MarkerRecorded"] = "MarkerRecorded";
136
- EventType["RecordMarkerFailed"] = "RecordMarkerFailed";
137
- EventType["RequestCancelActivityTaskFailed"] = "RequestCancelActivityTaskFailed";
138
- EventType["RequestCancelExternalWorkflowExecutionFailed"] = "RequestCancelExternalWorkflowExecutionFailed";
139
- EventType["RequestCancelExternalWorkflowExecutionInitiated"] = "RequestCancelExternalWorkflowExecutionInitiated";
140
- EventType["ScheduleActivityTaskFailed"] = "ScheduleActivityTaskFailed";
141
- EventType["ScheduleLambdaFunctionFailed"] = "ScheduleLambdaFunctionFailed";
142
- EventType["SignalExternalWorkflowExecutionFailed"] = "SignalExternalWorkflowExecutionFailed";
143
- EventType["SignalExternalWorkflowExecutionInitiated"] = "SignalExternalWorkflowExecutionInitiated";
144
- EventType["StartChildWorkflowExecutionFailed"] = "StartChildWorkflowExecutionFailed";
145
- EventType["StartChildWorkflowExecutionInitiated"] = "StartChildWorkflowExecutionInitiated";
146
- EventType["StartLambdaFunctionFailed"] = "StartLambdaFunctionFailed";
147
- EventType["StartTimerFailed"] = "StartTimerFailed";
148
- EventType["TimerCanceled"] = "TimerCanceled";
149
- EventType["TimerFired"] = "TimerFired";
150
- EventType["TimerStarted"] = "TimerStarted";
151
- EventType["WorkflowExecutionCancelRequested"] = "WorkflowExecutionCancelRequested";
152
- EventType["WorkflowExecutionCanceled"] = "WorkflowExecutionCanceled";
153
- EventType["WorkflowExecutionCompleted"] = "WorkflowExecutionCompleted";
154
- EventType["WorkflowExecutionContinuedAsNew"] = "WorkflowExecutionContinuedAsNew";
155
- EventType["WorkflowExecutionFailed"] = "WorkflowExecutionFailed";
156
- EventType["WorkflowExecutionSignaled"] = "WorkflowExecutionSignaled";
157
- EventType["WorkflowExecutionStarted"] = "WorkflowExecutionStarted";
158
- EventType["WorkflowExecutionTerminated"] = "WorkflowExecutionTerminated";
159
- EventType["WorkflowExecutionTimedOut"] = "WorkflowExecutionTimedOut";
160
- })(EventType || (EventType = {}));
161
- export var FailWorkflowExecutionFailedCause;
162
- (function (FailWorkflowExecutionFailedCause) {
163
- FailWorkflowExecutionFailedCause["OPERATION_NOT_PERMITTED"] = "OPERATION_NOT_PERMITTED";
164
- FailWorkflowExecutionFailedCause["UNHANDLED_DECISION"] = "UNHANDLED_DECISION";
165
- })(FailWorkflowExecutionFailedCause || (FailWorkflowExecutionFailedCause = {}));
166
- export var LambdaFunctionTimeoutType;
167
- (function (LambdaFunctionTimeoutType) {
168
- LambdaFunctionTimeoutType["START_TO_CLOSE"] = "START_TO_CLOSE";
169
- })(LambdaFunctionTimeoutType || (LambdaFunctionTimeoutType = {}));
170
- export var RecordMarkerFailedCause;
171
- (function (RecordMarkerFailedCause) {
172
- RecordMarkerFailedCause["OPERATION_NOT_PERMITTED"] = "OPERATION_NOT_PERMITTED";
173
- })(RecordMarkerFailedCause || (RecordMarkerFailedCause = {}));
174
- export var RequestCancelActivityTaskFailedCause;
175
- (function (RequestCancelActivityTaskFailedCause) {
176
- RequestCancelActivityTaskFailedCause["ACTIVITY_ID_UNKNOWN"] = "ACTIVITY_ID_UNKNOWN";
177
- RequestCancelActivityTaskFailedCause["OPERATION_NOT_PERMITTED"] = "OPERATION_NOT_PERMITTED";
178
- })(RequestCancelActivityTaskFailedCause || (RequestCancelActivityTaskFailedCause = {}));
179
- export var RequestCancelExternalWorkflowExecutionFailedCause;
180
- (function (RequestCancelExternalWorkflowExecutionFailedCause) {
181
- RequestCancelExternalWorkflowExecutionFailedCause["OPERATION_NOT_PERMITTED"] = "OPERATION_NOT_PERMITTED";
182
- RequestCancelExternalWorkflowExecutionFailedCause["REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED"] = "REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED";
183
- RequestCancelExternalWorkflowExecutionFailedCause["UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION"] = "UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION";
184
- })(RequestCancelExternalWorkflowExecutionFailedCause || (RequestCancelExternalWorkflowExecutionFailedCause = {}));
185
- export var ScheduleActivityTaskFailedCause;
186
- (function (ScheduleActivityTaskFailedCause) {
187
- ScheduleActivityTaskFailedCause["ACTIVITY_CREATION_RATE_EXCEEDED"] = "ACTIVITY_CREATION_RATE_EXCEEDED";
188
- ScheduleActivityTaskFailedCause["ACTIVITY_ID_ALREADY_IN_USE"] = "ACTIVITY_ID_ALREADY_IN_USE";
189
- ScheduleActivityTaskFailedCause["ACTIVITY_TYPE_DEPRECATED"] = "ACTIVITY_TYPE_DEPRECATED";
190
- ScheduleActivityTaskFailedCause["ACTIVITY_TYPE_DOES_NOT_EXIST"] = "ACTIVITY_TYPE_DOES_NOT_EXIST";
191
- ScheduleActivityTaskFailedCause["DEFAULT_HEARTBEAT_TIMEOUT_UNDEFINED"] = "DEFAULT_HEARTBEAT_TIMEOUT_UNDEFINED";
192
- ScheduleActivityTaskFailedCause["DEFAULT_SCHEDULE_TO_CLOSE_TIMEOUT_UNDEFINED"] = "DEFAULT_SCHEDULE_TO_CLOSE_TIMEOUT_UNDEFINED";
193
- ScheduleActivityTaskFailedCause["DEFAULT_SCHEDULE_TO_START_TIMEOUT_UNDEFINED"] = "DEFAULT_SCHEDULE_TO_START_TIMEOUT_UNDEFINED";
194
- ScheduleActivityTaskFailedCause["DEFAULT_START_TO_CLOSE_TIMEOUT_UNDEFINED"] = "DEFAULT_START_TO_CLOSE_TIMEOUT_UNDEFINED";
195
- ScheduleActivityTaskFailedCause["DEFAULT_TASK_LIST_UNDEFINED"] = "DEFAULT_TASK_LIST_UNDEFINED";
196
- ScheduleActivityTaskFailedCause["OPEN_ACTIVITIES_LIMIT_EXCEEDED"] = "OPEN_ACTIVITIES_LIMIT_EXCEEDED";
197
- ScheduleActivityTaskFailedCause["OPERATION_NOT_PERMITTED"] = "OPERATION_NOT_PERMITTED";
198
- })(ScheduleActivityTaskFailedCause || (ScheduleActivityTaskFailedCause = {}));
199
- export var ScheduleLambdaFunctionFailedCause;
200
- (function (ScheduleLambdaFunctionFailedCause) {
201
- ScheduleLambdaFunctionFailedCause["ID_ALREADY_IN_USE"] = "ID_ALREADY_IN_USE";
202
- ScheduleLambdaFunctionFailedCause["LAMBDA_FUNCTION_CREATION_RATE_EXCEEDED"] = "LAMBDA_FUNCTION_CREATION_RATE_EXCEEDED";
203
- ScheduleLambdaFunctionFailedCause["LAMBDA_SERVICE_NOT_AVAILABLE_IN_REGION"] = "LAMBDA_SERVICE_NOT_AVAILABLE_IN_REGION";
204
- ScheduleLambdaFunctionFailedCause["OPEN_LAMBDA_FUNCTIONS_LIMIT_EXCEEDED"] = "OPEN_LAMBDA_FUNCTIONS_LIMIT_EXCEEDED";
205
- })(ScheduleLambdaFunctionFailedCause || (ScheduleLambdaFunctionFailedCause = {}));
206
- export var SignalExternalWorkflowExecutionFailedCause;
207
- (function (SignalExternalWorkflowExecutionFailedCause) {
208
- SignalExternalWorkflowExecutionFailedCause["OPERATION_NOT_PERMITTED"] = "OPERATION_NOT_PERMITTED";
209
- SignalExternalWorkflowExecutionFailedCause["SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED"] = "SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED";
210
- SignalExternalWorkflowExecutionFailedCause["UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION"] = "UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION";
211
- })(SignalExternalWorkflowExecutionFailedCause || (SignalExternalWorkflowExecutionFailedCause = {}));
212
- export var StartChildWorkflowExecutionFailedCause;
213
- (function (StartChildWorkflowExecutionFailedCause) {
214
- StartChildWorkflowExecutionFailedCause["CHILD_CREATION_RATE_EXCEEDED"] = "CHILD_CREATION_RATE_EXCEEDED";
215
- StartChildWorkflowExecutionFailedCause["DEFAULT_CHILD_POLICY_UNDEFINED"] = "DEFAULT_CHILD_POLICY_UNDEFINED";
216
- StartChildWorkflowExecutionFailedCause["DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED"] = "DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED";
217
- StartChildWorkflowExecutionFailedCause["DEFAULT_TASK_LIST_UNDEFINED"] = "DEFAULT_TASK_LIST_UNDEFINED";
218
- StartChildWorkflowExecutionFailedCause["DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED"] = "DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED";
219
- StartChildWorkflowExecutionFailedCause["OPEN_CHILDREN_LIMIT_EXCEEDED"] = "OPEN_CHILDREN_LIMIT_EXCEEDED";
220
- StartChildWorkflowExecutionFailedCause["OPEN_WORKFLOWS_LIMIT_EXCEEDED"] = "OPEN_WORKFLOWS_LIMIT_EXCEEDED";
221
- StartChildWorkflowExecutionFailedCause["OPERATION_NOT_PERMITTED"] = "OPERATION_NOT_PERMITTED";
222
- StartChildWorkflowExecutionFailedCause["WORKFLOW_ALREADY_RUNNING"] = "WORKFLOW_ALREADY_RUNNING";
223
- StartChildWorkflowExecutionFailedCause["WORKFLOW_TYPE_DEPRECATED"] = "WORKFLOW_TYPE_DEPRECATED";
224
- StartChildWorkflowExecutionFailedCause["WORKFLOW_TYPE_DOES_NOT_EXIST"] = "WORKFLOW_TYPE_DOES_NOT_EXIST";
225
- })(StartChildWorkflowExecutionFailedCause || (StartChildWorkflowExecutionFailedCause = {}));
226
- export var StartLambdaFunctionFailedCause;
227
- (function (StartLambdaFunctionFailedCause) {
228
- StartLambdaFunctionFailedCause["ASSUME_ROLE_FAILED"] = "ASSUME_ROLE_FAILED";
229
- })(StartLambdaFunctionFailedCause || (StartLambdaFunctionFailedCause = {}));
230
- export var StartTimerFailedCause;
231
- (function (StartTimerFailedCause) {
232
- StartTimerFailedCause["OPEN_TIMERS_LIMIT_EXCEEDED"] = "OPEN_TIMERS_LIMIT_EXCEEDED";
233
- StartTimerFailedCause["OPERATION_NOT_PERMITTED"] = "OPERATION_NOT_PERMITTED";
234
- StartTimerFailedCause["TIMER_CREATION_RATE_EXCEEDED"] = "TIMER_CREATION_RATE_EXCEEDED";
235
- StartTimerFailedCause["TIMER_ID_ALREADY_IN_USE"] = "TIMER_ID_ALREADY_IN_USE";
236
- })(StartTimerFailedCause || (StartTimerFailedCause = {}));
237
- export var WorkflowExecutionCancelRequestedCause;
238
- (function (WorkflowExecutionCancelRequestedCause) {
239
- WorkflowExecutionCancelRequestedCause["CHILD_POLICY_APPLIED"] = "CHILD_POLICY_APPLIED";
240
- })(WorkflowExecutionCancelRequestedCause || (WorkflowExecutionCancelRequestedCause = {}));
241
- export var WorkflowExecutionTerminatedCause;
242
- (function (WorkflowExecutionTerminatedCause) {
243
- WorkflowExecutionTerminatedCause["CHILD_POLICY_APPLIED"] = "CHILD_POLICY_APPLIED";
244
- WorkflowExecutionTerminatedCause["EVENT_LIMIT_EXCEEDED"] = "EVENT_LIMIT_EXCEEDED";
245
- WorkflowExecutionTerminatedCause["OPERATOR_INITIATED"] = "OPERATOR_INITIATED";
246
- })(WorkflowExecutionTerminatedCause || (WorkflowExecutionTerminatedCause = {}));
75
+ export const DecisionType = {
76
+ CancelTimer: "CancelTimer",
77
+ CancelWorkflowExecution: "CancelWorkflowExecution",
78
+ CompleteWorkflowExecution: "CompleteWorkflowExecution",
79
+ ContinueAsNewWorkflowExecution: "ContinueAsNewWorkflowExecution",
80
+ FailWorkflowExecution: "FailWorkflowExecution",
81
+ RecordMarker: "RecordMarker",
82
+ RequestCancelActivityTask: "RequestCancelActivityTask",
83
+ RequestCancelExternalWorkflowExecution: "RequestCancelExternalWorkflowExecution",
84
+ ScheduleActivityTask: "ScheduleActivityTask",
85
+ ScheduleLambdaFunction: "ScheduleLambdaFunction",
86
+ SignalExternalWorkflowExecution: "SignalExternalWorkflowExecution",
87
+ StartChildWorkflowExecution: "StartChildWorkflowExecution",
88
+ StartTimer: "StartTimer",
89
+ };
90
+ export const DecisionTaskTimeoutType = {
91
+ START_TO_CLOSE: "START_TO_CLOSE",
92
+ };
93
+ export const EventType = {
94
+ ActivityTaskCancelRequested: "ActivityTaskCancelRequested",
95
+ ActivityTaskCanceled: "ActivityTaskCanceled",
96
+ ActivityTaskCompleted: "ActivityTaskCompleted",
97
+ ActivityTaskFailed: "ActivityTaskFailed",
98
+ ActivityTaskScheduled: "ActivityTaskScheduled",
99
+ ActivityTaskStarted: "ActivityTaskStarted",
100
+ ActivityTaskTimedOut: "ActivityTaskTimedOut",
101
+ CancelTimerFailed: "CancelTimerFailed",
102
+ CancelWorkflowExecutionFailed: "CancelWorkflowExecutionFailed",
103
+ ChildWorkflowExecutionCanceled: "ChildWorkflowExecutionCanceled",
104
+ ChildWorkflowExecutionCompleted: "ChildWorkflowExecutionCompleted",
105
+ ChildWorkflowExecutionFailed: "ChildWorkflowExecutionFailed",
106
+ ChildWorkflowExecutionStarted: "ChildWorkflowExecutionStarted",
107
+ ChildWorkflowExecutionTerminated: "ChildWorkflowExecutionTerminated",
108
+ ChildWorkflowExecutionTimedOut: "ChildWorkflowExecutionTimedOut",
109
+ CompleteWorkflowExecutionFailed: "CompleteWorkflowExecutionFailed",
110
+ ContinueAsNewWorkflowExecutionFailed: "ContinueAsNewWorkflowExecutionFailed",
111
+ DecisionTaskCompleted: "DecisionTaskCompleted",
112
+ DecisionTaskScheduled: "DecisionTaskScheduled",
113
+ DecisionTaskStarted: "DecisionTaskStarted",
114
+ DecisionTaskTimedOut: "DecisionTaskTimedOut",
115
+ ExternalWorkflowExecutionCancelRequested: "ExternalWorkflowExecutionCancelRequested",
116
+ ExternalWorkflowExecutionSignaled: "ExternalWorkflowExecutionSignaled",
117
+ FailWorkflowExecutionFailed: "FailWorkflowExecutionFailed",
118
+ LambdaFunctionCompleted: "LambdaFunctionCompleted",
119
+ LambdaFunctionFailed: "LambdaFunctionFailed",
120
+ LambdaFunctionScheduled: "LambdaFunctionScheduled",
121
+ LambdaFunctionStarted: "LambdaFunctionStarted",
122
+ LambdaFunctionTimedOut: "LambdaFunctionTimedOut",
123
+ MarkerRecorded: "MarkerRecorded",
124
+ RecordMarkerFailed: "RecordMarkerFailed",
125
+ RequestCancelActivityTaskFailed: "RequestCancelActivityTaskFailed",
126
+ RequestCancelExternalWorkflowExecutionFailed: "RequestCancelExternalWorkflowExecutionFailed",
127
+ RequestCancelExternalWorkflowExecutionInitiated: "RequestCancelExternalWorkflowExecutionInitiated",
128
+ ScheduleActivityTaskFailed: "ScheduleActivityTaskFailed",
129
+ ScheduleLambdaFunctionFailed: "ScheduleLambdaFunctionFailed",
130
+ SignalExternalWorkflowExecutionFailed: "SignalExternalWorkflowExecutionFailed",
131
+ SignalExternalWorkflowExecutionInitiated: "SignalExternalWorkflowExecutionInitiated",
132
+ StartChildWorkflowExecutionFailed: "StartChildWorkflowExecutionFailed",
133
+ StartChildWorkflowExecutionInitiated: "StartChildWorkflowExecutionInitiated",
134
+ StartLambdaFunctionFailed: "StartLambdaFunctionFailed",
135
+ StartTimerFailed: "StartTimerFailed",
136
+ TimerCanceled: "TimerCanceled",
137
+ TimerFired: "TimerFired",
138
+ TimerStarted: "TimerStarted",
139
+ WorkflowExecutionCancelRequested: "WorkflowExecutionCancelRequested",
140
+ WorkflowExecutionCanceled: "WorkflowExecutionCanceled",
141
+ WorkflowExecutionCompleted: "WorkflowExecutionCompleted",
142
+ WorkflowExecutionContinuedAsNew: "WorkflowExecutionContinuedAsNew",
143
+ WorkflowExecutionFailed: "WorkflowExecutionFailed",
144
+ WorkflowExecutionSignaled: "WorkflowExecutionSignaled",
145
+ WorkflowExecutionStarted: "WorkflowExecutionStarted",
146
+ WorkflowExecutionTerminated: "WorkflowExecutionTerminated",
147
+ WorkflowExecutionTimedOut: "WorkflowExecutionTimedOut",
148
+ };
149
+ export const FailWorkflowExecutionFailedCause = {
150
+ OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED",
151
+ UNHANDLED_DECISION: "UNHANDLED_DECISION",
152
+ };
153
+ export const LambdaFunctionTimeoutType = {
154
+ START_TO_CLOSE: "START_TO_CLOSE",
155
+ };
156
+ export const RecordMarkerFailedCause = {
157
+ OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED",
158
+ };
159
+ export const RequestCancelActivityTaskFailedCause = {
160
+ ACTIVITY_ID_UNKNOWN: "ACTIVITY_ID_UNKNOWN",
161
+ OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED",
162
+ };
163
+ export const RequestCancelExternalWorkflowExecutionFailedCause = {
164
+ OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED",
165
+ REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED: "REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED",
166
+ UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION: "UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION",
167
+ };
168
+ export const ScheduleActivityTaskFailedCause = {
169
+ ACTIVITY_CREATION_RATE_EXCEEDED: "ACTIVITY_CREATION_RATE_EXCEEDED",
170
+ ACTIVITY_ID_ALREADY_IN_USE: "ACTIVITY_ID_ALREADY_IN_USE",
171
+ ACTIVITY_TYPE_DEPRECATED: "ACTIVITY_TYPE_DEPRECATED",
172
+ ACTIVITY_TYPE_DOES_NOT_EXIST: "ACTIVITY_TYPE_DOES_NOT_EXIST",
173
+ DEFAULT_HEARTBEAT_TIMEOUT_UNDEFINED: "DEFAULT_HEARTBEAT_TIMEOUT_UNDEFINED",
174
+ DEFAULT_SCHEDULE_TO_CLOSE_TIMEOUT_UNDEFINED: "DEFAULT_SCHEDULE_TO_CLOSE_TIMEOUT_UNDEFINED",
175
+ DEFAULT_SCHEDULE_TO_START_TIMEOUT_UNDEFINED: "DEFAULT_SCHEDULE_TO_START_TIMEOUT_UNDEFINED",
176
+ DEFAULT_START_TO_CLOSE_TIMEOUT_UNDEFINED: "DEFAULT_START_TO_CLOSE_TIMEOUT_UNDEFINED",
177
+ DEFAULT_TASK_LIST_UNDEFINED: "DEFAULT_TASK_LIST_UNDEFINED",
178
+ OPEN_ACTIVITIES_LIMIT_EXCEEDED: "OPEN_ACTIVITIES_LIMIT_EXCEEDED",
179
+ OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED",
180
+ };
181
+ export const ScheduleLambdaFunctionFailedCause = {
182
+ ID_ALREADY_IN_USE: "ID_ALREADY_IN_USE",
183
+ LAMBDA_FUNCTION_CREATION_RATE_EXCEEDED: "LAMBDA_FUNCTION_CREATION_RATE_EXCEEDED",
184
+ LAMBDA_SERVICE_NOT_AVAILABLE_IN_REGION: "LAMBDA_SERVICE_NOT_AVAILABLE_IN_REGION",
185
+ OPEN_LAMBDA_FUNCTIONS_LIMIT_EXCEEDED: "OPEN_LAMBDA_FUNCTIONS_LIMIT_EXCEEDED",
186
+ };
187
+ export const SignalExternalWorkflowExecutionFailedCause = {
188
+ OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED",
189
+ SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED: "SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED",
190
+ UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION: "UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION",
191
+ };
192
+ export const StartChildWorkflowExecutionFailedCause = {
193
+ CHILD_CREATION_RATE_EXCEEDED: "CHILD_CREATION_RATE_EXCEEDED",
194
+ DEFAULT_CHILD_POLICY_UNDEFINED: "DEFAULT_CHILD_POLICY_UNDEFINED",
195
+ DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED: "DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED",
196
+ DEFAULT_TASK_LIST_UNDEFINED: "DEFAULT_TASK_LIST_UNDEFINED",
197
+ DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED: "DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED",
198
+ OPEN_CHILDREN_LIMIT_EXCEEDED: "OPEN_CHILDREN_LIMIT_EXCEEDED",
199
+ OPEN_WORKFLOWS_LIMIT_EXCEEDED: "OPEN_WORKFLOWS_LIMIT_EXCEEDED",
200
+ OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED",
201
+ WORKFLOW_ALREADY_RUNNING: "WORKFLOW_ALREADY_RUNNING",
202
+ WORKFLOW_TYPE_DEPRECATED: "WORKFLOW_TYPE_DEPRECATED",
203
+ WORKFLOW_TYPE_DOES_NOT_EXIST: "WORKFLOW_TYPE_DOES_NOT_EXIST",
204
+ };
205
+ export const StartLambdaFunctionFailedCause = {
206
+ ASSUME_ROLE_FAILED: "ASSUME_ROLE_FAILED",
207
+ };
208
+ export const StartTimerFailedCause = {
209
+ OPEN_TIMERS_LIMIT_EXCEEDED: "OPEN_TIMERS_LIMIT_EXCEEDED",
210
+ OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED",
211
+ TIMER_CREATION_RATE_EXCEEDED: "TIMER_CREATION_RATE_EXCEEDED",
212
+ TIMER_ID_ALREADY_IN_USE: "TIMER_ID_ALREADY_IN_USE",
213
+ };
214
+ export const WorkflowExecutionCancelRequestedCause = {
215
+ CHILD_POLICY_APPLIED: "CHILD_POLICY_APPLIED",
216
+ };
217
+ export const WorkflowExecutionTerminatedCause = {
218
+ CHILD_POLICY_APPLIED: "CHILD_POLICY_APPLIED",
219
+ EVENT_LIMIT_EXCEEDED: "EVENT_LIMIT_EXCEEDED",
220
+ OPERATOR_INITIATED: "OPERATOR_INITIATED",
221
+ };
247
222
  export class DefaultUndefinedFault extends __BaseException {
248
223
  constructor(opts) {
249
224
  super({
@@ -280,11 +255,10 @@ export class DomainDeprecatedFault extends __BaseException {
280
255
  Object.setPrototypeOf(this, DomainDeprecatedFault.prototype);
281
256
  }
282
257
  }
283
- export var ExecutionStatus;
284
- (function (ExecutionStatus) {
285
- ExecutionStatus["CLOSED"] = "CLOSED";
286
- ExecutionStatus["OPEN"] = "OPEN";
287
- })(ExecutionStatus || (ExecutionStatus = {}));
258
+ export const ExecutionStatus = {
259
+ CLOSED: "CLOSED",
260
+ OPEN: "OPEN",
261
+ };
288
262
  export class DomainAlreadyExistsFault extends __BaseException {
289
263
  constructor(opts) {
290
264
  super({