@aws-sdk/client-mwaa 3.529.1 → 3.535.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.
Files changed (35) hide show
  1. package/dist-types/MWAA.d.ts +2 -1
  2. package/dist-types/MWAAClient.d.ts +1 -1
  3. package/dist-types/commands/CreateCliTokenCommand.d.ts +2 -1
  4. package/dist-types/commands/CreateEnvironmentCommand.d.ts +2 -1
  5. package/dist-types/commands/CreateWebLoginTokenCommand.d.ts +2 -1
  6. package/dist-types/commands/DeleteEnvironmentCommand.d.ts +2 -1
  7. package/dist-types/commands/GetEnvironmentCommand.d.ts +2 -1
  8. package/dist-types/commands/ListEnvironmentsCommand.d.ts +2 -1
  9. package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -1
  10. package/dist-types/commands/PublishMetricsCommand.d.ts +3 -3
  11. package/dist-types/commands/TagResourceCommand.d.ts +2 -1
  12. package/dist-types/commands/UntagResourceCommand.d.ts +2 -1
  13. package/dist-types/commands/UpdateEnvironmentCommand.d.ts +2 -1
  14. package/dist-types/models/models_0.d.ts +156 -159
  15. package/dist-types/runtimeConfig.browser.d.ts +2 -2
  16. package/dist-types/runtimeConfig.d.ts +2 -2
  17. package/dist-types/runtimeConfig.native.d.ts +2 -2
  18. package/dist-types/runtimeConfig.shared.d.ts +2 -2
  19. package/dist-types/ts3.4/MWAA.d.ts +1 -0
  20. package/dist-types/ts3.4/commands/CreateCliTokenCommand.d.ts +9 -0
  21. package/dist-types/ts3.4/commands/CreateEnvironmentCommand.d.ts +9 -0
  22. package/dist-types/ts3.4/commands/CreateWebLoginTokenCommand.d.ts +9 -0
  23. package/dist-types/ts3.4/commands/DeleteEnvironmentCommand.d.ts +9 -0
  24. package/dist-types/ts3.4/commands/GetEnvironmentCommand.d.ts +9 -0
  25. package/dist-types/ts3.4/commands/ListEnvironmentsCommand.d.ts +9 -0
  26. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +9 -0
  27. package/dist-types/ts3.4/commands/PublishMetricsCommand.d.ts +9 -0
  28. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +9 -0
  29. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +9 -0
  30. package/dist-types/ts3.4/commands/UpdateEnvironmentCommand.d.ts +9 -0
  31. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
  32. package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
  33. package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
  34. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -2
  35. package/package.json +40 -40
@@ -1,8 +1,8 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
2
  import { MWAAServiceException as __BaseException } from "./MWAAServiceException";
3
3
  /**
4
- * @public
5
4
  * <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>
5
+ * @public
6
6
  */
