@aws-sdk/client-swf 3.427.0 → 3.429.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.
@@ -299,7 +299,7 @@ export interface ActivityTaskTimedOutEventAttributes {
299
299
  * @public
300
300
  * <p>The type of the timeout that caused this event.</p>
301
301
  */
302
- timeoutType: ActivityTaskTimeoutType | string | undefined;
302
+ timeoutType: ActivityTaskTimeoutType | undefined;
303
303
  /**
304
304
  * @public
305
305
  * <p>The ID of the <code>ActivityTaskScheduled</code> event that was recorded when this activity task was scheduled. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.</p>
@@ -414,7 +414,7 @@ export interface ActivityTypeInfo {
414
414
  * @public
415
415
  * <p>The current status of the activity type.</p>
416
416
  */
417
- status: RegistrationStatus | string | undefined;
417
+ status: RegistrationStatus | undefined;
418
418
  /**
419
419
  * @public
420
420
  * <p>The description of the activity type provided in <a>RegisterActivityType</a>.</p>
@@ -545,7 +545,7 @@ export interface CancelTimerFailedEventAttributes {
545
545
  * in the <i>Amazon SWF Developer Guide</i>.</p>
546
546
  * </note>
547
547
  */
548
- cause: CancelTimerFailedCause | string | undefined;
548
+ cause: CancelTimerFailedCause | undefined;
549
549
  /**
550
550
  * @public
551
551
  * <p>The ID of the <code>DecisionTaskCompleted</code> event corresponding to the decision task that resulted in the <code>CancelTimer</code> decision to cancel this timer. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.</p>
@@ -610,7 +610,7 @@ export interface CancelWorkflowExecutionFailedEventAttributes {
610
610
  * in the <i>Amazon SWF Developer Guide</i>.</p>
611
611
  * </note>
612
612
  */
613
- cause: CancelWorkflowExecutionFailedCause | string | undefined;
613
+ cause: CancelWorkflowExecutionFailedCause | undefined;
614
614
  /**
615
615
  * @public
616
616
  * <p>The ID of the <code>DecisionTaskCompleted</code> event corresponding to the decision task that resulted in the <code>CancelWorkflowExecution</code> decision for this cancellation request. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.</p>
@@ -854,7 +854,7 @@ export interface ChildWorkflowExecutionTimedOutEventAttributes {
854
854
  * @public
855
855
  * <p>The type of the timeout that caused the child workflow execution to time out.</p>
856
856
  */
857
- timeoutType: WorkflowExecutionTimeoutType | string | undefined;
857
+ timeoutType: WorkflowExecutionTimeoutType | undefined;
858
858
  /**
859
859
  * @public
860
860
  * <p>The ID of the <code>StartChildWorkflowExecutionInitiated</code> event corresponding to the
@@ -898,7 +898,7 @@ export interface CloseStatusFilter {
898
898
  * The close status that must match the close status of an execution for it to meet the criteria of
899
899
  * this filter.</p>
900
900
  */
901
- status: CloseStatus | string | undefined;
901
+ status: CloseStatus | undefined;
902
902
  }
903
903
  /**
904
904
  * @public
@@ -957,7 +957,7 @@ export interface CompleteWorkflowExecutionFailedEventAttributes {
957
957
  * in the <i>Amazon SWF Developer Guide</i>.</p>
958
958
  * </note>
959
959
  */
960
- cause: CompleteWorkflowExecutionFailedCause | string | undefined;
960
+ cause: CompleteWorkflowExecutionFailedCause | undefined;
961
961
  /**
962
962
  * @public
963
963
  * <p>The ID of the <code>DecisionTaskCompleted</code> event corresponding to the decision task that resulted in the
@@ -1075,7 +1075,7 @@ export interface ContinueAsNewWorkflowExecutionDecisionAttributes {
1075
1075
  * <p>A child policy for this workflow execution must be specified either as a default for the workflow type or through this parameter. If neither this parameter is set nor a default child policy was specified at registration time then a fault is returned.</p>
1076
1076
  * </note>
1077
1077
  */
1078
- childPolicy?: ChildPolicy | string;
1078
+ childPolicy?: ChildPolicy;
1079
1079
  /**
1080
1080
  * @public
1081
1081
  * <p>The list of tags to associate with the new workflow execution. A maximum of 5 tags can be specified. You can
@@ -1127,7 +1127,7 @@ export interface ContinueAsNewWorkflowExecutionFailedEventAttributes {
1127
1127
  * in the <i>Amazon SWF Developer Guide</i>.</p>
1128
1128
  * </note>
1129
1129
  */
1130
- cause: ContinueAsNewWorkflowExecutionFailedCause | string | undefined;
1130
+ cause: ContinueAsNewWorkflowExecutionFailedCause | undefined;
1131
1131
  /**
1132
1132
  * @public
1133
1133
  * <p>The ID of the <code>DecisionTaskCompleted</code> event corresponding to the decision task that resulted in the
@@ -1950,7 +1950,7 @@ export interface StartChildWorkflowExecutionDecisionAttributes {
1950
1950
  * <p>A child policy for this workflow execution must be specified either as a default for the workflow type or through this parameter. If neither this parameter is set nor a default child policy was specified at registration time then a fault is returned.</p>
1951
1951
  * </note>
1952
1952
  */
1953
- childPolicy?: ChildPolicy | string;
1953
+ childPolicy?: ChildPolicy;
1954
1954
  /**
1955
1955
  * @public
1956
1956
  * <p>The list of tags to associate with the child workflow execution. A maximum of 5 tags can be specified. You can
@@ -2289,7 +2289,7 @@ export interface Decision {
2289
2289
  * @public
2290
2290
  * <p>Specifies the type of the decision.</p>
2291
2291
  */
2292
- decisionType: DecisionType | string | undefined;
2292
+ decisionType: DecisionType | undefined;
2293
2293
  /**
2294
2294
  * @public
2295
2295
  * <p>Provides the details of the <code>ScheduleActivityTask</code> decision. It isn't set for other decision types.</p>
@@ -2463,7 +2463,7 @@ export interface DecisionTaskTimedOutEventAttributes {
2463
2463
  * @public
2464
2464
  * <p>The type of timeout that expired before the decision task could be completed.</p>
2465
2465
  */
