@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.
@@ -1,5 +1,31 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { SWFServiceException as __BaseException } from "./SWFServiceException";
1
+ import {
2
+ ActivityTaskTimeoutType,
3
+ CancelTimerFailedCause,
4
+ CancelWorkflowExecutionFailedCause,
5
+ ChildPolicy,
6
+ CloseStatus,
7
+ CompleteWorkflowExecutionFailedCause,
8
+ ContinueAsNewWorkflowExecutionFailedCause,
9
+ DecisionTaskTimeoutType,
10
+ DecisionType,
11
+ EventType,
12
+ ExecutionStatus,
13
+ FailWorkflowExecutionFailedCause,
14
+ LambdaFunctionTimeoutType,
15
+ RecordMarkerFailedCause,
16
+ RegistrationStatus,
17
+ RequestCancelActivityTaskFailedCause,
18
+ RequestCancelExternalWorkflowExecutionFailedCause,
19
+ ScheduleActivityTaskFailedCause,
20
+ ScheduleLambdaFunctionFailedCause,
21
+ SignalExternalWorkflowExecutionFailedCause,
22
+ StartChildWorkflowExecutionFailedCause,
23
+ StartLambdaFunctionFailedCause,
24
+ StartTimerFailedCause,
25
+ WorkflowExecutionCancelRequestedCause,
26
+ WorkflowExecutionTerminatedCause,
27
+ WorkflowExecutionTimeoutType,
28
+ } from "./enums";
3
29
  export interface ActivityType {
4
30
  name: string | undefined;
5
31
  version: string | undefined;
@@ -60,14 +86,6 @@ export interface ActivityTaskStartedEventAttributes {
60
86
  export interface ActivityTaskStatus {
61
87
  cancelRequested: boolean | undefined;
62
88
  }
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];
71
89
  export interface ActivityTaskTimedOutEventAttributes {
72
90
  timeoutType: ActivityTaskTimeoutType | undefined;
73
91
  scheduledEventId: number | undefined;
@@ -82,12 +100,6 @@ export interface ActivityTypeConfiguration {
82
100
  defaultTaskScheduleToStartTimeout?: string | undefined;
83
101
  defaultTaskScheduleToCloseTimeout?: string | undefined;
84
102
  }
85
- export declare const RegistrationStatus: {
86
- readonly DEPRECATED: "DEPRECATED";
87
- readonly REGISTERED: "REGISTERED";
88
- };
89
- export type RegistrationStatus =
90
- (typeof RegistrationStatus)[keyof typeof RegistrationStatus];
91
103
  export interface ActivityTypeInfo {
92
104
  activityType: ActivityType | undefined;
93
105
  status: RegistrationStatus | undefined;
@@ -106,12 +118,6 @@ export interface ActivityTypeInfos {
106
118
  export interface CancelTimerDecisionAttributes {
107
119
  timerId: string | undefined;
108
120
  }
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];
115
121
  export interface CancelTimerFailedEventAttributes {
116
122
  timerId: string | undefined;
117
123
  cause: CancelTimerFailedCause | undefined;
@@ -120,22 +126,10 @@ export interface CancelTimerFailedEventAttributes {
120
126
  export interface CancelWorkflowExecutionDecisionAttributes {
121
127
  details?: string | undefined;
122
128
  }
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];
129
129
  export interface CancelWorkflowExecutionFailedEventAttributes {
130
130
  cause: CancelWorkflowExecutionFailedCause | undefined;
131
131
  decisionTaskCompletedEventId: number | undefined;
132
132
  }
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];
139
133
  export interface WorkflowType {
140
134
  name: string | undefined;
141
135
  version: string | undefined;
@@ -173,11 +167,6 @@ export interface ChildWorkflowExecutionTerminatedEventAttributes {
173
167
  initiatedEventId: number | undefined;
174
168
  startedEventId: number | undefined;
175
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];
181
170
  export interface ChildWorkflowExecutionTimedOutEventAttributes {
182
171
  workflowExecution: WorkflowExecution | undefined;
183
172
  workflowType: WorkflowType | undefined;
@@ -185,27 +174,12 @@ export interface ChildWorkflowExecutionTimedOutEventAttributes {
185
174
  initiatedEventId: number | undefined;
186
175
  startedEventId: number | undefined;
187
176
  }
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];
197
177
  export interface CloseStatusFilter {
198
178
  status: CloseStatus | undefined;
199
179
  }
200
180
  export interface CompleteWorkflowExecutionDecisionAttributes {
201
181
  result?: string | undefined;
202
182
  }
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];
209
183
  export interface CompleteWorkflowExecutionFailedEventAttributes {
210
184
  cause: CompleteWorkflowExecutionFailedCause | undefined;
211
185
  decisionTaskCompletedEventId: number | undefined;
@@ -221,19 +195,6 @@ export interface ContinueAsNewWorkflowExecutionDecisionAttributes {
221
195
  workflowTypeVersion?: string | undefined;
222
196
  lambdaRole?: string | undefined;
223
197
  }
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];
237
198
  export interface ContinueAsNewWorkflowExecutionFailedEventAttributes {
238
199
  cause: ContinueAsNewWorkflowExecutionFailedCause | undefined;
239
200
  decisionTaskCompletedEventId: number | undefined;
@@ -261,20 +222,6 @@ export interface CountClosedWorkflowExecutionsInput {
261
222
  tagFilter?: TagFilter | undefined;
262
223
  closeStatusFilter?: CloseStatusFilter | undefined;
263
224
  }
264
- export declare class OperationNotPermittedFault extends __BaseException {
265
- readonly name: "OperationNotPermittedFault";
266
- readonly $fault: "client";
267
- constructor(
268
- opts: __ExceptionOptionType<OperationNotPermittedFault, __BaseException>
269
- );
270
- }
271
- export declare class UnknownResourceFault extends __BaseException {
272
- readonly name: "UnknownResourceFault";
273
- readonly $fault: "client";
274
- constructor(
275
- opts: __ExceptionOptionType<UnknownResourceFault, __BaseException>
276
- );
277
- }
278
225
  export interface WorkflowExecutionCount {
279
226
  count: number | undefined;
280
227
  truncated?: boolean | undefined;
@@ -298,22 +245,6 @@ export interface CountPendingDecisionTasksInput {
298
245
  domain: string | undefined;
299
246
  taskList: TaskList | undefined;
300
247
  }
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];
317
248
  export interface FailWorkflowExecutionDecisionAttributes {
318
249
  reason?: string | undefined;
319
250
  details?: string | undefined;
@@ -427,74 +358,11 @@ export interface DecisionTaskStartedEventAttributes {
427
358
  identity?: string | undefined;
428
359
  scheduledEventId: number | undefined;
429
360
  }
430
- export declare const DecisionTaskTimeoutType: {
431
- readonly SCHEDULE_TO_START: "SCHEDULE_TO_START";
432
- readonly START_TO_CLOSE: "START_TO_CLOSE";
433
- };
434
- export type DecisionTaskTimeoutType =
435
- (typeof DecisionTaskTimeoutType)[keyof typeof DecisionTaskTimeoutType];
436
361
  export interface DecisionTaskTimedOutEventAttributes {
437
362
  timeoutType: DecisionTaskTimeoutType | undefined;
438
363
  scheduledEventId: number | undefined;
439
364
  startedEventId: number | undefined;
440
365
  }
441
- export declare const EventType: {
442
- readonly ActivityTaskCancelRequested: "ActivityTaskCancelRequested";
443
- readonly ActivityTaskCanceled: "ActivityTaskCanceled";
444
- readonly ActivityTaskCompleted: "ActivityTaskCompleted";
445
- readonly ActivityTaskFailed: "ActivityTaskFailed";
446
- readonly ActivityTaskScheduled: "ActivityTaskScheduled";
447
- readonly ActivityTaskStarted: "ActivityTaskStarted";
448
- readonly ActivityTaskTimedOut: "ActivityTaskTimedOut";
449
- readonly CancelTimerFailed: "CancelTimerFailed";
450
- readonly CancelWorkflowExecutionFailed: "CancelWorkflowExecutionFailed";
451
- readonly ChildWorkflowExecutionCanceled: "ChildWorkflowExecutionCanceled";
452
- readonly ChildWorkflowExecutionCompleted: "ChildWorkflowExecutionCompleted";
453
- readonly ChildWorkflowExecutionFailed: "ChildWorkflowExecutionFailed";
454
- readonly ChildWorkflowExecutionStarted: "ChildWorkflowExecutionStarted";
455
- readonly ChildWorkflowExecutionTerminated: "ChildWorkflowExecutionTerminated";
456
- readonly ChildWorkflowExecutionTimedOut: "ChildWorkflowExecutionTimedOut";
457
- readonly CompleteWorkflowExecutionFailed: "CompleteWorkflowExecutionFailed";
458
- readonly ContinueAsNewWorkflowExecutionFailed: "ContinueAsNewWorkflowExecutionFailed";
459
- readonly DecisionTaskCompleted: "DecisionTaskCompleted";
460
- readonly DecisionTaskScheduled: "DecisionTaskScheduled";
461
- readonly DecisionTaskStarted: "DecisionTaskStarted";
462
- readonly DecisionTaskTimedOut: "DecisionTaskTimedOut";
463
- readonly ExternalWorkflowExecutionCancelRequested: "ExternalWorkflowExecutionCancelRequested";
464
- readonly ExternalWorkflowExecutionSignaled: "ExternalWorkflowExecutionSignaled";
465
- readonly FailWorkflowExecutionFailed: "FailWorkflowExecutionFailed";
466
- readonly LambdaFunctionCompleted: "LambdaFunctionCompleted";
467
- readonly LambdaFunctionFailed: "LambdaFunctionFailed";
468
- readonly LambdaFunctionScheduled: "LambdaFunctionScheduled";
469
- readonly LambdaFunctionStarted: "LambdaFunctionStarted";
470
- readonly LambdaFunctionTimedOut: "LambdaFunctionTimedOut";
471
- readonly MarkerRecorded: "MarkerRecorded";
472
- readonly RecordMarkerFailed: "RecordMarkerFailed";
473
- readonly RequestCancelActivityTaskFailed: "RequestCancelActivityTaskFailed";
474
- readonly RequestCancelExternalWorkflowExecutionFailed: "RequestCancelExternalWorkflowExecutionFailed";
475
- readonly RequestCancelExternalWorkflowExecutionInitiated: "RequestCancelExternalWorkflowExecutionInitiated";
476
- readonly ScheduleActivityTaskFailed: "ScheduleActivityTaskFailed";
477
- readonly ScheduleLambdaFunctionFailed: "ScheduleLambdaFunctionFailed";
478
- readonly SignalExternalWorkflowExecutionFailed: "SignalExternalWorkflowExecutionFailed";
479
- readonly SignalExternalWorkflowExecutionInitiated: "SignalExternalWorkflowExecutionInitiated";
480
- readonly StartChildWorkflowExecutionFailed: "StartChildWorkflowExecutionFailed";
481
- readonly StartChildWorkflowExecutionInitiated: "StartChildWorkflowExecutionInitiated";
482
- readonly StartLambdaFunctionFailed: "StartLambdaFunctionFailed";
483
- readonly StartTimerFailed: "StartTimerFailed";
484
- readonly TimerCanceled: "TimerCanceled";
485
- readonly TimerFired: "TimerFired";
486
- readonly TimerStarted: "TimerStarted";
487
- readonly WorkflowExecutionCancelRequested: "WorkflowExecutionCancelRequested";
488
- readonly WorkflowExecutionCanceled: "WorkflowExecutionCanceled";
489
- readonly WorkflowExecutionCompleted: "WorkflowExecutionCompleted";
490
- readonly WorkflowExecutionContinuedAsNew: "WorkflowExecutionContinuedAsNew";
491
- readonly WorkflowExecutionFailed: "WorkflowExecutionFailed";
492
- readonly WorkflowExecutionSignaled: "WorkflowExecutionSignaled";
493
- readonly WorkflowExecutionStarted: "WorkflowExecutionStarted";
494
- readonly WorkflowExecutionTerminated: "WorkflowExecutionTerminated";
495
- readonly WorkflowExecutionTimedOut: "WorkflowExecutionTimedOut";
496
- };
497
- export type EventType = (typeof EventType)[keyof typeof EventType];
498
366
  export interface ExternalWorkflowExecutionCancelRequestedEventAttributes {
499
367
  workflowExecution: WorkflowExecution | undefined;
500
368
  initiatedEventId: number | undefined;
@@ -503,12 +371,6 @@ export interface ExternalWorkflowExecutionSignaledEventAttributes {
503
371
  workflowExecution: WorkflowExecution | undefined;
504
372
  initiatedEventId: number | undefined;
505
373
  }
506
- export declare const FailWorkflowExecutionFailedCause: {
507
- readonly OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED";
508
- readonly UNHANDLED_DECISION: "UNHANDLED_DECISION";
509
- };
510
- export type FailWorkflowExecutionFailedCause =
511
- (typeof FailWorkflowExecutionFailedCause)[keyof typeof FailWorkflowExecutionFailedCause];
512
374
  export interface FailWorkflowExecutionFailedEventAttributes {
513
375
  cause: FailWorkflowExecutionFailedCause | undefined;
514
376
  decisionTaskCompletedEventId: number | undefined;
@@ -535,11 +397,6 @@ export interface LambdaFunctionScheduledEventAttributes {
535
397
  export interface LambdaFunctionStartedEventAttributes {
536
398
  scheduledEventId: number | undefined;
537
399
  }
538
- export declare const LambdaFunctionTimeoutType: {
539
- readonly START_TO_CLOSE: "START_TO_CLOSE";
540
- };
541
- export type LambdaFunctionTimeoutType =
542
- (typeof LambdaFunctionTimeoutType)[keyof typeof LambdaFunctionTimeoutType];
543
400
  export interface LambdaFunctionTimedOutEventAttributes {
544
401
  scheduledEventId: number | undefined;
545
402
  startedEventId: number | undefined;
@@ -550,34 +407,16 @@ export interface MarkerRecordedEventAttributes {
550
407
  details?: string | undefined;
551
408
  decisionTaskCompletedEventId: number | undefined;
552
409
  }
553
- export declare const RecordMarkerFailedCause: {
554
- readonly OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED";
555
- };
556
- export type RecordMarkerFailedCause =
557
- (typeof RecordMarkerFailedCause)[keyof typeof RecordMarkerFailedCause];
558
410
  export interface RecordMarkerFailedEventAttributes {
559
411
  markerName: string | undefined;
560
412
  cause: RecordMarkerFailedCause | undefined;
561
413
  decisionTaskCompletedEventId: number | undefined;
562
414
  }
563
- export declare const RequestCancelActivityTaskFailedCause: {
564
- readonly ACTIVITY_ID_UNKNOWN: "ACTIVITY_ID_UNKNOWN";
565
- readonly OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED";
566
- };
567
- export type RequestCancelActivityTaskFailedCause =
568
- (typeof RequestCancelActivityTaskFailedCause)[keyof typeof RequestCancelActivityTaskFailedCause];
569
415
  export interface RequestCancelActivityTaskFailedEventAttributes {
570
416
  activityId: string | undefined;
571
417
  cause: RequestCancelActivityTaskFailedCause | undefined;
572
418
  decisionTaskCompletedEventId: number | undefined;
573
419
  }
574
- export declare const RequestCancelExternalWorkflowExecutionFailedCause: {
575
- readonly OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED";
576
- readonly REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED: "REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED";
577
- readonly UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION: "UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION";
578
- };
579
- export type RequestCancelExternalWorkflowExecutionFailedCause =
580
- (typeof RequestCancelExternalWorkflowExecutionFailedCause)[keyof typeof RequestCancelExternalWorkflowExecutionFailedCause];
581
420
  export interface RequestCancelExternalWorkflowExecutionFailedEventAttributes {
582
421
  workflowId: string | undefined;
583
422
  runId?: string | undefined;
@@ -592,48 +431,18 @@ export interface RequestCancelExternalWorkflowExecutionInitiatedEventAttributes
592
431
  decisionTaskCompletedEventId: number | undefined;
593
432
  control?: string | undefined;
594
433
  }
595
- export declare const ScheduleActivityTaskFailedCause: {
596
- readonly ACTIVITY_CREATION_RATE_EXCEEDED: "ACTIVITY_CREATION_RATE_EXCEEDED";
597
- readonly ACTIVITY_ID_ALREADY_IN_USE: "ACTIVITY_ID_ALREADY_IN_USE";
598
- readonly ACTIVITY_TYPE_DEPRECATED: "ACTIVITY_TYPE_DEPRECATED";
599
- readonly ACTIVITY_TYPE_DOES_NOT_EXIST: "ACTIVITY_TYPE_DOES_NOT_EXIST";
600
- readonly DEFAULT_HEARTBEAT_TIMEOUT_UNDEFINED: "DEFAULT_HEARTBEAT_TIMEOUT_UNDEFINED";
601
- readonly DEFAULT_SCHEDULE_TO_CLOSE_TIMEOUT_UNDEFINED: "DEFAULT_SCHEDULE_TO_CLOSE_TIMEOUT_UNDEFINED";
602
- readonly DEFAULT_SCHEDULE_TO_START_TIMEOUT_UNDEFINED: "DEFAULT_SCHEDULE_TO_START_TIMEOUT_UNDEFINED";
603
- readonly DEFAULT_START_TO_CLOSE_TIMEOUT_UNDEFINED: "DEFAULT_START_TO_CLOSE_TIMEOUT_UNDEFINED";
604
- readonly DEFAULT_TASK_LIST_UNDEFINED: "DEFAULT_TASK_LIST_UNDEFINED";
605
- readonly OPEN_ACTIVITIES_LIMIT_EXCEEDED: "OPEN_ACTIVITIES_LIMIT_EXCEEDED";
606
- readonly OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED";
607
- };
608
- export type ScheduleActivityTaskFailedCause =
609
- (typeof ScheduleActivityTaskFailedCause)[keyof typeof ScheduleActivityTaskFailedCause];
610
434
  export interface ScheduleActivityTaskFailedEventAttributes {
611
435
  activityType: ActivityType | undefined;
612
436
  activityId: string | undefined;
613
437
  cause: ScheduleActivityTaskFailedCause | undefined;
614
438
  decisionTaskCompletedEventId: number | undefined;
615
439
  }
616
- export declare const ScheduleLambdaFunctionFailedCause: {
617
- readonly ID_ALREADY_IN_USE: "ID_ALREADY_IN_USE";
618
- readonly LAMBDA_FUNCTION_CREATION_RATE_EXCEEDED: "LAMBDA_FUNCTION_CREATION_RATE_EXCEEDED";
619
- readonly LAMBDA_SERVICE_NOT_AVAILABLE_IN_REGION: "LAMBDA_SERVICE_NOT_AVAILABLE_IN_REGION";
620
- readonly OPEN_LAMBDA_FUNCTIONS_LIMIT_EXCEEDED: "OPEN_LAMBDA_FUNCTIONS_LIMIT_EXCEEDED";
621
- };
622
- export type ScheduleLambdaFunctionFailedCause =
623
- (typeof ScheduleLambdaFunctionFailedCause)[keyof typeof ScheduleLambdaFunctionFailedCause];
624
440
  export interface ScheduleLambdaFunctionFailedEventAttributes {
625
441
  id: string | undefined;
626
442
  name: string | undefined;
627
443
  cause: ScheduleLambdaFunctionFailedCause | undefined;
628
444
  decisionTaskCompletedEventId: number | undefined;
629
445
  }
630
- export declare const SignalExternalWorkflowExecutionFailedCause: {
631
- readonly OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED";
632
- readonly SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED: "SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED";
633
- readonly UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION: "UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION";
634
- };
635
- export type SignalExternalWorkflowExecutionFailedCause =
636
- (typeof SignalExternalWorkflowExecutionFailedCause)[keyof typeof SignalExternalWorkflowExecutionFailedCause];
637
446
  export interface SignalExternalWorkflowExecutionFailedEventAttributes {
638
447
  workflowId: string | undefined;
639
448
  runId?: string | undefined;
@@ -650,21 +459,6 @@ export interface SignalExternalWorkflowExecutionInitiatedEventAttributes {
650
459
  decisionTaskCompletedEventId: number | undefined;
651
460
  control?: string | undefined;
652
461
  }
653
- export declare const StartChildWorkflowExecutionFailedCause: {
654
- readonly CHILD_CREATION_RATE_EXCEEDED: "CHILD_CREATION_RATE_EXCEEDED";
655
- readonly DEFAULT_CHILD_POLICY_UNDEFINED: "DEFAULT_CHILD_POLICY_UNDEFINED";
656
- readonly DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED: "DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED";
657
- readonly DEFAULT_TASK_LIST_UNDEFINED: "DEFAULT_TASK_LIST_UNDEFINED";
658
- readonly DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED: "DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED";
659
- readonly OPEN_CHILDREN_LIMIT_EXCEEDED: "OPEN_CHILDREN_LIMIT_EXCEEDED";
660
- readonly OPEN_WORKFLOWS_LIMIT_EXCEEDED: "OPEN_WORKFLOWS_LIMIT_EXCEEDED";
661
- readonly OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED";
662
- readonly WORKFLOW_ALREADY_RUNNING: "WORKFLOW_ALREADY_RUNNING";
663
- readonly WORKFLOW_TYPE_DEPRECATED: "WORKFLOW_TYPE_DEPRECATED";
664
- readonly WORKFLOW_TYPE_DOES_NOT_EXIST: "WORKFLOW_TYPE_DOES_NOT_EXIST";
665
- };
666
- export type StartChildWorkflowExecutionFailedCause =
667
- (typeof StartChildWorkflowExecutionFailedCause)[keyof typeof StartChildWorkflowExecutionFailedCause];
668
462
  export interface StartChildWorkflowExecutionFailedEventAttributes {
669
463
  workflowType: WorkflowType | undefined;
670
464
  cause: StartChildWorkflowExecutionFailedCause | undefined;
@@ -687,24 +481,11 @@ export interface StartChildWorkflowExecutionInitiatedEventAttributes {
687
481
  tagList?: string[] | undefined;
688
482
  lambdaRole?: string | undefined;
689
483
  }
690
- export declare const StartLambdaFunctionFailedCause: {
691
- readonly ASSUME_ROLE_FAILED: "ASSUME_ROLE_FAILED";
692
- };
693
- export type StartLambdaFunctionFailedCause =
694
- (typeof StartLambdaFunctionFailedCause)[keyof typeof StartLambdaFunctionFailedCause];
695
484
  export interface StartLambdaFunctionFailedEventAttributes {
696
485
  scheduledEventId?: number | undefined;
697
486
  cause?: StartLambdaFunctionFailedCause | undefined;
698
487
  message?: string | undefined;
699
488
  }
700
- export declare const StartTimerFailedCause: {
701
- readonly OPEN_TIMERS_LIMIT_EXCEEDED: "OPEN_TIMERS_LIMIT_EXCEEDED";
702
- readonly OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED";
703
- readonly TIMER_CREATION_RATE_EXCEEDED: "TIMER_CREATION_RATE_EXCEEDED";
704
- readonly TIMER_ID_ALREADY_IN_USE: "TIMER_ID_ALREADY_IN_USE";
705
- };
706
- export type StartTimerFailedCause =
707
- (typeof StartTimerFailedCause)[keyof typeof StartTimerFailedCause];
708
489
  export interface StartTimerFailedEventAttributes {
709
490
  timerId: string | undefined;
710
491
  cause: StartTimerFailedCause | undefined;
@@ -729,11 +510,6 @@ export interface WorkflowExecutionCanceledEventAttributes {
729
510
  details?: string | undefined;
730
511
  decisionTaskCompletedEventId: number | undefined;
731
512
  }
732
- export declare const WorkflowExecutionCancelRequestedCause: {
733
- readonly CHILD_POLICY_APPLIED: "CHILD_POLICY_APPLIED";
734
- };
735
- export type WorkflowExecutionCancelRequestedCause =
736
- (typeof WorkflowExecutionCancelRequestedCause)[keyof typeof WorkflowExecutionCancelRequestedCause];
737
513
  export interface WorkflowExecutionCancelRequestedEventAttributes {
738
514
  externalWorkflowExecution?: WorkflowExecution | undefined;
739
515
  externalInitiatedEventId?: number | undefined;
@@ -781,13 +557,6 @@ export interface WorkflowExecutionStartedEventAttributes {
781
557
  parentInitiatedEventId?: number | undefined;
782
558
  lambdaRole?: string | undefined;
783
559
  }
784
- export declare const WorkflowExecutionTerminatedCause: {
785
- readonly CHILD_POLICY_APPLIED: "CHILD_POLICY_APPLIED";
786
- readonly EVENT_LIMIT_EXCEEDED: "EVENT_LIMIT_EXCEEDED";
787
- readonly OPERATOR_INITIATED: "OPERATOR_INITIATED";
788
- };
789
- export type WorkflowExecutionTerminatedCause =
790
- (typeof WorkflowExecutionTerminatedCause)[keyof typeof WorkflowExecutionTerminatedCause];
791
560
  export interface WorkflowExecutionTerminatedEventAttributes {
792
561
  reason?: string | undefined;
793
562
  details?: string | undefined;
@@ -964,24 +733,10 @@ export interface DecisionTask {
964
733
  nextPageToken?: string | undefined;
965
734
  previousStartedEventId?: number | undefined;
966
735
  }
967
- export declare class DefaultUndefinedFault extends __BaseException {
968
- readonly name: "DefaultUndefinedFault";
969
- readonly $fault: "client";
970
- constructor(
971
- opts: __ExceptionOptionType<DefaultUndefinedFault, __BaseException>
972
- );
973
- }
974
736
  export interface DeleteActivityTypeInput {
975
737
  domain: string | undefined;
976
738
  activityType: ActivityType | undefined;
977
739
  }
978
- export declare class TypeNotDeprecatedFault extends __BaseException {
979
- readonly name: "TypeNotDeprecatedFault";
980
- readonly $fault: "client";
981
- constructor(
982
- opts: __ExceptionOptionType<TypeNotDeprecatedFault, __BaseException>
983
- );
984
- }
985
740
  export interface DeleteWorkflowTypeInput {
986
741
  domain: string | undefined;
987
742
  workflowType: WorkflowType | undefined;
@@ -990,23 +745,9 @@ export interface DeprecateActivityTypeInput {
990
745
  domain: string | undefined;
991
746
  activityType: ActivityType | undefined;
992
747
  }
993
- export declare class TypeDeprecatedFault extends __BaseException {
994
- readonly name: "TypeDeprecatedFault";
995
- readonly $fault: "client";
996
- constructor(
997
- opts: __ExceptionOptionType<TypeDeprecatedFault, __BaseException>
998
- );
999
- }
1000
748
  export interface DeprecateDomainInput {
1001
749
  name: string | undefined;
1002
750
  }
1003
- export declare class DomainDeprecatedFault extends __BaseException {
1004
- readonly name: "DomainDeprecatedFault";
1005
- readonly $fault: "client";
1006
- constructor(
1007
- opts: __ExceptionOptionType<DomainDeprecatedFault, __BaseException>
1008
- );
1009
- }
1010
751
  export interface DeprecateWorkflowTypeInput {
1011
752
  domain: string | undefined;
1012
753
  workflowType: WorkflowType | undefined;
@@ -1043,12 +784,6 @@ export interface WorkflowExecutionConfiguration {
1043
784
  childPolicy: ChildPolicy | undefined;
1044
785
  lambdaRole?: string | undefined;
1045
786
  }
1046
- export declare const ExecutionStatus: {
1047
- readonly CLOSED: "CLOSED";
1048
- readonly OPEN: "OPEN";
1049
- };
1050
- export type ExecutionStatus =
1051
- (typeof ExecutionStatus)[keyof typeof ExecutionStatus];
1052
787
  export interface WorkflowExecutionInfo {
1053
788
  execution: WorkflowExecution | undefined;
1054
789
  workflowType: WorkflowType | undefined;
@@ -1097,13 +832,6 @@ export interface WorkflowTypeDetail {
1097
832
  typeInfo: WorkflowTypeInfo | undefined;
1098
833
  configuration: WorkflowTypeConfiguration | undefined;
1099
834
  }
1100
- export declare class DomainAlreadyExistsFault extends __BaseException {
1101
- readonly name: "DomainAlreadyExistsFault";
1102
- readonly $fault: "client";
1103
- constructor(
1104
- opts: __ExceptionOptionType<DomainAlreadyExistsFault, __BaseException>
1105
- );
1106
- }
1107
835
  export interface DomainInfos {
1108
836
  domainInfos: DomainInfo[] | undefined;
1109
837
  nextPageToken?: string | undefined;
@@ -1119,11 +847,6 @@ export interface History {
1119
847
  events: HistoryEvent[] | undefined;
1120
848
  nextPageToken?: string | undefined;
1121
849
  }
1122
- export declare class LimitExceededFault extends __BaseException {
1123
- readonly name: "LimitExceededFault";
1124
- readonly $fault: "client";
1125
- constructor(opts: __ExceptionOptionType<LimitExceededFault, __BaseException>);
1126
- }
1127
850
  export interface ListActivityTypesInput {
1128
851
  domain: string | undefined;
1129
852
  name?: string | undefined;
@@ -1216,24 +939,12 @@ export interface RegisterActivityTypeInput {
1216
939
  defaultTaskScheduleToStartTimeout?: string | undefined;
1217
940
  defaultTaskScheduleToCloseTimeout?: string | undefined;
1218
941
  }
1219
- export declare class TypeAlreadyExistsFault extends __BaseException {
1220
- readonly name: "TypeAlreadyExistsFault";
1221
- readonly $fault: "client";
1222
- constructor(
1223
- opts: __ExceptionOptionType<TypeAlreadyExistsFault, __BaseException>
1224
- );
1225
- }
1226
942
  export interface RegisterDomainInput {
1227
943
  name: string | undefined;
1228
944
  description?: string | undefined;
1229
945
  workflowExecutionRetentionPeriodInDays: string | undefined;
1230
946
  tags?: ResourceTag[] | undefined;
1231
947
  }
1232
- export declare class TooManyTagsFault extends __BaseException {
1233
- readonly name: "TooManyTagsFault";
1234
- readonly $fault: "client";
1235
- constructor(opts: __ExceptionOptionType<TooManyTagsFault, __BaseException>);
1236
- }
1237
948
  export interface RegisterWorkflowTypeInput {
1238
949
  domain: string | undefined;
1239
950
  name: string | undefined;
@@ -1294,16 +1005,6 @@ export interface StartWorkflowExecutionInput {
1294
1005
  childPolicy?: ChildPolicy | undefined;
1295
1006
  lambdaRole?: string | undefined;
1296
1007
  }
1297
- export declare class WorkflowExecutionAlreadyStartedFault extends __BaseException {
1298
- readonly name: "WorkflowExecutionAlreadyStartedFault";
1299
- readonly $fault: "client";
1300
- constructor(
1301
- opts: __ExceptionOptionType<
1302
- WorkflowExecutionAlreadyStartedFault,
1303
- __BaseException
1304
- >
1305
- );
1306
- }
1307
1008
  export interface TagResourceInput {
1308
1009
  resourceArn: string | undefined;
1309
1010
  tags: ResourceTag[] | 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.934.0",
4
+ "version": "3.935.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-swf",
@@ -20,38 +20,38 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.934.0",
24
- "@aws-sdk/credential-provider-node": "3.934.0",
23
+ "@aws-sdk/core": "3.935.0",
24
+ "@aws-sdk/credential-provider-node": "3.935.0",
25
25
  "@aws-sdk/middleware-host-header": "3.930.0",
26
26
  "@aws-sdk/middleware-logger": "3.930.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.933.0",
28
- "@aws-sdk/middleware-user-agent": "3.934.0",
28
+ "@aws-sdk/middleware-user-agent": "3.935.0",
29
29
  "@aws-sdk/region-config-resolver": "3.930.0",
30
30
  "@aws-sdk/types": "3.930.0",
31
31
  "@aws-sdk/util-endpoints": "3.930.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.930.0",
33
- "@aws-sdk/util-user-agent-node": "3.934.0",
33
+ "@aws-sdk/util-user-agent-node": "3.935.0",
34
34
  "@smithy/config-resolver": "^4.4.3",
35
- "@smithy/core": "^3.18.2",
35
+ "@smithy/core": "^3.18.5",
36
36
  "@smithy/fetch-http-handler": "^5.3.6",
37
37
  "@smithy/hash-node": "^4.2.5",
38
38
  "@smithy/invalid-dependency": "^4.2.5",
39
39
  "@smithy/middleware-content-length": "^4.2.5",
40
- "@smithy/middleware-endpoint": "^4.3.9",
41
- "@smithy/middleware-retry": "^4.4.9",
42
- "@smithy/middleware-serde": "^4.2.5",
40
+ "@smithy/middleware-endpoint": "^4.3.12",
41
+ "@smithy/middleware-retry": "^4.4.12",
42
+ "@smithy/middleware-serde": "^4.2.6",
43
43
  "@smithy/middleware-stack": "^4.2.5",
44
44
  "@smithy/node-config-provider": "^4.3.5",
45
45
  "@smithy/node-http-handler": "^4.4.5",
46
46
  "@smithy/protocol-http": "^5.3.5",
47
- "@smithy/smithy-client": "^4.9.5",
47
+ "@smithy/smithy-client": "^4.9.8",
48
48
  "@smithy/types": "^4.9.0",
49
49
  "@smithy/url-parser": "^4.2.5",
50
50
  "@smithy/util-base64": "^4.3.0",
51
51
  "@smithy/util-body-length-browser": "^4.2.0",
52
52
  "@smithy/util-body-length-node": "^4.2.1",
53
- "@smithy/util-defaults-mode-browser": "^4.3.8",
54
- "@smithy/util-defaults-mode-node": "^4.2.11",
53
+ "@smithy/util-defaults-mode-browser": "^4.3.11",
54
+ "@smithy/util-defaults-mode-node": "^4.2.14",
55
55
  "@smithy/util-endpoints": "^3.2.5",
56
56
  "@smithy/util-middleware": "^4.2.5",
57
57
  "@smithy/util-retry": "^4.2.5",
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";