@aws-sdk/client-mwaa 3.301.0 → 3.305.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -49,14 +49,19 @@ export declare class ResourceNotFoundException extends __BaseException {
49
49
  }
50
50
  /**
51
51
  * @public
52
+ * @enum
52
53
  */
53
- export declare enum LoggingLevel {
54
- CRITICAL = "CRITICAL",
55
- DEBUG = "DEBUG",
56
- ERROR = "ERROR",
57
- INFO = "INFO",
58
- WARNING = "WARNING"
59
- }
54
+ export declare const LoggingLevel: {
55
+ readonly CRITICAL: "CRITICAL";
56
+ readonly DEBUG: "DEBUG";
57
+ readonly ERROR: "ERROR";
58
+ readonly INFO: "INFO";
59
+ readonly WARNING: "WARNING";
60
+ };
61
+ /**
62
+ * @public
63
+ */
64
+ export type LoggingLevel = (typeof LoggingLevel)[keyof typeof LoggingLevel];
60
65
  /**
61
66
  * @public
62
67
  * <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>
@@ -99,25 +104,30 @@ export interface LoggingConfigurationInput {
99
104
  }
100
105
  /**
101
106
  * @public
102
- * <p>Describes the VPC networking components used to secure and enable network traffic between the Amazon Web Services resources for your environment. To learn more, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/networking-about.html">About networking on Amazon MWAA</a>.</p>
107
+ * <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>
103
108
  */
104
109
  export interface NetworkConfiguration {
105
110
  /**
106
- * <p>A list of subnet IDs. To learn more, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/networking-about.html">About networking on Amazon MWAA</a>.</p>
111
+ * <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>
107
112
  */
108
113
  SubnetIds?: string[];
109
114
  /**
110
- * <p>A list of security group IDs. To learn more, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/vpc-security.html">Security in your VPC on Amazon MWAA</a>.</p>
115
+ * <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>
111
116
  */
112
117
  SecurityGroupIds?: string[];
113
118
  }
114
119
  /**
115
120
  * @public
121
+ * @enum
116
122
  */
117
- export declare enum WebserverAccessMode {
118
- PRIVATE_ONLY = "PRIVATE_ONLY",
119
- PUBLIC_ONLY = "PUBLIC_ONLY"
120
- }
123
+ export declare const WebserverAccessMode: {
124
+ readonly PRIVATE_ONLY: "PRIVATE_ONLY";
125
+ readonly PUBLIC_ONLY: "PUBLIC_ONLY";
126
+ };
127
+ /**
128
+ * @public
129
+ */
130
+ export type WebserverAccessMode = (typeof WebserverAccessMode)[keyof typeof WebserverAccessMode];
121
131
  /**
122
132
  * @public
123
133
  * <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>
@@ -128,43 +138,67 @@ export interface CreateEnvironmentInput {
128
138
  */
129
139
  Name: string | undefined;
130
140
  /**
131
- * <p>The Amazon Resource Name (ARN) of the execution role for your environment. An execution role is an Amazon Web Services Identity and Access Management (IAM) role that grants MWAA permission to access Amazon Web Services services and resources used by your environment. For example, <code>arn:aws:iam::123456789:role/my-execution-role</code>. To learn more, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/mwaa-create-role.html">Amazon MWAA Execution role</a>.</p>
141
+ * <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>
132
142
  */
133
143
  ExecutionRoleArn: string | undefined;
134
144
  /**
135
- * <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>. To learn more, 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>
145
+ * <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>
136
146
  */
137
147
  SourceBucketArn: string | undefined;
138
148
  /**
139
- * <p>The relative path to the DAGs folder on your Amazon S3 bucket. For example, <code>dags</code>. To learn more, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/configuring-dag-folder.html">Adding or updating DAGs</a>.</p>
149
+ * <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>
140
150
  */
141
151
  DagS3Path: string | undefined;
142
152
  /**
143
- * <p>The VPC networking components used to secure and enable network traffic between the Amazon Web Services resources for your environment. To learn more, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/networking-about.html">About networking on Amazon MWAA</a>.</p>
153
+ * <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>
144
154
  */