2466
- timeoutType: DecisionTaskTimeoutType | string | undefined;
2466
+ timeoutType: DecisionTaskTimeoutType | undefined;
2467
2467
  /**
2468
2468
  * @public
2469
2469
  * <p>The ID of the <code>DecisionTaskScheduled</code> event that was recorded when this decision task was scheduled.
@@ -2606,7 +2606,7 @@ export interface FailWorkflowExecutionFailedEventAttributes {
2606
2606
  * in the <i>Amazon SWF Developer Guide</i>.</p>
2607
2607
  * </note>
2608
2608
  */
2609
- cause: FailWorkflowExecutionFailedCause | string | undefined;
2609
+ cause: FailWorkflowExecutionFailedCause | undefined;
2610
2610
  /**
2611
2611
  * @public
2612
2612
  * <p>The ID of the <code>DecisionTaskCompleted</code> event corresponding to the decision task that resulted in the
@@ -2752,7 +2752,7 @@ export interface LambdaFunctionTimedOutEventAttributes {
2752
2752
  * @public
2753
2753
  * <p>The type of the timeout that caused this event.</p>
2754
2754
  */
2755
- timeoutType?: LambdaFunctionTimeoutType | string;
2755
+ timeoutType?: LambdaFunctionTimeoutType;
2756
2756
  }
2757
2757
  /**
2758
2758
  * @public
@@ -2807,7 +2807,7 @@ export interface RecordMarkerFailedEventAttributes {
2807
2807
  * in the <i>Amazon SWF Developer Guide</i>.</p>
2808
2808
  * </note>
2809
2809
  */
2810
- cause: RecordMarkerFailedCause | string | undefined;
2810
+ cause: RecordMarkerFailedCause | undefined;
2811
2811
  /**
2812
2812
  * @public
2813
2813
  * <p>The ID of the <code>DecisionTaskCompleted</code> event corresponding to the decision task that resulted in the
@@ -2847,7 +2847,7 @@ export interface RequestCancelActivityTaskFailedEventAttributes {
2847
2847
  * in the <i>Amazon SWF Developer Guide</i>.</p>
2848
2848
  * </note>
2849
2849
  */
2850
- cause: RequestCancelActivityTaskFailedCause | string | undefined;
2850
+ cause: RequestCancelActivityTaskFailedCause | undefined;
2851
2851
  /**
2852
2852
  * @public
2853
2853
  * <p>The ID of the <code>DecisionTaskCompleted</code> event corresponding to the decision task that resulted in the
@@ -2893,7 +2893,7 @@ export interface RequestCancelExternalWorkflowExecutionFailedEventAttributes {
2893
2893
  * in the <i>Amazon SWF Developer Guide</i>.</p>
2894
2894
  * </note>
2895
2895
  */
2896
- cause: RequestCancelExternalWorkflowExecutionFailedCause | string | undefined;
2896
+ cause: RequestCancelExternalWorkflowExecutionFailedCause | undefined;
2897
2897
  /**
2898
2898
  * @public
2899
2899
  * <p>The ID of the <code>RequestCancelExternalWorkflowExecutionInitiated</code> event corresponding to the
@@ -2990,7 +2990,7 @@ export interface ScheduleActivityTaskFailedEventAttributes {
2990
2990
  * in the <i>Amazon SWF Developer Guide</i>.</p>
2991
2991
  * </note>
2992
2992
  */
2993
- cause: ScheduleActivityTaskFailedCause | string | undefined;
2993
+ cause: ScheduleActivityTaskFailedCause | undefined;
2994
2994
  /**
2995
2995
  * @public
2996
2996
  * <p>The ID of the <code>DecisionTaskCompleted</code> event corresponding to the decision that resulted in the
@@ -3041,7 +3041,7 @@ export interface ScheduleLambdaFunctionFailedEventAttributes {
3041
3041
  * <i>Amazon SWF Developer Guide</i>.</p>
3042
3042
  * </note>
3043
3043
  */
3044
- cause: ScheduleLambdaFunctionFailedCause | string | undefined;
3044
+ cause: ScheduleLambdaFunctionFailedCause | undefined;
3045
3045
  /**
3046
3046
  * @public
3047
3047
  * <p>The ID of the <code>LambdaFunctionCompleted</code> event corresponding to the decision
@@ -3086,7 +3086,7 @@ export interface SignalExternalWorkflowExecutionFailedEventAttributes {
3086
3086
  * in the <i>Amazon SWF Developer Guide</i>.</p>
3087
3087
  * </note>
3088
3088
  */
3089
- cause: SignalExternalWorkflowExecutionFailedCause | string | undefined;
3089
+ cause: SignalExternalWorkflowExecutionFailedCause | undefined;
3090
3090
  /**
3091
3091
  * @public
3092
3092
  * <p>The ID of the <code>SignalExternalWorkflowExecutionInitiated</code> event corresponding to the
@@ -3187,7 +3187,7 @@ export interface StartChildWorkflowExecutionFailedEventAttributes {
3187
3187
  * Using IAM to Manage Access to Amazon SWF Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>
3188
3188
  * </note>
3189
3189
  */
3190
- cause: StartChildWorkflowExecutionFailedCause | string | undefined;
3190
+ cause: StartChildWorkflowExecutionFailedCause | undefined;
3191
3191
  /**
3192
3192
  * @public
3193
3193
  * <p>The <code>workflowId</code> of the child workflow execution.</p>
@@ -3291,7 +3291,7 @@ export interface StartChildWorkflowExecutionInitiatedEventAttributes {
3291
3291
  * </li>
3292
3292
  * </ul>
3293
3293
  */
