@aws-sdk/client-mwaa 3.303.0 → 3.306.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ruleSet = void 0;
4
- const q = "fn", r = "argv", s = "ref";
5
- const a = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = { "required": true, "default": false, "type": "Boolean" }, i = { [s]: "Endpoint" }, j = { [q]: "booleanEquals", [r]: [{ [s]: "UseFIPS" }, true] }, k = { [q]: "booleanEquals", [r]: [{ [s]: "UseDualStack" }, true] }, l = {}, m = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: d }, "supportsFIPS"] }] }, n = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: d }, "supportsDualStack"] }] }, o = [j], p = [k];
6
- const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: h, UseFIPS: h, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [q]: "aws.partition", [r]: [{ [s]: "Region" }], assign: d }], type: e, rules: [{ conditions: [{ [q]: "isSet", [r]: [i] }], type: e, rules: [{ conditions: o, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: f }, { type: e, rules: [{ conditions: p, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: f }, { endpoint: { url: i, properties: l, headers: l }, type: g }] }] }, { conditions: [j, k], type: e, rules: [{ conditions: [m, n], type: e, rules: [{ endpoint: { url: "https://airflow-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: f }] }, { conditions: o, type: e, rules: [{ conditions: [m], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://airflow-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: f }] }, { conditions: p, type: e, rules: [{ conditions: [n], type: e, rules: [{ endpoint: { url: "https://airflow.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: f }] }, { endpoint: { url: "https://airflow.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] };
4
+ const q = "required", r = "fn", s = "argv", t = "ref";
5
+ const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
6
+ const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://airflow-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://airflow-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://airflow.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://airflow.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
7
7
  exports.ruleSet = _data;
@@ -62,6 +62,10 @@ const serializeAws_restJson1CreateEnvironmentCommand = async (input, context) =>
62
62
  ...(input.RequirementsS3Path != null && { RequirementsS3Path: input.RequirementsS3Path }),
63
63
  ...(input.Schedulers != null && { Schedulers: input.Schedulers }),
64
64
  ...(input.SourceBucketArn != null && { SourceBucketArn: input.SourceBucketArn }),
65
+ ...(input.StartupScriptS3ObjectVersion != null && {
66
+ StartupScriptS3ObjectVersion: input.StartupScriptS3ObjectVersion,
67
+ }),
68
+ ...(input.StartupScriptS3Path != null && { StartupScriptS3Path: input.StartupScriptS3Path }),
65
69
  ...(input.Tags != null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) }),
66
70
  ...(input.WebserverAccessMode != null && { WebserverAccessMode: input.WebserverAccessMode }),
67
71
  ...(input.WeeklyMaintenanceWindowStart != null && {
@@ -331,6 +335,10 @@ const serializeAws_restJson1UpdateEnvironmentCommand = async (input, context) =>
331
335
  ...(input.RequirementsS3Path != null && { RequirementsS3Path: input.RequirementsS3Path }),
332
336
  ...(input.Schedulers != null && { Schedulers: input.Schedulers }),
333
337
  ...(input.SourceBucketArn != null && { SourceBucketArn: input.SourceBucketArn }),
338
+ ...(input.StartupScriptS3ObjectVersion != null && {
339
+ StartupScriptS3ObjectVersion: input.StartupScriptS3ObjectVersion,
340
+ }),
341
+ ...(input.StartupScriptS3Path != null && { StartupScriptS3Path: input.StartupScriptS3Path }),
334
342
  ...(input.WebserverAccessMode != null && { WebserverAccessMode: input.WebserverAccessMode }),
335
343
  ...(input.WeeklyMaintenanceWindowStart != null && {
336
344
  WeeklyMaintenanceWindowStart: input.WeeklyMaintenanceWindowStart,
@@ -978,6 +986,8 @@ const deserializeAws_restJson1Environment = (output, context) => {
978
986
  Schedulers: (0, smithy_client_1.expectInt32)(output.Schedulers),
979
987
  ServiceRoleArn: (0, smithy_client_1.expectString)(output.ServiceRoleArn),
980
988
  SourceBucketArn: (0, smithy_client_1.expectString)(output.SourceBucketArn),
989
+ StartupScriptS3ObjectVersion: (0, smithy_client_1.expectString)(output.StartupScriptS3ObjectVersion),
990
+ StartupScriptS3Path: (0, smithy_client_1.expectString)(output.StartupScriptS3Path),
981
991
  Status: (0, smithy_client_1.expectString)(output.Status),
982
992
  Tags: output.Tags != null ? deserializeAws_restJson1TagMap(output.Tags, context) : undefined,
983
993
  WebserverAccessMode: (0, smithy_client_1.expectString)(output.WebserverAccessMode),
@@ -1,4 +1,4 @@
1
- const q = "fn", r = "argv", s = "ref";
2
- const a = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = { "required": true, "default": false, "type": "Boolean" }, i = { [s]: "Endpoint" }, j = { [q]: "booleanEquals", [r]: [{ [s]: "UseFIPS" }, true] }, k = { [q]: "booleanEquals", [r]: [{ [s]: "UseDualStack" }, true] }, l = {}, m = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: d }, "supportsFIPS"] }] }, n = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: d }, "supportsDualStack"] }] }, o = [j], p = [k];
3
- const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: h, UseFIPS: h, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [q]: "aws.partition", [r]: [{ [s]: "Region" }], assign: d }], type: e, rules: [{ conditions: [{ [q]: "isSet", [r]: [i] }], type: e, rules: [{ conditions: o, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: f }, { type: e, rules: [{ conditions: p, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: f }, { endpoint: { url: i, properties: l, headers: l }, type: g }] }] }, { conditions: [j, k], type: e, rules: [{ conditions: [m, n], type: e, rules: [{ endpoint: { url: "https://airflow-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: f }] }, { conditions: o, type: e, rules: [{ conditions: [m], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://airflow-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: f }] }, { conditions: p, type: e, rules: [{ conditions: [n], type: e, rules: [{ endpoint: { url: "https://airflow.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: f }] }, { endpoint: { url: "https://airflow.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] };
1
+ const q = "required", r = "fn", s = "argv", t = "ref";
2
+ const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
3
+ const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://airflow-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://airflow-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://airflow.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://airflow.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
4
4
  export const ruleSet = _data;
@@ -58,6 +58,10 @@ export const serializeAws_restJson1CreateEnvironmentCommand = async (input, cont
58
58
  ...(input.RequirementsS3Path != null && { RequirementsS3Path: input.RequirementsS3Path }),
59
59
  ...(input.Schedulers != null && { Schedulers: input.Schedulers }),
60
60
  ...(input.SourceBucketArn != null && { SourceBucketArn: input.SourceBucketArn }),
61
+ ...(input.StartupScriptS3ObjectVersion != null && {
62
+ StartupScriptS3ObjectVersion: input.StartupScriptS3ObjectVersion,
63
+ }),
64
+ ...(input.StartupScriptS3Path != null && { StartupScriptS3Path: input.StartupScriptS3Path }),
61
65
  ...(input.Tags != null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) }),
62
66
  ...(input.WebserverAccessMode != null && { WebserverAccessMode: input.WebserverAccessMode }),
63
67
  ...(input.WeeklyMaintenanceWindowStart != null && {
@@ -318,6 +322,10 @@ export const serializeAws_restJson1UpdateEnvironmentCommand = async (input, cont
318
322
  ...(input.RequirementsS3Path != null && { RequirementsS3Path: input.RequirementsS3Path }),
319
323
  ...(input.Schedulers != null && { Schedulers: input.Schedulers }),
320
324
  ...(input.SourceBucketArn != null && { SourceBucketArn: input.SourceBucketArn }),
325
+ ...(input.StartupScriptS3ObjectVersion != null && {
326
+ StartupScriptS3ObjectVersion: input.StartupScriptS3ObjectVersion,
327
+ }),
328
+ ...(input.StartupScriptS3Path != null && { StartupScriptS3Path: input.StartupScriptS3Path }),
321
329
  ...(input.WebserverAccessMode != null && { WebserverAccessMode: input.WebserverAccessMode }),
322
330
  ...(input.WeeklyMaintenanceWindowStart != null && {
323
331
  WeeklyMaintenanceWindowStart: input.WeeklyMaintenanceWindowStart,
@@ -953,6 +961,8 @@ const deserializeAws_restJson1Environment = (output, context) => {
953
961
  Schedulers: __expectInt32(output.Schedulers),
954
962
  ServiceRoleArn: __expectString(output.ServiceRoleArn),
955
963
  SourceBucketArn: __expectString(output.SourceBucketArn),
964
+ StartupScriptS3ObjectVersion: __expectString(output.StartupScriptS3ObjectVersion),
965
+ StartupScriptS3Path: __expectString(output.StartupScriptS3Path),
956
966
  Status: __expectString(output.Status),
957
967
  Tags: output.Tags != null ? deserializeAws_restJson1TagMap(output.Tags, context) : undefined,
958
968
  WebserverAccessMode: __expectString(output.WebserverAccessMode),
@@ -43,6 +43,8 @@ export interface CreateEnvironmentCommandOutput extends CreateEnvironmentOutput,
43
43
  * PluginsS3ObjectVersion: "STRING_VALUE",
44
44
  * RequirementsS3Path: "STRING_VALUE",
45
45
  * RequirementsS3ObjectVersion: "STRING_VALUE",
46
+ * StartupScriptS3Path: "STRING_VALUE",
47
+ * StartupScriptS3ObjectVersion: "STRING_VALUE",
46
48
  * AirflowConfigurationOptions: { // AirflowConfigurationOptions
47
49
  * "<keys>": "STRING_VALUE",
48
50
  * },
@@ -36,6 +36,8 @@ export interface UpdateEnvironmentCommandOutput extends UpdateEnvironmentOutput,
36
36
  * PluginsS3ObjectVersion: "STRING_VALUE",
37
37
  * RequirementsS3Path: "STRING_VALUE",
38
38
  * RequirementsS3ObjectVersion: "STRING_VALUE",
39
+ * StartupScriptS3Path: "STRING_VALUE",
40
+ * StartupScriptS3ObjectVersion: "STRING_VALUE",
39
41
  * AirflowConfigurationOptions: { // AirflowConfigurationOptions
40
42
  * "<keys>": "STRING_VALUE",
41
43
  * },
@@ -12,7 +12,7 @@ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInp
12
12
  defaultSigningName: string;
13
13
  };
14
14
  export interface EndpointParameters extends __EndpointParameters {
15
- Region: string;
15
+ Region?: string;
16
16
  UseDualStack?: boolean;
17
17
  UseFIPS?: boolean;
18
18
  Endpoint?: string;
@@ -104,15 +104,15 @@ export interface LoggingConfigurationInput {
104
104
  }
105
105
  /**
106
106
  * @public
107
- * <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>
108
108
  */
109
109
  export interface NetworkConfiguration {
110
110
  /**
111
- * <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>
112
112
  */
113
113
  SubnetIds?: string[];
114
114
  /**
115
- * <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>
116
116
  */
117
117
  SecurityGroupIds?: string[];
118
118
  }
@@ -138,43 +138,67 @@ export interface CreateEnvironmentInput {
138
138
  */
139
139
  Name: string | undefined;
140
140
  /**
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>. 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>
142
142
  */
143
143
  ExecutionRoleArn: string | undefined;
144
144
  /**
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>. 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>
146
146
  */
147
147
  SourceBucketArn: string | undefined;
148
148
  /**
149
- * <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>
150
150
  */
151
151
  DagS3Path: string | undefined;
152
152
  /**
153
- * <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>
154
154
  */
155
155
  NetworkConfiguration: NetworkConfiguration | undefined;
156
156
  /**
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 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>
158
158
  */
159
159
  PluginsS3Path?: string;
160
160
  /**
161
- * <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>
162
162
  */
163
163
  PluginsS3ObjectVersion?: string;
164
164
  /**
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 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>
166
166
  */
167
167
  RequirementsS3Path?: string;
168
168
  /**
169
- * <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>
170
170
  */
171
171
  RequirementsS3ObjectVersion?: string;
172
172
  /**
173
- * <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>
174
198
  */
175
199
  AirflowConfigurationOptions?: Record<string, string>;
176
200
  /**
177
- * <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>
178
202
  */
179
203
  EnvironmentClass?: string;
180
204
  /**
@@ -182,7 +206,7 @@ export interface CreateEnvironmentInput {
182
206
  */
183
207
  MaxWorkers?: number;
184
208
  /**
185
- * <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>
186
210
  */
187
211
  KmsKey?: string;
188
212
  /**
@@ -200,11 +224,11 @@ export interface CreateEnvironmentInput {
200
224
  */
201
225
  WeeklyMaintenanceWindowStart?: string;
202
226
  /**
203
- * <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>
204
228
  */
205
229
  Tags?: Record<string, string>;
206
230
  /**
207
- * <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>
208
232
  */
209
233
  WebserverAccessMode?: WebserverAccessMode | string;
210
234
  /**
@@ -458,7 +482,7 @@ export interface Environment {
458
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>
459
483
  * </li>
460
484
  * </ul>
461
- * <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>
462
486
  */
463
487
  Status?: EnvironmentStatus | string;
464
488
  /**
@@ -470,15 +494,15 @@ export interface Environment {
470
494
  */
471
495
  CreatedAt?: Date;
472
496
  /**
473
- * <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>
474
498
  */
475
499
  WebserverUrl?: string;
476
500
  /**
477
- * <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>
478
502
  */
479
503
  ExecutionRoleArn?: string;
480
504
  /**
481
- * <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>
482
506
  */
483
507
  ServiceRoleArn?: string;
484
508
  /**
@@ -490,35 +514,74 @@ export interface Environment {
490
514
  */
491
515
  AirflowVersion?: string;
492
516
  /**
493
- * <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>
494
518
  */
495
519
  SourceBucketArn?: string;
496
520
  /**
497
- * <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>
498
522
  */
499
523
  DagS3Path?: string;
500
524
  /**
501
- * <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>
502
526
  */
503
527
  PluginsS3Path?: string;
504
528
  /**
505
- * <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>
506
537
  */
507
538
  PluginsS3ObjectVersion?: string;
508
539
  /**
509
- * <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>
510
542
  */
511
543
  RequirementsS3Path?: string;
512
544
  /**
513
- * <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>
514
555
  */
515
556
  RequirementsS3ObjectVersion?: string;
516
557
  /**
517
- * <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>
518
581
  */
519
582
  AirflowConfigurationOptions?: Record<string, string>;
520
583
  /**
521
- * <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>
522
585
  */
523
586
  EnvironmentClass?: string;
524
587
  /**
@@ -526,7 +589,7 @@ export interface Environment {
526
589
  */
527
590
  MaxWorkers?: number;
528
591
  /**
529
- * <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>
530
593
  */
531
594
  NetworkConfiguration?: NetworkConfiguration;
532
595
  /**
@@ -542,11 +605,11 @@ export interface Environment {
542
605
  */
543
606
  WeeklyMaintenanceWindowStart?: string;
544
607
  /**
545
- * <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>
546
609
  */
547
610
  Tags?: Record<string, string>;
548
611
  /**
549
- * <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>
550
613
  */
551
614
  WebserverAccessMode?: WebserverAccessMode | string;
552
615
  /**
@@ -607,7 +670,7 @@ export interface ListTagsForResourceInput {
607
670
  */
608
671
  export interface ListTagsForResourceOutput {
609
672
  /**
610
- * <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>
611
674
  */
612
675
  Tags?: Record<string, string>;
613
676
  }
@@ -758,7 +821,7 @@ export interface TagResourceInput {
758
821
  */
759
822
  ResourceArn: string | undefined;
760
823
  /**
761
- * <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>
762
825
  */
763
826
  Tags: Record<string, string> | undefined;
764
827
  }
@@ -787,11 +850,11 @@ export interface UntagResourceOutput {
787
850
  }
788
851
  /**
789
852
  * @public
790
- * <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>
791
854
  */
792
855
  export interface UpdateNetworkConfigurationInput {
793
856
  /**
794
- * <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>
795
858
  */
796
859
  SecurityGroupIds: string[] | undefined;
797
860
  }
@@ -804,7 +867,7 @@ export interface UpdateEnvironmentInput {
804
867
  */
805
868
  Name: string | undefined;
806
869
  /**
807
- * <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>
808
871
  */
809
872
  ExecutionRoleArn?: string;
810
873
  /**
@@ -813,35 +876,60 @@ export interface UpdateEnvironmentInput {
813
876
  */
814
877
  AirflowVersion?: string;
815
878
  /**
816
- * <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>
817
880
  */
818
881
  SourceBucketArn?: string;
819
882
  /**
820
- * <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>
821
884
  */
822
885
  DagS3Path?: string;
823
886
  /**
824
- * <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>
825
888
  */
826
889
  PluginsS3Path?: string;
827
890
  /**
828
- * <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>
829
892
  */
830
893
  PluginsS3ObjectVersion?: string;
831
894
  /**
832
- * <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>
833
896
  */
834
897
  RequirementsS3Path?: string;
835
898
  /**
836
- * <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>
837
900
  */
838
901
  RequirementsS3ObjectVersion?: string;
839
902
  /**
840
- * <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>
841
929
  */
842
930
  AirflowConfigurationOptions?: Record<string, string>;
843
931
  /**
844
- * <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>
845
933
  */
846
934
  EnvironmentClass?: string;
847
935
  /**
@@ -849,7 +937,7 @@ export interface UpdateEnvironmentInput {
849
937
  */
850
938
  MaxWorkers?: number;
851
939
  /**
852
- * <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>
853
941
  */
854
942
  NetworkConfiguration?: UpdateNetworkConfigurationInput;
855
943
  /**
@@ -861,7 +949,7 @@ export interface UpdateEnvironmentInput {
861
949
  */
862
950
  WeeklyMaintenanceWindowStart?: string;
863
951
  /**
864
- * <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>
865
953
  */
866
954
  WebserverAccessMode?: WebserverAccessMode | string;
867
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;
@@ -61,6 +61,8 @@ export interface CreateEnvironmentInput {
61
61
  PluginsS3ObjectVersion?: string;
62
62
  RequirementsS3Path?: string;
63
63
  RequirementsS3ObjectVersion?: string;
64
+ StartupScriptS3Path?: string;
65
+ StartupScriptS3ObjectVersion?: string;
64
66
  AirflowConfigurationOptions?: Record<string, string>;
65
67
  EnvironmentClass?: string;
66
68
  MaxWorkers?: number;
@@ -160,6 +162,8 @@ export interface Environment {
160
162
  PluginsS3ObjectVersion?: string;
161
163
  RequirementsS3Path?: string;
162
164
  RequirementsS3ObjectVersion?: string;
165
+ StartupScriptS3Path?: string;
166
+ StartupScriptS3ObjectVersion?: string;
163
167
  AirflowConfigurationOptions?: Record<string, string>;
164
168
  EnvironmentClass?: string;
165
169
  MaxWorkers?: number;
@@ -265,6 +269,8 @@ export interface UpdateEnvironmentInput {
265
269
  PluginsS3ObjectVersion?: string;
266
270
  RequirementsS3Path?: string;
267
271
  RequirementsS3ObjectVersion?: string;
272
+ StartupScriptS3Path?: string;
273
+ StartupScriptS3ObjectVersion?: string;
268
274
  AirflowConfigurationOptions?: Record<string, string>;
269
275
  EnvironmentClass?: string;
270
276
  MaxWorkers?: number;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-mwaa",
3
3
  "description": "AWS SDK for JavaScript Mwaa Client for Node.js, Browser and React Native",
4
- "version": "3.303.0",
4
+ "version": "3.306.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,37 +21,37 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.303.0",
25
- "@aws-sdk/config-resolver": "3.303.0",
26
- "@aws-sdk/credential-provider-node": "3.303.0",
27
- "@aws-sdk/fetch-http-handler": "3.303.0",
28
- "@aws-sdk/hash-node": "3.303.0",
29
- "@aws-sdk/invalid-dependency": "3.303.0",
30
- "@aws-sdk/middleware-content-length": "3.303.0",
31
- "@aws-sdk/middleware-endpoint": "3.303.0",
32
- "@aws-sdk/middleware-host-header": "3.303.0",
33
- "@aws-sdk/middleware-logger": "3.303.0",
34
- "@aws-sdk/middleware-recursion-detection": "3.303.0",
35
- "@aws-sdk/middleware-retry": "3.303.0",
36
- "@aws-sdk/middleware-serde": "3.303.0",
37
- "@aws-sdk/middleware-signing": "3.303.0",
38
- "@aws-sdk/middleware-stack": "3.303.0",
39
- "@aws-sdk/middleware-user-agent": "3.303.0",
40
- "@aws-sdk/node-config-provider": "3.303.0",
41
- "@aws-sdk/node-http-handler": "3.303.0",
42
- "@aws-sdk/protocol-http": "3.303.0",
43
- "@aws-sdk/smithy-client": "3.303.0",
44
- "@aws-sdk/types": "3.303.0",
45
- "@aws-sdk/url-parser": "3.303.0",
24
+ "@aws-sdk/client-sts": "3.306.0",
25
+ "@aws-sdk/config-resolver": "3.306.0",
26
+ "@aws-sdk/credential-provider-node": "3.306.0",
27
+ "@aws-sdk/fetch-http-handler": "3.306.0",
28
+ "@aws-sdk/hash-node": "3.306.0",
29
+ "@aws-sdk/invalid-dependency": "3.306.0",
30
+ "@aws-sdk/middleware-content-length": "3.306.0",
31
+ "@aws-sdk/middleware-endpoint": "3.306.0",
32
+ "@aws-sdk/middleware-host-header": "3.306.0",
33
+ "@aws-sdk/middleware-logger": "3.306.0",
34
+ "@aws-sdk/middleware-recursion-detection": "3.306.0",
35
+ "@aws-sdk/middleware-retry": "3.306.0",
36
+ "@aws-sdk/middleware-serde": "3.306.0",
37
+ "@aws-sdk/middleware-signing": "3.306.0",
38
+ "@aws-sdk/middleware-stack": "3.306.0",
39
+ "@aws-sdk/middleware-user-agent": "3.306.0",
40
+ "@aws-sdk/node-config-provider": "3.306.0",
41
+ "@aws-sdk/node-http-handler": "3.306.0",
42
+ "@aws-sdk/protocol-http": "3.306.0",
43
+ "@aws-sdk/smithy-client": "3.306.0",
44
+ "@aws-sdk/types": "3.306.0",
45
+ "@aws-sdk/url-parser": "3.306.0",
46
46
  "@aws-sdk/util-base64": "3.303.0",
47
47
  "@aws-sdk/util-body-length-browser": "3.303.0",
48
48
  "@aws-sdk/util-body-length-node": "3.303.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.303.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.303.0",
51
- "@aws-sdk/util-endpoints": "3.303.0",
52
- "@aws-sdk/util-retry": "3.303.0",
53
- "@aws-sdk/util-user-agent-browser": "3.303.0",
54
- "@aws-sdk/util-user-agent-node": "3.303.0",
49
+ "@aws-sdk/util-defaults-mode-browser": "3.306.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.306.0",
51
+ "@aws-sdk/util-endpoints": "3.306.0",
52
+ "@aws-sdk/util-retry": "3.306.0",
53
+ "@aws-sdk/util-user-agent-browser": "3.306.0",
54
+ "@aws-sdk/util-user-agent-node": "3.306.0",
55
55
  "@aws-sdk/util-utf8": "3.303.0",
56
56
  "tslib": "^2.5.0"
57
57
  },