@aws-sdk/client-mwaa 3.956.0 → 3.958.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/README.md +1 -18
- package/dist-cjs/auth/httpAuthSchemeProvider.js +3 -4
- package/dist-cjs/index.js +207 -376
- package/dist-cjs/runtimeConfig.browser.js +1 -2
- package/dist-cjs/runtimeConfig.js +2 -4
- package/dist-es/auth/httpAuthSchemeProvider.js +3 -4
- package/dist-es/runtimeConfig.browser.js +1 -2
- package/dist-es/runtimeConfig.js +4 -6
- package/dist-es/schemas/schemas_0.js +230 -399
- package/package.json +13 -13
package/README.md
CHANGED
|
@@ -7,7 +7,6 @@
|
|
|
7
7
|
AWS SDK for JavaScript MWAA Client for Node.js, Browser and React Native.
|
|
8
8
|
|
|
9
9
|
<fullname>Amazon Managed Workflows for Apache Airflow</fullname>
|
|
10
|
-
|
|
11
10
|
<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>
|
|
12
11
|
<p>
|
|
13
12
|
<b>Endpoints</b>
|
|
@@ -87,10 +86,8 @@ AWS SDK for JavaScript MWAA Client for Node.js, Browser and React Native.
|
|
|
87
86
|
<p>For a list of supported regions, see <a href="https://docs.aws.amazon.com/general/latest/gr/mwaa.html">Amazon MWAA endpoints and quotas</a> in the <i>Amazon Web Services General Reference</i>.</p>
|
|
88
87
|
|
|
89
88
|
## Installing
|
|
90
|
-
|
|
91
89
|
To install this package, simply type add or install @aws-sdk/client-mwaa
|
|
92
90
|
using your favorite package manager:
|
|
93
|
-
|
|
94
91
|
- `npm install @aws-sdk/client-mwaa`
|
|
95
92
|
- `yarn add @aws-sdk/client-mwaa`
|
|
96
93
|
- `pnpm add @aws-sdk/client-mwaa`
|
|
@@ -126,9 +123,7 @@ To send a request, you:
|
|
|
126
123
|
// a client can be shared by different commands.
|
|
127
124
|
const client = new MWAAClient({ region: "REGION" });
|
|
128
125
|
|
|
129
|
-
const params = {
|
|
130
|
-
/** input parameters */
|
|
131
|
-
};
|
|
126
|
+
const params = { /** input parameters */ };
|
|
132
127
|
const command = new ListEnvironmentsCommand(params);
|
|
133
128
|
```
|
|
134
129
|
|
|
@@ -287,7 +282,6 @@ CreateCliToken
|
|
|
287
282
|
</summary>
|
|
288
283
|
|
|
289
284
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/mwaa/command/CreateCliTokenCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-mwaa/Interface/CreateCliTokenCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-mwaa/Interface/CreateCliTokenCommandOutput/)
|
|
290
|
-
|
|
291
285
|
</details>
|
|
292
286
|
<details>
|
|
293
287
|
<summary>
|
|
@@ -295,7 +289,6 @@ CreateEnvironment
|
|
|
295
289
|
</summary>
|
|
296
290
|
|
|
297
291
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/mwaa/command/CreateEnvironmentCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-mwaa/Interface/CreateEnvironmentCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-mwaa/Interface/CreateEnvironmentCommandOutput/)
|
|
298
|
-
|
|
299
292
|
</details>
|
|
300
293
|
<details>
|
|
301
294
|
<summary>
|
|
@@ -303,7 +296,6 @@ CreateWebLoginToken
|
|
|
303
296
|
</summary>
|
|
304
297
|
|
|
305
298
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/mwaa/command/CreateWebLoginTokenCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-mwaa/Interface/CreateWebLoginTokenCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-mwaa/Interface/CreateWebLoginTokenCommandOutput/)
|
|
306
|
-
|
|
307
299
|
</details>
|
|
308
300
|
<details>
|
|
309
301
|
<summary>
|
|
@@ -311,7 +303,6 @@ DeleteEnvironment
|
|
|
311
303
|
</summary>
|
|
312
304
|
|
|
313
305
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/mwaa/command/DeleteEnvironmentCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-mwaa/Interface/DeleteEnvironmentCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-mwaa/Interface/DeleteEnvironmentCommandOutput/)
|
|
314
|
-
|
|
315
306
|
</details>
|
|
316
307
|
<details>
|
|
317
308
|
<summary>
|
|
@@ -319,7 +310,6 @@ GetEnvironment
|
|
|
319
310
|
</summary>
|
|
320
311
|
|
|
321
312
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/mwaa/command/GetEnvironmentCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-mwaa/Interface/GetEnvironmentCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-mwaa/Interface/GetEnvironmentCommandOutput/)
|
|
322
|
-
|
|
323
313
|
</details>
|
|
324
314
|
<details>
|
|
325
315
|
<summary>
|
|
@@ -327,7 +317,6 @@ InvokeRestApi
|
|
|
327
317
|
</summary>
|
|
328
318
|
|
|
329
319
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/mwaa/command/InvokeRestApiCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-mwaa/Interface/InvokeRestApiCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-mwaa/Interface/InvokeRestApiCommandOutput/)
|
|
330
|
-
|
|
331
320
|
</details>
|
|
332
321
|
<details>
|
|
333
322
|
<summary>
|
|
@@ -335,7 +324,6 @@ ListEnvironments
|
|
|
335
324
|
</summary>
|
|
336
325
|
|
|
337
326
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/mwaa/command/ListEnvironmentsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-mwaa/Interface/ListEnvironmentsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-mwaa/Interface/ListEnvironmentsCommandOutput/)
|
|
338
|
-
|
|
339
327
|
</details>
|
|
340
328
|
<details>
|
|
341
329
|
<summary>
|
|
@@ -343,7 +331,6 @@ ListTagsForResource
|
|
|
343
331
|
</summary>
|
|
344
332
|
|
|
345
333
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/mwaa/command/ListTagsForResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-mwaa/Interface/ListTagsForResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-mwaa/Interface/ListTagsForResourceCommandOutput/)
|
|
346
|
-
|
|
347
334
|
</details>
|
|
348
335
|
<details>
|
|
349
336
|
<summary>
|
|
@@ -351,7 +338,6 @@ PublishMetrics
|
|
|
351
338
|
</summary>
|
|
352
339
|
|
|
353
340
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/mwaa/command/PublishMetricsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-mwaa/Interface/PublishMetricsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-mwaa/Interface/PublishMetricsCommandOutput/)
|
|
354
|
-
|
|
355
341
|
</details>
|
|
356
342
|
<details>
|
|
357
343
|
<summary>
|
|
@@ -359,7 +345,6 @@ TagResource
|
|
|
359
345
|
</summary>
|
|
360
346
|
|
|
361
347
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/mwaa/command/TagResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-mwaa/Interface/TagResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-mwaa/Interface/TagResourceCommandOutput/)
|
|
362
|
-
|
|
363
348
|
</details>
|
|
364
349
|
<details>
|
|
365
350
|
<summary>
|
|
@@ -367,7 +352,6 @@ UntagResource
|
|
|
367
352
|
</summary>
|
|
368
353
|
|
|
369
354
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/mwaa/command/UntagResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-mwaa/Interface/UntagResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-mwaa/Interface/UntagResourceCommandOutput/)
|
|
370
|
-
|
|
371
355
|
</details>
|
|
372
356
|
<details>
|
|
373
357
|
<summary>
|
|
@@ -375,5 +359,4 @@ UpdateEnvironment
|
|
|
375
359
|
</summary>
|
|
376
360
|
|
|
377
361
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/mwaa/command/UpdateEnvironmentCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-mwaa/Interface/UpdateEnvironmentCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-mwaa/Interface/UpdateEnvironmentCommandOutput/)
|
|
378
|
-
|
|
379
362
|
</details>
|
|
@@ -6,10 +6,9 @@ const util_middleware_1 = require("@smithy/util-middleware");
|
|
|
6
6
|
const defaultMWAAHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
7
7
|
return {
|
|
8
8
|
operation: (0, util_middleware_1.getSmithyContext)(context).operation,
|
|
9
|
-
region:
|
|
10
|
-
(
|
|
11
|
-
|
|
12
|
-
})(),
|
|
9
|
+
region: await (0, util_middleware_1.normalizeProvider)(config.region)() || (() => {
|
|
10
|
+
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
11
|
+
})(),
|
|
13
12
|
};
|
|
14
13
|
};
|
|
15
14
|
exports.defaultMWAAHttpAuthSchemeParametersProvider = defaultMWAAHttpAuthSchemeParametersProvider;
|