3294
- childPolicy: ChildPolicy | string | undefined;
3294
+ childPolicy: ChildPolicy | undefined;
3295
3295
  /**
3296
3296
  * @public
3297
3297
  * <p>The maximum duration allowed for the decision tasks for this workflow execution.</p>
@@ -3342,7 +3342,7 @@ export interface StartLambdaFunctionFailedEventAttributes {
3342
3342
  * <i>Amazon SWF Developer Guide</i>.</p>
3343
3343
  * </note>
3344
3344
  */
3345
- cause?: StartLambdaFunctionFailedCause | string;
3345
+ cause?: StartLambdaFunctionFailedCause;
3346
3346
  /**
3347
3347
  * @public
3348
3348
  * <p>A description that can help diagnose the cause of the fault.</p>
@@ -3382,7 +3382,7 @@ export interface StartTimerFailedEventAttributes {
3382
3382
  * in the <i>Amazon SWF Developer Guide</i>.</p>
3383
3383
  * </note>
3384
3384
  */
3385
- cause: StartTimerFailedCause | string | undefined;
3385
+ cause: StartTimerFailedCause | undefined;
3386
3386
  /**
3387
3387
  * @public
3388
3388
  * <p>The ID of the <code>DecisionTaskCompleted</code> event corresponding to the decision task that resulted in the
@@ -3516,7 +3516,7 @@ export interface WorkflowExecutionCancelRequestedEventAttributes {
3516
3516
  * @public
3517
3517
  * <p>If set, indicates that the request to cancel the workflow execution was automatically generated, and specifies the cause. This happens if the parent workflow execution times out or is terminated, and the child policy is set to cancel child executions.</p>
3518
3518
  */
3519
- cause?: WorkflowExecutionCancelRequestedCause | string;
3519
+ cause?: WorkflowExecutionCancelRequestedCause;
3520
3520
  }
3521
3521
  /**
3522
3522
  * @public
@@ -3604,7 +3604,7 @@ export interface WorkflowExecutionContinuedAsNewEventAttributes {
3604
3604
  * </li>
3605
3605
  * </ul>
3606
3606
  */
3607
- childPolicy: ChildPolicy | string | undefined;
3607
+ childPolicy: ChildPolicy | undefined;
3608
3608
  /**
3609
3609
  * @public
3610
3610
  * <p>The list of tags associated with the new workflow execution.</p>
@@ -3718,7 +3718,7 @@ export interface WorkflowExecutionStartedEventAttributes {
3718
3718
  * </li>
3719
3719
  * </ul>
3720
3720
  */
3721
- childPolicy: ChildPolicy | string | undefined;
3721
+ childPolicy: ChildPolicy | undefined;
3722
3722
  /**
3723
3723
  * @public
3724
3724
  * <p>The name of the task list for scheduling the decision tasks for this workflow execution.</p>
@@ -3815,12 +3815,12 @@ export interface WorkflowExecutionTerminatedEventAttributes {
3815
3815
  * </li>
3816
3816
  * </ul>
3817
3817
  */
3818
- childPolicy: ChildPolicy | string | undefined;
3818
+ childPolicy: ChildPolicy | undefined;
3819
3819
  /**
3820
3820
  * @public
3821
3821
  * <p>If set, indicates that the workflow execution was automatically terminated, and specifies the cause. This happens if the parent workflow execution times out or is terminated and the child policy is set to terminate child executions.</p>
3822
3822
  */
3823
- cause?: WorkflowExecutionTerminatedCause | string;
3823
+ cause?: WorkflowExecutionTerminatedCause;
3824
3824
  }
3825
3825
  /**
3826
3826
  * @public
@@ -3831,7 +3831,7 @@ export interface WorkflowExecutionTimedOutEventAttributes {
3831
3831
  * @public
3832
3832
  * <p>The type of timeout that caused this event.</p>
3833
3833
  */
3834
- timeoutType: WorkflowExecutionTimeoutType | string | undefined;
3834
+ timeoutType: WorkflowExecutionTimeoutType | undefined;
3835
3835
  /**
3836
3836
  * @public
3837
3837
  * <p>The policy used for the child workflow executions of this workflow execution.</p>
@@ -3853,7 +3853,7 @@ export interface WorkflowExecutionTimedOutEventAttributes {
3853
3853
  * </li>
3854
3854
  * </ul>
3855
3855
  */
3856
- childPolicy: ChildPolicy | string | undefined;
3856
+ childPolicy: ChildPolicy | undefined;
3857
3857
  }
3858
3858
  /**
3859
3859
  * @public
@@ -4086,7 +4086,7 @@ export interface HistoryEvent {
4086
4086
  * @public
4087
4087
  * <p>The type of the history event.</p>
4088
4088
  */
4089
- eventType: EventType | string | undefined;
4089
+ eventType: EventType | undefined;
4090
4090
  /**
4091
4091
  * @public
4092
4092
  * <p>The system generated ID of the event. This ID uniquely identifies the event with in the workflow execution history.</p>
@@ -4613,7 +4613,7 @@ export interface DomainInfo {
4613
4613
  * </li>
4614
4614
  * </ul>
4615
4615
  */
4616
- status: RegistrationStatus | string | undefined;
4616
+ status: RegistrationStatus | undefined;
4617
4617
  /**
4618
4618
  * @public
4619
4619
  * <p>The description of the domain provided through <a>RegisterDomain</a>.</p>
@@ -4709,7 +4709,7 @@ export interface WorkflowExecutionConfiguration {
4709
4709
  * </li>
4710
4710
  * </ul>
4711
4711
  */
4712
- childPolicy: ChildPolicy | string | undefined;
4712
+ childPolicy: ChildPolicy | undefined;
4713
4713
  /**
4714
4714
  * @public
4715
4715
  * <p>The IAM role attached to the child workflow execution.</p>
@@ -4757,7 +4757,7 @@ export interface WorkflowExecutionInfo {
4757
4757
  * @public
4758
4758
  * <p>The current status of the execution.</p>
4759
4759
  */