7
7
  export declare class AccessDeniedException extends __BaseException {
8
8
  readonly name: "AccessDeniedException";
@@ -18,8 +18,8 @@ export declare class AccessDeniedException extends __BaseException {
18
18
  */
19
19
  export interface CreateCliTokenRequest {
20
20
  /**
21
- * @public
22
21
  * <p>The name of the Amazon MWAA environment. For example, <code>MyMWAAEnvironment</code>.</p>
22
+ * @public
23
23
  */
24
24
  Name: string | undefined;
25
25
  }
@@ -28,19 +28,19 @@ export interface CreateCliTokenRequest {
28
28
  */
29
29
  export interface CreateCliTokenResponse {
30
30
  /**
31
- * @public
32
31
  * <p>An Airflow CLI login token.</p>
32
+ * @public
33
33
  */
34
34
  CliToken?: string;
35
35
  /**
36
- * @public
37
36
  * <p>The Airflow web server hostname for the environment.</p>
37
+ * @public
38
38
  */
39
39
  WebServerHostname?: string;
40
40
  }
41
41
  /**
42
- * @public
43
42
  * <p>ResourceNotFoundException: The resource is not available.</p>
43
+ * @public
44
44
  */
45
45
  export declare class ResourceNotFoundException extends __BaseException {
46
46
  readonly name: "ResourceNotFoundException";
@@ -78,65 +78,65 @@ export declare const LoggingLevel: {
78
78
  */
79
79
  export type LoggingLevel = (typeof LoggingLevel)[keyof typeof LoggingLevel];
80
80
  /**
81
- * @public
82
81
  * <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>
82
+ * @public
83
83
  */
84
84
  export interface ModuleLoggingConfigurationInput {
85
85
  /**
86
- * @public
87
86
  * <p>Indicates whether to enable the Apache Airflow log type (e.g. <code>DagProcessingLogs</code>).</p>
87
+ * @public
88
88
  */
89
89
  Enabled: boolean | undefined;
90
90
  /**
91
- * @public
92
91
  * <p>Defines the Apache Airflow log level (e.g. <code>INFO</code>) to send to CloudWatch Logs.</p>
92
+ * @public
93
93
  */
94
94
  LogLevel: LoggingLevel | undefined;
95
95
  }
96
96
  /**
97
- * @public
98
97
  * <p>Defines the Apache Airflow log types to send to CloudWatch Logs.</p>
98
+ * @public
99
99
  */
100
100
  export interface LoggingConfigurationInput {
101
101
  /**
102
- * @public
103
102
  * <p>Publishes Airflow DAG processing logs to CloudWatch Logs.</p>
103
+ * @public
104
104
  */
105
105
  DagProcessingLogs?: ModuleLoggingConfigurationInput;
106
106
  /**
107
- * @public
108
107
  * <p>Publishes Airflow scheduler logs to CloudWatch Logs.</p>
108
+ * @public
109
109
  */
110
110
  SchedulerLogs?: ModuleLoggingConfigurationInput;
111
111
  /**
112
- * @public
113
112
  * <p>Publishes Airflow web server logs to CloudWatch Logs.</p>
113
+ * @public
114
114
  */
115
115
  WebserverLogs?: ModuleLoggingConfigurationInput;
116
116
  /**
117
- * @public
118
117
  * <p>Publishes Airflow worker logs to CloudWatch Logs.</p>
118
+ * @public
119
119
  */
120
120
  WorkerLogs?: ModuleLoggingConfigurationInput;
121
121
  /**
122
- * @public
123
122
  * <p>Publishes Airflow task logs to CloudWatch Logs.</p>
123
+ * @public
124
124
  */
125
125
  TaskLogs?: ModuleLoggingConfigurationInput;
126
126
  }
127
127
  /**
128
- * @public
129
128
  * <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>
129
+ * @public
130
130
  */
131
131
  export interface NetworkConfiguration {
132
132
  /**
133
- * @public
134
133
  * <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>
134
+ * @public
135
135
  */
136
136
  SubnetIds?: string[];
137
137
  /**
138
- * @public
139
138
  * <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>
139
+ * @public
140
140
  */
141
141
  SecurityGroupIds?: string[];
142
142
  }
@@ -153,67 +153,66 @@ export declare const WebserverAccessMode: {
153
153
  */
154
154
  export type WebserverAccessMode = (typeof WebserverAccessMode)[keyof typeof WebserverAccessMode];
155
155
  /**
156
- * @public
157
156
  * <p>This section contains the Amazon Managed Workflows for Apache Airflow (MWAA) API reference documentation to create an environment. For more information, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/get-started.html">Get started with Amazon Managed Workflows for Apache Airflow</a>.</p>
157
+ * @public
158
158
  */
159
159
  export interface CreateEnvironmentInput {
160
160
  /**
161
- * @public
162
161
  * <p>The name of the Amazon MWAA environment. For example, <code>MyMWAAEnvironment</code>.</p>
162
+ * @public
163
163
  */
164
164
  Name: string | undefined;
165
165
  /**
166
- * @public
167
166
  * <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>
167
+ * @public
168
168
  */
169
169
  ExecutionRoleArn: string | undefined;
170
170
  /**
171
- * @public
172
171
  * <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>
172
+ * @public
173
173
  */
174
174
  SourceBucketArn: string | undefined;
175
175
  /**
176
- * @public
177
176
  * <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>
177
+ * @public
178
178
  */
179
179
  DagS3Path: string | undefined;
180
180
  /**
181
- * @public
182
181
  * <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>
182
+ * @public
183
183
  */
184
184
  NetworkConfiguration: NetworkConfiguration | undefined;
185
185
  /**
186
- * @public
187
186
  * <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>
187
+ * @public
188
188
  */
189
189
  PluginsS3Path?: string;
190
190
  /**
191
- * @public
192
191
  * <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>
192
+ * @public
193
193
  */
194
194
  PluginsS3ObjectVersion?: string;
195
195
  /**
196
- * @public
197
196
  * <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>
197
+ * @public
198
198
  */
199
199
  RequirementsS3Path?: string;
200
200
  /**
201
- * @public
202
201
  * <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>
202
+ * @public
203
203
  */
204
204
  RequirementsS3ObjectVersion?: string;
205
205
  /**
206
- * @public
207
206
  * <p>The relative path to the startup shell script in your Amazon S3 bucket. For example, <code>s3://mwaa-environment/startup.sh</code>.</p>
208
207
  * <p>
209
208
  * Amazon MWAA runs the script as your environment starts, and before running the Apache Airflow process.
210
209
  * You can use this script to install dependencies, modify Apache Airflow configuration options, and set environment variables. For more information, see
211
210
  * <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/using-startup-script.html">Using a startup script</a>.
212
211
  * </p>
212
+ * @public
213
213
  */
214
214
  StartupScriptS3Path?: string;
215
215
  /**
216
- * @public
217
216
  * <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
218
217
  * every time you update the script.
219
218
  * </p>
@@ -226,64 +225,64 @@ export interface CreateEnvironmentInput {
226
225
  * <p>
227
226
  * For more information, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/using-startup-script.html">Using a startup script</a>.
228
227
  * </p>
228
+ * @public
229
229
  */
230
230
  StartupScriptS3ObjectVersion?: string;
231
231
  /**
232
- * @public
233
232
  * <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>
233
+ * @public
234
234
  */
235
235
  AirflowConfigurationOptions?: Record<string, string>;
236
236
  /**
237
- * @public
238
237
  * <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>
238
+ * @public
239
239
  */
240
240
  EnvironmentClass?: string;
241
241
  /**
242
- * @public
243
242
  * <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>
243
+ * @public
244
244
  */
245
245
  MaxWorkers?: number;
246
246
  /**
247
- * @public
248
247
  * <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>
248
+ * @public
249
249
  */
250
250
  KmsKey?: string;
251
251
  /**
252
- * @public
253
252
  * <p>The Apache Airflow version for your environment. If no value is specified, it defaults to the latest version.
254
253
  * 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>
255
254
  * <p>Valid values: <code>1.10.12</code>, <code>2.0.2</code>, <code>2.2.2</code>, <code>2.4.3</code>, <code>2.5.1</code>, <code>2.6.3</code>, <code>2.7.2</code>
256
255
  * <code>2.8.1</code>
257
256
  * </p>
257
+ * @public
258
258
  */
259
259
  AirflowVersion?: string;
260
260
  /**
261
- * @public
262
261
  * <p>Defines the Apache Airflow logs to send to CloudWatch Logs.</p>
262
+ * @public
263
263
  */
264
264
  LoggingConfiguration?: LoggingConfigurationInput;
265
265
  /**
266
- * @public
267
266
  * <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>
267
+ * @public
268
268
  */
269
269
  WeeklyMaintenanceWindowStart?: string;
270
270
  /**
271
- * @public
272
271
  * <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>
272
+ * @public
273
273
  */
274
274
  Tags?: Record<string, string>;
275
275
  /**
276
- * @public
277
276
  * <p>Defines the access mode for the Apache Airflow <i>web server</i>. For more information, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/configuring-networking.html">Apache Airflow access modes</a>.</p>
277
+ * @public
278
278
  */
279
279
  WebserverAccessMode?: WebserverAccessMode;
280
280
  /**
281
- * @public
282
281
  * <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>
282
+ * @public
283
283
  */
284
284
  MinWorkers?: number;
285
285
  /**
286
- * @public
287
286
  * <p>The number of Apache Airflow schedulers to run in your environment. Valid values:</p>
288
287
  * <ul>
289
288
  * <li>
@@ -293,14 +292,15 @@ export interface CreateEnvironmentInput {
293
292
  * <p>v1 - Accepts 1.</p>
294
293
  * </li>
295
294
  * </ul>
295
+ * @public
296
296
  */
297
297
  Schedulers?: number;
298
298
  /**
299
- * @public
300
299
  * <p>Defines whether the VPC endpoints configured for the environment are created, and managed, by the customer or by Amazon MWAA. If set to <code>SERVICE</code>, Amazon MWAA will create and manage the required VPC endpoints in
301
300
  * your VPC. If set to <code>CUSTOMER</code>, you must create, and manage, the VPC endpoints for your VPC. If you choose to create an environment in a shared VPC, you must set this value to <code>CUSTOMER</code>.
302
301
  * In a shared VPC deployment, the environment will remain in <code>PENDING</code> status until you create the VPC endpoints. If you do not take action to
303
302
  * create the endpoints within 72 hours, the status will change to <code>CREATE_FAILED</code>. You can delete the failed environment and create a new one.</p>
303
+ * @public
304
304
  */
305
305
  EndpointManagement?: EndpointManagement;
306
306
  }
@@ -309,14 +309,14 @@ export interface CreateEnvironmentInput {
309
309
  */
310
310
  export interface CreateEnvironmentOutput {
311
311
  /**
312
- * @public
313
312
  * <p>The Amazon Resource Name (ARN) returned in the response for the environment.</p>
313
+ * @public
314
314
  */
315
315
  Arn?: string;
316
316
  }
317
317
  /**
318
- * @public
319
318
  * <p>InternalServerException: An internal error has occurred.</p>
319
+ * @public
320
320
  */
321
321
  export declare class InternalServerException extends __BaseException {
322
322
  readonly name: "InternalServerException";
@@ -327,8 +327,8 @@ export declare class InternalServerException extends __BaseException {
327
327
  constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
328
328
  }
329
329
  /**
330
- * @public
331
330
  * <p>ValidationException: The provided input is not valid.</p>
331
+ * @public
332
332
  */
333
333
  export declare class ValidationException extends __BaseException {
334
334
  readonly name: "ValidationException";
@@ -343,8 +343,8 @@ export declare class ValidationException extends __BaseException {
343
343
  */
344
344
  export interface CreateWebLoginTokenRequest {
345
345
  /**
346
- * @public
347
346
  * <p>The name of the Amazon MWAA environment. For example, <code>MyMWAAEnvironment</code>.</p>
347
+ * @public
348
348
  */
349
349
  Name: string | undefined;
350
350
  }
@@ -353,23 +353,23 @@ export interface CreateWebLoginTokenRequest {
353
353
  */
354
354
  export interface CreateWebLoginTokenResponse {
355
355
  /**
356
- * @public
357
356
  * <p>An Airflow web server login token.</p>
357
+ * @public
358
358
  */
359
359
  WebToken?: string;
360
360
  /**
361
- * @public
362
361
  * <p>The Airflow web server hostname for the environment.</p>
362
+ * @public
363
363
  */
364
364
  WebServerHostname?: string;
365
365
  /**
366
- * @public
367
366
  * <p>The name of the IAM identity creating the web login token. This might be an IAM user, or an assumed or federated identity. For example, <code>assumed-role/Admin/your-name</code>.</p>
367
+ * @public
368
368
  */
369
369
  IamIdentity?: string;
370
370
  /**
371
- * @public
372
371
  * <p>The user name of the Apache Airflow identity creating the web login token.</p>
372
+ * @public
373
373
  */
374
374
  AirflowIdentity?: string;
375
375
  }
@@ -378,8 +378,8 @@ export interface CreateWebLoginTokenResponse {
378
378
  */
379
379
  export interface DeleteEnvironmentInput {
380
380
  /**
381
- * @public
382
381
  * <p>The name of the Amazon MWAA environment. For example, <code>MyMWAAEnvironment</code>.</p>
382
+ * @public
383
383
  */
384
384
  Name: string | undefined;
385
385
  }
@@ -393,24 +393,24 @@ export interface DeleteEnvironmentOutput {
393
393
  */
394
394
  export interface GetEnvironmentInput {
395
395
  /**
396
- * @public
397
396
  * <p>The name of the Amazon MWAA environment. For example, <code>MyMWAAEnvironment</code>.</p>
397
+ * @public
398
398
  */
399
399
  Name: string | undefined;
400
400
  }
401
401
  /**
402
- * @public
403
402
  * <p>Describes the error(s) encountered with the last update of the environment.</p>
403
+ * @public
404
404
  */
405
405
  export interface UpdateError {
406
406
  /**
407
- * @public
408
407
  * <p>The error code that corresponds to the error with the last update.</p>
408
+ * @public
409
409
  */
410
410
  ErrorCode?: string;
411
411
  /**
412
- * @public
413
412
  * <p>The error message that corresponds to the error code.</p>
413
+ * @public
414
414
  */
415
415
  ErrorMessage?: string;
416
416
  }
@@ -428,80 +428,80 @@ export declare const UpdateStatus: {
428
428
  */
429
429
  export type UpdateStatus = (typeof UpdateStatus)[keyof typeof UpdateStatus];
430
430
  /**
431
- * @public
432
431
  * <p>Describes the status of the last update on the environment, and any errors that were encountered.</p>
432
+ * @public
433
433
  */
434
434
  export interface LastUpdate {
435
435
  /**
436
- * @public
437
436
  * <p>The status of the last update on the environment.</p>
437
+ * @public
438
438
  */
439
439
  Status?: UpdateStatus;
440
440
  /**
441
- * @public
442
441
  * <p>The day and time of the last update on the environment.</p>
442
+ * @public
443
443
  */
444
444
  CreatedAt?: Date;
445
445
  /**
446
- * @public
447
446
  * <p>The error that was encountered during the last update of the environment.</p>
447
+ * @public
448
448
  */
449
449
  Error?: UpdateError;
450
450
  /**
451
- * @public
452
451
  * <p>The source of the last update to the environment. Includes internal processes by Amazon MWAA, such as an environment maintenance update.</p>
452
+ * @public
453
453
  */
454
454
  Source?: string;
455
455
  }
456
456
  /**
457
- * @public
458
457
  * <p>Describes the Apache Airflow log details for the log type (e.g. <code>DagProcessingLogs</code>).</p>
458
+ * @public
459
459
  */
460
460
  export interface ModuleLoggingConfiguration {
461
461
  /**
462
- * @public
463
462
  * <p>Indicates whether the Apache Airflow log type (e.g. <code>DagProcessingLogs</code>) is enabled.</p>
463
+ * @public
464
464
  */
465
465
  Enabled?: boolean;
466
466
  /**
467
- * @public
468
467
  * <p>The Apache Airflow log level for the log type (e.g. <code>DagProcessingLogs</code>). </p>
468
+ * @public
469
469
  */
470
470
  LogLevel?: LoggingLevel;
471
471
  /**
472
- * @public
473
472
  * <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>
473
+ * @public
474
474
  */
475
475
  CloudWatchLogGroupArn?: string;
476
476
  }
477
477
  /**
478
- * @public
479
478
  * <p>Describes the Apache Airflow log types that are published to CloudWatch Logs.</p>
479
+ * @public
480
480
  */
481
481
  export interface LoggingConfiguration {
482
482
  /**
483
- * @public
484
483
  * <p>The Airflow DAG processing logs published to CloudWatch Logs and the log level.</p>
484
+ * @public
485
485
  */
486
486
  DagProcessingLogs?: ModuleLoggingConfiguration;
487
487
  /**
488
- * @public
489
488
  * <p>The Airflow scheduler logs published to CloudWatch Logs and the log level.</p>
489
+ * @public
490
490
  */
491
491
  SchedulerLogs?: ModuleLoggingConfiguration;
492
492
  /**
493
- * @public
494
493
  * <p>The Airflow web server logs published to CloudWatch Logs and the log level.</p>
494
+ * @public
495
495
  */
496
496
  WebserverLogs?: ModuleLoggingConfiguration;
497
497
  /**
498
- * @public
499
498
  * <p>The Airflow worker logs published to CloudWatch Logs and the log level.</p>
499
+ * @public
500
500
  */
501
501
  WorkerLogs?: ModuleLoggingConfiguration;
502
502
  /**
503
- * @public
504
503
  * <p>The Airflow task logs published to CloudWatch Logs and the log level.</p>
504
+ * @public
505
505
  */
506
506
  TaskLogs?: ModuleLoggingConfiguration;
507
507
  }
@@ -528,17 +528,16 @@ export declare const EnvironmentStatus: {
528
528
  */
529
529
  export type EnvironmentStatus = (typeof EnvironmentStatus)[keyof typeof EnvironmentStatus];
530
530
  /**
531
- * @public
532
531
  * <p>Describes an Amazon Managed Workflows for Apache Airflow (MWAA) environment.</p>
532
+ * @public
533
533
  */
534
534
  export interface Environment {
535
535
  /**
536
- * @public
537
536
  * <p>The name of the Amazon MWAA environment. For example, <code>MyMWAAEnvironment</code>.</p>
537
+ * @public
538
538
  */
539
539
  Name?: string;
540
540
  /**
541
- * @public
542
541
  * <p>The status of the Amazon MWAA environment.</p>
543
542
  * <p>Valid values:</p>
544
543
  * <ul>
@@ -597,61 +596,61 @@ export interface Environment {
597
596
  * </li>
598
597
  * </ul>
599
598
  * <p>We recommend reviewing our troubleshooting guide for a list of common errors and their solutions. For more information, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/troubleshooting.html">Amazon MWAA troubleshooting</a>.</p>
599
+ * @public
600
600
  */
601
601
  Status?: EnvironmentStatus;
602
602
  /**
603
- * @public
604
603
  * <p>The Amazon Resource Name (ARN) of the Amazon MWAA environment.</p>
604
+ * @public
605
605
  */
606
606
  Arn?: string;
607
607
  /**
608
- * @public
609
608
  * <p>The day and time the environment was created.</p>
609
+ * @public
610
610
  */
611
611
  CreatedAt?: Date;
612
612
  /**
613
- * @public
614
613
  * <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>
614
+ * @public
615
615
  */
616
616
  WebserverUrl?: string;
617
617
  /**
618
- * @public
619
618
  * <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>
619
+ * @public
620
620
  */
621
621
  ExecutionRoleArn?: string;
622
622
  /**
623
- * @public
624
623
  * <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>
624
+ * @public
625
625
  */
626
626
  ServiceRoleArn?: string;
627
627
  /**
628
- * @public
629
628
  * <p>The KMS encryption key used to encrypt the data in your environment.</p>
629
+ * @public
630
630
  */
631
631
  KmsKey?: string;
632
632
  /**
633
- * @public
634
633
  * <p>The Apache Airflow version on your environment.</p>
635
634
  * <p>Valid values: <code>1.10.12</code>, <code>2.0.2</code>, <code>2.2.2</code>, <code>2.4.3</code>, <code>2.5.1</code>, <code>2.6.3</code>, <code>2.7.2</code>.</p>
635
+ * @public
636
636
  */
637
637
  AirflowVersion?: string;
638
638
  /**
639
- * @public
640
639
  * <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>
640
+ * @public
641
641
  */
642
642
  SourceBucketArn?: string;
643
643
  /**
644
- * @public
645
644
  * <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>
645
+ * @public
646
646
  */
647
647
  DagS3Path?: string;
648
648
  /**
649
- * @public
650
649
  * <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>
650
+ * @public
651
651
  */
652
652
  PluginsS3Path?: string;
653
653
  /**
654
- * @public
655
654
  * <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>
656
655
  * <p>
657
656
  * 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:
@@ -660,16 +659,16 @@ export interface Environment {
660
659
  * <code>3sL4kqtJlcpXroDTDmJ+rmSpXd3dIbrHY+MTRCxf3vjVBH40Nr8X8gdRQBpUMLUo</code>
661
660
  * </p>
662
661
  * <p>For more information, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/configuring-dag-import-plugins.html">Installing custom plugins</a>.</p>
662
+ * @public
663
663
  */
664
664
  PluginsS3ObjectVersion?: string;
665
665
  /**
666
- * @public
667
666
  * <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
668
667
  * <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/working-dags-dependencies.html">Installing Python dependencies</a>.</p>
668
+ * @public
669
669
  */
670
670
  RequirementsS3Path?: string;
671
671
  /**
672
- * @public
673
672
  * <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>
674
673
  * <p>
675
674
  * 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:
@@ -680,20 +679,20 @@ export interface Environment {
680
679
  * <p>
681
680
  * For more information, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/working-dags-dependencies.html">Installing Python dependencies</a>.
682
681
  * </p>
682
+ * @public
683
683
  */
684
684
  RequirementsS3ObjectVersion?: string;
685
685
  /**
686
- * @public
687
686
  * <p>The relative path to the startup shell script in your Amazon S3 bucket. For example, <code>s3://mwaa-environment/startup.sh</code>.</p>
688
687
  * <p>
689
688
  * Amazon MWAA runs the script as your environment starts, and before running the Apache Airflow process.
690
689
  * You can use this script to install dependencies, modify Apache Airflow configuration options, and set environment variables. For more information, see
691
690
  * <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/using-startup-script.html">Using a startup script</a>.
692
691
  * </p>
692
+ * @public
693
693
  */
694
694
  StartupScriptS3Path?: string;
695
695
  /**
696
- * @public
697
696
  * <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>
698
697
  * <p>
699
698
  * 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:
@@ -704,83 +703,84 @@ export interface Environment {
704
703
  * <p>
705
704
  * For more information, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/using-startup-script.html">Using a startup script</a>.
706
705
  * </p>
706
+ * @public
707
707
  */
708
708
  StartupScriptS3ObjectVersion?: string;
709
709
  /**
710
- * @public
711
710
  * <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>
711
+ * @public
712
712
  */
713
713
  AirflowConfigurationOptions?: Record<string, string>;
714
714
  /**
715
- * @public
716
715
  * <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>
716
+ * @public
717
717
  */
718
718
  EnvironmentClass?: string;
719
719
  /**
720
- * @public
721
720
  * <p>The maximum number of workers that run in your environment. For example, <code>20</code>.</p>
721
+ * @public
722
722
  */
723
723
  MaxWorkers?: number;
724
724
  /**
725
- * @public
726
725
  * <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>
726
+ * @public
727
727
  */
728
728
  NetworkConfiguration?: NetworkConfiguration;
729
729
  /**
730
- * @public
731
730
  * <p>The Apache Airflow logs published to CloudWatch Logs.</p>
731
+ * @public
732
732
  */
733
733
  LoggingConfiguration?: LoggingConfiguration;
734
734
  /**
735
- * @public
736
735
  * <p>The status of the last update on the environment.</p>
736
+ * @public
737
737
  */
738
738
  LastUpdate?: LastUpdate;
739
739
  /**
740
- * @public
741
740
  * <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>
741
+ * @public
742
742
  */
743
743
  WeeklyMaintenanceWindowStart?: string;
744
744
  /**
745
- * @public
746
745
  * <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>
746
+ * @public
747
747
  */
748
748
  Tags?: Record<string, string>;
749
749
  /**
750
- * @public
751
750
  * <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>
751
+ * @public
752
752
  */
753
753
  WebserverAccessMode?: WebserverAccessMode;
754
754
  /**
755
- * @public
756
755
  * <p>The minimum number of workers that run in your environment. For example, <code>2</code>.</p>
756
+ * @public
757
757
  */
758
758
  MinWorkers?: number;
759
759
  /**
760
- * @public
761
760
  * <p>The number of Apache Airflow schedulers that run in your Amazon MWAA environment.</p>
761
+ * @public
762
762
  */
763
763
  Schedulers?: number;
764
764
  /**
765
- * @public
766
765
  * <p>The VPC endpoint for the environment's web server.</p>
766
+ * @public
767
767
  */
768
768
  WebserverVpcEndpointService?: string;
769
769
  /**
770
- * @public
771
770
  * <p>The VPC endpoint for the environment's Amazon RDS database.</p>
771
+ * @public
772
772
  */
773
773
  DatabaseVpcEndpointService?: string;
774
774
  /**
775
- * @public
776
775
  * <p>The queue ARN for the environment's <a href="https://airflow.apache.org/docs/apache-airflow/stable/core-concepts/executor/celery.html">Celery Executor</a>. Amazon MWAA uses a Celery Executor
777
776
  * to distribute tasks across multiple workers. When you create an environment in a shared VPC, you must provide access to the Celery Executor queue from your VPC.</p>
777
+ * @public
778
778
  */
779
779
  CeleryExecutorQueue?: string;
780
780
  /**
781
- * @public
782
781
  * <p>Defines whether the VPC endpoints configured for the environment are created, and managed, by the customer or by Amazon MWAA. If set to <code>SERVICE</code>, Amazon MWAA will create and manage the required VPC endpoints in
783
782
  * your VPC. If set to <code>CUSTOMER</code>, you must create, and manage, the VPC endpoints in your VPC.</p>
783
+ * @public
784
784
  */
785
785
  EndpointManagement?: EndpointManagement;
786
786
  }
@@ -789,8 +789,8 @@ export interface Environment {
789
789
  */
790
790
  export interface GetEnvironmentOutput {
791
791
  /**
792
- * @public
793
792
  * <p>An object containing all available details about the environment.</p>
793
+ * @public
794
794
  */
795
795
  Environment?: Environment;
796
796
  }
@@ -799,13 +799,13 @@ export interface GetEnvironmentOutput {
799
799
  */
800
800
  export interface ListEnvironmentsInput {
801
801
  /**
802
- * @public
803
802
  * <p>Retrieves the next page of the results.</p>
803
+ * @public
804
804
  */
805
805
  NextToken?: string;
806
806
  /**
807
- * @public
808
807
  * <p>The maximum number of results to retrieve per page. For example, <code>5</code> environments per page.</p>
808
+ * @public
809
809
  */
810
810
  MaxResults?: number;
811
811
  }
@@ -814,13 +814,13 @@ export interface ListEnvironmentsInput {
814
814
  */
815
815
  export interface ListEnvironmentsOutput {
816
816
  /**
817
- * @public
818
817
  * <p>Returns a list of Amazon MWAA environments.</p>
818
+ * @public
819
819
  */
820
820
  Environments: string[] | undefined;
821
821
  /**
822
- * @public
823
822
  * <p>Retrieves the next page of the results.</p>
823
+ * @public
824
824
  */
825
825
  NextToken?: string;
826
826
  }
@@ -829,8 +829,8 @@ export interface ListEnvironmentsOutput {
829
829
  */
830
830
  export interface ListTagsForResourceInput {
831
831
  /**
832
- * @public
833
832
  * <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
+ * @public
834
834
  */
835
835
  ResourceArn: string | undefined;
836
836
  }
@@ -839,62 +839,60 @@ export interface ListTagsForResourceInput {
839
839
  */
840
840
  export interface ListTagsForResourceOutput {
841
841
  /**
842
- * @public
843
842
  * <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>
843
+ * @public
844
844
  */
845
845
  Tags?: Record<string, string>;
846
846
  }
847
847
  /**
848
- * @public
849
- * @deprecated
850
- *
851
848
  * <p>
852
849
  * <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>
850
+ * @public
851
+ * @deprecated This type is for internal use and not meant for public use. Data set for this type will be ignored.
853
852
  */
854
853
  export interface Dimension {
855
854
  /**
856
- * @public
857
855
  * <p>
858
856
  * <b>Internal only</b>. The name of the dimension.</p>
857
+ * @public
859
858
  */
860
859
  Name: string | undefined;
861
860
  /**
862
- * @public
863
861
  * <p>
864
862
  * <b>Internal only</b>. The value of the dimension.</p>
863
+ * @public
865
864
  */
866
865
  Value: string | undefined;
867
866
  }
868
867
  /**
869
- * @public
870
- * @deprecated
871
- *
872
868
  * <p>
873
869
  * <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>
870
+ * @public
871
+ * @deprecated This type is for internal use and not meant for public use. Data set for this type will be ignored.
874
872
  */
875
873
  export interface StatisticSet {
876
874
  /**
877
- * @public
878
875
  * <p>
879
876
  * <b>Internal only</b>. The number of samples used for the statistic set.</p>
877
+ * @public
880
878
  */
881
879
  SampleCount?: number;
882
880
  /**
883
- * @public
884
881
  * <p>
885
882
  * <b>Internal only</b>. The sum of values for the sample set.</p>
883
+ * @public
886
884
  */
887
885
  Sum?: number;
888
886
  /**
889
- * @public
890
887
  * <p>
891
888
  * <b>Internal only</b>. The minimum value of the sample set.</p>
889
+ * @public
892
890
  */
893
891
  Minimum?: number;
894
892
  /**
895
- * @public
896
893
  * <p>
897
894
  * <b>Internal only</b>. The maximum value of the sample set.</p>
895
+ * @public
898
896
  */
899
897
  Maximum?: number;
900
898
  }
@@ -936,51 +934,50 @@ export declare const Unit: {
936
934
  */
937
935
  export type Unit = (typeof Unit)[keyof typeof Unit];
938
936
  /**
939
- * @public
940
- * @deprecated
941
- *
942
937
  * <p>
943
938
  * <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>
939
+ * @public
940
+ * @deprecated This type is for internal use and not meant for public use. Data set for this type will be ignored.
944
941
  */
945
942
  export interface MetricDatum {
946
943
  /**
947
- * @public
948
944
  * <p>
949
945
  * <b>Internal only</b>. The name of the metric.</p>
946
+ * @public
950
947
  */
951
948
  MetricName: string | undefined;
952
949
  /**
953
- * @public
954
950
  * <p>
955
951
  * <b>Internal only</b>. The time the metric data was received.</p>
952
+ * @public
956
953
  */
957
954
  Timestamp: Date | undefined;
958
955
  /**
959
- * @public
960
956
  * @deprecated
961
957
  *
962
958
  * <p>
963
959
  * <b>Internal only</b>. The dimensions associated with the metric.</p>
960
+ * @public
964
961
  */
965
962
  Dimensions?: Dimension[];
966
963
  /**
967
- * @public
968
964
  * <p>
969
965
  * <b>Internal only</b>. The value for the metric.</p>
966
+ * @public
970
967
  */
971
968
  Value?: number;
972
969
  /**
973
- * @public
974
970
  * <p>
975
971
  * <b>Internal only</b>. The unit used to store the metric.</p>
972
+ * @public
976
973
  */
977
974
  Unit?: Unit;
978
975
  /**
979
- * @public
980
976
  * @deprecated
981
977
  *
982
978
  * <p>
983
979
  * <b>Internal only</b>. The statistical values for the metric.</p>
980
+ * @public
984
981
  */
985
982
  StatisticValues?: StatisticSet;
986
983
  }
@@ -989,17 +986,17 @@ export interface MetricDatum {
989
986
  */
990
987
  export interface PublishMetricsInput {
991
988
  /**
992
- * @public
993
989
  * <p>
994
990
  * <b>Internal only</b>. The name of the environment.</p>
991
+ * @public
995
992
  */
996
993
  EnvironmentName: string | undefined;
997
994
  /**
998
- * @public
999
995
  * @deprecated
1000
996
  *
1001
997
  * <p>
1002
998
  * <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>
999
+ * @public
1003
1000
  */
1004
1001
  MetricData: MetricDatum[] | undefined;
1005
1002
  }
@@ -1013,13 +1010,13 @@ export interface PublishMetricsOutput {
1013
1010
  */
1014
1011
  export interface TagResourceInput {
1015
1012
  /**
1016
- * @public
1017
1013
  * <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>
1014
+ * @public
1018
1015
  */
1019
1016
  ResourceArn: string | undefined;
1020
1017
  /**
1021
- * @public
1022
1018
  * <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>
1019
+ * @public
1023
1020
  */
1024
1021
  Tags: Record<string, string> | undefined;
1025
1022
  }
@@ -1033,13 +1030,13 @@ export interface TagResourceOutput {
1033
1030
  */
1034
1031
  export interface UntagResourceInput {
1035
1032
  /**
1036
- * @public
1037
1033
  * <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>
1034
+ * @public
1038
1035
  */
1039
1036
  ResourceArn: string | undefined;
1040
1037
  /**
1041
- * @public
1042
1038
  * <p>The key-value tag pair you want to remove. For example, <code>"Environment": "Staging"</code>. </p>
1039
+ * @public
1043
1040
  */
1044
1041
  tagKeys: string[] | undefined;
1045
1042
  }
@@ -1049,13 +1046,13 @@ export interface UntagResourceInput {
1049
1046
  export interface UntagResourceOutput {
1050
1047
  }
1051
1048
  /**
1052
- * @public
1053
1049
  * <p>Defines 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>
1050
+ * @public
1054
1051
  */
1055
1052
  export interface UpdateNetworkConfigurationInput {
1056
1053
  /**
1057
- * @public
1058
1054
  * <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>
1055
+ * @public
1059
1056
  */
1060
1057
  SecurityGroupIds: string[] | undefined;
1061
1058
  }
@@ -1064,65 +1061,64 @@ export interface UpdateNetworkConfigurationInput {
1064
1061
  */
1065
1062
  export interface UpdateEnvironmentInput {
1066
1063
  /**
1067
- * @public
1068
1064
  * <p>The name of your Amazon MWAA environment. For example, <code>MyMWAAEnvironment</code>.</p>
1065
+ * @public
1069
1066
  */
1070
1067
  Name: string | undefined;
1071
1068
  /**
1072
- * @public
1073
1069
  * <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>
1070
+ * @public
1074
1071
  */
1075
1072
  ExecutionRoleArn?: string;
1076
1073
  /**
1077
- * @public
1078
1074
  * <p>The Apache Airflow version for your environment. To upgrade your environment, specify a newer version of Apache Airflow supported by Amazon MWAA.</p>
1079
1075
  * <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
1080
1076
  * your resources, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/upgrading-environment.html">Upgrading an Amazon MWAA environment</a>.</p>
1081
1077
  * <p>Valid values: <code>1.10.12</code>, <code>2.0.2</code>, <code>2.2.2</code>, <code>2.4.3</code>, <code>2.5.1</code>, <code>2.6.3</code>, <code>2.7.2</code>.</p>
1078
+ * @public
1082
1079
  */
1083
1080
  AirflowVersion?: string;
1084
1081
  /**
1085
- * @public
1086
1082
  * <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>
1083
+ * @public
1087
1084
  */
1088
1085
  SourceBucketArn?: string;
1089
1086
  /**
1090
- * @public
1091
1087
  * <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>
1088
+ * @public
1092
1089
  */
1093
1090
  DagS3Path?: string;
1094
1091
  /**
1095
- * @public
1096
1092
  * <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>
1093
+ * @public
1097
1094
  */
1098
1095
  PluginsS3Path?: string;
1099
1096
  /**
1100
- * @public
1101
1097
  * <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>
1098
+ * @public
1102
1099
  */
1103
1100
  PluginsS3ObjectVersion?: string;
1104
1101
  /**
1105
- * @public
1106
1102
  * <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>
1103
+ * @public
1107
1104
  */
1108
1105
  RequirementsS3Path?: string;
1109
1106
  /**
1110
- * @public
1111
1107
  * <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>
1108
+ * @public
1112
1109
  */
1113
1110
  RequirementsS3ObjectVersion?: string;
1114
1111
  /**
1115
- * @public
1116
1112
  * <p>The relative path to the startup shell script in your Amazon S3 bucket. For example, <code>s3://mwaa-environment/startup.sh</code>.</p>
1117
1113
  * <p>
1118
1114
  * Amazon MWAA runs the script as your environment starts, and before running the Apache Airflow process.
1119
1115
  * You can use this script to install dependencies, modify Apache Airflow configuration options, and set environment variables. For more information, see
1120
1116
  * <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/using-startup-script.html">Using a startup script</a>.
1121
1117
  * </p>
1118
+ * @public
1122
1119
  */
1123
1120
  StartupScriptS3Path?: string;
1124
1121
  /**
1125
- * @public
1126
1122
  * <p>
1127
1123
  * 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
1128
1124
  * every time you update the script.
@@ -1136,51 +1132,52 @@ export interface UpdateEnvironmentInput {
1136
1132
  * <p>
1137
1133
  * For more information, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/using-startup-script.html">Using a startup script</a>.
1138
1134
  * </p>
1135
+ * @public
1139
1136
  */
1140
1137
  StartupScriptS3ObjectVersion?: string;
1141
1138
  /**
1142
- * @public
1143
1139
  * <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>
1140
+ * @public
1144
1141
  */
1145
1142
  AirflowConfigurationOptions?: Record<string, string>;
1146
1143
  /**
1147
- * @public
1148
1144
  * <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>
1145
+ * @public
1149
1146
  */
1150
1147
  EnvironmentClass?: string;
1151
1148
  /**
1152
- * @public
1153
1149
  * <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>
1150
+ * @public
1154
1151
  */
1155
1152
  MaxWorkers?: number;
1156
1153
  /**
1157
- * @public
1158
1154
  * <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>
1155
+ * @public
1159
1156
  */
1160
1157
  NetworkConfiguration?: UpdateNetworkConfigurationInput;
1161
1158
  /**
1162
- * @public
1163
1159
  * <p>The Apache Airflow log types to send to CloudWatch Logs.</p>
1160
+ * @public
1164
1161
  */
1165
1162
  LoggingConfiguration?: LoggingConfigurationInput;
1166
1163
  /**
1167
- * @public
1168
1164
  * <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>
1165
+ * @public
1169
1166
  */
1170
1167
  WeeklyMaintenanceWindowStart?: string;
1171
1168
  /**
1172
- * @public
1173
1169
  * <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>
1170
+ * @public
1174
1171
  */
1175
1172
  WebserverAccessMode?: WebserverAccessMode;
1176
1173
  /**
1177
- * @public
1178
1174
  * <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>
1175
+ * @public
1179
1176
  */
1180
1177
  MinWorkers?: number;
1181
1178
  /**
1182
- * @public
1183
1179
  * <p>The number of Apache Airflow schedulers to run in your Amazon MWAA environment.</p>
1180
+ * @public
1184
1181
  */
1185
1182
  Schedulers?: number;
1186
1183
  }
@@ -1189,8 +1186,8 @@ export interface UpdateEnvironmentInput {
1189
1186
  */
1190
1187
  export interface UpdateEnvironmentOutput {
1191
1188
  /**
1192
- * @public
1193
1189
  * <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>
1190
+ * @public
1194
1191
  */
1195
1192
  Arn?: string;
1196
1193
  }