@aws-sdk/client-swf 3.259.0 → 3.261.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -227,7 +227,12 @@ export interface ActivityTaskStatus {
227
227
  */
228
228
  cancelRequested: boolean | undefined;
229
229
  }
230
- export declare type ActivityTaskTimeoutType = "HEARTBEAT" | "SCHEDULE_TO_CLOSE" | "SCHEDULE_TO_START" | "START_TO_CLOSE";
230
+ export declare enum ActivityTaskTimeoutType {
231
+ HEARTBEAT = "HEARTBEAT",
232
+ SCHEDULE_TO_CLOSE = "SCHEDULE_TO_CLOSE",
233
+ SCHEDULE_TO_START = "SCHEDULE_TO_START",
234
+ START_TO_CLOSE = "START_TO_CLOSE"
235
+ }
231
236
  /**
232
237
  * <p>Provides the details of the <code>ActivityTaskTimedOut</code> event.</p>
233
238
  */
@@ -314,7 +319,10 @@ export interface ActivityTypeConfiguration {
314
319
  */
315
320
  defaultTaskScheduleToCloseTimeout?: string;
316
321
  }
317
- export declare type RegistrationStatus = "DEPRECATED" | "REGISTERED";
322
+ export declare enum RegistrationStatus {
323
+ DEPRECATED = "DEPRECATED",
324
+ REGISTERED = "REGISTERED"
325
+ }
318
326
  /**
319
327
  * <p>Detailed information about an activity type.</p>
320
328
  */
@@ -415,7 +423,10 @@ export interface CancelTimerDecisionAttributes {
415
423
  */
416
424
  timerId: string | undefined;
417
425
  }
418
- export declare type CancelTimerFailedCause = "OPERATION_NOT_PERMITTED" | "TIMER_ID_UNKNOWN";
426
+ export declare enum CancelTimerFailedCause {
427
+ OPERATION_NOT_PERMITTED = "OPERATION_NOT_PERMITTED",
428
+ TIMER_ID_UNKNOWN = "TIMER_ID_UNKNOWN"
429
+ }
419
430
  /**
420
431
  * <p>Provides the details of the <code>CancelTimerFailed</code> event.</p>
421
432
  */
@@ -468,7 +479,10 @@ export interface CancelWorkflowExecutionDecisionAttributes {
468
479
  */
469
480
  details?: string;
470
481
  }
471
- export declare type CancelWorkflowExecutionFailedCause = "OPERATION_NOT_PERMITTED" | "UNHANDLED_DECISION";
482
+ export declare enum CancelWorkflowExecutionFailedCause {
483
+ OPERATION_NOT_PERMITTED = "OPERATION_NOT_PERMITTED",
484
+ UNHANDLED_DECISION = "UNHANDLED_DECISION"
485
+ }
472
486
  /**
473
487
  * <p>Provides the details of the <code>CancelWorkflowExecutionFailed</code> event.</p>
474
488
  */
@@ -487,7 +501,11 @@ export interface CancelWorkflowExecutionFailedEventAttributes {
487
501
  */
488
502
  decisionTaskCompletedEventId: number | undefined;
489
503
  }
490
- export declare type ChildPolicy = "ABANDON" | "REQUEST_CANCEL" | "TERMINATE";
504
+ export declare enum ChildPolicy {
505
+ ABANDON = "ABANDON",
506
+ REQUEST_CANCEL = "REQUEST_CANCEL",
507
+ TERMINATE = "TERMINATE"
508
+ }
491
509
  /**
492
510
  * <p>Represents a workflow type.</p>
493
511
  */
@@ -651,7 +669,9 @@ export interface ChildWorkflowExecutionTerminatedEventAttributes {
651
669
  */
652
670
  startedEventId: number | undefined;
653
671
  }
654
- export declare type WorkflowExecutionTimeoutType = "START_TO_CLOSE";
672
+ export declare enum WorkflowExecutionTimeoutType {
673
+ START_TO_CLOSE = "START_TO_CLOSE"
674
+ }
655
675
  /**
656
676
  * <p>Provides the details of the <code>ChildWorkflowExecutionTimedOut</code> event.</p>
657
677
  */