145
155
  NetworkConfiguration: NetworkConfiguration | undefined;
146
156
  /**
147
- * <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. To learn more, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/configuring-dag-import-plugins.html">Installing custom plugins</a>.</p>
157
+ * <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>
148
158
  */
149
159
  PluginsS3Path?: string;
150
160
  /**
151
- * <p>The version of the plugins.zip file on your Amazon S3 bucket. A version must be specified each time a plugins.zip file is updated. To learn more, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/versioning-workflows.html">How S3 Versioning works</a>.</p>
161
+ * <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>
152
162
  */
153
163
  PluginsS3ObjectVersion?: string;
154
164
  /**
155
- * <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. To learn more, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/working-dags-dependencies.html">Installing Python dependencies</a>.</p>
165
+ * <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>
156
166
  */
157
167
  RequirementsS3Path?: string;
158
168
  /**
159
- * <p>The version of the requirements.txt file on your Amazon S3 bucket. A version must be specified each time a requirements.txt file is updated. To learn more, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/versioning-workflows.html">How S3 Versioning works</a>.</p>
169
+ * <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>
160
170
  */
161
171
  RequirementsS3ObjectVersion?: string;
162
172
  /**
163
- * <p>A list of key-value pairs containing the Apache Airflow configuration options you want to attach to your environment. To learn more, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/configuring-env-variables.html">Apache Airflow configuration options</a>.</p>
173
+ * <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
+ * <p>
175
+ * Amazon MWAA runs the script as your environment starts, and before running the Apache Airflow process.
176
+ * You can use this script to install dependencies, modify Apache Airflow configuration options, and set environment variables. For more information, see
177
+ * <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/using-startup-script.html">Using a startup script</a>.
178
+ * </p>
179
+ */
180
+ StartupScriptS3Path?: string;
181
+ /**
182
+ * <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
+ * every time you update the script.
184
+ * </p>
185
+ * <p>
186
+ * 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:
187
+ * </p>
188
+ * <p>
189
+ * <code>3sL4kqtJlcpXroDTDmJ+rmSpXd3dIbrHY+MTRCxf3vjVBH40Nr8X8gdRQBpUMLUo</code>
190
+ * </p>
191
+ * <p>
192
+ * For more information, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/using-startup-script.html">Using a startup script</a>.
193
+ * </p>
194
+ */
195
+ StartupScriptS3ObjectVersion?: string;
196
+ /**
197
+ * <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>
164
198
  */
165
199
  AirflowConfigurationOptions?: Record<string, string>;
166
200
  /**
167
- * <p>The environment class type. Valid values: <code>mw1.small</code>, <code>mw1.medium</code>, <code>mw1.large</code>. To learn more, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/environment-class.html">Amazon MWAA environment class</a>.</p>
201
+ * <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>
168
202
  */
169
203
  EnvironmentClass?: string;
170
204
  /**
@@ -172,7 +206,7 @@ export interface CreateEnvironmentInput {
172
206
  */
173
207
  MaxWorkers?: number;
174
208
  /**
175
- * <p>The Amazon Web Services Key Management Service (KMS) key to encrypt the data in your environment. You can use an Amazon Web Services owned CMK, or a Customer managed CMK (advanced). To learn more, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/create-environment.html">Create an Amazon MWAA environment</a>.</p>
209
+ * <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>
176
210
  */
177
211
  KmsKey?: string;
178
212
  /**
@@ -190,11 +224,11 @@ export interface CreateEnvironmentInput {
190
224
  */
191
225
  WeeklyMaintenanceWindowStart?: string;
192
226
  /**
193
- * <p>The key-value tag pairs you want to associate to your environment. For example, <code>"Environment": "Staging"</code>. To learn more, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging Amazon Web Services resources</a>.</p>
227
+ * <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>
194
228
  */
195
229
  Tags?: Record<string, string>;
196
230
  /**
197
- * <p>The Apache Airflow <i>Web server</i> access mode. To learn more, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/configuring-networking.html">Apache Airflow access modes</a>.</p>
231
+ * <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>
198
232
  */
199
233
  WebserverAccessMode?: WebserverAccessMode | string;
