@aws-sdk/client-mwaa 3.45.0 → 3.46.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/CHANGELOG.md CHANGED
@@ -3,6 +3,24 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.46.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.45.0...v3.46.0) (2022-01-07)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **clients:** update clean:dist script to delete dist-* folder ([#3155](https://github.com/aws/aws-sdk-js-v3/issues/3155)) ([cdb1709](https://github.com/aws/aws-sdk-js-v3/commit/cdb17090f82d1fc8755811c82cbed5976ec7e60b))
12
+
13
+
14
+ ### Features
15
+
16
+ * **clients:** extend typedoc.json from root ([#3136](https://github.com/aws/aws-sdk-js-v3/issues/3136)) ([f6a3ef5](https://github.com/aws/aws-sdk-js-v3/commit/f6a3ef541ae2d92872d09d8cab6727911287ebb2))
17
+ * **clients:** update clients as of 2021/01/07 ([#3163](https://github.com/aws/aws-sdk-js-v3/issues/3163)) ([6648b07](https://github.com/aws/aws-sdk-js-v3/commit/6648b07ea97691d2fed55eab49831646543b648b))
18
+ * end support for Node.js 10.x ([#3122](https://github.com/aws/aws-sdk-js-v3/issues/3122)) ([7acf18a](https://github.com/aws/aws-sdk-js-v3/commit/7acf18abd3fb1cc461f809110cdb0d7968c2070e))
19
+
20
+
21
+
22
+
23
+
6
24
  # [3.45.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.44.0...v3.45.0) (2021-12-23)
7
25
 
8
26
 
package/README.md CHANGED
@@ -11,6 +11,90 @@ AWS SDK for JavaScript MWAA Client for Node.js, Browser and React Native.
11
11
 
12
12
  <p>This section contains the Amazon Managed Workflows for Apache Airflow (MWAA) API reference documentation. For more information, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/what-is-mwaa.html">What Is Amazon MWAA?</a>.</p>
13
13
 
14
+ <p>
15
+ <b>Endpoints</b>
16
+ </p>
17
+ <ul>
18
+ <li>
19
+ <p>
20
+ <code>api.airflow.{region}.amazonaws.com</code> - This endpoint is used for environment management.</p>
21
+ <ul>
22
+ <li>
23
+ <p>
24
+ <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_CreateEnvironment.html">CreateEnvironment</a>
25
+ </p>
26
+ </li>
27
+ <li>
28
+ <p>
29
+ <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_DeleteEnvironment.html">DeleteEnvironment</a>
30
+ </p>
31
+ </li>
32
+ <li>
33
+ <p>
34
+ <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_GetEnvironment.html">GetEnvironment</a>
35
+ </p>
36
+ </li>
37
+ <li>
38
+ <p>
39
+ <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_ListEnvironments.html">ListEnvironments</a>
40
+ </p>
41
+ </li>
42
+ <li>
43
+ <p>
44
+ <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_ListTagsForResource.html">ListTagsForResource</a>
45
+ </p>
46
+ </li>
47
+ <li>
48
+ <p>
49
+ <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_TagResource.html">TagResource</a>
50
+ </p>
51
+ </li>
52
+ <li>
53
+ <p>
54
+ <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_UntagResource.html">UntagResource</a>
55
+ </p>
56
+ </li>
57
+ <li>
58
+ <p>
59
+ <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_UpdateEnvironment.html">UpdateEnvironment</a>
60
+ </p>
61
+ </li>
62
+ </ul>
63
+ </li>
64
+ <li>
65
+ <p>
66
+ <code>env.airflow.{region}.amazonaws.com</code> - This endpoint is used to operate the Airflow environment.</p>
67
+ <ul>
68
+ <li>
69
+ <p>
70
+ <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_CreateCliToken.html ">CreateCliToken</a>
71
+ </p>
72
+ </li>
73
+ <li>
74
+ <p>
75
+ <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_CreateWebLoginToken.html">CreateWebLoginToken</a>
76
+ </p>
77
+ </li>
78
+ </ul>
79
+ </li>
80
+ <li>
81
+ <p>
82
+ <code>ops.airflow.{region}.amazonaws.com</code> - This endpoint is used to push environment metrics that track environment health.</p>
83
+ <ul>
84
+ <li>
85
+ <p>
86
+ <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_PublishMetrics.html ">PublishMetrics</a>
87
+ </p>
88
+ </li>
89
+ </ul>
90
+ </li>
91
+ </ul>
92
+
93
+ <p>
94
+ <b>Regions</b>
95
+ </p>
96
+ <p>For a list of regions that Amazon MWAA supports, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/what-is-mwaa.html#regions-mwaa">Region availability</a> in the <i>Amazon MWAA User Guide</i>.</p>
97
+
14
98
  ## Installing
15
99
 
16
100
  To install the this package, simply type add or install @aws-sdk/client-mwaa
@@ -1390,6 +1390,7 @@ const deserializeAws_restJson1LastUpdate = (output, context) => {
1390
1390
  Error: output.Error !== undefined && output.Error !== null
1391
1391
  ? deserializeAws_restJson1UpdateError(output.Error, context)
1392
1392
  : undefined,
1393
+ Source: smithy_client_1.expectString(output.Source),
1393
1394
  Status: smithy_client_1.expectString(output.Status),
1394
1395
  };
1395
1396
  };
@@ -15,10 +15,8 @@ const util_body_length_node_1 = require("@aws-sdk/util-body-length-node");
15
15
  const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
16
16
  const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
17
17
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
18
- const smithy_client_1 = require("@aws-sdk/smithy-client");
19
18
  const getRuntimeConfig = (config) => {
20
19
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
21
- smithy_client_1.emitWarningIfUnsupportedVersion(process.version);
22
20
  const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
23
21
  return {
24
22
  ...clientSharedValues,
@@ -1544,6 +1544,7 @@ var deserializeAws_restJson1LastUpdate = function (output, context) {
1544
1544
  Error: output.Error !== undefined && output.Error !== null
1545
1545
  ? deserializeAws_restJson1UpdateError(output.Error, context)
1546
1546
  : undefined,
1547
+ Source: __expectString(output.Source),
1547
1548
  Status: __expectString(output.Status),
1548
1549
  };
1549
1550
  };
@@ -12,10 +12,8 @@ import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
12
12
  import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
13
13
  import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
14
14
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
15
- import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
16
15
  export var getRuntimeConfig = function (config) {
17
16
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
18
- emitWarningIfUnsupportedVersion(process.version);
19
17
  var clientSharedValues = getSharedRuntimeConfig(config);
20
18
  return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new NodeHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(NODE_RETRY_MODE_CONFIG_OPTIONS), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
21
19
  };
@@ -14,10 +14,94 @@ import { MWAAClient } from "./MWAAClient";
14
14
  /**
15
15
  * <fullname>Amazon Managed Workflows for Apache Airflow</fullname>
16
16
  * <p>This section contains the Amazon Managed Workflows for Apache Airflow (MWAA) API reference documentation. For more information, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/what-is-mwaa.html">What Is Amazon MWAA?</a>.</p>
17
+ *
18
+ * <p>
19
+ * <b>Endpoints</b>
20
+ * </p>
21
+ * <ul>
22
+ * <li>
23
+ * <p>
24
+ * <code>api.airflow.{region}.amazonaws.com</code> - This endpoint is used for environment management.</p>
25
+ * <ul>
26
+ * <li>
27
+ * <p>
28
+ * <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_CreateEnvironment.html">CreateEnvironment</a>
29
+ * </p>
30
+ * </li>
31
+ * <li>
32
+ * <p>
33
+ * <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_DeleteEnvironment.html">DeleteEnvironment</a>
34
+ * </p>
35
+ * </li>
36
+ * <li>
37
+ * <p>
38
+ * <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_GetEnvironment.html">GetEnvironment</a>
39
+ * </p>
40
+ * </li>
41
+ * <li>
42
+ * <p>
43
+ * <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_ListEnvironments.html">ListEnvironments</a>
44
+ * </p>
45
+ * </li>
46
+ * <li>
47
+ * <p>
48
+ * <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_ListTagsForResource.html">ListTagsForResource</a>
49
+ * </p>
50
+ * </li>
51
+ * <li>
52
+ * <p>
53
+ * <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_TagResource.html">TagResource</a>
54
+ * </p>
55
+ * </li>
56
+ * <li>
57
+ * <p>
58
+ * <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_UntagResource.html">UntagResource</a>
59
+ * </p>
60
+ * </li>
61
+ * <li>
62
+ * <p>
63
+ * <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_UpdateEnvironment.html">UpdateEnvironment</a>
64
+ * </p>
65
+ * </li>
66
+ * </ul>
67
+ * </li>
68
+ * <li>
69
+ * <p>
70
+ * <code>env.airflow.{region}.amazonaws.com</code> - This endpoint is used to operate the Airflow environment.</p>
71
+ * <ul>
72
+ * <li>
73
+ * <p>
74
+ * <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_CreateCliToken.html ">CreateCliToken</a>
75
+ * </p>
76
+ * </li>
77
+ * <li>
78
+ * <p>
79
+ * <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_CreateWebLoginToken.html">CreateWebLoginToken</a>
80
+ * </p>
81
+ * </li>
82
+ * </ul>
83
+ * </li>
84
+ * <li>
85
+ * <p>
86
+ * <code>ops.airflow.{region}.amazonaws.com</code> - This endpoint is used to push environment metrics that track environment health.</p>
87
+ * <ul>
88
+ * <li>
89
+ * <p>
90
+ * <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_PublishMetrics.html ">PublishMetrics</a>
91
+ * </p>
92
+ * </li>
93
+ * </ul>
94
+ * </li>
95
+ * </ul>
96
+ *
97
+ * <p>
98
+ * <b>Regions</b>
99
+ * </p>
100
+ * <p>For a list of regions that Amazon MWAA supports, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/what-is-mwaa.html#regions-mwaa">Region availability</a> in the <i>Amazon MWAA User Guide</i>.</p>
17
101
  */
18
102
  export declare class MWAA extends MWAAClient {
19
103
  /**
20
- * <p>Create a CLI token to use Airflow CLI.</p>
104
+ * <p>Creates a CLI token for the Airflow CLI. To learn more, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/call-mwaa-apis-cli.html">Creating an Apache Airflow CLI token</a>.</p>
21
105
  */
22
106
  createCliToken(args: CreateCliTokenCommandInput, options?: __HttpHandlerOptions): Promise<CreateCliTokenCommandOutput>;
23
107
  createCliToken(args: CreateCliTokenCommandInput, cb: (err: any, data?: CreateCliTokenCommandOutput) => void): void;
@@ -29,7 +113,7 @@ export declare class MWAA extends MWAAClient {
29
113
  createEnvironment(args: CreateEnvironmentCommandInput, cb: (err: any, data?: CreateEnvironmentCommandOutput) => void): void;
30
114
  createEnvironment(args: CreateEnvironmentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateEnvironmentCommandOutput) => void): void;
31
115
  /**
32
- * <p>Create a JWT token to be used to login to Airflow Web UI with claims based Authentication.</p>
116
+ * <p>Creates a web login token for the Airflow Web UI. To learn more, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/call-mwaa-apis-web.html">Creating an Apache Airflow web login token</a>.</p>
33
117
  */
34
118
  createWebLoginToken(args: CreateWebLoginTokenCommandInput, options?: __HttpHandlerOptions): Promise<CreateWebLoginTokenCommandOutput>;
35
119
  createWebLoginToken(args: CreateWebLoginTokenCommandInput, cb: (err: any, data?: CreateWebLoginTokenCommandOutput) => void): void;
@@ -41,7 +125,7 @@ export declare class MWAA extends MWAAClient {
41
125
  deleteEnvironment(args: DeleteEnvironmentCommandInput, cb: (err: any, data?: DeleteEnvironmentCommandOutput) => void): void;
42
126
  deleteEnvironment(args: DeleteEnvironmentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteEnvironmentCommandOutput) => void): void;
43
127
  /**
44
- * <p>Retrieves the details of an Amazon Managed Workflows for Apache Airflow (MWAA) environment.</p>
128
+ * <p>Describes an Amazon Managed Workflows for Apache Airflow (MWAA) environment.</p>
45
129
  */
46
130
  getEnvironment(args: GetEnvironmentCommandInput, options?: __HttpHandlerOptions): Promise<GetEnvironmentCommandOutput>;
47
131
  getEnvironment(args: GetEnvironmentCommandInput, cb: (err: any, data?: GetEnvironmentCommandOutput) => void): void;
@@ -59,7 +143,8 @@ export declare class MWAA extends MWAAClient {
59
143
  listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
60
144
  listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
61
145
  /**
62
- * An operation for publishing metrics from the customers to the Ops plane.
146
+ * <p>
147
+ * <b>Internal only</b>. Publishes environment health metrics to Amazon CloudWatch.</p>
63
148
  */
64
149
  publishMetrics(args: PublishMetricsCommandInput, options?: __HttpHandlerOptions): Promise<PublishMetricsCommandOutput>;
65
150
  publishMetrics(args: PublishMetricsCommandInput, cb: (err: any, data?: PublishMetricsCommandOutput) => void): void;
@@ -135,6 +135,90 @@ export interface MWAAClientResolvedConfig extends MWAAClientResolvedConfigType {
135
135
  /**
136
136
  * <fullname>Amazon Managed Workflows for Apache Airflow</fullname>
137
137
  * <p>This section contains the Amazon Managed Workflows for Apache Airflow (MWAA) API reference documentation. For more information, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/what-is-mwaa.html">What Is Amazon MWAA?</a>.</p>
138
+ *
139
+ * <p>
140
+ * <b>Endpoints</b>
141
+ * </p>
142
+ * <ul>
143
+ * <li>
144
+ * <p>
145
+ * <code>api.airflow.{region}.amazonaws.com</code> - This endpoint is used for environment management.</p>
146
+ * <ul>
147
+ * <li>
148
+ * <p>
149
+ * <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_CreateEnvironment.html">CreateEnvironment</a>
150
+ * </p>
151
+ * </li>
152
+ * <li>
153
+ * <p>
154
+ * <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_DeleteEnvironment.html">DeleteEnvironment</a>
155
+ * </p>
156
+ * </li>
157
+ * <li>
158
+ * <p>
159
+ * <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_GetEnvironment.html">GetEnvironment</a>
160
+ * </p>
161
+ * </li>
162
+ * <li>
163
+ * <p>
164
+ * <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_ListEnvironments.html">ListEnvironments</a>
165
+ * </p>
166
+ * </li>
167
+ * <li>
168
+ * <p>
169
+ * <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_ListTagsForResource.html">ListTagsForResource</a>
170
+ * </p>
171
+ * </li>
172
+ * <li>
173
+ * <p>
174
+ * <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_TagResource.html">TagResource</a>
175
+ * </p>
176
+ * </li>
177
+ * <li>
178
+ * <p>
179
+ * <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_UntagResource.html">UntagResource</a>
180
+ * </p>
181
+ * </li>
182
+ * <li>
183
+ * <p>
184
+ * <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_UpdateEnvironment.html">UpdateEnvironment</a>
185
+ * </p>
186
+ * </li>
187
+ * </ul>
188
+ * </li>
189
+ * <li>
190
+ * <p>
191
+ * <code>env.airflow.{region}.amazonaws.com</code> - This endpoint is used to operate the Airflow environment.</p>
192
+ * <ul>
193
+ * <li>
194
+ * <p>
195
+ * <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_CreateCliToken.html ">CreateCliToken</a>
196
+ * </p>
197
+ * </li>
198
+ * <li>
199
+ * <p>
200
+ * <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_CreateWebLoginToken.html">CreateWebLoginToken</a>
201
+ * </p>
202
+ * </li>
203
+ * </ul>
204
+ * </li>
205
+ * <li>
206
+ * <p>
207
+ * <code>ops.airflow.{region}.amazonaws.com</code> - This endpoint is used to push environment metrics that track environment health.</p>
208
+ * <ul>
209
+ * <li>
210
+ * <p>
211
+ * <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_PublishMetrics.html ">PublishMetrics</a>
212
+ * </p>
213
+ * </li>
214
+ * </ul>
215
+ * </li>
216
+ * </ul>
217
+ *
218
+ * <p>
219
+ * <b>Regions</b>
220
+ * </p>
221
+ * <p>For a list of regions that Amazon MWAA supports, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/what-is-mwaa.html#regions-mwaa">Region availability</a> in the <i>Amazon MWAA User Guide</i>.</p>
138
222
  */
139
223
  export declare class MWAAClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, MWAAClientResolvedConfig> {
140
224
  /**
@@ -7,7 +7,7 @@ export interface CreateCliTokenCommandInput extends CreateCliTokenRequest {
7
7
  export interface CreateCliTokenCommandOutput extends CreateCliTokenResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Create a CLI token to use Airflow CLI.</p>
10
+ * <p>Creates a CLI token for the Airflow CLI. To learn more, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/call-mwaa-apis-cli.html">Creating an Apache Airflow CLI token</a>.</p>
11
11
  * @example
12
12
  * Use a bare-bones client and the command you need to make an API call.
13
13
  * ```javascript
@@ -7,7 +7,7 @@ export interface CreateWebLoginTokenCommandInput extends CreateWebLoginTokenRequ
7
7
  export interface CreateWebLoginTokenCommandOutput extends CreateWebLoginTokenResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Create a JWT token to be used to login to Airflow Web UI with claims based Authentication.</p>
10
+ * <p>Creates a web login token for the Airflow Web UI. To learn more, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/call-mwaa-apis-web.html">Creating an Apache Airflow web login token</a>.</p>
11
11
  * @example
12
12
  * Use a bare-bones client and the command you need to make an API call.
13
13
  * ```javascript
@@ -7,7 +7,7 @@ export interface GetEnvironmentCommandInput extends GetEnvironmentInput {
7
7
  export interface GetEnvironmentCommandOutput extends GetEnvironmentOutput, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Retrieves the details of an Amazon Managed Workflows for Apache Airflow (MWAA) environment.</p>
10
+ * <p>Describes an Amazon Managed Workflows for Apache Airflow (MWAA) environment.</p>
11
11
  * @example
12
12
  * Use a bare-bones client and the command you need to make an API call.
13
13
  * ```javascript
@@ -7,7 +7,8 @@ export interface PublishMetricsCommandInput extends PublishMetricsInput {
7
7
  export interface PublishMetricsCommandOutput extends PublishMetricsOutput, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * An operation for publishing metrics from the customers to the Ops plane.
10
+ * <p>
11
+ * <b>Internal only</b>. Publishes environment health metrics to Amazon CloudWatch.</p>
11
12
  * @example
12
13
  * Use a bare-bones client and the command you need to make an API call.
13
14
  * ```javascript
@@ -1,6 +1,6 @@
1
1
  import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
2
2
  /**
3
- * <p>Access to the Airflow Web UI or CLI has been Denied. Please follow the MWAA user guide to setup permissions to access the Web UI and CLI functionality.</p>
3
+ * <p>Access to the Apache Airflow Web UI or CLI has been denied due to insufficient permissions. To learn more, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/access-policies.html">Accessing an Amazon MWAA environment</a>.</p>
4
4
  */
5
5
  export interface AccessDeniedException extends __SmithyException, $MetadataBearer {
6
6
  name: "AccessDeniedException";
@@ -15,7 +15,7 @@ export declare namespace AccessDeniedException {
15
15
  }
16
16
  export interface CreateCliTokenRequest {
17
17
  /**
18
- * <p>Create a CLI token request for a MWAA environment.</p>
18
+ * <p>The name of the Amazon MWAA environment. For example, <code>MyMWAAEnvironment</code>.</p>
19
19
  */
20
20
  Name: string | undefined;
21
21
  }
@@ -27,11 +27,11 @@ export declare namespace CreateCliTokenRequest {
27
27
  }
28
28
  export interface CreateCliTokenResponse {
29
29
  /**
30
- * <p>Create an Airflow CLI login token response for the provided JWT token.</p>
30
+ * <p>An Airflow CLI login token.</p>
31
31
  */
32
32
  CliToken?: string;
33
33
  /**
34
- * <p>Create an Airflow CLI login token response for the provided webserver hostname.</p>
34
+ * <p>The Airflow web server hostname for the environment.</p>
35
35
  */
36
36
  WebServerHostname?: string;
37
37
  }
@@ -63,15 +63,15 @@ export declare enum LoggingLevel {
63
63
  WARNING = "WARNING"
64
64
  }
65
65
  /**
66
- * <p>Defines the type of logs to send for the Apache Airflow log type (e.g. <code>DagProcessingLogs</code>). Valid values: <code>CloudWatchLogGroupArn</code>, <code>Enabled</code>, <code>LogLevel</code>.</p>
66
+ * <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>
67
67
  */
68
68
  export interface ModuleLoggingConfigurationInput {
69
69
  /**
70
- * <p>Indicates whether to enable the Apache Airflow log type (e.g. <code>DagProcessingLogs</code>) in CloudWatch Logs.</p>
70
+ * <p>Indicates whether to enable the Apache Airflow log type (e.g. <code>DagProcessingLogs</code>).</p>
71
71
  */
72
72
  Enabled: boolean | undefined;
73
73
  /**
74
- * <p>Defines the Apache Airflow logs to send for the log type (e.g. <code>DagProcessingLogs</code>) to CloudWatch Logs. Valid values: <code>CRITICAL</code>, <code>ERROR</code>, <code>WARNING</code>, <code>INFO</code>.</p>
74
+ * <p>Defines the Apache Airflow log level (e.g. <code>INFO</code>) to send to CloudWatch Logs.</p>
75
75
  */
76
76
  LogLevel: LoggingLevel | string | undefined;
77
77
  }
@@ -82,27 +82,27 @@ export declare namespace ModuleLoggingConfigurationInput {
82
82
  const filterSensitiveLog: (obj: ModuleLoggingConfigurationInput) => any;
83
83
  }
84
84
  /**
85
- * <p>Defines the Apache Airflow logs to send to CloudWatch Logs: <code>DagProcessingLogs</code>, <code>SchedulerLogs</code>, <code>TaskLogs</code>, <code>WebserverLogs</code>, <code>WorkerLogs</code>.</p>
85
+ * <p>Defines the Apache Airflow log types to send to CloudWatch Logs.</p>
86
86
  */
87
87
  export interface LoggingConfigurationInput {
88
88
  /**
89
- * <p>Defines the type of logs to send for the Apache Airflow log type (e.g. <code>DagProcessingLogs</code>). Valid values: <code>CloudWatchLogGroupArn</code>, <code>Enabled</code>, <code>LogLevel</code>.</p>
89
+ * <p>Publishes Airflow DAG processing logs to CloudWatch Logs.</p>
90
90
  */
91
91
  DagProcessingLogs?: ModuleLoggingConfigurationInput;
92
92
  /**
93
- * <p>Defines the type of logs to send for the Apache Airflow log type (e.g. <code>DagProcessingLogs</code>). Valid values: <code>CloudWatchLogGroupArn</code>, <code>Enabled</code>, <code>LogLevel</code>.</p>
93
+ * <p>Publishes Airflow scheduler logs to CloudWatch Logs.</p>
94
94
  */
95
95
  SchedulerLogs?: ModuleLoggingConfigurationInput;
96
96
  /**
97
- * <p>Defines the type of logs to send for the Apache Airflow log type (e.g. <code>DagProcessingLogs</code>). Valid values: <code>CloudWatchLogGroupArn</code>, <code>Enabled</code>, <code>LogLevel</code>.</p>
97
+ * <p>Publishes Airflow web server logs to CloudWatch Logs.</p>
98
98
  */
99
99
  WebserverLogs?: ModuleLoggingConfigurationInput;
100
100
  /**
101
- * <p>Defines the type of logs to send for the Apache Airflow log type (e.g. <code>DagProcessingLogs</code>). Valid values: <code>CloudWatchLogGroupArn</code>, <code>Enabled</code>, <code>LogLevel</code>.</p>
101
+ * <p>Publishes Airflow worker logs to CloudWatch Logs.</p>
102
102
  */
103
103
  WorkerLogs?: ModuleLoggingConfigurationInput;
104
104
  /**
105
- * <p>Defines the type of logs to send for the Apache Airflow log type (e.g. <code>DagProcessingLogs</code>). Valid values: <code>CloudWatchLogGroupArn</code>, <code>Enabled</code>, <code>LogLevel</code>.</p>
105
+ * <p>Publishes Airflow task logs to CloudWatch Logs.</p>
106
106
  */
107
107
  TaskLogs?: ModuleLoggingConfigurationInput;
108
108
  }
@@ -113,15 +113,15 @@ export declare namespace LoggingConfigurationInput {
113
113
  const filterSensitiveLog: (obj: LoggingConfigurationInput) => any;
114
114
  }
115
115
  /**
116
- * <p>The VPC networking components used to secure and enable network traffic between the AWS 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>
116
+ * <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>
117
117
  */
118
118
  export interface NetworkConfiguration {
119
119
  /**
120
- * <p>A list of 2 subnet IDs. <b>Required</b> to create an environment. Must be private subnets in two different availability zones. A subnet must be attached to the same VPC as the security group.</p>
120
+ * <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>
121
121
  */
122
122
  SubnetIds?: string[];
123
123
  /**
124
- * <p>A list of 1 or more security group IDs. Accepts up to 5 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>
124
+ * <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>
125
125
  */
126
126
  SecurityGroupIds?: string[];
127
127
  }
@@ -144,7 +144,7 @@ export interface CreateEnvironmentInput {
144
144
  */
145
145
  Name: string | undefined;
146
146
  /**
147
- * <p>The Amazon Resource Name (ARN) of the execution role for your environment. An execution role is an AWS Identity and Access Management (IAM) role that grants MWAA permission to access AWS 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>
147
+ * <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>
148
148
  */
149
149
  ExecutionRoleArn: string | undefined;
150
150
  /**
@@ -156,7 +156,7 @@ export interface CreateEnvironmentInput {
156
156
  */
157
157
  DagS3Path: string | undefined;
158
158
  /**
159
- * <p>The VPC networking components used to secure and enable network traffic between the AWS 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>
159
+ * <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>
160
160
  */
161
161
  NetworkConfiguration: NetworkConfiguration | undefined;
162
162
  /**
@@ -190,28 +190,23 @@ export interface CreateEnvironmentInput {
190
190
  */
191
191
  MaxWorkers?: number;
192
192
  /**
193
- * <p>The AWS Key Management Service (KMS) key to encrypt the data in your environment. You can use an AWS owned CMK, or a Customer managed CMK (advanced). To learn more, 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>
193
+ * <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>
194
194
  */
195
195
  KmsKey?: string;
196
196
  /**
197
- * <p>The Apache Airflow version for your environment. For example, <code>v1.10.12</code>. If no value is specified, defaults to the latest version. Valid values: <code>v1.10.12</code>.</p>
197
+ * <p>The Apache Airflow version for your environment. If no value is specified, defaults to the latest version. Valid values: <code>1.10.12</code>, <code>2.0.2</code>. To learn more, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/airflow-versions.html">Apache Airflow versions on Amazon Managed Workflows for Apache Airflow (MWAA)</a>.</p>
198
198
  */
199
199
  AirflowVersion?: string;
200
200
  /**
201
- * <p>Defines the Apache Airflow logs to send to CloudWatch Logs: <code>DagProcessingLogs</code>, <code>SchedulerLogs</code>, <code>TaskLogs</code>, <code>WebserverLogs</code>, <code>WorkerLogs</code>.</p>
201
+ * <p>Defines the Apache Airflow logs to send to CloudWatch Logs.</p>
202
202
  */
203
203
  LoggingConfiguration?: LoggingConfigurationInput;
204
204
  /**
205
- * <p>The day and time of the week to start weekly maintenance updates of your environment in the following format: <code>DAY:HH:MM</code>. For example: <code>TUE:03:30</code>. You can specify a start time in 30 minute increments only. Supported input includes the following:</p>
206
- * <ul>
207
- * <li>
208
- * <p>MON|TUE|WED|THU|FRI|SAT|SUN:([01]\\d|2[0-3]):(00|30)</p>
209
- * </li>
210
- * </ul>
205
+ * <p>The day and time of the week in Coordinated Universal Time (UTC) 24-hour standard time to start weekly maintenance updates of your environment in the following format: <code>DAY:HH:MM</code>. For example: <code>TUE:03:30</code>. You can specify a start time in 30 minute increments only.</p>
211
206
  */
212
207
  WeeklyMaintenanceWindowStart?: string;
213
208
  /**
214
- * <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 AWS resources</a>.</p>
209
+ * <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>
215
210
  */
216
211
  Tags?: {
217
212
  [key: string]: string;
@@ -225,7 +220,15 @@ export interface CreateEnvironmentInput {
225
220
  */
226
221
  MinWorkers?: number;
227
222
  /**
228
- * <p>The number of Apache Airflow schedulers to run in your environment.</p>
223
+ * <p>The number of Apache Airflow schedulers to run in your environment. Valid values:</p>
224
+ * <ul>
225
+ * <li>
226
+ * <p>v2.0.2 - Accepts between 2 to 5. Defaults to 2.</p>
227
+ * </li>
228
+ * <li>
229
+ * <p>v1.10.12 - Accepts 1.</p>
230
+ * </li>
231
+ * </ul>
229
232
  */
230
233
  Schedulers?: number;
231
234
  }
@@ -277,7 +280,7 @@ export declare namespace ValidationException {
277
280
  }
278
281
  export interface CreateWebLoginTokenRequest {
279
282
  /**
280
- * <p>Create an Airflow Web UI login token request for a MWAA environment.</p>
283
+ * <p>The name of the Amazon MWAA environment. For example, <code>MyMWAAEnvironment</code>.</p>
281
284
  */
282
285
  Name: string | undefined;
283
286
  }
@@ -289,11 +292,11 @@ export declare namespace CreateWebLoginTokenRequest {
289
292
  }
290
293
  export interface CreateWebLoginTokenResponse {
291
294
  /**
292
- * <p>Create an Airflow Web UI login token response for the provided JWT token.</p>
295
+ * <p>An Airflow web server login token.</p>
293
296
  */
294
297
  WebToken?: string;
295
298
  /**
296
- * <p>Create an Airflow Web UI login token response for the provided webserver hostname.</p>
299
+ * <p>The Airflow web server hostname for the environment.</p>
297
300
  */
298
301
  WebServerHostname?: string;
299
302
  }
@@ -336,7 +339,7 @@ export declare namespace GetEnvironmentInput {
336
339
  const filterSensitiveLog: (obj: GetEnvironmentInput) => any;
337
340
  }
338
341
  /**
339
- * <p>An object containing the error encountered with the last update: <code>ErrorCode</code>, <code>ErrorMessage</code>.</p>
342
+ * <p>Describes the error(s) encountered with the last update of the environment.</p>
340
343
  */
341
344
  export interface UpdateError {
342
345
  /**
@@ -360,11 +363,11 @@ export declare enum UpdateStatus {
360
363
  SUCCESS = "SUCCESS"
361
364
  }
362
365
  /**
363
- * <p>The status of the last update on the environment, and any errors that were encountered.</p>
366
+ * <p>Describes the status of the last update on the environment, and any errors that were encountered.</p>
364
367
  */
365
368
  export interface LastUpdate {
366
369
  /**
367
- * <p>The status of the last update on the environment. Valid values: <code>SUCCESS</code>, <code>PENDING</code>, <code>FAILED</code>.</p>
370
+ * <p>The status of the last update on the environment.</p>
368
371
  */
369
372
  Status?: UpdateStatus | string;
370
373
  /**
@@ -375,6 +378,10 @@ export interface LastUpdate {
375
378
  * <p>The error that was encountered during the last update of the environment.</p>
376
379
  */
377
380
  Error?: UpdateError;
381
+ /**
382
+ * <p>The source of the last update to the environment. Includes internal processes by Amazon MWAA, such as an environment maintenance update.</p>
383
+ */
384
+ Source?: string;
378
385
  }
379
386
  export declare namespace LastUpdate {
380
387
  /**
@@ -383,15 +390,15 @@ export declare namespace LastUpdate {
383
390
  const filterSensitiveLog: (obj: LastUpdate) => any;
384
391
  }
385
392
  /**
386
- * <p>Defines the type of logs to send for the Apache Airflow log type (e.g. <code>DagProcessingLogs</code>). Valid values: <code>CloudWatchLogGroupArn</code>, <code>Enabled</code>, <code>LogLevel</code>.</p>
393
+ * <p>Describes the Apache Airflow log details for the log type (e.g. <code>DagProcessingLogs</code>).</p>
387
394
  */
388
395
  export interface ModuleLoggingConfiguration {
389
396
  /**
390
- * <p>Indicates whether to enable the Apache Airflow log type (e.g. <code>DagProcessingLogs</code>) in CloudWatch Logs.</p>
397
+ * <p>Indicates whether the Apache Airflow log type (e.g. <code>DagProcessingLogs</code>) is enabled.</p>
391
398
  */
392
399
  Enabled?: boolean;
393
400
  /**
394
- * <p>Defines the Apache Airflow logs to send for the log type (e.g. <code>DagProcessingLogs</code>) to CloudWatch Logs. Valid values: <code>CRITICAL</code>, <code>ERROR</code>, <code>WARNING</code>, <code>INFO</code>.</p>
401
+ * <p>The Apache Airflow log level for the log type (e.g. <code>DagProcessingLogs</code>). </p>
395
402
  */
396
403
  LogLevel?: LoggingLevel | string;
397
404
  /**
@@ -406,27 +413,27 @@ export declare namespace ModuleLoggingConfiguration {
406
413
  const filterSensitiveLog: (obj: ModuleLoggingConfiguration) => any;
407
414
  }
408
415
  /**
409
- * <p>Defines the Apache Airflow logs to send to CloudWatch Logs: <code>DagProcessingLogs</code>, <code>SchedulerLogs</code>, <code>TaskLogs</code>, <code>WebserverLogs</code>, <code>WorkerLogs</code>.</p>
416
+ * <p>Describes the Apache Airflow log types that are published to CloudWatch Logs.</p>
410
417
  */
411
418
  export interface LoggingConfiguration {
412
419
  /**
413
- * <p>Defines the type of logs to send for the Apache Airflow log type (e.g. <code>DagProcessingLogs</code>). Valid values: <code>CloudWatchLogGroupArn</code>, <code>Enabled</code>, <code>LogLevel</code>.</p>
420
+ * <p>The Airflow DAG processing logs published to CloudWatch Logs and the log level.</p>
414
421
  */
415
422
  DagProcessingLogs?: ModuleLoggingConfiguration;
416
423
  /**
417
- * <p>Defines the type of logs to send for the Apache Airflow log type (e.g. <code>DagProcessingLogs</code>). Valid values: <code>CloudWatchLogGroupArn</code>, <code>Enabled</code>, <code>LogLevel</code>.</p>
424
+ * <p>The Airflow scheduler logs published to CloudWatch Logs and the log level.</p>
418
425
  */
419
426
  SchedulerLogs?: ModuleLoggingConfiguration;
420
427
  /**
421
- * <p>Defines the type of logs to send for the Apache Airflow log type (e.g. <code>DagProcessingLogs</code>). Valid values: <code>CloudWatchLogGroupArn</code>, <code>Enabled</code>, <code>LogLevel</code>.</p>
428
+ * <p>The Airflow web server logs published to CloudWatch Logs and the log level.</p>
422
429
  */
423
430
  WebserverLogs?: ModuleLoggingConfiguration;
424
431
  /**
425
- * <p>Defines the type of logs to send for the Apache Airflow log type (e.g. <code>DagProcessingLogs</code>). Valid values: <code>CloudWatchLogGroupArn</code>, <code>Enabled</code>, <code>LogLevel</code>.</p>
432
+ * <p>The Airflow worker logs published to CloudWatch Logs and the log level.</p>
426
433
  */
427
434
  WorkerLogs?: ModuleLoggingConfiguration;
428
435
  /**
429
- * <p>Defines the type of logs to send for the Apache Airflow log type (e.g. <code>DagProcessingLogs</code>). Valid values: <code>CloudWatchLogGroupArn</code>, <code>Enabled</code>, <code>LogLevel</code>.</p>
436
+ * <p>The Airflow task logs published to CloudWatch Logs and the log level.</p>
430
437
  */
431
438
  TaskLogs?: ModuleLoggingConfiguration;
432
439
  }
@@ -447,7 +454,7 @@ export declare enum EnvironmentStatus {
447
454
  UPDATING = "UPDATING"
448
455
  }
449
456
  /**
450
- * <p>The Amazon Managed Workflows for Apache Airflow (MWAA) environment.</p>
457
+ * <p>Describes an Amazon Managed Workflows for Apache Airflow (MWAA) environment.</p>
451
458
  */
452
459
  export interface Environment {
453
460
  /**
@@ -506,7 +513,7 @@ export interface Environment {
506
513
  */
507
514
  WebserverUrl?: string;
508
515
  /**
509
- * <p>The Amazon Resource Name (ARN) of the execution role in IAM that allows MWAA to access AWS 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>
516
+ * <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>
510
517
  */
511
518
  ExecutionRoleArn?: string;
512
519
  /**
@@ -514,11 +521,11 @@ export interface Environment {
514
521
  */
515
522
  ServiceRoleArn?: string;
516
523
  /**
517
- * <p>The Key Management Service (KMS) encryption key used to encrypt the data in your environment.</p>
524
+ * <p>The Amazon Web Services Key Management Service (KMS) encryption key used to encrypt the data in your environment.</p>
518
525
  */
519
526
  KmsKey?: string;
520
527
  /**
521
- * <p>The Apache Airflow version on your environment. For example, <code>v1.10.12</code>.</p>
528
+ * <p>The Apache Airflow version on your environment. Valid values: <code>1.10.12</code>, <code>2.0.2</code>.</p>
522
529
  */
523
530
  AirflowVersion?: string;
524
531
  /**
@@ -560,23 +567,23 @@ export interface Environment {
560
567
  */
561
568
  MaxWorkers?: number;
562
569
  /**
563
- * <p>The VPC networking components used to secure and enable network traffic between the AWS 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>
570
+ * <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>
564
571
  */
565
572
  NetworkConfiguration?: NetworkConfiguration;
566
573
  /**
567
- * <p>The Apache Airflow logs being sent to CloudWatch Logs: <code>DagProcessingLogs</code>, <code>SchedulerLogs</code>, <code>TaskLogs</code>, <code>WebserverLogs</code>, <code>WorkerLogs</code>.</p>
574
+ * <p>The Apache Airflow logs published to CloudWatch Logs.</p>
568
575
  */
569
576
  LoggingConfiguration?: LoggingConfiguration;
570
577
  /**
571
- * <p>The status of the last update on the environment, and any errors that were encountered.</p>
578
+ * <p>The status of the last update on the environment.</p>
572
579
  */
573
580
  LastUpdate?: LastUpdate;
574
581
  /**
575
- * <p>The day and time of the week that weekly maintenance updates are scheduled. For example: <code>TUE:03:30</code>.</p>
582
+ * <p>The day and time of the week in Coordinated Universal Time (UTC) 24-hour standard time that weekly maintenance updates are scheduled. For example: <code>TUE:03:30</code>.</p>
576
583
  */
577
584
  WeeklyMaintenanceWindowStart?: string;
578
585
  /**
579
- * <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 AWS resources</a>.</p>
586
+ * <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>
580
587
  */
581
588
  Tags?: {
582
589
  [key: string]: string;
@@ -630,7 +637,7 @@ export declare namespace ListEnvironmentsInput {
630
637
  }
631
638
  export interface ListEnvironmentsOutput {
632
639
  /**
633
- * <p>Returns the list of Amazon MWAA environments.</p>
640
+ * <p>Returns a list of Amazon MWAA environments.</p>
634
641
  */
635
642
  Environments: string[] | undefined;
636
643
  /**
@@ -658,7 +665,7 @@ export declare namespace ListTagsForResourceInput {
658
665
  }
659
666
  export interface ListTagsForResourceOutput {
660
667
  /**
661
- * <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 AWS resources</a>.</p>
668
+ * <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>
662
669
  */
663
670
  Tags?: {
664
671
  [key: string]: string;
@@ -671,15 +678,18 @@ export declare namespace ListTagsForResourceOutput {
671
678
  const filterSensitiveLog: (obj: ListTagsForResourceOutput) => any;
672
679
  }
673
680
  /**
674
- * <p>Internal only API.</p>
681
+ * <p>
682
+ * <b>Internal only</b>. Represents the dimensions of a metric. To learn more about the metrics published to Amazon CloudWatch, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/cw-metrics.html">Amazon MWAA performance metrics in Amazon CloudWatch</a>.</p>
675
683
  */
676
684
  export interface Dimension {
677
685
  /**
678
- * <p>Internal only API.</p>
686
+ * <p>
687
+ * <b>Internal only</b>. The name of the dimension.</p>
679
688
  */
680
689
  Name: string | undefined;
681
690
  /**
682
- * <p>Internal only API.</p>
691
+ * <p>
692
+ * <b>Internal only</b>. The value of the dimension.</p>
683
693
  */
684
694
  Value: string | undefined;
685
695
  }
@@ -690,23 +700,28 @@ export declare namespace Dimension {
690
700
  const filterSensitiveLog: (obj: Dimension) => any;
691
701
  }
692
702
  /**
693
- * <p>Internal only API.</p>
703
+ * <p>
704
+ * <b>Internal only</b>. Represents a set of statistics that describe a specific metric. To learn more about the metrics published to Amazon CloudWatch, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/cw-metrics.html">Amazon MWAA performance metrics in Amazon CloudWatch</a>.</p>
694
705
  */
695
706
  export interface StatisticSet {
696
707
  /**
697
- * <p>Internal only API.</p>
708
+ * <p>
709
+ * <b>Internal only</b>. The number of samples used for the statistic set.</p>
698
710
  */
699
711
  SampleCount?: number;
700
712
  /**
701
- * <p>Internal only API.</p>
713
+ * <p>
714
+ * <b>Internal only</b>. The sum of values for the sample set.</p>
702
715
  */
703
716
  Sum?: number;
704
717
  /**
705
- * <p>Internal only API.</p>
718
+ * <p>
719
+ * <b>Internal only</b>. The minimum value of the sample set.</p>
706
720
  */
707
721
  Minimum?: number;
708
722
  /**
709
- * <p>Internal only API.</p>
723
+ * <p>
724
+ * <b>Internal only</b>. The maximum value of the sample set.</p>
710
725
  */
711
726
  Maximum?: number;
712
727
  }
@@ -746,31 +761,38 @@ export declare enum Unit {
746
761
  TERABYTES_PER_SECOND = "Terabytes/Second"
747
762
  }
748
763
  /**
749
- * <p>Internal only API.</p>
764
+ * <p>
765
+ * <b>Internal only</b>. Collects Apache Airflow metrics. To learn more about the metrics published to Amazon CloudWatch, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/cw-metrics.html">Amazon MWAA performance metrics in Amazon CloudWatch</a>.</p>
750
766
  */
751
767
  export interface MetricDatum {
752
768
  /**
753
- * <p>Internal only API.</p>
769
+ * <p>
770
+ * <b>Internal only</b>. The name of the metric.</p>
754
771
  */
755
772
  MetricName: string | undefined;
756
773
  /**
757
- * <p>Internal only API.</p>
774
+ * <p>
775
+ * <b>Internal only</b>. The time the metric data was received.</p>
758
776
  */
759
777
  Timestamp: Date | undefined;
760
778
  /**
761
- * <p>Internal only API.</p>
779
+ * <p>
780
+ * <b>Internal only</b>. The dimensions associated with the metric.</p>
762
781
  */
763
782
  Dimensions?: Dimension[];
764
783
  /**
765
- * <p>Internal only API.</p>
784
+ * <p>
785
+ * <b>Internal only</b>. The value for the metric.</p>
766
786
  */
767
787
  Value?: number;
768
788
  /**
769
- * Unit
789
+ * <p>
790
+ * <b>Internal only</b>. The unit used to store the metric.</p>
770
791
  */
771
792
  Unit?: Unit | string;
772
793
  /**
773
- * <p>Internal only API.</p>
794
+ * <p>
795
+ * <b>Internal only</b>. The statistical values for the metric.</p>
774
796
  */
775
797
  StatisticValues?: StatisticSet;
776
798
  }
@@ -782,11 +804,13 @@ export declare namespace MetricDatum {
782
804
  }
783
805
  export interface PublishMetricsInput {
784
806
  /**
785
- * <p>Publishes environment metric data to Amazon CloudWatch.</p>
807
+ * <p>
808
+ * <b>Internal only</b>. The name of the environment.</p>
786
809
  */
787
810
  EnvironmentName: string | undefined;
788
811
  /**
789
- * <p>Publishes metric data points to Amazon CloudWatch. CloudWatch associates the data points with the specified metrica.</p>
812
+ * <p>
813
+ * <b>Internal only</b>. Publishes metrics to Amazon CloudWatch. To learn more about the metrics published to Amazon CloudWatch, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/cw-metrics.html">Amazon MWAA performance metrics in Amazon CloudWatch</a>.</p>
790
814
  */
791
815
  MetricData: MetricDatum[] | undefined;
792
816
  }
@@ -810,7 +834,7 @@ export interface TagResourceInput {
810
834
  */
811
835
  ResourceArn: string | undefined;
812
836
  /**
813
- * <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 AWS resources</a>.</p>
837
+ * <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>
814
838
  */
815
839
  Tags: {
816
840
  [key: string]: string;
@@ -855,11 +879,11 @@ export declare namespace UntagResourceOutput {
855
879
  const filterSensitiveLog: (obj: UntagResourceOutput) => any;
856
880
  }
857
881
  /**
858
- * <p>The VPC networking components used to secure and enable network traffic between the AWS 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>
882
+ * <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>
859
883
  */
860
884
  export interface UpdateNetworkConfigurationInput {
861
885
  /**
862
- * <p>A list of 1 or more security group IDs. Accepts up to 5 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>
886
+ * <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>
863
887
  */
864
888
  SecurityGroupIds: string[] | undefined;
865
889
  }
@@ -875,11 +899,11 @@ export interface UpdateEnvironmentInput {
875
899
  */
876
900
  Name: string | undefined;
877
901
  /**
878
- * <p>The Amazon Resource Name (ARN) of the execution role in IAM that allows MWAA to access AWS 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>
902
+ * <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>
879
903
  */
880
904
  ExecutionRoleArn?: string;
881
905
  /**
882
- * <p>The Apache Airflow version for your environment. For example, <code>v1.10.12</code>. If no value is specified, defaults to the latest version. Valid values: <code>v1.10.12</code>.</p>
906
+ * <p>The Apache Airflow version for your environment. If no value is specified, defaults to the latest version. Valid values: <code>1.10.12</code>, <code>2.0.2</code>.</p>
883
907
  */
884
908
  AirflowVersion?: string;
885
909
  /**
@@ -921,20 +945,15 @@ export interface UpdateEnvironmentInput {
921
945
  */
922
946
  MaxWorkers?: number;
923
947
  /**
924
- * <p>The VPC networking components used to secure and enable network traffic between the AWS 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>
948
+ * <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>
925
949
  */
926
950
  NetworkConfiguration?: UpdateNetworkConfigurationInput;
927
951
  /**
928
- * <p>Defines the Apache Airflow logs to send to CloudWatch Logs: <code>DagProcessingLogs</code>, <code>SchedulerLogs</code>, <code>TaskLogs</code>, <code>WebserverLogs</code>, <code>WorkerLogs</code>.</p>
952
+ * <p>The Apache Airflow log types to send to CloudWatch Logs.</p>
929
953
  */
930
954
  LoggingConfiguration?: LoggingConfigurationInput;
931
955
  /**
932
- * <p>The day and time of the week to start weekly maintenance updates of your environment in the following format: <code>DAY:HH:MM</code>. For example: <code>TUE:03:30</code>. You can specify a start time in 30 minute increments only. Supported input includes the following:</p>
933
- * <ul>
934
- * <li>
935
- * <p>MON|TUE|WED|THU|FRI|SAT|SUN:([01]\\d|2[0-3]):(00|30)</p>
936
- * </li>
937
- * </ul>
956
+ * <p>The day and time of the week in Coordinated Universal Time (UTC) 24-hour standard time to start weekly maintenance updates of your environment in the following format: <code>DAY:HH:MM</code>. For example: <code>TUE:03:30</code>. You can specify a start time in 30 minute increments only.</p>
938
957
  */
939
958
  WeeklyMaintenanceWindowStart?: string;
940
959
  /**
@@ -230,6 +230,8 @@ export interface LastUpdate {
230
230
  CreatedAt?: Date;
231
231
 
232
232
  Error?: UpdateError;
233
+
234
+ Source?: string;
233
235
  }
234
236
  export declare namespace LastUpdate {
235
237
 
package/package.json CHANGED
@@ -1,18 +1,17 @@
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.45.0",
4
+ "version": "3.46.0",
5
5
  "scripts": {
6
6
  "build": "yarn build:cjs && yarn build:es && yarn build:types",
7
7
  "build:cjs": "tsc -p tsconfig.json",
8
- "build:docs": "yarn clean:docs && typedoc ./",
8
+ "build:docs": "typedoc",
9
9
  "build:es": "tsc -p tsconfig.es.json",
10
10
  "build:types": "tsc -p tsconfig.types.json",
11
+ "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
11
12
  "clean": "yarn clean:dist && yarn clean:docs",
12
- "clean:dist": "rimraf ./dist",
13
- "clean:docs": "rimraf ./docs",
14
- "downlevel-dts": "downlevel-dts dist-types dist-types/ts3.4",
15
- "test": "jest --coverage --passWithNoTests"
13
+ "clean:dist": "rimraf ./dist-*",
14
+ "clean:docs": "rimraf ./docs"
16
15
  },
17
16
  "main": "./dist-cjs/index.js",
18
17
  "types": "./dist-types/index.d.ts",
@@ -21,48 +20,42 @@
21
20
  "dependencies": {
22
21
  "@aws-crypto/sha256-browser": "2.0.0",
23
22
  "@aws-crypto/sha256-js": "2.0.0",
24
- "@aws-sdk/client-sts": "3.45.0",
25
- "@aws-sdk/config-resolver": "3.45.0",
26
- "@aws-sdk/credential-provider-node": "3.45.0",
27
- "@aws-sdk/fetch-http-handler": "3.40.0",
28
- "@aws-sdk/hash-node": "3.40.0",
29
- "@aws-sdk/invalid-dependency": "3.40.0",
30
- "@aws-sdk/middleware-content-length": "3.40.0",
31
- "@aws-sdk/middleware-host-header": "3.40.0",
32
- "@aws-sdk/middleware-logger": "3.40.0",
33
- "@aws-sdk/middleware-retry": "3.40.0",
34
- "@aws-sdk/middleware-serde": "3.40.0",
35
- "@aws-sdk/middleware-signing": "3.45.0",
36
- "@aws-sdk/middleware-stack": "3.40.0",
37
- "@aws-sdk/middleware-user-agent": "3.40.0",
38
- "@aws-sdk/node-config-provider": "3.40.0",
39
- "@aws-sdk/node-http-handler": "3.40.0",
40
- "@aws-sdk/protocol-http": "3.40.0",
41
- "@aws-sdk/smithy-client": "3.41.0",
42
- "@aws-sdk/types": "3.40.0",
43
- "@aws-sdk/url-parser": "3.40.0",
44
- "@aws-sdk/util-base64-browser": "3.37.0",
45
- "@aws-sdk/util-base64-node": "3.37.0",
46
- "@aws-sdk/util-body-length-browser": "3.37.0",
47
- "@aws-sdk/util-body-length-node": "3.37.0",
48
- "@aws-sdk/util-user-agent-browser": "3.40.0",
49
- "@aws-sdk/util-user-agent-node": "3.40.0",
50
- "@aws-sdk/util-utf8-browser": "3.37.0",
51
- "@aws-sdk/util-utf8-node": "3.37.0",
23
+ "@aws-sdk/client-sts": "3.46.0",
24
+ "@aws-sdk/config-resolver": "3.46.0",
25
+ "@aws-sdk/credential-provider-node": "3.46.0",
26
+ "@aws-sdk/fetch-http-handler": "3.46.0",
27
+ "@aws-sdk/hash-node": "3.46.0",
28
+ "@aws-sdk/invalid-dependency": "3.46.0",
29
+ "@aws-sdk/middleware-content-length": "3.46.0",
30
+ "@aws-sdk/middleware-host-header": "3.46.0",
31
+ "@aws-sdk/middleware-logger": "3.46.0",
32
+ "@aws-sdk/middleware-retry": "3.46.0",
33
+ "@aws-sdk/middleware-serde": "3.46.0",
34
+ "@aws-sdk/middleware-signing": "3.46.0",
35
+ "@aws-sdk/middleware-stack": "3.46.0",
36
+ "@aws-sdk/middleware-user-agent": "3.46.0",
37
+ "@aws-sdk/node-config-provider": "3.46.0",
38
+ "@aws-sdk/node-http-handler": "3.46.0",
39
+ "@aws-sdk/protocol-http": "3.46.0",
40
+ "@aws-sdk/smithy-client": "3.46.0",
41
+ "@aws-sdk/types": "3.46.0",
42
+ "@aws-sdk/url-parser": "3.46.0",
43
+ "@aws-sdk/util-base64-browser": "3.46.0",
44
+ "@aws-sdk/util-base64-node": "3.46.0",
45
+ "@aws-sdk/util-body-length-browser": "3.46.0",
46
+ "@aws-sdk/util-body-length-node": "3.46.0",
47
+ "@aws-sdk/util-user-agent-browser": "3.46.0",
48
+ "@aws-sdk/util-user-agent-node": "3.46.0",
49
+ "@aws-sdk/util-utf8-browser": "3.46.0",
50
+ "@aws-sdk/util-utf8-node": "3.46.0",
52
51
  "tslib": "^2.3.0"
53
52
  },
54
53
  "devDependencies": {
55
- "@aws-sdk/service-client-documentation-generator": "3.38.0",
56
- "@types/node": "^12.7.5",
57
- "downlevel-dts": "0.7.0",
58
- "jest": "^26.1.0",
59
- "rimraf": "^3.0.0",
60
- "ts-jest": "^26.4.1",
61
- "typedoc": "^0.19.2",
62
- "typescript": "~4.3.5"
54
+ "@aws-sdk/service-client-documentation-generator": "3.46.0",
55
+ "@types/node": "^12.7.5"
63
56
  },
64
57
  "engines": {
65
- "node": ">=10.0.0"
58
+ "node": ">=12.0.0"
66
59
  },
67
60
  "typesVersions": {
68
61
  "<4.0": {