@@ -682,7 +702,14 @@ export interface ChildWorkflowExecutionTimedOutEventAttributes {
682
702
  */
683
703
  startedEventId: number | undefined;
684
704
  }
685
- export declare type CloseStatus = "CANCELED" | "COMPLETED" | "CONTINUED_AS_NEW" | "FAILED" | "TERMINATED" | "TIMED_OUT";
705
+ export declare enum CloseStatus {
706
+ CANCELED = "CANCELED",
707
+ COMPLETED = "COMPLETED",
708
+ CONTINUED_AS_NEW = "CONTINUED_AS_NEW",
709
+ FAILED = "FAILED",
710
+ TERMINATED = "TERMINATED",
711
+ TIMED_OUT = "TIMED_OUT"
712
+ }
686
713
  /**
687
714
  * <p>Used to filter the closed workflow executions in visibility APIs by their close status.</p>
688
715
  */
@@ -723,7 +750,10 @@ export interface CompleteWorkflowExecutionDecisionAttributes {
723
750
  */
724
751
  result?: string;
725
752
  }
726
- export declare type CompleteWorkflowExecutionFailedCause = "OPERATION_NOT_PERMITTED" | "UNHANDLED_DECISION";
753
+ export declare enum CompleteWorkflowExecutionFailedCause {
754
+ OPERATION_NOT_PERMITTED = "OPERATION_NOT_PERMITTED",
755
+ UNHANDLED_DECISION = "UNHANDLED_DECISION"
756
+ }
727
757
  /**
728
758
  * <p>Provides the details of the <code>CompleteWorkflowExecutionFailed</code> event.</p>
729
759
  */
@@ -862,7 +892,17 @@ export interface ContinueAsNewWorkflowExecutionDecisionAttributes {
862
892
  */
863
893
  lambdaRole?: string;
864
894
  }
865
- export declare type ContinueAsNewWorkflowExecutionFailedCause = "CONTINUE_AS_NEW_WORKFLOW_EXECUTION_RATE_EXCEEDED" | "DEFAULT_CHILD_POLICY_UNDEFINED" | "DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED" | "DEFAULT_TASK_LIST_UNDEFINED" | "DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED" | "OPERATION_NOT_PERMITTED" | "UNHANDLED_DECISION" | "WORKFLOW_TYPE_DEPRECATED" | "WORKFLOW_TYPE_DOES_NOT_EXIST";
895
+ export declare enum ContinueAsNewWorkflowExecutionFailedCause {
896
+ CONTINUE_AS_NEW_WORKFLOW_EXECUTION_RATE_EXCEEDED = "CONTINUE_AS_NEW_WORKFLOW_EXECUTION_RATE_EXCEEDED",
897
+ DEFAULT_CHILD_POLICY_UNDEFINED = "DEFAULT_CHILD_POLICY_UNDEFINED",
898
+ DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED = "DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED",
899
+ DEFAULT_TASK_LIST_UNDEFINED = "DEFAULT_TASK_LIST_UNDEFINED",
900
+ DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED = "DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED",
901
+ OPERATION_NOT_PERMITTED = "OPERATION_NOT_PERMITTED",
902
+ UNHANDLED_DECISION = "UNHANDLED_DECISION",
903
+ WORKFLOW_TYPE_DEPRECATED = "WORKFLOW_TYPE_DEPRECATED",
904
+ WORKFLOW_TYPE_DOES_NOT_EXIST = "WORKFLOW_TYPE_DOES_NOT_EXIST"
905
+ }
866
906
  /**
867
907
  * <p>Provides the details of the <code>ContinueAsNewWorkflowExecutionFailed</code> event.</p>
868
908
  */
@@ -1114,7 +1154,21 @@ export interface CountPendingDecisionTasksInput {
1114
1154
  */
1115
1155
  taskList: TaskList | undefined;
1116
1156
  }
