@aws-sdk/client-mwaa 3.576.0 → 3.578.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.
- package/dist-cjs/index.js +6 -0
- package/dist-es/protocols/Aws_restJson1.js +6 -0
- package/dist-types/commands/CreateEnvironmentCommand.d.ts +2 -0
- package/dist-types/commands/GetEnvironmentCommand.d.ts +2 -0
- package/dist-types/commands/UpdateEnvironmentCommand.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +82 -7
- package/dist-types/ts3.4/models/models_0.d.ts +6 -0
- package/package.json +13 -13
package/dist-cjs/index.js
CHANGED
|
@@ -423,7 +423,9 @@ var se_CreateEnvironmentCommand = /* @__PURE__ */ __name(async (input, context)
|
|
|
423
423
|
ExecutionRoleArn: [],
|
|
424
424
|
KmsKey: [],
|
|
425
425
|
LoggingConfiguration: (_) => (0, import_smithy_client._json)(_),
|
|
426
|
+
MaxWebservers: [],
|
|
426
427
|
MaxWorkers: [],
|
|
428
|
+
MinWebservers: [],
|
|
427
429
|
MinWorkers: [],
|
|
428
430
|
NetworkConfiguration: (_) => (0, import_smithy_client._json)(_),
|
|
429
431
|
PluginsS3ObjectVersion: [],
|
|
@@ -625,7 +627,9 @@ var se_UpdateEnvironmentCommand = /* @__PURE__ */ __name(async (input, context)
|
|
|
625
627
|
EnvironmentClass: [],
|
|
626
628
|
ExecutionRoleArn: [],
|
|
627
629
|
LoggingConfiguration: (_) => (0, import_smithy_client._json)(_),
|
|
630
|
+
MaxWebservers: [],
|
|
628
631
|
MaxWorkers: [],
|
|
632
|
+
MinWebservers: [],
|
|
629
633
|
MinWorkers: [],
|
|
630
634
|
NetworkConfiguration: (_) => (0, import_smithy_client._json)(_),
|
|
631
635
|
PluginsS3ObjectVersion: [],
|
|
@@ -913,7 +917,9 @@ var de_Environment = /* @__PURE__ */ __name((output, context) => {
|
|
|
913
917
|
KmsKey: import_smithy_client.expectString,
|
|
914
918
|
LastUpdate: (_) => de_LastUpdate(_, context),
|
|
915
919
|
LoggingConfiguration: import_smithy_client._json,
|
|
920
|
+
MaxWebservers: import_smithy_client.expectInt32,
|
|
916
921
|
MaxWorkers: import_smithy_client.expectInt32,
|
|
922
|
+
MinWebservers: import_smithy_client.expectInt32,
|
|
917
923
|
MinWorkers: import_smithy_client.expectInt32,
|
|
918
924
|
Name: import_smithy_client.expectString,
|
|
919
925
|
NetworkConfiguration: import_smithy_client._json,
|
|
@@ -38,7 +38,9 @@ export const se_CreateEnvironmentCommand = async (input, context) => {
|
|
|
38
38
|
ExecutionRoleArn: [],
|
|
39
39
|
KmsKey: [],
|
|
40
40
|
LoggingConfiguration: (_) => _json(_),
|
|
41
|
+
MaxWebservers: [],
|
|
41
42
|
MaxWorkers: [],
|
|
43
|
+
MinWebservers: [],
|
|
42
44
|
MinWorkers: [],
|
|
43
45
|
NetworkConfiguration: (_) => _json(_),
|
|
44
46
|
PluginsS3ObjectVersion: [],
|
|
@@ -234,7 +236,9 @@ export const se_UpdateEnvironmentCommand = async (input, context) => {
|
|
|
234
236
|
EnvironmentClass: [],
|
|
235
237
|
ExecutionRoleArn: [],
|
|
236
238
|
LoggingConfiguration: (_) => _json(_),
|
|
239
|
+
MaxWebservers: [],
|
|
237
240
|
MaxWorkers: [],
|
|
241
|
+
MinWebservers: [],
|
|
238
242
|
MinWorkers: [],
|
|
239
243
|
NetworkConfiguration: (_) => _json(_),
|
|
240
244
|
PluginsS3ObjectVersion: [],
|
|
@@ -523,7 +527,9 @@ const de_Environment = (output, context) => {
|
|
|
523
527
|
KmsKey: __expectString,
|
|
524
528
|
LastUpdate: (_) => de_LastUpdate(_, context),
|
|
525
529
|
LoggingConfiguration: _json,
|
|
530
|
+
MaxWebservers: __expectInt32,
|
|
526
531
|
MaxWorkers: __expectInt32,
|
|
532
|
+
MinWebservers: __expectInt32,
|
|
527
533
|
MinWorkers: __expectInt32,
|
|
528
534
|
Name: __expectString,
|
|
529
535
|
NetworkConfiguration: _json,
|
|
@@ -89,6 +89,8 @@ declare const CreateEnvironmentCommand_base: {
|
|
|
89
89
|
* MinWorkers: Number("int"),
|
|
90
90
|
* Schedulers: Number("int"),
|
|
91
91
|
* EndpointManagement: "STRING_VALUE",
|
|
92
|
+
* MinWebservers: Number("int"),
|
|
93
|
+
* MaxWebservers: Number("int"),
|
|
92
94
|
* };
|
|
93
95
|
* const command = new CreateEnvironmentCommand(input);
|
|
94
96
|
* const response = await client.send(command);
|
|
@@ -117,6 +117,8 @@ declare const GetEnvironmentCommand_base: {
|
|
|
117
117
|
* // DatabaseVpcEndpointService: "STRING_VALUE",
|
|
118
118
|
* // CeleryExecutorQueue: "STRING_VALUE",
|
|
119
119
|
* // EndpointManagement: "STRING_VALUE",
|
|
120
|
+
* // MinWebservers: Number("int"),
|
|
121
|
+
* // MaxWebservers: Number("int"),
|
|
120
122
|
* // },
|
|
121
123
|
* // };
|
|
122
124
|
*
|
|
@@ -81,6 +81,8 @@ declare const UpdateEnvironmentCommand_base: {
|
|
|
81
81
|
* WebserverAccessMode: "STRING_VALUE",
|
|
82
82
|
* MinWorkers: Number("int"),
|
|
83
83
|
* Schedulers: Number("int"),
|
|
84
|
+
* MinWebservers: Number("int"),
|
|
85
|
+
* MaxWebservers: Number("int"),
|
|
84
86
|
* };
|
|
85
87
|
* const command = new UpdateEnvironmentCommand(input);
|
|
86
88
|
* const response = await client.send(command);
|
|
@@ -234,7 +234,7 @@ export interface CreateEnvironmentInput {
|
|
|
234
234
|
*/
|
|
235
235
|
AirflowConfigurationOptions?: Record<string, string>;
|
|
236
236
|
/**
|
|
237
|
-
* <p>The environment class type. Valid values: <code>mw1.small</code>, <code>mw1.medium</code>, <code>mw1.large</code>. For more information, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/environment-class.html">Amazon MWAA environment class</a>.</p>
|
|
237
|
+
* <p>The environment class type. Valid values: <code>mw1.small</code>, <code>mw1.medium</code>, <code>mw1.large</code>, <code>mw1.xlarge</code>, and <code>mw1.2xlarge</code>. For more information, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/environment-class.html">Amazon MWAA environment class</a>.</p>
|
|
238
238
|
* @public
|
|
239
239
|
*/
|
|
240
240
|
EnvironmentClass?: string;
|
|
@@ -286,10 +286,10 @@ export interface CreateEnvironmentInput {
|
|
|
286
286
|
* <p>The number of Apache Airflow schedulers to run in your environment. Valid values:</p>
|
|
287
287
|
* <ul>
|
|
288
288
|
* <li>
|
|
289
|
-
* <p>v2 - Accepts between 2 to 5
|
|
289
|
+
* <p>v2 - Accepts between <code>2</code> to <code>5</code>. Defaults to <code>2</code>.</p>
|
|
290
290
|
* </li>
|
|
291
291
|
* <li>
|
|
292
|
-
* <p>v1 - Accepts 1
|
|
292
|
+
* <p>v1 - Accepts <code>1</code>.</p>
|
|
293
293
|
* </li>
|
|
294
294
|
* </ul>
|
|
295
295
|
* @public
|
|
@@ -303,6 +303,31 @@ export interface CreateEnvironmentInput {
|
|
|
303
303
|
* @public
|
|
304
304
|
*/
|
|
305
305
|
EndpointManagement?: EndpointManagement;
|
|
306
|
+
/**
|
|
307
|
+
* <p>
|
|
308
|
+
* The minimum number of web servers that you want to run in your environment.
|
|
309
|
+
* Amazon MWAA scales the number of Apache Airflow web servers up to the number you specify for <code>MaxWebservers</code>
|
|
310
|
+
* when you interact with your Apache Airflow environment using Apache Airflow REST API, or
|
|
311
|
+
* the Apache Airflow CLI. As the transaction-per-second rate, and the network load, decrease,
|
|
312
|
+
* Amazon MWAA disposes of the additional web servers, and scales down to the number set in <code>MinxWebserers</code>.
|
|
313
|
+
* </p>
|
|
314
|
+
* <p>Valid values: Accepts between <code>2</code> and <code>5</code>. Defaults to <code>2</code>.</p>
|
|
315
|
+
* @public
|
|
316
|
+
*/
|
|
317
|
+
MinWebservers?: number;
|
|
318
|
+
/**
|
|
319
|
+
* <p>
|
|
320
|
+
* The maximum number of web servers that you want to run in your environment.
|
|
321
|
+
* Amazon MWAA scales the number of Apache Airflow web servers up to the number you specify for <code>MaxWebservers</code>
|
|
322
|
+
* when you interact with your Apache Airflow environment using Apache Airflow REST API, or
|
|
323
|
+
* the Apache Airflow CLI. For example, in scenarios where your workload requires network calls to the Apache Airflow REST API with a high transaction-per-second (TPS)
|
|
324
|
+
* rate, Amazon MWAA will increase the number of web servers up to the number set in <code>MaxWebserers</code>. As TPS rates decrease
|
|
325
|
+
* Amazon MWAA disposes of the additional web servers, and scales down to the number set in <code>MinxWebserers</code>.
|
|
326
|
+
* </p>
|
|
327
|
+
* <p>Valid values: Accepts between <code>2</code> and <code>5</code>. Defaults to <code>2</code>.</p>
|
|
328
|
+
* @public
|
|
329
|
+
*/
|
|
330
|
+
MaxWebservers?: number;
|
|
306
331
|
}
|
|
307
332
|
/**
|
|
308
333
|
* @public
|
|
@@ -631,7 +656,7 @@ export interface Environment {
|
|
|
631
656
|
KmsKey?: string;
|
|
632
657
|
/**
|
|
633
658
|
* <p>The Apache Airflow version on your environment.</p>
|
|
634
|
-
* <p>Valid values: <code>1.10.12</code>, <code>2.0.2</code>, <code>2.2.2</code>, <code>2.4.3</code>, <code>2.5.1</code>, <code>2.6.3</code>, <code>2.7.2</code>.</p>
|
|
659
|
+
* <p>Valid values: <code>1.10.12</code>, <code>2.0.2</code>, <code>2.2.2</code>, <code>2.4.3</code>, <code>2.5.1</code>, <code>2.6.3</code>, <code>2.7.2</code>, <code>2.8.1</code>.</p>
|
|
635
660
|
* @public
|
|
636
661
|
*/
|
|
637
662
|
AirflowVersion?: string;
|
|
@@ -712,7 +737,7 @@ export interface Environment {
|
|
|
712
737
|
*/
|
|
713
738
|
AirflowConfigurationOptions?: Record<string, string>;
|
|
714
739
|
/**
|
|
715
|
-
* <p>The environment class type. Valid values: <code>mw1.small</code>, <code>mw1.medium</code>, <code>mw1.large</code>. For more information, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/environment-class.html">Amazon MWAA environment class</a>.</p>
|
|
740
|
+
* <p>The environment class type. Valid values: <code>mw1.small</code>, <code>mw1.medium</code>, <code>mw1.large</code>, <code>mw1.xlarge</code>, and <code>mw1.2xlarge</code>. For more information, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/environment-class.html">Amazon MWAA environment class</a>.</p>
|
|
716
741
|
* @public
|
|
717
742
|
*/
|
|
718
743
|
EnvironmentClass?: string;
|
|
@@ -783,6 +808,31 @@ export interface Environment {
|
|
|
783
808
|
* @public
|
|
784
809
|
*/
|
|
785
810
|
EndpointManagement?: EndpointManagement;
|
|
811
|
+
/**
|
|
812
|
+
* <p>
|
|
813
|
+
* The minimum number of web servers that you want to run in your environment.
|
|
814
|
+
* Amazon MWAA scales the number of Apache Airflow web servers up to the number you specify for <code>MaxWebservers</code>
|
|
815
|
+
* when you interact with your Apache Airflow environment using Apache Airflow REST API, or
|
|
816
|
+
* the Apache Airflow CLI. As the transaction-per-second rate, and the network load, decrease,
|
|
817
|
+
* Amazon MWAA disposes of the additional web servers, and scales down to the number set in <code>MinxWebserers</code>.
|
|
818
|
+
* </p>
|
|
819
|
+
* <p>Valid values: Accepts between <code>2</code> and <code>5</code>. Defaults to <code>2</code>.</p>
|
|
820
|
+
* @public
|
|
821
|
+
*/
|
|
822
|
+
MinWebservers?: number;
|
|
823
|
+
/**
|
|
824
|
+
* <p>
|
|
825
|
+
* The maximum number of web servers that you want to run in your environment.
|
|
826
|
+
* Amazon MWAA scales the number of Apache Airflow web servers up to the number you specify for <code>MaxWebservers</code>
|
|
827
|
+
* when you interact with your Apache Airflow environment using Apache Airflow REST API, or
|
|
828
|
+
* the Apache Airflow CLI. For example, in scenarios where your workload requires network calls to the Apache Airflow REST API with a high transaction-per-second (TPS)
|
|
829
|
+
* rate, Amazon MWAA will increase the number of web servers up to the number set in <code>MaxWebserers</code>. As TPS rates decrease
|
|
830
|
+
* Amazon MWAA disposes of the additional web servers, and scales down to the number set in <code>MinxWebserers</code>.
|
|
831
|
+
* </p>
|
|
832
|
+
* <p>Valid values: Accepts between <code>2</code> and <code>5</code>. Defaults to <code>2</code>.</p>
|
|
833
|
+
* @public
|
|
834
|
+
*/
|
|
835
|
+
MaxWebservers?: number;
|
|
786
836
|
}
|
|
787
837
|
/**
|
|
788
838
|
* @public
|
|
@@ -1077,7 +1127,7 @@ export interface UpdateEnvironmentInput {
|
|
|
1077
1127
|
* <p>The Apache Airflow version for your environment. To upgrade your environment, specify a newer version of Apache Airflow supported by Amazon MWAA.</p>
|
|
1078
1128
|
* <p>Before you upgrade an environment, make sure your requirements, DAGs, plugins, and other resources used in your workflows are compatible with the new Apache Airflow version. For more information about updating
|
|
1079
1129
|
* your resources, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/upgrading-environment.html">Upgrading an Amazon MWAA environment</a>.</p>
|
|
1080
|
-
* <p>Valid values: <code>1.10.12</code>, <code>2.0.2</code>, <code>2.2.2</code>, <code>2.4.3</code>, <code>2.5.1</code>, <code>2.6.3</code>, <code>2.7.2</code>.</p>
|
|
1130
|
+
* <p>Valid values: <code>1.10.12</code>, <code>2.0.2</code>, <code>2.2.2</code>, <code>2.4.3</code>, <code>2.5.1</code>, <code>2.6.3</code>, <code>2.7.2</code>, <code>2.8.1</code>.</p>
|
|
1081
1131
|
* @public
|
|
1082
1132
|
*/
|
|
1083
1133
|
AirflowVersion?: string;
|
|
@@ -1144,7 +1194,7 @@ export interface UpdateEnvironmentInput {
|
|
|
1144
1194
|
*/
|
|
1145
1195
|
AirflowConfigurationOptions?: Record<string, string>;
|
|
1146
1196
|
/**
|
|
1147
|
-
* <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>
|
|
1197
|
+
* <p>The environment class type. Valid values: <code>mw1.small</code>, <code>mw1.medium</code>, <code>mw1.large</code>, <code>mw1.xlarge</code>, and <code>mw1.2xlarge</code>. For more information, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/environment-class.html">Amazon MWAA environment class</a>.</p>
|
|
1148
1198
|
* @public
|
|
1149
1199
|
*/
|
|
1150
1200
|
EnvironmentClass?: string;
|
|
@@ -1183,6 +1233,31 @@ export interface UpdateEnvironmentInput {
|
|
|
1183
1233
|
* @public
|
|
1184
1234
|
*/
|
|
1185
1235
|
Schedulers?: number;
|
|
1236
|
+
/**
|
|
1237
|
+
* <p>
|
|
1238
|
+
* The minimum number of web servers that you want to run in your environment.
|
|
1239
|
+
* Amazon MWAA scales the number of Apache Airflow web servers up to the number you specify for <code>MaxWebservers</code>
|
|
1240
|
+
* when you interact with your Apache Airflow environment using Apache Airflow REST API, or
|
|
1241
|
+
* the Apache Airflow CLI. As the transaction-per-second rate, and the network load, decrease,
|
|
1242
|
+
* Amazon MWAA disposes of the additional web servers, and scales down to the number set in <code>MinxWebserers</code>.
|
|
1243
|
+
* </p>
|
|
1244
|
+
* <p>Valid values: Accepts between <code>2</code> and <code>5</code>. Defaults to <code>2</code>.</p>
|
|
1245
|
+
* @public
|
|
1246
|
+
*/
|
|
1247
|
+
MinWebservers?: number;
|
|
1248
|
+
/**
|
|
1249
|
+
* <p>
|
|
1250
|
+
* The maximum number of web servers that you want to run in your environment.
|
|
1251
|
+
* Amazon MWAA scales the number of Apache Airflow web servers up to the number you specify for <code>MaxWebservers</code>
|
|
1252
|
+
* when you interact with your Apache Airflow environment using Apache Airflow REST API, or
|
|
1253
|
+
* the Apache Airflow CLI. For example, in scenarios where your workload requires network calls to the Apache Airflow REST API with a high transaction-per-second (TPS)
|
|
1254
|
+
* rate, Amazon MWAA will increase the number of web servers up to the number set in <code>MaxWebserers</code>. As TPS rates decrease
|
|
1255
|
+
* Amazon MWAA disposes of the additional web servers, and scales down to the number set in <code>MinxWebserers</code>.
|
|
1256
|
+
* </p>
|
|
1257
|
+
* <p>Valid values: Accepts between <code>2</code> and <code>5</code>. Defaults to <code>2</code>.</p>
|
|
1258
|
+
* @public
|
|
1259
|
+
*/
|
|
1260
|
+
MaxWebservers?: number;
|
|
1186
1261
|
}
|
|
1187
1262
|
/**
|
|
1188
1263
|
* @public
|
|
@@ -81,6 +81,8 @@ export interface CreateEnvironmentInput {
|
|
|
81
81
|
MinWorkers?: number;
|
|
82
82
|
Schedulers?: number;
|
|
83
83
|
EndpointManagement?: EndpointManagement;
|
|
84
|
+
MinWebservers?: number;
|
|
85
|
+
MaxWebservers?: number;
|
|
84
86
|
}
|
|
85
87
|
export interface CreateEnvironmentOutput {
|
|
86
88
|
Arn?: string;
|
|
@@ -192,6 +194,8 @@ export interface Environment {
|
|
|
192
194
|
DatabaseVpcEndpointService?: string;
|
|
193
195
|
CeleryExecutorQueue?: string;
|
|
194
196
|
EndpointManagement?: EndpointManagement;
|
|
197
|
+
MinWebservers?: number;
|
|
198
|
+
MaxWebservers?: number;
|
|
195
199
|
}
|
|
196
200
|
export interface GetEnvironmentOutput {
|
|
197
201
|
Environment?: Environment;
|
|
@@ -297,6 +301,8 @@ export interface UpdateEnvironmentInput {
|
|
|
297
301
|
WebserverAccessMode?: WebserverAccessMode;
|
|
298
302
|
MinWorkers?: number;
|
|
299
303
|
Schedulers?: number;
|
|
304
|
+
MinWebservers?: number;
|
|
305
|
+
MaxWebservers?: number;
|
|
300
306
|
}
|
|
301
307
|
export interface UpdateEnvironmentOutput {
|
|
302
308
|
Arn?: string;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-mwaa",
|
|
3
3
|
"description": "AWS SDK for JavaScript Mwaa Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.578.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-mwaa",
|
|
@@ -20,19 +20,19 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.577.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.577.0",
|
|
25
25
|
"@aws-sdk/core": "3.576.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
28
|
-
"@aws-sdk/middleware-logger": "3.
|
|
29
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
32
|
-
"@aws-sdk/types": "3.
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.577.0",
|
|
27
|
+
"@aws-sdk/middleware-host-header": "3.577.0",
|
|
28
|
+
"@aws-sdk/middleware-logger": "3.577.0",
|
|
29
|
+
"@aws-sdk/middleware-recursion-detection": "3.577.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.577.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.577.0",
|
|
32
|
+
"@aws-sdk/types": "3.577.0",
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.577.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.577.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.577.0",
|
|
36
36
|
"@smithy/config-resolver": "^3.0.0",
|
|
37
37
|
"@smithy/core": "^2.0.0",
|
|
38
38
|
"@smithy/fetch-http-handler": "^3.0.0",
|