4760
- executionStatus: ExecutionStatus | string | undefined;
4760
+ executionStatus: ExecutionStatus | undefined;
4761
4761
  /**
4762
4762
  * @public
4763
4763
  * <p>If the execution status is closed then this specifies how the execution was closed:</p>
@@ -4791,7 +4791,7 @@ export interface WorkflowExecutionInfo {
4791
4791
  * </li>
4792
4792
  * </ul>
4793
4793
  */
4794
- closeStatus?: CloseStatus | string;
4794
+ closeStatus?: CloseStatus;
4795
4795
  /**
4796
4796
  * @public
4797
4797
  * <p>If this workflow execution is a child of another execution then contains the workflow execution that started this execution.</p>
@@ -4959,7 +4959,7 @@ export interface WorkflowTypeConfiguration {
4959
4959
  * </li>
4960
4960
  * </ul>
4961
4961
  */
4962
- defaultChildPolicy?: ChildPolicy | string;
4962
+ defaultChildPolicy?: ChildPolicy;
4963
4963
  /**
4964
4964
  * @public
4965
4965
  * <p>The default IAM role attached to this workflow type.</p>
@@ -4986,7 +4986,7 @@ export interface WorkflowTypeInfo {
4986
4986
  * @public
4987
4987
  * <p>The current status of the workflow type.</p>
4988
4988
  */
4989
- status: RegistrationStatus | string | undefined;
4989
+ status: RegistrationStatus | undefined;
4990
4990
  /**
4991
4991
  * @public
4992
4992
  * <p>The description of the type registered through <a>RegisterWorkflowType</a>.</p>
@@ -5151,7 +5151,7 @@ export interface ListActivityTypesInput {
5151
5151
  * @public
5152
5152
  * <p>Specifies the registration status of the activity types to list.</p>
5153
5153
  */
5154
- registrationStatus: RegistrationStatus | string | undefined;
5154
+ registrationStatus: RegistrationStatus | undefined;
5155
5155
  /**
5156
5156
  * @public
5157
5157
  * <p>If <code>NextPageToken</code> is returned there are more results
@@ -5321,7 +5321,7 @@ export interface ListDomainsInput {
5321
5321
  * @public
5322
5322
  * <p>Specifies the registration status of the domains to list.</p>
5323
5323
  */
5324
- registrationStatus: RegistrationStatus | string | undefined;
5324
+ registrationStatus: RegistrationStatus | undefined;
5325
5325
  /**
5326
5326
  * @public
5327
5327
  * <p>The maximum number of results that are returned per call.
@@ -5463,7 +5463,7 @@ export interface ListWorkflowTypesInput {
5463
5463
  * @public
5464
5464
  * <p>Specifies the registration status of the workflow types to list.</p>
5465
5465
  */
5466
- registrationStatus: RegistrationStatus | string | undefined;
5466
+ registrationStatus: RegistrationStatus | undefined;
5467
5467
  /**
5468
5468
  * @public
5469
5469
  * <p>If <code>NextPageToken</code> is returned there are more results
@@ -5884,7 +5884,7 @@ export interface RegisterWorkflowTypeInput {
5884
5884
  * </li>
5885
5885
  * </ul>
5886
5886
  */
5887
- defaultChildPolicy?: ChildPolicy | string;
5887
+ defaultChildPolicy?: ChildPolicy;
5888
5888
  /**
5889
5889
  * @public
5890
5890
  * <p>The default IAM role attached to this workflow type.</p>
@@ -6203,7 +6203,7 @@ export interface StartWorkflowExecutionInput {
6203
6203
  * child policy was specified at registration time then a fault is returned.</p>
6204
6204
  * </note>
6205
6205
  */
6206
- childPolicy?: ChildPolicy | string;
6206
+ childPolicy?: ChildPolicy;
6207
6207
  /**
6208
6208
  * @public
6209
6209
  * <p>The IAM role to attach to this workflow execution.</p>
@@ -6304,7 +6304,7 @@ export interface TerminateWorkflowExecutionInput {
6304
6304
  * child policy was specified at registration time then a fault is returned.</p>
6305
6305
  * </note>
6306
6306
  */
6307
- childPolicy?: ChildPolicy | string;
6307
+ childPolicy?: ChildPolicy;
6308
6308
  }