200
234
  /**
@@ -308,12 +342,17 @@ export interface UpdateError {
308
342
  }
309
343
  /**
310
344
  * @public
345
+ * @enum
311
346
  */
312
- export declare enum UpdateStatus {
313
- FAILED = "FAILED",
314
- PENDING = "PENDING",
315
- SUCCESS = "SUCCESS"
316
- }
347
+ export declare const UpdateStatus: {
348
+ readonly FAILED: "FAILED";
349
+ readonly PENDING: "PENDING";
350
+ readonly SUCCESS: "SUCCESS";
351
+ };
352
+ /**
353
+ * @public
354
+ */
355
+ export type UpdateStatus = (typeof UpdateStatus)[keyof typeof UpdateStatus];
317
356
  /**
318
357
  * @public
319
358
  * <p>Describes the status of the last update on the environment, and any errors that were encountered.</p>
@@ -382,17 +421,22 @@ export interface LoggingConfiguration {
382
421
  }
383
422
  /**
384
423
  * @public
424
+ * @enum
385
425
  */
386
- export declare enum EnvironmentStatus {
387
- AVAILABLE = "AVAILABLE",
388
- CREATE_FAILED = "CREATE_FAILED",
389
- CREATING = "CREATING",
390
- DELETED = "DELETED",
391
- DELETING = "DELETING",
392
- UNAVAILABLE = "UNAVAILABLE",
393
- UPDATE_FAILED = "UPDATE_FAILED",
394
- UPDATING = "UPDATING"
395
- }
426
+ export declare const EnvironmentStatus: {
427
+ readonly AVAILABLE: "AVAILABLE";
428
+ readonly CREATE_FAILED: "CREATE_FAILED";
429
+ readonly CREATING: "CREATING";
430
+ readonly DELETED: "DELETED";
431
+ readonly DELETING: "DELETING";
432
+ readonly UNAVAILABLE: "UNAVAILABLE";
433
+ readonly UPDATE_FAILED: "UPDATE_FAILED";
434
+ readonly UPDATING: "UPDATING";
435
+ };
436
+ /**
437
+ * @public
438
+ */
439
+ export type EnvironmentStatus = (typeof EnvironmentStatus)[keyof typeof EnvironmentStatus];
396
440
  /**
397
441
  * @public
398
442
  * <p>Describes an Amazon Managed Workflows for Apache Airflow (MWAA) environment.</p>
@@ -438,7 +482,7 @@ export interface Environment {
438
482
  * <code>UPDATE_FAILED</code> - Indicates the request to update the environment failed, and the environment has rolled back successfully and is ready to use.</p>
439
483
  * </li>
440
484
  * </ul>
441
- * <p>We recommend reviewing our troubleshooting guide for a list of common errors and their solutions. To learn more, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/troubleshooting.html">Amazon MWAA troubleshooting</a>.</p>
485
+ * <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>
442
486
  */
443
487
  Status?: EnvironmentStatus | string;
444
488
  /**
@@ -450,15 +494,15 @@ export interface Environment {
450
494
  */
451
495
  CreatedAt?: Date;
452
496
  /**
453
- * <p>The Apache Airflow <i>Web server</i> host name for the Amazon MWAA environment. To learn more, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/access-airflow-ui.html">Accessing the Apache Airflow UI</a>.</p>
497
+ * <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>
454
498
  */
455
499
  WebserverUrl?: string;
456
500
  /**
457
- * <p>The Amazon Resource Name (ARN) of the execution role in IAM that allows MWAA to access Amazon Web Services resources in your environment. For example, <code>arn:aws:iam::123456789:role/my-execution-role</code>. To learn more, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/mwaa-create-role.html">Amazon MWAA Execution role</a>.</p>
501
+ * <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>
458
502
  */
459
503
  ExecutionRoleArn?: string;
460
504
  /**
461
- * <p>The Amazon Resource Name (ARN) for the service-linked role of the environment. To learn more, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/mwaa-slr.html">Amazon MWAA Service-linked role</a>.</p>
505
+ * <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>
462
506
  */
463
507
  ServiceRoleArn?: string;