1117
- export declare type DecisionType = "CancelTimer" | "CancelWorkflowExecution" | "CompleteWorkflowExecution" | "ContinueAsNewWorkflowExecution" | "FailWorkflowExecution" | "RecordMarker" | "RequestCancelActivityTask" | "RequestCancelExternalWorkflowExecution" | "ScheduleActivityTask" | "ScheduleLambdaFunction" | "SignalExternalWorkflowExecution" | "StartChildWorkflowExecution" | "StartTimer";
1157
+ export declare enum DecisionType {
1158
+ CancelTimer = "CancelTimer",
1159
+ CancelWorkflowExecution = "CancelWorkflowExecution",
1160
+ CompleteWorkflowExecution = "CompleteWorkflowExecution",
1161
+ ContinueAsNewWorkflowExecution = "ContinueAsNewWorkflowExecution",
1162
+ FailWorkflowExecution = "FailWorkflowExecution",
1163
+ RecordMarker = "RecordMarker",
1164
+ RequestCancelActivityTask = "RequestCancelActivityTask",
1165
+ RequestCancelExternalWorkflowExecution = "RequestCancelExternalWorkflowExecution",
1166
+ ScheduleActivityTask = "ScheduleActivityTask",
1167
+ ScheduleLambdaFunction = "ScheduleLambdaFunction",
1168
+ SignalExternalWorkflowExecution = "SignalExternalWorkflowExecution",
1169
+ StartChildWorkflowExecution = "StartChildWorkflowExecution",
1170
+ StartTimer = "StartTimer"
1171
+ }
1118
1172
  /**
1119
1173
  * <p>Provides the details of the <code>FailWorkflowExecution</code> decision.</p>
1120
1174
  * <p>
@@ -2022,7 +2076,9 @@ export interface DecisionTaskStartedEventAttributes {
2022
2076
  */
2023
2077
  scheduledEventId: number | undefined;
2024
2078
  }
2025
- export declare type DecisionTaskTimeoutType = "START_TO_CLOSE";
2079
+ export declare enum DecisionTaskTimeoutType {
2080
+ START_TO_CLOSE = "START_TO_CLOSE"
2081
+ }
2026
2082
  /**
2027
2083
  * <p>Provides the details of the <code>DecisionTaskTimedOut</code> event.</p>
2028
2084
  */
@@ -2044,7 +2100,62 @@ export interface DecisionTaskTimedOutEventAttributes {
2044
2100
  */
2045
2101
  startedEventId: number | undefined;
2046
2102
  }
