@aws-sdk/client-mwaa 3.299.0 → 3.301.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-types/commands/CreateCliTokenCommand.d.ts +3 -0
- package/dist-types/commands/CreateEnvironmentCommand.d.ts +54 -0
- package/dist-types/commands/CreateWebLoginTokenCommand.d.ts +3 -0
- package/dist-types/commands/DeleteEnvironmentCommand.d.ts +3 -0
- package/dist-types/commands/GetEnvironmentCommand.d.ts +3 -0
- package/dist-types/commands/ListEnvironmentsCommand.d.ts +4 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -0
- package/dist-types/commands/PublishMetricsCommand.d.ts +23 -0
- package/dist-types/commands/TagResourceCommand.d.ts +6 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
- package/dist-types/commands/UpdateEnvironmentCommand.d.ts +47 -0
- package/package.json +8 -8
|
@@ -26,6 +26,9 @@ export interface CreateCliTokenCommandOutput extends CreateCliTokenResponse, __M
|
|
|
26
26
|
* import { MWAAClient, CreateCliTokenCommand } from "@aws-sdk/client-mwaa"; // ES Modules import
|
|
27
27
|
* // const { MWAAClient, CreateCliTokenCommand } = require("@aws-sdk/client-mwaa"); // CommonJS import
|
|
28
28
|
* const client = new MWAAClient(config);
|
|
29
|
+
* const input = { // CreateCliTokenRequest
|
|
30
|
+
* Name: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new CreateCliTokenCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,60 @@ export interface CreateEnvironmentCommandOutput extends CreateEnvironmentOutput,
|
|
|
26
26
|
* import { MWAAClient, CreateEnvironmentCommand } from "@aws-sdk/client-mwaa"; // ES Modules import
|
|
27
27
|
* // const { MWAAClient, CreateEnvironmentCommand } = require("@aws-sdk/client-mwaa"); // CommonJS import
|
|
28
28
|
* const client = new MWAAClient(config);
|
|
29
|
+
* const input = { // CreateEnvironmentInput
|
|
30
|
+
* Name: "STRING_VALUE", // required
|
|
31
|
+
* ExecutionRoleArn: "STRING_VALUE", // required
|
|
32
|
+
* SourceBucketArn: "STRING_VALUE", // required
|
|
33
|
+
* DagS3Path: "STRING_VALUE", // required
|
|
34
|
+
* NetworkConfiguration: { // NetworkConfiguration
|
|
35
|
+
* SubnetIds: [ // SubnetList
|
|
36
|
+
* "STRING_VALUE",
|
|
37
|
+
* ],
|
|
38
|
+
* SecurityGroupIds: [ // SecurityGroupList
|
|
39
|
+
* "STRING_VALUE",
|
|
40
|
+
* ],
|
|
41
|
+
* },
|
|
42
|
+
* PluginsS3Path: "STRING_VALUE",
|
|
43
|
+
* PluginsS3ObjectVersion: "STRING_VALUE",
|
|
44
|
+
* RequirementsS3Path: "STRING_VALUE",
|
|
45
|
+
* RequirementsS3ObjectVersion: "STRING_VALUE",
|
|
46
|
+
* AirflowConfigurationOptions: { // AirflowConfigurationOptions
|
|
47
|
+
* "<keys>": "STRING_VALUE",
|
|
48
|
+
* },
|
|
49
|
+
* EnvironmentClass: "STRING_VALUE",
|
|
50
|
+
* MaxWorkers: Number("int"),
|
|
51
|
+
* KmsKey: "STRING_VALUE",
|
|
52
|
+
* AirflowVersion: "STRING_VALUE",
|
|
53
|
+
* LoggingConfiguration: { // LoggingConfigurationInput
|
|
54
|
+
* DagProcessingLogs: { // ModuleLoggingConfigurationInput
|
|
55
|
+
* Enabled: true || false, // required
|
|
56
|
+
* LogLevel: "STRING_VALUE", // required
|
|
57
|
+
* },
|
|
58
|
+
* SchedulerLogs: {
|
|
59
|
+
* Enabled: true || false, // required
|
|
60
|
+
* LogLevel: "STRING_VALUE", // required
|
|
61
|
+
* },
|
|
62
|
+
* WebserverLogs: {
|
|
63
|
+
* Enabled: true || false, // required
|
|
64
|
+
* LogLevel: "STRING_VALUE", // required
|
|
65
|
+
* },
|
|
66
|
+
* WorkerLogs: {
|
|
67
|
+
* Enabled: true || false, // required
|
|
68
|
+
* LogLevel: "STRING_VALUE", // required
|
|
69
|
+
* },
|
|
70
|
+
* TaskLogs: {
|
|
71
|
+
* Enabled: true || false, // required
|
|
72
|
+
* LogLevel: "STRING_VALUE", // required
|
|
73
|
+
* },
|
|
74
|
+
* },
|
|
75
|
+
* WeeklyMaintenanceWindowStart: "STRING_VALUE",
|
|
76
|
+
* Tags: { // TagMap
|
|
77
|
+
* "<keys>": "STRING_VALUE",
|
|
78
|
+
* },
|
|
79
|
+
* WebserverAccessMode: "STRING_VALUE",
|
|
80
|
+
* MinWorkers: Number("int"),
|
|
81
|
+
* Schedulers: Number("int"),
|
|
82
|
+
* };
|
|
29
83
|
* const command = new CreateEnvironmentCommand(input);
|
|
30
84
|
* const response = await client.send(command);
|
|
31
85
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface CreateWebLoginTokenCommandOutput extends CreateWebLoginTokenRes
|
|
|
26
26
|
* import { MWAAClient, CreateWebLoginTokenCommand } from "@aws-sdk/client-mwaa"; // ES Modules import
|
|
27
27
|
* // const { MWAAClient, CreateWebLoginTokenCommand } = require("@aws-sdk/client-mwaa"); // CommonJS import
|
|
28
28
|
* const client = new MWAAClient(config);
|
|
29
|
+
* const input = { // CreateWebLoginTokenRequest
|
|
30
|
+
* Name: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new CreateWebLoginTokenCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface DeleteEnvironmentCommandOutput extends DeleteEnvironmentOutput,
|
|
|
26
26
|
* import { MWAAClient, DeleteEnvironmentCommand } from "@aws-sdk/client-mwaa"; // ES Modules import
|
|
27
27
|
* // const { MWAAClient, DeleteEnvironmentCommand } = require("@aws-sdk/client-mwaa"); // CommonJS import
|
|
28
28
|
* const client = new MWAAClient(config);
|
|
29
|
+
* const input = { // DeleteEnvironmentInput
|
|
30
|
+
* Name: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DeleteEnvironmentCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface GetEnvironmentCommandOutput extends GetEnvironmentOutput, __Met
|
|
|
26
26
|
* import { MWAAClient, GetEnvironmentCommand } from "@aws-sdk/client-mwaa"; // ES Modules import
|
|
27
27
|
* // const { MWAAClient, GetEnvironmentCommand } = require("@aws-sdk/client-mwaa"); // CommonJS import
|
|
28
28
|
* const client = new MWAAClient(config);
|
|
29
|
+
* const input = { // GetEnvironmentInput
|
|
30
|
+
* Name: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new GetEnvironmentCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface ListEnvironmentsCommandOutput extends ListEnvironmentsOutput, _
|
|
|
26
26
|
* import { MWAAClient, ListEnvironmentsCommand } from "@aws-sdk/client-mwaa"; // ES Modules import
|
|
27
27
|
* // const { MWAAClient, ListEnvironmentsCommand } = require("@aws-sdk/client-mwaa"); // CommonJS import
|
|
28
28
|
* const client = new MWAAClient(config);
|
|
29
|
+
* const input = { // ListEnvironmentsInput
|
|
30
|
+
* NextToken: "STRING_VALUE",
|
|
31
|
+
* MaxResults: Number("int"),
|
|
32
|
+
* };
|
|
29
33
|
* const command = new ListEnvironmentsCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceOut
|
|
|
26
26
|
* import { MWAAClient, ListTagsForResourceCommand } from "@aws-sdk/client-mwaa"; // ES Modules import
|
|
27
27
|
* // const { MWAAClient, ListTagsForResourceCommand } = require("@aws-sdk/client-mwaa"); // CommonJS import
|
|
28
28
|
* const client = new MWAAClient(config);
|
|
29
|
+
* const input = { // ListTagsForResourceInput
|
|
30
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new ListTagsForResourceCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -27,6 +27,29 @@ export interface PublishMetricsCommandOutput extends PublishMetricsOutput, __Met
|
|
|
27
27
|
* import { MWAAClient, PublishMetricsCommand } from "@aws-sdk/client-mwaa"; // ES Modules import
|
|
28
28
|
* // const { MWAAClient, PublishMetricsCommand } = require("@aws-sdk/client-mwaa"); // CommonJS import
|
|
29
29
|
* const client = new MWAAClient(config);
|
|
30
|
+
* const input = { // PublishMetricsInput
|
|
31
|
+
* EnvironmentName: "STRING_VALUE", // required
|
|
32
|
+
* MetricData: [ // MetricData // required
|
|
33
|
+
* { // MetricDatum
|
|
34
|
+
* MetricName: "STRING_VALUE", // required
|
|
35
|
+
* Timestamp: new Date("TIMESTAMP"), // required
|
|
36
|
+
* Dimensions: [ // Dimensions
|
|
37
|
+
* { // Dimension
|
|
38
|
+
* Name: "STRING_VALUE", // required
|
|
39
|
+
* Value: "STRING_VALUE", // required
|
|
40
|
+
* },
|
|
41
|
+
* ],
|
|
42
|
+
* Value: Number("double"),
|
|
43
|
+
* Unit: "STRING_VALUE",
|
|
44
|
+
* StatisticValues: { // StatisticSet
|
|
45
|
+
* SampleCount: Number("int"),
|
|
46
|
+
* Sum: Number("double"),
|
|
47
|
+
* Minimum: Number("double"),
|
|
48
|
+
* Maximum: Number("double"),
|
|
49
|
+
* },
|
|
50
|
+
* },
|
|
51
|
+
* ],
|
|
52
|
+
* };
|
|
30
53
|
* const command = new PublishMetricsCommand(input);
|
|
31
54
|
* const response = await client.send(command);
|
|
32
55
|
* ```
|
|
@@ -26,6 +26,12 @@ export interface TagResourceCommandOutput extends TagResourceOutput, __MetadataB
|
|
|
26
26
|
* import { MWAAClient, TagResourceCommand } from "@aws-sdk/client-mwaa"; // ES Modules import
|
|
27
27
|
* // const { MWAAClient, TagResourceCommand } = require("@aws-sdk/client-mwaa"); // CommonJS import
|
|
28
28
|
* const client = new MWAAClient(config);
|
|
29
|
+
* const input = { // TagResourceInput
|
|
30
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
31
|
+
* Tags: { // TagMap // required
|
|
32
|
+
* "<keys>": "STRING_VALUE",
|
|
33
|
+
* },
|
|
34
|
+
* };
|
|
29
35
|
* const command = new TagResourceCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
|
@@ -26,6 +26,12 @@ export interface UntagResourceCommandOutput extends UntagResourceOutput, __Metad
|
|
|
26
26
|
* import { MWAAClient, UntagResourceCommand } from "@aws-sdk/client-mwaa"; // ES Modules import
|
|
27
27
|
* // const { MWAAClient, UntagResourceCommand } = require("@aws-sdk/client-mwaa"); // CommonJS import
|
|
28
28
|
* const client = new MWAAClient(config);
|
|
29
|
+
* const input = { // UntagResourceInput
|
|
30
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
31
|
+
* tagKeys: [ // TagKeyList // required
|
|
32
|
+
* "STRING_VALUE",
|
|
33
|
+
* ],
|
|
34
|
+
* };
|
|
29
35
|
* const command = new UntagResourceCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
|
@@ -26,6 +26,53 @@ export interface UpdateEnvironmentCommandOutput extends UpdateEnvironmentOutput,
|
|
|
26
26
|
* import { MWAAClient, UpdateEnvironmentCommand } from "@aws-sdk/client-mwaa"; // ES Modules import
|
|
27
27
|
* // const { MWAAClient, UpdateEnvironmentCommand } = require("@aws-sdk/client-mwaa"); // CommonJS import
|
|
28
28
|
* const client = new MWAAClient(config);
|
|
29
|
+
* const input = { // UpdateEnvironmentInput
|
|
30
|
+
* Name: "STRING_VALUE", // required
|
|
31
|
+
* ExecutionRoleArn: "STRING_VALUE",
|
|
32
|
+
* AirflowVersion: "STRING_VALUE",
|
|
33
|
+
* SourceBucketArn: "STRING_VALUE",
|
|
34
|
+
* DagS3Path: "STRING_VALUE",
|
|
35
|
+
* PluginsS3Path: "STRING_VALUE",
|
|
36
|
+
* PluginsS3ObjectVersion: "STRING_VALUE",
|
|
37
|
+
* RequirementsS3Path: "STRING_VALUE",
|
|
38
|
+
* RequirementsS3ObjectVersion: "STRING_VALUE",
|
|
39
|
+
* AirflowConfigurationOptions: { // AirflowConfigurationOptions
|
|
40
|
+
* "<keys>": "STRING_VALUE",
|
|
41
|
+
* },
|
|
42
|
+
* EnvironmentClass: "STRING_VALUE",
|
|
43
|
+
* MaxWorkers: Number("int"),
|
|
44
|
+
* NetworkConfiguration: { // UpdateNetworkConfigurationInput
|
|
45
|
+
* SecurityGroupIds: [ // SecurityGroupList // required
|
|
46
|
+
* "STRING_VALUE",
|
|
47
|
+
* ],
|
|
48
|
+
* },
|
|
49
|
+
* LoggingConfiguration: { // LoggingConfigurationInput
|
|
50
|
+
* DagProcessingLogs: { // ModuleLoggingConfigurationInput
|
|
51
|
+
* Enabled: true || false, // required
|
|
52
|
+
* LogLevel: "STRING_VALUE", // required
|
|
53
|
+
* },
|
|
54
|
+
* SchedulerLogs: {
|
|
55
|
+
* Enabled: true || false, // required
|
|
56
|
+
* LogLevel: "STRING_VALUE", // required
|
|
57
|
+
* },
|
|
58
|
+
* WebserverLogs: {
|
|
59
|
+
* Enabled: true || false, // required
|
|
60
|
+
* LogLevel: "STRING_VALUE", // required
|
|
61
|
+
* },
|
|
62
|
+
* WorkerLogs: {
|
|
63
|
+
* Enabled: true || false, // required
|
|
64
|
+
* LogLevel: "STRING_VALUE", // required
|
|
65
|
+
* },
|
|
66
|
+
* TaskLogs: {
|
|
67
|
+
* Enabled: true || false, // required
|
|
68
|
+
* LogLevel: "STRING_VALUE", // required
|
|
69
|
+
* },
|
|
70
|
+
* },
|
|
71
|
+
* WeeklyMaintenanceWindowStart: "STRING_VALUE",
|
|
72
|
+
* WebserverAccessMode: "STRING_VALUE",
|
|
73
|
+
* MinWorkers: Number("int"),
|
|
74
|
+
* Schedulers: Number("int"),
|
|
75
|
+
* };
|
|
29
76
|
* const command = new UpdateEnvironmentCommand(input);
|
|
30
77
|
* const response = await client.send(command);
|
|
31
78
|
* ```
|
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.301.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,9 +21,9 @@
|
|
|
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.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.301.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.300.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.301.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.296.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.296.0",
|
|
@@ -32,12 +32,12 @@
|
|
|
32
32
|
"@aws-sdk/middleware-host-header": "3.296.0",
|
|
33
33
|
"@aws-sdk/middleware-logger": "3.296.0",
|
|
34
34
|
"@aws-sdk/middleware-recursion-detection": "3.296.0",
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.300.0",
|
|
36
36
|
"@aws-sdk/middleware-serde": "3.296.0",
|
|
37
37
|
"@aws-sdk/middleware-signing": "3.299.0",
|
|
38
38
|
"@aws-sdk/middleware-stack": "3.296.0",
|
|
39
39
|
"@aws-sdk/middleware-user-agent": "3.299.0",
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.300.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.296.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.296.0",
|
|
43
43
|
"@aws-sdk/smithy-client": "3.296.0",
|
|
@@ -47,11 +47,11 @@
|
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.295.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.295.0",
|
|
49
49
|
"@aws-sdk/util-defaults-mode-browser": "3.296.0",
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.300.0",
|
|
51
51
|
"@aws-sdk/util-endpoints": "3.296.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.296.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.299.0",
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.300.0",
|
|
55
55
|
"@aws-sdk/util-utf8": "3.295.0",
|
|
56
56
|
"tslib": "^2.5.0"
|
|
57
57
|
},
|