@aws-sdk/client-mwaa 3.301.0 → 3.305.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/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_0.js +55 -60
- package/dist-cjs/protocols/Aws_restJson1.js +10 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +55 -60
- package/dist-es/protocols/Aws_restJson1.js +10 -0
- package/dist-types/commands/CreateEnvironmentCommand.d.ts +2 -0
- package/dist-types/commands/UpdateEnvironmentCommand.d.ts +2 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +215 -102
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +68 -55
- package/package.json +34 -34
|
@@ -22,13 +22,14 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
22
22
|
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
23
23
|
);
|
|
24
24
|
}
|
|
25
|
-
export declare
|
|
26
|
-
CRITICAL
|
|
27
|
-
DEBUG
|
|
28
|
-
ERROR
|
|
29
|
-
INFO
|
|
30
|
-
WARNING
|
|
31
|
-
}
|
|
25
|
+
export declare const LoggingLevel: {
|
|
26
|
+
readonly CRITICAL: "CRITICAL";
|
|
27
|
+
readonly DEBUG: "DEBUG";
|
|
28
|
+
readonly ERROR: "ERROR";
|
|
29
|
+
readonly INFO: "INFO";
|
|
30
|
+
readonly WARNING: "WARNING";
|
|
31
|
+
};
|
|
32
|
+
export type LoggingLevel = (typeof LoggingLevel)[keyof typeof LoggingLevel];
|
|
32
33
|
export interface ModuleLoggingConfigurationInput {
|
|
33
34
|
Enabled: boolean | undefined;
|
|
34
35
|
LogLevel: LoggingLevel | string | undefined;
|
|
@@ -44,10 +45,12 @@ export interface NetworkConfiguration {
|
|
|
44
45
|
SubnetIds?: string[];
|
|
45
46
|
SecurityGroupIds?: string[];
|
|
46
47
|
}
|
|
47
|
-
export declare
|
|
48
|
-
PRIVATE_ONLY
|
|
49
|
-
PUBLIC_ONLY
|
|
50
|
-
}
|
|
48
|
+
export declare const WebserverAccessMode: {
|
|
49
|
+
readonly PRIVATE_ONLY: "PRIVATE_ONLY";
|
|
50
|
+
readonly PUBLIC_ONLY: "PUBLIC_ONLY";
|
|
51
|
+
};
|
|
52
|
+
export type WebserverAccessMode =
|
|
53
|
+
(typeof WebserverAccessMode)[keyof typeof WebserverAccessMode];
|
|
51
54
|
export interface CreateEnvironmentInput {
|
|
52
55
|
Name: string | undefined;
|
|
53
56
|
ExecutionRoleArn: string | undefined;
|
|
@@ -58,6 +61,8 @@ export interface CreateEnvironmentInput {
|
|
|
58
61
|
PluginsS3ObjectVersion?: string;
|
|
59
62
|
RequirementsS3Path?: string;
|
|
60
63
|
RequirementsS3ObjectVersion?: string;
|
|
64
|
+
StartupScriptS3Path?: string;
|
|
65
|
+
StartupScriptS3ObjectVersion?: string;
|
|
61
66
|
AirflowConfigurationOptions?: Record<string, string>;
|
|
62
67
|
EnvironmentClass?: string;
|
|
63
68
|
MaxWorkers?: number;
|
|
@@ -105,11 +110,12 @@ export interface UpdateError {
|
|
|
105
110
|
ErrorCode?: string;
|
|
106
111
|
ErrorMessage?: string;
|
|
107
112
|
}
|
|
108
|
-
export declare
|
|
109
|
-
FAILED
|
|
110
|
-
PENDING
|
|
111
|
-
SUCCESS
|
|
112
|
-
}
|
|
113
|
+
export declare const UpdateStatus: {
|
|
114
|
+
readonly FAILED: "FAILED";
|
|
115
|
+
readonly PENDING: "PENDING";
|
|
116
|
+
readonly SUCCESS: "SUCCESS";
|
|
117
|
+
};
|
|
118
|
+
export type UpdateStatus = (typeof UpdateStatus)[keyof typeof UpdateStatus];
|
|
113
119
|
export interface LastUpdate {
|
|
114
120
|
Status?: UpdateStatus | string;
|
|
115
121
|
CreatedAt?: Date;
|
|
@@ -128,16 +134,18 @@ export interface LoggingConfiguration {
|
|
|
128
134
|
WorkerLogs?: ModuleLoggingConfiguration;
|
|
129
135
|
TaskLogs?: ModuleLoggingConfiguration;
|
|
130
136
|
}
|
|
131
|
-
export declare
|
|
132
|
-
AVAILABLE
|
|
133
|
-
CREATE_FAILED
|
|
134
|
-
CREATING
|
|
135
|
-
DELETED
|
|
136
|
-
DELETING
|
|
137
|
-
UNAVAILABLE
|
|
138
|
-
UPDATE_FAILED
|
|
139
|
-
UPDATING
|
|
140
|
-
}
|
|
137
|
+
export declare const EnvironmentStatus: {
|
|
138
|
+
readonly AVAILABLE: "AVAILABLE";
|
|
139
|
+
readonly CREATE_FAILED: "CREATE_FAILED";
|
|
140
|
+
readonly CREATING: "CREATING";
|
|
141
|
+
readonly DELETED: "DELETED";
|
|
142
|
+
readonly DELETING: "DELETING";
|
|
143
|
+
readonly UNAVAILABLE: "UNAVAILABLE";
|
|
144
|
+
readonly UPDATE_FAILED: "UPDATE_FAILED";
|
|
145
|
+
readonly UPDATING: "UPDATING";
|
|
146
|
+
};
|
|
147
|
+
export type EnvironmentStatus =
|
|
148
|
+
(typeof EnvironmentStatus)[keyof typeof EnvironmentStatus];
|
|
141
149
|
export interface Environment {
|
|
142
150
|
Name?: string;
|
|
143
151
|
Status?: EnvironmentStatus | string;
|
|
@@ -154,6 +162,8 @@ export interface Environment {
|
|
|
154
162
|
PluginsS3ObjectVersion?: string;
|
|
155
163
|
RequirementsS3Path?: string;
|
|
156
164
|
RequirementsS3ObjectVersion?: string;
|
|
165
|
+
StartupScriptS3Path?: string;
|
|
166
|
+
StartupScriptS3ObjectVersion?: string;
|
|
157
167
|
AirflowConfigurationOptions?: Record<string, string>;
|
|
158
168
|
EnvironmentClass?: string;
|
|
159
169
|
MaxWorkers?: number;
|
|
@@ -193,35 +203,36 @@ export interface StatisticSet {
|
|
|
193
203
|
Minimum?: number;
|
|
194
204
|
Maximum?: number;
|
|
195
205
|
}
|
|
196
|
-
export declare
|
|
197
|
-
BITS
|
|
198
|
-
BITS_PER_SECOND
|
|
199
|
-
BYTES
|
|
200
|
-
BYTES_PER_SECOND
|
|
201
|
-
COUNT
|
|
202
|
-
COUNT_PER_SECOND
|
|
203
|
-
GIGABITS
|
|
204
|
-
GIGABITS_PER_SECOND
|
|
205
|
-
GIGABYTES
|
|
206
|
-
GIGABYTES_PER_SECOND
|
|
207
|
-
KILOBITS
|
|
208
|
-
KILOBITS_PER_SECOND
|
|
209
|
-
KILOBYTES
|
|
210
|
-
KILOBYTES_PER_SECOND
|
|
211
|
-
MEGABITS
|
|
212
|
-
MEGABITS_PER_SECOND
|
|
213
|
-
MEGABYTES
|
|
214
|
-
MEGABYTES_PER_SECOND
|
|
215
|
-
MICROSECONDS
|
|
216
|
-
MILLISECONDS
|
|
217
|
-
NONE
|
|
218
|
-
PERCENT
|
|
219
|
-
SECONDS
|
|
220
|
-
TERABITS
|
|
221
|
-
TERABITS_PER_SECOND
|
|
222
|
-
TERABYTES
|
|
223
|
-
TERABYTES_PER_SECOND
|
|
224
|
-
}
|
|
206
|
+
export declare const Unit: {
|
|
207
|
+
readonly BITS: "Bits";
|
|
208
|
+
readonly BITS_PER_SECOND: "Bits/Second";
|
|
209
|
+
readonly BYTES: "Bytes";
|
|
210
|
+
readonly BYTES_PER_SECOND: "Bytes/Second";
|
|
211
|
+
readonly COUNT: "Count";
|
|
212
|
+
readonly COUNT_PER_SECOND: "Count/Second";
|
|
213
|
+
readonly GIGABITS: "Gigabits";
|
|
214
|
+
readonly GIGABITS_PER_SECOND: "Gigabits/Second";
|
|
215
|
+
readonly GIGABYTES: "Gigabytes";
|
|
216
|
+
readonly GIGABYTES_PER_SECOND: "Gigabytes/Second";
|
|
217
|
+
readonly KILOBITS: "Kilobits";
|
|
218
|
+
readonly KILOBITS_PER_SECOND: "Kilobits/Second";
|
|
219
|
+
readonly KILOBYTES: "Kilobytes";
|
|
220
|
+
readonly KILOBYTES_PER_SECOND: "Kilobytes/Second";
|
|
221
|
+
readonly MEGABITS: "Megabits";
|
|
222
|
+
readonly MEGABITS_PER_SECOND: "Megabits/Second";
|
|
223
|
+
readonly MEGABYTES: "Megabytes";
|
|
224
|
+
readonly MEGABYTES_PER_SECOND: "Megabytes/Second";
|
|
225
|
+
readonly MICROSECONDS: "Microseconds";
|
|
226
|
+
readonly MILLISECONDS: "Milliseconds";
|
|
227
|
+
readonly NONE: "None";
|
|
228
|
+
readonly PERCENT: "Percent";
|
|
229
|
+
readonly SECONDS: "Seconds";
|
|
230
|
+
readonly TERABITS: "Terabits";
|
|
231
|
+
readonly TERABITS_PER_SECOND: "Terabits/Second";
|
|
232
|
+
readonly TERABYTES: "Terabytes";
|
|
233
|
+
readonly TERABYTES_PER_SECOND: "Terabytes/Second";
|
|
234
|
+
};
|
|
235
|
+
export type Unit = (typeof Unit)[keyof typeof Unit];
|
|
225
236
|
export interface MetricDatum {
|
|
226
237
|
MetricName: string | undefined;
|
|
227
238
|
Timestamp: Date | undefined;
|
|
@@ -258,6 +269,8 @@ export interface UpdateEnvironmentInput {
|
|
|
258
269
|
PluginsS3ObjectVersion?: string;
|
|
259
270
|
RequirementsS3Path?: string;
|
|
260
271
|
RequirementsS3ObjectVersion?: string;
|
|
272
|
+
StartupScriptS3Path?: string;
|
|
273
|
+
StartupScriptS3ObjectVersion?: string;
|
|
261
274
|
AirflowConfigurationOptions?: Record<string, string>;
|
|
262
275
|
EnvironmentClass?: string;
|
|
263
276
|
MaxWorkers?: number;
|
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.305.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,42 +21,42 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
28
|
-
"@aws-sdk/hash-node": "3.
|
|
29
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
30
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
31
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
32
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
33
|
-
"@aws-sdk/middleware-logger": "3.
|
|
34
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
36
|
-
"@aws-sdk/middleware-serde": "3.
|
|
37
|
-
"@aws-sdk/middleware-signing": "3.
|
|
38
|
-
"@aws-sdk/middleware-stack": "3.
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
41
|
-
"@aws-sdk/node-http-handler": "3.
|
|
42
|
-
"@aws-sdk/protocol-http": "3.
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
44
|
-
"@aws-sdk/types": "3.
|
|
45
|
-
"@aws-sdk/url-parser": "3.
|
|
46
|
-
"@aws-sdk/util-base64": "3.
|
|
47
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
48
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
51
|
-
"@aws-sdk/util-endpoints": "3.
|
|
52
|
-
"@aws-sdk/util-retry": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
55
|
-
"@aws-sdk/util-utf8": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.303.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.303.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.303.0",
|
|
27
|
+
"@aws-sdk/fetch-http-handler": "3.303.0",
|
|
28
|
+
"@aws-sdk/hash-node": "3.303.0",
|
|
29
|
+
"@aws-sdk/invalid-dependency": "3.303.0",
|
|
30
|
+
"@aws-sdk/middleware-content-length": "3.303.0",
|
|
31
|
+
"@aws-sdk/middleware-endpoint": "3.303.0",
|
|
32
|
+
"@aws-sdk/middleware-host-header": "3.303.0",
|
|
33
|
+
"@aws-sdk/middleware-logger": "3.303.0",
|
|
34
|
+
"@aws-sdk/middleware-recursion-detection": "3.303.0",
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.303.0",
|
|
36
|
+
"@aws-sdk/middleware-serde": "3.303.0",
|
|
37
|
+
"@aws-sdk/middleware-signing": "3.303.0",
|
|
38
|
+
"@aws-sdk/middleware-stack": "3.303.0",
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.303.0",
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.303.0",
|
|
41
|
+
"@aws-sdk/node-http-handler": "3.303.0",
|
|
42
|
+
"@aws-sdk/protocol-http": "3.303.0",
|
|
43
|
+
"@aws-sdk/smithy-client": "3.303.0",
|
|
44
|
+
"@aws-sdk/types": "3.303.0",
|
|
45
|
+
"@aws-sdk/url-parser": "3.303.0",
|
|
46
|
+
"@aws-sdk/util-base64": "3.303.0",
|
|
47
|
+
"@aws-sdk/util-body-length-browser": "3.303.0",
|
|
48
|
+
"@aws-sdk/util-body-length-node": "3.303.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.303.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.303.0",
|
|
51
|
+
"@aws-sdk/util-endpoints": "3.303.0",
|
|
52
|
+
"@aws-sdk/util-retry": "3.303.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-browser": "3.303.0",
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.303.0",
|
|
55
|
+
"@aws-sdk/util-utf8": "3.303.0",
|
|
56
56
|
"tslib": "^2.5.0"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
59
|
+
"@aws-sdk/service-client-documentation-generator": "3.303.0",
|
|
60
60
|
"@tsconfig/node14": "1.0.3",
|
|
61
61
|
"@types/node": "^14.14.31",
|
|
62
62
|
"concurrently": "7.0.0",
|