2047
- export declare type EventType = "ActivityTaskCancelRequested" | "ActivityTaskCanceled" | "ActivityTaskCompleted" | "ActivityTaskFailed" | "ActivityTaskScheduled" | "ActivityTaskStarted" | "ActivityTaskTimedOut" | "CancelTimerFailed" | "CancelWorkflowExecutionFailed" | "ChildWorkflowExecutionCanceled" | "ChildWorkflowExecutionCompleted" | "ChildWorkflowExecutionFailed" | "ChildWorkflowExecutionStarted" | "ChildWorkflowExecutionTerminated" | "ChildWorkflowExecutionTimedOut" | "CompleteWorkflowExecutionFailed" | "ContinueAsNewWorkflowExecutionFailed" | "DecisionTaskCompleted" | "DecisionTaskScheduled" | "DecisionTaskStarted" | "DecisionTaskTimedOut" | "ExternalWorkflowExecutionCancelRequested" | "ExternalWorkflowExecutionSignaled" | "FailWorkflowExecutionFailed" | "LambdaFunctionCompleted" | "LambdaFunctionFailed" | "LambdaFunctionScheduled" | "LambdaFunctionStarted" | "LambdaFunctionTimedOut" | "MarkerRecorded" | "RecordMarkerFailed" | "RequestCancelActivityTaskFailed" | "RequestCancelExternalWorkflowExecutionFailed" | "RequestCancelExternalWorkflowExecutionInitiated" | "ScheduleActivityTaskFailed" | "ScheduleLambdaFunctionFailed" | "SignalExternalWorkflowExecutionFailed" | "SignalExternalWorkflowExecutionInitiated" | "StartChildWorkflowExecutionFailed" | "StartChildWorkflowExecutionInitiated" | "StartLambdaFunctionFailed" | "StartTimerFailed" | "TimerCanceled" | "TimerFired" | "TimerStarted" | "WorkflowExecutionCancelRequested" | "WorkflowExecutionCanceled" | "WorkflowExecutionCompleted" | "WorkflowExecutionContinuedAsNew" | "WorkflowExecutionFailed" | "WorkflowExecutionSignaled" | "WorkflowExecutionStarted" | "WorkflowExecutionTerminated" | "WorkflowExecutionTimedOut";
2103
+ export declare enum EventType {
2104
+ ActivityTaskCancelRequested = "ActivityTaskCancelRequested",
2105
+ ActivityTaskCanceled = "ActivityTaskCanceled",
2106
+ ActivityTaskCompleted = "ActivityTaskCompleted",
2107
+ ActivityTaskFailed = "ActivityTaskFailed",
2108
+ ActivityTaskScheduled = "ActivityTaskScheduled",
2109
+ ActivityTaskStarted = "ActivityTaskStarted",
2110
+ ActivityTaskTimedOut = "ActivityTaskTimedOut",
2111
+ CancelTimerFailed = "CancelTimerFailed",
2112
+ CancelWorkflowExecutionFailed = "CancelWorkflowExecutionFailed",
2113
+ ChildWorkflowExecutionCanceled = "ChildWorkflowExecutionCanceled",
2114
+ ChildWorkflowExecutionCompleted = "ChildWorkflowExecutionCompleted",
2115
+ ChildWorkflowExecutionFailed = "ChildWorkflowExecutionFailed",
2116
+ ChildWorkflowExecutionStarted = "ChildWorkflowExecutionStarted",
2117
+ ChildWorkflowExecutionTerminated = "ChildWorkflowExecutionTerminated",
2118
+ ChildWorkflowExecutionTimedOut = "ChildWorkflowExecutionTimedOut",
2119
+ CompleteWorkflowExecutionFailed = "CompleteWorkflowExecutionFailed",
2120
+ ContinueAsNewWorkflowExecutionFailed = "ContinueAsNewWorkflowExecutionFailed",
2121
+ DecisionTaskCompleted = "DecisionTaskCompleted",
2122
+ DecisionTaskScheduled = "DecisionTaskScheduled",
2123
+ DecisionTaskStarted = "DecisionTaskStarted",
2124
+ DecisionTaskTimedOut = "DecisionTaskTimedOut",
2125
+ ExternalWorkflowExecutionCancelRequested = "ExternalWorkflowExecutionCancelRequested",
2126
+ ExternalWorkflowExecutionSignaled = "ExternalWorkflowExecutionSignaled",
2127
+ FailWorkflowExecutionFailed = "FailWorkflowExecutionFailed",
2128
+ LambdaFunctionCompleted = "LambdaFunctionCompleted",
2129
+ LambdaFunctionFailed = "LambdaFunctionFailed",
2130
+ LambdaFunctionScheduled = "LambdaFunctionScheduled",
2131
+ LambdaFunctionStarted = "LambdaFunctionStarted",
2132
+ LambdaFunctionTimedOut = "LambdaFunctionTimedOut",
2133
+ MarkerRecorded = "MarkerRecorded",
2134
+ RecordMarkerFailed = "RecordMarkerFailed",
2135
+ RequestCancelActivityTaskFailed = "RequestCancelActivityTaskFailed",
2136
+ RequestCancelExternalWorkflowExecutionFailed = "RequestCancelExternalWorkflowExecutionFailed",
2137
+ RequestCancelExternalWorkflowExecutionInitiated = "RequestCancelExternalWorkflowExecutionInitiated",
2138
+ ScheduleActivityTaskFailed = "ScheduleActivityTaskFailed",
2139
+ ScheduleLambdaFunctionFailed = "ScheduleLambdaFunctionFailed",
2140
+ SignalExternalWorkflowExecutionFailed = "SignalExternalWorkflowExecutionFailed",
2141
+ SignalExternalWorkflowExecutionInitiated = "SignalExternalWorkflowExecutionInitiated",
2142
+ StartChildWorkflowExecutionFailed = "StartChildWorkflowExecutionFailed",
2143
+ StartChildWorkflowExecutionInitiated = "StartChildWorkflowExecutionInitiated",
2144
+ StartLambdaFunctionFailed = "StartLambdaFunctionFailed",
2145
+ StartTimerFailed = "StartTimerFailed",
2146
+ TimerCanceled = "TimerCanceled",
2147
+ TimerFired = "TimerFired",
2148
+ TimerStarted = "TimerStarted",
2149
+ WorkflowExecutionCancelRequested = "WorkflowExecutionCancelRequested",
2150
+ WorkflowExecutionCanceled = "WorkflowExecutionCanceled",
2151
+ WorkflowExecutionCompleted = "WorkflowExecutionCompleted",
2152
+ WorkflowExecutionContinuedAsNew = "WorkflowExecutionContinuedAsNew",
2153
+ WorkflowExecutionFailed = "WorkflowExecutionFailed",
2154
+ WorkflowExecutionSignaled = "WorkflowExecutionSignaled",
2155
+ WorkflowExecutionStarted = "WorkflowExecutionStarted",
2156
+ WorkflowExecutionTerminated = "WorkflowExecutionTerminated",
2157
+ WorkflowExecutionTimedOut = "WorkflowExecutionTimedOut"
2158
+ }
2048
2159
  /**
2049
2160
  * <p>Provides the details of the <code>ExternalWorkflowExecutionCancelRequested</code> event.</p>
2050
2161
  */
