@aws-sdk/client-mwaa 3.934.0 → 3.936.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 +0 -82
- package/dist-es/index.js +1 -1
- package/dist-es/models/errors.js +83 -0
- package/dist-es/models/models_0.js +0 -83
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +2 -1
- package/dist-types/models/errors.d.ts +100 -0
- package/dist-types/models/models_0.d.ts +0 -99
- package/dist-types/ts3.4/index.d.ts +2 -1
- package/dist-types/ts3.4/models/errors.d.ts +50 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -49
- package/package.json +19 -19
- 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
|
@@ -143,21 +143,6 @@ let ResourceNotFoundException$1 = class ResourceNotFoundException extends MWAASe
|
|
|
143
143
|
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
144
144
|
}
|
|
145
145
|
};
|
|
146
|
-
const EndpointManagement = {
|
|
147
|
-
CUSTOMER: "CUSTOMER",
|
|
148
|
-
SERVICE: "SERVICE",
|
|
149
|
-
};
|
|
150
|
-
const LoggingLevel = {
|
|
151
|
-
CRITICAL: "CRITICAL",
|
|
152
|
-
DEBUG: "DEBUG",
|
|
153
|
-
ERROR: "ERROR",
|
|
154
|
-
INFO: "INFO",
|
|
155
|
-
WARNING: "WARNING",
|
|
156
|
-
};
|
|
157
|
-
const WebserverAccessMode = {
|
|
158
|
-
PRIVATE_ONLY: "PRIVATE_ONLY",
|
|
159
|
-
PUBLIC_ONLY: "PUBLIC_ONLY",
|
|
160
|
-
};
|
|
161
146
|
let InternalServerException$1 = class InternalServerException extends MWAAServiceException$1 {
|
|
162
147
|
name = "InternalServerException";
|
|
163
148
|
$fault = "server";
|
|
@@ -182,36 +167,6 @@ let ValidationException$1 = class ValidationException extends MWAAServiceExcepti
|
|
|
182
167
|
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
183
168
|
}
|
|
184
169
|
};
|
|
185
|
-
const UpdateStatus = {
|
|
186
|
-
FAILED: "FAILED",
|
|
187
|
-
PENDING: "PENDING",
|
|
188
|
-
SUCCESS: "SUCCESS",
|
|
189
|
-
};
|
|
190
|
-
const WorkerReplacementStrategy = {
|
|
191
|
-
FORCED: "FORCED",
|
|
192
|
-
GRACEFUL: "GRACEFUL",
|
|
193
|
-
};
|
|
194
|
-
const EnvironmentStatus = {
|
|
195
|
-
AVAILABLE: "AVAILABLE",
|
|
196
|
-
CREATE_FAILED: "CREATE_FAILED",
|
|
197
|
-
CREATING: "CREATING",
|
|
198
|
-
CREATING_SNAPSHOT: "CREATING_SNAPSHOT",
|
|
199
|
-
DELETED: "DELETED",
|
|
200
|
-
DELETING: "DELETING",
|
|
201
|
-
MAINTENANCE: "MAINTENANCE",
|
|
202
|
-
PENDING: "PENDING",
|
|
203
|
-
ROLLING_BACK: "ROLLING_BACK",
|
|
204
|
-
UNAVAILABLE: "UNAVAILABLE",
|
|
205
|
-
UPDATE_FAILED: "UPDATE_FAILED",
|
|
206
|
-
UPDATING: "UPDATING",
|
|
207
|
-
};
|
|
208
|
-
const RestApiMethod = {
|
|
209
|
-
DELETE: "DELETE",
|
|
210
|
-
GET: "GET",
|
|
211
|
-
PATCH: "PATCH",
|
|
212
|
-
POST: "POST",
|
|
213
|
-
PUT: "PUT",
|
|
214
|
-
};
|
|
215
170
|
let RestApiClientException$1 = class RestApiClientException extends MWAAServiceException$1 {
|
|
216
171
|
name = "RestApiClientException";
|
|
217
172
|
$fault = "client";
|
|
@@ -244,35 +199,6 @@ let RestApiServerException$1 = class RestApiServerException extends MWAAServiceE
|
|
|
244
199
|
this.RestApiResponse = opts.RestApiResponse;
|
|
245
200
|
}
|
|
246
201
|
};
|
|
247
|
-
const Unit = {
|
|
248
|
-
BITS: "Bits",
|
|
249
|
-
BITS_PER_SECOND: "Bits/Second",
|
|
250
|
-
BYTES: "Bytes",
|
|
251
|
-
BYTES_PER_SECOND: "Bytes/Second",
|
|
252
|
-
COUNT: "Count",
|
|
253
|
-
COUNT_PER_SECOND: "Count/Second",
|
|
254
|
-
GIGABITS: "Gigabits",
|
|
255
|
-
GIGABITS_PER_SECOND: "Gigabits/Second",
|
|
256
|
-
GIGABYTES: "Gigabytes",
|
|
257
|
-
GIGABYTES_PER_SECOND: "Gigabytes/Second",
|
|
258
|
-
KILOBITS: "Kilobits",
|
|
259
|
-
KILOBITS_PER_SECOND: "Kilobits/Second",
|
|
260
|
-
KILOBYTES: "Kilobytes",
|
|
261
|
-
KILOBYTES_PER_SECOND: "Kilobytes/Second",
|
|
262
|
-
MEGABITS: "Megabits",
|
|
263
|
-
MEGABITS_PER_SECOND: "Megabits/Second",
|
|
264
|
-
MEGABYTES: "Megabytes",
|
|
265
|
-
MEGABYTES_PER_SECOND: "Megabytes/Second",
|
|
266
|
-
MICROSECONDS: "Microseconds",
|
|
267
|
-
MILLISECONDS: "Milliseconds",
|
|
268
|
-
NONE: "None",
|
|
269
|
-
PERCENT: "Percent",
|
|
270
|
-
SECONDS: "Seconds",
|
|
271
|
-
TERABITS: "Terabits",
|
|
272
|
-
TERABITS_PER_SECOND: "Terabits/Second",
|
|
273
|
-
TERABYTES: "Terabytes",
|
|
274
|
-
TERABYTES_PER_SECOND: "Terabytes/Second",
|
|
275
|
-
};
|
|
276
202
|
|
|
277
203
|
const _A = "Arn";
|
|
278
204
|
const _ACO = "AirflowConfigurationOptions";
|
|
@@ -1130,28 +1056,20 @@ exports.CreateCliTokenCommand = CreateCliTokenCommand;
|
|
|
1130
1056
|
exports.CreateEnvironmentCommand = CreateEnvironmentCommand;
|
|
1131
1057
|
exports.CreateWebLoginTokenCommand = CreateWebLoginTokenCommand;
|
|
1132
1058
|
exports.DeleteEnvironmentCommand = DeleteEnvironmentCommand;
|
|
1133
|
-
exports.EndpointManagement = EndpointManagement;
|
|
1134
|
-
exports.EnvironmentStatus = EnvironmentStatus;
|
|
1135
1059
|
exports.GetEnvironmentCommand = GetEnvironmentCommand;
|
|
1136
1060
|
exports.InternalServerException = InternalServerException$1;
|
|
1137
1061
|
exports.InvokeRestApiCommand = InvokeRestApiCommand;
|
|
1138
1062
|
exports.ListEnvironmentsCommand = ListEnvironmentsCommand;
|
|
1139
1063
|
exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
|
|
1140
|
-
exports.LoggingLevel = LoggingLevel;
|
|
1141
1064
|
exports.MWAA = MWAA;
|
|
1142
1065
|
exports.MWAAClient = MWAAClient;
|
|
1143
1066
|
exports.MWAAServiceException = MWAAServiceException$1;
|
|
1144
1067
|
exports.PublishMetricsCommand = PublishMetricsCommand;
|
|
1145
1068
|
exports.ResourceNotFoundException = ResourceNotFoundException$1;
|
|
1146
1069
|
exports.RestApiClientException = RestApiClientException$1;
|
|
1147
|
-
exports.RestApiMethod = RestApiMethod;
|
|
1148
1070
|
exports.RestApiServerException = RestApiServerException$1;
|
|
1149
1071
|
exports.TagResourceCommand = TagResourceCommand;
|
|
1150
|
-
exports.Unit = Unit;
|
|
1151
1072
|
exports.UntagResourceCommand = UntagResourceCommand;
|
|
1152
1073
|
exports.UpdateEnvironmentCommand = UpdateEnvironmentCommand;
|
|
1153
|
-
exports.UpdateStatus = UpdateStatus;
|
|
1154
1074
|
exports.ValidationException = ValidationException$1;
|
|
1155
|
-
exports.WebserverAccessMode = WebserverAccessMode;
|
|
1156
|
-
exports.WorkerReplacementStrategy = WorkerReplacementStrategy;
|
|
1157
1075
|
exports.paginateListEnvironments = paginateListEnvironments;
|
package/dist-es/index.js
CHANGED
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { MWAAServiceException as __BaseException } from "./MWAAServiceException";
|
|
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 ResourceNotFoundException extends __BaseException {
|
|
17
|
+
name = "ResourceNotFoundException";
|
|
18
|
+
$fault = "client";
|
|
19
|
+
constructor(opts) {
|
|
20
|
+
super({
|
|
21
|
+
name: "ResourceNotFoundException",
|
|
22
|
+
$fault: "client",
|
|
23
|
+
...opts,
|
|
24
|
+
});
|
|
25
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
export class InternalServerException extends __BaseException {
|
|
29
|
+
name = "InternalServerException";
|
|
30
|
+
$fault = "server";
|
|
31
|
+
constructor(opts) {
|
|
32
|
+
super({
|
|
33
|
+
name: "InternalServerException",
|
|
34
|
+
$fault: "server",
|
|
35
|
+
...opts,
|
|
36
|
+
});
|
|
37
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
export class ValidationException extends __BaseException {
|
|
41
|
+
name = "ValidationException";
|
|
42
|
+
$fault = "client";
|
|
43
|
+
constructor(opts) {
|
|
44
|
+
super({
|
|
45
|
+
name: "ValidationException",
|
|
46
|
+
$fault: "client",
|
|
47
|
+
...opts,
|
|
48
|
+
});
|
|
49
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
export class RestApiClientException extends __BaseException {
|
|
53
|
+
name = "RestApiClientException";
|
|
54
|
+
$fault = "client";
|
|
55
|
+
RestApiStatusCode;
|
|
56
|
+
RestApiResponse;
|
|
57
|
+
constructor(opts) {
|
|
58
|
+
super({
|
|
59
|
+
name: "RestApiClientException",
|
|
60
|
+
$fault: "client",
|
|
61
|
+
...opts,
|
|
62
|
+
});
|
|
63
|
+
Object.setPrototypeOf(this, RestApiClientException.prototype);
|
|
64
|
+
this.RestApiStatusCode = opts.RestApiStatusCode;
|
|
65
|
+
this.RestApiResponse = opts.RestApiResponse;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
export class RestApiServerException extends __BaseException {
|
|
69
|
+
name = "RestApiServerException";
|
|
70
|
+
$fault = "client";
|
|
71
|
+
RestApiStatusCode;
|
|
72
|
+
RestApiResponse;
|
|
73
|
+
constructor(opts) {
|
|
74
|
+
super({
|
|
75
|
+
name: "RestApiServerException",
|
|
76
|
+
$fault: "client",
|
|
77
|
+
...opts,
|
|
78
|
+
});
|
|
79
|
+
Object.setPrototypeOf(this, RestApiServerException.prototype);
|
|
80
|
+
this.RestApiStatusCode = opts.RestApiStatusCode;
|
|
81
|
+
this.RestApiResponse = opts.RestApiResponse;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
@@ -1,30 +1,3 @@
|
|
|
1
|
-
import { MWAAServiceException as __BaseException } from "./MWAAServiceException";
|
|
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 ResourceNotFoundException extends __BaseException {
|
|
17
|
-
name = "ResourceNotFoundException";
|
|
18
|
-
$fault = "client";
|
|
19
|
-
constructor(opts) {
|
|
20
|
-
super({
|
|
21
|
-
name: "ResourceNotFoundException",
|
|
22
|
-
$fault: "client",
|
|
23
|
-
...opts,
|
|
24
|
-
});
|
|
25
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
1
|
export const EndpointManagement = {
|
|
29
2
|
CUSTOMER: "CUSTOMER",
|
|
30
3
|
SERVICE: "SERVICE",
|
|
@@ -40,30 +13,6 @@ export const WebserverAccessMode = {
|
|
|
40
13
|
PRIVATE_ONLY: "PRIVATE_ONLY",
|
|
41
14
|
PUBLIC_ONLY: "PUBLIC_ONLY",
|
|
42
15
|
};
|
|
43
|
-
export class InternalServerException extends __BaseException {
|
|
44
|
-
name = "InternalServerException";
|
|
45
|
-
$fault = "server";
|
|
46
|
-
constructor(opts) {
|
|
47
|
-
super({
|
|
48
|
-
name: "InternalServerException",
|
|
49
|
-
$fault: "server",
|
|
50
|
-
...opts,
|
|
51
|
-
});
|
|
52
|
-
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
export class ValidationException extends __BaseException {
|
|
56
|
-
name = "ValidationException";
|
|
57
|
-
$fault = "client";
|
|
58
|
-
constructor(opts) {
|
|
59
|
-
super({
|
|
60
|
-
name: "ValidationException",
|
|
61
|
-
$fault: "client",
|
|
62
|
-
...opts,
|
|
63
|
-
});
|
|
64
|
-
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
16
|
export const UpdateStatus = {
|
|
68
17
|
FAILED: "FAILED",
|
|
69
18
|
PENDING: "PENDING",
|
|
@@ -94,38 +43,6 @@ export const RestApiMethod = {
|
|
|
94
43
|
POST: "POST",
|
|
95
44
|
PUT: "PUT",
|
|
96
45
|
};
|
|
97
|
-
export class RestApiClientException extends __BaseException {
|
|
98
|
-
name = "RestApiClientException";
|
|
99
|
-
$fault = "client";
|
|
100
|
-
RestApiStatusCode;
|
|
101
|
-
RestApiResponse;
|
|
102
|
-
constructor(opts) {
|
|
103
|
-
super({
|
|
104
|
-
name: "RestApiClientException",
|
|
105
|
-
$fault: "client",
|
|
106
|
-
...opts,
|
|
107
|
-
});
|
|
108
|
-
Object.setPrototypeOf(this, RestApiClientException.prototype);
|
|
109
|
-
this.RestApiStatusCode = opts.RestApiStatusCode;
|
|
110
|
-
this.RestApiResponse = opts.RestApiResponse;
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
export class RestApiServerException extends __BaseException {
|
|
114
|
-
name = "RestApiServerException";
|
|
115
|
-
$fault = "client";
|
|
116
|
-
RestApiStatusCode;
|
|
117
|
-
RestApiResponse;
|
|
118
|
-
constructor(opts) {
|
|
119
|
-
super({
|
|
120
|
-
name: "RestApiServerException",
|
|
121
|
-
$fault: "client",
|
|
122
|
-
...opts,
|
|
123
|
-
});
|
|
124
|
-
Object.setPrototypeOf(this, RestApiServerException.prototype);
|
|
125
|
-
this.RestApiStatusCode = opts.RestApiStatusCode;
|
|
126
|
-
this.RestApiResponse = opts.RestApiResponse;
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
46
|
export const Unit = {
|
|
130
47
|
BITS: "Bits",
|
|
131
48
|
BITS_PER_SECOND: "Bits/Second",
|
|
@@ -141,7 +141,7 @@ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.mwaa";
|
|
|
141
141
|
const _tK = "tagKeys";
|
|
142
142
|
const n0 = "com.amazonaws.mwaa";
|
|
143
143
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
144
|
-
import { AccessDeniedException as __AccessDeniedException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, RestApiClientException as __RestApiClientException, RestApiServerException as __RestApiServerException, ValidationException as __ValidationException, } from "../models/
|
|
144
|
+
import { AccessDeniedException as __AccessDeniedException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, RestApiClientException as __RestApiClientException, RestApiServerException as __RestApiServerException, ValidationException as __ValidationException, } from "../models/errors";
|
|
145
145
|
import { MWAAServiceException as __MWAAServiceException } from "../models/MWAAServiceException";
|
|
146
146
|
export var ConfigValue = [0, n0, _CV, 8, 0];
|
|
147
147
|
export var RestApiRequestBody = [0, n0, _RARB, 8, 15];
|
package/dist-types/index.d.ts
CHANGED
|
@@ -87,5 +87,6 @@ export type { RuntimeExtension } from "./runtimeExtensions";
|
|
|
87
87
|
export type { MWAAExtensionConfiguration } from "./extensionConfiguration";
|
|
88
88
|
export * from "./commands";
|
|
89
89
|
export * from "./pagination";
|
|
90
|
-
export * from "./models";
|
|
90
|
+
export * from "./models/errors";
|
|
91
|
+
export type * from "./models/models_0";
|
|
91
92
|
export { MWAAServiceException } from "./models/MWAAServiceException";
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { DocumentType as __DocumentType } from "@smithy/types";
|
|
3
|
+
import { MWAAServiceException as __BaseException } from "./MWAAServiceException";
|
|
4
|
+
/**
|
|
5
|
+
* <p>Access to the Apache Airflow Web UI or CLI has been denied due to insufficient permissions. To learn more, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/access-policies.html">Accessing an Amazon MWAA environment</a>.</p>
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
9
|
+
readonly name: "AccessDeniedException";
|
|
10
|
+
readonly $fault: "client";
|
|
11
|
+
Message?: string | undefined;
|
|
12
|
+
/**
|
|
13
|
+
* @internal
|
|
14
|
+
*/
|
|
15
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* <p>ResourceNotFoundException: The resource is not available.</p>
|
|
19
|
+
* @public
|
|
20
|
+
*/
|
|
21
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
22
|
+
readonly name: "ResourceNotFoundException";
|
|
23
|
+
readonly $fault: "client";
|
|
24
|
+
/**
|
|
25
|
+
* @internal
|
|
26
|
+
*/
|
|
27
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* <p>InternalServerException: An internal error has occurred.</p>
|
|
31
|
+
* @public
|
|
32
|
+
*/
|
|
33
|
+
export declare class InternalServerException extends __BaseException {
|
|
34
|
+
readonly name: "InternalServerException";
|
|
35
|
+
readonly $fault: "server";
|
|
36
|
+
/**
|
|
37
|
+
* @internal
|
|
38
|
+
*/
|
|
39
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* <p>ValidationException: The provided input is not valid.</p>
|
|
43
|
+
* @public
|
|
44
|
+
*/
|
|
45
|
+
export declare class ValidationException extends __BaseException {
|
|
46
|
+
readonly name: "ValidationException";
|
|
47
|
+
readonly $fault: "client";
|
|
48
|
+
/**
|
|
49
|
+
* @internal
|
|
50
|
+
*/
|
|
51
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* <p>An exception indicating that a client-side error occurred during the Apache Airflow
|
|
55
|
+
* REST API call.</p>
|
|
56
|
+
* @public
|
|
57
|
+
*/
|
|
58
|
+
export declare class RestApiClientException extends __BaseException {
|
|
59
|
+
readonly name: "RestApiClientException";
|
|
60
|
+
readonly $fault: "client";
|
|
61
|
+
/**
|
|
62
|
+
* <p>The HTTP status code returned by the Apache Airflow REST API call.</p>
|
|
63
|
+
* @public
|
|
64
|
+
*/
|
|
65
|
+
RestApiStatusCode?: number | undefined;
|
|
66
|
+
/**
|
|
67
|
+
* <p>The error response data from the Apache Airflow REST API call, provided as a JSON
|
|
68
|
+
* object.</p>
|
|
69
|
+
* @public
|
|
70
|
+
*/
|
|
71
|
+
RestApiResponse?: __DocumentType | undefined;
|
|
72
|
+
/**
|
|
73
|
+
* @internal
|
|
74
|
+
*/
|
|
75
|
+
constructor(opts: __ExceptionOptionType<RestApiClientException, __BaseException>);
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* <p>An exception indicating that a server-side error occurred during the Apache Airflow
|
|
79
|
+
* REST API call.</p>
|
|
80
|
+
* @public
|
|
81
|
+
*/
|
|
82
|
+
export declare class RestApiServerException extends __BaseException {
|
|
83
|
+
readonly name: "RestApiServerException";
|
|
84
|
+
readonly $fault: "client";
|
|
85
|
+
/**
|
|
86
|
+
* <p>The HTTP status code returned by the Apache Airflow REST API call.</p>
|
|
87
|
+
* @public
|
|
88
|
+
*/
|
|
89
|
+
RestApiStatusCode?: number | undefined;
|
|
90
|
+
/**
|
|
91
|
+
* <p>The error response data from the Apache Airflow REST API call, provided as a JSON
|
|
92
|
+
* object.</p>
|
|
93
|
+
* @public
|
|
94
|
+
*/
|
|
95
|
+
RestApiResponse?: __DocumentType | undefined;
|
|
96
|
+
/**
|
|
97
|
+
* @internal
|
|
98
|
+
*/
|
|
99
|
+
constructor(opts: __ExceptionOptionType<RestApiServerException, __BaseException>);
|
|
100
|
+
}
|
|
@@ -1,19 +1,4 @@
|
|
|
1
|
-
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
1
|
import { DocumentType as __DocumentType } from "@smithy/types";
|
|
3
|
-
import { MWAAServiceException as __BaseException } from "./MWAAServiceException";
|
|
4
|
-
/**
|
|
5
|
-
* <p>Access to the Apache Airflow Web UI or CLI has been denied due to insufficient permissions. To learn more, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/access-policies.html">Accessing an Amazon MWAA environment</a>.</p>
|
|
6
|
-
* @public
|
|
7
|
-
*/
|
|
8
|
-
export declare class AccessDeniedException extends __BaseException {
|
|
9
|
-
readonly name: "AccessDeniedException";
|
|
10
|
-
readonly $fault: "client";
|
|
11
|
-
Message?: string | undefined;
|
|
12
|
-
/**
|
|
13
|
-
* @internal
|
|
14
|
-
*/
|
|
15
|
-
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
16
|
-
}
|
|
17
2
|
/**
|
|
18
3
|
* @public
|
|
19
4
|
*/
|
|
@@ -39,18 +24,6 @@ export interface CreateCliTokenResponse {
|
|
|
39
24
|
*/
|
|
40
25
|
WebServerHostname?: string | undefined;
|
|
41
26
|
}
|
|
42
|
-
/**
|
|
43
|
-
* <p>ResourceNotFoundException: The resource is not available.</p>
|
|
44
|
-
* @public
|
|
45
|
-
*/
|
|
46
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
47
|
-
readonly name: "ResourceNotFoundException";
|
|
48
|
-
readonly $fault: "client";
|
|
49
|
-
/**
|
|
50
|
-
* @internal
|
|
51
|
-
*/
|
|
52
|
-
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
53
|
-
}
|
|
54
27
|
/**
|
|
55
28
|
* @public
|
|
56
29
|
* @enum
|
|
@@ -346,30 +319,6 @@ export interface CreateEnvironmentOutput {
|
|
|
346
319
|
*/
|
|
347
320
|
Arn?: string | undefined;
|
|
348
321
|
}
|
|
349
|
-
/**
|
|
350
|
-
* <p>InternalServerException: An internal error has occurred.</p>
|
|
351
|
-
* @public
|
|
352
|
-
*/
|
|
353
|
-
export declare class InternalServerException extends __BaseException {
|
|
354
|
-
readonly name: "InternalServerException";
|
|
355
|
-
readonly $fault: "server";
|
|
356
|
-
/**
|
|
357
|
-
* @internal
|
|
358
|
-
*/
|
|
359
|
-
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
360
|
-
}
|
|
361
|
-
/**
|
|
362
|
-
* <p>ValidationException: The provided input is not valid.</p>
|
|
363
|
-
* @public
|
|
364
|
-
*/
|
|
365
|
-
export declare class ValidationException extends __BaseException {
|
|
366
|
-
readonly name: "ValidationException";
|
|
367
|
-
readonly $fault: "client";
|
|
368
|
-
/**
|
|
369
|
-
* @internal
|
|
370
|
-
*/
|
|
371
|
-
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
372
|
-
}
|
|
373
322
|
/**
|
|
374
323
|
* @public
|
|
375
324
|
*/
|
|
@@ -940,54 +889,6 @@ export interface InvokeRestApiResponse {
|
|
|
940
889
|
*/
|
|
941
890
|
RestApiResponse?: __DocumentType | undefined;
|
|
942
891
|
}
|
|
943
|
-
/**
|
|
944
|
-
* <p>An exception indicating that a client-side error occurred during the Apache Airflow
|
|
945
|
-
* REST API call.</p>
|
|
946
|
-
* @public
|
|
947
|
-
*/
|
|
948
|
-
export declare class RestApiClientException extends __BaseException {
|
|
949
|
-
readonly name: "RestApiClientException";
|
|
950
|
-
readonly $fault: "client";
|
|
951
|
-
/**
|
|
952
|
-
* <p>The HTTP status code returned by the Apache Airflow REST API call.</p>
|
|
953
|
-
* @public
|
|
954
|
-
*/
|
|
955
|
-
RestApiStatusCode?: number | undefined;
|
|
956
|
-
/**
|
|
957
|
-
* <p>The error response data from the Apache Airflow REST API call, provided as a JSON
|
|
958
|
-
* object.</p>
|
|
959
|
-
* @public
|
|
960
|
-
*/
|
|
961
|
-
RestApiResponse?: __DocumentType | undefined;
|
|
962
|
-
/**
|
|
963
|
-
* @internal
|
|
964
|
-
*/
|
|
965
|
-
constructor(opts: __ExceptionOptionType<RestApiClientException, __BaseException>);
|
|
966
|
-
}
|
|
967
|
-
/**
|
|
968
|
-
* <p>An exception indicating that a server-side error occurred during the Apache Airflow
|
|
969
|
-
* REST API call.</p>
|
|
970
|
-
* @public
|
|
971
|
-
*/
|
|
972
|
-
export declare class RestApiServerException extends __BaseException {
|
|
973
|
-
readonly name: "RestApiServerException";
|
|
974
|
-
readonly $fault: "client";
|
|
975
|
-
/**
|
|
976
|
-
* <p>The HTTP status code returned by the Apache Airflow REST API call.</p>
|
|
977
|
-
* @public
|
|
978
|
-
*/
|
|
979
|
-
RestApiStatusCode?: number | undefined;
|
|
980
|
-
/**
|
|
981
|
-
* <p>The error response data from the Apache Airflow REST API call, provided as a JSON
|
|
982
|
-
* object.</p>
|
|
983
|
-
* @public
|
|
984
|
-
*/
|
|
985
|
-
RestApiResponse?: __DocumentType | undefined;
|
|
986
|
-
/**
|
|
987
|
-
* @internal
|
|
988
|
-
*/
|
|
989
|
-
constructor(opts: __ExceptionOptionType<RestApiServerException, __BaseException>);
|
|
990
|
-
}
|
|
991
892
|
/**
|
|
992
893
|
* @public
|
|
993
894
|
*/
|
|
@@ -5,5 +5,6 @@ export { RuntimeExtension } from "./runtimeExtensions";
|
|
|
5
5
|
export { MWAAExtensionConfiguration } from "./extensionConfiguration";
|
|
6
6
|
export * from "./commands";
|
|
7
7
|
export * from "./pagination";
|
|
8
|
-
export * from "./models";
|
|
8
|
+
export * from "./models/errors";
|
|
9
|
+
export * from "./models/models_0";
|
|
9
10
|
export { MWAAServiceException } from "./models/MWAAServiceException";
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { DocumentType as __DocumentType } from "@smithy/types";
|
|
3
|
+
import { MWAAServiceException as __BaseException } from "./MWAAServiceException";
|
|
4
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
5
|
+
readonly name: "AccessDeniedException";
|
|
6
|
+
readonly $fault: "client";
|
|
7
|
+
Message?: string | undefined;
|
|
8
|
+
constructor(
|
|
9
|
+
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
10
|
+
);
|
|
11
|
+
}
|
|
12
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
13
|
+
readonly name: "ResourceNotFoundException";
|
|
14
|
+
readonly $fault: "client";
|
|
15
|
+
constructor(
|
|
16
|
+
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
17
|
+
);
|
|
18
|
+
}
|
|
19
|
+
export declare class InternalServerException extends __BaseException {
|
|
20
|
+
readonly name: "InternalServerException";
|
|
21
|
+
readonly $fault: "server";
|
|
22
|
+
constructor(
|
|
23
|
+
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
24
|
+
);
|
|
25
|
+
}
|
|
26
|
+
export declare class ValidationException extends __BaseException {
|
|
27
|
+
readonly name: "ValidationException";
|
|
28
|
+
readonly $fault: "client";
|
|
29
|
+
constructor(
|
|
30
|
+
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
31
|
+
);
|
|
32
|
+
}
|
|
33
|
+
export declare class RestApiClientException extends __BaseException {
|
|
34
|
+
readonly name: "RestApiClientException";
|
|
35
|
+
readonly $fault: "client";
|
|
36
|
+
RestApiStatusCode?: number | undefined;
|
|
37
|
+
RestApiResponse?: __DocumentType | undefined;
|
|
38
|
+
constructor(
|
|
39
|
+
opts: __ExceptionOptionType<RestApiClientException, __BaseException>
|
|
40
|
+
);
|
|
41
|
+
}
|
|
42
|
+
export declare class RestApiServerException extends __BaseException {
|
|
43
|
+
readonly name: "RestApiServerException";
|
|
44
|
+
readonly $fault: "client";
|
|
45
|
+
RestApiStatusCode?: number | undefined;
|
|
46
|
+
RestApiResponse?: __DocumentType | undefined;
|
|
47
|
+
constructor(
|
|
48
|
+
opts: __ExceptionOptionType<RestApiServerException, __BaseException>
|
|
49
|
+
);
|
|
50
|
+
}
|
|
@@ -1,14 +1,4 @@
|
|
|
1
|
-
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
1
|
import { DocumentType as __DocumentType } from "@smithy/types";
|
|
3
|
-
import { MWAAServiceException as __BaseException } from "./MWAAServiceException";
|
|
4
|
-
export declare class AccessDeniedException extends __BaseException {
|
|
5
|
-
readonly name: "AccessDeniedException";
|
|
6
|
-
readonly $fault: "client";
|
|
7
|
-
Message?: string | undefined;
|
|
8
|
-
constructor(
|
|
9
|
-
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
10
|
-
);
|
|
11
|
-
}
|
|
12
2
|
export interface CreateCliTokenRequest {
|
|
13
3
|
Name: string | undefined;
|
|
14
4
|
}
|
|
@@ -16,13 +6,6 @@ export interface CreateCliTokenResponse {
|
|
|
16
6
|
CliToken?: string | undefined;
|
|
17
7
|
WebServerHostname?: string | undefined;
|
|
18
8
|
}
|
|
19
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
20
|
-
readonly name: "ResourceNotFoundException";
|
|
21
|
-
readonly $fault: "client";
|
|
22
|
-
constructor(
|
|
23
|
-
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
24
|
-
);
|
|
25
|
-
}
|
|
26
9
|
export declare const EndpointManagement: {
|
|
27
10
|
readonly CUSTOMER: "CUSTOMER";
|
|
28
11
|
readonly SERVICE: "SERVICE";
|
|
@@ -88,20 +71,6 @@ export interface CreateEnvironmentInput {
|
|
|
88
71
|
export interface CreateEnvironmentOutput {
|
|
89
72
|
Arn?: string | undefined;
|
|
90
73
|
}
|
|
91
|
-
export declare class InternalServerException extends __BaseException {
|
|
92
|
-
readonly name: "InternalServerException";
|
|
93
|
-
readonly $fault: "server";
|
|
94
|
-
constructor(
|
|
95
|
-
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
96
|
-
);
|
|
97
|
-
}
|
|
98
|
-
export declare class ValidationException extends __BaseException {
|
|
99
|
-
readonly name: "ValidationException";
|
|
100
|
-
readonly $fault: "client";
|
|
101
|
-
constructor(
|
|
102
|
-
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
103
|
-
);
|
|
104
|
-
}
|
|
105
74
|
export interface CreateWebLoginTokenRequest {
|
|
106
75
|
Name: string | undefined;
|
|
107
76
|
}
|
|
@@ -227,24 +196,6 @@ export interface InvokeRestApiResponse {
|
|
|
227
196
|
RestApiStatusCode?: number | undefined;
|
|
228
197
|
RestApiResponse?: __DocumentType | undefined;
|
|
229
198
|
}
|
|
230
|
-
export declare class RestApiClientException extends __BaseException {
|
|
231
|
-
readonly name: "RestApiClientException";
|
|
232
|
-
readonly $fault: "client";
|
|
233
|
-
RestApiStatusCode?: number | undefined;
|
|
234
|
-
RestApiResponse?: __DocumentType | undefined;
|
|
235
|
-
constructor(
|
|
236
|
-
opts: __ExceptionOptionType<RestApiClientException, __BaseException>
|
|
237
|
-
);
|
|
238
|
-
}
|
|
239
|
-
export declare class RestApiServerException extends __BaseException {
|
|
240
|
-
readonly name: "RestApiServerException";
|
|
241
|
-
readonly $fault: "client";
|
|
242
|
-
RestApiStatusCode?: number | undefined;
|
|
243
|
-
RestApiResponse?: __DocumentType | undefined;
|
|
244
|
-
constructor(
|
|
245
|
-
opts: __ExceptionOptionType<RestApiServerException, __BaseException>
|
|
246
|
-
);
|
|
247
|
-
}
|
|
248
199
|
export interface ListEnvironmentsInput {
|
|
249
200
|
NextToken?: string | undefined;
|
|
250
201
|
MaxResults?: number | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-mwaa",
|
|
3
3
|
"description": "AWS SDK for JavaScript Mwaa Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.936.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-mwaa",
|
|
@@ -20,38 +20,38 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
26
|
-
"@aws-sdk/middleware-logger": "3.
|
|
27
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
29
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
30
|
-
"@aws-sdk/types": "3.
|
|
31
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.936.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.936.0",
|
|
25
|
+
"@aws-sdk/middleware-host-header": "3.936.0",
|
|
26
|
+
"@aws-sdk/middleware-logger": "3.936.0",
|
|
27
|
+
"@aws-sdk/middleware-recursion-detection": "3.936.0",
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.936.0",
|
|
29
|
+
"@aws-sdk/region-config-resolver": "3.936.0",
|
|
30
|
+
"@aws-sdk/types": "3.936.0",
|
|
31
|
+
"@aws-sdk/util-endpoints": "3.936.0",
|
|
32
|
+
"@aws-sdk/util-user-agent-browser": "3.936.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.936.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.4.3",
|
|
35
|
-
"@smithy/core": "^3.18.
|
|
35
|
+
"@smithy/core": "^3.18.5",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.3.6",
|
|
37
37
|
"@smithy/hash-node": "^4.2.5",
|
|
38
38
|
"@smithy/invalid-dependency": "^4.2.5",
|
|
39
39
|
"@smithy/middleware-content-length": "^4.2.5",
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.3.
|
|
41
|
-
"@smithy/middleware-retry": "^4.4.
|
|
42
|
-
"@smithy/middleware-serde": "^4.2.
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.3.12",
|
|
41
|
+
"@smithy/middleware-retry": "^4.4.12",
|
|
42
|
+
"@smithy/middleware-serde": "^4.2.6",
|
|
43
43
|
"@smithy/middleware-stack": "^4.2.5",
|
|
44
44
|
"@smithy/node-config-provider": "^4.3.5",
|
|
45
45
|
"@smithy/node-http-handler": "^4.4.5",
|
|
46
46
|
"@smithy/protocol-http": "^5.3.5",
|
|
47
|
-
"@smithy/smithy-client": "^4.9.
|
|
47
|
+
"@smithy/smithy-client": "^4.9.8",
|
|
48
48
|
"@smithy/types": "^4.9.0",
|
|
49
49
|
"@smithy/url-parser": "^4.2.5",
|
|
50
50
|
"@smithy/util-base64": "^4.3.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.3.11",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.2.14",
|
|
55
55
|
"@smithy/util-endpoints": "^3.2.5",
|
|
56
56
|
"@smithy/util-middleware": "^4.2.5",
|
|
57
57
|
"@smithy/util-retry": "^4.2.5",
|
package/dist-es/models/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|