@aws-sdk/client-mwaa-serverless 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 +49 -48
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +48 -0
- package/dist-es/models/errors.js +145 -0
- package/dist-es/models/models_0.js +1 -193
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +95 -0
- package/dist-types/models/errors.d.ts +182 -0
- package/dist-types/models/models_0.d.ts +1 -275
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +58 -0
- package/dist-types/ts3.4/models/errors.d.ts +84 -0
- package/dist-types/ts3.4/models/models_0.d.ts +8 -140
- 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
package/dist-cjs/index.js
CHANGED
|
@@ -201,12 +201,6 @@ let ThrottlingException$1 = class ThrottlingException extends MWAAServerlessServ
|
|
|
201
201
|
this.RetryAfterSeconds = opts.RetryAfterSeconds;
|
|
202
202
|
}
|
|
203
203
|
};
|
|
204
|
-
const ValidationExceptionReason = {
|
|
205
|
-
CANNOT_PARSE: "cannotParse",
|
|
206
|
-
FIELD_VALIDATION_FAILED: "fieldValidationFailed",
|
|
207
|
-
OTHER: "other",
|
|
208
|
-
UNKNOWN_OPERATION: "unknownOperation",
|
|
209
|
-
};
|
|
210
204
|
let ValidationException$1 = class ValidationException extends MWAAServerlessServiceException$1 {
|
|
211
205
|
name = "ValidationException";
|
|
212
206
|
$fault = "client";
|
|
@@ -225,22 +219,6 @@ let ValidationException$1 = class ValidationException extends MWAAServerlessServ
|
|
|
225
219
|
this.FieldList = opts.FieldList;
|
|
226
220
|
}
|
|
227
221
|
};
|
|
228
|
-
const TaskInstanceStatus = {
|
|
229
|
-
CANCELLED: "CANCELLED",
|
|
230
|
-
DEFERRED: "DEFERRED",
|
|
231
|
-
FAILED: "FAILED",
|
|
232
|
-
NONE: "NONE",
|
|
233
|
-
QUEUED: "QUEUED",
|
|
234
|
-
REMOVED: "REMOVED",
|
|
235
|
-
RESTARTING: "RESTARTING",
|
|
236
|
-
RUNNING: "RUNNING",
|
|
237
|
-
SCHEDULED: "SCHEDULED",
|
|
238
|
-
SUCCESS: "SUCCESS",
|
|
239
|
-
TIMEOUT: "TIMEOUT",
|
|
240
|
-
UPSTREAM_FAILED: "UPSTREAM_FAILED",
|
|
241
|
-
UP_FOR_RESCHEDULE: "UP_FOR_RESCHEDULE",
|
|
242
|
-
UP_FOR_RETRY: "UP_FOR_RETRY",
|
|
243
|
-
};
|
|
244
222
|
let ConflictException$1 = class ConflictException extends MWAAServerlessServiceException$1 {
|
|
245
223
|
name = "ConflictException";
|
|
246
224
|
$fault = "client";
|
|
@@ -259,18 +237,6 @@ let ConflictException$1 = class ConflictException extends MWAAServerlessServiceE
|
|
|
259
237
|
this.ResourceType = opts.ResourceType;
|
|
260
238
|
}
|
|
261
239
|
};
|
|
262
|
-
const EncryptionType = {
|
|
263
|
-
AWS_MANAGED_KEY: "AWS_MANAGED_KEY",
|
|
264
|
-
CUSTOMER_MANAGED_KEY: "CUSTOMER_MANAGED_KEY",
|
|
265
|
-
};
|
|
266
|
-
exports.EngineVersion = void 0;
|
|
267
|
-
(function (EngineVersion) {
|
|
268
|
-
EngineVersion[EngineVersion["ONE"] = 1] = "ONE";
|
|
269
|
-
})(exports.EngineVersion || (exports.EngineVersion = {}));
|
|
270
|
-
const WorkflowStatus = {
|
|
271
|
-
DELETING: "DELETING",
|
|
272
|
-
READY: "READY",
|
|
273
|
-
};
|
|
274
240
|
let ServiceQuotaExceededException$1 = class ServiceQuotaExceededException extends MWAAServerlessServiceException$1 {
|
|
275
241
|
name = "ServiceQuotaExceededException";
|
|
276
242
|
$fault = "client";
|
|
@@ -293,20 +259,6 @@ let ServiceQuotaExceededException$1 = class ServiceQuotaExceededException extend
|
|
|
293
259
|
this.QuotaCode = opts.QuotaCode;
|
|
294
260
|
}
|
|
295
261
|
};
|
|
296
|
-
const WorkflowRunStatus = {
|
|
297
|
-
FAILED: "FAILED",
|
|
298
|
-
QUEUED: "QUEUED",
|
|
299
|
-
RUNNING: "RUNNING",
|
|
300
|
-
STARTING: "STARTING",
|
|
301
|
-
STOPPED: "STOPPED",
|
|
302
|
-
STOPPING: "STOPPING",
|
|
303
|
-
SUCCESS: "SUCCESS",
|
|
304
|
-
TIMEOUT: "TIMEOUT",
|
|
305
|
-
};
|
|
306
|
-
const RunType = {
|
|
307
|
-
ON_DEMAND: "ON_DEMAND",
|
|
308
|
-
SCHEDULED: "SCHEDULED",
|
|
309
|
-
};
|
|
310
262
|
|
|
311
263
|
const _ADE = "AccessDeniedException";
|
|
312
264
|
const _AN = "AttemptNumber";
|
|
@@ -1278,6 +1230,55 @@ const paginateListWorkflowVersions = core.createPaginator(MWAAServerlessClient,
|
|
|
1278
1230
|
|
|
1279
1231
|
const paginateListWorkflows = core.createPaginator(MWAAServerlessClient, ListWorkflowsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1280
1232
|
|
|
1233
|
+
const ValidationExceptionReason = {
|
|
1234
|
+
CANNOT_PARSE: "cannotParse",
|
|
1235
|
+
FIELD_VALIDATION_FAILED: "fieldValidationFailed",
|
|
1236
|
+
OTHER: "other",
|
|
1237
|
+
UNKNOWN_OPERATION: "unknownOperation",
|
|
1238
|
+
};
|
|
1239
|
+
const TaskInstanceStatus = {
|
|
1240
|
+
CANCELLED: "CANCELLED",
|
|
1241
|
+
DEFERRED: "DEFERRED",
|
|
1242
|
+
FAILED: "FAILED",
|
|
1243
|
+
NONE: "NONE",
|
|
1244
|
+
QUEUED: "QUEUED",
|
|
1245
|
+
REMOVED: "REMOVED",
|
|
1246
|
+
RESTARTING: "RESTARTING",
|
|
1247
|
+
RUNNING: "RUNNING",
|
|
1248
|
+
SCHEDULED: "SCHEDULED",
|
|
1249
|
+
SUCCESS: "SUCCESS",
|
|
1250
|
+
TIMEOUT: "TIMEOUT",
|
|
1251
|
+
UPSTREAM_FAILED: "UPSTREAM_FAILED",
|
|
1252
|
+
UP_FOR_RESCHEDULE: "UP_FOR_RESCHEDULE",
|
|
1253
|
+
UP_FOR_RETRY: "UP_FOR_RETRY",
|
|
1254
|
+
};
|
|
1255
|
+
const EncryptionType = {
|
|
1256
|
+
AWS_MANAGED_KEY: "AWS_MANAGED_KEY",
|
|
1257
|
+
CUSTOMER_MANAGED_KEY: "CUSTOMER_MANAGED_KEY",
|
|
1258
|
+
};
|
|
1259
|
+
exports.EngineVersion = void 0;
|
|
1260
|
+
(function (EngineVersion) {
|
|
1261
|
+
EngineVersion[EngineVersion["ONE"] = 1] = "ONE";
|
|
1262
|
+
})(exports.EngineVersion || (exports.EngineVersion = {}));
|
|
1263
|
+
const WorkflowStatus = {
|
|
1264
|
+
DELETING: "DELETING",
|
|
1265
|
+
READY: "READY",
|
|
1266
|
+
};
|
|
1267
|
+
const WorkflowRunStatus = {
|
|
1268
|
+
FAILED: "FAILED",
|
|
1269
|
+
QUEUED: "QUEUED",
|
|
1270
|
+
RUNNING: "RUNNING",
|
|
1271
|
+
STARTING: "STARTING",
|
|
1272
|
+
STOPPED: "STOPPED",
|
|
1273
|
+
STOPPING: "STOPPING",
|
|
1274
|
+
SUCCESS: "SUCCESS",
|
|
1275
|
+
TIMEOUT: "TIMEOUT",
|
|
1276
|
+
};
|
|
1277
|
+
const RunType = {
|
|
1278
|
+
ON_DEMAND: "ON_DEMAND",
|
|
1279
|
+
SCHEDULED: "SCHEDULED",
|
|
1280
|
+
};
|
|
1281
|
+
|
|
1281
1282
|
Object.defineProperty(exports, "$Command", {
|
|
1282
1283
|
enumerable: true,
|
|
1283
1284
|
get: function () { return smithyClient.Command; }
|
package/dist-es/index.js
CHANGED
|
@@ -2,5 +2,6 @@ export * from "./MWAAServerlessClient";
|
|
|
2
2
|
export * from "./MWAAServerless";
|
|
3
3
|
export * from "./commands";
|
|
4
4
|
export * from "./pagination";
|
|
5
|
-
export * from "./models";
|
|
5
|
+
export * from "./models/enums";
|
|
6
|
+
export * from "./models/errors";
|
|
6
7
|
export { MWAAServerlessServiceException } from "./models/MWAAServerlessServiceException";
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
export const ValidationExceptionReason = {
|
|
2
|
+
CANNOT_PARSE: "cannotParse",
|
|
3
|
+
FIELD_VALIDATION_FAILED: "fieldValidationFailed",
|
|
4
|
+
OTHER: "other",
|
|
5
|
+
UNKNOWN_OPERATION: "unknownOperation",
|
|
6
|
+
};
|
|
7
|
+
export const TaskInstanceStatus = {
|
|
8
|
+
CANCELLED: "CANCELLED",
|
|
9
|
+
DEFERRED: "DEFERRED",
|
|
10
|
+
FAILED: "FAILED",
|
|
11
|
+
NONE: "NONE",
|
|
12
|
+
QUEUED: "QUEUED",
|
|
13
|
+
REMOVED: "REMOVED",
|
|
14
|
+
RESTARTING: "RESTARTING",
|
|
15
|
+
RUNNING: "RUNNING",
|
|
16
|
+
SCHEDULED: "SCHEDULED",
|
|
17
|
+
SUCCESS: "SUCCESS",
|
|
18
|
+
TIMEOUT: "TIMEOUT",
|
|
19
|
+
UPSTREAM_FAILED: "UPSTREAM_FAILED",
|
|
20
|
+
UP_FOR_RESCHEDULE: "UP_FOR_RESCHEDULE",
|
|
21
|
+
UP_FOR_RETRY: "UP_FOR_RETRY",
|
|
22
|
+
};
|
|
23
|
+
export const EncryptionType = {
|
|
24
|
+
AWS_MANAGED_KEY: "AWS_MANAGED_KEY",
|
|
25
|
+
CUSTOMER_MANAGED_KEY: "CUSTOMER_MANAGED_KEY",
|
|
26
|
+
};
|
|
27
|
+
export var EngineVersion;
|
|
28
|
+
(function (EngineVersion) {
|
|
29
|
+
EngineVersion[EngineVersion["ONE"] = 1] = "ONE";
|
|
30
|
+
})(EngineVersion || (EngineVersion = {}));
|
|
31
|
+
export const WorkflowStatus = {
|
|
32
|
+
DELETING: "DELETING",
|
|
33
|
+
READY: "READY",
|
|
34
|
+
};
|
|
35
|
+
export const WorkflowRunStatus = {
|
|
36
|
+
FAILED: "FAILED",
|
|
37
|
+
QUEUED: "QUEUED",
|
|
38
|
+
RUNNING: "RUNNING",
|
|
39
|
+
STARTING: "STARTING",
|
|
40
|
+
STOPPED: "STOPPED",
|
|
41
|
+
STOPPING: "STOPPING",
|
|
42
|
+
SUCCESS: "SUCCESS",
|
|
43
|
+
TIMEOUT: "TIMEOUT",
|
|
44
|
+
};
|
|
45
|
+
export const RunType = {
|
|
46
|
+
ON_DEMAND: "ON_DEMAND",
|
|
47
|
+
SCHEDULED: "SCHEDULED",
|
|
48
|
+
};
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
import { MWAAServerlessServiceException as __BaseException } from "./MWAAServerlessServiceException";
|
|
2
|
+
export class AccessDeniedException extends __BaseException {
|
|
3
|
+
name = "AccessDeniedException";
|
|
4
|
+
$fault = "client";
|
|
5
|
+
Message;
|
|
6
|
+
constructor(opts) {
|
|
7
|
+
super({
|
|
8
|
+
name: "AccessDeniedException",
|
|
9
|
+
$fault: "client",
|
|
10
|
+
...opts,
|
|
11
|
+
});
|
|
12
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
13
|
+
this.Message = opts.Message;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
export class InternalServerException extends __BaseException {
|
|
17
|
+
name = "InternalServerException";
|
|
18
|
+
$fault = "server";
|
|
19
|
+
$retryable = {};
|
|
20
|
+
Message;
|
|
21
|
+
RetryAfterSeconds;
|
|
22
|
+
constructor(opts) {
|
|
23
|
+
super({
|
|
24
|
+
name: "InternalServerException",
|
|
25
|
+
$fault: "server",
|
|
26
|
+
...opts,
|
|
27
|
+
});
|
|
28
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
29
|
+
this.Message = opts.Message;
|
|
30
|
+
this.RetryAfterSeconds = opts.RetryAfterSeconds;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
export class OperationTimeoutException extends __BaseException {
|
|
34
|
+
name = "OperationTimeoutException";
|
|
35
|
+
$fault = "server";
|
|
36
|
+
Message;
|
|
37
|
+
constructor(opts) {
|
|
38
|
+
super({
|
|
39
|
+
name: "OperationTimeoutException",
|
|
40
|
+
$fault: "server",
|
|
41
|
+
...opts,
|
|
42
|
+
});
|
|
43
|
+
Object.setPrototypeOf(this, OperationTimeoutException.prototype);
|
|
44
|
+
this.Message = opts.Message;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
export class ResourceNotFoundException extends __BaseException {
|
|
48
|
+
name = "ResourceNotFoundException";
|
|
49
|
+
$fault = "client";
|
|
50
|
+
Message;
|
|
51
|
+
ResourceId;
|
|
52
|
+
ResourceType;
|
|
53
|
+
constructor(opts) {
|
|
54
|
+
super({
|
|
55
|
+
name: "ResourceNotFoundException",
|
|
56
|
+
$fault: "client",
|
|
57
|
+
...opts,
|
|
58
|
+
});
|
|
59
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
60
|
+
this.Message = opts.Message;
|
|
61
|
+
this.ResourceId = opts.ResourceId;
|
|
62
|
+
this.ResourceType = opts.ResourceType;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
export class ThrottlingException extends __BaseException {
|
|
66
|
+
name = "ThrottlingException";
|
|
67
|
+
$fault = "client";
|
|
68
|
+
$retryable = {
|
|
69
|
+
throttling: true,
|
|
70
|
+
};
|
|
71
|
+
Message;
|
|
72
|
+
ServiceCode;
|
|
73
|
+
QuotaCode;
|
|
74
|
+
RetryAfterSeconds;
|
|
75
|
+
constructor(opts) {
|
|
76
|
+
super({
|
|
77
|
+
name: "ThrottlingException",
|
|
78
|
+
$fault: "client",
|
|
79
|
+
...opts,
|
|
80
|
+
});
|
|
81
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
82
|
+
this.Message = opts.Message;
|
|
83
|
+
this.ServiceCode = opts.ServiceCode;
|
|
84
|
+
this.QuotaCode = opts.QuotaCode;
|
|
85
|
+
this.RetryAfterSeconds = opts.RetryAfterSeconds;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
export class ValidationException extends __BaseException {
|
|
89
|
+
name = "ValidationException";
|
|
90
|
+
$fault = "client";
|
|
91
|
+
Message;
|
|
92
|
+
Reason;
|
|
93
|
+
FieldList;
|
|
94
|
+
constructor(opts) {
|
|
95
|
+
super({
|
|
96
|
+
name: "ValidationException",
|
|
97
|
+
$fault: "client",
|
|
98
|
+
...opts,
|
|
99
|
+
});
|
|
100
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
101
|
+
this.Message = opts.Message;
|
|
102
|
+
this.Reason = opts.Reason;
|
|
103
|
+
this.FieldList = opts.FieldList;
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
export class ConflictException extends __BaseException {
|
|
107
|
+
name = "ConflictException";
|
|
108
|
+
$fault = "client";
|
|
109
|
+
Message;
|
|
110
|
+
ResourceId;
|
|
111
|
+
ResourceType;
|
|
112
|
+
constructor(opts) {
|
|
113
|
+
super({
|
|
114
|
+
name: "ConflictException",
|
|
115
|
+
$fault: "client",
|
|
116
|
+
...opts,
|
|
117
|
+
});
|
|
118
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
119
|
+
this.Message = opts.Message;
|
|
120
|
+
this.ResourceId = opts.ResourceId;
|
|
121
|
+
this.ResourceType = opts.ResourceType;
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
export class ServiceQuotaExceededException extends __BaseException {
|
|
125
|
+
name = "ServiceQuotaExceededException";
|
|
126
|
+
$fault = "client";
|
|
127
|
+
Message;
|
|
128
|
+
ResourceId;
|
|
129
|
+
ResourceType;
|
|
130
|
+
ServiceCode;
|
|
131
|
+
QuotaCode;
|
|
132
|
+
constructor(opts) {
|
|
133
|
+
super({
|
|
134
|
+
name: "ServiceQuotaExceededException",
|
|
135
|
+
$fault: "client",
|
|
136
|
+
...opts,
|
|
137
|
+
});
|
|
138
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
139
|
+
this.Message = opts.Message;
|
|
140
|
+
this.ResourceId = opts.ResourceId;
|
|
141
|
+
this.ResourceType = opts.ResourceType;
|
|
142
|
+
this.ServiceCode = opts.ServiceCode;
|
|
143
|
+
this.QuotaCode = opts.QuotaCode;
|
|
144
|
+
}
|
|
145
|
+
}
|
|
@@ -1,193 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export class AccessDeniedException extends __BaseException {
|
|
3
|
-
name = "AccessDeniedException";
|
|
4
|
-
$fault = "client";
|
|
5
|
-
Message;
|
|
6
|
-
constructor(opts) {
|
|
7
|
-
super({
|
|
8
|
-
name: "AccessDeniedException",
|
|
9
|
-
$fault: "client",
|
|
10
|
-
...opts,
|
|
11
|
-
});
|
|
12
|
-
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
13
|
-
this.Message = opts.Message;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
export class InternalServerException extends __BaseException {
|
|
17
|
-
name = "InternalServerException";
|
|
18
|
-
$fault = "server";
|
|
19
|
-
$retryable = {};
|
|
20
|
-
Message;
|
|
21
|
-
RetryAfterSeconds;
|
|
22
|
-
constructor(opts) {
|
|
23
|
-
super({
|
|
24
|
-
name: "InternalServerException",
|
|
25
|
-
$fault: "server",
|
|
26
|
-
...opts,
|
|
27
|
-
});
|
|
28
|
-
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
29
|
-
this.Message = opts.Message;
|
|
30
|
-
this.RetryAfterSeconds = opts.RetryAfterSeconds;
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
export class OperationTimeoutException extends __BaseException {
|
|
34
|
-
name = "OperationTimeoutException";
|
|
35
|
-
$fault = "server";
|
|
36
|
-
Message;
|
|
37
|
-
constructor(opts) {
|
|
38
|
-
super({
|
|
39
|
-
name: "OperationTimeoutException",
|
|
40
|
-
$fault: "server",
|
|
41
|
-
...opts,
|
|
42
|
-
});
|
|
43
|
-
Object.setPrototypeOf(this, OperationTimeoutException.prototype);
|
|
44
|
-
this.Message = opts.Message;
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
export class ResourceNotFoundException extends __BaseException {
|
|
48
|
-
name = "ResourceNotFoundException";
|
|
49
|
-
$fault = "client";
|
|
50
|
-
Message;
|
|
51
|
-
ResourceId;
|
|
52
|
-
ResourceType;
|
|
53
|
-
constructor(opts) {
|
|
54
|
-
super({
|
|
55
|
-
name: "ResourceNotFoundException",
|
|
56
|
-
$fault: "client",
|
|
57
|
-
...opts,
|
|
58
|
-
});
|
|
59
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
60
|
-
this.Message = opts.Message;
|
|
61
|
-
this.ResourceId = opts.ResourceId;
|
|
62
|
-
this.ResourceType = opts.ResourceType;
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
export class ThrottlingException extends __BaseException {
|
|
66
|
-
name = "ThrottlingException";
|
|
67
|
-
$fault = "client";
|
|
68
|
-
$retryable = {
|
|
69
|
-
throttling: true,
|
|
70
|
-
};
|
|
71
|
-
Message;
|
|
72
|
-
ServiceCode;
|
|
73
|
-
QuotaCode;
|
|
74
|
-
RetryAfterSeconds;
|
|
75
|
-
constructor(opts) {
|
|
76
|
-
super({
|
|
77
|
-
name: "ThrottlingException",
|
|
78
|
-
$fault: "client",
|
|
79
|
-
...opts,
|
|
80
|
-
});
|
|
81
|
-
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
82
|
-
this.Message = opts.Message;
|
|
83
|
-
this.ServiceCode = opts.ServiceCode;
|
|
84
|
-
this.QuotaCode = opts.QuotaCode;
|
|
85
|
-
this.RetryAfterSeconds = opts.RetryAfterSeconds;
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
export const ValidationExceptionReason = {
|
|
89
|
-
CANNOT_PARSE: "cannotParse",
|
|
90
|
-
FIELD_VALIDATION_FAILED: "fieldValidationFailed",
|
|
91
|
-
OTHER: "other",
|
|
92
|
-
UNKNOWN_OPERATION: "unknownOperation",
|
|
93
|
-
};
|
|
94
|
-
export class ValidationException extends __BaseException {
|
|
95
|
-
name = "ValidationException";
|
|
96
|
-
$fault = "client";
|
|
97
|
-
Message;
|
|
98
|
-
Reason;
|
|
99
|
-
FieldList;
|
|
100
|
-
constructor(opts) {
|
|
101
|
-
super({
|
|
102
|
-
name: "ValidationException",
|
|
103
|
-
$fault: "client",
|
|
104
|
-
...opts,
|
|
105
|
-
});
|
|
106
|
-
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
107
|
-
this.Message = opts.Message;
|
|
108
|
-
this.Reason = opts.Reason;
|
|
109
|
-
this.FieldList = opts.FieldList;
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
export const TaskInstanceStatus = {
|
|
113
|
-
CANCELLED: "CANCELLED",
|
|
114
|
-
DEFERRED: "DEFERRED",
|
|
115
|
-
FAILED: "FAILED",
|
|
116
|
-
NONE: "NONE",
|
|
117
|
-
QUEUED: "QUEUED",
|
|
118
|
-
REMOVED: "REMOVED",
|
|
119
|
-
RESTARTING: "RESTARTING",
|
|
120
|
-
RUNNING: "RUNNING",
|
|
121
|
-
SCHEDULED: "SCHEDULED",
|
|
122
|
-
SUCCESS: "SUCCESS",
|
|
123
|
-
TIMEOUT: "TIMEOUT",
|
|
124
|
-
UPSTREAM_FAILED: "UPSTREAM_FAILED",
|
|
125
|
-
UP_FOR_RESCHEDULE: "UP_FOR_RESCHEDULE",
|
|
126
|
-
UP_FOR_RETRY: "UP_FOR_RETRY",
|
|
127
|
-
};
|
|
128
|
-
export class ConflictException extends __BaseException {
|
|
129
|
-
name = "ConflictException";
|
|
130
|
-
$fault = "client";
|
|
131
|
-
Message;
|
|
132
|
-
ResourceId;
|
|
133
|
-
ResourceType;
|
|
134
|
-
constructor(opts) {
|
|
135
|
-
super({
|
|
136
|
-
name: "ConflictException",
|
|
137
|
-
$fault: "client",
|
|
138
|
-
...opts,
|
|
139
|
-
});
|
|
140
|
-
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
141
|
-
this.Message = opts.Message;
|
|
142
|
-
this.ResourceId = opts.ResourceId;
|
|
143
|
-
this.ResourceType = opts.ResourceType;
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
export const EncryptionType = {
|
|
147
|
-
AWS_MANAGED_KEY: "AWS_MANAGED_KEY",
|
|
148
|
-
CUSTOMER_MANAGED_KEY: "CUSTOMER_MANAGED_KEY",
|
|
149
|
-
};
|
|
150
|
-
export var EngineVersion;
|
|
151
|
-
(function (EngineVersion) {
|
|
152
|
-
EngineVersion[EngineVersion["ONE"] = 1] = "ONE";
|
|
153
|
-
})(EngineVersion || (EngineVersion = {}));
|
|
154
|
-
export const WorkflowStatus = {
|
|
155
|
-
DELETING: "DELETING",
|
|
156
|
-
READY: "READY",
|
|
157
|
-
};
|
|
158
|
-
export class ServiceQuotaExceededException extends __BaseException {
|
|
159
|
-
name = "ServiceQuotaExceededException";
|
|
160
|
-
$fault = "client";
|
|
161
|
-
Message;
|
|
162
|
-
ResourceId;
|
|
163
|
-
ResourceType;
|
|
164
|
-
ServiceCode;
|
|
165
|
-
QuotaCode;
|
|
166
|
-
constructor(opts) {
|
|
167
|
-
super({
|
|
168
|
-
name: "ServiceQuotaExceededException",
|
|
169
|
-
$fault: "client",
|
|
170
|
-
...opts,
|
|
171
|
-
});
|
|
172
|
-
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
173
|
-
this.Message = opts.Message;
|
|
174
|
-
this.ResourceId = opts.ResourceId;
|
|
175
|
-
this.ResourceType = opts.ResourceType;
|
|
176
|
-
this.ServiceCode = opts.ServiceCode;
|
|
177
|
-
this.QuotaCode = opts.QuotaCode;
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
|
-
export const WorkflowRunStatus = {
|
|
181
|
-
FAILED: "FAILED",
|
|
182
|
-
QUEUED: "QUEUED",
|
|
183
|
-
RUNNING: "RUNNING",
|
|
184
|
-
STARTING: "STARTING",
|
|
185
|
-
STOPPED: "STOPPED",
|
|
186
|
-
STOPPING: "STOPPING",
|
|
187
|
-
SUCCESS: "SUCCESS",
|
|
188
|
-
TIMEOUT: "TIMEOUT",
|
|
189
|
-
};
|
|
190
|
-
export const RunType = {
|
|
191
|
-
ON_DEMAND: "ON_DEMAND",
|
|
192
|
-
SCHEDULED: "SCHEDULED",
|
|
193
|
-
};
|
|
1
|
+
export {};
|
|
@@ -145,7 +145,7 @@ const _tK = "tagKeys";
|
|
|
145
145
|
const _wV = "workflowVersion";
|
|
146
146
|
const n0 = "com.amazonaws.mwaaserverless";
|
|
147
147
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
148
|
-
import { AccessDeniedException as __AccessDeniedException, ConflictException as __ConflictException, InternalServerException as __InternalServerException, OperationTimeoutException as __OperationTimeoutException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/
|
|
148
|
+
import { AccessDeniedException as __AccessDeniedException, ConflictException as __ConflictException, InternalServerException as __InternalServerException, OperationTimeoutException as __OperationTimeoutException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/errors";
|
|
149
149
|
import { MWAAServerlessServiceException as __MWAAServerlessServiceException } from "../models/MWAAServerlessServiceException";
|
|
150
150
|
export var AccessDeniedException = [
|
|
151
151
|
-3,
|
package/dist-types/index.d.ts
CHANGED
|
@@ -10,5 +10,7 @@ export type { RuntimeExtension } from "./runtimeExtensions";
|
|
|
10
10
|
export type { MWAAServerlessExtensionConfiguration } from "./extensionConfiguration";
|
|
11
11
|
export * from "./commands";
|
|
12
12
|
export * from "./pagination";
|
|
13
|
-
export * from "./models";
|
|
13
|
+
export * from "./models/enums";
|
|
14
|
+
export * from "./models/errors";
|
|
15
|
+
export type * from "./models/models_0";
|
|
14
16
|
export { MWAAServerlessServiceException } from "./models/MWAAServerlessServiceException";
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @public
|
|
3
|
+
* @enum
|
|
4
|
+
*/
|
|
5
|
+
export declare const ValidationExceptionReason: {
|
|
6
|
+
readonly CANNOT_PARSE: "cannotParse";
|
|
7
|
+
readonly FIELD_VALIDATION_FAILED: "fieldValidationFailed";
|
|
8
|
+
readonly OTHER: "other";
|
|
9
|
+
readonly UNKNOWN_OPERATION: "unknownOperation";
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* @public
|
|
13
|
+
*/
|
|
14
|
+
export type ValidationExceptionReason = (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
|
|
15
|
+
/**
|
|
16
|
+
* @public
|
|
17
|
+
* @enum
|
|
18
|
+
*/
|
|
19
|
+
export declare const TaskInstanceStatus: {
|
|
20
|
+
readonly CANCELLED: "CANCELLED";
|
|
21
|
+
readonly DEFERRED: "DEFERRED";
|
|
22
|
+
readonly FAILED: "FAILED";
|
|
23
|
+
readonly NONE: "NONE";
|
|
24
|
+
readonly QUEUED: "QUEUED";
|
|
25
|
+
readonly REMOVED: "REMOVED";
|
|
26
|
+
readonly RESTARTING: "RESTARTING";
|
|
27
|
+
readonly RUNNING: "RUNNING";
|
|
28
|
+
readonly SCHEDULED: "SCHEDULED";
|
|
29
|
+
readonly SUCCESS: "SUCCESS";
|
|
30
|
+
readonly TIMEOUT: "TIMEOUT";
|
|
31
|
+
readonly UPSTREAM_FAILED: "UPSTREAM_FAILED";
|
|
32
|
+
readonly UP_FOR_RESCHEDULE: "UP_FOR_RESCHEDULE";
|
|
33
|
+
readonly UP_FOR_RETRY: "UP_FOR_RETRY";
|
|
34
|
+
};
|
|
35
|
+
/**
|
|
36
|
+
* @public
|
|
37
|
+
*/
|
|
38
|
+
export type TaskInstanceStatus = (typeof TaskInstanceStatus)[keyof typeof TaskInstanceStatus];
|
|
39
|
+
/**
|
|
40
|
+
* @public
|
|
41
|
+
* @enum
|
|
42
|
+
*/
|
|
43
|
+
export declare const EncryptionType: {
|
|
44
|
+
readonly AWS_MANAGED_KEY: "AWS_MANAGED_KEY";
|
|
45
|
+
readonly CUSTOMER_MANAGED_KEY: "CUSTOMER_MANAGED_KEY";
|
|
46
|
+
};
|
|
47
|
+
/**
|
|
48
|
+
* @public
|
|
49
|
+
*/
|
|
50
|
+
export type EncryptionType = (typeof EncryptionType)[keyof typeof EncryptionType];
|
|
51
|
+
export declare enum EngineVersion {
|
|
52
|
+
ONE = 1
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* @public
|
|
56
|
+
* @enum
|
|
57
|
+
*/
|
|
58
|
+
export declare const WorkflowStatus: {
|
|
59
|
+
readonly DELETING: "DELETING";
|
|
60
|
+
readonly READY: "READY";
|
|
61
|
+
};
|
|
62
|
+
/**
|
|
63
|
+
* @public
|
|
64
|
+
*/
|
|
65
|
+
export type WorkflowStatus = (typeof WorkflowStatus)[keyof typeof WorkflowStatus];
|
|
66
|
+
/**
|
|
67
|
+
* @public
|
|
68
|
+
* @enum
|
|
69
|
+
*/
|
|
70
|
+
export declare const WorkflowRunStatus: {
|
|
71
|
+
readonly FAILED: "FAILED";
|
|
72
|
+
readonly QUEUED: "QUEUED";
|
|
73
|
+
readonly RUNNING: "RUNNING";
|
|
74
|
+
readonly STARTING: "STARTING";
|
|
75
|
+
readonly STOPPED: "STOPPED";
|
|
76
|
+
readonly STOPPING: "STOPPING";
|
|
77
|
+
readonly SUCCESS: "SUCCESS";
|
|
78
|
+
readonly TIMEOUT: "TIMEOUT";
|
|
79
|
+
};
|
|
80
|
+
/**
|
|
81
|
+
* @public
|
|
82
|
+
*/
|
|
83
|
+
export type WorkflowRunStatus = (typeof WorkflowRunStatus)[keyof typeof WorkflowRunStatus];
|
|
84
|
+
/**
|
|
85
|
+
* @public
|
|
86
|
+
* @enum
|
|
87
|
+
*/
|
|
88
|
+
export declare const RunType: {
|
|
89
|
+
readonly ON_DEMAND: "ON_DEMAND";
|
|
90
|
+
readonly SCHEDULED: "SCHEDULED";
|
|
91
|
+
};
|
|
92
|
+
/**
|
|
93
|
+
* @public
|
|
94
|
+
*/
|
|
95
|
+
export type RunType = (typeof RunType)[keyof typeof RunType];
|