@@ -2076,7 +2187,10 @@ export interface ExternalWorkflowExecutionSignaledEventAttributes {
2076
2187
  */
2077
2188
  initiatedEventId: number | undefined;
2078
2189
  }
2079
- export declare type FailWorkflowExecutionFailedCause = "OPERATION_NOT_PERMITTED" | "UNHANDLED_DECISION";
2190
+ export declare enum FailWorkflowExecutionFailedCause {
2191
+ OPERATION_NOT_PERMITTED = "OPERATION_NOT_PERMITTED",
2192
+ UNHANDLED_DECISION = "UNHANDLED_DECISION"
2193
+ }
2080
2194
  /**
2081
2195
  * <p>Provides the details of the <code>FailWorkflowExecutionFailed</code> event.</p>
2082
2196
  */
@@ -2184,7 +2298,9 @@ export interface LambdaFunctionStartedEventAttributes {
2184
2298
  */
2185
2299
  scheduledEventId: number | undefined;
2186
2300
  }
2187
- export declare type LambdaFunctionTimeoutType = "START_TO_CLOSE";
2301
+ export declare enum LambdaFunctionTimeoutType {
2302
+ START_TO_CLOSE = "START_TO_CLOSE"
2303
+ }
2188
2304
  /**
2189
2305
  * <p>Provides details of the <code>LambdaFunctionTimedOut</code> event.</p>
2190
2306
  */
@@ -2223,7 +2339,9 @@ export interface MarkerRecordedEventAttributes {
2223
2339
  */
2224
2340
  decisionTaskCompletedEventId: number | undefined;
2225
2341
  }
2226
- export declare type RecordMarkerFailedCause = "OPERATION_NOT_PERMITTED";
2342
+ export declare enum RecordMarkerFailedCause {
2343
+ OPERATION_NOT_PERMITTED = "OPERATION_NOT_PERMITTED"
2344
+ }
2227
2345
  /**
2228
2346
  * <p>Provides the details of the <code>RecordMarkerFailed</code> event.</p>
2229
2347
  */
@@ -2248,7 +2366,10 @@ export interface RecordMarkerFailedEventAttributes {
2248
2366
  */
2249
2367
  decisionTaskCompletedEventId: number | undefined;
2250
2368
  }
2251
- export declare type RequestCancelActivityTaskFailedCause = "ACTIVITY_ID_UNKNOWN" | "OPERATION_NOT_PERMITTED";
2369
+ export declare enum RequestCancelActivityTaskFailedCause {
2370
+ ACTIVITY_ID_UNKNOWN = "ACTIVITY_ID_UNKNOWN",
2371
+ OPERATION_NOT_PERMITTED = "OPERATION_NOT_PERMITTED"
2372
+ }
2252
2373
  /**
2253
2374
  * <p>Provides the details of the <code>RequestCancelActivityTaskFailed</code> event.</p>
2254
2375
  */
@@ -2273,7 +2394,11 @@ export interface RequestCancelActivityTaskFailedEventAttributes {
2273
2394
  */
2274
2395
  decisionTaskCompletedEventId: number | undefined;
2275
2396
  }
