@aws-sdk/client-swf 3.934.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 +202 -201
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +201 -0
- package/dist-es/models/errors.js +133 -0
- package/dist-es/models/models_0.js +1 -334
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +409 -0
- package/dist-types/models/errors.d.ts +145 -0
- package/dist-types/models/models_0.d.ts +1 -554
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +249 -0
- package/dist-types/ts3.4/models/errors.d.ts +78 -0
- package/dist-types/ts3.4/models/models_0.d.ts +28 -327
- package/package.json +12 -12
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
|
@@ -0,0 +1,409 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @public
|
|
3
|
+
* @enum
|
|
4
|
+
*/
|
|
5
|
+
export declare const ActivityTaskTimeoutType: {
|
|
6
|
+
readonly HEARTBEAT: "HEARTBEAT";
|
|
7
|
+
readonly SCHEDULE_TO_CLOSE: "SCHEDULE_TO_CLOSE";
|
|
8
|
+
readonly SCHEDULE_TO_START: "SCHEDULE_TO_START";
|
|
9
|
+
readonly START_TO_CLOSE: "START_TO_CLOSE";
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* @public
|
|
13
|
+
*/
|
|
14
|
+
export type ActivityTaskTimeoutType = (typeof ActivityTaskTimeoutType)[keyof typeof ActivityTaskTimeoutType];
|
|
15
|
+
/**
|
|
16
|
+
* @public
|
|
17
|
+
* @enum
|
|
18
|
+
*/
|
|
19
|
+
export declare const RegistrationStatus: {
|
|
20
|
+
readonly DEPRECATED: "DEPRECATED";
|
|
21
|
+
readonly REGISTERED: "REGISTERED";
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* @public
|
|
25
|
+
*/
|
|
26
|
+
export type RegistrationStatus = (typeof RegistrationStatus)[keyof typeof RegistrationStatus];
|
|
27
|
+
/**
|
|
28
|
+
* @public
|
|
29
|
+
* @enum
|
|
30
|
+
*/
|
|
31
|
+
export declare const CancelTimerFailedCause: {
|
|
32
|
+
readonly OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED";
|
|
33
|
+
readonly TIMER_ID_UNKNOWN: "TIMER_ID_UNKNOWN";
|
|
34
|
+
};
|
|
35
|
+
/**
|
|
36
|
+
* @public
|
|
37
|
+
*/
|
|
38
|
+
export type CancelTimerFailedCause = (typeof CancelTimerFailedCause)[keyof typeof CancelTimerFailedCause];
|
|
39
|
+
/**
|
|
40
|
+
* @public
|
|
41
|
+
* @enum
|
|
42
|
+
*/
|
|
43
|
+
export declare const CancelWorkflowExecutionFailedCause: {
|
|
44
|
+
readonly OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED";
|
|
45
|
+
readonly UNHANDLED_DECISION: "UNHANDLED_DECISION";
|
|
46
|
+
};
|
|
47
|
+
/**
|
|
48
|
+
* @public
|
|
49
|
+
*/
|
|
50
|
+
export type CancelWorkflowExecutionFailedCause = (typeof CancelWorkflowExecutionFailedCause)[keyof typeof CancelWorkflowExecutionFailedCause];
|
|
51
|
+
/**
|
|
52
|
+
* @public
|
|
53
|
+
* @enum
|
|
54
|
+
*/
|
|
55
|
+
export declare const ChildPolicy: {
|
|
56
|
+
readonly ABANDON: "ABANDON";
|
|
57
|
+
readonly REQUEST_CANCEL: "REQUEST_CANCEL";
|
|
58
|
+
readonly TERMINATE: "TERMINATE";
|
|
59
|
+
};
|
|
60
|
+
/**
|
|
61
|
+
* @public
|
|
62
|
+
*/
|
|
63
|
+
export type ChildPolicy = (typeof ChildPolicy)[keyof typeof ChildPolicy];
|
|
64
|
+
/**
|
|
65
|
+
* @public
|
|
66
|
+
* @enum
|
|
67
|
+
*/
|
|
68
|
+
export declare const WorkflowExecutionTimeoutType: {
|
|
69
|
+
readonly START_TO_CLOSE: "START_TO_CLOSE";
|
|
70
|
+
};
|
|
71
|
+
/**
|
|
72
|
+
* @public
|
|
73
|
+
*/
|
|
74
|
+
export type WorkflowExecutionTimeoutType = (typeof WorkflowExecutionTimeoutType)[keyof typeof WorkflowExecutionTimeoutType];
|
|
75
|
+
/**
|
|
76
|
+
* @public
|
|
77
|
+
* @enum
|
|
78
|
+
*/
|
|
79
|
+
export declare const CloseStatus: {
|
|
80
|
+
readonly CANCELED: "CANCELED";
|
|
81
|
+
readonly COMPLETED: "COMPLETED";
|
|
82
|
+
readonly CONTINUED_AS_NEW: "CONTINUED_AS_NEW";
|
|
83
|
+
readonly FAILED: "FAILED";
|
|
84
|
+
readonly TERMINATED: "TERMINATED";
|
|
85
|
+
readonly TIMED_OUT: "TIMED_OUT";
|
|
86
|
+
};
|
|
87
|
+
/**
|
|
88
|
+
* @public
|
|
89
|
+
*/
|
|
90
|
+
export type CloseStatus = (typeof CloseStatus)[keyof typeof CloseStatus];
|
|
91
|
+
/**
|
|
92
|
+
* @public
|
|
93
|
+
* @enum
|
|
94
|
+
*/
|
|
95
|
+
export declare const CompleteWorkflowExecutionFailedCause: {
|
|
96
|
+
readonly OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED";
|
|
97
|
+
readonly UNHANDLED_DECISION: "UNHANDLED_DECISION";
|
|
98
|
+
};
|
|
99
|
+
/**
|
|
100
|
+
* @public
|
|
101
|
+
*/
|
|
102
|
+
export type CompleteWorkflowExecutionFailedCause = (typeof CompleteWorkflowExecutionFailedCause)[keyof typeof CompleteWorkflowExecutionFailedCause];
|
|
103
|
+
/**
|
|
104
|
+
* @public
|
|
105
|
+
* @enum
|
|
106
|
+
*/
|
|
107
|
+
export declare const ContinueAsNewWorkflowExecutionFailedCause: {
|
|
108
|
+
readonly CONTINUE_AS_NEW_WORKFLOW_EXECUTION_RATE_EXCEEDED: "CONTINUE_AS_NEW_WORKFLOW_EXECUTION_RATE_EXCEEDED";
|
|
109
|
+
readonly DEFAULT_CHILD_POLICY_UNDEFINED: "DEFAULT_CHILD_POLICY_UNDEFINED";
|
|
110
|
+
readonly DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED: "DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED";
|
|
111
|
+
readonly DEFAULT_TASK_LIST_UNDEFINED: "DEFAULT_TASK_LIST_UNDEFINED";
|
|
112
|
+
readonly DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED: "DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED";
|
|
113
|
+
readonly OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED";
|
|
114
|
+
readonly UNHANDLED_DECISION: "UNHANDLED_DECISION";
|
|
115
|
+
readonly WORKFLOW_TYPE_DEPRECATED: "WORKFLOW_TYPE_DEPRECATED";
|
|
116
|
+
readonly WORKFLOW_TYPE_DOES_NOT_EXIST: "WORKFLOW_TYPE_DOES_NOT_EXIST";
|
|
117
|
+
};
|
|
118
|
+
/**
|
|
119
|
+
* @public
|
|
120
|
+
*/
|
|
121
|
+
export type ContinueAsNewWorkflowExecutionFailedCause = (typeof ContinueAsNewWorkflowExecutionFailedCause)[keyof typeof ContinueAsNewWorkflowExecutionFailedCause];
|
|
122
|
+
/**
|
|
123
|
+
* @public
|
|
124
|
+
* @enum
|
|
125
|
+
*/
|
|
126
|
+
export declare const DecisionType: {
|
|
127
|
+
readonly CancelTimer: "CancelTimer";
|
|
128
|
+
readonly CancelWorkflowExecution: "CancelWorkflowExecution";
|
|
129
|
+
readonly CompleteWorkflowExecution: "CompleteWorkflowExecution";
|
|
130
|
+
readonly ContinueAsNewWorkflowExecution: "ContinueAsNewWorkflowExecution";
|
|
131
|
+
readonly FailWorkflowExecution: "FailWorkflowExecution";
|
|
132
|
+
readonly RecordMarker: "RecordMarker";
|
|
133
|
+
readonly RequestCancelActivityTask: "RequestCancelActivityTask";
|
|
134
|
+
readonly RequestCancelExternalWorkflowExecution: "RequestCancelExternalWorkflowExecution";
|
|
135
|
+
readonly ScheduleActivityTask: "ScheduleActivityTask";
|
|
136
|
+
readonly ScheduleLambdaFunction: "ScheduleLambdaFunction";
|
|
137
|
+
readonly SignalExternalWorkflowExecution: "SignalExternalWorkflowExecution";
|
|
138
|
+
readonly StartChildWorkflowExecution: "StartChildWorkflowExecution";
|
|
139
|
+
readonly StartTimer: "StartTimer";
|
|
140
|
+
};
|
|
141
|
+
/**
|
|
142
|
+
* @public
|
|
143
|
+
*/
|
|
144
|
+
export type DecisionType = (typeof DecisionType)[keyof typeof DecisionType];
|
|
145
|
+
/**
|
|
146
|
+
* @public
|
|
147
|
+
* @enum
|
|
148
|
+
*/
|
|
149
|
+
export declare const DecisionTaskTimeoutType: {
|
|
150
|
+
readonly SCHEDULE_TO_START: "SCHEDULE_TO_START";
|
|
151
|
+
readonly START_TO_CLOSE: "START_TO_CLOSE";
|
|
152
|
+
};
|
|
153
|
+
/**
|
|
154
|
+
* @public
|
|
155
|
+
*/
|
|
156
|
+
export type DecisionTaskTimeoutType = (typeof DecisionTaskTimeoutType)[keyof typeof DecisionTaskTimeoutType];
|
|
157
|
+
/**
|
|
158
|
+
* @public
|
|
159
|
+
* @enum
|
|
160
|
+
*/
|
|
161
|
+
export declare const EventType: {
|
|
162
|
+
readonly ActivityTaskCancelRequested: "ActivityTaskCancelRequested";
|
|
163
|
+
readonly ActivityTaskCanceled: "ActivityTaskCanceled";
|
|
164
|
+
readonly ActivityTaskCompleted: "ActivityTaskCompleted";
|
|
165
|
+
readonly ActivityTaskFailed: "ActivityTaskFailed";
|
|
166
|
+
readonly ActivityTaskScheduled: "ActivityTaskScheduled";
|
|
167
|
+
readonly ActivityTaskStarted: "ActivityTaskStarted";
|
|
168
|
+
readonly ActivityTaskTimedOut: "ActivityTaskTimedOut";
|
|
169
|
+
readonly CancelTimerFailed: "CancelTimerFailed";
|
|
170
|
+
readonly CancelWorkflowExecutionFailed: "CancelWorkflowExecutionFailed";
|
|
171
|
+
readonly ChildWorkflowExecutionCanceled: "ChildWorkflowExecutionCanceled";
|
|
172
|
+
readonly ChildWorkflowExecutionCompleted: "ChildWorkflowExecutionCompleted";
|
|
173
|
+
readonly ChildWorkflowExecutionFailed: "ChildWorkflowExecutionFailed";
|
|
174
|
+
readonly ChildWorkflowExecutionStarted: "ChildWorkflowExecutionStarted";
|
|
175
|
+
readonly ChildWorkflowExecutionTerminated: "ChildWorkflowExecutionTerminated";
|
|
176
|
+
readonly ChildWorkflowExecutionTimedOut: "ChildWorkflowExecutionTimedOut";
|
|
177
|
+
readonly CompleteWorkflowExecutionFailed: "CompleteWorkflowExecutionFailed";
|
|
178
|
+
readonly ContinueAsNewWorkflowExecutionFailed: "ContinueAsNewWorkflowExecutionFailed";
|
|
179
|
+
readonly DecisionTaskCompleted: "DecisionTaskCompleted";
|
|
180
|
+
readonly DecisionTaskScheduled: "DecisionTaskScheduled";
|
|
181
|
+
readonly DecisionTaskStarted: "DecisionTaskStarted";
|
|
182
|
+
readonly DecisionTaskTimedOut: "DecisionTaskTimedOut";
|
|
183
|
+
readonly ExternalWorkflowExecutionCancelRequested: "ExternalWorkflowExecutionCancelRequested";
|
|
184
|
+
readonly ExternalWorkflowExecutionSignaled: "ExternalWorkflowExecutionSignaled";
|
|
185
|
+
readonly FailWorkflowExecutionFailed: "FailWorkflowExecutionFailed";
|
|
186
|
+
readonly LambdaFunctionCompleted: "LambdaFunctionCompleted";
|
|
187
|
+
readonly LambdaFunctionFailed: "LambdaFunctionFailed";
|
|
188
|
+
readonly LambdaFunctionScheduled: "LambdaFunctionScheduled";
|
|
189
|
+
readonly LambdaFunctionStarted: "LambdaFunctionStarted";
|
|
190
|
+
readonly LambdaFunctionTimedOut: "LambdaFunctionTimedOut";
|
|
191
|
+
readonly MarkerRecorded: "MarkerRecorded";
|
|
192
|
+
readonly RecordMarkerFailed: "RecordMarkerFailed";
|
|
193
|
+
readonly RequestCancelActivityTaskFailed: "RequestCancelActivityTaskFailed";
|
|
194
|
+
readonly RequestCancelExternalWorkflowExecutionFailed: "RequestCancelExternalWorkflowExecutionFailed";
|
|
195
|
+
readonly RequestCancelExternalWorkflowExecutionInitiated: "RequestCancelExternalWorkflowExecutionInitiated";
|
|
196
|
+
readonly ScheduleActivityTaskFailed: "ScheduleActivityTaskFailed";
|
|
197
|
+
readonly ScheduleLambdaFunctionFailed: "ScheduleLambdaFunctionFailed";
|
|
198
|
+
readonly SignalExternalWorkflowExecutionFailed: "SignalExternalWorkflowExecutionFailed";
|
|
199
|
+
readonly SignalExternalWorkflowExecutionInitiated: "SignalExternalWorkflowExecutionInitiated";
|
|
200
|
+
readonly StartChildWorkflowExecutionFailed: "StartChildWorkflowExecutionFailed";
|
|
201
|
+
readonly StartChildWorkflowExecutionInitiated: "StartChildWorkflowExecutionInitiated";
|
|
202
|
+
readonly StartLambdaFunctionFailed: "StartLambdaFunctionFailed";
|
|
203
|
+
readonly StartTimerFailed: "StartTimerFailed";
|
|
204
|
+
readonly TimerCanceled: "TimerCanceled";
|
|
205
|
+
readonly TimerFired: "TimerFired";
|
|
206
|
+
readonly TimerStarted: "TimerStarted";
|
|
207
|
+
readonly WorkflowExecutionCancelRequested: "WorkflowExecutionCancelRequested";
|
|
208
|
+
readonly WorkflowExecutionCanceled: "WorkflowExecutionCanceled";
|
|
209
|
+
readonly WorkflowExecutionCompleted: "WorkflowExecutionCompleted";
|
|
210
|
+
readonly WorkflowExecutionContinuedAsNew: "WorkflowExecutionContinuedAsNew";
|
|
211
|
+
readonly WorkflowExecutionFailed: "WorkflowExecutionFailed";
|
|
212
|
+
readonly WorkflowExecutionSignaled: "WorkflowExecutionSignaled";
|
|
213
|
+
readonly WorkflowExecutionStarted: "WorkflowExecutionStarted";
|
|
214
|
+
readonly WorkflowExecutionTerminated: "WorkflowExecutionTerminated";
|
|
215
|
+
readonly WorkflowExecutionTimedOut: "WorkflowExecutionTimedOut";
|
|
216
|
+
};
|
|
217
|
+
/**
|
|
218
|
+
* @public
|
|
219
|
+
*/
|
|
220
|
+
export type EventType = (typeof EventType)[keyof typeof EventType];
|
|
221
|
+
/**
|
|
222
|
+
* @public
|
|
223
|
+
* @enum
|
|
224
|
+
*/
|
|
225
|
+
export declare const FailWorkflowExecutionFailedCause: {
|
|
226
|
+
readonly OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED";
|
|
227
|
+
readonly UNHANDLED_DECISION: "UNHANDLED_DECISION";
|
|
228
|
+
};
|
|
229
|
+
/**
|
|
230
|
+
* @public
|
|
231
|
+
*/
|
|
232
|
+
export type FailWorkflowExecutionFailedCause = (typeof FailWorkflowExecutionFailedCause)[keyof typeof FailWorkflowExecutionFailedCause];
|
|
233
|
+
/**
|
|
234
|
+
* @public
|
|
235
|
+
* @enum
|
|
236
|
+
*/
|
|
237
|
+
export declare const LambdaFunctionTimeoutType: {
|
|
238
|
+
readonly START_TO_CLOSE: "START_TO_CLOSE";
|
|
239
|
+
};
|
|
240
|
+
/**
|
|
241
|
+
* @public
|
|
242
|
+
*/
|
|
243
|
+
export type LambdaFunctionTimeoutType = (typeof LambdaFunctionTimeoutType)[keyof typeof LambdaFunctionTimeoutType];
|
|
244
|
+
/**
|
|
245
|
+
* @public
|
|
246
|
+
* @enum
|
|
247
|
+
*/
|
|
248
|
+
export declare const RecordMarkerFailedCause: {
|
|
249
|
+
readonly OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED";
|
|
250
|
+
};
|
|
251
|
+
/**
|
|
252
|
+
* @public
|
|
253
|
+
*/
|
|
254
|
+
export type RecordMarkerFailedCause = (typeof RecordMarkerFailedCause)[keyof typeof RecordMarkerFailedCause];
|
|
255
|
+
/**
|
|
256
|
+
* @public
|
|
257
|
+
* @enum
|
|
258
|
+
*/
|
|
259
|
+
export declare const RequestCancelActivityTaskFailedCause: {
|
|
260
|
+
readonly ACTIVITY_ID_UNKNOWN: "ACTIVITY_ID_UNKNOWN";
|
|
261
|
+
readonly OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED";
|
|
262
|
+
};
|
|
263
|
+
/**
|
|
264
|
+
* @public
|
|
265
|
+
*/
|
|
266
|
+
export type RequestCancelActivityTaskFailedCause = (typeof RequestCancelActivityTaskFailedCause)[keyof typeof RequestCancelActivityTaskFailedCause];
|
|
267
|
+
/**
|
|
268
|
+
* @public
|
|
269
|
+
* @enum
|
|
270
|
+
*/
|
|
271
|
+
export declare const RequestCancelExternalWorkflowExecutionFailedCause: {
|
|
272
|
+
readonly OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED";
|
|
273
|
+
readonly REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED: "REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED";
|
|
274
|
+
readonly UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION: "UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION";
|
|
275
|
+
};
|
|
276
|
+
/**
|
|
277
|
+
* @public
|
|
278
|
+
*/
|
|
279
|
+
export type RequestCancelExternalWorkflowExecutionFailedCause = (typeof RequestCancelExternalWorkflowExecutionFailedCause)[keyof typeof RequestCancelExternalWorkflowExecutionFailedCause];
|
|
280
|
+
/**
|
|
281
|
+
* @public
|
|
282
|
+
* @enum
|
|
283
|
+
*/
|
|
284
|
+
export declare const ScheduleActivityTaskFailedCause: {
|
|
285
|
+
readonly ACTIVITY_CREATION_RATE_EXCEEDED: "ACTIVITY_CREATION_RATE_EXCEEDED";
|
|
286
|
+
readonly ACTIVITY_ID_ALREADY_IN_USE: "ACTIVITY_ID_ALREADY_IN_USE";
|
|
287
|
+
readonly ACTIVITY_TYPE_DEPRECATED: "ACTIVITY_TYPE_DEPRECATED";
|
|
288
|
+
readonly ACTIVITY_TYPE_DOES_NOT_EXIST: "ACTIVITY_TYPE_DOES_NOT_EXIST";
|
|
289
|
+
readonly DEFAULT_HEARTBEAT_TIMEOUT_UNDEFINED: "DEFAULT_HEARTBEAT_TIMEOUT_UNDEFINED";
|
|
290
|
+
readonly DEFAULT_SCHEDULE_TO_CLOSE_TIMEOUT_UNDEFINED: "DEFAULT_SCHEDULE_TO_CLOSE_TIMEOUT_UNDEFINED";
|
|
291
|
+
readonly DEFAULT_SCHEDULE_TO_START_TIMEOUT_UNDEFINED: "DEFAULT_SCHEDULE_TO_START_TIMEOUT_UNDEFINED";
|
|
292
|
+
readonly DEFAULT_START_TO_CLOSE_TIMEOUT_UNDEFINED: "DEFAULT_START_TO_CLOSE_TIMEOUT_UNDEFINED";
|
|
293
|
+
readonly DEFAULT_TASK_LIST_UNDEFINED: "DEFAULT_TASK_LIST_UNDEFINED";
|
|
294
|
+
readonly OPEN_ACTIVITIES_LIMIT_EXCEEDED: "OPEN_ACTIVITIES_LIMIT_EXCEEDED";
|
|
295
|
+
readonly OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED";
|
|
296
|
+
};
|
|
297
|
+
/**
|
|
298
|
+
* @public
|
|
299
|
+
*/
|
|
300
|
+
export type ScheduleActivityTaskFailedCause = (typeof ScheduleActivityTaskFailedCause)[keyof typeof ScheduleActivityTaskFailedCause];
|
|
301
|
+
/**
|
|
302
|
+
* @public
|
|
303
|
+
* @enum
|
|
304
|
+
*/
|
|
305
|
+
export declare const ScheduleLambdaFunctionFailedCause: {
|
|
306
|
+
readonly ID_ALREADY_IN_USE: "ID_ALREADY_IN_USE";
|
|
307
|
+
readonly LAMBDA_FUNCTION_CREATION_RATE_EXCEEDED: "LAMBDA_FUNCTION_CREATION_RATE_EXCEEDED";
|
|
308
|
+
readonly LAMBDA_SERVICE_NOT_AVAILABLE_IN_REGION: "LAMBDA_SERVICE_NOT_AVAILABLE_IN_REGION";
|
|
309
|
+
readonly OPEN_LAMBDA_FUNCTIONS_LIMIT_EXCEEDED: "OPEN_LAMBDA_FUNCTIONS_LIMIT_EXCEEDED";
|
|
310
|
+
};
|
|
311
|
+
/**
|
|
312
|
+
* @public
|
|
313
|
+
*/
|
|
314
|
+
export type ScheduleLambdaFunctionFailedCause = (typeof ScheduleLambdaFunctionFailedCause)[keyof typeof ScheduleLambdaFunctionFailedCause];
|
|
315
|
+
/**
|
|
316
|
+
* @public
|
|
317
|
+
* @enum
|
|
318
|
+
*/
|
|
319
|
+
export declare const SignalExternalWorkflowExecutionFailedCause: {
|
|
320
|
+
readonly OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED";
|
|
321
|
+
readonly SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED: "SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED";
|
|
322
|
+
readonly UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION: "UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION";
|
|
323
|
+
};
|
|
324
|
+
/**
|
|
325
|
+
* @public
|
|
326
|
+
*/
|
|
327
|
+
export type SignalExternalWorkflowExecutionFailedCause = (typeof SignalExternalWorkflowExecutionFailedCause)[keyof typeof SignalExternalWorkflowExecutionFailedCause];
|
|
328
|
+
/**
|
|
329
|
+
* @public
|
|
330
|
+
* @enum
|
|
331
|
+
*/
|
|
332
|
+
export declare const StartChildWorkflowExecutionFailedCause: {
|
|
333
|
+
readonly CHILD_CREATION_RATE_EXCEEDED: "CHILD_CREATION_RATE_EXCEEDED";
|
|
334
|
+
readonly DEFAULT_CHILD_POLICY_UNDEFINED: "DEFAULT_CHILD_POLICY_UNDEFINED";
|
|
335
|
+
readonly DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED: "DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED";
|
|
336
|
+
readonly DEFAULT_TASK_LIST_UNDEFINED: "DEFAULT_TASK_LIST_UNDEFINED";
|
|
337
|
+
readonly DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED: "DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED";
|
|
338
|
+
readonly OPEN_CHILDREN_LIMIT_EXCEEDED: "OPEN_CHILDREN_LIMIT_EXCEEDED";
|
|
339
|
+
readonly OPEN_WORKFLOWS_LIMIT_EXCEEDED: "OPEN_WORKFLOWS_LIMIT_EXCEEDED";
|
|
340
|
+
readonly OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED";
|
|
341
|
+
readonly WORKFLOW_ALREADY_RUNNING: "WORKFLOW_ALREADY_RUNNING";
|
|
342
|
+
readonly WORKFLOW_TYPE_DEPRECATED: "WORKFLOW_TYPE_DEPRECATED";
|
|
343
|
+
readonly WORKFLOW_TYPE_DOES_NOT_EXIST: "WORKFLOW_TYPE_DOES_NOT_EXIST";
|
|
344
|
+
};
|
|
345
|
+
/**
|
|
346
|
+
* @public
|
|
347
|
+
*/
|
|
348
|
+
export type StartChildWorkflowExecutionFailedCause = (typeof StartChildWorkflowExecutionFailedCause)[keyof typeof StartChildWorkflowExecutionFailedCause];
|
|
349
|
+
/**
|
|
350
|
+
* @public
|
|
351
|
+
* @enum
|
|
352
|
+
*/
|
|
353
|
+
export declare const StartLambdaFunctionFailedCause: {
|
|
354
|
+
readonly ASSUME_ROLE_FAILED: "ASSUME_ROLE_FAILED";
|
|
355
|
+
};
|
|
356
|
+
/**
|
|
357
|
+
* @public
|
|
358
|
+
*/
|
|
359
|
+
export type StartLambdaFunctionFailedCause = (typeof StartLambdaFunctionFailedCause)[keyof typeof StartLambdaFunctionFailedCause];
|
|
360
|
+
/**
|
|
361
|
+
* @public
|
|
362
|
+
* @enum
|
|
363
|
+
*/
|
|
364
|
+
export declare const StartTimerFailedCause: {
|
|
365
|
+
readonly OPEN_TIMERS_LIMIT_EXCEEDED: "OPEN_TIMERS_LIMIT_EXCEEDED";
|
|
366
|
+
readonly OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED";
|
|
367
|
+
readonly TIMER_CREATION_RATE_EXCEEDED: "TIMER_CREATION_RATE_EXCEEDED";
|
|
368
|
+
readonly TIMER_ID_ALREADY_IN_USE: "TIMER_ID_ALREADY_IN_USE";
|
|
369
|
+
};
|
|
370
|
+
/**
|
|
371
|
+
* @public
|
|
372
|
+
*/
|
|
373
|
+
export type StartTimerFailedCause = (typeof StartTimerFailedCause)[keyof typeof StartTimerFailedCause];
|
|
374
|
+
/**
|
|
375
|
+
* @public
|
|
376
|
+
* @enum
|
|
377
|
+
*/
|
|
378
|
+
export declare const WorkflowExecutionCancelRequestedCause: {
|
|
379
|
+
readonly CHILD_POLICY_APPLIED: "CHILD_POLICY_APPLIED";
|
|
380
|
+
};
|
|
381
|
+
/**
|
|
382
|
+
* @public
|
|
383
|
+
*/
|
|
384
|
+
export type WorkflowExecutionCancelRequestedCause = (typeof WorkflowExecutionCancelRequestedCause)[keyof typeof WorkflowExecutionCancelRequestedCause];
|
|
385
|
+
/**
|
|
386
|
+
* @public
|
|
387
|
+
* @enum
|
|
388
|
+
*/
|
|
389
|
+
export declare const WorkflowExecutionTerminatedCause: {
|
|
390
|
+
readonly CHILD_POLICY_APPLIED: "CHILD_POLICY_APPLIED";
|
|
391
|
+
readonly EVENT_LIMIT_EXCEEDED: "EVENT_LIMIT_EXCEEDED";
|
|
392
|
+
readonly OPERATOR_INITIATED: "OPERATOR_INITIATED";
|
|
393
|
+
};
|
|
394
|
+
/**
|
|
395
|
+
* @public
|
|
396
|
+
*/
|
|
397
|
+
export type WorkflowExecutionTerminatedCause = (typeof WorkflowExecutionTerminatedCause)[keyof typeof WorkflowExecutionTerminatedCause];
|
|
398
|
+
/**
|
|
399
|
+
* @public
|
|
400
|
+
* @enum
|
|
401
|
+
*/
|
|
402
|
+
export declare const ExecutionStatus: {
|
|
403
|
+
readonly CLOSED: "CLOSED";
|
|
404
|
+
readonly OPEN: "OPEN";
|
|
405
|
+
};
|
|
406
|
+
/**
|
|
407
|
+
* @public
|
|
408
|
+
*/
|
|
409
|
+
export type ExecutionStatus = (typeof ExecutionStatus)[keyof typeof ExecutionStatus];
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { SWFServiceException as __BaseException } from "./SWFServiceException";
|
|
3
|
+
/**
|
|
4
|
+
* <p>Returned when the caller doesn't have sufficient permissions to invoke the action.</p>
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare class OperationNotPermittedFault extends __BaseException {
|
|
8
|
+
readonly name: "OperationNotPermittedFault";
|
|
9
|
+
readonly $fault: "client";
|
|
10
|
+
/**
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
13
|
+
constructor(opts: __ExceptionOptionType<OperationNotPermittedFault, __BaseException>);
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* <p>Returned when the named resource cannot be found with in the scope of this operation (region or domain). This could happen if the named resource was never created or is no longer available for this operation.</p>
|
|
17
|
+
* @public
|
|
18
|
+
*/
|
|
19
|
+
export declare class UnknownResourceFault extends __BaseException {
|
|
20
|
+
readonly name: "UnknownResourceFault";
|
|
21
|
+
readonly $fault: "client";
|
|
22
|
+
/**
|
|
23
|
+
* @internal
|
|
24
|
+
*/
|
|
25
|
+
constructor(opts: __ExceptionOptionType<UnknownResourceFault, __BaseException>);
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* <p>The <code>StartWorkflowExecution</code> API action was called without the required
|
|
29
|
+
* parameters set.</p>
|
|
30
|
+
* <p>Some workflow execution parameters, such as the decision <code>taskList</code>, must be
|
|
31
|
+
* set to start the execution. However, these parameters might have been set as defaults when the
|
|
32
|
+
* workflow type was registered. In this case, you can omit these parameters from the
|
|
33
|
+
* <code>StartWorkflowExecution</code> call and Amazon SWF uses the values defined in the workflow
|
|
34
|
+
* type.</p>
|
|
35
|
+
* <note>
|
|
36
|
+
* <p>If these parameters aren't set and no default parameters were defined in the workflow
|
|
37
|
+
* type, this error is displayed.</p>
|
|
38
|
+
* </note>
|
|
39
|
+
* @public
|
|
40
|
+
*/
|
|
41
|
+
export declare class DefaultUndefinedFault extends __BaseException {
|
|
42
|
+
readonly name: "DefaultUndefinedFault";
|
|
43
|
+
readonly $fault: "client";
|
|
44
|
+
/**
|
|
45
|
+
* @internal
|
|
46
|
+
*/
|
|
47
|
+
constructor(opts: __ExceptionOptionType<DefaultUndefinedFault, __BaseException>);
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* <p>Returned when the resource type has not been deprecated.</p>
|
|
51
|
+
* @public
|
|
52
|
+
*/
|
|
53
|
+
export declare class TypeNotDeprecatedFault extends __BaseException {
|
|
54
|
+
readonly name: "TypeNotDeprecatedFault";
|
|
55
|
+
readonly $fault: "client";
|
|
56
|
+
/**
|
|
57
|
+
* @internal
|
|
58
|
+
*/
|
|
59
|
+
constructor(opts: __ExceptionOptionType<TypeNotDeprecatedFault, __BaseException>);
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* <p>Returned when the specified activity or workflow type was already deprecated.</p>
|
|
63
|
+
* @public
|
|
64
|
+
*/
|
|
65
|
+
export declare class TypeDeprecatedFault extends __BaseException {
|
|
66
|
+
readonly name: "TypeDeprecatedFault";
|
|
67
|
+
readonly $fault: "client";
|
|
68
|
+
/**
|
|
69
|
+
* @internal
|
|
70
|
+
*/
|
|
71
|
+
constructor(opts: __ExceptionOptionType<TypeDeprecatedFault, __BaseException>);
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* <p>Returned when the specified domain has been deprecated.</p>
|
|
75
|
+
* @public
|
|
76
|
+
*/
|
|
77
|
+
export declare class DomainDeprecatedFault extends __BaseException {
|
|
78
|
+
readonly name: "DomainDeprecatedFault";
|
|
79
|
+
readonly $fault: "client";
|
|
80
|
+
/**
|
|
81
|
+
* @internal
|
|
82
|
+
*/
|
|
83
|
+
constructor(opts: __ExceptionOptionType<DomainDeprecatedFault, __BaseException>);
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* <p>Returned if the domain already exists. You may get this fault if you are registering a domain that is either already registered or deprecated, or if you undeprecate a domain that is currently registered.</p>
|
|
87
|
+
* @public
|
|
88
|
+
*/
|
|
89
|
+
export declare class DomainAlreadyExistsFault extends __BaseException {
|
|
90
|
+
readonly name: "DomainAlreadyExistsFault";
|
|
91
|
+
readonly $fault: "client";
|
|
92
|
+
/**
|
|
93
|
+
* @internal
|
|
94
|
+
*/
|
|
95
|
+
constructor(opts: __ExceptionOptionType<DomainAlreadyExistsFault, __BaseException>);
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* <p>Returned by any operation if a system imposed limitation has been reached. To address this fault you should either clean up unused resources or increase the limit by contacting AWS.</p>
|
|
99
|
+
* @public
|
|
100
|
+
*/
|
|
101
|
+
export declare class LimitExceededFault extends __BaseException {
|
|
102
|
+
readonly name: "LimitExceededFault";
|
|
103
|
+
readonly $fault: "client";
|
|
104
|
+
/**
|
|
105
|
+
* @internal
|
|
106
|
+
*/
|
|
107
|
+
constructor(opts: __ExceptionOptionType<LimitExceededFault, __BaseException>);
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* <p>Returned if the type already exists in the specified domain. You may get this fault if you are registering a type that is either already registered or deprecated, or if you undeprecate a type that is currently registered.</p>
|
|
111
|
+
* @public
|
|
112
|
+
*/
|
|
113
|
+
export declare class TypeAlreadyExistsFault extends __BaseException {
|
|
114
|
+
readonly name: "TypeAlreadyExistsFault";
|
|
115
|
+
readonly $fault: "client";
|
|
116
|
+
/**
|
|
117
|
+
* @internal
|
|
118
|
+
*/
|
|
119
|
+
constructor(opts: __ExceptionOptionType<TypeAlreadyExistsFault, __BaseException>);
|
|
120
|
+
}
|
|
121
|
+
/**
|
|
122
|
+
* <p>You've exceeded the number of tags allowed for a domain.</p>
|
|
123
|
+
* @public
|
|
124
|
+
*/
|
|
125
|
+
export declare class TooManyTagsFault extends __BaseException {
|
|
126
|
+
readonly name: "TooManyTagsFault";
|
|
127
|
+
readonly $fault: "client";
|
|
128
|
+
/**
|
|
129
|
+
* @internal
|
|
130
|
+
*/
|
|
131
|
+
constructor(opts: __ExceptionOptionType<TooManyTagsFault, __BaseException>);
|
|
132
|
+
}
|
|
133
|
+
/**
|
|
134
|
+
* <p>Returned by <a>StartWorkflowExecution</a> when an open execution with the same workflowId is already running in
|
|
135
|
+
* the specified domain.</p>
|
|
136
|
+
* @public
|
|
137
|
+
*/
|
|
138
|
+
export declare class WorkflowExecutionAlreadyStartedFault extends __BaseException {
|
|
139
|
+
readonly name: "WorkflowExecutionAlreadyStartedFault";
|
|
140
|
+
readonly $fault: "client";
|
|
141
|
+
/**
|
|
142
|
+
* @internal
|
|
143
|
+
*/
|
|
144
|
+
constructor(opts: __ExceptionOptionType<WorkflowExecutionAlreadyStartedFault, __BaseException>);
|
|
145
|
+
}
|