@aws-sdk/client-swf 3.687.0 → 3.692.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.
@@ -14,26 +14,26 @@ export interface ActivityTask {
14
14
  startedEventId: number | undefined;
15
15
  workflowExecution: WorkflowExecution | undefined;
16
16
  activityType: ActivityType | undefined;
17
- input?: string;
17
+ input?: string | undefined;
18
18
  }
19
19
  export interface ActivityTaskCanceledEventAttributes {
20
- details?: string;
20
+ details?: string | undefined;
21
21
  scheduledEventId: number | undefined;
22
22
  startedEventId: number | undefined;
23
- latestCancelRequestedEventId?: number;
23
+ latestCancelRequestedEventId?: number | undefined;
24
24
  }
25
25
  export interface ActivityTaskCancelRequestedEventAttributes {
26
26
  decisionTaskCompletedEventId: number | undefined;
27
27
  activityId: string | undefined;
28
28
  }
29
29
  export interface ActivityTaskCompletedEventAttributes {
30
- result?: string;
30
+ result?: string | undefined;
31
31
  scheduledEventId: number | undefined;
32
32
  startedEventId: number | undefined;
33
33
  }
34
34
  export interface ActivityTaskFailedEventAttributes {
35
- reason?: string;
36
- details?: string;
35
+ reason?: string | undefined;
36
+ details?: string | undefined;
37
37
  scheduledEventId: number | undefined;
38
38
  startedEventId: number | undefined;
39
39
  }
