@aws-sdk/client-mwaa 3.378.0 → 3.382.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.
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
|
|
2
|
+
/**
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
2
5
|
export interface ClientInputEndpointParameters {
|
|
3
6
|
region?: string | Provider<string>;
|
|
4
7
|
useDualstackEndpoint?: boolean | Provider<boolean>;
|
package/dist-types/index.d.ts
CHANGED
|
@@ -18,6 +18,7 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
18
18
|
*/
|
|
19
19
|
export interface CreateCliTokenRequest {
|
|
20
20
|
/**
|
|
21
|
+
* @public
|
|
21
22
|
* <p>The name of the Amazon MWAA environment. For example, <code>MyMWAAEnvironment</code>.</p>
|
|
22
23
|
*/
|
|
23
24
|
Name: string | undefined;
|
|
@@ -27,10 +28,12 @@ export interface CreateCliTokenRequest {
|
|
|
27
28
|
*/
|
|
28
29
|
export interface CreateCliTokenResponse {
|
|
29
30
|
/**
|
|
31
|
+
* @public
|
|
30
32
|
* <p>An Airflow CLI login token.</p>
|
|
31
33
|
*/
|
|
32
34
|
CliToken?: string;
|
|
33
35
|
/**
|
|
36
|
+
* @public
|
|
34
37
|
* <p>The Airflow web server hostname for the environment.</p>
|
|
35
38
|
*/
|
|
36
39
|
WebServerHostname?: string;
|
|
@@ -68,10 +71,12 @@ export type LoggingLevel = (typeof LoggingLevel)[keyof typeof LoggingLevel];
|
|
|
68
71
|
*/
|
|
69
72
|
export interface ModuleLoggingConfigurationInput {
|
|
70
73
|
/**
|
|
74
|
+
* @public
|
|
71
75
|
* <p>Indicates whether to enable the Apache Airflow log type (e.g. <code>DagProcessingLogs</code>).</p>
|
|
72
76
|
*/
|
|
73
77
|
Enabled: boolean | undefined;
|
|
74
78
|
/**
|
|
79
|
+
* @public
|
|
75
80
|
* <p>Defines the Apache Airflow log level (e.g. <code>INFO</code>) to send to CloudWatch Logs.</p>
|
|
76
81
|
*/
|
|
77
82
|
LogLevel: LoggingLevel | string | undefined;
|
|
@@ -82,22 +87,27 @@ export interface ModuleLoggingConfigurationInput {
|
|
|
82
87
|
*/
|
|
83
88
|
export interface LoggingConfigurationInput {
|
|
84
89
|
/**
|
|
90
|
+
* @public
|
|
85
91
|
* <p>Publishes Airflow DAG processing logs to CloudWatch Logs.</p>
|
|
86
92
|
*/
|
|
87
93
|
DagProcessingLogs?: ModuleLoggingConfigurationInput;
|
|
88
94
|
/**
|
|
95
|
+
* @public
|
|
89
96
|
* <p>Publishes Airflow scheduler logs to CloudWatch Logs.</p>
|
|
90
97
|
*/
|
|
91
98
|
SchedulerLogs?: ModuleLoggingConfigurationInput;
|
|
92
99
|
/**
|
|
100
|
+
* @public
|
|
93
101
|
* <p>Publishes Airflow web server logs to CloudWatch Logs.</p>
|
|
94
102
|
*/
|
|
95
103
|
WebserverLogs?: ModuleLoggingConfigurationInput;
|
|
96
104
|
/**
|
|
105
|
+
* @public
|
|
97
106
|
* <p>Publishes Airflow worker logs to CloudWatch Logs.</p>
|
|
98
107
|
*/
|
|
99
108
|
WorkerLogs?: ModuleLoggingConfigurationInput;
|
|
100
109
|
/**
|
|
110
|
+
* @public
|
|
101
111
|
* <p>Publishes Airflow task logs to CloudWatch Logs.</p>
|
|
102
112
|
*/
|
|
103
113
|
TaskLogs?: ModuleLoggingConfigurationInput;
|
|
@@ -108,10 +118,12 @@ export interface LoggingConfigurationInput {
|
|
|
108
118
|
*/
|
|
109
119
|
export interface NetworkConfiguration {
|
|
110
120
|
/**
|
|
121
|
+
* @public
|
|
111
122
|
* <p>A list of subnet IDs. For more information, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/networking-about.html">About networking on Amazon MWAA</a>.</p>
|
|
112
123
|
*/
|
|
113
124
|
SubnetIds?: string[];
|
|
114
125
|
/**
|
|
126
|
+
* @public
|
|
115
127
|
* <p>A list of security group IDs. For more information, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/vpc-security.html">Security in your VPC on Amazon MWAA</a>.</p>
|
|
116
128
|
*/
|
|
117
129
|
SecurityGroupIds?: string[];
|
|
@@ -134,42 +146,52 @@ export type WebserverAccessMode = (typeof WebserverAccessMode)[keyof typeof Webs
|
|
|
134
146
|
*/
|
|
135
147
|
export interface CreateEnvironmentInput {
|
|
136
148
|
/**
|
|
149
|
+
* @public
|
|
137
150
|
* <p>The name of the Amazon MWAA environment. For example, <code>MyMWAAEnvironment</code>.</p>
|
|
138
151
|
*/
|
|
139
152
|
Name: string | undefined;
|
|
140
153
|
/**
|
|
154
|
+
* @public
|
|
141
155
|
* <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>. For more information, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/mwaa-create-role.html">Amazon MWAA Execution role</a>.</p>
|
|
142
156
|
*/
|
|
143
157
|
ExecutionRoleArn: string | undefined;
|
|
144
158
|
/**
|
|
159
|
+
* @public
|
|
145
160
|
* <p>The Amazon Resource Name (ARN) of the Amazon S3 bucket where your DAG code and supporting files are stored. For example, <code>arn:aws:s3:::my-airflow-bucket-unique-name</code>. For more information, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/mwaa-s3-bucket.html">Create an Amazon S3 bucket for Amazon MWAA</a>.</p>
|
|
146
161
|
*/
|
|
147
162
|
SourceBucketArn: string | undefined;
|
|
148
163
|
/**
|
|
164
|
+
* @public
|
|
149
165
|
* <p>The relative path to the DAGs folder on your Amazon S3 bucket. For example, <code>dags</code>. For more information, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/configuring-dag-folder.html">Adding or updating DAGs</a>.</p>
|
|
150
166
|
*/
|
|
151
167
|
DagS3Path: string | undefined;
|
|
152
168
|
/**
|
|
169
|
+
* @public
|
|
153
170
|
* <p>The VPC networking components used to secure and enable network traffic between the Amazon Web Services resources for your environment. For more information, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/networking-about.html">About networking on Amazon MWAA</a>.</p>
|
|
154
171
|
*/
|
|
155
172
|
NetworkConfiguration: NetworkConfiguration | undefined;
|
|
156
173
|
/**
|
|
174
|
+
* @public
|
|
157
175
|
* <p>The relative path to the <code>plugins.zip</code> file on your Amazon S3 bucket. For example, <code>plugins.zip</code>. If specified, then the <code>plugins.zip</code> version is required. For more information, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/configuring-dag-import-plugins.html">Installing custom plugins</a>.</p>
|
|
158
176
|
*/
|
|
159
177
|
PluginsS3Path?: string;
|
|
160
178
|
/**
|
|
179
|
+
* @public
|
|
161
180
|
* <p>The version of the plugins.zip file on your Amazon S3 bucket. You must specify a version each time a plugins.zip file is updated. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/versioning-workflows.html">How S3 Versioning works</a>.</p>
|
|
162
181
|
*/
|
|
163
182
|
PluginsS3ObjectVersion?: string;
|
|
164
183
|
/**
|
|
184
|
+
* @public
|
|
165
185
|
* <p>The relative path to the <code>requirements.txt</code> file on your Amazon S3 bucket. For example, <code>requirements.txt</code>. If specified, then a version is required. For more information, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/working-dags-dependencies.html">Installing Python dependencies</a>.</p>
|
|
166
186
|
*/
|
|
167
187
|
RequirementsS3Path?: string;
|
|
168
188
|
/**
|
|
189
|
+
* @public
|
|
169
190
|
* <p>The version of the <code>requirements.txt</code> file on your Amazon S3 bucket. You must specify a version each time a requirements.txt file is updated. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/versioning-workflows.html">How S3 Versioning works</a>.</p>
|
|
170
191
|
*/
|
|
171
192
|
RequirementsS3ObjectVersion?: string;
|
|
172
193
|
/**
|
|
194
|
+
* @public
|
|
173
195
|
* <p>The relative path to the startup shell script in your Amazon S3 bucket. For example, <code>s3://mwaa-environment/startup.sh</code>.</p>
|
|
174
196
|
* <p>
|
|
175
197
|
* Amazon MWAA runs the script as your environment starts, and before running the Apache Airflow process.
|
|
@@ -179,6 +201,7 @@ export interface CreateEnvironmentInput {
|
|
|
179
201
|
*/
|
|
180
202
|
StartupScriptS3Path?: string;
|
|
181
203
|
/**
|
|
204
|
+
* @public
|
|
182
205
|
* <p>The version of the startup shell script in your Amazon S3 bucket. You must specify the <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/versioning-workflows.html">version ID</a> that Amazon S3 assigns to the file
|
|
183
206
|
* every time you update the script.
|
|
184
207
|
* </p>
|
|
@@ -194,48 +217,59 @@ export interface CreateEnvironmentInput {
|
|
|
194
217
|
*/
|
|
195
218
|
StartupScriptS3ObjectVersion?: string;
|
|
196
219
|
/**
|
|
220
|
+
* @public
|
|
197
221
|
* <p>A list of key-value pairs containing the Apache Airflow configuration options you want to attach to your environment. For more information, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/configuring-env-variables.html">Apache Airflow configuration options</a>.</p>
|
|
198
222
|
*/
|
|
199
223
|
AirflowConfigurationOptions?: Record<string, string>;
|
|
200
224
|
/**
|
|
225
|
+
* @public
|
|
201
226
|
* <p>The environment class type. Valid values: <code>mw1.small</code>, <code>mw1.medium</code>, <code>mw1.large</code>. For more information, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/environment-class.html">Amazon MWAA environment class</a>.</p>
|
|
202
227
|
*/
|
|
203
228
|
EnvironmentClass?: string;
|
|
204
229
|
/**
|
|
230
|
+
* @public
|
|
205
231
|
* <p>The maximum number of workers that you want to run in your environment. MWAA scales the number of Apache Airflow workers up to the number you specify in the <code>MaxWorkers</code> field. For example, <code>20</code>. When there are no more tasks running, and no more in the queue, MWAA disposes of the extra workers leaving the one worker that is included with your environment, or the number you specify in <code>MinWorkers</code>.</p>
|
|
206
232
|
*/
|
|
207
233
|
MaxWorkers?: number;
|
|
208
234
|
/**
|
|
235
|
+
* @public
|
|
209
236
|
* <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). For more information, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/create-environment.html">Create an Amazon MWAA environment</a>.</p>
|
|
210
237
|
*/
|
|
211
238
|
KmsKey?: string;
|
|
212
239
|
/**
|
|
240
|
+
* @public
|
|
213
241
|
* <p>The Apache Airflow version for your environment. If no value is specified, it defaults to the latest version. Valid values:
|
|
214
242
|
* <code>1.10.12</code>, <code>2.0.2</code>, <code>2.2.2</code>, <code>2.4.3</code>, and <code>2.5.1</code>.
|
|
215
243
|
* For more information, 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>
|
|
216
244
|
*/
|
|
217
245
|
AirflowVersion?: string;
|
|
218
246
|
/**
|
|
247
|
+
* @public
|
|
219
248
|
* <p>Defines the Apache Airflow logs to send to CloudWatch Logs.</p>
|
|
220
249
|
*/
|
|
221
250
|
LoggingConfiguration?: LoggingConfigurationInput;
|
|
222
251
|
/**
|
|
252
|
+
* @public
|
|
223
253
|
* <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>
|
|
224
254
|
*/
|
|
225
255
|
WeeklyMaintenanceWindowStart?: string;
|
|
226
256
|
/**
|
|
257
|
+
* @public
|
|
227
258
|
* <p>The key-value tag pairs you want to associate to your environment. For example, <code>"Environment": "Staging"</code>. For more information, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging Amazon Web Services resources</a>.</p>
|
|
228
259
|
*/
|
|
229
260
|
Tags?: Record<string, string>;
|
|
230
261
|
/**
|
|
262
|
+
* @public
|
|
231
263
|
* <p>The Apache Airflow <i>Web server</i> access mode. For more information, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/configuring-networking.html">Apache Airflow access modes</a>.</p>
|
|
232
264
|
*/
|
|
233
265
|
WebserverAccessMode?: WebserverAccessMode | string;
|
|
234
266
|
/**
|
|
267
|
+
* @public
|
|
235
268
|
* <p>The minimum number of workers that you want to run in your environment. MWAA scales the number of Apache Airflow workers up to the number you specify in the <code>MaxWorkers</code> field. When there are no more tasks running, and no more in the queue, MWAA disposes of the extra workers leaving the worker count you specify in the <code>MinWorkers</code> field. For example, <code>2</code>.</p>
|
|
236
269
|
*/
|
|
237
270
|
MinWorkers?: number;
|
|
238
271
|
/**
|
|
272
|
+
* @public
|
|
239
273
|
* <p>The number of Apache Airflow schedulers to run in your environment. Valid values:</p>
|
|
240
274
|
* <ul>
|
|
241
275
|
* <li>
|
|
@@ -253,6 +287,7 @@ export interface CreateEnvironmentInput {
|
|
|
253
287
|
*/
|
|
254
288
|
export interface CreateEnvironmentOutput {
|
|
255
289
|
/**
|
|
290
|
+
* @public
|
|
256
291
|
* <p>The Amazon Resource Name (ARN) returned in the response for the environment.</p>
|
|
257
292
|
*/
|
|
258
293
|
Arn?: string;
|
|
@@ -286,6 +321,7 @@ export declare class ValidationException extends __BaseException {
|
|
|
286
321
|
*/
|
|
287
322
|
export interface CreateWebLoginTokenRequest {
|
|
288
323
|
/**
|
|
324
|
+
* @public
|
|
289
325
|
* <p>The name of the Amazon MWAA environment. For example, <code>MyMWAAEnvironment</code>.</p>
|
|
290
326
|
*/
|
|
291
327
|
Name: string | undefined;
|
|
@@ -295,10 +331,12 @@ export interface CreateWebLoginTokenRequest {
|
|
|
295
331
|
*/
|
|
296
332
|
export interface CreateWebLoginTokenResponse {
|
|
297
333
|
/**
|
|
334
|
+
* @public
|
|
298
335
|
* <p>An Airflow web server login token.</p>
|
|
299
336
|
*/
|
|
300
337
|
WebToken?: string;
|
|
301
338
|
/**
|
|
339
|
+
* @public
|
|
302
340
|
* <p>The Airflow web server hostname for the environment.</p>
|
|
303
341
|
*/
|
|
304
342
|
WebServerHostname?: string;
|
|
@@ -308,6 +346,7 @@ export interface CreateWebLoginTokenResponse {
|
|
|
308
346
|
*/
|
|
309
347
|
export interface DeleteEnvironmentInput {
|
|
310
348
|
/**
|
|
349
|
+
* @public
|
|
311
350
|
* <p>The name of the Amazon MWAA environment. For example, <code>MyMWAAEnvironment</code>.</p>
|
|
312
351
|
*/
|
|
313
352
|
Name: string | undefined;
|
|
@@ -322,6 +361,7 @@ export interface DeleteEnvironmentOutput {
|
|
|
322
361
|
*/
|
|
323
362
|
export interface GetEnvironmentInput {
|
|
324
363
|
/**
|
|
364
|
+
* @public
|
|
325
365
|
* <p>The name of the Amazon MWAA environment. For example, <code>MyMWAAEnvironment</code>.</p>
|
|
326
366
|
*/
|
|
327
367
|
Name: string | undefined;
|
|
@@ -332,10 +372,12 @@ export interface GetEnvironmentInput {
|
|
|
332
372
|
*/
|
|
333
373
|
export interface UpdateError {
|
|
334
374
|
/**
|
|
375
|
+
* @public
|
|
335
376
|
* <p>The error code that corresponds to the error with the last update.</p>
|
|
336
377
|
*/
|
|
337
378
|
ErrorCode?: string;
|
|
338
379
|
/**
|
|
380
|
+
* @public
|
|
339
381
|
* <p>The error message that corresponds to the error code.</p>
|
|
340
382
|
*/
|
|
341
383
|
ErrorMessage?: string;
|
|
@@ -359,18 +401,22 @@ export type UpdateStatus = (typeof UpdateStatus)[keyof typeof UpdateStatus];
|
|
|
359
401
|
*/
|
|
360
402
|
export interface LastUpdate {
|
|
361
403
|
/**
|
|
404
|
+
* @public
|
|
362
405
|
* <p>The status of the last update on the environment.</p>
|
|
363
406
|
*/
|
|
364
407
|
Status?: UpdateStatus | string;
|
|
365
408
|
/**
|
|
409
|
+
* @public
|
|
366
410
|
* <p>The day and time of the last update on the environment.</p>
|
|
367
411
|
*/
|
|
368
412
|
CreatedAt?: Date;
|
|
369
413
|
/**
|
|
414
|
+
* @public
|
|
370
415
|
* <p>The error that was encountered during the last update of the environment.</p>
|
|
371
416
|
*/
|
|
372
417
|
Error?: UpdateError;
|
|
373
418
|
/**
|
|
419
|
+
* @public
|
|
374
420
|
* <p>The source of the last update to the environment. Includes internal processes by Amazon MWAA, such as an environment maintenance update.</p>
|
|
375
421
|
*/
|
|
376
422
|
Source?: string;
|
|
@@ -381,14 +427,17 @@ export interface LastUpdate {
|
|
|
381
427
|
*/
|
|
382
428
|
export interface ModuleLoggingConfiguration {
|
|
383
429
|
/**
|
|
430
|
+
* @public
|
|
384
431
|
* <p>Indicates whether the Apache Airflow log type (e.g. <code>DagProcessingLogs</code>) is enabled.</p>
|
|
385
432
|
*/
|
|
386
433
|
Enabled?: boolean;
|
|
387
434
|
/**
|
|
435
|
+
* @public
|
|
388
436
|
* <p>The Apache Airflow log level for the log type (e.g. <code>DagProcessingLogs</code>). </p>
|
|
389
437
|
*/
|
|
390
438
|
LogLevel?: LoggingLevel | string;
|
|
391
439
|
/**
|
|
440
|
+
* @public
|
|
392
441
|
* <p>The Amazon Resource Name (ARN) for the CloudWatch Logs group where the Apache Airflow log type (e.g. <code>DagProcessingLogs</code>) is published. For example, <code>arn:aws:logs:us-east-1:123456789012:log-group:airflow-MyMWAAEnvironment-MwaaEnvironment-DAGProcessing:*</code>.</p>
|
|
393
442
|
*/
|
|
394
443
|
CloudWatchLogGroupArn?: string;
|
|
@@ -399,22 +448,27 @@ export interface ModuleLoggingConfiguration {
|
|
|
399
448
|
*/
|
|
400
449
|
export interface LoggingConfiguration {
|
|
401
450
|
/**
|
|
451
|
+
* @public
|
|
402
452
|
* <p>The Airflow DAG processing logs published to CloudWatch Logs and the log level.</p>
|
|
403
453
|
*/
|
|
404
454
|
DagProcessingLogs?: ModuleLoggingConfiguration;
|
|
405
455
|
/**
|
|
456
|
+
* @public
|
|
406
457
|
* <p>The Airflow scheduler logs published to CloudWatch Logs and the log level.</p>
|
|
407
458
|
*/
|
|
408
459
|
SchedulerLogs?: ModuleLoggingConfiguration;
|
|
409
460
|
/**
|
|
461
|
+
* @public
|
|
410
462
|
* <p>The Airflow web server logs published to CloudWatch Logs and the log level.</p>
|
|
411
463
|
*/
|
|
412
464
|
WebserverLogs?: ModuleLoggingConfiguration;
|
|
413
465
|
/**
|
|
466
|
+
* @public
|
|
414
467
|
* <p>The Airflow worker logs published to CloudWatch Logs and the log level.</p>
|
|
415
468
|
*/
|
|
416
469
|
WorkerLogs?: ModuleLoggingConfiguration;
|
|
417
470
|
/**
|
|
471
|
+
* @public
|
|
418
472
|
* <p>The Airflow task logs published to CloudWatch Logs and the log level.</p>
|
|
419
473
|
*/
|
|
420
474
|
TaskLogs?: ModuleLoggingConfiguration;
|
|
@@ -445,10 +499,12 @@ export type EnvironmentStatus = (typeof EnvironmentStatus)[keyof typeof Environm
|
|
|
445
499
|
*/
|
|
446
500
|
export interface Environment {
|
|
447
501
|
/**
|
|
502
|
+
* @public
|
|
448
503
|
* <p>The name of the Amazon MWAA environment. For example, <code>MyMWAAEnvironment</code>.</p>
|
|
449
504
|
*/
|
|
450
505
|
Name?: string;
|
|
451
506
|
/**
|
|
507
|
+
* @public
|
|
452
508
|
* <p>The status of the Amazon MWAA environment. Valid values:</p>
|
|
453
509
|
* <ul>
|
|
454
510
|
* <li>
|
|
@@ -498,46 +554,57 @@ export interface Environment {
|
|
|
498
554
|
*/
|
|
499
555
|
Status?: EnvironmentStatus | string;
|
|
500
556
|
/**
|
|
557
|
+
* @public
|
|
501
558
|
* <p>The Amazon Resource Name (ARN) of the Amazon MWAA environment.</p>
|
|
502
559
|
*/
|
|
503
560
|
Arn?: string;
|
|
504
561
|
/**
|
|
562
|
+
* @public
|
|
505
563
|
* <p>The day and time the environment was created.</p>
|
|
506
564
|
*/
|
|
507
565
|
CreatedAt?: Date;
|
|
508
566
|
/**
|
|
567
|
+
* @public
|
|
509
568
|
* <p>The Apache Airflow <i>Web server</i> host name for the Amazon MWAA environment. For more information, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/access-airflow-ui.html">Accessing the Apache Airflow UI</a>.</p>
|
|
510
569
|
*/
|
|
511
570
|
WebserverUrl?: string;
|
|
512
571
|
/**
|
|
572
|
+
* @public
|
|
513
573
|
* <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>. For more information, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/mwaa-create-role.html">Amazon MWAA Execution role</a>.</p>
|
|
514
574
|
*/
|
|
515
575
|
ExecutionRoleArn?: string;
|
|
516
576
|
/**
|
|
577
|
+
* @public
|
|
517
578
|
* <p>The Amazon Resource Name (ARN) for the service-linked role of the environment. For more information, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/mwaa-slr.html">Amazon MWAA Service-linked role</a>.</p>
|
|
518
579
|
*/
|
|
519
580
|
ServiceRoleArn?: string;
|
|
520
581
|
/**
|
|
582
|
+
* @public
|
|
521
583
|
* <p>The Amazon Web Services Key Management Service (KMS) encryption key used to encrypt the data in your environment.</p>
|
|
522
584
|
*/
|
|
523
585
|
KmsKey?: string;
|
|
524
586
|
/**
|
|
587
|
+
* @public
|
|
525
588
|
* <p>The Apache Airflow version on your environment. Valid values: <code>1.10.12</code>, <code>2.0.2</code>, <code>2.2.2</code>, <code>2.4.3</code>, and <code>2.5.1</code>.</p>
|
|
526
589
|
*/
|
|
527
590
|
AirflowVersion?: string;
|
|
528
591
|
/**
|
|
592
|
+
* @public
|
|
529
593
|
* <p>The Amazon Resource Name (ARN) of the Amazon S3 bucket where your DAG code and supporting files are stored. For example, <code>arn:aws:s3:::my-airflow-bucket-unique-name</code>. For more information, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/mwaa-s3-bucket.html">Create an Amazon S3 bucket for Amazon MWAA</a>.</p>
|
|
530
594
|
*/
|
|
531
595
|
SourceBucketArn?: string;
|
|
532
596
|
/**
|
|
597
|
+
* @public
|
|
533
598
|
* <p>The relative path to the DAGs folder in your Amazon S3 bucket. For example, <code>s3://mwaa-environment/dags</code>. For more information, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/configuring-dag-folder.html">Adding or updating DAGs</a>.</p>
|
|
534
599
|
*/
|
|
535
600
|
DagS3Path?: string;
|
|
536
601
|
/**
|
|
602
|
+
* @public
|
|
537
603
|
* <p>The relative path to the file in your Amazon S3 bucket. For example, <code>s3://mwaa-environment/plugins.zip</code>. For more information, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/configuring-dag-import-plugins.html">Installing custom plugins</a>.</p>
|
|
538
604
|
*/
|
|
539
605
|
PluginsS3Path?: string;
|
|
540
606
|
/**
|
|
607
|
+
* @public
|
|
541
608
|
* <p>The version of the <code>plugins.zip</code> file in your Amazon S3 bucket. You must specify the <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/versioning-workflows.html">version ID</a> that Amazon S3 assigns to the file.</p>
|
|
542
609
|
* <p>
|
|
543
610
|
* Version IDs are Unicode, UTF-8 encoded, URL-ready, opaque strings that are no more than 1,024 bytes long. The following is an example:
|
|
@@ -549,11 +616,13 @@ export interface Environment {
|
|
|
549
616
|
*/
|
|
550
617
|
PluginsS3ObjectVersion?: string;
|
|
551
618
|
/**
|
|
619
|
+
* @public
|
|
552
620
|
* <p>The relative path to the <code>requirements.txt</code> file in your Amazon S3 bucket. For example, <code>s3://mwaa-environment/requirements.txt</code>. For more information, see
|
|
553
621
|
* <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/working-dags-dependencies.html">Installing Python dependencies</a>.</p>
|
|
554
622
|
*/
|
|
555
623
|
RequirementsS3Path?: string;
|
|
556
624
|
/**
|
|
625
|
+
* @public
|
|
557
626
|
* <p>The version of the <code>requirements.txt </code> file on your Amazon S3 bucket. You must specify the <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/versioning-workflows.html">version ID</a> that Amazon S3 assigns to the file.</p>
|
|
558
627
|
* <p>
|
|
559
628
|
* Version IDs are Unicode, UTF-8 encoded, URL-ready, opaque strings that are no more than 1,024 bytes long. The following is an example:
|
|
@@ -567,6 +636,7 @@ export interface Environment {
|
|
|
567
636
|
*/
|
|
568
637
|
RequirementsS3ObjectVersion?: string;
|
|
569
638
|
/**
|
|
639
|
+
* @public
|
|
570
640
|
* <p>The relative path to the startup shell script in your Amazon S3 bucket. For example, <code>s3://mwaa-environment/startup.sh</code>.</p>
|
|
571
641
|
* <p>
|
|
572
642
|
* Amazon MWAA runs the script as your environment starts, and before running the Apache Airflow process.
|
|
@@ -576,6 +646,7 @@ export interface Environment {
|
|
|
576
646
|
*/
|
|
577
647
|
StartupScriptS3Path?: string;
|
|
578
648
|
/**
|
|
649
|
+
* @public
|
|
579
650
|
* <p>The version of the startup shell script in your Amazon S3 bucket. You must specify the <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/versioning-workflows.html">version ID</a> that Amazon S3 assigns to the file.</p>
|
|
580
651
|
* <p>
|
|
581
652
|
* Version IDs are Unicode, UTF-8 encoded, URL-ready, opaque strings that are no more than 1,024 bytes long. The following is an example:
|
|
@@ -589,46 +660,57 @@ export interface Environment {
|
|
|
589
660
|
*/
|
|
590
661
|
StartupScriptS3ObjectVersion?: string;
|
|
591
662
|
/**
|
|
663
|
+
* @public
|
|
592
664
|
* <p>A list of key-value pairs containing the Apache Airflow configuration options attached to your environment. For more information, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/configuring-env-variables.html">Apache Airflow configuration options</a>.</p>
|
|
593
665
|
*/
|
|
594
666
|
AirflowConfigurationOptions?: Record<string, string>;
|
|
595
667
|
/**
|
|
668
|
+
* @public
|
|
596
669
|
* <p>The environment class type. Valid values: <code>mw1.small</code>, <code>mw1.medium</code>, <code>mw1.large</code>. For more information, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/environment-class.html">Amazon MWAA environment class</a>.</p>
|
|
597
670
|
*/
|
|
598
671
|
EnvironmentClass?: string;
|
|
599
672
|
/**
|
|
673
|
+
* @public
|
|
600
674
|
* <p>The maximum number of workers that run in your environment. For example, <code>20</code>.</p>
|
|
601
675
|
*/
|
|
602
676
|
MaxWorkers?: number;
|
|
603
677
|
/**
|
|
678
|
+
* @public
|
|
604
679
|
* <p>Describes the VPC networking components used to secure and enable network traffic between the Amazon Web Services resources for your environment. For more information, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/networking-about.html">About networking on Amazon MWAA</a>.</p>
|
|
605
680
|
*/
|
|
606
681
|
NetworkConfiguration?: NetworkConfiguration;
|
|
607
682
|
/**
|
|
683
|
+
* @public
|
|
608
684
|
* <p>The Apache Airflow logs published to CloudWatch Logs.</p>
|
|
609
685
|
*/
|
|
610
686
|
LoggingConfiguration?: LoggingConfiguration;
|
|
611
687
|
/**
|
|
688
|
+
* @public
|
|
612
689
|
* <p>The status of the last update on the environment.</p>
|
|
613
690
|
*/
|
|
614
691
|
LastUpdate?: LastUpdate;
|
|
615
692
|
/**
|
|
693
|
+
* @public
|
|
616
694
|
* <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>
|
|
617
695
|
*/
|
|
618
696
|
WeeklyMaintenanceWindowStart?: string;
|
|
619
697
|
/**
|
|
698
|
+
* @public
|
|
620
699
|
* <p>The key-value tag pairs associated to your environment. For example, <code>"Environment": "Staging"</code>. For more information, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging Amazon Web Services resources</a>.</p>
|
|
621
700
|
*/
|
|
622
701
|
Tags?: Record<string, string>;
|
|
623
702
|
/**
|
|
703
|
+
* @public
|
|
624
704
|
* <p>The Apache Airflow <i>Web server</i> access mode. For more information, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/configuring-networking.html">Apache Airflow access modes</a>.</p>
|
|
625
705
|
*/
|
|
626
706
|
WebserverAccessMode?: WebserverAccessMode | string;
|
|
627
707
|
/**
|
|
708
|
+
* @public
|
|
628
709
|
* <p>The minimum number of workers that run in your environment. For example, <code>2</code>.</p>
|
|
629
710
|
*/
|
|
630
711
|
MinWorkers?: number;
|
|
631
712
|
/**
|
|
713
|
+
* @public
|
|
632
714
|
* <p>The number of Apache Airflow schedulers that run in your Amazon MWAA environment.</p>
|
|
633
715
|
*/
|
|
634
716
|
Schedulers?: number;
|
|
@@ -638,6 +720,7 @@ export interface Environment {
|
|
|
638
720
|
*/
|
|
639
721
|
export interface GetEnvironmentOutput {
|
|
640
722
|
/**
|
|
723
|
+
* @public
|
|
641
724
|
* <p>An object containing all available details about the environment.</p>
|
|
642
725
|
*/
|
|
643
726
|
Environment?: Environment;
|
|
@@ -647,10 +730,12 @@ export interface GetEnvironmentOutput {
|
|
|
647
730
|
*/
|
|
648
731
|
export interface ListEnvironmentsInput {
|
|
649
732
|
/**
|
|
733
|
+
* @public
|
|
650
734
|
* <p>Retrieves the next page of the results.</p>
|
|
651
735
|
*/
|
|
652
736
|
NextToken?: string;
|
|
653
737
|
/**
|
|
738
|
+
* @public
|
|
654
739
|
* <p>The maximum number of results to retrieve per page. For example, <code>5</code> environments per page.</p>
|
|
655
740
|
*/
|
|
656
741
|
MaxResults?: number;
|
|
@@ -660,10 +745,12 @@ export interface ListEnvironmentsInput {
|
|
|
660
745
|
*/
|
|
661
746
|
export interface ListEnvironmentsOutput {
|
|
662
747
|
/**
|
|
748
|
+
* @public
|
|
663
749
|
* <p>Returns a list of Amazon MWAA environments.</p>
|
|
664
750
|
*/
|
|
665
751
|
Environments: string[] | undefined;
|
|
666
752
|
/**
|
|
753
|
+
* @public
|
|
667
754
|
* <p>Retrieves the next page of the results.</p>
|
|
668
755
|
*/
|
|
669
756
|
NextToken?: string;
|
|
@@ -673,6 +760,7 @@ export interface ListEnvironmentsOutput {
|
|
|
673
760
|
*/
|
|
674
761
|
export interface ListTagsForResourceInput {
|
|
675
762
|
/**
|
|
763
|
+
* @public
|
|
676
764
|
* <p>The Amazon Resource Name (ARN) of the Amazon MWAA environment. For example, <code>arn:aws:airflow:us-east-1:123456789012:environment/MyMWAAEnvironment</code>.</p>
|
|
677
765
|
*/
|
|
678
766
|
ResourceArn: string | undefined;
|
|
@@ -682,6 +770,7 @@ export interface ListTagsForResourceInput {
|
|
|
682
770
|
*/
|
|
683
771
|
export interface ListTagsForResourceOutput {
|
|
684
772
|
/**
|
|
773
|
+
* @public
|
|
685
774
|
* <p>The key-value tag pairs associated to your environment. For more information, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging Amazon Web Services resources</a>.</p>
|
|
686
775
|
*/
|
|
687
776
|
Tags?: Record<string, string>;
|
|
@@ -693,11 +782,13 @@ export interface ListTagsForResourceOutput {
|
|
|
693
782
|
*/
|
|
694
783
|
export interface Dimension {
|
|
695
784
|
/**
|
|
785
|
+
* @public
|
|
696
786
|
* <p>
|
|
697
787
|
* <b>Internal only</b>. The name of the dimension.</p>
|
|
698
788
|
*/
|
|
699
789
|
Name: string | undefined;
|
|
700
790
|
/**
|
|
791
|
+
* @public
|
|
701
792
|
* <p>
|
|
702
793
|
* <b>Internal only</b>. The value of the dimension.</p>
|
|
703
794
|
*/
|
|
@@ -710,21 +801,25 @@ export interface Dimension {
|
|
|
710
801
|
*/
|
|
711
802
|
export interface StatisticSet {
|
|
712
803
|
/**
|
|
804
|
+
* @public
|
|
713
805
|
* <p>
|
|
714
806
|
* <b>Internal only</b>. The number of samples used for the statistic set.</p>
|
|
715
807
|
*/
|
|
716
808
|
SampleCount?: number;
|
|
717
809
|
/**
|
|
810
|
+
* @public
|
|
718
811
|
* <p>
|
|
719
812
|
* <b>Internal only</b>. The sum of values for the sample set.</p>
|
|
720
813
|
*/
|
|
721
814
|
Sum?: number;
|
|
722
815
|
/**
|
|
816
|
+
* @public
|
|
723
817
|
* <p>
|
|
724
818
|
* <b>Internal only</b>. The minimum value of the sample set.</p>
|
|
725
819
|
*/
|
|
726
820
|
Minimum?: number;
|
|
727
821
|
/**
|
|
822
|
+
* @public
|
|
728
823
|
* <p>
|
|
729
824
|
* <b>Internal only</b>. The maximum value of the sample set.</p>
|
|
730
825
|
*/
|
|
@@ -774,31 +869,37 @@ export type Unit = (typeof Unit)[keyof typeof Unit];
|
|
|
774
869
|
*/
|
|
775
870
|
export interface MetricDatum {
|
|
776
871
|
/**
|
|
872
|
+
* @public
|
|
777
873
|
* <p>
|
|
778
874
|
* <b>Internal only</b>. The name of the metric.</p>
|
|
779
875
|
*/
|
|
780
876
|
MetricName: string | undefined;
|
|
781
877
|
/**
|
|
878
|
+
* @public
|
|
782
879
|
* <p>
|
|
783
880
|
* <b>Internal only</b>. The time the metric data was received.</p>
|
|
784
881
|
*/
|
|
785
882
|
Timestamp: Date | undefined;
|
|
786
883
|
/**
|
|
884
|
+
* @public
|
|
787
885
|
* <p>
|
|
788
886
|
* <b>Internal only</b>. The dimensions associated with the metric.</p>
|
|
789
887
|
*/
|
|
790
888
|
Dimensions?: Dimension[];
|
|
791
889
|
/**
|
|
890
|
+
* @public
|
|
792
891
|
* <p>
|
|
793
892
|
* <b>Internal only</b>. The value for the metric.</p>
|
|
794
893
|
*/
|
|
795
894
|
Value?: number;
|
|
796
895
|
/**
|
|
896
|
+
* @public
|
|
797
897
|
* <p>
|
|
798
898
|
* <b>Internal only</b>. The unit used to store the metric.</p>
|
|
799
899
|
*/
|
|
800
900
|
Unit?: Unit | string;
|
|
801
901
|
/**
|
|
902
|
+
* @public
|
|
802
903
|
* <p>
|
|
803
904
|
* <b>Internal only</b>. The statistical values for the metric.</p>
|
|
804
905
|
*/
|
|
@@ -809,11 +910,13 @@ export interface MetricDatum {
|
|
|
809
910
|
*/
|
|
810
911
|
export interface PublishMetricsInput {
|
|
811
912
|
/**
|
|
913
|
+
* @public
|
|
812
914
|
* <p>
|
|
813
915
|
* <b>Internal only</b>. The name of the environment.</p>
|
|
814
916
|
*/
|
|
815
917
|
EnvironmentName: string | undefined;
|
|
816
918
|
/**
|
|
919
|
+
* @public
|
|
817
920
|
* <p>
|
|
818
921
|
* <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>
|
|
819
922
|
*/
|
|
@@ -829,10 +932,12 @@ export interface PublishMetricsOutput {
|
|
|
829
932
|
*/
|
|
830
933
|
export interface TagResourceInput {
|
|
831
934
|
/**
|
|
935
|
+
* @public
|
|
832
936
|
* <p>The Amazon Resource Name (ARN) of the Amazon MWAA environment. For example, <code>arn:aws:airflow:us-east-1:123456789012:environment/MyMWAAEnvironment</code>.</p>
|
|
833
937
|
*/
|
|
834
938
|
ResourceArn: string | undefined;
|
|
835
939
|
/**
|
|
940
|
+
* @public
|
|
836
941
|
* <p>The key-value tag pairs you want to associate to your environment. For example, <code>"Environment": "Staging"</code>. For more information, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging Amazon Web Services resources</a>.</p>
|
|
837
942
|
*/
|
|
838
943
|
Tags: Record<string, string> | undefined;
|
|
@@ -847,10 +952,12 @@ export interface TagResourceOutput {
|
|
|
847
952
|
*/
|
|
848
953
|
export interface UntagResourceInput {
|
|
849
954
|
/**
|
|
955
|
+
* @public
|
|
850
956
|
* <p>The Amazon Resource Name (ARN) of the Amazon MWAA environment. For example, <code>arn:aws:airflow:us-east-1:123456789012:environment/MyMWAAEnvironment</code>.</p>
|
|
851
957
|
*/
|
|
852
958
|
ResourceArn: string | undefined;
|
|
853
959
|
/**
|
|
960
|
+
* @public
|
|
854
961
|
* <p>The key-value tag pair you want to remove. For example, <code>"Environment": "Staging"</code>. </p>
|
|
855
962
|
*/
|
|
856
963
|
tagKeys: string[] | undefined;
|
|
@@ -866,6 +973,7 @@ export interface UntagResourceOutput {
|
|
|
866
973
|
*/
|
|
867
974
|
export interface UpdateNetworkConfigurationInput {
|
|
868
975
|
/**
|
|
976
|
+
* @public
|
|
869
977
|
* <p>A list of security group IDs. A security group must be attached to the same VPC as the subnets. For more information, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/vpc-security.html">Security in your VPC on Amazon MWAA</a>.</p>
|
|
870
978
|
*/
|
|
871
979
|
SecurityGroupIds: string[] | undefined;
|
|
@@ -875,14 +983,17 @@ export interface UpdateNetworkConfigurationInput {
|
|
|
875
983
|
*/
|
|
876
984
|
export interface UpdateEnvironmentInput {
|
|
877
985
|
/**
|
|
986
|
+
* @public
|
|
878
987
|
* <p>The name of your Amazon MWAA environment. For example, <code>MyMWAAEnvironment</code>.</p>
|
|
879
988
|
*/
|
|
880
989
|
Name: string | undefined;
|
|
881
990
|
/**
|
|
991
|
+
* @public
|
|
882
992
|
* <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>. For more information, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/mwaa-create-role.html">Amazon MWAA Execution role</a>.</p>
|
|
883
993
|
*/
|
|
884
994
|
ExecutionRoleArn?: string;
|
|
885
995
|
/**
|
|
996
|
+
* @public
|
|
886
997
|
* <p>The Apache Airflow version for your environment. To upgrade your environment, specify a newer version of Apache Airflow supported by Amazon MWAA.</p>
|
|
887
998
|
* <p>Before you upgrade an environment, make sure your requirements, DAGs, plugins, and other resources used in your workflows are compatible with the new Apache Airflow version. For more information about updating
|
|
888
999
|
* your resources, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/upgrading-environment.html">Upgrading an Amazon MWAA environment</a>.</p>
|
|
@@ -890,30 +1001,37 @@ export interface UpdateEnvironmentInput {
|
|
|
890
1001
|
*/
|
|
891
1002
|
AirflowVersion?: string;
|
|
892
1003
|
/**
|
|
1004
|
+
* @public
|
|
893
1005
|
* <p>The Amazon Resource Name (ARN) of the Amazon S3 bucket where your DAG code and supporting files are stored. For example, <code>arn:aws:s3:::my-airflow-bucket-unique-name</code>. For more information, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/mwaa-s3-bucket.html">Create an Amazon S3 bucket for Amazon MWAA</a>.</p>
|
|
894
1006
|
*/
|
|
895
1007
|
SourceBucketArn?: string;
|
|
896
1008
|
/**
|
|
1009
|
+
* @public
|
|
897
1010
|
* <p>The relative path to the DAGs folder on your Amazon S3 bucket. For example, <code>dags</code>. For more information, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/configuring-dag-folder.html">Adding or updating DAGs</a>.</p>
|
|
898
1011
|
*/
|
|
899
1012
|
DagS3Path?: string;
|
|
900
1013
|
/**
|
|
1014
|
+
* @public
|
|
901
1015
|
* <p>The relative path to the <code>plugins.zip</code> file on your Amazon S3 bucket. For example, <code>plugins.zip</code>. If specified, then the plugins.zip version is required. For more information, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/configuring-dag-import-plugins.html">Installing custom plugins</a>.</p>
|
|
902
1016
|
*/
|
|
903
1017
|
PluginsS3Path?: string;
|
|
904
1018
|
/**
|
|
1019
|
+
* @public
|
|
905
1020
|
* <p>The version of the plugins.zip file on your Amazon S3 bucket. You must specify a version each time a <code>plugins.zip</code> file is updated. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/versioning-workflows.html">How S3 Versioning works</a>.</p>
|
|
906
1021
|
*/
|
|
907
1022
|
PluginsS3ObjectVersion?: string;
|
|
908
1023
|
/**
|
|
1024
|
+
* @public
|
|
909
1025
|
* <p>The relative path to the <code>requirements.txt</code> file on your Amazon S3 bucket. For example, <code>requirements.txt</code>. If specified, then a file version is required. For more information, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/working-dags-dependencies.html">Installing Python dependencies</a>.</p>
|
|
910
1026
|
*/
|
|
911
1027
|
RequirementsS3Path?: string;
|
|
912
1028
|
/**
|
|
1029
|
+
* @public
|
|
913
1030
|
* <p>The version of the requirements.txt file on your Amazon S3 bucket. You must specify a version each time a <code>requirements.txt</code> file is updated. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/versioning-workflows.html">How S3 Versioning works</a>.</p>
|
|
914
1031
|
*/
|
|
915
1032
|
RequirementsS3ObjectVersion?: string;
|
|
916
1033
|
/**
|
|
1034
|
+
* @public
|
|
917
1035
|
* <p>The relative path to the startup shell script in your Amazon S3 bucket. For example, <code>s3://mwaa-environment/startup.sh</code>.</p>
|
|
918
1036
|
* <p>
|
|
919
1037
|
* Amazon MWAA runs the script as your environment starts, and before running the Apache Airflow process.
|
|
@@ -923,6 +1041,7 @@ export interface UpdateEnvironmentInput {
|
|
|
923
1041
|
*/
|
|
924
1042
|
StartupScriptS3Path?: string;
|
|
925
1043
|
/**
|
|
1044
|
+
* @public
|
|
926
1045
|
* <p>
|
|
927
1046
|
* The version of the startup shell script in your Amazon S3 bucket. You must specify the <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/versioning-workflows.html">version ID</a> that Amazon S3 assigns to the file
|
|
928
1047
|
* every time you update the script.
|
|
@@ -939,38 +1058,47 @@ export interface UpdateEnvironmentInput {
|
|
|
939
1058
|
*/
|
|
940
1059
|
StartupScriptS3ObjectVersion?: string;
|
|
941
1060
|
/**
|
|
1061
|
+
* @public
|
|
942
1062
|
* <p>A list of key-value pairs containing the Apache Airflow configuration options you want to attach to your environment. For more information, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/configuring-env-variables.html">Apache Airflow configuration options</a>.</p>
|
|
943
1063
|
*/
|
|
944
1064
|
AirflowConfigurationOptions?: Record<string, string>;
|
|
945
1065
|
/**
|
|
1066
|
+
* @public
|
|
946
1067
|
* <p>The environment class type. Valid values: <code>mw1.small</code>, <code>mw1.medium</code>, <code>mw1.large</code>. For more information, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/environment-class.html">Amazon MWAA environment class</a>.</p>
|
|
947
1068
|
*/
|
|
948
1069
|
EnvironmentClass?: string;
|
|
949
1070
|
/**
|
|
1071
|
+
* @public
|
|
950
1072
|
* <p>The maximum number of workers that you want to run in your environment. MWAA scales the number of Apache Airflow workers up to the number you specify in the <code>MaxWorkers</code> field. For example, <code>20</code>. When there are no more tasks running, and no more in the queue, MWAA disposes of the extra workers leaving the one worker that is included with your environment, or the number you specify in <code>MinWorkers</code>.</p>
|
|
951
1073
|
*/
|
|
952
1074
|
MaxWorkers?: number;
|
|
953
1075
|
/**
|
|
1076
|
+
* @public
|
|
954
1077
|
* <p>The VPC networking components used to secure and enable network traffic between the Amazon Web Services resources for your environment. For more information, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/networking-about.html">About networking on Amazon MWAA</a>.</p>
|
|
955
1078
|
*/
|
|
956
1079
|
NetworkConfiguration?: UpdateNetworkConfigurationInput;
|
|
957
1080
|
/**
|
|
1081
|
+
* @public
|
|
958
1082
|
* <p>The Apache Airflow log types to send to CloudWatch Logs.</p>
|
|
959
1083
|
*/
|
|
960
1084
|
LoggingConfiguration?: LoggingConfigurationInput;
|
|
961
1085
|
/**
|
|
1086
|
+
* @public
|
|
962
1087
|
* <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>
|
|
963
1088
|
*/
|
|
964
1089
|
WeeklyMaintenanceWindowStart?: string;
|
|
965
1090
|
/**
|
|
1091
|
+
* @public
|
|
966
1092
|
* <p>The Apache Airflow <i>Web server</i> access mode. For more information, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/configuring-networking.html">Apache Airflow access modes</a>.</p>
|
|
967
1093
|
*/
|
|
968
1094
|
WebserverAccessMode?: WebserverAccessMode | string;
|
|
969
1095
|
/**
|
|
1096
|
+
* @public
|
|
970
1097
|
* <p>The minimum number of workers that you want to run in your environment. MWAA scales the number of Apache Airflow workers up to the number you specify in the <code>MaxWorkers</code> field. When there are no more tasks running, and no more in the queue, MWAA disposes of the extra workers leaving the worker count you specify in the <code>MinWorkers</code> field. For example, <code>2</code>.</p>
|
|
971
1098
|
*/
|
|
972
1099
|
MinWorkers?: number;
|
|
973
1100
|
/**
|
|
1101
|
+
* @public
|
|
974
1102
|
* <p>The number of Apache Airflow schedulers to run in your Amazon MWAA environment.</p>
|
|
975
1103
|
*/
|
|
976
1104
|
Schedulers?: number;
|
|
@@ -980,6 +1108,7 @@ export interface UpdateEnvironmentInput {
|
|
|
980
1108
|
*/
|
|
981
1109
|
export interface UpdateEnvironmentOutput {
|
|
982
1110
|
/**
|
|
1111
|
+
* @public
|
|
983
1112
|
* <p>The Amazon Resource Name (ARN) of the Amazon MWAA environment. For example, <code>arn:aws:airflow:us-east-1:123456789012:environment/MyMWAAEnvironment</code>.</p>
|
|
984
1113
|
*/
|
|
985
1114
|
Arn?: string;
|
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.382.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,15 +21,15 @@
|
|
|
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/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.382.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.382.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.379.1",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.378.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.378.0",
|
|
29
|
-
"@aws-sdk/middleware-signing": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
29
|
+
"@aws-sdk/middleware-signing": "3.379.1",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.382.0",
|
|
31
31
|
"@aws-sdk/types": "3.378.0",
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.382.0",
|
|
33
33
|
"@aws-sdk/util-user-agent-browser": "3.378.0",
|
|
34
34
|
"@aws-sdk/util-user-agent-node": "3.378.0",
|
|
35
35
|
"@smithy/config-resolver": "^2.0.1",
|