2276
- export declare type RequestCancelExternalWorkflowExecutionFailedCause = "OPERATION_NOT_PERMITTED" | "REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED" | "UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION";
2397
+ export declare enum RequestCancelExternalWorkflowExecutionFailedCause {
2398
+ OPERATION_NOT_PERMITTED = "OPERATION_NOT_PERMITTED",
2399
+ REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED = "REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED",
2400
+ UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION = "UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION"
2401
+ }
2277
2402
  /**
2278
2403
  * <p>Provides the details of the <code>RequestCancelExternalWorkflowExecutionFailed</code> event.</p>
2279
2404
  */
@@ -2338,7 +2463,19 @@ export interface RequestCancelExternalWorkflowExecutionInitiatedEventAttributes
2338
2463
  */
2339
2464
  control?: string;
2340
2465
  }
2341
- export declare type ScheduleActivityTaskFailedCause = "ACTIVITY_CREATION_RATE_EXCEEDED" | "ACTIVITY_ID_ALREADY_IN_USE" | "ACTIVITY_TYPE_DEPRECATED" | "ACTIVITY_TYPE_DOES_NOT_EXIST" | "DEFAULT_HEARTBEAT_TIMEOUT_UNDEFINED" | "DEFAULT_SCHEDULE_TO_CLOSE_TIMEOUT_UNDEFINED" | "DEFAULT_SCHEDULE_TO_START_TIMEOUT_UNDEFINED" | "DEFAULT_START_TO_CLOSE_TIMEOUT_UNDEFINED" | "DEFAULT_TASK_LIST_UNDEFINED" | "OPEN_ACTIVITIES_LIMIT_EXCEEDED" | "OPERATION_NOT_PERMITTED";
2466
+ export declare enum ScheduleActivityTaskFailedCause {
2467
+ ACTIVITY_CREATION_RATE_EXCEEDED = "ACTIVITY_CREATION_RATE_EXCEEDED",
2468
+ ACTIVITY_ID_ALREADY_IN_USE = "ACTIVITY_ID_ALREADY_IN_USE",
2469
+ ACTIVITY_TYPE_DEPRECATED = "ACTIVITY_TYPE_DEPRECATED",
2470
+ ACTIVITY_TYPE_DOES_NOT_EXIST = "ACTIVITY_TYPE_DOES_NOT_EXIST",
2471
+ DEFAULT_HEARTBEAT_TIMEOUT_UNDEFINED = "DEFAULT_HEARTBEAT_TIMEOUT_UNDEFINED",
2472
+ DEFAULT_SCHEDULE_TO_CLOSE_TIMEOUT_UNDEFINED = "DEFAULT_SCHEDULE_TO_CLOSE_TIMEOUT_UNDEFINED",
2473
+ DEFAULT_SCHEDULE_TO_START_TIMEOUT_UNDEFINED = "DEFAULT_SCHEDULE_TO_START_TIMEOUT_UNDEFINED",
2474
+ DEFAULT_START_TO_CLOSE_TIMEOUT_UNDEFINED = "DEFAULT_START_TO_CLOSE_TIMEOUT_UNDEFINED",
2475
+ DEFAULT_TASK_LIST_UNDEFINED = "DEFAULT_TASK_LIST_UNDEFINED",
2476
+ OPEN_ACTIVITIES_LIMIT_EXCEEDED = "OPEN_ACTIVITIES_LIMIT_EXCEEDED",
2477
+ OPERATION_NOT_PERMITTED = "OPERATION_NOT_PERMITTED"
2478
+ }
2342
2479
  /**
2343
2480
  * <p>Provides the details of the <code>ScheduleActivityTaskFailed</code> event.</p>
2344
2481
  */
@@ -2367,7 +2504,12 @@ export interface ScheduleActivityTaskFailedEventAttributes {
2367
2504
  */
2368
2505
  decisionTaskCompletedEventId: number | undefined;
2369
2506
  }