464
508
  /**
@@ -470,35 +514,74 @@ export interface Environment {
470
514
  */
471
515
  AirflowVersion?: string;
472
516
  /**
473
- * <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>. To learn more, 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>
517
+ * <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>
474
518
  */
475
519
  SourceBucketArn?: string;
476
520
  /**
477
- * <p>The relative path to the DAGs folder on your Amazon S3 bucket. For example, <code>dags</code>. To learn more, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/configuring-dag-folder.html">Adding or updating DAGs</a>.</p>
521
+ * <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>
478
522
  */
479
523
  DagS3Path?: string;
480
524
  /**
481
- * <p>The relative path to the <code>plugins.zip</code> file on your Amazon S3 bucket. For example, <code>plugins.zip</code>. To learn more, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/configuring-dag-import-plugins.html">Installing custom plugins</a>.</p>
525
+ * <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>
482
526
  */
483
527
  PluginsS3Path?: string;
484
528
  /**
485
- * <p>The version of the plugins.zip file on your Amazon S3 bucket. To learn more, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/configuring-dag-import-plugins.html">Installing custom plugins</a>.</p>
529
+ * <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>
530
+ * <p>
531
+ * 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:
532
+ * </p>
533
+ * <p>
534
+ * <code>3sL4kqtJlcpXroDTDmJ+rmSpXd3dIbrHY+MTRCxf3vjVBH40Nr8X8gdRQBpUMLUo</code>
535
+ * </p>
536
+ * <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>
486
537
  */
487
538
  PluginsS3ObjectVersion?: string;
488
539
  /**
489
- * <p>The relative path to the <code>requirements.txt</code> file on your Amazon S3 bucket. For example, <code>requirements.txt</code>. To learn more, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/working-dags-dependencies.html">Installing Python dependencies</a>.</p>
540
+ * <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
541
+ * <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/working-dags-dependencies.html">Installing Python dependencies</a>.</p>
490
542
  */
491
543
  RequirementsS3Path?: string;
492
544
  /**
493
- * <p>The version of the requirements.txt file on your Amazon S3 bucket. To learn more, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/working-dags-dependencies.html">Installing Python dependencies</a>.</p>
545
+ * <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>
546
+ * <p>
547
+ * 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:
548
+ * </p>
549
+ * <p>
550
+ * <code>3sL4kqtJlcpXroDTDmJ+rmSpXd3dIbrHY+MTRCxf3vjVBH40Nr8X8gdRQBpUMLUo</code>
551
+ * </p>
552
+ * <p>
553
+ * For more information, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/working-dags-dependencies.html">Installing Python dependencies</a>.
554
+ * </p>
494
555
  */
495
556
  RequirementsS3ObjectVersion?: string;
496
557
  /**
497
- * <p>A list of key-value pairs containing the Apache Airflow configuration options attached to your environment. To learn more, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/configuring-env-variables.html">Apache Airflow configuration options</a>.</p>
558
+ * <p>The relative path to the startup shell script in your Amazon S3 bucket. For example, <code>s3://mwaa-environment/startup.sh</code>.</p>
559
+ * <p>
560
+ * Amazon MWAA runs the script as your environment starts, and before running the Apache Airflow process.
561
+ * You can use this script to install dependencies, modify Apache Airflow configuration options, and set environment variables. For more information, see
562
+ * <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/using-startup-script.html">Using a startup script</a>.
563
+ * </p>
564
+ */
565
+ StartupScriptS3Path?: string;
566
+ /**
567
+ * <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>
568
+ * <p>
569
+ * 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:
570
+ * </p>
571
+ * <p>
572
+ * <code>3sL4kqtJlcpXroDTDmJ+rmSpXd3dIbrHY+MTRCxf3vjVBH40Nr8X8gdRQBpUMLUo</code>
573
+ * </p>
574
+ * <p>
575
+ * For more information, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/using-startup-script.html">Using a startup script</a>.
576
+ * </p>
577
+ */
578
+ StartupScriptS3ObjectVersion?: string;
579
+ /**
580
+ * <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>
498
581
  */
499
582
  AirflowConfigurationOptions?: Record<string, string>;
