@aws-sdk/client-swf 3.300.0 → 3.303.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/models/models_0.js +200 -226
- package/dist-es/models/models_0.js +200 -226
- package/dist-types/commands/CountClosedWorkflowExecutionsCommand.d.ts +6 -6
- package/dist-types/commands/CountOpenWorkflowExecutionsCommand.d.ts +5 -5
- package/dist-types/commands/CountPendingActivityTasksCommand.d.ts +2 -2
- package/dist-types/commands/CountPendingDecisionTasksCommand.d.ts +2 -2
- package/dist-types/commands/DeprecateActivityTypeCommand.d.ts +2 -2
- package/dist-types/commands/DeprecateDomainCommand.d.ts +1 -1
- package/dist-types/commands/DeprecateWorkflowTypeCommand.d.ts +2 -2
- package/dist-types/commands/DescribeActivityTypeCommand.d.ts +2 -2
- package/dist-types/commands/DescribeDomainCommand.d.ts +1 -1
- package/dist-types/commands/DescribeWorkflowExecutionCommand.d.ts +2 -2
- package/dist-types/commands/DescribeWorkflowTypeCommand.d.ts +2 -2
- package/dist-types/commands/GetWorkflowExecutionHistoryCommand.d.ts +2 -2
- package/dist-types/commands/ListActivityTypesCommand.d.ts +1 -1
- package/dist-types/commands/ListClosedWorkflowExecutionsCommand.d.ts +6 -6
- package/dist-types/commands/ListDomainsCommand.d.ts +1 -1
- package/dist-types/commands/ListOpenWorkflowExecutionsCommand.d.ts +5 -5
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/ListWorkflowTypesCommand.d.ts +1 -1
- package/dist-types/commands/PollForActivityTaskCommand.d.ts +2 -2
- package/dist-types/commands/PollForDecisionTaskCommand.d.ts +2 -2
- package/dist-types/commands/RecordActivityTaskHeartbeatCommand.d.ts +1 -1
- package/dist-types/commands/RegisterActivityTypeCommand.d.ts +2 -2
- package/dist-types/commands/RegisterDomainCommand.d.ts +3 -3
- package/dist-types/commands/RegisterWorkflowTypeCommand.d.ts +2 -2
- package/dist-types/commands/RequestCancelWorkflowExecutionCommand.d.ts +1 -1
- package/dist-types/commands/RespondActivityTaskCanceledCommand.d.ts +1 -1
- package/dist-types/commands/RespondActivityTaskCompletedCommand.d.ts +1 -1
- package/dist-types/commands/RespondActivityTaskFailedCommand.d.ts +1 -1
- package/dist-types/commands/RespondDecisionTaskCompletedCommand.d.ts +20 -20
- package/dist-types/commands/SignalWorkflowExecutionCommand.d.ts +1 -1
- package/dist-types/commands/StartWorkflowExecutionCommand.d.ts +4 -4
- package/dist-types/commands/TagResourceCommand.d.ts +3 -3
- package/dist-types/commands/TerminateWorkflowExecutionCommand.d.ts +1 -1
- package/dist-types/commands/UndeprecateActivityTypeCommand.d.ts +2 -2
- package/dist-types/commands/UndeprecateDomainCommand.d.ts +1 -1
- package/dist-types/commands/UndeprecateWorkflowTypeCommand.d.ts +2 -2
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
- package/dist-types/models/models_0.d.ts +331 -201
- package/dist-types/ts3.4/models/models_0.d.ts +248 -200
- package/package.json +34 -34
|
@@ -1,62 +1,53 @@
|
|
|
1
1
|
import { SWFServiceException as __BaseException } from "./SWFServiceException";
|
|
2
|
-
export
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
ContinueAsNewWorkflowExecutionFailedCause["DEFAULT_CHILD_POLICY_UNDEFINED"] = "DEFAULT_CHILD_POLICY_UNDEFINED";
|
|
52
|
-
ContinueAsNewWorkflowExecutionFailedCause["DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED"] = "DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED";
|
|
53
|
-
ContinueAsNewWorkflowExecutionFailedCause["DEFAULT_TASK_LIST_UNDEFINED"] = "DEFAULT_TASK_LIST_UNDEFINED";
|
|
54
|
-
ContinueAsNewWorkflowExecutionFailedCause["DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED"] = "DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED";
|
|
55
|
-
ContinueAsNewWorkflowExecutionFailedCause["OPERATION_NOT_PERMITTED"] = "OPERATION_NOT_PERMITTED";
|
|
56
|
-
ContinueAsNewWorkflowExecutionFailedCause["UNHANDLED_DECISION"] = "UNHANDLED_DECISION";
|
|
57
|
-
ContinueAsNewWorkflowExecutionFailedCause["WORKFLOW_TYPE_DEPRECATED"] = "WORKFLOW_TYPE_DEPRECATED";
|
|
58
|
-
ContinueAsNewWorkflowExecutionFailedCause["WORKFLOW_TYPE_DOES_NOT_EXIST"] = "WORKFLOW_TYPE_DOES_NOT_EXIST";
|
|
59
|
-
})(ContinueAsNewWorkflowExecutionFailedCause || (ContinueAsNewWorkflowExecutionFailedCause = {}));
|
|
2
|
+
export const ActivityTaskTimeoutType = {
|
|
3
|
+
HEARTBEAT: "HEARTBEAT",
|
|
4
|
+
SCHEDULE_TO_CLOSE: "SCHEDULE_TO_CLOSE",
|
|
5
|
+
SCHEDULE_TO_START: "SCHEDULE_TO_START",
|
|
6
|
+
START_TO_CLOSE: "START_TO_CLOSE",
|
|
7
|
+
};
|
|
8
|
+
export const RegistrationStatus = {
|
|
9
|
+
DEPRECATED: "DEPRECATED",
|
|
10
|
+
REGISTERED: "REGISTERED",
|
|
11
|
+
};
|
|
12
|
+
export const CancelTimerFailedCause = {
|
|
13
|
+
OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED",
|
|
14
|
+
TIMER_ID_UNKNOWN: "TIMER_ID_UNKNOWN",
|
|
15
|
+
};
|
|
16
|
+
export const CancelWorkflowExecutionFailedCause = {
|
|
17
|
+
OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED",
|
|
18
|
+
UNHANDLED_DECISION: "UNHANDLED_DECISION",
|
|
19
|
+
};
|
|
20
|
+
export const ChildPolicy = {
|
|
21
|
+
ABANDON: "ABANDON",
|
|
22
|
+
REQUEST_CANCEL: "REQUEST_CANCEL",
|
|
23
|
+
TERMINATE: "TERMINATE",
|
|
24
|
+
};
|
|
25
|
+
export const WorkflowExecutionTimeoutType = {
|
|
26
|
+
START_TO_CLOSE: "START_TO_CLOSE",
|
|
27
|
+
};
|
|
28
|
+
export const CloseStatus = {
|
|
29
|
+
CANCELED: "CANCELED",
|
|
30
|
+
COMPLETED: "COMPLETED",
|
|
31
|
+
CONTINUED_AS_NEW: "CONTINUED_AS_NEW",
|
|
32
|
+
FAILED: "FAILED",
|
|
33
|
+
TERMINATED: "TERMINATED",
|
|
34
|
+
TIMED_OUT: "TIMED_OUT",
|
|
35
|
+
};
|
|
36
|
+
export const CompleteWorkflowExecutionFailedCause = {
|
|
37
|
+
OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED",
|
|
38
|
+
UNHANDLED_DECISION: "UNHANDLED_DECISION",
|
|
39
|
+
};
|
|
40
|
+
export const ContinueAsNewWorkflowExecutionFailedCause = {
|
|
41
|
+
CONTINUE_AS_NEW_WORKFLOW_EXECUTION_RATE_EXCEEDED: "CONTINUE_AS_NEW_WORKFLOW_EXECUTION_RATE_EXCEEDED",
|
|
42
|
+
DEFAULT_CHILD_POLICY_UNDEFINED: "DEFAULT_CHILD_POLICY_UNDEFINED",
|
|
43
|
+
DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED: "DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED",
|
|
44
|
+
DEFAULT_TASK_LIST_UNDEFINED: "DEFAULT_TASK_LIST_UNDEFINED",
|
|
45
|
+
DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED: "DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED",
|
|
46
|
+
OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED",
|
|
47
|
+
UNHANDLED_DECISION: "UNHANDLED_DECISION",
|
|
48
|
+
WORKFLOW_TYPE_DEPRECATED: "WORKFLOW_TYPE_DEPRECATED",
|
|
49
|
+
WORKFLOW_TYPE_DOES_NOT_EXIST: "WORKFLOW_TYPE_DOES_NOT_EXIST",
|
|
50
|
+
};
|
|
60
51
|
export class OperationNotPermittedFault extends __BaseException {
|
|
61
52
|
constructor(opts) {
|
|
62
53
|
super({
|
|
@@ -81,169 +72,153 @@ export class UnknownResourceFault extends __BaseException {
|
|
|
81
72
|
Object.setPrototypeOf(this, UnknownResourceFault.prototype);
|
|
82
73
|
}
|
|
83
74
|
}
|
|
84
|
-
export
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
}
|
|
226
|
-
export
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
(function (StartTimerFailedCause) {
|
|
232
|
-
StartTimerFailedCause["OPEN_TIMERS_LIMIT_EXCEEDED"] = "OPEN_TIMERS_LIMIT_EXCEEDED";
|
|
233
|
-
StartTimerFailedCause["OPERATION_NOT_PERMITTED"] = "OPERATION_NOT_PERMITTED";
|
|
234
|
-
StartTimerFailedCause["TIMER_CREATION_RATE_EXCEEDED"] = "TIMER_CREATION_RATE_EXCEEDED";
|
|
235
|
-
StartTimerFailedCause["TIMER_ID_ALREADY_IN_USE"] = "TIMER_ID_ALREADY_IN_USE";
|
|
236
|
-
})(StartTimerFailedCause || (StartTimerFailedCause = {}));
|
|
237
|
-
export var WorkflowExecutionCancelRequestedCause;
|
|
238
|
-
(function (WorkflowExecutionCancelRequestedCause) {
|
|
239
|
-
WorkflowExecutionCancelRequestedCause["CHILD_POLICY_APPLIED"] = "CHILD_POLICY_APPLIED";
|
|
240
|
-
})(WorkflowExecutionCancelRequestedCause || (WorkflowExecutionCancelRequestedCause = {}));
|
|
241
|
-
export var WorkflowExecutionTerminatedCause;
|
|
242
|
-
(function (WorkflowExecutionTerminatedCause) {
|
|
243
|
-
WorkflowExecutionTerminatedCause["CHILD_POLICY_APPLIED"] = "CHILD_POLICY_APPLIED";
|
|
244
|
-
WorkflowExecutionTerminatedCause["EVENT_LIMIT_EXCEEDED"] = "EVENT_LIMIT_EXCEEDED";
|
|
245
|
-
WorkflowExecutionTerminatedCause["OPERATOR_INITIATED"] = "OPERATOR_INITIATED";
|
|
246
|
-
})(WorkflowExecutionTerminatedCause || (WorkflowExecutionTerminatedCause = {}));
|
|
75
|
+
export const DecisionType = {
|
|
76
|
+
CancelTimer: "CancelTimer",
|
|
77
|
+
CancelWorkflowExecution: "CancelWorkflowExecution",
|
|
78
|
+
CompleteWorkflowExecution: "CompleteWorkflowExecution",
|
|
79
|
+
ContinueAsNewWorkflowExecution: "ContinueAsNewWorkflowExecution",
|
|
80
|
+
FailWorkflowExecution: "FailWorkflowExecution",
|
|
81
|
+
RecordMarker: "RecordMarker",
|
|
82
|
+
RequestCancelActivityTask: "RequestCancelActivityTask",
|
|
83
|
+
RequestCancelExternalWorkflowExecution: "RequestCancelExternalWorkflowExecution",
|
|
84
|
+
ScheduleActivityTask: "ScheduleActivityTask",
|
|
85
|
+
ScheduleLambdaFunction: "ScheduleLambdaFunction",
|
|
86
|
+
SignalExternalWorkflowExecution: "SignalExternalWorkflowExecution",
|
|
87
|
+
StartChildWorkflowExecution: "StartChildWorkflowExecution",
|
|
88
|
+
StartTimer: "StartTimer",
|
|
89
|
+
};
|
|
90
|
+
export const DecisionTaskTimeoutType = {
|
|
91
|
+
START_TO_CLOSE: "START_TO_CLOSE",
|
|
92
|
+
};
|
|
93
|
+
export const EventType = {
|
|
94
|
+
ActivityTaskCancelRequested: "ActivityTaskCancelRequested",
|
|
95
|
+
ActivityTaskCanceled: "ActivityTaskCanceled",
|
|
96
|
+
ActivityTaskCompleted: "ActivityTaskCompleted",
|
|
97
|
+
ActivityTaskFailed: "ActivityTaskFailed",
|
|
98
|
+
ActivityTaskScheduled: "ActivityTaskScheduled",
|
|
99
|
+
ActivityTaskStarted: "ActivityTaskStarted",
|
|
100
|
+
ActivityTaskTimedOut: "ActivityTaskTimedOut",
|
|
101
|
+
CancelTimerFailed: "CancelTimerFailed",
|
|
102
|
+
CancelWorkflowExecutionFailed: "CancelWorkflowExecutionFailed",
|
|
103
|
+
ChildWorkflowExecutionCanceled: "ChildWorkflowExecutionCanceled",
|
|
104
|
+
ChildWorkflowExecutionCompleted: "ChildWorkflowExecutionCompleted",
|
|
105
|
+
ChildWorkflowExecutionFailed: "ChildWorkflowExecutionFailed",
|
|
106
|
+
ChildWorkflowExecutionStarted: "ChildWorkflowExecutionStarted",
|
|
107
|
+
ChildWorkflowExecutionTerminated: "ChildWorkflowExecutionTerminated",
|
|
108
|
+
ChildWorkflowExecutionTimedOut: "ChildWorkflowExecutionTimedOut",
|
|
109
|
+
CompleteWorkflowExecutionFailed: "CompleteWorkflowExecutionFailed",
|
|
110
|
+
ContinueAsNewWorkflowExecutionFailed: "ContinueAsNewWorkflowExecutionFailed",
|
|
111
|
+
DecisionTaskCompleted: "DecisionTaskCompleted",
|
|
112
|
+
DecisionTaskScheduled: "DecisionTaskScheduled",
|
|
113
|
+
DecisionTaskStarted: "DecisionTaskStarted",
|
|
114
|
+
DecisionTaskTimedOut: "DecisionTaskTimedOut",
|
|
115
|
+
ExternalWorkflowExecutionCancelRequested: "ExternalWorkflowExecutionCancelRequested",
|
|
116
|
+
ExternalWorkflowExecutionSignaled: "ExternalWorkflowExecutionSignaled",
|
|
117
|
+
FailWorkflowExecutionFailed: "FailWorkflowExecutionFailed",
|
|
118
|
+
LambdaFunctionCompleted: "LambdaFunctionCompleted",
|
|
119
|
+
LambdaFunctionFailed: "LambdaFunctionFailed",
|
|
120
|
+
LambdaFunctionScheduled: "LambdaFunctionScheduled",
|
|
121
|
+
LambdaFunctionStarted: "LambdaFunctionStarted",
|
|
122
|
+
LambdaFunctionTimedOut: "LambdaFunctionTimedOut",
|
|
123
|
+
MarkerRecorded: "MarkerRecorded",
|
|
124
|
+
RecordMarkerFailed: "RecordMarkerFailed",
|
|
125
|
+
RequestCancelActivityTaskFailed: "RequestCancelActivityTaskFailed",
|
|
126
|
+
RequestCancelExternalWorkflowExecutionFailed: "RequestCancelExternalWorkflowExecutionFailed",
|
|
127
|
+
RequestCancelExternalWorkflowExecutionInitiated: "RequestCancelExternalWorkflowExecutionInitiated",
|
|
128
|
+
ScheduleActivityTaskFailed: "ScheduleActivityTaskFailed",
|
|
129
|
+
ScheduleLambdaFunctionFailed: "ScheduleLambdaFunctionFailed",
|
|
130
|
+
SignalExternalWorkflowExecutionFailed: "SignalExternalWorkflowExecutionFailed",
|
|
131
|
+
SignalExternalWorkflowExecutionInitiated: "SignalExternalWorkflowExecutionInitiated",
|
|
132
|
+
StartChildWorkflowExecutionFailed: "StartChildWorkflowExecutionFailed",
|
|
133
|
+
StartChildWorkflowExecutionInitiated: "StartChildWorkflowExecutionInitiated",
|
|
134
|
+
StartLambdaFunctionFailed: "StartLambdaFunctionFailed",
|
|
135
|
+
StartTimerFailed: "StartTimerFailed",
|
|
136
|
+
TimerCanceled: "TimerCanceled",
|
|
137
|
+
TimerFired: "TimerFired",
|
|
138
|
+
TimerStarted: "TimerStarted",
|
|
139
|
+
WorkflowExecutionCancelRequested: "WorkflowExecutionCancelRequested",
|
|
140
|
+
WorkflowExecutionCanceled: "WorkflowExecutionCanceled",
|
|
141
|
+
WorkflowExecutionCompleted: "WorkflowExecutionCompleted",
|
|
142
|
+
WorkflowExecutionContinuedAsNew: "WorkflowExecutionContinuedAsNew",
|
|
143
|
+
WorkflowExecutionFailed: "WorkflowExecutionFailed",
|
|
144
|
+
WorkflowExecutionSignaled: "WorkflowExecutionSignaled",
|
|
145
|
+
WorkflowExecutionStarted: "WorkflowExecutionStarted",
|
|
146
|
+
WorkflowExecutionTerminated: "WorkflowExecutionTerminated",
|
|
147
|
+
WorkflowExecutionTimedOut: "WorkflowExecutionTimedOut",
|
|
148
|
+
};
|
|
149
|
+
export const FailWorkflowExecutionFailedCause = {
|
|
150
|
+
OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED",
|
|
151
|
+
UNHANDLED_DECISION: "UNHANDLED_DECISION",
|
|
152
|
+
};
|
|
153
|
+
export const LambdaFunctionTimeoutType = {
|
|
154
|
+
START_TO_CLOSE: "START_TO_CLOSE",
|
|
155
|
+
};
|
|
156
|
+
export const RecordMarkerFailedCause = {
|
|
157
|
+
OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED",
|
|
158
|
+
};
|
|
159
|
+
export const RequestCancelActivityTaskFailedCause = {
|
|
160
|
+
ACTIVITY_ID_UNKNOWN: "ACTIVITY_ID_UNKNOWN",
|
|
161
|
+
OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED",
|
|
162
|
+
};
|
|
163
|
+
export const RequestCancelExternalWorkflowExecutionFailedCause = {
|
|
164
|
+
OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED",
|
|
165
|
+
REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED: "REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED",
|
|
166
|
+
UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION: "UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION",
|
|
167
|
+
};
|
|
168
|
+
export const ScheduleActivityTaskFailedCause = {
|
|
169
|
+
ACTIVITY_CREATION_RATE_EXCEEDED: "ACTIVITY_CREATION_RATE_EXCEEDED",
|
|
170
|
+
ACTIVITY_ID_ALREADY_IN_USE: "ACTIVITY_ID_ALREADY_IN_USE",
|
|
171
|
+
ACTIVITY_TYPE_DEPRECATED: "ACTIVITY_TYPE_DEPRECATED",
|
|
172
|
+
ACTIVITY_TYPE_DOES_NOT_EXIST: "ACTIVITY_TYPE_DOES_NOT_EXIST",
|
|
173
|
+
DEFAULT_HEARTBEAT_TIMEOUT_UNDEFINED: "DEFAULT_HEARTBEAT_TIMEOUT_UNDEFINED",
|
|
174
|
+
DEFAULT_SCHEDULE_TO_CLOSE_TIMEOUT_UNDEFINED: "DEFAULT_SCHEDULE_TO_CLOSE_TIMEOUT_UNDEFINED",
|
|
175
|
+
DEFAULT_SCHEDULE_TO_START_TIMEOUT_UNDEFINED: "DEFAULT_SCHEDULE_TO_START_TIMEOUT_UNDEFINED",
|
|
176
|
+
DEFAULT_START_TO_CLOSE_TIMEOUT_UNDEFINED: "DEFAULT_START_TO_CLOSE_TIMEOUT_UNDEFINED",
|
|
177
|
+
DEFAULT_TASK_LIST_UNDEFINED: "DEFAULT_TASK_LIST_UNDEFINED",
|
|
178
|
+
OPEN_ACTIVITIES_LIMIT_EXCEEDED: "OPEN_ACTIVITIES_LIMIT_EXCEEDED",
|
|
179
|
+
OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED",
|
|
180
|
+
};
|
|
181
|
+
export const ScheduleLambdaFunctionFailedCause = {
|
|
182
|
+
ID_ALREADY_IN_USE: "ID_ALREADY_IN_USE",
|
|
183
|
+
LAMBDA_FUNCTION_CREATION_RATE_EXCEEDED: "LAMBDA_FUNCTION_CREATION_RATE_EXCEEDED",
|
|
184
|
+
LAMBDA_SERVICE_NOT_AVAILABLE_IN_REGION: "LAMBDA_SERVICE_NOT_AVAILABLE_IN_REGION",
|
|
185
|
+
OPEN_LAMBDA_FUNCTIONS_LIMIT_EXCEEDED: "OPEN_LAMBDA_FUNCTIONS_LIMIT_EXCEEDED",
|
|
186
|
+
};
|
|
187
|
+
export const SignalExternalWorkflowExecutionFailedCause = {
|
|
188
|
+
OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED",
|
|
189
|
+
SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED: "SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED",
|
|
190
|
+
UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION: "UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION",
|
|
191
|
+
};
|
|
192
|
+
export const StartChildWorkflowExecutionFailedCause = {
|
|
193
|
+
CHILD_CREATION_RATE_EXCEEDED: "CHILD_CREATION_RATE_EXCEEDED",
|
|
194
|
+
DEFAULT_CHILD_POLICY_UNDEFINED: "DEFAULT_CHILD_POLICY_UNDEFINED",
|
|
195
|
+
DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED: "DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED",
|
|
196
|
+
DEFAULT_TASK_LIST_UNDEFINED: "DEFAULT_TASK_LIST_UNDEFINED",
|
|
197
|
+
DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED: "DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED",
|
|
198
|
+
OPEN_CHILDREN_LIMIT_EXCEEDED: "OPEN_CHILDREN_LIMIT_EXCEEDED",
|
|
199
|
+
OPEN_WORKFLOWS_LIMIT_EXCEEDED: "OPEN_WORKFLOWS_LIMIT_EXCEEDED",
|
|
200
|
+
OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED",
|
|
201
|
+
WORKFLOW_ALREADY_RUNNING: "WORKFLOW_ALREADY_RUNNING",
|
|
202
|
+
WORKFLOW_TYPE_DEPRECATED: "WORKFLOW_TYPE_DEPRECATED",
|
|
203
|
+
WORKFLOW_TYPE_DOES_NOT_EXIST: "WORKFLOW_TYPE_DOES_NOT_EXIST",
|
|
204
|
+
};
|
|
205
|
+
export const StartLambdaFunctionFailedCause = {
|
|
206
|
+
ASSUME_ROLE_FAILED: "ASSUME_ROLE_FAILED",
|
|
207
|
+
};
|
|
208
|
+
export const StartTimerFailedCause = {
|
|
209
|
+
OPEN_TIMERS_LIMIT_EXCEEDED: "OPEN_TIMERS_LIMIT_EXCEEDED",
|
|
210
|
+
OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED",
|
|
211
|
+
TIMER_CREATION_RATE_EXCEEDED: "TIMER_CREATION_RATE_EXCEEDED",
|
|
212
|
+
TIMER_ID_ALREADY_IN_USE: "TIMER_ID_ALREADY_IN_USE",
|
|
213
|
+
};
|
|
214
|
+
export const WorkflowExecutionCancelRequestedCause = {
|
|
215
|
+
CHILD_POLICY_APPLIED: "CHILD_POLICY_APPLIED",
|
|
216
|
+
};
|
|
217
|
+
export const WorkflowExecutionTerminatedCause = {
|
|
218
|
+
CHILD_POLICY_APPLIED: "CHILD_POLICY_APPLIED",
|
|
219
|
+
EVENT_LIMIT_EXCEEDED: "EVENT_LIMIT_EXCEEDED",
|
|
220
|
+
OPERATOR_INITIATED: "OPERATOR_INITIATED",
|
|
221
|
+
};
|
|
247
222
|
export class DefaultUndefinedFault extends __BaseException {
|
|
248
223
|
constructor(opts) {
|
|
249
224
|
super({
|
|
@@ -280,11 +255,10 @@ export class DomainDeprecatedFault extends __BaseException {
|
|
|
280
255
|
Object.setPrototypeOf(this, DomainDeprecatedFault.prototype);
|
|
281
256
|
}
|
|
282
257
|
}
|
|
283
|
-
export
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
})(ExecutionStatus || (ExecutionStatus = {}));
|
|
258
|
+
export const ExecutionStatus = {
|
|
259
|
+
CLOSED: "CLOSED",
|
|
260
|
+
OPEN: "OPEN",
|
|
261
|
+
};
|
|
288
262
|
export class DomainAlreadyExistsFault extends __BaseException {
|
|
289
263
|
constructor(opts) {
|
|
290
264
|
super({
|
|
@@ -72,9 +72,9 @@ export interface CountClosedWorkflowExecutionsCommandOutput extends WorkflowExec
|
|
|
72
72
|
* import { SWFClient, CountClosedWorkflowExecutionsCommand } from "@aws-sdk/client-swf"; // ES Modules import
|
|
73
73
|
* // const { SWFClient, CountClosedWorkflowExecutionsCommand } = require("@aws-sdk/client-swf"); // CommonJS import
|
|
74
74
|
* const client = new SWFClient(config);
|
|
75
|
-
* const input = {
|
|
75
|
+
* const input = { // CountClosedWorkflowExecutionsInput
|
|
76
76
|
* domain: "STRING_VALUE", // required
|
|
77
|
-
* startTimeFilter: {
|
|
77
|
+
* startTimeFilter: { // ExecutionTimeFilter
|
|
78
78
|
* oldestDate: new Date("TIMESTAMP"), // required
|
|
79
79
|
* latestDate: new Date("TIMESTAMP"),
|
|
80
80
|
* },
|
|
@@ -82,17 +82,17 @@ export interface CountClosedWorkflowExecutionsCommandOutput extends WorkflowExec
|
|
|
82
82
|
* oldestDate: new Date("TIMESTAMP"), // required
|
|
83
83
|
* latestDate: new Date("TIMESTAMP"),
|
|
84
84
|
* },
|
|
85
|
-
* executionFilter: {
|
|
85
|
+
* executionFilter: { // WorkflowExecutionFilter
|
|
86
86
|
* workflowId: "STRING_VALUE", // required
|
|
87
87
|
* },
|
|
88
|
-
* typeFilter: {
|
|
88
|
+
* typeFilter: { // WorkflowTypeFilter
|
|
89
89
|
* name: "STRING_VALUE", // required
|
|
90
90
|
* version: "STRING_VALUE",
|
|
91
91
|
* },
|
|
92
|
-
* tagFilter: {
|
|
92
|
+
* tagFilter: { // TagFilter
|
|
93
93
|
* tag: "STRING_VALUE", // required
|
|
94
94
|
* },
|
|
95
|
-
* closeStatusFilter: {
|
|
95
|
+
* closeStatusFilter: { // CloseStatusFilter
|
|
96
96
|
* status: "COMPLETED" || "FAILED" || "CANCELED" || "TERMINATED" || "CONTINUED_AS_NEW" || "TIMED_OUT", // required
|
|
97
97
|
* },
|
|
98
98
|
* };
|
|
@@ -72,20 +72,20 @@ export interface CountOpenWorkflowExecutionsCommandOutput extends WorkflowExecut
|
|
|
72
72
|
* import { SWFClient, CountOpenWorkflowExecutionsCommand } from "@aws-sdk/client-swf"; // ES Modules import
|
|
73
73
|
* // const { SWFClient, CountOpenWorkflowExecutionsCommand } = require("@aws-sdk/client-swf"); // CommonJS import
|
|
74
74
|
* const client = new SWFClient(config);
|
|
75
|
-
* const input = {
|
|
75
|
+
* const input = { // CountOpenWorkflowExecutionsInput
|
|
76
76
|
* domain: "STRING_VALUE", // required
|
|
77
|
-
* startTimeFilter: {
|
|
77
|
+
* startTimeFilter: { // ExecutionTimeFilter
|
|
78
78
|
* oldestDate: new Date("TIMESTAMP"), // required
|
|
79
79
|
* latestDate: new Date("TIMESTAMP"),
|
|
80
80
|
* },
|
|
81
|
-
* typeFilter: {
|
|
81
|
+
* typeFilter: { // WorkflowTypeFilter
|
|
82
82
|
* name: "STRING_VALUE", // required
|
|
83
83
|
* version: "STRING_VALUE",
|
|
84
84
|
* },
|
|
85
|
-
* tagFilter: {
|
|
85
|
+
* tagFilter: { // TagFilter
|
|
86
86
|
* tag: "STRING_VALUE", // required
|
|
87
87
|
* },
|
|
88
|
-
* executionFilter: {
|
|
88
|
+
* executionFilter: { // WorkflowExecutionFilter
|
|
89
89
|
* workflowId: "STRING_VALUE", // required
|
|
90
90
|
* },
|
|
91
91
|
* };
|
|
@@ -53,9 +53,9 @@ export interface CountPendingActivityTasksCommandOutput extends PendingTaskCount
|
|
|
53
53
|
* import { SWFClient, CountPendingActivityTasksCommand } from "@aws-sdk/client-swf"; // ES Modules import
|
|
54
54
|
* // const { SWFClient, CountPendingActivityTasksCommand } = require("@aws-sdk/client-swf"); // CommonJS import
|
|
55
55
|
* const client = new SWFClient(config);
|
|
56
|
-
* const input = {
|
|
56
|
+
* const input = { // CountPendingActivityTasksInput
|
|
57
57
|
* domain: "STRING_VALUE", // required
|
|
58
|
-
* taskList: {
|
|
58
|
+
* taskList: { // TaskList
|
|
59
59
|
* name: "STRING_VALUE", // required
|
|
60
60
|
* },
|
|
61
61
|
* };
|
|
@@ -53,9 +53,9 @@ export interface CountPendingDecisionTasksCommandOutput extends PendingTaskCount
|
|
|
53
53
|
* import { SWFClient, CountPendingDecisionTasksCommand } from "@aws-sdk/client-swf"; // ES Modules import
|
|
54
54
|
* // const { SWFClient, CountPendingDecisionTasksCommand } = require("@aws-sdk/client-swf"); // CommonJS import
|
|
55
55
|
* const client = new SWFClient(config);
|
|
56
|
-
* const input = {
|
|
56
|
+
* const input = { // CountPendingDecisionTasksInput
|
|
57
57
|
* domain: "STRING_VALUE", // required
|
|
58
|
-
* taskList: {
|
|
58
|
+
* taskList: { // TaskList
|
|
59
59
|
* name: "STRING_VALUE", // required
|
|
60
60
|
* },
|
|
61
61
|
* };
|
|
@@ -68,9 +68,9 @@ export interface DeprecateActivityTypeCommandOutput extends __MetadataBearer {
|
|
|
68
68
|
* import { SWFClient, DeprecateActivityTypeCommand } from "@aws-sdk/client-swf"; // ES Modules import
|
|
69
69
|
* // const { SWFClient, DeprecateActivityTypeCommand } = require("@aws-sdk/client-swf"); // CommonJS import
|
|
70
70
|
* const client = new SWFClient(config);
|
|
71
|
-
* const input = {
|
|
71
|
+
* const input = { // DeprecateActivityTypeInput
|
|
72
72
|
* domain: "STRING_VALUE", // required
|
|
73
|
-
* activityType: {
|
|
73
|
+
* activityType: { // ActivityType
|
|
74
74
|
* name: "STRING_VALUE", // required
|
|
75
75
|
* version: "STRING_VALUE", // required
|
|
76
76
|
* },
|
|
@@ -57,7 +57,7 @@ export interface DeprecateDomainCommandOutput extends __MetadataBearer {
|
|
|
57
57
|
* import { SWFClient, DeprecateDomainCommand } from "@aws-sdk/client-swf"; // ES Modules import
|
|
58
58
|
* // const { SWFClient, DeprecateDomainCommand } = require("@aws-sdk/client-swf"); // CommonJS import
|
|
59
59
|
* const client = new SWFClient(config);
|
|
60
|
-
* const input = {
|
|
60
|
+
* const input = { // DeprecateDomainInput
|
|
61
61
|
* name: "STRING_VALUE", // required
|
|
62
62
|
* };
|
|
63
63
|
* const command = new DeprecateDomainCommand(input);
|
|
@@ -69,9 +69,9 @@ export interface DeprecateWorkflowTypeCommandOutput extends __MetadataBearer {
|
|
|
69
69
|
* import { SWFClient, DeprecateWorkflowTypeCommand } from "@aws-sdk/client-swf"; // ES Modules import
|
|
70
70
|
* // const { SWFClient, DeprecateWorkflowTypeCommand } = require("@aws-sdk/client-swf"); // CommonJS import
|
|
71
71
|
* const client = new SWFClient(config);
|
|
72
|
-
* const input = {
|
|
72
|
+
* const input = { // DeprecateWorkflowTypeInput
|
|
73
73
|
* domain: "STRING_VALUE", // required
|
|
74
|
-
* workflowType: {
|
|
74
|
+
* workflowType: { // WorkflowType
|
|
75
75
|
* name: "STRING_VALUE", // required
|
|
76
76
|
* version: "STRING_VALUE", // required
|
|
77
77
|
* },
|
|
@@ -64,9 +64,9 @@ export interface DescribeActivityTypeCommandOutput extends ActivityTypeDetail, _
|
|
|
64
64
|
* import { SWFClient, DescribeActivityTypeCommand } from "@aws-sdk/client-swf"; // ES Modules import
|
|
65
65
|
* // const { SWFClient, DescribeActivityTypeCommand } = require("@aws-sdk/client-swf"); // CommonJS import
|
|
66
66
|
* const client = new SWFClient(config);
|
|
67
|
-
* const input = {
|
|
67
|
+
* const input = { // DescribeActivityTypeInput
|
|
68
68
|
* domain: "STRING_VALUE", // required
|
|
69
|
-
* activityType: {
|
|
69
|
+
* activityType: { // ActivityType
|
|
70
70
|
* name: "STRING_VALUE", // required
|
|
71
71
|
* version: "STRING_VALUE", // required
|
|
72
72
|
* },
|
|
@@ -50,7 +50,7 @@ export interface DescribeDomainCommandOutput extends DomainDetail, __MetadataBea
|
|
|
50
50
|
* import { SWFClient, DescribeDomainCommand } from "@aws-sdk/client-swf"; // ES Modules import
|
|
51
51
|
* // const { SWFClient, DescribeDomainCommand } = require("@aws-sdk/client-swf"); // CommonJS import
|
|
52
52
|
* const client = new SWFClient(config);
|
|
53
|
-
* const input = {
|
|
53
|
+
* const input = { // DescribeDomainInput
|
|
54
54
|
* name: "STRING_VALUE", // required
|
|
55
55
|
* };
|
|
56
56
|
* const command = new DescribeDomainCommand(input);
|