@aws-sdk/client-mwaa 3.50.0 → 3.53.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/CHANGELOG.md +27 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/MWAAServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +55 -1
- package/dist-cjs/protocols/Aws_restJson1.js +105 -315
- package/dist-es/index.js +1 -0
- package/dist-es/models/MWAAServiceException.js +12 -0
- package/dist-es/models/models_0.js +51 -1
- package/dist-es/protocols/Aws_restJson1.js +215 -364
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/MWAAServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +30 -16
- package/dist-types/ts3.4/MWAA.d.ts +60 -0
- package/dist-types/ts3.4/MWAAClient.d.ts +84 -0
- package/dist-types/ts3.4/commands/CreateCliTokenCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateEnvironmentCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateWebLoginTokenCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteEnvironmentCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetEnvironmentCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListEnvironmentsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PublishMetricsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateEnvironmentCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +11 -0
- package/dist-types/ts3.4/endpoints.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +6 -0
- package/dist-types/ts3.4/models/MWAAServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +563 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListEnvironmentsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +35 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
- package/package.json +33 -33
|
@@ -0,0 +1,563 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { MWAAServiceException as __BaseException } from "./MWAAServiceException";
|
|
3
|
+
|
|
4
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
5
|
+
readonly name: "AccessDeniedException";
|
|
6
|
+
readonly $fault: "client";
|
|
7
|
+
Message?: string;
|
|
8
|
+
|
|
9
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
10
|
+
}
|
|
11
|
+
export interface CreateCliTokenRequest {
|
|
12
|
+
|
|
13
|
+
Name: string | undefined;
|
|
14
|
+
}
|
|
15
|
+
export declare namespace CreateCliTokenRequest {
|
|
16
|
+
|
|
17
|
+
const filterSensitiveLog: (obj: CreateCliTokenRequest) => any;
|
|
18
|
+
}
|
|
19
|
+
export interface CreateCliTokenResponse {
|
|
20
|
+
|
|
21
|
+
CliToken?: string;
|
|
22
|
+
|
|
23
|
+
WebServerHostname?: string;
|
|
24
|
+
}
|
|
25
|
+
export declare namespace CreateCliTokenResponse {
|
|
26
|
+
|
|
27
|
+
const filterSensitiveLog: (obj: CreateCliTokenResponse) => any;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
31
|
+
readonly name: "ResourceNotFoundException";
|
|
32
|
+
readonly $fault: "client";
|
|
33
|
+
|
|
34
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
35
|
+
}
|
|
36
|
+
export declare enum LoggingLevel {
|
|
37
|
+
CRITICAL = "CRITICAL",
|
|
38
|
+
DEBUG = "DEBUG",
|
|
39
|
+
ERROR = "ERROR",
|
|
40
|
+
INFO = "INFO",
|
|
41
|
+
WARNING = "WARNING"
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
export interface ModuleLoggingConfigurationInput {
|
|
45
|
+
|
|
46
|
+
Enabled: boolean | undefined;
|
|
47
|
+
|
|
48
|
+
LogLevel: LoggingLevel | string | undefined;
|
|
49
|
+
}
|
|
50
|
+
export declare namespace ModuleLoggingConfigurationInput {
|
|
51
|
+
|
|
52
|
+
const filterSensitiveLog: (obj: ModuleLoggingConfigurationInput) => any;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export interface LoggingConfigurationInput {
|
|
56
|
+
|
|
57
|
+
DagProcessingLogs?: ModuleLoggingConfigurationInput;
|
|
58
|
+
|
|
59
|
+
SchedulerLogs?: ModuleLoggingConfigurationInput;
|
|
60
|
+
|
|
61
|
+
WebserverLogs?: ModuleLoggingConfigurationInput;
|
|
62
|
+
|
|
63
|
+
WorkerLogs?: ModuleLoggingConfigurationInput;
|
|
64
|
+
|
|
65
|
+
TaskLogs?: ModuleLoggingConfigurationInput;
|
|
66
|
+
}
|
|
67
|
+
export declare namespace LoggingConfigurationInput {
|
|
68
|
+
|
|
69
|
+
const filterSensitiveLog: (obj: LoggingConfigurationInput) => any;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export interface NetworkConfiguration {
|
|
73
|
+
|
|
74
|
+
SubnetIds?: string[];
|
|
75
|
+
|
|
76
|
+
SecurityGroupIds?: string[];
|
|
77
|
+
}
|
|
78
|
+
export declare namespace NetworkConfiguration {
|
|
79
|
+
|
|
80
|
+
const filterSensitiveLog: (obj: NetworkConfiguration) => any;
|
|
81
|
+
}
|
|
82
|
+
export declare enum WebserverAccessMode {
|
|
83
|
+
PRIVATE_ONLY = "PRIVATE_ONLY",
|
|
84
|
+
PUBLIC_ONLY = "PUBLIC_ONLY"
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
export interface CreateEnvironmentInput {
|
|
88
|
+
|
|
89
|
+
Name: string | undefined;
|
|
90
|
+
|
|
91
|
+
ExecutionRoleArn: string | undefined;
|
|
92
|
+
|
|
93
|
+
SourceBucketArn: string | undefined;
|
|
94
|
+
|
|
95
|
+
DagS3Path: string | undefined;
|
|
96
|
+
|
|
97
|
+
NetworkConfiguration: NetworkConfiguration | undefined;
|
|
98
|
+
|
|
99
|
+
PluginsS3Path?: string;
|
|
100
|
+
|
|
101
|
+
PluginsS3ObjectVersion?: string;
|
|
102
|
+
|
|
103
|
+
RequirementsS3Path?: string;
|
|
104
|
+
|
|
105
|
+
RequirementsS3ObjectVersion?: string;
|
|
106
|
+
|
|
107
|
+
AirflowConfigurationOptions?: {
|
|
108
|
+
[key: string]: string;
|
|
109
|
+
};
|
|
110
|
+
|
|
111
|
+
EnvironmentClass?: string;
|
|
112
|
+
|
|
113
|
+
MaxWorkers?: number;
|
|
114
|
+
|
|
115
|
+
KmsKey?: string;
|
|
116
|
+
|
|
117
|
+
AirflowVersion?: string;
|
|
118
|
+
|
|
119
|
+
LoggingConfiguration?: LoggingConfigurationInput;
|
|
120
|
+
|
|
121
|
+
WeeklyMaintenanceWindowStart?: string;
|
|
122
|
+
|
|
123
|
+
Tags?: {
|
|
124
|
+
[key: string]: string;
|
|
125
|
+
};
|
|
126
|
+
|
|
127
|
+
WebserverAccessMode?: WebserverAccessMode | string;
|
|
128
|
+
|
|
129
|
+
MinWorkers?: number;
|
|
130
|
+
|
|
131
|
+
Schedulers?: number;
|
|
132
|
+
}
|
|
133
|
+
export declare namespace CreateEnvironmentInput {
|
|
134
|
+
|
|
135
|
+
const filterSensitiveLog: (obj: CreateEnvironmentInput) => any;
|
|
136
|
+
}
|
|
137
|
+
export interface CreateEnvironmentOutput {
|
|
138
|
+
|
|
139
|
+
Arn?: string;
|
|
140
|
+
}
|
|
141
|
+
export declare namespace CreateEnvironmentOutput {
|
|
142
|
+
|
|
143
|
+
const filterSensitiveLog: (obj: CreateEnvironmentOutput) => any;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
export declare class InternalServerException extends __BaseException {
|
|
147
|
+
readonly name: "InternalServerException";
|
|
148
|
+
readonly $fault: "server";
|
|
149
|
+
|
|
150
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
export declare class ValidationException extends __BaseException {
|
|
154
|
+
readonly name: "ValidationException";
|
|
155
|
+
readonly $fault: "client";
|
|
156
|
+
|
|
157
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
158
|
+
}
|
|
159
|
+
export interface CreateWebLoginTokenRequest {
|
|
160
|
+
|
|
161
|
+
Name: string | undefined;
|
|
162
|
+
}
|
|
163
|
+
export declare namespace CreateWebLoginTokenRequest {
|
|
164
|
+
|
|
165
|
+
const filterSensitiveLog: (obj: CreateWebLoginTokenRequest) => any;
|
|
166
|
+
}
|
|
167
|
+
export interface CreateWebLoginTokenResponse {
|
|
168
|
+
|
|
169
|
+
WebToken?: string;
|
|
170
|
+
|
|
171
|
+
WebServerHostname?: string;
|
|
172
|
+
}
|
|
173
|
+
export declare namespace CreateWebLoginTokenResponse {
|
|
174
|
+
|
|
175
|
+
const filterSensitiveLog: (obj: CreateWebLoginTokenResponse) => any;
|
|
176
|
+
}
|
|
177
|
+
export interface DeleteEnvironmentInput {
|
|
178
|
+
|
|
179
|
+
Name: string | undefined;
|
|
180
|
+
}
|
|
181
|
+
export declare namespace DeleteEnvironmentInput {
|
|
182
|
+
|
|
183
|
+
const filterSensitiveLog: (obj: DeleteEnvironmentInput) => any;
|
|
184
|
+
}
|
|
185
|
+
export interface DeleteEnvironmentOutput {
|
|
186
|
+
}
|
|
187
|
+
export declare namespace DeleteEnvironmentOutput {
|
|
188
|
+
|
|
189
|
+
const filterSensitiveLog: (obj: DeleteEnvironmentOutput) => any;
|
|
190
|
+
}
|
|
191
|
+
export interface GetEnvironmentInput {
|
|
192
|
+
|
|
193
|
+
Name: string | undefined;
|
|
194
|
+
}
|
|
195
|
+
export declare namespace GetEnvironmentInput {
|
|
196
|
+
|
|
197
|
+
const filterSensitiveLog: (obj: GetEnvironmentInput) => any;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
export interface UpdateError {
|
|
201
|
+
|
|
202
|
+
ErrorCode?: string;
|
|
203
|
+
|
|
204
|
+
ErrorMessage?: string;
|
|
205
|
+
}
|
|
206
|
+
export declare namespace UpdateError {
|
|
207
|
+
|
|
208
|
+
const filterSensitiveLog: (obj: UpdateError) => any;
|
|
209
|
+
}
|
|
210
|
+
export declare enum UpdateStatus {
|
|
211
|
+
FAILED = "FAILED",
|
|
212
|
+
PENDING = "PENDING",
|
|
213
|
+
SUCCESS = "SUCCESS"
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
export interface LastUpdate {
|
|
217
|
+
|
|
218
|
+
Status?: UpdateStatus | string;
|
|
219
|
+
|
|
220
|
+
CreatedAt?: Date;
|
|
221
|
+
|
|
222
|
+
Error?: UpdateError;
|
|
223
|
+
|
|
224
|
+
Source?: string;
|
|
225
|
+
}
|
|
226
|
+
export declare namespace LastUpdate {
|
|
227
|
+
|
|
228
|
+
const filterSensitiveLog: (obj: LastUpdate) => any;
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
export interface ModuleLoggingConfiguration {
|
|
232
|
+
|
|
233
|
+
Enabled?: boolean;
|
|
234
|
+
|
|
235
|
+
LogLevel?: LoggingLevel | string;
|
|
236
|
+
|
|
237
|
+
CloudWatchLogGroupArn?: string;
|
|
238
|
+
}
|
|
239
|
+
export declare namespace ModuleLoggingConfiguration {
|
|
240
|
+
|
|
241
|
+
const filterSensitiveLog: (obj: ModuleLoggingConfiguration) => any;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
export interface LoggingConfiguration {
|
|
245
|
+
|
|
246
|
+
DagProcessingLogs?: ModuleLoggingConfiguration;
|
|
247
|
+
|
|
248
|
+
SchedulerLogs?: ModuleLoggingConfiguration;
|
|
249
|
+
|
|
250
|
+
WebserverLogs?: ModuleLoggingConfiguration;
|
|
251
|
+
|
|
252
|
+
WorkerLogs?: ModuleLoggingConfiguration;
|
|
253
|
+
|
|
254
|
+
TaskLogs?: ModuleLoggingConfiguration;
|
|
255
|
+
}
|
|
256
|
+
export declare namespace LoggingConfiguration {
|
|
257
|
+
|
|
258
|
+
const filterSensitiveLog: (obj: LoggingConfiguration) => any;
|
|
259
|
+
}
|
|
260
|
+
export declare enum EnvironmentStatus {
|
|
261
|
+
AVAILABLE = "AVAILABLE",
|
|
262
|
+
CREATE_FAILED = "CREATE_FAILED",
|
|
263
|
+
CREATING = "CREATING",
|
|
264
|
+
DELETED = "DELETED",
|
|
265
|
+
DELETING = "DELETING",
|
|
266
|
+
UNAVAILABLE = "UNAVAILABLE",
|
|
267
|
+
UPDATE_FAILED = "UPDATE_FAILED",
|
|
268
|
+
UPDATING = "UPDATING"
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
export interface Environment {
|
|
272
|
+
|
|
273
|
+
Name?: string;
|
|
274
|
+
|
|
275
|
+
Status?: EnvironmentStatus | string;
|
|
276
|
+
|
|
277
|
+
Arn?: string;
|
|
278
|
+
|
|
279
|
+
CreatedAt?: Date;
|
|
280
|
+
|
|
281
|
+
WebserverUrl?: string;
|
|
282
|
+
|
|
283
|
+
ExecutionRoleArn?: string;
|
|
284
|
+
|
|
285
|
+
ServiceRoleArn?: string;
|
|
286
|
+
|
|
287
|
+
KmsKey?: string;
|
|
288
|
+
|
|
289
|
+
AirflowVersion?: string;
|
|
290
|
+
|
|
291
|
+
SourceBucketArn?: string;
|
|
292
|
+
|
|
293
|
+
DagS3Path?: string;
|
|
294
|
+
|
|
295
|
+
PluginsS3Path?: string;
|
|
296
|
+
|
|
297
|
+
PluginsS3ObjectVersion?: string;
|
|
298
|
+
|
|
299
|
+
RequirementsS3Path?: string;
|
|
300
|
+
|
|
301
|
+
RequirementsS3ObjectVersion?: string;
|
|
302
|
+
|
|
303
|
+
AirflowConfigurationOptions?: {
|
|
304
|
+
[key: string]: string;
|
|
305
|
+
};
|
|
306
|
+
|
|
307
|
+
EnvironmentClass?: string;
|
|
308
|
+
|
|
309
|
+
MaxWorkers?: number;
|
|
310
|
+
|
|
311
|
+
NetworkConfiguration?: NetworkConfiguration;
|
|
312
|
+
|
|
313
|
+
LoggingConfiguration?: LoggingConfiguration;
|
|
314
|
+
|
|
315
|
+
LastUpdate?: LastUpdate;
|
|
316
|
+
|
|
317
|
+
WeeklyMaintenanceWindowStart?: string;
|
|
318
|
+
|
|
319
|
+
Tags?: {
|
|
320
|
+
[key: string]: string;
|
|
321
|
+
};
|
|
322
|
+
|
|
323
|
+
WebserverAccessMode?: WebserverAccessMode | string;
|
|
324
|
+
|
|
325
|
+
MinWorkers?: number;
|
|
326
|
+
|
|
327
|
+
Schedulers?: number;
|
|
328
|
+
}
|
|
329
|
+
export declare namespace Environment {
|
|
330
|
+
|
|
331
|
+
const filterSensitiveLog: (obj: Environment) => any;
|
|
332
|
+
}
|
|
333
|
+
export interface GetEnvironmentOutput {
|
|
334
|
+
|
|
335
|
+
Environment?: Environment;
|
|
336
|
+
}
|
|
337
|
+
export declare namespace GetEnvironmentOutput {
|
|
338
|
+
|
|
339
|
+
const filterSensitiveLog: (obj: GetEnvironmentOutput) => any;
|
|
340
|
+
}
|
|
341
|
+
export interface ListEnvironmentsInput {
|
|
342
|
+
|
|
343
|
+
NextToken?: string;
|
|
344
|
+
|
|
345
|
+
MaxResults?: number;
|
|
346
|
+
}
|
|
347
|
+
export declare namespace ListEnvironmentsInput {
|
|
348
|
+
|
|
349
|
+
const filterSensitiveLog: (obj: ListEnvironmentsInput) => any;
|
|
350
|
+
}
|
|
351
|
+
export interface ListEnvironmentsOutput {
|
|
352
|
+
|
|
353
|
+
Environments: string[] | undefined;
|
|
354
|
+
|
|
355
|
+
NextToken?: string;
|
|
356
|
+
}
|
|
357
|
+
export declare namespace ListEnvironmentsOutput {
|
|
358
|
+
|
|
359
|
+
const filterSensitiveLog: (obj: ListEnvironmentsOutput) => any;
|
|
360
|
+
}
|
|
361
|
+
export interface ListTagsForResourceInput {
|
|
362
|
+
|
|
363
|
+
ResourceArn: string | undefined;
|
|
364
|
+
}
|
|
365
|
+
export declare namespace ListTagsForResourceInput {
|
|
366
|
+
|
|
367
|
+
const filterSensitiveLog: (obj: ListTagsForResourceInput) => any;
|
|
368
|
+
}
|
|
369
|
+
export interface ListTagsForResourceOutput {
|
|
370
|
+
|
|
371
|
+
Tags?: {
|
|
372
|
+
[key: string]: string;
|
|
373
|
+
};
|
|
374
|
+
}
|
|
375
|
+
export declare namespace ListTagsForResourceOutput {
|
|
376
|
+
|
|
377
|
+
const filterSensitiveLog: (obj: ListTagsForResourceOutput) => any;
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
export interface Dimension {
|
|
381
|
+
|
|
382
|
+
Name: string | undefined;
|
|
383
|
+
|
|
384
|
+
Value: string | undefined;
|
|
385
|
+
}
|
|
386
|
+
export declare namespace Dimension {
|
|
387
|
+
|
|
388
|
+
const filterSensitiveLog: (obj: Dimension) => any;
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
export interface StatisticSet {
|
|
392
|
+
|
|
393
|
+
SampleCount?: number;
|
|
394
|
+
|
|
395
|
+
Sum?: number;
|
|
396
|
+
|
|
397
|
+
Minimum?: number;
|
|
398
|
+
|
|
399
|
+
Maximum?: number;
|
|
400
|
+
}
|
|
401
|
+
export declare namespace StatisticSet {
|
|
402
|
+
|
|
403
|
+
const filterSensitiveLog: (obj: StatisticSet) => any;
|
|
404
|
+
}
|
|
405
|
+
export declare enum Unit {
|
|
406
|
+
BITS = "Bits",
|
|
407
|
+
BITS_PER_SECOND = "Bits/Second",
|
|
408
|
+
BYTES = "Bytes",
|
|
409
|
+
BYTES_PER_SECOND = "Bytes/Second",
|
|
410
|
+
COUNT = "Count",
|
|
411
|
+
COUNT_PER_SECOND = "Count/Second",
|
|
412
|
+
GIGABITS = "Gigabits",
|
|
413
|
+
GIGABITS_PER_SECOND = "Gigabits/Second",
|
|
414
|
+
GIGABYTES = "Gigabytes",
|
|
415
|
+
GIGABYTES_PER_SECOND = "Gigabytes/Second",
|
|
416
|
+
KILOBITS = "Kilobits",
|
|
417
|
+
KILOBITS_PER_SECOND = "Kilobits/Second",
|
|
418
|
+
KILOBYTES = "Kilobytes",
|
|
419
|
+
KILOBYTES_PER_SECOND = "Kilobytes/Second",
|
|
420
|
+
MEGABITS = "Megabits",
|
|
421
|
+
MEGABITS_PER_SECOND = "Megabits/Second",
|
|
422
|
+
MEGABYTES = "Megabytes",
|
|
423
|
+
MEGABYTES_PER_SECOND = "Megabytes/Second",
|
|
424
|
+
MICROSECONDS = "Microseconds",
|
|
425
|
+
MILLISECONDS = "Milliseconds",
|
|
426
|
+
NONE = "None",
|
|
427
|
+
PERCENT = "Percent",
|
|
428
|
+
SECONDS = "Seconds",
|
|
429
|
+
TERABITS = "Terabits",
|
|
430
|
+
TERABITS_PER_SECOND = "Terabits/Second",
|
|
431
|
+
TERABYTES = "Terabytes",
|
|
432
|
+
TERABYTES_PER_SECOND = "Terabytes/Second"
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
export interface MetricDatum {
|
|
436
|
+
|
|
437
|
+
MetricName: string | undefined;
|
|
438
|
+
|
|
439
|
+
Timestamp: Date | undefined;
|
|
440
|
+
|
|
441
|
+
Dimensions?: Dimension[];
|
|
442
|
+
|
|
443
|
+
Value?: number;
|
|
444
|
+
|
|
445
|
+
Unit?: Unit | string;
|
|
446
|
+
|
|
447
|
+
StatisticValues?: StatisticSet;
|
|
448
|
+
}
|
|
449
|
+
export declare namespace MetricDatum {
|
|
450
|
+
|
|
451
|
+
const filterSensitiveLog: (obj: MetricDatum) => any;
|
|
452
|
+
}
|
|
453
|
+
export interface PublishMetricsInput {
|
|
454
|
+
|
|
455
|
+
EnvironmentName: string | undefined;
|
|
456
|
+
|
|
457
|
+
MetricData: MetricDatum[] | undefined;
|
|
458
|
+
}
|
|
459
|
+
export declare namespace PublishMetricsInput {
|
|
460
|
+
|
|
461
|
+
const filterSensitiveLog: (obj: PublishMetricsInput) => any;
|
|
462
|
+
}
|
|
463
|
+
export interface PublishMetricsOutput {
|
|
464
|
+
}
|
|
465
|
+
export declare namespace PublishMetricsOutput {
|
|
466
|
+
|
|
467
|
+
const filterSensitiveLog: (obj: PublishMetricsOutput) => any;
|
|
468
|
+
}
|
|
469
|
+
export interface TagResourceInput {
|
|
470
|
+
|
|
471
|
+
ResourceArn: string | undefined;
|
|
472
|
+
|
|
473
|
+
Tags: {
|
|
474
|
+
[key: string]: string;
|
|
475
|
+
} | undefined;
|
|
476
|
+
}
|
|
477
|
+
export declare namespace TagResourceInput {
|
|
478
|
+
|
|
479
|
+
const filterSensitiveLog: (obj: TagResourceInput) => any;
|
|
480
|
+
}
|
|
481
|
+
export interface TagResourceOutput {
|
|
482
|
+
}
|
|
483
|
+
export declare namespace TagResourceOutput {
|
|
484
|
+
|
|
485
|
+
const filterSensitiveLog: (obj: TagResourceOutput) => any;
|
|
486
|
+
}
|
|
487
|
+
export interface UntagResourceInput {
|
|
488
|
+
|
|
489
|
+
ResourceArn: string | undefined;
|
|
490
|
+
|
|
491
|
+
tagKeys: string[] | undefined;
|
|
492
|
+
}
|
|
493
|
+
export declare namespace UntagResourceInput {
|
|
494
|
+
|
|
495
|
+
const filterSensitiveLog: (obj: UntagResourceInput) => any;
|
|
496
|
+
}
|
|
497
|
+
export interface UntagResourceOutput {
|
|
498
|
+
}
|
|
499
|
+
export declare namespace UntagResourceOutput {
|
|
500
|
+
|
|
501
|
+
const filterSensitiveLog: (obj: UntagResourceOutput) => any;
|
|
502
|
+
}
|
|
503
|
+
|
|
504
|
+
export interface UpdateNetworkConfigurationInput {
|
|
505
|
+
|
|
506
|
+
SecurityGroupIds: string[] | undefined;
|
|
507
|
+
}
|
|
508
|
+
export declare namespace UpdateNetworkConfigurationInput {
|
|
509
|
+
|
|
510
|
+
const filterSensitiveLog: (obj: UpdateNetworkConfigurationInput) => any;
|
|
511
|
+
}
|
|
512
|
+
export interface UpdateEnvironmentInput {
|
|
513
|
+
|
|
514
|
+
Name: string | undefined;
|
|
515
|
+
|
|
516
|
+
ExecutionRoleArn?: string;
|
|
517
|
+
|
|
518
|
+
AirflowVersion?: string;
|
|
519
|
+
|
|
520
|
+
SourceBucketArn?: string;
|
|
521
|
+
|
|
522
|
+
DagS3Path?: string;
|
|
523
|
+
|
|
524
|
+
PluginsS3Path?: string;
|
|
525
|
+
|
|
526
|
+
PluginsS3ObjectVersion?: string;
|
|
527
|
+
|
|
528
|
+
RequirementsS3Path?: string;
|
|
529
|
+
|
|
530
|
+
RequirementsS3ObjectVersion?: string;
|
|
531
|
+
|
|
532
|
+
AirflowConfigurationOptions?: {
|
|
533
|
+
[key: string]: string;
|
|
534
|
+
};
|
|
535
|
+
|
|
536
|
+
EnvironmentClass?: string;
|
|
537
|
+
|
|
538
|
+
MaxWorkers?: number;
|
|
539
|
+
|
|
540
|
+
NetworkConfiguration?: UpdateNetworkConfigurationInput;
|
|
541
|
+
|
|
542
|
+
LoggingConfiguration?: LoggingConfigurationInput;
|
|
543
|
+
|
|
544
|
+
WeeklyMaintenanceWindowStart?: string;
|
|
545
|
+
|
|
546
|
+
WebserverAccessMode?: WebserverAccessMode | string;
|
|
547
|
+
|
|
548
|
+
MinWorkers?: number;
|
|
549
|
+
|
|
550
|
+
Schedulers?: number;
|
|
551
|
+
}
|
|
552
|
+
export declare namespace UpdateEnvironmentInput {
|
|
553
|
+
|
|
554
|
+
const filterSensitiveLog: (obj: UpdateEnvironmentInput) => any;
|
|
555
|
+
}
|
|
556
|
+
export interface UpdateEnvironmentOutput {
|
|
557
|
+
|
|
558
|
+
Arn?: string;
|
|
559
|
+
}
|
|
560
|
+
export declare namespace UpdateEnvironmentOutput {
|
|
561
|
+
|
|
562
|
+
const filterSensitiveLog: (obj: UpdateEnvironmentOutput) => any;
|
|
563
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
import { ListEnvironmentsCommandInput, ListEnvironmentsCommandOutput } from "../commands/ListEnvironmentsCommand";
|
|
3
|
+
import { MWAAPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
export declare function paginateListEnvironments(config: MWAAPaginationConfiguration, input: ListEnvironmentsCommandInput, ...additionalArguments: any): Paginator<ListEnvironmentsCommandOutput>;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
2
|
+
import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
|
|
3
|
+
import { CreateCliTokenCommandInput, CreateCliTokenCommandOutput } from "../commands/CreateCliTokenCommand";
|
|
4
|
+
import { CreateEnvironmentCommandInput, CreateEnvironmentCommandOutput } from "../commands/CreateEnvironmentCommand";
|
|
5
|
+
import { CreateWebLoginTokenCommandInput, CreateWebLoginTokenCommandOutput } from "../commands/CreateWebLoginTokenCommand";
|
|
6
|
+
import { DeleteEnvironmentCommandInput, DeleteEnvironmentCommandOutput } from "../commands/DeleteEnvironmentCommand";
|
|
7
|
+
import { GetEnvironmentCommandInput, GetEnvironmentCommandOutput } from "../commands/GetEnvironmentCommand";
|
|
8
|
+
import { ListEnvironmentsCommandInput, ListEnvironmentsCommandOutput } from "../commands/ListEnvironmentsCommand";
|
|
9
|
+
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "../commands/ListTagsForResourceCommand";
|
|
10
|
+
import { PublishMetricsCommandInput, PublishMetricsCommandOutput } from "../commands/PublishMetricsCommand";
|
|
11
|
+
import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand";
|
|
12
|
+
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand";
|
|
13
|
+
import { UpdateEnvironmentCommandInput, UpdateEnvironmentCommandOutput } from "../commands/UpdateEnvironmentCommand";
|
|
14
|
+
export declare const serializeAws_restJson1CreateCliTokenCommand: (input: CreateCliTokenCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
15
|
+
export declare const serializeAws_restJson1CreateEnvironmentCommand: (input: CreateEnvironmentCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
16
|
+
export declare const serializeAws_restJson1CreateWebLoginTokenCommand: (input: CreateWebLoginTokenCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
17
|
+
export declare const serializeAws_restJson1DeleteEnvironmentCommand: (input: DeleteEnvironmentCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
18
|
+
export declare const serializeAws_restJson1GetEnvironmentCommand: (input: GetEnvironmentCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
19
|
+
export declare const serializeAws_restJson1ListEnvironmentsCommand: (input: ListEnvironmentsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
20
|
+
export declare const serializeAws_restJson1ListTagsForResourceCommand: (input: ListTagsForResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
21
|
+
export declare const serializeAws_restJson1PublishMetricsCommand: (input: PublishMetricsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
22
|
+
export declare const serializeAws_restJson1TagResourceCommand: (input: TagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
23
|
+
export declare const serializeAws_restJson1UntagResourceCommand: (input: UntagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
24
|
+
export declare const serializeAws_restJson1UpdateEnvironmentCommand: (input: UpdateEnvironmentCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
25
|
+
export declare const deserializeAws_restJson1CreateCliTokenCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateCliTokenCommandOutput>;
|
|
26
|
+
export declare const deserializeAws_restJson1CreateEnvironmentCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateEnvironmentCommandOutput>;
|
|
27
|
+
export declare const deserializeAws_restJson1CreateWebLoginTokenCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateWebLoginTokenCommandOutput>;
|
|
28
|
+
export declare const deserializeAws_restJson1DeleteEnvironmentCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteEnvironmentCommandOutput>;
|
|
29
|
+
export declare const deserializeAws_restJson1GetEnvironmentCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetEnvironmentCommandOutput>;
|
|
30
|
+
export declare const deserializeAws_restJson1ListEnvironmentsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListEnvironmentsCommandOutput>;
|
|
31
|
+
export declare const deserializeAws_restJson1ListTagsForResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListTagsForResourceCommandOutput>;
|
|
32
|
+
export declare const deserializeAws_restJson1PublishMetricsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PublishMetricsCommandOutput>;
|
|
33
|
+
export declare const deserializeAws_restJson1TagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<TagResourceCommandOutput>;
|
|
34
|
+
export declare const deserializeAws_restJson1UntagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UntagResourceCommandOutput>;
|
|
35
|
+
export declare const deserializeAws_restJson1UpdateEnvironmentCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateEnvironmentCommandOutput>;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
|
|
2
|
+
import { MWAAClientConfig } from "./MWAAClient";
|
|
3
|
+
|
|
4
|
+
export declare const getRuntimeConfig: (config: MWAAClientConfig) => {
|
|
5
|
+
runtime: string;
|
|
6
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
7
|
+
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
8
|
+
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
9
|
+
bodyLengthChecker: (body: any) => number | undefined;
|
|
10
|
+
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
11
|
+
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
12
|
+
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
13
|
+
region: string | import("@aws-sdk/types").Provider<any>;
|
|
14
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
15
|
+
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
16
|
+
sha256: import("@aws-sdk/types").HashConstructor;
|
|
17
|
+
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
18
|
+
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
19
|
+
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
20
|
+
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
21
|
+
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
22
|
+
apiVersion: string;
|
|
23
|
+
urlParser: import("@aws-sdk/types").UrlParser;
|
|
24
|
+
disableHostPrefix: boolean;
|
|
25
|
+
logger: import("@aws-sdk/types").Logger;
|
|
26
|
+
serviceId: string;
|
|
27
|
+
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
28
|
+
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
29
|
+
tls?: boolean | undefined;
|
|
30
|
+
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
31
|
+
credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
|
|
32
|
+
signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
|
|
33
|
+
signingEscapePath?: boolean | undefined;
|
|
34
|
+
systemClockOffset?: number | undefined;
|
|
35
|
+
signingRegion?: string | undefined;
|
|
36
|
+
signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
|
|
37
|
+
customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
|
|
38
|
+
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
|
|
2
|
+
import { MWAAClientConfig } from "./MWAAClient";
|
|
3
|
+
|
|
4
|
+
export declare const getRuntimeConfig: (config: MWAAClientConfig) => {
|
|
5
|
+
runtime: string;
|
|
6
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
7
|
+
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
8
|
+
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
9
|
+
bodyLengthChecker: (body: any) => number | undefined;
|
|
10
|
+
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
11
|
+
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
12
|
+
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
13
|
+
region: string | import("@aws-sdk/types").Provider<string>;
|
|
14
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
15
|
+
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
16
|
+
sha256: import("@aws-sdk/types").HashConstructor;
|
|
17
|
+
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
18
|
+
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
19
|
+
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
20
|
+
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
21
|
+
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
22
|
+
apiVersion: string;
|
|
23
|
+
urlParser: import("@aws-sdk/types").UrlParser;
|
|
24
|
+
disableHostPrefix: boolean;
|
|
25
|
+
logger: import("@aws-sdk/types").Logger;
|
|
26
|
+
serviceId: string;
|
|
27
|
+
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
28
|
+
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
29
|
+
tls?: boolean | undefined;
|
|
30
|
+
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
31
|
+
credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
|
|
32
|
+
signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
|
|
33
|
+
signingEscapePath?: boolean | undefined;
|
|
34
|
+
systemClockOffset?: number | undefined;
|
|
35
|
+
signingRegion?: string | undefined;
|
|
36
|
+
signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
|
|
37
|
+
customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
|
|
38
|
+
};
|