500
583
  /**
501
- * <p>The environment class type. Valid values: <code>mw1.small</code>, <code>mw1.medium</code>, <code>mw1.large</code>. To learn more, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/environment-class.html">Amazon MWAA environment class</a>.</p>
584
+ * <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>
502
585
  */
503
586
  EnvironmentClass?: string;
504
587
  /**
@@ -506,7 +589,7 @@ export interface Environment {
506
589
  */
507
590
  MaxWorkers?: number;
508
591
  /**
509
- * <p>Describes the VPC networking components used to secure and enable network traffic between the Amazon Web Services resources for your environment. To learn more, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/networking-about.html">About networking on Amazon MWAA</a>.</p>
592
+ * <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>
510
593
  */
511
594
  NetworkConfiguration?: NetworkConfiguration;
512
595
  /**
@@ -522,11 +605,11 @@ export interface Environment {
522
605
  */
523
606
  WeeklyMaintenanceWindowStart?: string;
524
607
  /**
525
- * <p>The key-value tag pairs associated to your environment. For example, <code>"Environment": "Staging"</code>. To learn more, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging Amazon Web Services resources</a>.</p>
608
+ * <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>
526
609
  */
527
610
  Tags?: Record<string, string>;
528
611
  /**
529
- * <p>The Apache Airflow <i>Web server</i> access mode. To learn more, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/configuring-networking.html">Apache Airflow access modes</a>.</p>
612
+ * <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>
530
613
  */
531
614
  WebserverAccessMode?: WebserverAccessMode | string;
532
615
  /**
@@ -587,7 +670,7 @@ export interface ListTagsForResourceInput {
587
670
  */
588
671
  export interface ListTagsForResourceOutput {
589
672
  /**
590
- * <p>The key-value tag pairs associated to your environment. To learn more, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging Amazon Web Services resources</a>.</p>
673
+ * <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>
591
674
  */
592
675
  Tags?: Record<string, string>;
593
676
  }
@@ -637,36 +720,41 @@ export interface StatisticSet {
637
720
  }
638
721
  /**
639
722
  * @public
640
- */
641
- export declare enum Unit {
642
- BITS = "Bits",
643
- BITS_PER_SECOND = "Bits/Second",
644
- BYTES = "Bytes",
645
- BYTES_PER_SECOND = "Bytes/Second",
646
- COUNT = "Count",
647
- COUNT_PER_SECOND = "Count/Second",
648
- GIGABITS = "Gigabits",
649
- GIGABITS_PER_SECOND = "Gigabits/Second",
650
- GIGABYTES = "Gigabytes",
651
- GIGABYTES_PER_SECOND = "Gigabytes/Second",
652
- KILOBITS = "Kilobits",
653
- KILOBITS_PER_SECOND = "Kilobits/Second",
654
- KILOBYTES = "Kilobytes",
655
- KILOBYTES_PER_SECOND = "Kilobytes/Second",
656
- MEGABITS = "Megabits",
657
- MEGABITS_PER_SECOND = "Megabits/Second",
658
- MEGABYTES = "Megabytes",
659
- MEGABYTES_PER_SECOND = "Megabytes/Second",
660
- MICROSECONDS = "Microseconds",
661
- MILLISECONDS = "Milliseconds",
662
- NONE = "None",
663
- PERCENT = "Percent",
664
- SECONDS = "Seconds",
665
- TERABITS = "Terabits",
666
- TERABITS_PER_SECOND = "Terabits/Second",
667
- TERABYTES = "Terabytes",
668
- TERABYTES_PER_SECOND = "Terabytes/Second"
669
- }
723
+ * @enum
724
+ */
725
+ export declare const Unit: {
726
+ readonly BITS: "Bits";
727
+ readonly BITS_PER_SECOND: "Bits/Second";
728
+ readonly BYTES: "Bytes";
729
+ readonly BYTES_PER_SECOND: "Bytes/Second";
730
+ readonly COUNT: "Count";
731
+ readonly COUNT_PER_SECOND: "Count/Second";
732
+ readonly GIGABITS: "Gigabits";
733
+ readonly GIGABITS_PER_SECOND: "Gigabits/Second";
734
+ readonly GIGABYTES: "Gigabytes";
735
+ readonly GIGABYTES_PER_SECOND: "Gigabytes/Second";
736
+ readonly KILOBITS: "Kilobits";
737
+ readonly KILOBITS_PER_SECOND: "Kilobits/Second";
738
+ readonly KILOBYTES: "Kilobytes";
739
+ readonly KILOBYTES_PER_SECOND: "Kilobytes/Second";
740
+ readonly MEGABITS: "Megabits";
741
+ readonly MEGABITS_PER_SECOND: "Megabits/Second";
742
+ readonly MEGABYTES: "Megabytes";
743
+ readonly MEGABYTES_PER_SECOND: "Megabytes/Second";
744
+ readonly MICROSECONDS: "Microseconds";
745
+ readonly MILLISECONDS: "Milliseconds";
746
+ readonly NONE: "None";
747
+ readonly PERCENT: "Percent";
748
+ readonly SECONDS: "Seconds";
749
+ readonly TERABITS: "Terabits";
750
+ readonly TERABITS_PER_SECOND: "Terabits/Second";
751
+ readonly TERABYTES: "Terabytes";
752
+ readonly TERABYTES_PER_SECOND: "Terabytes/Second";
753
+ };
754
+ /**
755
+ * @public
756
+ */
757
+ export type Unit = (typeof Unit)[keyof typeof Unit];
670
758
  /**
671
759
  * @public
672
760
  * <p>
@@ -733,7 +821,7 @@ export interface TagResourceInput {
733
821
  */
