@aws-sdk/client-swf 3.258.0 → 3.261.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/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_0.js +230 -4
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +226 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +200 -26
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +200 -162
- package/package.json +10 -10
|
@@ -60,11 +60,12 @@ export interface ActivityTaskStartedEventAttributes {
|
|
|
60
60
|
export interface ActivityTaskStatus {
|
|
61
61
|
cancelRequested: boolean | undefined;
|
|
62
62
|
}
|
|
63
|
-
export declare
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
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
|
+
}
|
|
68
69
|
export interface ActivityTaskTimedOutEventAttributes {
|
|
69
70
|
timeoutType: ActivityTaskTimeoutType | string | undefined;
|
|
70
71
|
scheduledEventId: number | undefined;
|
|
@@ -79,7 +80,10 @@ export interface ActivityTypeConfiguration {
|
|
|
79
80
|
defaultTaskScheduleToStartTimeout?: string;
|
|
80
81
|
defaultTaskScheduleToCloseTimeout?: string;
|
|
81
82
|
}
|
|
82
|
-
export declare
|
|
83
|
+
export declare enum RegistrationStatus {
|
|
84
|
+
DEPRECATED = "DEPRECATED",
|
|
85
|
+
REGISTERED = "REGISTERED",
|
|
86
|
+
}
|
|
83
87
|
export interface ActivityTypeInfo {
|
|
84
88
|
activityType: ActivityType | undefined;
|
|
85
89
|
status: RegistrationStatus | string | undefined;
|
|
@@ -98,9 +102,10 @@ export interface ActivityTypeInfos {
|
|
|
98
102
|
export interface CancelTimerDecisionAttributes {
|
|
99
103
|
timerId: string | undefined;
|
|
100
104
|
}
|
|
101
|
-
export declare
|
|
102
|
-
|
|
103
|
-
|
|
105
|
+
export declare enum CancelTimerFailedCause {
|
|
106
|
+
OPERATION_NOT_PERMITTED = "OPERATION_NOT_PERMITTED",
|
|
107
|
+
TIMER_ID_UNKNOWN = "TIMER_ID_UNKNOWN",
|
|
108
|
+
}
|
|
104
109
|
export interface CancelTimerFailedEventAttributes {
|
|
105
110
|
timerId: string | undefined;
|
|
106
111
|
cause: CancelTimerFailedCause | string | undefined;
|
|
@@ -109,14 +114,19 @@ export interface CancelTimerFailedEventAttributes {
|
|
|
109
114
|
export interface CancelWorkflowExecutionDecisionAttributes {
|
|
110
115
|
details?: string;
|
|
111
116
|
}
|
|
112
|
-
export declare
|
|
113
|
-
|
|
114
|
-
|
|
117
|
+
export declare enum CancelWorkflowExecutionFailedCause {
|
|
118
|
+
OPERATION_NOT_PERMITTED = "OPERATION_NOT_PERMITTED",
|
|
119
|
+
UNHANDLED_DECISION = "UNHANDLED_DECISION",
|
|
120
|
+
}
|
|
115
121
|
export interface CancelWorkflowExecutionFailedEventAttributes {
|
|
116
122
|
cause: CancelWorkflowExecutionFailedCause | string | undefined;
|
|
117
123
|
decisionTaskCompletedEventId: number | undefined;
|
|
118
124
|
}
|
|
119
|
-
export declare
|
|
125
|
+
export declare enum ChildPolicy {
|
|
126
|
+
ABANDON = "ABANDON",
|
|
127
|
+
REQUEST_CANCEL = "REQUEST_CANCEL",
|
|
128
|
+
TERMINATE = "TERMINATE",
|
|
129
|
+
}
|
|
120
130
|
export interface WorkflowType {
|
|
121
131
|
name: string | undefined;
|
|
122
132
|
version: string | undefined;
|
|
@@ -154,7 +164,9 @@ export interface ChildWorkflowExecutionTerminatedEventAttributes {
|
|
|
154
164
|
initiatedEventId: number | undefined;
|
|
155
165
|
startedEventId: number | undefined;
|
|
156
166
|
}
|
|
157
|
-
export declare
|
|
167
|
+
export declare enum WorkflowExecutionTimeoutType {
|
|
168
|
+
START_TO_CLOSE = "START_TO_CLOSE",
|
|
169
|
+
}
|
|
158
170
|
export interface ChildWorkflowExecutionTimedOutEventAttributes {
|
|
159
171
|
workflowExecution: WorkflowExecution | undefined;
|
|
160
172
|
workflowType: WorkflowType | undefined;
|
|
@@ -162,22 +174,24 @@ export interface ChildWorkflowExecutionTimedOutEventAttributes {
|
|
|
162
174
|
initiatedEventId: number | undefined;
|
|
163
175
|
startedEventId: number | undefined;
|
|
164
176
|
}
|
|
165
|
-
export declare
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
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
|
+
}
|
|
172
185
|
export interface CloseStatusFilter {
|
|
173
186
|
status: CloseStatus | string | undefined;
|
|
174
187
|
}
|
|
175
188
|
export interface CompleteWorkflowExecutionDecisionAttributes {
|
|
176
189
|
result?: string;
|
|
177
190
|
}
|
|
178
|
-
export declare
|
|
179
|
-
|
|
180
|
-
|
|
191
|
+
export declare enum CompleteWorkflowExecutionFailedCause {
|
|
192
|
+
OPERATION_NOT_PERMITTED = "OPERATION_NOT_PERMITTED",
|
|
193
|
+
UNHANDLED_DECISION = "UNHANDLED_DECISION",
|
|
194
|
+
}
|
|
181
195
|
export interface CompleteWorkflowExecutionFailedEventAttributes {
|
|
182
196
|
cause: CompleteWorkflowExecutionFailedCause | string | undefined;
|
|
183
197
|
decisionTaskCompletedEventId: number | undefined;
|
|
@@ -193,16 +207,17 @@ export interface ContinueAsNewWorkflowExecutionDecisionAttributes {
|
|
|
193
207
|
workflowTypeVersion?: string;
|
|
194
208
|
lambdaRole?: string;
|
|
195
209
|
}
|
|
196
|
-
export declare
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
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
|
+
}
|
|
206
221
|
export interface ContinueAsNewWorkflowExecutionFailedEventAttributes {
|
|
207
222
|
cause: ContinueAsNewWorkflowExecutionFailedCause | string | undefined;
|
|
208
223
|
decisionTaskCompletedEventId: number | undefined;
|
|
@@ -267,20 +282,21 @@ export interface CountPendingDecisionTasksInput {
|
|
|
267
282
|
domain: string | undefined;
|
|
268
283
|
taskList: TaskList | undefined;
|
|
269
284
|
}
|
|
270
|
-
export declare
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
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
|
+
}
|
|
284
300
|
export interface FailWorkflowExecutionDecisionAttributes {
|
|
285
301
|
reason?: string;
|
|
286
302
|
details?: string;
|
|
@@ -371,67 +387,70 @@ export interface DecisionTaskStartedEventAttributes {
|
|
|
371
387
|
identity?: string;
|
|
372
388
|
scheduledEventId: number | undefined;
|
|
373
389
|
}
|
|
374
|
-
export declare
|
|
390
|
+
export declare enum DecisionTaskTimeoutType {
|
|
391
|
+
START_TO_CLOSE = "START_TO_CLOSE",
|
|
392
|
+
}
|
|
375
393
|
export interface DecisionTaskTimedOutEventAttributes {
|
|
376
394
|
timeoutType: DecisionTaskTimeoutType | string | undefined;
|
|
377
395
|
scheduledEventId: number | undefined;
|
|
378
396
|
startedEventId: number | undefined;
|
|
379
397
|
}
|
|
380
|
-
export declare
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
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
|
+
}
|
|
435
454
|
export interface ExternalWorkflowExecutionCancelRequestedEventAttributes {
|
|
436
455
|
workflowExecution: WorkflowExecution | undefined;
|
|
437
456
|
initiatedEventId: number | undefined;
|
|
@@ -440,9 +459,10 @@ export interface ExternalWorkflowExecutionSignaledEventAttributes {
|
|
|
440
459
|
workflowExecution: WorkflowExecution | undefined;
|
|
441
460
|
initiatedEventId: number | undefined;
|
|
442
461
|
}
|
|
443
|
-
export declare
|
|
444
|
-
|
|
445
|
-
|
|
462
|
+
export declare enum FailWorkflowExecutionFailedCause {
|
|
463
|
+
OPERATION_NOT_PERMITTED = "OPERATION_NOT_PERMITTED",
|
|
464
|
+
UNHANDLED_DECISION = "UNHANDLED_DECISION",
|
|
465
|
+
}
|
|
446
466
|
export interface FailWorkflowExecutionFailedEventAttributes {
|
|
447
467
|
cause: FailWorkflowExecutionFailedCause | string | undefined;
|
|
448
468
|
decisionTaskCompletedEventId: number | undefined;
|
|
@@ -469,7 +489,9 @@ export interface LambdaFunctionScheduledEventAttributes {
|
|
|
469
489
|
export interface LambdaFunctionStartedEventAttributes {
|
|
470
490
|
scheduledEventId: number | undefined;
|
|
471
491
|
}
|
|
472
|
-
export declare
|
|
492
|
+
export declare enum LambdaFunctionTimeoutType {
|
|
493
|
+
START_TO_CLOSE = "START_TO_CLOSE",
|
|
494
|
+
}
|
|
473
495
|
export interface LambdaFunctionTimedOutEventAttributes {
|
|
474
496
|
scheduledEventId: number | undefined;
|
|
475
497
|
startedEventId: number | undefined;
|
|
@@ -480,24 +502,28 @@ export interface MarkerRecordedEventAttributes {
|
|
|
480
502
|
details?: string;
|
|
481
503
|
decisionTaskCompletedEventId: number | undefined;
|
|
482
504
|
}
|
|
483
|
-
export declare
|
|
505
|
+
export declare enum RecordMarkerFailedCause {
|
|
506
|
+
OPERATION_NOT_PERMITTED = "OPERATION_NOT_PERMITTED",
|
|
507
|
+
}
|
|
484
508
|
export interface RecordMarkerFailedEventAttributes {
|
|
485
509
|
markerName: string | undefined;
|
|
486
510
|
cause: RecordMarkerFailedCause | string | undefined;
|
|
487
511
|
decisionTaskCompletedEventId: number | undefined;
|
|
488
512
|
}
|
|
489
|
-
export declare
|
|
490
|
-
|
|
491
|
-
|
|
513
|
+
export declare enum RequestCancelActivityTaskFailedCause {
|
|
514
|
+
ACTIVITY_ID_UNKNOWN = "ACTIVITY_ID_UNKNOWN",
|
|
515
|
+
OPERATION_NOT_PERMITTED = "OPERATION_NOT_PERMITTED",
|
|
516
|
+
}
|
|
492
517
|
export interface RequestCancelActivityTaskFailedEventAttributes {
|
|
493
518
|
activityId: string | undefined;
|
|
494
519
|
cause: RequestCancelActivityTaskFailedCause | string | undefined;
|
|
495
520
|
decisionTaskCompletedEventId: number | undefined;
|
|
496
521
|
}
|
|
497
|
-
export declare
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
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
|
+
}
|
|
501
527
|
export interface RequestCancelExternalWorkflowExecutionFailedEventAttributes {
|
|
502
528
|
workflowId: string | undefined;
|
|
503
529
|
runId?: string;
|
|
@@ -512,39 +538,42 @@ export interface RequestCancelExternalWorkflowExecutionInitiatedEventAttributes
|
|
|
512
538
|
decisionTaskCompletedEventId: number | undefined;
|
|
513
539
|
control?: string;
|
|
514
540
|
}
|
|
515
|
-
export declare
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
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
|
+
}
|
|
527
554
|
export interface ScheduleActivityTaskFailedEventAttributes {
|
|
528
555
|
activityType: ActivityType | undefined;
|
|
529
556
|
activityId: string | undefined;
|
|
530
557
|
cause: ScheduleActivityTaskFailedCause | string | undefined;
|
|
531
558
|
decisionTaskCompletedEventId: number | undefined;
|
|
532
559
|
}
|
|
533
|
-
export declare
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
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
|
+
}
|
|
538
566
|
export interface ScheduleLambdaFunctionFailedEventAttributes {
|
|
539
567
|
id: string | undefined;
|
|
540
568
|
name: string | undefined;
|
|
541
569
|
cause: ScheduleLambdaFunctionFailedCause | string | undefined;
|
|
542
570
|
decisionTaskCompletedEventId: number | undefined;
|
|
543
571
|
}
|
|
544
|
-
export declare
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
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
|
+
}
|
|
548
577
|
export interface SignalExternalWorkflowExecutionFailedEventAttributes {
|
|
549
578
|
workflowId: string | undefined;
|
|
550
579
|
runId?: string;
|
|
@@ -561,18 +590,19 @@ export interface SignalExternalWorkflowExecutionInitiatedEventAttributes {
|
|
|
561
590
|
decisionTaskCompletedEventId: number | undefined;
|
|
562
591
|
control?: string;
|
|
563
592
|
}
|
|
564
|
-
export declare
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
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
|
+
}
|
|
576
606
|
export interface StartChildWorkflowExecutionFailedEventAttributes {
|
|
577
607
|
workflowType: WorkflowType | undefined;
|
|
578
608
|
cause: StartChildWorkflowExecutionFailedCause | string | undefined;
|
|
@@ -595,17 +625,20 @@ export interface StartChildWorkflowExecutionInitiatedEventAttributes {
|
|
|
595
625
|
tagList?: string[];
|
|
596
626
|
lambdaRole?: string;
|
|
597
627
|
}
|
|
598
|
-
export declare
|
|
628
|
+
export declare enum StartLambdaFunctionFailedCause {
|
|
629
|
+
ASSUME_ROLE_FAILED = "ASSUME_ROLE_FAILED",
|
|
630
|
+
}
|
|
599
631
|
export interface StartLambdaFunctionFailedEventAttributes {
|
|
600
632
|
scheduledEventId?: number;
|
|
601
633
|
cause?: StartLambdaFunctionFailedCause | string;
|
|
602
634
|
message?: string;
|
|
603
635
|
}
|
|
604
|
-
export declare
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
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
|
+
}
|
|
609
642
|
export interface StartTimerFailedEventAttributes {
|
|
610
643
|
timerId: string | undefined;
|
|
611
644
|
cause: StartTimerFailedCause | string | undefined;
|
|
@@ -630,8 +663,9 @@ export interface WorkflowExecutionCanceledEventAttributes {
|
|
|
630
663
|
details?: string;
|
|
631
664
|
decisionTaskCompletedEventId: number | undefined;
|
|
632
665
|
}
|
|
633
|
-
export declare
|
|
634
|
-
"CHILD_POLICY_APPLIED"
|
|
666
|
+
export declare enum WorkflowExecutionCancelRequestedCause {
|
|
667
|
+
CHILD_POLICY_APPLIED = "CHILD_POLICY_APPLIED",
|
|
668
|
+
}
|
|
635
669
|
export interface WorkflowExecutionCancelRequestedEventAttributes {
|
|
636
670
|
externalWorkflowExecution?: WorkflowExecution;
|
|
637
671
|
externalInitiatedEventId?: number;
|
|
@@ -679,10 +713,11 @@ export interface WorkflowExecutionStartedEventAttributes {
|
|
|
679
713
|
parentInitiatedEventId?: number;
|
|
680
714
|
lambdaRole?: string;
|
|
681
715
|
}
|
|
682
|
-
export declare
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
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
|
+
}
|
|
686
721
|
export interface WorkflowExecutionTerminatedEventAttributes {
|
|
687
722
|
reason?: string;
|
|
688
723
|
details?: string;
|
|
@@ -825,7 +860,10 @@ export interface WorkflowExecutionConfiguration {
|
|
|
825
860
|
childPolicy: ChildPolicy | string | undefined;
|
|
826
861
|
lambdaRole?: string;
|
|
827
862
|
}
|
|
828
|
-
export declare
|
|
863
|
+
export declare enum ExecutionStatus {
|
|
864
|
+
CLOSED = "CLOSED",
|
|
865
|
+
OPEN = "OPEN",
|
|
866
|
+
}
|
|
829
867
|
export interface WorkflowExecutionInfo {
|
|
830
868
|
execution: WorkflowExecution | undefined;
|
|
831
869
|
workflowType: WorkflowType | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-swf",
|
|
3
3
|
"description": "AWS SDK for JavaScript Swf Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.261.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/config-resolver": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.261.0",
|
|
24
|
+
"@aws-sdk/config-resolver": "3.259.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.261.0",
|
|
26
26
|
"@aws-sdk/fetch-http-handler": "3.257.0",
|
|
27
27
|
"@aws-sdk/hash-node": "3.257.0",
|
|
28
28
|
"@aws-sdk/invalid-dependency": "3.257.0",
|
|
@@ -31,26 +31,26 @@
|
|
|
31
31
|
"@aws-sdk/middleware-host-header": "3.257.0",
|
|
32
32
|
"@aws-sdk/middleware-logger": "3.257.0",
|
|
33
33
|
"@aws-sdk/middleware-recursion-detection": "3.257.0",
|
|
34
|
-
"@aws-sdk/middleware-retry": "3.
|
|
34
|
+
"@aws-sdk/middleware-retry": "3.259.0",
|
|
35
35
|
"@aws-sdk/middleware-serde": "3.257.0",
|
|
36
36
|
"@aws-sdk/middleware-signing": "3.257.0",
|
|
37
37
|
"@aws-sdk/middleware-stack": "3.257.0",
|
|
38
38
|
"@aws-sdk/middleware-user-agent": "3.257.0",
|
|
39
|
-
"@aws-sdk/node-config-provider": "3.
|
|
39
|
+
"@aws-sdk/node-config-provider": "3.259.0",
|
|
40
40
|
"@aws-sdk/node-http-handler": "3.257.0",
|
|
41
41
|
"@aws-sdk/protocol-http": "3.257.0",
|
|
42
|
-
"@aws-sdk/smithy-client": "3.
|
|
42
|
+
"@aws-sdk/smithy-client": "3.261.0",
|
|
43
43
|
"@aws-sdk/types": "3.257.0",
|
|
44
44
|
"@aws-sdk/url-parser": "3.257.0",
|
|
45
45
|
"@aws-sdk/util-base64": "3.208.0",
|
|
46
46
|
"@aws-sdk/util-body-length-browser": "3.188.0",
|
|
47
47
|
"@aws-sdk/util-body-length-node": "3.208.0",
|
|
48
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
48
|
+
"@aws-sdk/util-defaults-mode-browser": "3.261.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-node": "3.261.0",
|
|
50
50
|
"@aws-sdk/util-endpoints": "3.257.0",
|
|
51
51
|
"@aws-sdk/util-retry": "3.257.0",
|
|
52
52
|
"@aws-sdk/util-user-agent-browser": "3.257.0",
|
|
53
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
53
|
+
"@aws-sdk/util-user-agent-node": "3.259.0",
|
|
54
54
|
"@aws-sdk/util-utf8": "3.254.0",
|
|
55
55
|
"tslib": "^2.3.1"
|
|
56
56
|
},
|