2370
- export declare type ScheduleLambdaFunctionFailedCause = "ID_ALREADY_IN_USE" | "LAMBDA_FUNCTION_CREATION_RATE_EXCEEDED" | "LAMBDA_SERVICE_NOT_AVAILABLE_IN_REGION" | "OPEN_LAMBDA_FUNCTIONS_LIMIT_EXCEEDED";
2507
+ export declare enum ScheduleLambdaFunctionFailedCause {
2508
+ ID_ALREADY_IN_USE = "ID_ALREADY_IN_USE",
2509
+ LAMBDA_FUNCTION_CREATION_RATE_EXCEEDED = "LAMBDA_FUNCTION_CREATION_RATE_EXCEEDED",
2510
+ LAMBDA_SERVICE_NOT_AVAILABLE_IN_REGION = "LAMBDA_SERVICE_NOT_AVAILABLE_IN_REGION",
2511
+ OPEN_LAMBDA_FUNCTIONS_LIMIT_EXCEEDED = "OPEN_LAMBDA_FUNCTIONS_LIMIT_EXCEEDED"
2512
+ }
2371
2513
  /**
2372
2514
  * <p>Provides the details of the <code>ScheduleLambdaFunctionFailed</code> event. It isn't
2373
2515
  * set for other event types.</p>
@@ -2399,7 +2541,11 @@ export interface ScheduleLambdaFunctionFailedEventAttributes {
2399
2541
  */
2400
2542
  decisionTaskCompletedEventId: number | undefined;
2401
2543
  }
2402
- export declare type SignalExternalWorkflowExecutionFailedCause = "OPERATION_NOT_PERMITTED" | "SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED" | "UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION";
2544
+ export declare enum SignalExternalWorkflowExecutionFailedCause {
2545
+ OPERATION_NOT_PERMITTED = "OPERATION_NOT_PERMITTED",
2546
+ SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED = "SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED",
2547
+ UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION = "UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION"
2548
+ }
2403
2549
  /**
2404
2550
  * <p>Provides the details of the <code>SignalExternalWorkflowExecutionFailed</code> event.</p>
2405
2551
  */
@@ -2470,7 +2616,19 @@ export interface SignalExternalWorkflowExecutionInitiatedEventAttributes {
2470
2616
  */
2471
2617
  control?: string;
2472
2618
  }
2473
- export declare type StartChildWorkflowExecutionFailedCause = "CHILD_CREATION_RATE_EXCEEDED" | "DEFAULT_CHILD_POLICY_UNDEFINED" | "DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED" | "DEFAULT_TASK_LIST_UNDEFINED" | "DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED" | "OPEN_CHILDREN_LIMIT_EXCEEDED" | "OPEN_WORKFLOWS_LIMIT_EXCEEDED" | "OPERATION_NOT_PERMITTED" | "WORKFLOW_ALREADY_RUNNING" | "WORKFLOW_TYPE_DEPRECATED" | "WORKFLOW_TYPE_DOES_NOT_EXIST";
2619
+ export declare enum StartChildWorkflowExecutionFailedCause {
2620
+ CHILD_CREATION_RATE_EXCEEDED = "CHILD_CREATION_RATE_EXCEEDED",
2621
+ DEFAULT_CHILD_POLICY_UNDEFINED = "DEFAULT_CHILD_POLICY_UNDEFINED",
2622
+ DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED = "DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED",
2623
+ DEFAULT_TASK_LIST_UNDEFINED = "DEFAULT_TASK_LIST_UNDEFINED",
2624
+ DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED = "DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED",
2625
+ OPEN_CHILDREN_LIMIT_EXCEEDED = "OPEN_CHILDREN_LIMIT_EXCEEDED",
2626
+ OPEN_WORKFLOWS_LIMIT_EXCEEDED = "OPEN_WORKFLOWS_LIMIT_EXCEEDED",
2627
+ OPERATION_NOT_PERMITTED = "OPERATION_NOT_PERMITTED",
2628
+ WORKFLOW_ALREADY_RUNNING = "WORKFLOW_ALREADY_RUNNING",
2629
+ WORKFLOW_TYPE_DEPRECATED = "WORKFLOW_TYPE_DEPRECATED",
2630
+ WORKFLOW_TYPE_DOES_NOT_EXIST = "WORKFLOW_TYPE_DOES_NOT_EXIST"
2631
+ }
2474
2632
  /**
2475
2633
  * <p>Provides the details of the <code>StartChildWorkflowExecutionFailed</code> event.</p>
2476
2634
  */
@@ -2593,7 +2751,9 @@ export interface StartChildWorkflowExecutionInitiatedEventAttributes {
2593
2751
  */
2594
2752
  lambdaRole?: string;
2595
2753
  }