734
822
  ResourceArn: string | undefined;
735
823
  /**
736
- * <p>The key-value tag pairs you want to associate to your environment. For example, <code>"Environment": "Staging"</code>. To learn more, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging Amazon Web Services resources</a>.</p>
824
+ * <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>
737
825
  */
738
826
  Tags: Record<string, string> | undefined;
739
827
  }
@@ -762,11 +850,11 @@ export interface UntagResourceOutput {
762
850
  }
763
851
  /**
764
852
  * @public
765
- * <p>Defines the VPC networking components used to secure and enable network traffic between the Amazon Web Services resources for your environment. To learn more, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/networking-about.html">About networking on Amazon MWAA</a>.</p>
853
+ * <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>
766
854
  */
767
855
  export interface UpdateNetworkConfigurationInput {
768
856
  /**
769
- * <p>A list of security group IDs. A security group must be attached to the same VPC as the subnets. To learn more, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/vpc-security.html">Security in your VPC on Amazon MWAA</a>.</p>
857
+ * <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>
770
858
  */
771
859
  SecurityGroupIds: string[] | undefined;
772
860
  }
@@ -779,7 +867,7 @@ export interface UpdateEnvironmentInput {
779
867
  */
780
868
  Name: string | undefined;
781
869
  /**
782
- * <p>The Amazon Resource Name (ARN) of the execution role in IAM that allows MWAA to access Amazon Web Services resources in your environment. For example, <code>arn:aws:iam::123456789:role/my-execution-role</code>. To learn more, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/mwaa-create-role.html">Amazon MWAA Execution role</a>.</p>
870
+ * <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>
783
871
  */
784
872
  ExecutionRoleArn?: string;
785
873
  /**
@@ -788,35 +876,60 @@ export interface UpdateEnvironmentInput {
788
876
  */
789
877
  AirflowVersion?: string;
790
878
  /**
791
- * <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>. To learn more, 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>
879
+ * <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>
792
880
  */
793
881
  SourceBucketArn?: string;
794
882
  /**
795
- * <p>The relative path to the DAGs folder on your Amazon S3 bucket. For example, <code>dags</code>. To learn more, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/configuring-dag-folder.html">Adding or updating DAGs</a>.</p>
883
+ * <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>
796
884
  */
797
885
  DagS3Path?: string;
798
886
  /**
799
- * <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. To learn more, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/configuring-dag-import-plugins.html">Installing custom plugins</a>.</p>
887
+ * <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>
800
888
  */
801
889
  PluginsS3Path?: string;
802
890
  /**
803
- * <p>The version of the plugins.zip file on your Amazon S3 bucket. A version must be specified each time a plugins.zip file is updated. To learn more, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/versioning-workflows.html">How S3 Versioning works</a>.</p>
891
+ * <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>
804
892
  */
805
893
  PluginsS3ObjectVersion?: string;
806
894
  /**
807
- * <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. To learn more, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/working-dags-dependencies.html">Installing Python dependencies</a>.</p>
895
+ * <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>
808
896
  */
809
897
  RequirementsS3Path?: string;
810
898
  /**
811
- * <p>The version of the requirements.txt file on your Amazon S3 bucket. A version must be specified each time a requirements.txt file is updated. To learn more, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/versioning-workflows.html">How S3 Versioning works</a>.</p>
899
+ * <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>
812
900
  */
813
901
  RequirementsS3ObjectVersion?: string;
814
902
  /**
815
- * <p>A list of key-value pairs containing the Apache Airflow configuration options you want to attach to your environment. To learn more, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/configuring-env-variables.html">Apache Airflow configuration options</a>.</p>
903
+ * <p>The relative path to the startup shell script in your Amazon S3 bucket. For example, <code>s3://mwaa-environment/startup.sh</code>.</p>
904
+ * <p>
905
+ * Amazon MWAA runs the script as your environment starts, and before running the Apache Airflow process.
906
+ * You can use this script to install dependencies, modify Apache Airflow configuration options, and set environment variables. For more information, see
907
+ * <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/using-startup-script.html">Using a startup script</a>.
908
+ * </p>
909
+ */
910
+ StartupScriptS3Path?: string;
911
+ /**
912
+ * <p>
913
+ * 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
914
+ * every time you update the script.
915
+ * </p>
916
+ * <p>
917
+ * 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:
918
+ * </p>
919
+ * <p>
920
+ * <code>3sL4kqtJlcpXroDTDmJ+rmSpXd3dIbrHY+MTRCxf3vjVBH40Nr8X8gdRQBpUMLUo</code>
921
+ * </p>
922
+ * <p>
923
+ * For more information, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/using-startup-script.html">Using a startup script</a>.
924
+ * </p>
925
+ */
926
+ StartupScriptS3ObjectVersion?: string;
927
+ /**
928
+ * <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>
816
929
  */
817
930
  AirflowConfigurationOptions?: Record<string, string>;
818
931
  /**
819
- * <p>The environment class type. Valid values: <code>mw1.small</code>, <code>mw1.medium</code>, <code>mw1.large</code>. To learn more, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/environment-class.html">Amazon MWAA environment class</a>.</p>
932
+ * <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>
820
933
  */
821
934
  EnvironmentClass?: string;
822
935
  /**
@@ -824,7 +937,7 @@ export interface UpdateEnvironmentInput {
824
937
  */
825
938
  MaxWorkers?: number;
826
939
  /**
827
- * <p>The VPC networking components used to secure and enable network traffic between the Amazon Web Services resources for your environment. To learn more, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/networking-about.html">About networking on Amazon MWAA</a>.</p>
940
+ * <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>
828
941
  */
829
942
  NetworkConfiguration?: UpdateNetworkConfigurationInput;
830
943
  /**
@@ -836,7 +949,7 @@ export interface UpdateEnvironmentInput {
836
949
  */
837
950
  WeeklyMaintenanceWindowStart?: string;
838
951
  /**
839
- * <p>The Apache Airflow <i>Web server</i> access mode. To learn more, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/configuring-networking.html">Apache Airflow access modes</a>.</p>
952
+ * <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>
840
953
  */
841
954
  WebserverAccessMode?: WebserverAccessMode | string;
842
955
  /**
@@ -26,7 +26,7 @@ export declare const resolveClientEndpointParameters: <T>(
26
26
  defaultSigningName: string;
27
27
  };
28
28
  export interface EndpointParameters extends __EndpointParameters {
29
- Region: string;
29
+ Region?: string;
30
30
  UseDualStack?: boolean;
31
31
  UseFIPS?: boolean;
32
32
  Endpoint?: string;