@@ -43,18 +43,18 @@ export interface TaskList {
43
43
  export interface ActivityTaskScheduledEventAttributes {
44
44
  activityType: ActivityType | undefined;
45
45
  activityId: string | undefined;
46
- input?: string;
47
- control?: string;
48
- scheduleToStartTimeout?: string;
49
- scheduleToCloseTimeout?: string;
50
- startToCloseTimeout?: string;
46
+ input?: string | undefined;
47
+ control?: string | undefined;
48
+ scheduleToStartTimeout?: string | undefined;
49
+ scheduleToCloseTimeout?: string | undefined;
50
+ startToCloseTimeout?: string | undefined;
51
51
  taskList: TaskList | undefined;
52
- taskPriority?: string;
52
+ taskPriority?: string | undefined;
53
53
  decisionTaskCompletedEventId: number | undefined;
54
- heartbeatTimeout?: string;
54
+ heartbeatTimeout?: string | undefined;
55
55
  }
56
56
  export interface ActivityTaskStartedEventAttributes {
57
- identity?: string;
57
+ identity?: string | undefined;
58
58
  scheduledEventId: number | undefined;
59
59
  }
60
60
  export interface ActivityTaskStatus {
@@ -72,15 +72,15 @@ export interface ActivityTaskTimedOutEventAttributes {
72
72
  timeoutType: ActivityTaskTimeoutType | undefined;
73
73
  scheduledEventId: number | undefined;
74
74
  startedEventId: number | undefined;
75
- details?: string;
75
+ details?: string | undefined;
76
76
  }
77
77
  export interface ActivityTypeConfiguration {
78
- defaultTaskStartToCloseTimeout?: string;
79
- defaultTaskHeartbeatTimeout?: string;
80
- defaultTaskList?: TaskList;
81
- defaultTaskPriority?: string;
82
- defaultTaskScheduleToStartTimeout?: string;
83
- defaultTaskScheduleToCloseTimeout?: string;
78
+ defaultTaskStartToCloseTimeout?: string | undefined;
79
+ defaultTaskHeartbeatTimeout?: string | undefined;
80
+ defaultTaskList?: TaskList | undefined;
81
+ defaultTaskPriority?: string | undefined;
82
+ defaultTaskScheduleToStartTimeout?: string | undefined;
83
+ defaultTaskScheduleToCloseTimeout?: string | undefined;
84
84
  }
85
85
  export declare const RegistrationStatus: {
86
86
  readonly DEPRECATED: "DEPRECATED";
@@ -91,9 +91,9 @@ export type RegistrationStatus =
91
91
  export interface ActivityTypeInfo {
92
92
  activityType: ActivityType | undefined;
93
93
  status: RegistrationStatus | undefined;
94
- description?: string;
94
+ description?: string | undefined;
95
95
  creationDate: Date | undefined;
96
- deprecationDate?: Date;
96
+ deprecationDate?: Date | undefined;
97
97
  }
98
98
  export interface ActivityTypeDetail {
99
99
  typeInfo: ActivityTypeInfo | undefined;
@@ -101,7 +101,7 @@ export interface ActivityTypeDetail {
101
101
  }
102
102
  export interface ActivityTypeInfos {
103
103
  typeInfos: ActivityTypeInfo[] | undefined;
104
- nextPageToken?: string;
104
+ nextPageToken?: string | undefined;
105
105
  }
106
106
  export interface CancelTimerDecisionAttributes {
107
107
  timerId: string | undefined;
@@ -118,7 +118,7 @@ export interface CancelTimerFailedEventAttributes {
118
118
  decisionTaskCompletedEventId: number | undefined;
119
119
  }
120
120
  export interface CancelWorkflowExecutionDecisionAttributes {
121
- details?: string;
121
+ details?: string | undefined;
122
122
  }
123
123
  export declare const CancelWorkflowExecutionFailedCause: {
124
124
  readonly OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED";
@@ -143,22 +143,22 @@ export interface WorkflowType {
143
143
  export interface ChildWorkflowExecutionCanceledEventAttributes {
144
144
  workflowExecution: WorkflowExecution | undefined;
145
145
  workflowType: WorkflowType | undefined;
146
- details?: string;
146
+ details?: string | undefined;
147
147
  initiatedEventId: number | undefined;
148
148
  startedEventId: number | undefined;
149
149
  }
150
150
  export interface ChildWorkflowExecutionCompletedEventAttributes {
151
151
  workflowExecution: WorkflowExecution | undefined;
152
152
  workflowType: WorkflowType | undefined;
153
- result?: string;
153
+ result?: string | undefined;
154
154
  initiatedEventId: number | undefined;
155
155
  startedEventId: number | undefined;
156
156
  }
157
157
  export interface ChildWorkflowExecutionFailedEventAttributes {
158
158
  workflowExecution: WorkflowExecution | undefined;
159
159
  workflowType: WorkflowType | undefined;
160
- reason?: string;
161
- details?: string;
160
+ reason?: string | undefined;
161
+ details?: string | undefined;
162
162
  initiatedEventId: number | undefined;
163
163
  startedEventId: number | undefined;
164
164
  }
@@ -198,7 +198,7 @@ export interface CloseStatusFilter {
198
198
  status: CloseStatus | undefined;
199
199
  }
200
200
  export interface CompleteWorkflowExecutionDecisionAttributes {
201
- result?: string;
201
+ result?: string | undefined;
202
202
  }
203
203
  export declare const CompleteWorkflowExecutionFailedCause: {
204
204
  readonly OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED";
@@ -211,15 +211,15 @@ export interface CompleteWorkflowExecutionFailedEventAttributes {
211
211
  decisionTaskCompletedEventId: number | undefined;
212
212
  }
213
213
  export interface ContinueAsNewWorkflowExecutionDecisionAttributes {
214
- input?: string;
215
- executionStartToCloseTimeout?: string;
216
- taskList?: TaskList;
217
- taskPriority?: string;
218
- taskStartToCloseTimeout?: string;
219
- childPolicy?: ChildPolicy;
220
- tagList?: string[];
221
- workflowTypeVersion?: string;
222
- lambdaRole?: string;
214
+ input?: string | undefined;
215
+ executionStartToCloseTimeout?: string | undefined;
216
+ taskList?: TaskList | undefined;
217
+ taskPriority?: string | undefined;
218
+ taskStartToCloseTimeout?: string | undefined;
219
+ childPolicy?: ChildPolicy | undefined;
220
+ tagList?: string[] | undefined;
221
+ workflowTypeVersion?: string | undefined;
222
+ lambdaRole?: string | undefined;
223
223
  }
224
224
  export declare const ContinueAsNewWorkflowExecutionFailedCause: {
225
225
  readonly CONTINUE_AS_NEW_WORKFLOW_EXECUTION_RATE_EXCEEDED: "CONTINUE_AS_NEW_WORKFLOW_EXECUTION_RATE_EXCEEDED";
@@ -240,7 +240,7 @@ export interface ContinueAsNewWorkflowExecutionFailedEventAttributes {
240
240
  }
241
241
  export interface ExecutionTimeFilter {
242
242
  oldestDate: Date | undefined;
243
- latestDate?: Date;
243
+ latestDate?: Date | undefined;
244
244
  }
245
245
  export interface WorkflowExecutionFilter {
246
246
  workflowId: string | undefined;
@@ -250,16 +250,16 @@ export interface TagFilter {
250
250
  }
251
251
  export interface WorkflowTypeFilter {
252
252
  name: string | undefined;
253
- version?: string;
253
+ version?: string | undefined;
254
254
  }
255
255
  export interface CountClosedWorkflowExecutionsInput {
256
256
  domain: string | undefined;
257
- startTimeFilter?: ExecutionTimeFilter;
258
- closeTimeFilter?: ExecutionTimeFilter;
259
- executionFilter?: WorkflowExecutionFilter;
260
- typeFilter?: WorkflowTypeFilter;
261
- tagFilter?: TagFilter;
262
- closeStatusFilter?: CloseStatusFilter;
257
+ startTimeFilter?: ExecutionTimeFilter | undefined;
258
+ closeTimeFilter?: ExecutionTimeFilter | undefined;
259
+ executionFilter?: WorkflowExecutionFilter | undefined;
260
+ typeFilter?: WorkflowTypeFilter | undefined;
261
+ tagFilter?: TagFilter | undefined;
262
+ closeStatusFilter?: CloseStatusFilter | undefined;
263
263
  }
264
264
  export declare class OperationNotPermittedFault extends __BaseException {
265
265
  readonly name: "OperationNotPermittedFault";
@@ -277,14 +277,14 @@ export declare class UnknownResourceFault extends __BaseException {
277
277
  }
278
278
  export interface WorkflowExecutionCount {
279
279
  count: number | undefined;
280
- truncated?: boolean;
280
+ truncated?: boolean | undefined;
281
281
  }
282
282
  export interface CountOpenWorkflowExecutionsInput {
283
283
  domain: string | undefined;
284
284
  startTimeFilter: ExecutionTimeFilter | undefined;
285
- typeFilter?: WorkflowTypeFilter;
286
- tagFilter?: TagFilter;
287
- executionFilter?: WorkflowExecutionFilter;
285
+ typeFilter?: WorkflowTypeFilter | undefined;
286
+ tagFilter?: TagFilter | undefined;
287
+ executionFilter?: WorkflowExecutionFilter | undefined;
288
288
  }
289
289
  export interface CountPendingActivityTasksInput {
290
290
  domain: string | undefined;
@@ -292,7 +292,7 @@ export interface CountPendingActivityTasksInput {
292
292
  }
293
293
  export interface PendingTaskCount {
294
294
  count: number | undefined;
295
- truncated?: boolean;
295
+ truncated?: boolean | undefined;
296
296
  }
297
297
  export interface CountPendingDecisionTasksInput {
298
298
  domain: string | undefined;
@@ -315,96 +315,116 @@ export declare const DecisionType: {
315
315
  };
316
316
  export type DecisionType = (typeof DecisionType)[keyof typeof DecisionType];
317
317
  export interface FailWorkflowExecutionDecisionAttributes {
318
- reason?: string;
319
- details?: string;
318
+ reason?: string | undefined;
319
+ details?: string | undefined;
320
320
  }
321
321
  export interface RecordMarkerDecisionAttributes {
322
322
  markerName: string | undefined;
323
- details?: string;
323
+ details?: string | undefined;
324
324
  }
325
325
  export interface RequestCancelActivityTaskDecisionAttributes {
326
326
  activityId: string | undefined;
327
327
  }
328
328
  export interface RequestCancelExternalWorkflowExecutionDecisionAttributes {
329
329
  workflowId: string | undefined;
330
- runId?: string;
331
- control?: string;
330
+ runId?: string | undefined;
331
+ control?: string | undefined;
332
332
  }
333
333
  export interface ScheduleActivityTaskDecisionAttributes {
334
334
  activityType: ActivityType | undefined;
335
335
  activityId: string | undefined;
336
- control?: string;
337
- input?: string;
338
- scheduleToCloseTimeout?: string;
339
- taskList?: TaskList;
340
- taskPriority?: string;
341
- scheduleToStartTimeout?: string;
342
- startToCloseTimeout?: string;
343
- heartbeatTimeout?: string;
336
+ control?: string | undefined;
337
+ input?: string | undefined;
338
+ scheduleToCloseTimeout?: string | undefined;
339
+ taskList?: TaskList | undefined;
340
+ taskPriority?: string | undefined;
341
+ scheduleToStartTimeout?: string | undefined;
342
+ startToCloseTimeout?: string | undefined;
343
+ heartbeatTimeout?: string | undefined;
344
344
  }
345
345
  export interface ScheduleLambdaFunctionDecisionAttributes {
346
346
  id: string | undefined;
347
347
  name: string | undefined;
348
- control?: string;
349
- input?: string;
350
- startToCloseTimeout?: string;
348
+ control?: string | undefined;
349
+ input?: string | undefined;
350
+ startToCloseTimeout?: string | undefined;
351
351
  }
352
352
  export interface SignalExternalWorkflowExecutionDecisionAttributes {
353
353
  workflowId: string | undefined;
354
- runId?: string;
354
+ runId?: string | undefined;
355
355
  signalName: string | undefined;
356
- input?: string;
357
- control?: string;
356
+ input?: string | undefined;
357
+ control?: string | undefined;
358
358
  }
359
359
  export interface StartChildWorkflowExecutionDecisionAttributes {
360
360
  workflowType: WorkflowType | undefined;
361
361
  workflowId: string | undefined;
362
- control?: string;
363
- input?: string;
364
- executionStartToCloseTimeout?: string;
365
- taskList?: TaskList;
366
- taskPriority?: string;
367
- taskStartToCloseTimeout?: string;
368
- childPolicy?: ChildPolicy;
369
- tagList?: string[];
370
- lambdaRole?: string;
362
+ control?: string | undefined;
363
+ input?: string | undefined;
364
+ executionStartToCloseTimeout?: string | undefined;
365
+ taskList?: TaskList | undefined;
366
+ taskPriority?: string | undefined;
367
+ taskStartToCloseTimeout?: string | undefined;
368
+ childPolicy?: ChildPolicy | undefined;
369
+ tagList?: string[] | undefined;
370
+ lambdaRole?: string | undefined;
371
371
  }
372
372
  export interface StartTimerDecisionAttributes {
373
373
  timerId: string | undefined;
374
- control?: string;
374
+ control?: string | undefined;
375
375
  startToFireTimeout: string | undefined;
376
376
  }
377
377
  export interface Decision {
378
378
  decisionType: DecisionType | undefined;
379
- scheduleActivityTaskDecisionAttributes?: ScheduleActivityTaskDecisionAttributes;
380
- requestCancelActivityTaskDecisionAttributes?: RequestCancelActivityTaskDecisionAttributes;
381
- completeWorkflowExecutionDecisionAttributes?: CompleteWorkflowExecutionDecisionAttributes;
382
- failWorkflowExecutionDecisionAttributes?: FailWorkflowExecutionDecisionAttributes;
383
- cancelWorkflowExecutionDecisionAttributes?: CancelWorkflowExecutionDecisionAttributes;
384
- continueAsNewWorkflowExecutionDecisionAttributes?: ContinueAsNewWorkflowExecutionDecisionAttributes;
385
- recordMarkerDecisionAttributes?: RecordMarkerDecisionAttributes;
386
- startTimerDecisionAttributes?: StartTimerDecisionAttributes;
387
- cancelTimerDecisionAttributes?: CancelTimerDecisionAttributes;
388
- signalExternalWorkflowExecutionDecisionAttributes?: SignalExternalWorkflowExecutionDecisionAttributes;
389
- requestCancelExternalWorkflowExecutionDecisionAttributes?: RequestCancelExternalWorkflowExecutionDecisionAttributes;
390
- startChildWorkflowExecutionDecisionAttributes?: StartChildWorkflowExecutionDecisionAttributes;
391
- scheduleLambdaFunctionDecisionAttributes?: ScheduleLambdaFunctionDecisionAttributes;
379
+ scheduleActivityTaskDecisionAttributes?:
380
+ | ScheduleActivityTaskDecisionAttributes
381
+ | undefined;
382
+ requestCancelActivityTaskDecisionAttributes?:
383
+ | RequestCancelActivityTaskDecisionAttributes
384
+ | undefined;
385
+ completeWorkflowExecutionDecisionAttributes?:
386
+ | CompleteWorkflowExecutionDecisionAttributes
387
+ | undefined;
388
+ failWorkflowExecutionDecisionAttributes?:
389
+ | FailWorkflowExecutionDecisionAttributes
390
+ | undefined;
391
+ cancelWorkflowExecutionDecisionAttributes?:
392
+ | CancelWorkflowExecutionDecisionAttributes
393
+ | undefined;
394
+ continueAsNewWorkflowExecutionDecisionAttributes?:
395
+ | ContinueAsNewWorkflowExecutionDecisionAttributes
396
+ | undefined;
397
+ recordMarkerDecisionAttributes?: RecordMarkerDecisionAttributes | undefined;
398
+ startTimerDecisionAttributes?: StartTimerDecisionAttributes | undefined;
399
+ cancelTimerDecisionAttributes?: CancelTimerDecisionAttributes | undefined;
400
+ signalExternalWorkflowExecutionDecisionAttributes?:
401
+ | SignalExternalWorkflowExecutionDecisionAttributes
402
+ | undefined;
403
+ requestCancelExternalWorkflowExecutionDecisionAttributes?:
404
+ | RequestCancelExternalWorkflowExecutionDecisionAttributes
405
+ | undefined;
406
+ startChildWorkflowExecutionDecisionAttributes?:
407
+ | StartChildWorkflowExecutionDecisionAttributes
408
+ | undefined;
409
+ scheduleLambdaFunctionDecisionAttributes?:
410
+ | ScheduleLambdaFunctionDecisionAttributes
411
+ | undefined;
392
412
  }
393
413
  export interface DecisionTaskCompletedEventAttributes {
394
- executionContext?: string;
414
+ executionContext?: string | undefined;
395
415
  scheduledEventId: number | undefined;
396
416
  startedEventId: number | undefined;
397
- taskList?: TaskList;
398
- taskListScheduleToStartTimeout?: string;
417
+ taskList?: TaskList | undefined;
418
+ taskListScheduleToStartTimeout?: string | undefined;
399
419
  }
400
420
  export interface DecisionTaskScheduledEventAttributes {
401
421
  taskList: TaskList | undefined;
402
- taskPriority?: string;
403
- startToCloseTimeout?: string;
404
- scheduleToStartTimeout?: string;
422
+ taskPriority?: string | undefined;
423
+ startToCloseTimeout?: string | undefined;
424
+ scheduleToStartTimeout?: string | undefined;
405
425
  }
406
426
  export interface DecisionTaskStartedEventAttributes {
407
- identity?: string;
427
+ identity?: string | undefined;
408
428
  scheduledEventId: number | undefined;
409
429
  }
410
430
  export declare const DecisionTaskTimeoutType: {
@@ -496,20 +516,20 @@ export interface FailWorkflowExecutionFailedEventAttributes {
496
516
  export interface LambdaFunctionCompletedEventAttributes {
497
517
  scheduledEventId: number | undefined;
498
518
  startedEventId: number | undefined;
499
- result?: string;
519
+ result?: string | undefined;
500
520
  }
501
521
  export interface LambdaFunctionFailedEventAttributes {
502
522
  scheduledEventId: number | undefined;
503
523
  startedEventId: number | undefined;
504
- reason?: string;
505
- details?: string;
524
+ reason?: string | undefined;
525
+ details?: string | undefined;
506
526
  }
507
527
  export interface LambdaFunctionScheduledEventAttributes {
508
528
  id: string | undefined;
509
529
  name: string | undefined;
510
- control?: string;
511
- input?: string;
512
- startToCloseTimeout?: string;
530
+ control?: string | undefined;
531
+ input?: string | undefined;
532
+ startToCloseTimeout?: string | undefined;
513
533
  decisionTaskCompletedEventId: number | undefined;
514
534
  }
515
535
  export interface LambdaFunctionStartedEventAttributes {
@@ -523,11 +543,11 @@ export type LambdaFunctionTimeoutType =
523
543
  export interface LambdaFunctionTimedOutEventAttributes {
524
544
  scheduledEventId: number | undefined;
525
545
  startedEventId: number | undefined;
526
- timeoutType?: LambdaFunctionTimeoutType;
546
+ timeoutType?: LambdaFunctionTimeoutType | undefined;
527
547
  }
528
548
  export interface MarkerRecordedEventAttributes {
529
549
  markerName: string | undefined;
530
- details?: string;
550
+ details?: string | undefined;
531
551
  decisionTaskCompletedEventId: number | undefined;
532
552
  }
533
553
  export declare const RecordMarkerFailedCause: {
@@ -560,17 +580,17 @@ export type RequestCancelExternalWorkflowExecutionFailedCause =
560
580
  (typeof RequestCancelExternalWorkflowExecutionFailedCause)[keyof typeof RequestCancelExternalWorkflowExecutionFailedCause];
561
581
  export interface RequestCancelExternalWorkflowExecutionFailedEventAttributes {
562
582
  workflowId: string | undefined;
563
- runId?: string;
583
+ runId?: string | undefined;
564
584
  cause: RequestCancelExternalWorkflowExecutionFailedCause | undefined;
565
585
  initiatedEventId: number | undefined;
566
586
  decisionTaskCompletedEventId: number | undefined;
567
- control?: string;
587
+ control?: string | undefined;
568
588
  }
569
589
  export interface RequestCancelExternalWorkflowExecutionInitiatedEventAttributes {
570
590
  workflowId: string | undefined;
571
- runId?: string;
591
+ runId?: string | undefined;
572
592
  decisionTaskCompletedEventId: number | undefined;
573
- control?: string;
593
+ control?: string | undefined;
574
594
  }
575
595
  export declare const ScheduleActivityTaskFailedCause: {
576
596
  readonly ACTIVITY_CREATION_RATE_EXCEEDED: "ACTIVITY_CREATION_RATE_EXCEEDED";
@@ -616,19 +636,19 @@ export type SignalExternalWorkflowExecutionFailedCause =
616
636
  (typeof SignalExternalWorkflowExecutionFailedCause)[keyof typeof SignalExternalWorkflowExecutionFailedCause];
617
637
  export interface SignalExternalWorkflowExecutionFailedEventAttributes {
618
638
  workflowId: string | undefined;
619
- runId?: string;
639
+ runId?: string | undefined;
620
640
  cause: SignalExternalWorkflowExecutionFailedCause | undefined;
621
641
  initiatedEventId: number | undefined;
622
642
  decisionTaskCompletedEventId: number | undefined;
623
- control?: string;
643
+ control?: string | undefined;
624
644
  }
625
645
  export interface SignalExternalWorkflowExecutionInitiatedEventAttributes {
626
646
  workflowId: string | undefined;
627
- runId?: string;
647
+ runId?: string | undefined;
628
648
  signalName: string | undefined;
629
- input?: string;
649
+ input?: string | undefined;
630
650
  decisionTaskCompletedEventId: number | undefined;
631
- control?: string;
651
+ control?: string | undefined;
632
652
  }
633
653
  export declare const StartChildWorkflowExecutionFailedCause: {
634
654
  readonly CHILD_CREATION_RATE_EXCEEDED: "CHILD_CREATION_RATE_EXCEEDED";
@@ -651,21 +671,21 @@ export interface StartChildWorkflowExecutionFailedEventAttributes {
651
671
  workflowId: string | undefined;
652
672
  initiatedEventId: number | undefined;
653
673
  decisionTaskCompletedEventId: number | undefined;
654
- control?: string;
674
+ control?: string | undefined;
655
675
  }
656
676
  export interface StartChildWorkflowExecutionInitiatedEventAttributes {
657
677
  workflowId: string | undefined;
658
678
  workflowType: WorkflowType | undefined;
659
- control?: string;
660
- input?: string;
661
- executionStartToCloseTimeout?: string;
679
+ control?: string | undefined;
680
+ input?: string | undefined;
681
+ executionStartToCloseTimeout?: string | undefined;
662
682
  taskList: TaskList | undefined;
663
- taskPriority?: string;
683
+ taskPriority?: string | undefined;
664
684
  decisionTaskCompletedEventId: number | undefined;
665
685
  childPolicy: ChildPolicy | undefined;
666
- taskStartToCloseTimeout?: string;
667
- tagList?: string[];
668
- lambdaRole?: string;
686
+ taskStartToCloseTimeout?: string | undefined;
687
+ tagList?: string[] | undefined;
688
+ lambdaRole?: string | undefined;
669
689
  }
670
690
  export declare const StartLambdaFunctionFailedCause: {
671
691
  readonly ASSUME_ROLE_FAILED: "ASSUME_ROLE_FAILED";
@@ -673,9 +693,9 @@ export declare const StartLambdaFunctionFailedCause: {
673
693
  export type StartLambdaFunctionFailedCause =
674
694
  (typeof StartLambdaFunctionFailedCause)[keyof typeof StartLambdaFunctionFailedCause];
675
695
  export interface StartLambdaFunctionFailedEventAttributes {
676
- scheduledEventId?: number;
677
- cause?: StartLambdaFunctionFailedCause;
678
- message?: string;
696
+ scheduledEventId?: number | undefined;
697
+ cause?: StartLambdaFunctionFailedCause | undefined;
698
+ message?: string | undefined;
679
699
  }
680
700
  export declare const StartTimerFailedCause: {
681
701
  readonly OPEN_TIMERS_LIMIT_EXCEEDED: "OPEN_TIMERS_LIMIT_EXCEEDED";
@@ -701,12 +721,12 @@ export interface TimerFiredEventAttributes {
701
721
  }
702
722
  export interface TimerStartedEventAttributes {
703
723
  timerId: string | undefined;
704
- control?: string;
724
+ control?: string | undefined;
705
725
  startToFireTimeout: string | undefined;
706
726
  decisionTaskCompletedEventId: number | undefined;
707
727
  }
708
728
  export interface WorkflowExecutionCanceledEventAttributes {
709
- details?: string;
729
+ details?: string | undefined;
710
730
  decisionTaskCompletedEventId: number | undefined;
711
731
  }
712
732
  export declare const WorkflowExecutionCancelRequestedCause: {
@@ -715,51 +735,51 @@ export declare const WorkflowExecutionCancelRequestedCause: {
715
735
  export type WorkflowExecutionCancelRequestedCause =
716
736
  (typeof WorkflowExecutionCancelRequestedCause)[keyof typeof WorkflowExecutionCancelRequestedCause];
717
737
  export interface WorkflowExecutionCancelRequestedEventAttributes {
718
- externalWorkflowExecution?: WorkflowExecution;
719
- externalInitiatedEventId?: number;
720
- cause?: WorkflowExecutionCancelRequestedCause;
738
+ externalWorkflowExecution?: WorkflowExecution | undefined;
739
+ externalInitiatedEventId?: number | undefined;
740
+ cause?: WorkflowExecutionCancelRequestedCause | undefined;
721
741
  }
722
742
  export interface WorkflowExecutionCompletedEventAttributes {
723
- result?: string;
743
+ result?: string | undefined;
724
744
  decisionTaskCompletedEventId: number | undefined;
725
745
  }
726
746
  export interface WorkflowExecutionContinuedAsNewEventAttributes {
727
- input?: string;
747
+ input?: string | undefined;
728
748
  decisionTaskCompletedEventId: number | undefined;
729
749
  newExecutionRunId: string | undefined;
730
- executionStartToCloseTimeout?: string;
750
+ executionStartToCloseTimeout?: string | undefined;
731
751
  taskList: TaskList | undefined;
732
- taskPriority?: string;
733
- taskStartToCloseTimeout?: string;
752
+ taskPriority?: string | undefined;
753
+ taskStartToCloseTimeout?: string | undefined;
734
754
  childPolicy: ChildPolicy | undefined;
735
- tagList?: string[];
755
+ tagList?: string[] | undefined;
736
756
  workflowType: WorkflowType | undefined;
737
- lambdaRole?: string;
757
+ lambdaRole?: string | undefined;
738
758
  }
739
759
  export interface WorkflowExecutionFailedEventAttributes {
740
- reason?: string;
741
- details?: string;
760
+ reason?: string | undefined;
761
+ details?: string | undefined;
742
762
  decisionTaskCompletedEventId: number | undefined;
743
763
  }
744
764
  export interface WorkflowExecutionSignaledEventAttributes {
745
765
  signalName: string | undefined;
746
- input?: string;
747
- externalWorkflowExecution?: WorkflowExecution;
748
- externalInitiatedEventId?: number;
766
+ input?: string | undefined;
767
+ externalWorkflowExecution?: WorkflowExecution | undefined;
768
+ externalInitiatedEventId?: number | undefined;
749
769
  }
750
770
  export interface WorkflowExecutionStartedEventAttributes {
751
- input?: string;
752
- executionStartToCloseTimeout?: string;
753
- taskStartToCloseTimeout?: string;
771
+ input?: string | undefined;
772
+ executionStartToCloseTimeout?: string | undefined;
773
+ taskStartToCloseTimeout?: string | undefined;
754
774
  childPolicy: ChildPolicy | undefined;
755
775
  taskList: TaskList | undefined;
756
- taskPriority?: string;
776
+ taskPriority?: string | undefined;
757
777
  workflowType: WorkflowType | undefined;
758
- tagList?: string[];
759
- continuedExecutionRunId?: string;
760
- parentWorkflowExecution?: WorkflowExecution;
761
- parentInitiatedEventId?: number;
762
- lambdaRole?: string;
778
+ tagList?: string[] | undefined;
779
+ continuedExecutionRunId?: string | undefined;
780
+ parentWorkflowExecution?: WorkflowExecution | undefined;
781
+ parentInitiatedEventId?: number | undefined;
782
+ lambdaRole?: string | undefined;
763
783
  }
764
784
  export declare const WorkflowExecutionTerminatedCause: {
765
785
  readonly CHILD_POLICY_APPLIED: "CHILD_POLICY_APPLIED";
@@ -769,10 +789,10 @@ export declare const WorkflowExecutionTerminatedCause: {
769
789
  export type WorkflowExecutionTerminatedCause =
770
790
  (typeof WorkflowExecutionTerminatedCause)[keyof typeof WorkflowExecutionTerminatedCause];
771
791
  export interface WorkflowExecutionTerminatedEventAttributes {
772
- reason?: string;
773
- details?: string;
792
+ reason?: string | undefined;
793
+ details?: string | undefined;
774
794
  childPolicy: ChildPolicy | undefined;
775
- cause?: WorkflowExecutionTerminatedCause;
795
+ cause?: WorkflowExecutionTerminatedCause | undefined;
776
796
  }
777
797
  export interface WorkflowExecutionTimedOutEventAttributes {
778
798
  timeoutType: WorkflowExecutionTimeoutType | undefined;
@@ -782,60 +802,158 @@ export interface HistoryEvent {
782
802
  eventTimestamp: Date | undefined;
783
803
  eventType: EventType | undefined;
784
804
  eventId: number | undefined;
785
- workflowExecutionStartedEventAttributes?: WorkflowExecutionStartedEventAttributes;
786
- workflowExecutionCompletedEventAttributes?: WorkflowExecutionCompletedEventAttributes;
787
- completeWorkflowExecutionFailedEventAttributes?: CompleteWorkflowExecutionFailedEventAttributes;
788
- workflowExecutionFailedEventAttributes?: WorkflowExecutionFailedEventAttributes;
789
- failWorkflowExecutionFailedEventAttributes?: FailWorkflowExecutionFailedEventAttributes;
790
- workflowExecutionTimedOutEventAttributes?: WorkflowExecutionTimedOutEventAttributes;
791
- workflowExecutionCanceledEventAttributes?: WorkflowExecutionCanceledEventAttributes;
792
- cancelWorkflowExecutionFailedEventAttributes?: CancelWorkflowExecutionFailedEventAttributes;
793
- workflowExecutionContinuedAsNewEventAttributes?: WorkflowExecutionContinuedAsNewEventAttributes;
794
- continueAsNewWorkflowExecutionFailedEventAttributes?: ContinueAsNewWorkflowExecutionFailedEventAttributes;
795
- workflowExecutionTerminatedEventAttributes?: WorkflowExecutionTerminatedEventAttributes;
796
- workflowExecutionCancelRequestedEventAttributes?: WorkflowExecutionCancelRequestedEventAttributes;
797
- decisionTaskScheduledEventAttributes?: DecisionTaskScheduledEventAttributes;
798
- decisionTaskStartedEventAttributes?: DecisionTaskStartedEventAttributes;
799
- decisionTaskCompletedEventAttributes?: DecisionTaskCompletedEventAttributes;
800
- decisionTaskTimedOutEventAttributes?: DecisionTaskTimedOutEventAttributes;
801
- activityTaskScheduledEventAttributes?: ActivityTaskScheduledEventAttributes;
802
- activityTaskStartedEventAttributes?: ActivityTaskStartedEventAttributes;
803
- activityTaskCompletedEventAttributes?: ActivityTaskCompletedEventAttributes;
804
- activityTaskFailedEventAttributes?: ActivityTaskFailedEventAttributes;
805
- activityTaskTimedOutEventAttributes?: ActivityTaskTimedOutEventAttributes;
806
- activityTaskCanceledEventAttributes?: ActivityTaskCanceledEventAttributes;
807
- activityTaskCancelRequestedEventAttributes?: ActivityTaskCancelRequestedEventAttributes;
808
- workflowExecutionSignaledEventAttributes?: WorkflowExecutionSignaledEventAttributes;
809
- markerRecordedEventAttributes?: MarkerRecordedEventAttributes;
810
- recordMarkerFailedEventAttributes?: RecordMarkerFailedEventAttributes;
811
- timerStartedEventAttributes?: TimerStartedEventAttributes;
812
- timerFiredEventAttributes?: TimerFiredEventAttributes;
813
- timerCanceledEventAttributes?: TimerCanceledEventAttributes;
814
- startChildWorkflowExecutionInitiatedEventAttributes?: StartChildWorkflowExecutionInitiatedEventAttributes;
815
- childWorkflowExecutionStartedEventAttributes?: ChildWorkflowExecutionStartedEventAttributes;
816
- childWorkflowExecutionCompletedEventAttributes?: ChildWorkflowExecutionCompletedEventAttributes;
817
- childWorkflowExecutionFailedEventAttributes?: ChildWorkflowExecutionFailedEventAttributes;
818
- childWorkflowExecutionTimedOutEventAttributes?: ChildWorkflowExecutionTimedOutEventAttributes;
819
- childWorkflowExecutionCanceledEventAttributes?: ChildWorkflowExecutionCanceledEventAttributes;
820
- childWorkflowExecutionTerminatedEventAttributes?: ChildWorkflowExecutionTerminatedEventAttributes;
821
- signalExternalWorkflowExecutionInitiatedEventAttributes?: SignalExternalWorkflowExecutionInitiatedEventAttributes;
822
- externalWorkflowExecutionSignaledEventAttributes?: ExternalWorkflowExecutionSignaledEventAttributes;
823
- signalExternalWorkflowExecutionFailedEventAttributes?: SignalExternalWorkflowExecutionFailedEventAttributes;
824
- externalWorkflowExecutionCancelRequestedEventAttributes?: ExternalWorkflowExecutionCancelRequestedEventAttributes;
825
- requestCancelExternalWorkflowExecutionInitiatedEventAttributes?: RequestCancelExternalWorkflowExecutionInitiatedEventAttributes;
826
- requestCancelExternalWorkflowExecutionFailedEventAttributes?: RequestCancelExternalWorkflowExecutionFailedEventAttributes;
827
- scheduleActivityTaskFailedEventAttributes?: ScheduleActivityTaskFailedEventAttributes;
828
- requestCancelActivityTaskFailedEventAttributes?: RequestCancelActivityTaskFailedEventAttributes;
829
- startTimerFailedEventAttributes?: StartTimerFailedEventAttributes;
830
- cancelTimerFailedEventAttributes?: CancelTimerFailedEventAttributes;
831
- startChildWorkflowExecutionFailedEventAttributes?: StartChildWorkflowExecutionFailedEventAttributes;
832
- lambdaFunctionScheduledEventAttributes?: LambdaFunctionScheduledEventAttributes;
833
- lambdaFunctionStartedEventAttributes?: LambdaFunctionStartedEventAttributes;
834
- lambdaFunctionCompletedEventAttributes?: LambdaFunctionCompletedEventAttributes;
835
- lambdaFunctionFailedEventAttributes?: LambdaFunctionFailedEventAttributes;
836
- lambdaFunctionTimedOutEventAttributes?: LambdaFunctionTimedOutEventAttributes;
837
- scheduleLambdaFunctionFailedEventAttributes?: ScheduleLambdaFunctionFailedEventAttributes;
838
- startLambdaFunctionFailedEventAttributes?: StartLambdaFunctionFailedEventAttributes;
805
+ workflowExecutionStartedEventAttributes?:
806
+ | WorkflowExecutionStartedEventAttributes
807
+ | undefined;
808
+ workflowExecutionCompletedEventAttributes?:
809
+ | WorkflowExecutionCompletedEventAttributes
810
+ | undefined;
811
+ completeWorkflowExecutionFailedEventAttributes?:
812
+ | CompleteWorkflowExecutionFailedEventAttributes
813
+ | undefined;
814
+ workflowExecutionFailedEventAttributes?:
815
+ | WorkflowExecutionFailedEventAttributes
816
+ | undefined;
817
+ failWorkflowExecutionFailedEventAttributes?:
818
+ | FailWorkflowExecutionFailedEventAttributes
819
+ | undefined;
820
+ workflowExecutionTimedOutEventAttributes?:
821
+ | WorkflowExecutionTimedOutEventAttributes
822
+ | undefined;
823
+ workflowExecutionCanceledEventAttributes?:
824
+ | WorkflowExecutionCanceledEventAttributes
825
+ | undefined;
826
+ cancelWorkflowExecutionFailedEventAttributes?:
827
+ | CancelWorkflowExecutionFailedEventAttributes
828
+ | undefined;
829
+ workflowExecutionContinuedAsNewEventAttributes?:
830
+ | WorkflowExecutionContinuedAsNewEventAttributes
831
+ | undefined;
832
+ continueAsNewWorkflowExecutionFailedEventAttributes?:
833
+ | ContinueAsNewWorkflowExecutionFailedEventAttributes
834
+ | undefined;
835
+ workflowExecutionTerminatedEventAttributes?:
836
+ | WorkflowExecutionTerminatedEventAttributes
837
+ | undefined;
838
+ workflowExecutionCancelRequestedEventAttributes?:
839
+ | WorkflowExecutionCancelRequestedEventAttributes
840
+ | undefined;
841
+ decisionTaskScheduledEventAttributes?:
842
+ | DecisionTaskScheduledEventAttributes
843
+ | undefined;
844
+ decisionTaskStartedEventAttributes?:
845
+ | DecisionTaskStartedEventAttributes
846
+ | undefined;
847
+ decisionTaskCompletedEventAttributes?:
848
+ | DecisionTaskCompletedEventAttributes
849
+ | undefined;
850
+ decisionTaskTimedOutEventAttributes?:
851
+ | DecisionTaskTimedOutEventAttributes
852
+ | undefined;
853
+ activityTaskScheduledEventAttributes?:
854
+ | ActivityTaskScheduledEventAttributes
855
+ | undefined;
856
+ activityTaskStartedEventAttributes?:
857
+ | ActivityTaskStartedEventAttributes
858
+ | undefined;
859
+ activityTaskCompletedEventAttributes?:
860
+ | ActivityTaskCompletedEventAttributes
861
+ | undefined;
862
+ activityTaskFailedEventAttributes?:
863
+ | ActivityTaskFailedEventAttributes
864
+ | undefined;
865
+ activityTaskTimedOutEventAttributes?:
866
+ | ActivityTaskTimedOutEventAttributes
867
+ | undefined;
868
+ activityTaskCanceledEventAttributes?:
869
+ | ActivityTaskCanceledEventAttributes
870
+ | undefined;
871
+ activityTaskCancelRequestedEventAttributes?:
872
+ | ActivityTaskCancelRequestedEventAttributes
873
+ | undefined;
874
+ workflowExecutionSignaledEventAttributes?:
875
+ | WorkflowExecutionSignaledEventAttributes
876
+ | undefined;
877
+ markerRecordedEventAttributes?: MarkerRecordedEventAttributes | undefined;
878
+ recordMarkerFailedEventAttributes?:
879
+ | RecordMarkerFailedEventAttributes
880
+ | undefined;
881
+ timerStartedEventAttributes?: TimerStartedEventAttributes | undefined;
882
+ timerFiredEventAttributes?: TimerFiredEventAttributes | undefined;
883
+ timerCanceledEventAttributes?: TimerCanceledEventAttributes | undefined;
884
+ startChildWorkflowExecutionInitiatedEventAttributes?:
885
+ | StartChildWorkflowExecutionInitiatedEventAttributes
886
+ | undefined;
887
+ childWorkflowExecutionStartedEventAttributes?:
888
+ | ChildWorkflowExecutionStartedEventAttributes
889
+ | undefined;
890
+ childWorkflowExecutionCompletedEventAttributes?:
891
+ | ChildWorkflowExecutionCompletedEventAttributes
892
+ | undefined;
893
+ childWorkflowExecutionFailedEventAttributes?:
894
+ | ChildWorkflowExecutionFailedEventAttributes
895
+ | undefined;
896
+ childWorkflowExecutionTimedOutEventAttributes?:
897
+ | ChildWorkflowExecutionTimedOutEventAttributes
898
+ | undefined;
899
+ childWorkflowExecutionCanceledEventAttributes?:
900
+ | ChildWorkflowExecutionCanceledEventAttributes
901
+ | undefined;
902
+ childWorkflowExecutionTerminatedEventAttributes?:
903
+ | ChildWorkflowExecutionTerminatedEventAttributes
904
+ | undefined;
905
+ signalExternalWorkflowExecutionInitiatedEventAttributes?:
906
+ | SignalExternalWorkflowExecutionInitiatedEventAttributes
907
+ | undefined;
908
+ externalWorkflowExecutionSignaledEventAttributes?:
909
+ | ExternalWorkflowExecutionSignaledEventAttributes
910
+ | undefined;
911
+ signalExternalWorkflowExecutionFailedEventAttributes?:
912
+ | SignalExternalWorkflowExecutionFailedEventAttributes
913
+ | undefined;
914
+ externalWorkflowExecutionCancelRequestedEventAttributes?:
915
+ | ExternalWorkflowExecutionCancelRequestedEventAttributes
916
+ | undefined;
917
+ requestCancelExternalWorkflowExecutionInitiatedEventAttributes?:
918
+ | RequestCancelExternalWorkflowExecutionInitiatedEventAttributes
919
+ | undefined;
920
+ requestCancelExternalWorkflowExecutionFailedEventAttributes?:
921
+ | RequestCancelExternalWorkflowExecutionFailedEventAttributes
922
+ | undefined;
923
+ scheduleActivityTaskFailedEventAttributes?:
924
+ | ScheduleActivityTaskFailedEventAttributes
925
+ | undefined;
926
+ requestCancelActivityTaskFailedEventAttributes?:
927
+ | RequestCancelActivityTaskFailedEventAttributes
928
+ | undefined;
929
+ startTimerFailedEventAttributes?: StartTimerFailedEventAttributes | undefined;
930
+ cancelTimerFailedEventAttributes?:
931
+ | CancelTimerFailedEventAttributes
932
+ | undefined;
933
+ startChildWorkflowExecutionFailedEventAttributes?:
934
+ | StartChildWorkflowExecutionFailedEventAttributes
935
+ | undefined;
936
+ lambdaFunctionScheduledEventAttributes?:
937
+ | LambdaFunctionScheduledEventAttributes
938
+ | undefined;
939
+ lambdaFunctionStartedEventAttributes?:
940
+ | LambdaFunctionStartedEventAttributes
941
+ | undefined;
942
+ lambdaFunctionCompletedEventAttributes?:
943
+ | LambdaFunctionCompletedEventAttributes
944
+ | undefined;
945
+ lambdaFunctionFailedEventAttributes?:
946
+ | LambdaFunctionFailedEventAttributes
947
+ | undefined;
948
+ lambdaFunctionTimedOutEventAttributes?:
949
+ | LambdaFunctionTimedOutEventAttributes
950
+ | undefined;
951
+ scheduleLambdaFunctionFailedEventAttributes?:
952
+ | ScheduleLambdaFunctionFailedEventAttributes
953
+ | undefined;
954
+ startLambdaFunctionFailedEventAttributes?:
955
+ | StartLambdaFunctionFailedEventAttributes
956
+ | undefined;
839
957
  }
840
958
  export interface DecisionTask {
841
959
  taskToken: string | undefined;
@@ -843,8 +961,8 @@ export interface DecisionTask {
843
961
  workflowExecution: WorkflowExecution | undefined;
844
962
  workflowType: WorkflowType | undefined;
845
963
  events: HistoryEvent[] | undefined;
846
- nextPageToken?: string;
847
- previousStartedEventId?: number;
964
+ nextPageToken?: string | undefined;
965
+ previousStartedEventId?: number | undefined;
848
966
  }
849
967
  export declare class DefaultUndefinedFault extends __BaseException {
850
968
  readonly name: "DefaultUndefinedFault";
@@ -906,8 +1024,8 @@ export interface DomainConfiguration {
906
1024
  export interface DomainInfo {
907
1025
  name: string | undefined;
908
1026
  status: RegistrationStatus | undefined;
909
- description?: string;
910
- arn?: string;
1027
+ description?: string | undefined;
1028
+ arn?: string | undefined;
911
1029
  }
912
1030
  export interface DomainDetail {
913
1031
  domainInfo: DomainInfo | undefined;
@@ -921,9 +1039,9 @@ export interface WorkflowExecutionConfiguration {
921
1039
  taskStartToCloseTimeout: string | undefined;
922
1040
  executionStartToCloseTimeout: string | undefined;
923
1041
  taskList: TaskList | undefined;
924
- taskPriority?: string;
1042
+ taskPriority?: string | undefined;
925
1043
  childPolicy: ChildPolicy | undefined;
926
- lambdaRole?: string;
1044
+ lambdaRole?: string | undefined;
927
1045
  }
928
1046
  export declare const ExecutionStatus: {
929
1047
  readonly CLOSED: "CLOSED";
@@ -935,45 +1053,45 @@ export interface WorkflowExecutionInfo {
935
1053
  execution: WorkflowExecution | undefined;
936
1054
  workflowType: WorkflowType | undefined;
937
1055
  startTimestamp: Date | undefined;
938
- closeTimestamp?: Date;
1056
+ closeTimestamp?: Date | undefined;
939
1057
  executionStatus: ExecutionStatus | undefined;
940
- closeStatus?: CloseStatus;
941
- parent?: WorkflowExecution;
942
- tagList?: string[];
943
- cancelRequested?: boolean;
1058
+ closeStatus?: CloseStatus | undefined;
1059
+ parent?: WorkflowExecution | undefined;
1060
+ tagList?: string[] | undefined;
1061
+ cancelRequested?: boolean | undefined;
944
1062
  }
945
1063
  export interface WorkflowExecutionOpenCounts {
946
1064
  openActivityTasks: number | undefined;
947
1065
  openDecisionTasks: number | undefined;
948
1066
  openTimers: number | undefined;
949
1067
  openChildWorkflowExecutions: number | undefined;
950
- openLambdaFunctions?: number;
1068
+ openLambdaFunctions?: number | undefined;
951
1069
  }
952
1070
  export interface WorkflowExecutionDetail {
953
1071
  executionInfo: WorkflowExecutionInfo | undefined;
954
1072
  executionConfiguration: WorkflowExecutionConfiguration | undefined;
955
1073
  openCounts: WorkflowExecutionOpenCounts | undefined;
956
- latestActivityTaskTimestamp?: Date;
957
- latestExecutionContext?: string;
1074
+ latestActivityTaskTimestamp?: Date | undefined;
1075
+ latestExecutionContext?: string | undefined;
958
1076
  }
959
1077
  export interface DescribeWorkflowTypeInput {
960
1078
  domain: string | undefined;
961
1079
  workflowType: WorkflowType | undefined;
962
1080
  }
963
1081
  export interface WorkflowTypeConfiguration {
964
- defaultTaskStartToCloseTimeout?: string;
965
- defaultExecutionStartToCloseTimeout?: string;
966
- defaultTaskList?: TaskList;
967
- defaultTaskPriority?: string;
968
- defaultChildPolicy?: ChildPolicy;
969
- defaultLambdaRole?: string;
1082
+ defaultTaskStartToCloseTimeout?: string | undefined;
1083
+ defaultExecutionStartToCloseTimeout?: string | undefined;
1084
+ defaultTaskList?: TaskList | undefined;
1085
+ defaultTaskPriority?: string | undefined;
1086
+ defaultChildPolicy?: ChildPolicy | undefined;
1087
+ defaultLambdaRole?: string | undefined;
970
1088
  }
971
1089
  export interface WorkflowTypeInfo {
972
1090
  workflowType: WorkflowType | undefined;
973
1091
  status: RegistrationStatus | undefined;
974
- description?: string;
1092
+ description?: string | undefined;
975
1093
  creationDate: Date | undefined;
976
- deprecationDate?: Date;
1094
+ deprecationDate?: Date | undefined;
977
1095
  }
978
1096
  export interface WorkflowTypeDetail {
979
1097
  typeInfo: WorkflowTypeInfo | undefined;
@@ -988,18 +1106,18 @@ export declare class DomainAlreadyExistsFault extends __BaseException {
988
1106
  }
989
1107
  export interface DomainInfos {
990
1108
  domainInfos: DomainInfo[] | undefined;
991
- nextPageToken?: string;
1109
+ nextPageToken?: string | undefined;
992
1110
  }
993
1111
  export interface GetWorkflowExecutionHistoryInput {
994
1112
  domain: string | undefined;
995
1113
  execution: WorkflowExecution | undefined;
996
- nextPageToken?: string;
997
- maximumPageSize?: number;
998
- reverseOrder?: boolean;
1114
+ nextPageToken?: string | undefined;
1115
+ maximumPageSize?: number | undefined;
1116
+ reverseOrder?: boolean | undefined;
999
1117
  }
1000
1118
  export interface History {
1001
1119
  events: HistoryEvent[] | undefined;
1002
- nextPageToken?: string;
1120
+ nextPageToken?: string | undefined;
1003
1121
  }
1004
1122
  export declare class LimitExceededFault extends __BaseException {
1005
1123
  readonly name: "LimitExceededFault";
@@ -1008,95 +1126,95 @@ export declare class LimitExceededFault extends __BaseException {
1008
1126
  }
1009
1127
  export interface ListActivityTypesInput {
1010
1128
  domain: string | undefined;
1011
- name?: string;
1129
+ name?: string | undefined;
1012
1130
  registrationStatus: RegistrationStatus | undefined;
1013
- nextPageToken?: string;
1014
- maximumPageSize?: number;
1015
- reverseOrder?: boolean;
1131
+ nextPageToken?: string | undefined;
1132
+ maximumPageSize?: number | undefined;
1133
+ reverseOrder?: boolean | undefined;
1016
1134
  }
1017
1135
  export interface ListClosedWorkflowExecutionsInput {
1018
1136
  domain: string | undefined;
1019
- startTimeFilter?: ExecutionTimeFilter;
1020
- closeTimeFilter?: ExecutionTimeFilter;
1021
- executionFilter?: WorkflowExecutionFilter;
1022
- closeStatusFilter?: CloseStatusFilter;
1023
- typeFilter?: WorkflowTypeFilter;
1024
- tagFilter?: TagFilter;
1025
- nextPageToken?: string;
1026
- maximumPageSize?: number;
1027
- reverseOrder?: boolean;
1137
+ startTimeFilter?: ExecutionTimeFilter | undefined;
1138
+ closeTimeFilter?: ExecutionTimeFilter | undefined;
1139
+ executionFilter?: WorkflowExecutionFilter | undefined;
1140
+ closeStatusFilter?: CloseStatusFilter | undefined;
1141
+ typeFilter?: WorkflowTypeFilter | undefined;
1142
+ tagFilter?: TagFilter | undefined;
1143
+ nextPageToken?: string | undefined;
1144
+ maximumPageSize?: number | undefined;
1145
+ reverseOrder?: boolean | undefined;
1028
1146
  }
1029
1147
  export interface WorkflowExecutionInfos {
1030
1148
  executionInfos: WorkflowExecutionInfo[] | undefined;
1031
- nextPageToken?: string;
1149
+ nextPageToken?: string | undefined;
1032
1150
  }
1033
1151
  export interface ListDomainsInput {
1034
- nextPageToken?: string;
1152
+ nextPageToken?: string | undefined;
1035
1153
  registrationStatus: RegistrationStatus | undefined;
1036
- maximumPageSize?: number;
1037
- reverseOrder?: boolean;
1154
+ maximumPageSize?: number | undefined;
1155
+ reverseOrder?: boolean | undefined;
1038
1156
  }
1039
1157
  export interface ListOpenWorkflowExecutionsInput {
1040
1158
  domain: string | undefined;
1041
1159
  startTimeFilter: ExecutionTimeFilter | undefined;
1042
- typeFilter?: WorkflowTypeFilter;
1043
- tagFilter?: TagFilter;
1044
- nextPageToken?: string;
1045
- maximumPageSize?: number;
1046
- reverseOrder?: boolean;
1047
- executionFilter?: WorkflowExecutionFilter;
1160
+ typeFilter?: WorkflowTypeFilter | undefined;
1161
+ tagFilter?: TagFilter | undefined;
1162
+ nextPageToken?: string | undefined;
1163
+ maximumPageSize?: number | undefined;
1164
+ reverseOrder?: boolean | undefined;
1165
+ executionFilter?: WorkflowExecutionFilter | undefined;
1048
1166
  }
1049
1167
  export interface ListTagsForResourceInput {
1050
1168
  resourceArn: string | undefined;
1051
1169
  }
1052
1170
  export interface ResourceTag {
1053
1171
  key: string | undefined;
1054
- value?: string;
1172
+ value?: string | undefined;
1055
1173
  }
1056
1174
  export interface ListTagsForResourceOutput {
1057
- tags?: ResourceTag[];
1175
+ tags?: ResourceTag[] | undefined;
1058
1176
  }
1059
1177
  export interface ListWorkflowTypesInput {
1060
1178
  domain: string | undefined;
1061
- name?: string;
1179
+ name?: string | undefined;
1062
1180
  registrationStatus: RegistrationStatus | undefined;
1063
- nextPageToken?: string;
1064
- maximumPageSize?: number;
1065
- reverseOrder?: boolean;
1181
+ nextPageToken?: string | undefined;
1182
+ maximumPageSize?: number | undefined;
1183
+ reverseOrder?: boolean | undefined;
1066
1184
  }
1067
1185
  export interface WorkflowTypeInfos {
1068
1186
  typeInfos: WorkflowTypeInfo[] | undefined;
1069
- nextPageToken?: string;
1187
+ nextPageToken?: string | undefined;
1070
1188
  }
1071
1189
  export interface PollForActivityTaskInput {
1072
1190
  domain: string | undefined;
1073
1191
  taskList: TaskList | undefined;
1074
- identity?: string;
1192
+ identity?: string | undefined;
1075
1193
  }
1076
1194
  export interface PollForDecisionTaskInput {
1077
1195
  domain: string | undefined;
1078
1196
  taskList: TaskList | undefined;
1079
- identity?: string;
1080
- nextPageToken?: string;
1081
- maximumPageSize?: number;
1082
- reverseOrder?: boolean;
1083
- startAtPreviousStartedEvent?: boolean;
1197
+ identity?: string | undefined;
1198
+ nextPageToken?: string | undefined;
1199
+ maximumPageSize?: number | undefined;
1200
+ reverseOrder?: boolean | undefined;
1201
+ startAtPreviousStartedEvent?: boolean | undefined;
1084
1202
  }
1085
1203
  export interface RecordActivityTaskHeartbeatInput {
1086
1204
  taskToken: string | undefined;
1087
- details?: string;
1205
+ details?: string | undefined;
1088
1206
  }
1089
1207
  export interface RegisterActivityTypeInput {
1090
1208
  domain: string | undefined;
1091
1209
  name: string | undefined;
1092
1210
  version: string | undefined;
1093
- description?: string;
1094
- defaultTaskStartToCloseTimeout?: string;
1095
- defaultTaskHeartbeatTimeout?: string;
1096
- defaultTaskList?: TaskList;
1097
- defaultTaskPriority?: string;
1098
- defaultTaskScheduleToStartTimeout?: string;
1099
- defaultTaskScheduleToCloseTimeout?: string;
1211
+ description?: string | undefined;
1212
+ defaultTaskStartToCloseTimeout?: string | undefined;
1213
+ defaultTaskHeartbeatTimeout?: string | undefined;
1214
+ defaultTaskList?: TaskList | undefined;
1215
+ defaultTaskPriority?: string | undefined;
1216
+ defaultTaskScheduleToStartTimeout?: string | undefined;
1217
+ defaultTaskScheduleToCloseTimeout?: string | undefined;
1100
1218
  }
1101
1219
  export declare class TypeAlreadyExistsFault extends __BaseException {
1102
1220
  readonly name: "TypeAlreadyExistsFault";
@@ -1107,9 +1225,9 @@ export declare class TypeAlreadyExistsFault extends __BaseException {
1107
1225
  }
1108
1226
  export interface RegisterDomainInput {
1109
1227
  name: string | undefined;
1110
- description?: string;
1228
+ description?: string | undefined;
1111
1229
  workflowExecutionRetentionPeriodInDays: string | undefined;
1112
- tags?: ResourceTag[];
1230
+ tags?: ResourceTag[] | undefined;
1113
1231
  }
1114
1232
  export declare class TooManyTagsFault extends __BaseException {
1115
1233
  readonly name: "TooManyTagsFault";
@@ -1120,61 +1238,61 @@ export interface RegisterWorkflowTypeInput {
1120
1238
  domain: string | undefined;
1121
1239
  name: string | undefined;
1122
1240
  version: string | undefined;
1123
- description?: string;
1124
- defaultTaskStartToCloseTimeout?: string;
1125
- defaultExecutionStartToCloseTimeout?: string;
1126
- defaultTaskList?: TaskList;
1127
- defaultTaskPriority?: string;
1128
- defaultChildPolicy?: ChildPolicy;
1129
- defaultLambdaRole?: string;
1241
+ description?: string | undefined;
1242
+ defaultTaskStartToCloseTimeout?: string | undefined;
1243
+ defaultExecutionStartToCloseTimeout?: string | undefined;
1244
+ defaultTaskList?: TaskList | undefined;
1245
+ defaultTaskPriority?: string | undefined;
1246
+ defaultChildPolicy?: ChildPolicy | undefined;
1247
+ defaultLambdaRole?: string | undefined;
1130
1248
  }
1131
1249
  export interface RequestCancelWorkflowExecutionInput {
1132
1250
  domain: string | undefined;
1133
1251
  workflowId: string | undefined;
1134
- runId?: string;
1252
+ runId?: string | undefined;
1135
1253
  }
1136
1254
  export interface RespondActivityTaskCanceledInput {
1137
1255
  taskToken: string | undefined;
1138
- details?: string;
1256
+ details?: string | undefined;
1139
1257
  }
1140
1258
  export interface RespondActivityTaskCompletedInput {
1141
1259
  taskToken: string | undefined;
1142
- result?: string;
1260
+ result?: string | undefined;
1143
1261
  }
1144
1262
  export interface RespondActivityTaskFailedInput {
1145
1263
  taskToken: string | undefined;
1146
- reason?: string;
1147
- details?: string;
1264
+ reason?: string | undefined;
1265
+ details?: string | undefined;
1148
1266
  }
1149
1267
  export interface RespondDecisionTaskCompletedInput {
1150
1268
  taskToken: string | undefined;
1151
- decisions?: Decision[];
1152
- executionContext?: string;
1153
- taskList?: TaskList;
1154
- taskListScheduleToStartTimeout?: string;
1269
+ decisions?: Decision[] | undefined;
1270
+ executionContext?: string | undefined;
1271
+ taskList?: TaskList | undefined;
1272
+ taskListScheduleToStartTimeout?: string | undefined;
1155
1273
  }
1156
1274
  export interface Run {
1157
- runId?: string;
1275
+ runId?: string | undefined;
1158
1276
  }
1159
1277
  export interface SignalWorkflowExecutionInput {
1160
1278
  domain: string | undefined;
1161
1279
  workflowId: string | undefined;
1162
- runId?: string;
1280
+ runId?: string | undefined;
1163
1281
  signalName: string | undefined;
1164
- input?: string;
1282
+ input?: string | undefined;
1165
1283
  }
1166
1284
  export interface StartWorkflowExecutionInput {
1167
1285
  domain: string | undefined;
1168
1286
  workflowId: string | undefined;
1169
1287
  workflowType: WorkflowType | undefined;
1170
- taskList?: TaskList;
1171
- taskPriority?: string;
1172
- input?: string;
1173
- executionStartToCloseTimeout?: string;
1174
- tagList?: string[];
1175
- taskStartToCloseTimeout?: string;
1176
- childPolicy?: ChildPolicy;
1177
- lambdaRole?: string;
1288
+ taskList?: TaskList | undefined;
1289
+ taskPriority?: string | undefined;
1290
+ input?: string | undefined;
1291
+ executionStartToCloseTimeout?: string | undefined;
1292
+ tagList?: string[] | undefined;
1293
+ taskStartToCloseTimeout?: string | undefined;
1294
+ childPolicy?: ChildPolicy | undefined;
1295
+ lambdaRole?: string | undefined;
1178
1296
  }
1179
1297
  export declare class WorkflowExecutionAlreadyStartedFault extends __BaseException {
1180
1298
  readonly name: "WorkflowExecutionAlreadyStartedFault";
@@ -1193,10 +1311,10 @@ export interface TagResourceInput {
1193
1311
  export interface TerminateWorkflowExecutionInput {
1194
1312
  domain: string | undefined;
1195
1313
  workflowId: string | undefined;
1196
- runId?: string;
1197
- reason?: string;
1198
- details?: string;
1199
- childPolicy?: ChildPolicy;
1314
+ runId?: string | undefined;
1315
+ reason?: string | undefined;
1316
+ details?: string | undefined;
1317
+ childPolicy?: ChildPolicy | undefined;
1200
1318
  }
1201
1319
  export interface UndeprecateActivityTypeInput {
1202
1320
  domain: string | undefined;