2596
- export declare type StartLambdaFunctionFailedCause = "ASSUME_ROLE_FAILED";
2754
+ export declare enum StartLambdaFunctionFailedCause {
2755
+ ASSUME_ROLE_FAILED = "ASSUME_ROLE_FAILED"
2756
+ }
2597
2757
  /**
2598
2758
  * <p>Provides the details of the <code>StartLambdaFunctionFailed</code> event. It isn't set
2599
2759
  * for other event types.</p>
@@ -2619,7 +2779,12 @@ export interface StartLambdaFunctionFailedEventAttributes {
2619
2779
  */
2620
2780
  message?: string;
2621
2781
  }
2622
- export declare type StartTimerFailedCause = "OPEN_TIMERS_LIMIT_EXCEEDED" | "OPERATION_NOT_PERMITTED" | "TIMER_CREATION_RATE_EXCEEDED" | "TIMER_ID_ALREADY_IN_USE";
2782
+ export declare enum StartTimerFailedCause {
2783
+ OPEN_TIMERS_LIMIT_EXCEEDED = "OPEN_TIMERS_LIMIT_EXCEEDED",
2784
+ OPERATION_NOT_PERMITTED = "OPERATION_NOT_PERMITTED",
2785
+ TIMER_CREATION_RATE_EXCEEDED = "TIMER_CREATION_RATE_EXCEEDED",
2786
+ TIMER_ID_ALREADY_IN_USE = "TIMER_ID_ALREADY_IN_USE"
2787
+ }
2623
2788
  /**
2624
2789
  * <p>Provides the details of the <code>StartTimerFailed</code> event.</p>
2625
2790
  */
@@ -2721,7 +2886,9 @@ export interface WorkflowExecutionCanceledEventAttributes {
2721
2886
  */
2722
2887
  decisionTaskCompletedEventId: number | undefined;
2723
2888
  }
2724
- export declare type WorkflowExecutionCancelRequestedCause = "CHILD_POLICY_APPLIED";
2889
+ export declare enum WorkflowExecutionCancelRequestedCause {
2890
+ CHILD_POLICY_APPLIED = "CHILD_POLICY_APPLIED"
2891
+ }
2725
2892
  /**
2726
2893
  * <p>Provides the details of the <code>WorkflowExecutionCancelRequested</code> event.</p>
2727
2894
  */
@@ -2953,7 +3120,11 @@ export interface WorkflowExecutionStartedEventAttributes {
2953
3120
  */
2954
3121
  lambdaRole?: string;
2955
3122
  }
2956
- export declare type WorkflowExecutionTerminatedCause = "CHILD_POLICY_APPLIED" | "EVENT_LIMIT_EXCEEDED" | "OPERATOR_INITIATED";
3123
+ export declare enum WorkflowExecutionTerminatedCause {
3124
+ CHILD_POLICY_APPLIED = "CHILD_POLICY_APPLIED",
3125
+ EVENT_LIMIT_EXCEEDED = "EVENT_LIMIT_EXCEEDED",
3126
+ OPERATOR_INITIATED = "OPERATOR_INITIATED"
3127
+ }
2957
3128
  /**
2958
3129
  * <p>Provides the details of the <code>WorkflowExecutionTerminated</code> event.</p>
2959
3130
  */
@@ -3769,7 +3940,10 @@ export interface WorkflowExecutionConfiguration {
3769
3940
  */
3770
3941
  lambdaRole?: string;
3771
3942
  }
3772
- export declare type ExecutionStatus = "CLOSED" | "OPEN";
3943
+ export declare enum ExecutionStatus {
3944
+ CLOSED = "CLOSED",
3945
+ OPEN = "OPEN"
3946
+ }
3773
3947
  /**
3774
3948
  * <p>Contains information about a workflow execution.</p>
3775
3949
  */
@@ -27,7 +27,7 @@ export declare const resolveClientEndpointParameters: <T>(
27
27
  defaultSigningName: string;
28
28
  };
29
29
  export interface EndpointParameters extends __EndpointParameters {
30
- Region?: string;
30
+ Region: string;
31
31
  UseDualStack?: boolean;
32
32
  UseFIPS?: boolean;
33
33
  Endpoint?: string;