@aws-sdk/client-swf 3.934.0 → 3.935.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +202 -201
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +201 -0
- package/dist-es/models/errors.js +133 -0
- package/dist-es/models/models_0.js +1 -334
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +409 -0
- package/dist-types/models/errors.d.ts +145 -0
- package/dist-types/models/models_0.d.ts +1 -554
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +249 -0
- package/dist-types/ts3.4/models/errors.d.ts +78 -0
- package/dist-types/ts3.4/models/models_0.d.ts +28 -327
- package/package.json +12 -12
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
import { SWFServiceException as __BaseException } from "./SWFServiceException";
|
|
2
|
+
export class OperationNotPermittedFault extends __BaseException {
|
|
3
|
+
name = "OperationNotPermittedFault";
|
|
4
|
+
$fault = "client";
|
|
5
|
+
constructor(opts) {
|
|
6
|
+
super({
|
|
7
|
+
name: "OperationNotPermittedFault",
|
|
8
|
+
$fault: "client",
|
|
9
|
+
...opts,
|
|
10
|
+
});
|
|
11
|
+
Object.setPrototypeOf(this, OperationNotPermittedFault.prototype);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
export class UnknownResourceFault extends __BaseException {
|
|
15
|
+
name = "UnknownResourceFault";
|
|
16
|
+
$fault = "client";
|
|
17
|
+
constructor(opts) {
|
|
18
|
+
super({
|
|
19
|
+
name: "UnknownResourceFault",
|
|
20
|
+
$fault: "client",
|
|
21
|
+
...opts,
|
|
22
|
+
});
|
|
23
|
+
Object.setPrototypeOf(this, UnknownResourceFault.prototype);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
export class DefaultUndefinedFault extends __BaseException {
|
|
27
|
+
name = "DefaultUndefinedFault";
|
|
28
|
+
$fault = "client";
|
|
29
|
+
constructor(opts) {
|
|
30
|
+
super({
|
|
31
|
+
name: "DefaultUndefinedFault",
|
|
32
|
+
$fault: "client",
|
|
33
|
+
...opts,
|
|
34
|
+
});
|
|
35
|
+
Object.setPrototypeOf(this, DefaultUndefinedFault.prototype);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
export class TypeNotDeprecatedFault extends __BaseException {
|
|
39
|
+
name = "TypeNotDeprecatedFault";
|
|
40
|
+
$fault = "client";
|
|
41
|
+
constructor(opts) {
|
|
42
|
+
super({
|
|
43
|
+
name: "TypeNotDeprecatedFault",
|
|
44
|
+
$fault: "client",
|
|
45
|
+
...opts,
|
|
46
|
+
});
|
|
47
|
+
Object.setPrototypeOf(this, TypeNotDeprecatedFault.prototype);
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
export class TypeDeprecatedFault extends __BaseException {
|
|
51
|
+
name = "TypeDeprecatedFault";
|
|
52
|
+
$fault = "client";
|
|
53
|
+
constructor(opts) {
|
|
54
|
+
super({
|
|
55
|
+
name: "TypeDeprecatedFault",
|
|
56
|
+
$fault: "client",
|
|
57
|
+
...opts,
|
|
58
|
+
});
|
|
59
|
+
Object.setPrototypeOf(this, TypeDeprecatedFault.prototype);
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
export class DomainDeprecatedFault extends __BaseException {
|
|
63
|
+
name = "DomainDeprecatedFault";
|
|
64
|
+
$fault = "client";
|
|
65
|
+
constructor(opts) {
|
|
66
|
+
super({
|
|
67
|
+
name: "DomainDeprecatedFault",
|
|
68
|
+
$fault: "client",
|
|
69
|
+
...opts,
|
|
70
|
+
});
|
|
71
|
+
Object.setPrototypeOf(this, DomainDeprecatedFault.prototype);
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
export class DomainAlreadyExistsFault extends __BaseException {
|
|
75
|
+
name = "DomainAlreadyExistsFault";
|
|
76
|
+
$fault = "client";
|
|
77
|
+
constructor(opts) {
|
|
78
|
+
super({
|
|
79
|
+
name: "DomainAlreadyExistsFault",
|
|
80
|
+
$fault: "client",
|
|
81
|
+
...opts,
|
|
82
|
+
});
|
|
83
|
+
Object.setPrototypeOf(this, DomainAlreadyExistsFault.prototype);
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
export class LimitExceededFault extends __BaseException {
|
|
87
|
+
name = "LimitExceededFault";
|
|
88
|
+
$fault = "client";
|
|
89
|
+
constructor(opts) {
|
|
90
|
+
super({
|
|
91
|
+
name: "LimitExceededFault",
|
|
92
|
+
$fault: "client",
|
|
93
|
+
...opts,
|
|
94
|
+
});
|
|
95
|
+
Object.setPrototypeOf(this, LimitExceededFault.prototype);
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
export class TypeAlreadyExistsFault extends __BaseException {
|
|
99
|
+
name = "TypeAlreadyExistsFault";
|
|
100
|
+
$fault = "client";
|
|
101
|
+
constructor(opts) {
|
|
102
|
+
super({
|
|
103
|
+
name: "TypeAlreadyExistsFault",
|
|
104
|
+
$fault: "client",
|
|
105
|
+
...opts,
|
|
106
|
+
});
|
|
107
|
+
Object.setPrototypeOf(this, TypeAlreadyExistsFault.prototype);
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
export class TooManyTagsFault extends __BaseException {
|
|
111
|
+
name = "TooManyTagsFault";
|
|
112
|
+
$fault = "client";
|
|
113
|
+
constructor(opts) {
|
|
114
|
+
super({
|
|
115
|
+
name: "TooManyTagsFault",
|
|
116
|
+
$fault: "client",
|
|
117
|
+
...opts,
|
|
118
|
+
});
|
|
119
|
+
Object.setPrototypeOf(this, TooManyTagsFault.prototype);
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
export class WorkflowExecutionAlreadyStartedFault extends __BaseException {
|
|
123
|
+
name = "WorkflowExecutionAlreadyStartedFault";
|
|
124
|
+
$fault = "client";
|
|
125
|
+
constructor(opts) {
|
|
126
|
+
super({
|
|
127
|
+
name: "WorkflowExecutionAlreadyStartedFault",
|
|
128
|
+
$fault: "client",
|
|
129
|
+
...opts,
|
|
130
|
+
});
|
|
131
|
+
Object.setPrototypeOf(this, WorkflowExecutionAlreadyStartedFault.prototype);
|
|
132
|
+
}
|
|
133
|
+
}
|
|
@@ -1,334 +1 @@
|
|
|
1
|
-
|
|
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
|
-
};
|
|
51
|
-
export class OperationNotPermittedFault extends __BaseException {
|
|
52
|
-
name = "OperationNotPermittedFault";
|
|
53
|
-
$fault = "client";
|
|
54
|
-
constructor(opts) {
|
|
55
|
-
super({
|
|
56
|
-
name: "OperationNotPermittedFault",
|
|
57
|
-
$fault: "client",
|
|
58
|
-
...opts,
|
|
59
|
-
});
|
|
60
|
-
Object.setPrototypeOf(this, OperationNotPermittedFault.prototype);
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
export class UnknownResourceFault extends __BaseException {
|
|
64
|
-
name = "UnknownResourceFault";
|
|
65
|
-
$fault = "client";
|
|
66
|
-
constructor(opts) {
|
|
67
|
-
super({
|
|
68
|
-
name: "UnknownResourceFault",
|
|
69
|
-
$fault: "client",
|
|
70
|
-
...opts,
|
|
71
|
-
});
|
|
72
|
-
Object.setPrototypeOf(this, UnknownResourceFault.prototype);
|
|
73
|
-
}
|
|
74
|
-
}
|
|
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
|
-
SCHEDULE_TO_START: "SCHEDULE_TO_START",
|
|
92
|
-
START_TO_CLOSE: "START_TO_CLOSE",
|
|
93
|
-
};
|
|
94
|
-
export const EventType = {
|
|
95
|
-
ActivityTaskCancelRequested: "ActivityTaskCancelRequested",
|
|
96
|
-
ActivityTaskCanceled: "ActivityTaskCanceled",
|
|
97
|
-
ActivityTaskCompleted: "ActivityTaskCompleted",
|
|
98
|
-
ActivityTaskFailed: "ActivityTaskFailed",
|
|
99
|
-
ActivityTaskScheduled: "ActivityTaskScheduled",
|
|
100
|
-
ActivityTaskStarted: "ActivityTaskStarted",
|
|
101
|
-
ActivityTaskTimedOut: "ActivityTaskTimedOut",
|
|
102
|
-
CancelTimerFailed: "CancelTimerFailed",
|
|
103
|
-
CancelWorkflowExecutionFailed: "CancelWorkflowExecutionFailed",
|
|
104
|
-
ChildWorkflowExecutionCanceled: "ChildWorkflowExecutionCanceled",
|
|
105
|
-
ChildWorkflowExecutionCompleted: "ChildWorkflowExecutionCompleted",
|
|
106
|
-
ChildWorkflowExecutionFailed: "ChildWorkflowExecutionFailed",
|
|
107
|
-
ChildWorkflowExecutionStarted: "ChildWorkflowExecutionStarted",
|
|
108
|
-
ChildWorkflowExecutionTerminated: "ChildWorkflowExecutionTerminated",
|
|
109
|
-
ChildWorkflowExecutionTimedOut: "ChildWorkflowExecutionTimedOut",
|
|
110
|
-
CompleteWorkflowExecutionFailed: "CompleteWorkflowExecutionFailed",
|
|
111
|
-
ContinueAsNewWorkflowExecutionFailed: "ContinueAsNewWorkflowExecutionFailed",
|
|
112
|
-
DecisionTaskCompleted: "DecisionTaskCompleted",
|
|
113
|
-
DecisionTaskScheduled: "DecisionTaskScheduled",
|
|
114
|
-
DecisionTaskStarted: "DecisionTaskStarted",
|
|
115
|
-
DecisionTaskTimedOut: "DecisionTaskTimedOut",
|
|
116
|
-
ExternalWorkflowExecutionCancelRequested: "ExternalWorkflowExecutionCancelRequested",
|
|
117
|
-
ExternalWorkflowExecutionSignaled: "ExternalWorkflowExecutionSignaled",
|
|
118
|
-
FailWorkflowExecutionFailed: "FailWorkflowExecutionFailed",
|
|
119
|
-
LambdaFunctionCompleted: "LambdaFunctionCompleted",
|
|
120
|
-
LambdaFunctionFailed: "LambdaFunctionFailed",
|
|
121
|
-
LambdaFunctionScheduled: "LambdaFunctionScheduled",
|
|
122
|
-
LambdaFunctionStarted: "LambdaFunctionStarted",
|
|
123
|
-
LambdaFunctionTimedOut: "LambdaFunctionTimedOut",
|
|
124
|
-
MarkerRecorded: "MarkerRecorded",
|
|
125
|
-
RecordMarkerFailed: "RecordMarkerFailed",
|
|
126
|
-
RequestCancelActivityTaskFailed: "RequestCancelActivityTaskFailed",
|
|
127
|
-
RequestCancelExternalWorkflowExecutionFailed: "RequestCancelExternalWorkflowExecutionFailed",
|
|
128
|
-
RequestCancelExternalWorkflowExecutionInitiated: "RequestCancelExternalWorkflowExecutionInitiated",
|
|
129
|
-
ScheduleActivityTaskFailed: "ScheduleActivityTaskFailed",
|
|
130
|
-
ScheduleLambdaFunctionFailed: "ScheduleLambdaFunctionFailed",
|
|
131
|
-
SignalExternalWorkflowExecutionFailed: "SignalExternalWorkflowExecutionFailed",
|
|
132
|
-
SignalExternalWorkflowExecutionInitiated: "SignalExternalWorkflowExecutionInitiated",
|
|
133
|
-
StartChildWorkflowExecutionFailed: "StartChildWorkflowExecutionFailed",
|
|
134
|
-
StartChildWorkflowExecutionInitiated: "StartChildWorkflowExecutionInitiated",
|
|
135
|
-
StartLambdaFunctionFailed: "StartLambdaFunctionFailed",
|
|
136
|
-
StartTimerFailed: "StartTimerFailed",
|
|
137
|
-
TimerCanceled: "TimerCanceled",
|
|
138
|
-
TimerFired: "TimerFired",
|
|
139
|
-
TimerStarted: "TimerStarted",
|
|
140
|
-
WorkflowExecutionCancelRequested: "WorkflowExecutionCancelRequested",
|
|
141
|
-
WorkflowExecutionCanceled: "WorkflowExecutionCanceled",
|
|
142
|
-
WorkflowExecutionCompleted: "WorkflowExecutionCompleted",
|
|
143
|
-
WorkflowExecutionContinuedAsNew: "WorkflowExecutionContinuedAsNew",
|
|
144
|
-
WorkflowExecutionFailed: "WorkflowExecutionFailed",
|
|
145
|
-
WorkflowExecutionSignaled: "WorkflowExecutionSignaled",
|
|
146
|
-
WorkflowExecutionStarted: "WorkflowExecutionStarted",
|
|
147
|
-
WorkflowExecutionTerminated: "WorkflowExecutionTerminated",
|
|
148
|
-
WorkflowExecutionTimedOut: "WorkflowExecutionTimedOut",
|
|
149
|
-
};
|
|
150
|
-
export const FailWorkflowExecutionFailedCause = {
|
|
151
|
-
OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED",
|
|
152
|
-
UNHANDLED_DECISION: "UNHANDLED_DECISION",
|
|
153
|
-
};
|
|
154
|
-
export const LambdaFunctionTimeoutType = {
|
|
155
|
-
START_TO_CLOSE: "START_TO_CLOSE",
|
|
156
|
-
};
|
|
157
|
-
export const RecordMarkerFailedCause = {
|
|
158
|
-
OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED",
|
|
159
|
-
};
|
|
160
|
-
export const RequestCancelActivityTaskFailedCause = {
|
|
161
|
-
ACTIVITY_ID_UNKNOWN: "ACTIVITY_ID_UNKNOWN",
|
|
162
|
-
OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED",
|
|
163
|
-
};
|
|
164
|
-
export const RequestCancelExternalWorkflowExecutionFailedCause = {
|
|
165
|
-
OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED",
|
|
166
|
-
REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED: "REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED",
|
|
167
|
-
UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION: "UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION",
|
|
168
|
-
};
|
|
169
|
-
export const ScheduleActivityTaskFailedCause = {
|
|
170
|
-
ACTIVITY_CREATION_RATE_EXCEEDED: "ACTIVITY_CREATION_RATE_EXCEEDED",
|
|
171
|
-
ACTIVITY_ID_ALREADY_IN_USE: "ACTIVITY_ID_ALREADY_IN_USE",
|
|
172
|
-
ACTIVITY_TYPE_DEPRECATED: "ACTIVITY_TYPE_DEPRECATED",
|
|
173
|
-
ACTIVITY_TYPE_DOES_NOT_EXIST: "ACTIVITY_TYPE_DOES_NOT_EXIST",
|
|
174
|
-
DEFAULT_HEARTBEAT_TIMEOUT_UNDEFINED: "DEFAULT_HEARTBEAT_TIMEOUT_UNDEFINED",
|
|
175
|
-
DEFAULT_SCHEDULE_TO_CLOSE_TIMEOUT_UNDEFINED: "DEFAULT_SCHEDULE_TO_CLOSE_TIMEOUT_UNDEFINED",
|
|
176
|
-
DEFAULT_SCHEDULE_TO_START_TIMEOUT_UNDEFINED: "DEFAULT_SCHEDULE_TO_START_TIMEOUT_UNDEFINED",
|
|
177
|
-
DEFAULT_START_TO_CLOSE_TIMEOUT_UNDEFINED: "DEFAULT_START_TO_CLOSE_TIMEOUT_UNDEFINED",
|
|
178
|
-
DEFAULT_TASK_LIST_UNDEFINED: "DEFAULT_TASK_LIST_UNDEFINED",
|
|
179
|
-
OPEN_ACTIVITIES_LIMIT_EXCEEDED: "OPEN_ACTIVITIES_LIMIT_EXCEEDED",
|
|
180
|
-
OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED",
|
|
181
|
-
};
|
|
182
|
-
export const ScheduleLambdaFunctionFailedCause = {
|
|
183
|
-
ID_ALREADY_IN_USE: "ID_ALREADY_IN_USE",
|
|
184
|
-
LAMBDA_FUNCTION_CREATION_RATE_EXCEEDED: "LAMBDA_FUNCTION_CREATION_RATE_EXCEEDED",
|
|
185
|
-
LAMBDA_SERVICE_NOT_AVAILABLE_IN_REGION: "LAMBDA_SERVICE_NOT_AVAILABLE_IN_REGION",
|
|
186
|
-
OPEN_LAMBDA_FUNCTIONS_LIMIT_EXCEEDED: "OPEN_LAMBDA_FUNCTIONS_LIMIT_EXCEEDED",
|
|
187
|
-
};
|
|
188
|
-
export const SignalExternalWorkflowExecutionFailedCause = {
|
|
189
|
-
OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED",
|
|
190
|
-
SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED: "SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED",
|
|
191
|
-
UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION: "UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION",
|
|
192
|
-
};
|
|
193
|
-
export const StartChildWorkflowExecutionFailedCause = {
|
|
194
|
-
CHILD_CREATION_RATE_EXCEEDED: "CHILD_CREATION_RATE_EXCEEDED",
|
|
195
|
-
DEFAULT_CHILD_POLICY_UNDEFINED: "DEFAULT_CHILD_POLICY_UNDEFINED",
|
|
196
|
-
DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED: "DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED",
|
|
197
|
-
DEFAULT_TASK_LIST_UNDEFINED: "DEFAULT_TASK_LIST_UNDEFINED",
|
|
198
|
-
DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED: "DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED",
|
|
199
|
-
OPEN_CHILDREN_LIMIT_EXCEEDED: "OPEN_CHILDREN_LIMIT_EXCEEDED",
|
|
200
|
-
OPEN_WORKFLOWS_LIMIT_EXCEEDED: "OPEN_WORKFLOWS_LIMIT_EXCEEDED",
|
|
201
|
-
OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED",
|
|
202
|
-
WORKFLOW_ALREADY_RUNNING: "WORKFLOW_ALREADY_RUNNING",
|
|
203
|
-
WORKFLOW_TYPE_DEPRECATED: "WORKFLOW_TYPE_DEPRECATED",
|
|
204
|
-
WORKFLOW_TYPE_DOES_NOT_EXIST: "WORKFLOW_TYPE_DOES_NOT_EXIST",
|
|
205
|
-
};
|
|
206
|
-
export const StartLambdaFunctionFailedCause = {
|
|
207
|
-
ASSUME_ROLE_FAILED: "ASSUME_ROLE_FAILED",
|
|
208
|
-
};
|
|
209
|
-
export const StartTimerFailedCause = {
|
|
210
|
-
OPEN_TIMERS_LIMIT_EXCEEDED: "OPEN_TIMERS_LIMIT_EXCEEDED",
|
|
211
|
-
OPERATION_NOT_PERMITTED: "OPERATION_NOT_PERMITTED",
|
|
212
|
-
TIMER_CREATION_RATE_EXCEEDED: "TIMER_CREATION_RATE_EXCEEDED",
|
|
213
|
-
TIMER_ID_ALREADY_IN_USE: "TIMER_ID_ALREADY_IN_USE",
|
|
214
|
-
};
|
|
215
|
-
export const WorkflowExecutionCancelRequestedCause = {
|
|
216
|
-
CHILD_POLICY_APPLIED: "CHILD_POLICY_APPLIED",
|
|
217
|
-
};
|
|
218
|
-
export const WorkflowExecutionTerminatedCause = {
|
|
219
|
-
CHILD_POLICY_APPLIED: "CHILD_POLICY_APPLIED",
|
|
220
|
-
EVENT_LIMIT_EXCEEDED: "EVENT_LIMIT_EXCEEDED",
|
|
221
|
-
OPERATOR_INITIATED: "OPERATOR_INITIATED",
|
|
222
|
-
};
|
|
223
|
-
export class DefaultUndefinedFault extends __BaseException {
|
|
224
|
-
name = "DefaultUndefinedFault";
|
|
225
|
-
$fault = "client";
|
|
226
|
-
constructor(opts) {
|
|
227
|
-
super({
|
|
228
|
-
name: "DefaultUndefinedFault",
|
|
229
|
-
$fault: "client",
|
|
230
|
-
...opts,
|
|
231
|
-
});
|
|
232
|
-
Object.setPrototypeOf(this, DefaultUndefinedFault.prototype);
|
|
233
|
-
}
|
|
234
|
-
}
|
|
235
|
-
export class TypeNotDeprecatedFault extends __BaseException {
|
|
236
|
-
name = "TypeNotDeprecatedFault";
|
|
237
|
-
$fault = "client";
|
|
238
|
-
constructor(opts) {
|
|
239
|
-
super({
|
|
240
|
-
name: "TypeNotDeprecatedFault",
|
|
241
|
-
$fault: "client",
|
|
242
|
-
...opts,
|
|
243
|
-
});
|
|
244
|
-
Object.setPrototypeOf(this, TypeNotDeprecatedFault.prototype);
|
|
245
|
-
}
|
|
246
|
-
}
|
|
247
|
-
export class TypeDeprecatedFault extends __BaseException {
|
|
248
|
-
name = "TypeDeprecatedFault";
|
|
249
|
-
$fault = "client";
|
|
250
|
-
constructor(opts) {
|
|
251
|
-
super({
|
|
252
|
-
name: "TypeDeprecatedFault",
|
|
253
|
-
$fault: "client",
|
|
254
|
-
...opts,
|
|
255
|
-
});
|
|
256
|
-
Object.setPrototypeOf(this, TypeDeprecatedFault.prototype);
|
|
257
|
-
}
|
|
258
|
-
}
|
|
259
|
-
export class DomainDeprecatedFault extends __BaseException {
|
|
260
|
-
name = "DomainDeprecatedFault";
|
|
261
|
-
$fault = "client";
|
|
262
|
-
constructor(opts) {
|
|
263
|
-
super({
|
|
264
|
-
name: "DomainDeprecatedFault",
|
|
265
|
-
$fault: "client",
|
|
266
|
-
...opts,
|
|
267
|
-
});
|
|
268
|
-
Object.setPrototypeOf(this, DomainDeprecatedFault.prototype);
|
|
269
|
-
}
|
|
270
|
-
}
|
|
271
|
-
export const ExecutionStatus = {
|
|
272
|
-
CLOSED: "CLOSED",
|
|
273
|
-
OPEN: "OPEN",
|
|
274
|
-
};
|
|
275
|
-
export class DomainAlreadyExistsFault extends __BaseException {
|
|
276
|
-
name = "DomainAlreadyExistsFault";
|
|
277
|
-
$fault = "client";
|
|
278
|
-
constructor(opts) {
|
|
279
|
-
super({
|
|
280
|
-
name: "DomainAlreadyExistsFault",
|
|
281
|
-
$fault: "client",
|
|
282
|
-
...opts,
|
|
283
|
-
});
|
|
284
|
-
Object.setPrototypeOf(this, DomainAlreadyExistsFault.prototype);
|
|
285
|
-
}
|
|
286
|
-
}
|
|
287
|
-
export class LimitExceededFault extends __BaseException {
|
|
288
|
-
name = "LimitExceededFault";
|
|
289
|
-
$fault = "client";
|
|
290
|
-
constructor(opts) {
|
|
291
|
-
super({
|
|
292
|
-
name: "LimitExceededFault",
|
|
293
|
-
$fault: "client",
|
|
294
|
-
...opts,
|
|
295
|
-
});
|
|
296
|
-
Object.setPrototypeOf(this, LimitExceededFault.prototype);
|
|
297
|
-
}
|
|
298
|
-
}
|
|
299
|
-
export class TypeAlreadyExistsFault extends __BaseException {
|
|
300
|
-
name = "TypeAlreadyExistsFault";
|
|
301
|
-
$fault = "client";
|
|
302
|
-
constructor(opts) {
|
|
303
|
-
super({
|
|
304
|
-
name: "TypeAlreadyExistsFault",
|
|
305
|
-
$fault: "client",
|
|
306
|
-
...opts,
|
|
307
|
-
});
|
|
308
|
-
Object.setPrototypeOf(this, TypeAlreadyExistsFault.prototype);
|
|
309
|
-
}
|
|
310
|
-
}
|
|
311
|
-
export class TooManyTagsFault extends __BaseException {
|
|
312
|
-
name = "TooManyTagsFault";
|
|
313
|
-
$fault = "client";
|
|
314
|
-
constructor(opts) {
|
|
315
|
-
super({
|
|
316
|
-
name: "TooManyTagsFault",
|
|
317
|
-
$fault: "client",
|
|
318
|
-
...opts,
|
|
319
|
-
});
|
|
320
|
-
Object.setPrototypeOf(this, TooManyTagsFault.prototype);
|
|
321
|
-
}
|
|
322
|
-
}
|
|
323
|
-
export class WorkflowExecutionAlreadyStartedFault extends __BaseException {
|
|
324
|
-
name = "WorkflowExecutionAlreadyStartedFault";
|
|
325
|
-
$fault = "client";
|
|
326
|
-
constructor(opts) {
|
|
327
|
-
super({
|
|
328
|
-
name: "WorkflowExecutionAlreadyStartedFault",
|
|
329
|
-
$fault: "client",
|
|
330
|
-
...opts,
|
|
331
|
-
});
|
|
332
|
-
Object.setPrototypeOf(this, WorkflowExecutionAlreadyStartedFault.prototype);
|
|
333
|
-
}
|
|
334
|
-
}
|
|
1
|
+
export {};
|
|
@@ -386,7 +386,7 @@ const _wT = "workflowType";
|
|
|
386
386
|
const _wTV = "workflowTypeVersion";
|
|
387
387
|
const n0 = "com.amazonaws.swf";
|
|
388
388
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
389
|
-
import { DefaultUndefinedFault as __DefaultUndefinedFault, DomainAlreadyExistsFault as __DomainAlreadyExistsFault, DomainDeprecatedFault as __DomainDeprecatedFault, LimitExceededFault as __LimitExceededFault, OperationNotPermittedFault as __OperationNotPermittedFault, TooManyTagsFault as __TooManyTagsFault, TypeAlreadyExistsFault as __TypeAlreadyExistsFault, TypeDeprecatedFault as __TypeDeprecatedFault, TypeNotDeprecatedFault as __TypeNotDeprecatedFault, UnknownResourceFault as __UnknownResourceFault, WorkflowExecutionAlreadyStartedFault as __WorkflowExecutionAlreadyStartedFault, } from "../models/
|
|
389
|
+
import { DefaultUndefinedFault as __DefaultUndefinedFault, DomainAlreadyExistsFault as __DomainAlreadyExistsFault, DomainDeprecatedFault as __DomainDeprecatedFault, LimitExceededFault as __LimitExceededFault, OperationNotPermittedFault as __OperationNotPermittedFault, TooManyTagsFault as __TooManyTagsFault, TypeAlreadyExistsFault as __TypeAlreadyExistsFault, TypeDeprecatedFault as __TypeDeprecatedFault, TypeNotDeprecatedFault as __TypeNotDeprecatedFault, UnknownResourceFault as __UnknownResourceFault, WorkflowExecutionAlreadyStartedFault as __WorkflowExecutionAlreadyStartedFault, } from "../models/errors";
|
|
390
390
|
import { SWFServiceException as __SWFServiceException } from "../models/SWFServiceException";
|
|
391
391
|
export var ActivityTask = [
|
|
392
392
|
3,
|
package/dist-types/index.d.ts
CHANGED
|
@@ -22,5 +22,7 @@ export type { RuntimeExtension } from "./runtimeExtensions";
|
|
|
22
22
|
export type { SWFExtensionConfiguration } from "./extensionConfiguration";
|
|
23
23
|
export * from "./commands";
|
|
24
24
|
export * from "./pagination";
|
|
25
|
-
export * from "./models";
|
|
25
|
+
export * from "./models/enums";
|
|
26
|
+
export * from "./models/errors";
|
|
27
|
+
export type * from "./models/models_0";
|
|
26
28
|
export { SWFServiceException } from "./models/SWFServiceException";
|