6309
6309
  /**
6310
6310
  * @public
@@ -69,7 +69,7 @@ export declare const ActivityTaskTimeoutType: {
69
69
  export type ActivityTaskTimeoutType =
70
70
  (typeof ActivityTaskTimeoutType)[keyof typeof ActivityTaskTimeoutType];
71
71
  export interface ActivityTaskTimedOutEventAttributes {
72
- timeoutType: ActivityTaskTimeoutType | string | undefined;
72
+ timeoutType: ActivityTaskTimeoutType | undefined;
73
73
  scheduledEventId: number | undefined;
74
74
  startedEventId: number | undefined;
75
75
  details?: string;
@@ -90,7 +90,7 @@ export type RegistrationStatus =
90
90
  (typeof RegistrationStatus)[keyof typeof RegistrationStatus];
91
91
  export interface ActivityTypeInfo {
92
92
  activityType: ActivityType | undefined;
93
- status: RegistrationStatus | string | undefined;
93
+ status: RegistrationStatus | undefined;
94
94
  description?: string;
95
95
  creationDate: Date | undefined;
96
96
  deprecationDate?: Date;
@@ -114,7 +114,7 @@ export type CancelTimerFailedCause =
114
114
  (typeof CancelTimerFailedCause)[keyof typeof CancelTimerFailedCause];
115
115
  export interface CancelTimerFailedEventAttributes {
116
116
  timerId: string | undefined;
117
- cause: CancelTimerFailedCause | string | undefined;
117
+ cause: CancelTimerFailedCause | undefined;
118
118
  decisionTaskCompletedEventId: number | undefined;
119
119
  }
120
120
  export interface CancelWorkflowExecutionDecisionAttributes {
@@ -127,7 +127,7 @@ export declare const CancelWorkflowExecutionFailedCause: {
127
127
  export type CancelWorkflowExecutionFailedCause =
128
128
  (typeof CancelWorkflowExecutionFailedCause)[keyof typeof CancelWorkflowExecutionFailedCause];
129
129
  export interface CancelWorkflowExecutionFailedEventAttributes {
130
- cause: CancelWorkflowExecutionFailedCause | string | undefined;
130
+ cause: CancelWorkflowExecutionFailedCause | undefined;
131
131
  decisionTaskCompletedEventId: number | undefined;
132
132
  }
133
133
  export declare const ChildPolicy: {
@@ -181,7 +181,7 @@ export type WorkflowExecutionTimeoutType =
181
181
  export interface ChildWorkflowExecutionTimedOutEventAttributes {
182
182
  workflowExecution: WorkflowExecution | undefined;
183
183
  workflowType: WorkflowType | undefined;
184
- timeoutType: WorkflowExecutionTimeoutType | string | undefined;
184
+ timeoutType: WorkflowExecutionTimeoutType | undefined;
185
185
  initiatedEventId: number | undefined;
186
186
  startedEventId: number | undefined;
187
187
  }
@@ -195,7 +195,7 @@ export declare const CloseStatus: {
195
195
  };
196
196
  export type CloseStatus = (typeof CloseStatus)[keyof typeof CloseStatus];
197
197
  export interface CloseStatusFilter {
198
- status: CloseStatus | string | undefined;
198
+ status: CloseStatus | undefined;
199
199
  }
200
200
  export interface CompleteWorkflowExecutionDecisionAttributes {
201
201
  result?: string;
@@ -207,7 +207,7 @@ export declare const CompleteWorkflowExecutionFailedCause: {
207
207
  export type CompleteWorkflowExecutionFailedCause =
208
208
  (typeof CompleteWorkflowExecutionFailedCause)[keyof typeof CompleteWorkflowExecutionFailedCause];
209
209
  export interface CompleteWorkflowExecutionFailedEventAttributes {
210
- cause: CompleteWorkflowExecutionFailedCause | string | undefined;
210
+ cause: CompleteWorkflowExecutionFailedCause | undefined;
211
211
  decisionTaskCompletedEventId: number | undefined;
212
212
  }
213
213
  export interface ContinueAsNewWorkflowExecutionDecisionAttributes {
@@ -216,7 +216,7 @@ export interface ContinueAsNewWorkflowExecutionDecisionAttributes {
216
216
  taskList?: TaskList;
217
217
  taskPriority?: string;
218
218
  taskStartToCloseTimeout?: string;
219
- childPolicy?: ChildPolicy | string;
219
+ childPolicy?: ChildPolicy;
220
220
  tagList?: string[];
221
221
  workflowTypeVersion?: string;
222
222
  lambdaRole?: string;
@@ -235,7 +235,7 @@ export declare const ContinueAsNewWorkflowExecutionFailedCause: {
235
235
  export type ContinueAsNewWorkflowExecutionFailedCause =
236
236
  (typeof ContinueAsNewWorkflowExecutionFailedCause)[keyof typeof ContinueAsNewWorkflowExecutionFailedCause];
237
237
  export interface ContinueAsNewWorkflowExecutionFailedEventAttributes {
238
- cause: ContinueAsNewWorkflowExecutionFailedCause | string | undefined;
238
+ cause: ContinueAsNewWorkflowExecutionFailedCause | undefined;
239
239
  decisionTaskCompletedEventId: number | undefined;
240
240
  }
241
241
  export interface ExecutionTimeFilter {
@@ -365,7 +365,7 @@ export interface StartChildWorkflowExecutionDecisionAttributes {
365
365
  taskList?: TaskList;
366
366
  taskPriority?: string;
367
367
  taskStartToCloseTimeout?: string;
368
- childPolicy?: ChildPolicy | string;
368
+ childPolicy?: ChildPolicy;
369
369
  tagList?: string[];
370
370
  lambdaRole?: string;
371
371
  }
@@ -375,7 +375,7 @@ export interface StartTimerDecisionAttributes {
375
375
  startToFireTimeout: string | undefined;
376
376
  }
377
377
  export interface Decision {
378
- decisionType: DecisionType | string | undefined;
378
+ decisionType: DecisionType | undefined;
379
379
  scheduleActivityTaskDecisionAttributes?: ScheduleActivityTaskDecisionAttributes;
380
380
  requestCancelActivityTaskDecisionAttributes?: RequestCancelActivityTaskDecisionAttributes;
381
381
  completeWorkflowExecutionDecisionAttributes?: CompleteWorkflowExecutionDecisionAttributes;
@@ -414,7 +414,7 @@ export declare const DecisionTaskTimeoutType: {
414
414
  export type DecisionTaskTimeoutType =
415
415
  (typeof DecisionTaskTimeoutType)[keyof typeof DecisionTaskTimeoutType];
416
416
  export interface DecisionTaskTimedOutEventAttributes {
417
- timeoutType: DecisionTaskTimeoutType | string | undefined;
417
+ timeoutType: DecisionTaskTimeoutType | undefined;
418
418
  scheduledEventId: number | undefined;
419
419
  startedEventId: number | undefined;
420
420
  }
@@ -490,7 +490,7 @@ export declare const FailWorkflowExecutionFailedCause: {
490
490
  export type FailWorkflowExecutionFailedCause =
491
491
  (typeof FailWorkflowExecutionFailedCause)[keyof typeof FailWorkflowExecutionFailedCause];
492
492
  export interface FailWorkflowExecutionFailedEventAttributes {
493
- cause: FailWorkflowExecutionFailedCause | string | undefined;
493
+ cause: FailWorkflowExecutionFailedCause | undefined;
494
494
  decisionTaskCompletedEventId: number | undefined;
495
495
  }
496
496
  export interface LambdaFunctionCompletedEventAttributes {
@@ -523,7 +523,7 @@ export type LambdaFunctionTimeoutType =
523
523
  export interface LambdaFunctionTimedOutEventAttributes {
524
524
  scheduledEventId: number | undefined;
525
525
  startedEventId: number | undefined;
526
- timeoutType?: LambdaFunctionTimeoutType | string;
526
+ timeoutType?: LambdaFunctionTimeoutType;
527
527
  }
528
528
  export interface MarkerRecordedEventAttributes {
529
529
  markerName: string | undefined;
@@ -537,7 +537,7 @@ export type RecordMarkerFailedCause =
537
537
  (typeof RecordMarkerFailedCause)[keyof typeof RecordMarkerFailedCause];
538
538
  export interface RecordMarkerFailedEventAttributes {
539
539
  markerName: string | undefined;
540
- cause: RecordMarkerFailedCause | string | undefined;
540
+ cause: RecordMarkerFailedCause | undefined;
541
541
  decisionTaskCompletedEventId: number | undefined;
542
542
  }
543
543
  export declare const RequestCancelActivityTaskFailedCause: {
@@ -548,7 +548,7 @@ export type RequestCancelActivityTaskFailedCause =
548
548
  (typeof RequestCancelActivityTaskFailedCause)[keyof typeof RequestCancelActivityTaskFailedCause];
549
549
  export interface RequestCancelActivityTaskFailedEventAttributes {
550
550
  activityId: string | undefined;
551
- cause: RequestCancelActivityTaskFailedCause | string | undefined;
551
+ cause: RequestCancelActivityTaskFailedCause | undefined;
552
552
  decisionTaskCompletedEventId: number | undefined;
553
553
  }
554
554
  export declare const RequestCancelExternalWorkflowExecutionFailedCause: {
@@ -561,7 +561,7 @@ export type RequestCancelExternalWorkflowExecutionFailedCause =
561
561
  export interface RequestCancelExternalWorkflowExecutionFailedEventAttributes {
562
562
  workflowId: string | undefined;
563
563
  runId?: string;
564
- cause: RequestCancelExternalWorkflowExecutionFailedCause | string | undefined;
564
+ cause: RequestCancelExternalWorkflowExecutionFailedCause | undefined;
565
565
  initiatedEventId: number | undefined;
566
566
  decisionTaskCompletedEventId: number | undefined;
567
567
  control?: string;
@@ -590,7 +590,7 @@ export type ScheduleActivityTaskFailedCause =
590
590
  export interface ScheduleActivityTaskFailedEventAttributes {
591
591
  activityType: ActivityType | undefined;
592
592
  activityId: string | undefined;
593
- cause: ScheduleActivityTaskFailedCause | string | undefined;
593
+ cause: ScheduleActivityTaskFailedCause | undefined;
594
594
  decisionTaskCompletedEventId: number | undefined;
595
595
  }
596
596
  export declare const ScheduleLambdaFunctionFailedCause: {
@@ -604,7 +604,7 @@ export type ScheduleLambdaFunctionFailedCause =
604
604
  export interface ScheduleLambdaFunctionFailedEventAttributes {
605
605
  id: string | undefined;
606
606
  name: string | undefined;
607
- cause: ScheduleLambdaFunctionFailedCause | string | undefined;
607
+ cause: ScheduleLambdaFunctionFailedCause | undefined;
608
608
  decisionTaskCompletedEventId: number | undefined;
609
609
  }
610
610
  export declare const SignalExternalWorkflowExecutionFailedCause: {
@@ -617,7 +617,7 @@ export type SignalExternalWorkflowExecutionFailedCause =
617
617
  export interface SignalExternalWorkflowExecutionFailedEventAttributes {
618
618
  workflowId: string | undefined;
619
619
  runId?: string;
620
- cause: SignalExternalWorkflowExecutionFailedCause | string | undefined;
620
+ cause: SignalExternalWorkflowExecutionFailedCause | undefined;
621
621
  initiatedEventId: number | undefined;
622
622
  decisionTaskCompletedEventId: number | undefined;
623
623
  control?: string;
@@ -647,7 +647,7 @@ export type StartChildWorkflowExecutionFailedCause =
647
647
  (typeof StartChildWorkflowExecutionFailedCause)[keyof typeof StartChildWorkflowExecutionFailedCause];
648
648
  export interface StartChildWorkflowExecutionFailedEventAttributes {
649
649
  workflowType: WorkflowType | undefined;
650
- cause: StartChildWorkflowExecutionFailedCause | string | undefined;
650
+ cause: StartChildWorkflowExecutionFailedCause | undefined;
651
651
  workflowId: string | undefined;
652
652
  initiatedEventId: number | undefined;
653
653
  decisionTaskCompletedEventId: number | undefined;
@@ -662,7 +662,7 @@ export interface StartChildWorkflowExecutionInitiatedEventAttributes {
662
662
  taskList: TaskList | undefined;
663
663
  taskPriority?: string;
664
664
  decisionTaskCompletedEventId: number | undefined;
665
- childPolicy: ChildPolicy | string | undefined;
665
+ childPolicy: ChildPolicy | undefined;
666
666
  taskStartToCloseTimeout?: string;
667
667
  tagList?: string[];
668
668
  lambdaRole?: string;
@@ -674,7 +674,7 @@ export type StartLambdaFunctionFailedCause =
674
674
  (typeof StartLambdaFunctionFailedCause)[keyof typeof StartLambdaFunctionFailedCause];
675
675
  export interface StartLambdaFunctionFailedEventAttributes {
676
676
  scheduledEventId?: number;
677
- cause?: StartLambdaFunctionFailedCause | string;
677
+ cause?: StartLambdaFunctionFailedCause;
678
678
  message?: string;
679
679
  }
680
680
  export declare const StartTimerFailedCause: {
@@ -687,7 +687,7 @@ export type StartTimerFailedCause =
687
687
  (typeof StartTimerFailedCause)[keyof typeof StartTimerFailedCause];
688
688
  export interface StartTimerFailedEventAttributes {
689
689
  timerId: string | undefined;
690
- cause: StartTimerFailedCause | string | undefined;
690
+ cause: StartTimerFailedCause | undefined;
691
691
  decisionTaskCompletedEventId: number | undefined;
692
692
  }
693
693
  export interface TimerCanceledEventAttributes {
@@ -717,7 +717,7 @@ export type WorkflowExecutionCancelRequestedCause =
717
717
  export interface WorkflowExecutionCancelRequestedEventAttributes {
718
718
  externalWorkflowExecution?: WorkflowExecution;
719
719
  externalInitiatedEventId?: number;
720
- cause?: WorkflowExecutionCancelRequestedCause | string;
720
+ cause?: WorkflowExecutionCancelRequestedCause;
721
721
  }
722
722
  export interface WorkflowExecutionCompletedEventAttributes {
723
723
  result?: string;
@@ -731,7 +731,7 @@ export interface WorkflowExecutionContinuedAsNewEventAttributes {
731
731
  taskList: TaskList | undefined;
732
732
  taskPriority?: string;
733
733
  taskStartToCloseTimeout?: string;
734
- childPolicy: ChildPolicy | string | undefined;
734
+ childPolicy: ChildPolicy | undefined;
735
735
  tagList?: string[];
736
736
  workflowType: WorkflowType | undefined;
737
737
  lambdaRole?: string;
@@ -751,7 +751,7 @@ export interface WorkflowExecutionStartedEventAttributes {
751
751
  input?: string;
752
752
  executionStartToCloseTimeout?: string;
753
753
  taskStartToCloseTimeout?: string;
754
- childPolicy: ChildPolicy | string | undefined;
754
+ childPolicy: ChildPolicy | undefined;
755
755
  taskList: TaskList | undefined;
756
756
  taskPriority?: string;
757
757
  workflowType: WorkflowType | undefined;
@@ -771,16 +771,16 @@ export type WorkflowExecutionTerminatedCause =
771
771
  export interface WorkflowExecutionTerminatedEventAttributes {
772
772
  reason?: string;
773
773
  details?: string;
774
- childPolicy: ChildPolicy | string | undefined;
775
- cause?: WorkflowExecutionTerminatedCause | string;
774
+ childPolicy: ChildPolicy | undefined;
775
+ cause?: WorkflowExecutionTerminatedCause;
776
776
  }
777
777
  export interface WorkflowExecutionTimedOutEventAttributes {
778
- timeoutType: WorkflowExecutionTimeoutType | string | undefined;
779
- childPolicy: ChildPolicy | string | undefined;
778
+ timeoutType: WorkflowExecutionTimeoutType | undefined;
779
+ childPolicy: ChildPolicy | undefined;
780
780
  }
781
781
  export interface HistoryEvent {
782
782
  eventTimestamp: Date | undefined;
783
- eventType: EventType | string | undefined;
783
+ eventType: EventType | undefined;
784
784
  eventId: number | undefined;
785
785
  workflowExecutionStartedEventAttributes?: WorkflowExecutionStartedEventAttributes;
786
786
  workflowExecutionCompletedEventAttributes?: WorkflowExecutionCompletedEventAttributes;
@@ -890,7 +890,7 @@ export interface DomainConfiguration {
890
890
  }
891
891
  export interface DomainInfo {
892
892
  name: string | undefined;
893
- status: RegistrationStatus | string | undefined;
893
+ status: RegistrationStatus | undefined;
894
894
  description?: string;
895
895
  arn?: string;
896
896
  }
@@ -907,7 +907,7 @@ export interface WorkflowExecutionConfiguration {
907
907
  executionStartToCloseTimeout: string | undefined;
908
908
  taskList: TaskList | undefined;
909
909
  taskPriority?: string;
910
- childPolicy: ChildPolicy | string | undefined;
910
+ childPolicy: ChildPolicy | undefined;
911
911
  lambdaRole?: string;
912
912
  }
913
913
  export declare const ExecutionStatus: {
@@ -921,8 +921,8 @@ export interface WorkflowExecutionInfo {
921
921
  workflowType: WorkflowType | undefined;
922
922
  startTimestamp: Date | undefined;
923
923
  closeTimestamp?: Date;
924
- executionStatus: ExecutionStatus | string | undefined;
925
- closeStatus?: CloseStatus | string;
924
+ executionStatus: ExecutionStatus | undefined;
925
+ closeStatus?: CloseStatus;
926
926
  parent?: WorkflowExecution;
927
927
  tagList?: string[];
928
928
  cancelRequested?: boolean;
@@ -950,12 +950,12 @@ export interface WorkflowTypeConfiguration {
950
950
  defaultExecutionStartToCloseTimeout?: string;
951
951
  defaultTaskList?: TaskList;
952
952
  defaultTaskPriority?: string;
953
- defaultChildPolicy?: ChildPolicy | string;
953
+ defaultChildPolicy?: ChildPolicy;
954
954
  defaultLambdaRole?: string;
955
955
  }
956
956
  export interface WorkflowTypeInfo {
957
957
  workflowType: WorkflowType | undefined;
958
- status: RegistrationStatus | string | undefined;
958
+ status: RegistrationStatus | undefined;
959
959
  description?: string;
960
960
  creationDate: Date | undefined;
961
961
  deprecationDate?: Date;
@@ -994,7 +994,7 @@ export declare class LimitExceededFault extends __BaseException {
994
994
  export interface ListActivityTypesInput {
995
995
  domain: string | undefined;
996
996
  name?: string;
997
- registrationStatus: RegistrationStatus | string | undefined;
997
+ registrationStatus: RegistrationStatus | undefined;
998
998
  nextPageToken?: string;
999
999
  maximumPageSize?: number;
1000
1000
  reverseOrder?: boolean;
@@ -1017,7 +1017,7 @@ export interface WorkflowExecutionInfos {
1017
1017
  }
1018
1018
  export interface ListDomainsInput {
1019
1019
  nextPageToken?: string;
1020
- registrationStatus: RegistrationStatus | string | undefined;
1020
+ registrationStatus: RegistrationStatus | undefined;
1021
1021
  maximumPageSize?: number;
1022
1022
  reverseOrder?: boolean;
1023
1023
  }
@@ -1044,7 +1044,7 @@ export interface ListTagsForResourceOutput {
1044
1044
  export interface ListWorkflowTypesInput {
1045
1045
  domain: string | undefined;
1046
1046
  name?: string;
1047
- registrationStatus: RegistrationStatus | string | undefined;
1047
+ registrationStatus: RegistrationStatus | undefined;
1048
1048
  nextPageToken?: string;
1049
1049
  maximumPageSize?: number;
1050
1050
  reverseOrder?: boolean;
@@ -1110,7 +1110,7 @@ export interface RegisterWorkflowTypeInput {
1110
1110
  defaultExecutionStartToCloseTimeout?: string;
1111
1111
  defaultTaskList?: TaskList;
1112
1112
  defaultTaskPriority?: string;
1113
- defaultChildPolicy?: ChildPolicy | string;
1113
+ defaultChildPolicy?: ChildPolicy;
1114
1114
  defaultLambdaRole?: string;
1115
1115
  }
1116
1116
  export interface RequestCancelWorkflowExecutionInput {
@@ -1158,7 +1158,7 @@ export interface StartWorkflowExecutionInput {
1158
1158
  executionStartToCloseTimeout?: string;
1159
1159
  tagList?: string[];
1160
1160
  taskStartToCloseTimeout?: string;
1161
- childPolicy?: ChildPolicy | string;
1161
+ childPolicy?: ChildPolicy;
1162
1162
  lambdaRole?: string;
1163
1163
  }
1164
1164
  export declare class WorkflowExecutionAlreadyStartedFault extends __BaseException {
@@ -1181,7 +1181,7 @@ export interface TerminateWorkflowExecutionInput {
1181
1181
  runId?: string;
1182
1182
  reason?: string;
1183
1183
  details?: string;
1184
- childPolicy?: ChildPolicy | string;
1184
+ childPolicy?: ChildPolicy;
1185
1185
  }
1186
1186
  export interface UndeprecateActivityTypeInput {
1187
1187
  domain: string | 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.427.0",
4
+ "version": "3.429.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",
@@ -21,39 +21,39 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.427.0",
25
- "@aws-sdk/credential-provider-node": "3.427.0",
26
- "@aws-sdk/middleware-host-header": "3.425.0",
27
- "@aws-sdk/middleware-logger": "3.425.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.425.0",
29
- "@aws-sdk/middleware-signing": "3.425.0",
30
- "@aws-sdk/middleware-user-agent": "3.427.0",
31
- "@aws-sdk/region-config-resolver": "3.425.0",
32
- "@aws-sdk/types": "3.425.0",
33
- "@aws-sdk/util-endpoints": "3.427.0",
34
- "@aws-sdk/util-user-agent-browser": "3.425.0",
35
- "@aws-sdk/util-user-agent-node": "3.425.0",
36
- "@smithy/config-resolver": "^2.0.11",
37
- "@smithy/fetch-http-handler": "^2.2.1",
38
- "@smithy/hash-node": "^2.0.10",
39
- "@smithy/invalid-dependency": "^2.0.10",
40
- "@smithy/middleware-content-length": "^2.0.12",
41
- "@smithy/middleware-endpoint": "^2.0.10",
42
- "@smithy/middleware-retry": "^2.0.13",
43
- "@smithy/middleware-serde": "^2.0.10",
44
- "@smithy/middleware-stack": "^2.0.4",
45
- "@smithy/node-config-provider": "^2.0.13",
46
- "@smithy/node-http-handler": "^2.1.6",
47
- "@smithy/protocol-http": "^3.0.6",
48
- "@smithy/smithy-client": "^2.1.9",
49
- "@smithy/types": "^2.3.4",
50
- "@smithy/url-parser": "^2.0.10",
24
+ "@aws-sdk/client-sts": "3.429.0",
25
+ "@aws-sdk/credential-provider-node": "3.429.0",
26
+ "@aws-sdk/middleware-host-header": "3.429.0",
27
+ "@aws-sdk/middleware-logger": "3.428.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.428.0",
29
+ "@aws-sdk/middleware-signing": "3.428.0",
30
+ "@aws-sdk/middleware-user-agent": "3.428.0",
31
+ "@aws-sdk/region-config-resolver": "3.428.0",
32
+ "@aws-sdk/types": "3.428.0",
33
+ "@aws-sdk/util-endpoints": "3.428.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.428.0",
35
+ "@aws-sdk/util-user-agent-node": "3.428.0",
36
+ "@smithy/config-resolver": "^2.0.14",
37
+ "@smithy/fetch-http-handler": "^2.2.3",
38
+ "@smithy/hash-node": "^2.0.11",
39
+ "@smithy/invalid-dependency": "^2.0.11",
40
+ "@smithy/middleware-content-length": "^2.0.13",
41
+ "@smithy/middleware-endpoint": "^2.1.1",
42
+ "@smithy/middleware-retry": "^2.0.16",
43
+ "@smithy/middleware-serde": "^2.0.11",
44
+ "@smithy/middleware-stack": "^2.0.5",
45
+ "@smithy/node-config-provider": "^2.1.1",
46
+ "@smithy/node-http-handler": "^2.1.7",
47
+ "@smithy/protocol-http": "^3.0.7",
48
+ "@smithy/smithy-client": "^2.1.11",
49
+ "@smithy/types": "^2.3.5",
50
+ "@smithy/url-parser": "^2.0.11",
51
51
  "@smithy/util-base64": "^2.0.0",
52
52
  "@smithy/util-body-length-browser": "^2.0.0",
53
53
  "@smithy/util-body-length-node": "^2.1.0",
54
- "@smithy/util-defaults-mode-browser": "^2.0.13",
55
- "@smithy/util-defaults-mode-node": "^2.0.15",
56
- "@smithy/util-retry": "^2.0.3",
54
+ "@smithy/util-defaults-mode-browser": "^2.0.15",
55
+ "@smithy/util-defaults-mode-node": "^2.0.19",
56
+ "@smithy/util-retry": "^2.0.4",
57
57
  "@smithy/util-utf8": "^2.0.0",
58
58
  "tslib": "^2.5.0"
59
59
  },