@aws-sdk/client-mwaa 3.43.0 → 3.47.1
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 +48 -0
- package/README.md +84 -0
- package/dist-cjs/endpoints.js +1 -0
- package/dist-cjs/models/models_0.js +1 -25
- package/dist-cjs/protocols/Aws_restJson1.js +1 -0
- package/dist-cjs/runtimeConfig.browser.js +7 -2
- package/dist-cjs/runtimeConfig.js +9 -3
- package/dist-es/endpoints.js +1 -0
- package/dist-es/models/models_0.js +0 -16
- package/dist-es/protocols/Aws_restJson1.js +1 -0
- package/dist-es/runtimeConfig.browser.js +12 -3
- package/dist-es/runtimeConfig.js +13 -6
- package/dist-types/MWAA.d.ts +89 -4
- package/dist-types/MWAAClient.d.ts +89 -1
- package/dist-types/commands/CreateCliTokenCommand.d.ts +1 -1
- package/dist-types/commands/CreateWebLoginTokenCommand.d.ts +1 -1
- package/dist-types/commands/GetEnvironmentCommand.d.ts +1 -1
- package/dist-types/commands/PublishMetricsCommand.d.ts +2 -1
- package/dist-types/models/models_0.d.ts +104 -109
- package/dist-types/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/runtimeConfig.d.ts +4 -3
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/ts3.4/MWAAClient.d.ts +3 -1
- package/dist-types/ts3.4/models/models_0.d.ts +2 -16
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/package.json +39 -46
|
@@ -1,21 +1,15 @@
|
|
|
1
1
|
import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
|
|
2
2
|
/**
|
|
3
|
-
* <p>Access to the Airflow Web UI or CLI has been
|
|
3
|
+
* <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>
|
|
4
4
|
*/
|
|
5
5
|
export interface AccessDeniedException extends __SmithyException, $MetadataBearer {
|
|
6
6
|
name: "AccessDeniedException";
|
|
7
7
|
$fault: "client";
|
|
8
8
|
Message?: string;
|
|
9
9
|
}
|
|
10
|
-
export declare namespace AccessDeniedException {
|
|
11
|
-
/**
|
|
12
|
-
* @internal
|
|
13
|
-
*/
|
|
14
|
-
const filterSensitiveLog: (obj: AccessDeniedException) => any;
|
|
15
|
-
}
|
|
16
10
|
export interface CreateCliTokenRequest {
|
|
17
11
|
/**
|
|
18
|
-
* <p>
|
|
12
|
+
* <p>The name of the Amazon MWAA environment. For example, <code>MyMWAAEnvironment</code>.</p>
|
|
19
13
|
*/
|
|
20
14
|
Name: string | undefined;
|
|
21
15
|
}
|
|
@@ -27,11 +21,11 @@ export declare namespace CreateCliTokenRequest {
|
|
|
27
21
|
}
|
|
28
22
|
export interface CreateCliTokenResponse {
|
|
29
23
|
/**
|
|
30
|
-
* <p>
|
|
24
|
+
* <p>An Airflow CLI login token.</p>
|
|
31
25
|
*/
|
|
32
26
|
CliToken?: string;
|
|
33
27
|
/**
|
|
34
|
-
* <p>
|
|
28
|
+
* <p>The Airflow web server hostname for the environment.</p>
|
|
35
29
|
*/
|
|
36
30
|
WebServerHostname?: string;
|
|
37
31
|
}
|
|
@@ -49,12 +43,6 @@ export interface ResourceNotFoundException extends __SmithyException, $MetadataB
|
|
|
49
43
|
$fault: "client";
|
|
50
44
|
message?: string;
|
|
51
45
|
}
|
|
52
|
-
export declare namespace ResourceNotFoundException {
|
|
53
|
-
/**
|
|
54
|
-
* @internal
|
|
55
|
-
*/
|
|
56
|
-
const filterSensitiveLog: (obj: ResourceNotFoundException) => any;
|
|
57
|
-
}
|
|
58
46
|
export declare enum LoggingLevel {
|
|
59
47
|
CRITICAL = "CRITICAL",
|
|
60
48
|
DEBUG = "DEBUG",
|
|
@@ -63,15 +51,15 @@ export declare enum LoggingLevel {
|
|
|
63
51
|
WARNING = "WARNING"
|
|
64
52
|
}
|
|
65
53
|
/**
|
|
66
|
-
* <p>
|
|
54
|
+
* <p>Enables the Apache Airflow log type (e.g. <code>DagProcessingLogs</code>) and defines the log level to send to CloudWatch Logs (e.g. <code>INFO</code>).</p>
|
|
67
55
|
*/
|
|
68
56
|
export interface ModuleLoggingConfigurationInput {
|
|
69
57
|
/**
|
|
70
|
-
* <p>Indicates whether to enable the Apache Airflow log type (e.g. <code>DagProcessingLogs</code>)
|
|
58
|
+
* <p>Indicates whether to enable the Apache Airflow log type (e.g. <code>DagProcessingLogs</code>).</p>
|
|
71
59
|
*/
|
|
72
60
|
Enabled: boolean | undefined;
|
|
73
61
|
/**
|
|
74
|
-
* <p>Defines the Apache Airflow
|
|
62
|
+
* <p>Defines the Apache Airflow log level (e.g. <code>INFO</code>) to send to CloudWatch Logs.</p>
|
|
75
63
|
*/
|
|
76
64
|
LogLevel: LoggingLevel | string | undefined;
|
|
77
65
|
}
|
|
@@ -82,27 +70,27 @@ export declare namespace ModuleLoggingConfigurationInput {
|
|
|
82
70
|
const filterSensitiveLog: (obj: ModuleLoggingConfigurationInput) => any;
|
|
83
71
|
}
|
|
84
72
|
/**
|
|
85
|
-
* <p>Defines the Apache Airflow
|
|
73
|
+
* <p>Defines the Apache Airflow log types to send to CloudWatch Logs.</p>
|
|
86
74
|
*/
|
|
87
75
|
export interface LoggingConfigurationInput {
|
|
88
76
|
/**
|
|
89
|
-
* <p>
|
|
77
|
+
* <p>Publishes Airflow DAG processing logs to CloudWatch Logs.</p>
|
|
90
78
|
*/
|
|
91
79
|
DagProcessingLogs?: ModuleLoggingConfigurationInput;
|
|
92
80
|
/**
|
|
93
|
-
* <p>
|
|
81
|
+
* <p>Publishes Airflow scheduler logs to CloudWatch Logs.</p>
|
|
94
82
|
*/
|
|
95
83
|
SchedulerLogs?: ModuleLoggingConfigurationInput;
|
|
96
84
|
/**
|
|
97
|
-
* <p>
|
|
85
|
+
* <p>Publishes Airflow web server logs to CloudWatch Logs.</p>
|
|
98
86
|
*/
|
|
99
87
|
WebserverLogs?: ModuleLoggingConfigurationInput;
|
|
100
88
|
/**
|
|
101
|
-
* <p>
|
|
89
|
+
* <p>Publishes Airflow worker logs to CloudWatch Logs.</p>
|
|
102
90
|
*/
|
|
103
91
|
WorkerLogs?: ModuleLoggingConfigurationInput;
|
|
104
92
|
/**
|
|
105
|
-
* <p>
|
|
93
|
+
* <p>Publishes Airflow task logs to CloudWatch Logs.</p>
|
|
106
94
|
*/
|
|
107
95
|
TaskLogs?: ModuleLoggingConfigurationInput;
|
|
108
96
|
}
|
|
@@ -113,15 +101,15 @@ export declare namespace LoggingConfigurationInput {
|
|
|
113
101
|
const filterSensitiveLog: (obj: LoggingConfigurationInput) => any;
|
|
114
102
|
}
|
|
115
103
|
/**
|
|
116
|
-
* <p>
|
|
104
|
+
* <p>Describes the VPC networking components used to secure and enable network traffic between the Amazon Web Services resources for your environment. To learn more, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/networking-about.html">About networking on Amazon MWAA</a>.</p>
|
|
117
105
|
*/
|
|
118
106
|
export interface NetworkConfiguration {
|
|
119
107
|
/**
|
|
120
|
-
* <p>A list of
|
|
108
|
+
* <p>A list of subnet IDs. To learn more, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/networking-about.html">About networking on Amazon MWAA</a>.</p>
|
|
121
109
|
*/
|
|
122
110
|
SubnetIds?: string[];
|
|
123
111
|
/**
|
|
124
|
-
* <p>A list of
|
|
112
|
+
* <p>A list of security group IDs. To learn more, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/vpc-security.html">Security in your VPC on Amazon MWAA</a>.</p>
|
|
125
113
|
*/
|
|
126
114
|
SecurityGroupIds?: string[];
|
|
127
115
|
}
|
|
@@ -144,7 +132,7 @@ export interface CreateEnvironmentInput {
|
|
|
144
132
|
*/
|
|
145
133
|
Name: string | undefined;
|
|
146
134
|
/**
|
|
147
|
-
* <p>The Amazon Resource Name (ARN) of the execution role for your environment. An execution role is an
|
|
135
|
+
* <p>The Amazon Resource Name (ARN) of the execution role for your environment. An execution role is an Amazon Web Services Identity and Access Management (IAM) role that grants MWAA permission to access Amazon Web Services services and resources used by your environment. For example, <code>arn:aws:iam::123456789:role/my-execution-role</code>. To learn more, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/mwaa-create-role.html">Amazon MWAA Execution role</a>.</p>
|
|
148
136
|
*/
|
|
149
137
|
ExecutionRoleArn: string | undefined;
|
|
150
138
|
/**
|
|
@@ -156,7 +144,7 @@ export interface CreateEnvironmentInput {
|
|
|
156
144
|
*/
|
|
157
145
|
DagS3Path: string | undefined;
|
|
158
146
|
/**
|
|
159
|
-
* <p>The VPC networking components used to secure and enable network traffic between the
|
|
147
|
+
* <p>The VPC networking components used to secure and enable network traffic between the Amazon Web Services resources for your environment. To learn more, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/networking-about.html">About networking on Amazon MWAA</a>.</p>
|
|
160
148
|
*/
|
|
161
149
|
NetworkConfiguration: NetworkConfiguration | undefined;
|
|
162
150
|
/**
|
|
@@ -190,28 +178,23 @@ export interface CreateEnvironmentInput {
|
|
|
190
178
|
*/
|
|
191
179
|
MaxWorkers?: number;
|
|
192
180
|
/**
|
|
193
|
-
* <p>The
|
|
181
|
+
* <p>The Amazon Web Services Key Management Service (KMS) key to encrypt the data in your environment. You can use an Amazon Web Services owned CMK, or a Customer managed CMK (advanced). To learn more, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/create-environment.html">Create an Amazon MWAA environment</a>.</p>
|
|
194
182
|
*/
|
|
195
183
|
KmsKey?: string;
|
|
196
184
|
/**
|
|
197
|
-
* <p>The Apache Airflow version for your environment.
|
|
185
|
+
* <p>The Apache Airflow version for your environment. If no value is specified, defaults to the latest version. Valid values: <code>1.10.12</code>, <code>2.0.2</code>. To learn more, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/airflow-versions.html">Apache Airflow versions on Amazon Managed Workflows for Apache Airflow (MWAA)</a>.</p>
|
|
198
186
|
*/
|
|
199
187
|
AirflowVersion?: string;
|
|
200
188
|
/**
|
|
201
|
-
* <p>Defines the Apache Airflow logs to send to CloudWatch Logs
|
|
189
|
+
* <p>Defines the Apache Airflow logs to send to CloudWatch Logs.</p>
|
|
202
190
|
*/
|
|
203
191
|
LoggingConfiguration?: LoggingConfigurationInput;
|
|
204
192
|
/**
|
|
205
|
-
* <p>The day and time of the week to start weekly maintenance updates of your environment in the following format: <code>DAY:HH:MM</code>. For example: <code>TUE:03:30</code>. You can specify a start time in 30 minute increments only
|
|
206
|
-
* <ul>
|
|
207
|
-
* <li>
|
|
208
|
-
* <p>MON|TUE|WED|THU|FRI|SAT|SUN:([01]\\d|2[0-3]):(00|30)</p>
|
|
209
|
-
* </li>
|
|
210
|
-
* </ul>
|
|
193
|
+
* <p>The day and time of the week in Coordinated Universal Time (UTC) 24-hour standard time to start weekly maintenance updates of your environment in the following format: <code>DAY:HH:MM</code>. For example: <code>TUE:03:30</code>. You can specify a start time in 30 minute increments only.</p>
|
|
211
194
|
*/
|
|
212
195
|
WeeklyMaintenanceWindowStart?: string;
|
|
213
196
|
/**
|
|
214
|
-
* <p>The key-value tag pairs you want to associate to your environment. For example, <code>"Environment": "Staging"</code>. To learn more, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging
|
|
197
|
+
* <p>The key-value tag pairs you want to associate to your environment. For example, <code>"Environment": "Staging"</code>. To learn more, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging Amazon Web Services resources</a>.</p>
|
|
215
198
|
*/
|
|
216
199
|
Tags?: {
|
|
217
200
|
[key: string]: string;
|
|
@@ -225,7 +208,15 @@ export interface CreateEnvironmentInput {
|
|
|
225
208
|
*/
|
|
226
209
|
MinWorkers?: number;
|
|
227
210
|
/**
|
|
228
|
-
* <p>The number of Apache Airflow schedulers to run in your environment
|
|
211
|
+
* <p>The number of Apache Airflow schedulers to run in your environment. Valid values:</p>
|
|
212
|
+
* <ul>
|
|
213
|
+
* <li>
|
|
214
|
+
* <p>v2.0.2 - Accepts between 2 to 5. Defaults to 2.</p>
|
|
215
|
+
* </li>
|
|
216
|
+
* <li>
|
|
217
|
+
* <p>v1.10.12 - Accepts 1.</p>
|
|
218
|
+
* </li>
|
|
219
|
+
* </ul>
|
|
229
220
|
*/
|
|
230
221
|
Schedulers?: number;
|
|
231
222
|
}
|
|
@@ -255,12 +246,6 @@ export interface InternalServerException extends __SmithyException, $MetadataBea
|
|
|
255
246
|
$fault: "server";
|
|
256
247
|
message?: string;
|
|
257
248
|
}
|
|
258
|
-
export declare namespace InternalServerException {
|
|
259
|
-
/**
|
|
260
|
-
* @internal
|
|
261
|
-
*/
|
|
262
|
-
const filterSensitiveLog: (obj: InternalServerException) => any;
|
|
263
|
-
}
|
|
264
249
|
/**
|
|
265
250
|
* <p>ValidationException: The provided input is not valid.</p>
|
|
266
251
|
*/
|
|
@@ -269,15 +254,9 @@ export interface ValidationException extends __SmithyException, $MetadataBearer
|
|
|
269
254
|
$fault: "client";
|
|
270
255
|
message?: string;
|
|
271
256
|
}
|
|
272
|
-
export declare namespace ValidationException {
|
|
273
|
-
/**
|
|
274
|
-
* @internal
|
|
275
|
-
*/
|
|
276
|
-
const filterSensitiveLog: (obj: ValidationException) => any;
|
|
277
|
-
}
|
|
278
257
|
export interface CreateWebLoginTokenRequest {
|
|
279
258
|
/**
|
|
280
|
-
* <p>
|
|
259
|
+
* <p>The name of the Amazon MWAA environment. For example, <code>MyMWAAEnvironment</code>.</p>
|
|
281
260
|
*/
|
|
282
261
|
Name: string | undefined;
|
|
283
262
|
}
|
|
@@ -289,11 +268,11 @@ export declare namespace CreateWebLoginTokenRequest {
|
|
|
289
268
|
}
|
|
290
269
|
export interface CreateWebLoginTokenResponse {
|
|
291
270
|
/**
|
|
292
|
-
* <p>
|
|
271
|
+
* <p>An Airflow web server login token.</p>
|
|
293
272
|
*/
|
|
294
273
|
WebToken?: string;
|
|
295
274
|
/**
|
|
296
|
-
* <p>
|
|
275
|
+
* <p>The Airflow web server hostname for the environment.</p>
|
|
297
276
|
*/
|
|
298
277
|
WebServerHostname?: string;
|
|
299
278
|
}
|
|
@@ -336,7 +315,7 @@ export declare namespace GetEnvironmentInput {
|
|
|
336
315
|
const filterSensitiveLog: (obj: GetEnvironmentInput) => any;
|
|
337
316
|
}
|
|
338
317
|
/**
|
|
339
|
-
* <p>
|
|
318
|
+
* <p>Describes the error(s) encountered with the last update of the environment.</p>
|
|
340
319
|
*/
|
|
341
320
|
export interface UpdateError {
|
|
342
321
|
/**
|
|
@@ -360,11 +339,11 @@ export declare enum UpdateStatus {
|
|
|
360
339
|
SUCCESS = "SUCCESS"
|
|
361
340
|
}
|
|
362
341
|
/**
|
|
363
|
-
* <p>
|
|
342
|
+
* <p>Describes the status of the last update on the environment, and any errors that were encountered.</p>
|
|
364
343
|
*/
|
|
365
344
|
export interface LastUpdate {
|
|
366
345
|
/**
|
|
367
|
-
* <p>The status of the last update on the environment
|
|
346
|
+
* <p>The status of the last update on the environment.</p>
|
|
368
347
|
*/
|
|
369
348
|
Status?: UpdateStatus | string;
|
|
370
349
|
/**
|
|
@@ -375,6 +354,10 @@ export interface LastUpdate {
|
|
|
375
354
|
* <p>The error that was encountered during the last update of the environment.</p>
|
|
376
355
|
*/
|
|
377
356
|
Error?: UpdateError;
|
|
357
|
+
/**
|
|
358
|
+
* <p>The source of the last update to the environment. Includes internal processes by Amazon MWAA, such as an environment maintenance update.</p>
|
|
359
|
+
*/
|
|
360
|
+
Source?: string;
|
|
378
361
|
}
|
|
379
362
|
export declare namespace LastUpdate {
|
|
380
363
|
/**
|
|
@@ -383,15 +366,15 @@ export declare namespace LastUpdate {
|
|
|
383
366
|
const filterSensitiveLog: (obj: LastUpdate) => any;
|
|
384
367
|
}
|
|
385
368
|
/**
|
|
386
|
-
* <p>
|
|
369
|
+
* <p>Describes the Apache Airflow log details for the log type (e.g. <code>DagProcessingLogs</code>).</p>
|
|
387
370
|
*/
|
|
388
371
|
export interface ModuleLoggingConfiguration {
|
|
389
372
|
/**
|
|
390
|
-
* <p>Indicates whether
|
|
373
|
+
* <p>Indicates whether the Apache Airflow log type (e.g. <code>DagProcessingLogs</code>) is enabled.</p>
|
|
391
374
|
*/
|
|
392
375
|
Enabled?: boolean;
|
|
393
376
|
/**
|
|
394
|
-
* <p>
|
|
377
|
+
* <p>The Apache Airflow log level for the log type (e.g. <code>DagProcessingLogs</code>). </p>
|
|
395
378
|
*/
|
|
396
379
|
LogLevel?: LoggingLevel | string;
|
|
397
380
|
/**
|
|
@@ -406,27 +389,27 @@ export declare namespace ModuleLoggingConfiguration {
|
|
|
406
389
|
const filterSensitiveLog: (obj: ModuleLoggingConfiguration) => any;
|
|
407
390
|
}
|
|
408
391
|
/**
|
|
409
|
-
* <p>
|
|
392
|
+
* <p>Describes the Apache Airflow log types that are published to CloudWatch Logs.</p>
|
|
410
393
|
*/
|
|
411
394
|
export interface LoggingConfiguration {
|
|
412
395
|
/**
|
|
413
|
-
* <p>
|
|
396
|
+
* <p>The Airflow DAG processing logs published to CloudWatch Logs and the log level.</p>
|
|
414
397
|
*/
|
|
415
398
|
DagProcessingLogs?: ModuleLoggingConfiguration;
|
|
416
399
|
/**
|
|
417
|
-
* <p>
|
|
400
|
+
* <p>The Airflow scheduler logs published to CloudWatch Logs and the log level.</p>
|
|
418
401
|
*/
|
|
419
402
|
SchedulerLogs?: ModuleLoggingConfiguration;
|
|
420
403
|
/**
|
|
421
|
-
* <p>
|
|
404
|
+
* <p>The Airflow web server logs published to CloudWatch Logs and the log level.</p>
|
|
422
405
|
*/
|
|
423
406
|
WebserverLogs?: ModuleLoggingConfiguration;
|
|
424
407
|
/**
|
|
425
|
-
* <p>
|
|
408
|
+
* <p>The Airflow worker logs published to CloudWatch Logs and the log level.</p>
|
|
426
409
|
*/
|
|
427
410
|
WorkerLogs?: ModuleLoggingConfiguration;
|
|
428
411
|
/**
|
|
429
|
-
* <p>
|
|
412
|
+
* <p>The Airflow task logs published to CloudWatch Logs and the log level.</p>
|
|
430
413
|
*/
|
|
431
414
|
TaskLogs?: ModuleLoggingConfiguration;
|
|
432
415
|
}
|
|
@@ -447,7 +430,7 @@ export declare enum EnvironmentStatus {
|
|
|
447
430
|
UPDATING = "UPDATING"
|
|
448
431
|
}
|
|
449
432
|
/**
|
|
450
|
-
* <p>
|
|
433
|
+
* <p>Describes an Amazon Managed Workflows for Apache Airflow (MWAA) environment.</p>
|
|
451
434
|
*/
|
|
452
435
|
export interface Environment {
|
|
453
436
|
/**
|
|
@@ -506,7 +489,7 @@ export interface Environment {
|
|
|
506
489
|
*/
|
|
507
490
|
WebserverUrl?: string;
|
|
508
491
|
/**
|
|
509
|
-
* <p>The Amazon Resource Name (ARN) of the execution role in IAM that allows MWAA to access
|
|
492
|
+
* <p>The Amazon Resource Name (ARN) of the execution role in IAM that allows MWAA to access Amazon Web Services resources in your environment. For example, <code>arn:aws:iam::123456789:role/my-execution-role</code>. To learn more, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/mwaa-create-role.html">Amazon MWAA Execution role</a>.</p>
|
|
510
493
|
*/
|
|
511
494
|
ExecutionRoleArn?: string;
|
|
512
495
|
/**
|
|
@@ -514,11 +497,11 @@ export interface Environment {
|
|
|
514
497
|
*/
|
|
515
498
|
ServiceRoleArn?: string;
|
|
516
499
|
/**
|
|
517
|
-
* <p>The Key Management Service (KMS) encryption key used to encrypt the data in your environment.</p>
|
|
500
|
+
* <p>The Amazon Web Services Key Management Service (KMS) encryption key used to encrypt the data in your environment.</p>
|
|
518
501
|
*/
|
|
519
502
|
KmsKey?: string;
|
|
520
503
|
/**
|
|
521
|
-
* <p>The Apache Airflow version on your environment.
|
|
504
|
+
* <p>The Apache Airflow version on your environment. Valid values: <code>1.10.12</code>, <code>2.0.2</code>.</p>
|
|
522
505
|
*/
|
|
523
506
|
AirflowVersion?: string;
|
|
524
507
|
/**
|
|
@@ -560,23 +543,23 @@ export interface Environment {
|
|
|
560
543
|
*/
|
|
561
544
|
MaxWorkers?: number;
|
|
562
545
|
/**
|
|
563
|
-
* <p>
|
|
546
|
+
* <p>Describes the VPC networking components used to secure and enable network traffic between the Amazon Web Services resources for your environment. To learn more, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/networking-about.html">About networking on Amazon MWAA</a>.</p>
|
|
564
547
|
*/
|
|
565
548
|
NetworkConfiguration?: NetworkConfiguration;
|
|
566
549
|
/**
|
|
567
|
-
* <p>The Apache Airflow logs
|
|
550
|
+
* <p>The Apache Airflow logs published to CloudWatch Logs.</p>
|
|
568
551
|
*/
|
|
569
552
|
LoggingConfiguration?: LoggingConfiguration;
|
|
570
553
|
/**
|
|
571
|
-
* <p>The status of the last update on the environment
|
|
554
|
+
* <p>The status of the last update on the environment.</p>
|
|
572
555
|
*/
|
|
573
556
|
LastUpdate?: LastUpdate;
|
|
574
557
|
/**
|
|
575
|
-
* <p>The day and time of the week that weekly maintenance updates are scheduled. For example: <code>TUE:03:30</code>.</p>
|
|
558
|
+
* <p>The day and time of the week in Coordinated Universal Time (UTC) 24-hour standard time that weekly maintenance updates are scheduled. For example: <code>TUE:03:30</code>.</p>
|
|
576
559
|
*/
|
|
577
560
|
WeeklyMaintenanceWindowStart?: string;
|
|
578
561
|
/**
|
|
579
|
-
* <p>The key-value tag pairs associated to your environment. For example, <code>"Environment": "Staging"</code>. To learn more, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging
|
|
562
|
+
* <p>The key-value tag pairs associated to your environment. For example, <code>"Environment": "Staging"</code>. To learn more, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging Amazon Web Services resources</a>.</p>
|
|
580
563
|
*/
|
|
581
564
|
Tags?: {
|
|
582
565
|
[key: string]: string;
|
|
@@ -630,7 +613,7 @@ export declare namespace ListEnvironmentsInput {
|
|
|
630
613
|
}
|
|
631
614
|
export interface ListEnvironmentsOutput {
|
|
632
615
|
/**
|
|
633
|
-
* <p>Returns
|
|
616
|
+
* <p>Returns a list of Amazon MWAA environments.</p>
|
|
634
617
|
*/
|
|
635
618
|
Environments: string[] | undefined;
|
|
636
619
|
/**
|
|
@@ -658,7 +641,7 @@ export declare namespace ListTagsForResourceInput {
|
|
|
658
641
|
}
|
|
659
642
|
export interface ListTagsForResourceOutput {
|
|
660
643
|
/**
|
|
661
|
-
* <p>The key-value tag pairs associated to your environment. To learn more, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging
|
|
644
|
+
* <p>The key-value tag pairs associated to your environment. To learn more, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging Amazon Web Services resources</a>.</p>
|
|
662
645
|
*/
|
|
663
646
|
Tags?: {
|
|
664
647
|
[key: string]: string;
|
|
@@ -671,15 +654,18 @@ export declare namespace ListTagsForResourceOutput {
|
|
|
671
654
|
const filterSensitiveLog: (obj: ListTagsForResourceOutput) => any;
|
|
672
655
|
}
|
|
673
656
|
/**
|
|
674
|
-
* <p>
|
|
657
|
+
* <p>
|
|
658
|
+
* <b>Internal only</b>. Represents the dimensions of a metric. To learn more about the metrics published to Amazon CloudWatch, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/cw-metrics.html">Amazon MWAA performance metrics in Amazon CloudWatch</a>.</p>
|
|
675
659
|
*/
|
|
676
660
|
export interface Dimension {
|
|
677
661
|
/**
|
|
678
|
-
* <p>
|
|
662
|
+
* <p>
|
|
663
|
+
* <b>Internal only</b>. The name of the dimension.</p>
|
|
679
664
|
*/
|
|
680
665
|
Name: string | undefined;
|
|
681
666
|
/**
|
|
682
|
-
* <p>
|
|
667
|
+
* <p>
|
|
668
|
+
* <b>Internal only</b>. The value of the dimension.</p>
|
|
683
669
|
*/
|
|
684
670
|
Value: string | undefined;
|
|
685
671
|
}
|
|
@@ -690,23 +676,28 @@ export declare namespace Dimension {
|
|
|
690
676
|
const filterSensitiveLog: (obj: Dimension) => any;
|
|
691
677
|
}
|
|
692
678
|
/**
|
|
693
|
-
* <p>
|
|
679
|
+
* <p>
|
|
680
|
+
* <b>Internal only</b>. Represents a set of statistics that describe a specific metric. To learn more about the metrics published to Amazon CloudWatch, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/cw-metrics.html">Amazon MWAA performance metrics in Amazon CloudWatch</a>.</p>
|
|
694
681
|
*/
|
|
695
682
|
export interface StatisticSet {
|
|
696
683
|
/**
|
|
697
|
-
* <p>
|
|
684
|
+
* <p>
|
|
685
|
+
* <b>Internal only</b>. The number of samples used for the statistic set.</p>
|
|
698
686
|
*/
|
|
699
687
|
SampleCount?: number;
|
|
700
688
|
/**
|
|
701
|
-
* <p>
|
|
689
|
+
* <p>
|
|
690
|
+
* <b>Internal only</b>. The sum of values for the sample set.</p>
|
|
702
691
|
*/
|
|
703
692
|
Sum?: number;
|
|
704
693
|
/**
|
|
705
|
-
* <p>
|
|
694
|
+
* <p>
|
|
695
|
+
* <b>Internal only</b>. The minimum value of the sample set.</p>
|
|
706
696
|
*/
|
|
707
697
|
Minimum?: number;
|
|
708
698
|
/**
|
|
709
|
-
* <p>
|
|
699
|
+
* <p>
|
|
700
|
+
* <b>Internal only</b>. The maximum value of the sample set.</p>
|
|
710
701
|
*/
|
|
711
702
|
Maximum?: number;
|
|
712
703
|
}
|
|
@@ -746,31 +737,38 @@ export declare enum Unit {
|
|
|
746
737
|
TERABYTES_PER_SECOND = "Terabytes/Second"
|
|
747
738
|
}
|
|
748
739
|
/**
|
|
749
|
-
* <p>
|
|
740
|
+
* <p>
|
|
741
|
+
* <b>Internal only</b>. Collects Apache Airflow metrics. To learn more about the metrics published to Amazon CloudWatch, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/cw-metrics.html">Amazon MWAA performance metrics in Amazon CloudWatch</a>.</p>
|
|
750
742
|
*/
|
|
751
743
|
export interface MetricDatum {
|
|
752
744
|
/**
|
|
753
|
-
* <p>
|
|
745
|
+
* <p>
|
|
746
|
+
* <b>Internal only</b>. The name of the metric.</p>
|
|
754
747
|
*/
|
|
755
748
|
MetricName: string | undefined;
|
|
756
749
|
/**
|
|
757
|
-
* <p>
|
|
750
|
+
* <p>
|
|
751
|
+
* <b>Internal only</b>. The time the metric data was received.</p>
|
|
758
752
|
*/
|
|
759
753
|
Timestamp: Date | undefined;
|
|
760
754
|
/**
|
|
761
|
-
* <p>
|
|
755
|
+
* <p>
|
|
756
|
+
* <b>Internal only</b>. The dimensions associated with the metric.</p>
|
|
762
757
|
*/
|
|
763
758
|
Dimensions?: Dimension[];
|
|
764
759
|
/**
|
|
765
|
-
* <p>
|
|
760
|
+
* <p>
|
|
761
|
+
* <b>Internal only</b>. The value for the metric.</p>
|
|
766
762
|
*/
|
|
767
763
|
Value?: number;
|
|
768
764
|
/**
|
|
769
|
-
*
|
|
765
|
+
* <p>
|
|
766
|
+
* <b>Internal only</b>. The unit used to store the metric.</p>
|
|
770
767
|
*/
|
|
771
768
|
Unit?: Unit | string;
|
|
772
769
|
/**
|
|
773
|
-
* <p>
|
|
770
|
+
* <p>
|
|
771
|
+
* <b>Internal only</b>. The statistical values for the metric.</p>
|
|
774
772
|
*/
|
|
775
773
|
StatisticValues?: StatisticSet;
|
|
776
774
|
}
|
|
@@ -782,11 +780,13 @@ export declare namespace MetricDatum {
|
|
|
782
780
|
}
|
|
783
781
|
export interface PublishMetricsInput {
|
|
784
782
|
/**
|
|
785
|
-
* <p>
|
|
783
|
+
* <p>
|
|
784
|
+
* <b>Internal only</b>. The name of the environment.</p>
|
|
786
785
|
*/
|
|
787
786
|
EnvironmentName: string | undefined;
|
|
788
787
|
/**
|
|
789
|
-
* <p>
|
|
788
|
+
* <p>
|
|
789
|
+
* <b>Internal only</b>. Publishes metrics to Amazon CloudWatch. To learn more about the metrics published to Amazon CloudWatch, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/cw-metrics.html">Amazon MWAA performance metrics in Amazon CloudWatch</a>.</p>
|
|
790
790
|
*/
|
|
791
791
|
MetricData: MetricDatum[] | undefined;
|
|
792
792
|
}
|
|
@@ -810,7 +810,7 @@ export interface TagResourceInput {
|
|
|
810
810
|
*/
|
|
811
811
|
ResourceArn: string | undefined;
|
|
812
812
|
/**
|
|
813
|
-
* <p>The key-value tag pairs you want to associate to your environment. For example, <code>"Environment": "Staging"</code>. To learn more, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging
|
|
813
|
+
* <p>The key-value tag pairs you want to associate to your environment. For example, <code>"Environment": "Staging"</code>. To learn more, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging Amazon Web Services resources</a>.</p>
|
|
814
814
|
*/
|
|
815
815
|
Tags: {
|
|
816
816
|
[key: string]: string;
|
|
@@ -855,11 +855,11 @@ export declare namespace UntagResourceOutput {
|
|
|
855
855
|
const filterSensitiveLog: (obj: UntagResourceOutput) => any;
|
|
856
856
|
}
|
|
857
857
|
/**
|
|
858
|
-
* <p>
|
|
858
|
+
* <p>Defines the VPC networking components used to secure and enable network traffic between the Amazon Web Services resources for your environment. To learn more, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/networking-about.html">About networking on Amazon MWAA</a>.</p>
|
|
859
859
|
*/
|
|
860
860
|
export interface UpdateNetworkConfigurationInput {
|
|
861
861
|
/**
|
|
862
|
-
* <p>A list of
|
|
862
|
+
* <p>A list of security group IDs. A security group must be attached to the same VPC as the subnets. To learn more, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/vpc-security.html">Security in your VPC on Amazon MWAA</a>.</p>
|
|
863
863
|
*/
|
|
864
864
|
SecurityGroupIds: string[] | undefined;
|
|
865
865
|
}
|
|
@@ -875,11 +875,11 @@ export interface UpdateEnvironmentInput {
|
|
|
875
875
|
*/
|
|
876
876
|
Name: string | undefined;
|
|
877
877
|
/**
|
|
878
|
-
* <p>The Amazon Resource Name (ARN) of the execution role in IAM that allows MWAA to access
|
|
878
|
+
* <p>The Amazon Resource Name (ARN) of the execution role in IAM that allows MWAA to access Amazon Web Services resources in your environment. For example, <code>arn:aws:iam::123456789:role/my-execution-role</code>. To learn more, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/mwaa-create-role.html">Amazon MWAA Execution role</a>.</p>
|
|
879
879
|
*/
|
|
880
880
|
ExecutionRoleArn?: string;
|
|
881
881
|
/**
|
|
882
|
-
* <p>The Apache Airflow version for your environment.
|
|
882
|
+
* <p>The Apache Airflow version for your environment. If no value is specified, defaults to the latest version. Valid values: <code>1.10.12</code>, <code>2.0.2</code>.</p>
|
|
883
883
|
*/
|
|
884
884
|
AirflowVersion?: string;
|
|
885
885
|
/**
|
|
@@ -921,20 +921,15 @@ export interface UpdateEnvironmentInput {
|
|
|
921
921
|
*/
|
|
922
922
|
MaxWorkers?: number;
|
|
923
923
|
/**
|
|
924
|
-
* <p>The VPC networking components used to secure and enable network traffic between the
|
|
924
|
+
* <p>The VPC networking components used to secure and enable network traffic between the Amazon Web Services resources for your environment. To learn more, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/networking-about.html">About networking on Amazon MWAA</a>.</p>
|
|
925
925
|
*/
|
|
926
926
|
NetworkConfiguration?: UpdateNetworkConfigurationInput;
|
|
927
927
|
/**
|
|
928
|
-
* <p>
|
|
928
|
+
* <p>The Apache Airflow log types to send to CloudWatch Logs.</p>
|
|
929
929
|
*/
|
|
930
930
|
LoggingConfiguration?: LoggingConfigurationInput;
|
|
931
931
|
/**
|
|
932
|
-
* <p>The day and time of the week to start weekly maintenance updates of your environment in the following format: <code>DAY:HH:MM</code>. For example: <code>TUE:03:30</code>. You can specify a start time in 30 minute increments only
|
|
933
|
-
* <ul>
|
|
934
|
-
* <li>
|
|
935
|
-
* <p>MON|TUE|WED|THU|FRI|SAT|SUN:([01]\\d|2[0-3]):(00|30)</p>
|
|
936
|
-
* </li>
|
|
937
|
-
* </ul>
|
|
932
|
+
* <p>The day and time of the week in Coordinated Universal Time (UTC) 24-hour standard time to start weekly maintenance updates of your environment in the following format: <code>DAY:HH:MM</code>. For example: <code>TUE:03:30</code>. You can specify a start time in 30 minute increments only.</p>
|
|
938
933
|
*/
|
|
939
934
|
WeeklyMaintenanceWindowStart?: string;
|
|
940
935
|
/**
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
|
|
1
|
+
import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
|
|
2
2
|
import { MWAAClientConfig } from "./MWAAClient";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
6
6
|
export declare const getRuntimeConfig: (config: MWAAClientConfig) => {
|
|
7
7
|
runtime: string;
|
|
8
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
8
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
9
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
10
11
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
@@ -12,7 +13,7 @@ export declare const getRuntimeConfig: (config: MWAAClientConfig) => {
|
|
|
12
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
13
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
14
15
|
region: string | import("@aws-sdk/types").Provider<any>;
|
|
15
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
16
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
16
17
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
17
18
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
18
19
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -1,18 +1,19 @@
|
|
|
1
|
-
import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
|
|
1
|
+
import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
|
|
2
2
|
import { MWAAClientConfig } from "./MWAAClient";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
6
6
|
export declare const getRuntimeConfig: (config: MWAAClientConfig) => {
|
|
7
7
|
runtime: string;
|
|
8
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
8
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
9
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
10
11
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
11
|
-
credentialDefaultProvider: import("@aws-sdk/
|
|
12
|
+
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
12
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
13
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
14
15
|
region: string | import("@aws-sdk/types").Provider<string>;
|
|
15
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
16
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
16
17
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
17
18
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
18
19
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|