@aws-sdk/client-mwaa 3.315.0 → 3.316.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/MWAA.js +15 -154
- package/dist-es/MWAA.js +15 -154
- package/dist-types/MWAA.d.ts +69 -79
- package/dist-types/ts3.4/MWAA.d.ts +2 -1
- package/package.json +6 -6
package/dist-cjs/MWAA.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.MWAA = void 0;
|
|
4
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
4
5
|
const CreateCliTokenCommand_1 = require("./commands/CreateCliTokenCommand");
|
|
5
6
|
const CreateEnvironmentCommand_1 = require("./commands/CreateEnvironmentCommand");
|
|
6
7
|
const CreateWebLoginTokenCommand_1 = require("./commands/CreateWebLoginTokenCommand");
|
|
@@ -13,160 +14,20 @@ const TagResourceCommand_1 = require("./commands/TagResourceCommand");
|
|
|
13
14
|
const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
|
|
14
15
|
const UpdateEnvironmentCommand_1 = require("./commands/UpdateEnvironmentCommand");
|
|
15
16
|
const MWAAClient_1 = require("./MWAAClient");
|
|
17
|
+
const commands = {
|
|
18
|
+
CreateCliTokenCommand: CreateCliTokenCommand_1.CreateCliTokenCommand,
|
|
19
|
+
CreateEnvironmentCommand: CreateEnvironmentCommand_1.CreateEnvironmentCommand,
|
|
20
|
+
CreateWebLoginTokenCommand: CreateWebLoginTokenCommand_1.CreateWebLoginTokenCommand,
|
|
21
|
+
DeleteEnvironmentCommand: DeleteEnvironmentCommand_1.DeleteEnvironmentCommand,
|
|
22
|
+
GetEnvironmentCommand: GetEnvironmentCommand_1.GetEnvironmentCommand,
|
|
23
|
+
ListEnvironmentsCommand: ListEnvironmentsCommand_1.ListEnvironmentsCommand,
|
|
24
|
+
ListTagsForResourceCommand: ListTagsForResourceCommand_1.ListTagsForResourceCommand,
|
|
25
|
+
PublishMetricsCommand: PublishMetricsCommand_1.PublishMetricsCommand,
|
|
26
|
+
TagResourceCommand: TagResourceCommand_1.TagResourceCommand,
|
|
27
|
+
UntagResourceCommand: UntagResourceCommand_1.UntagResourceCommand,
|
|
28
|
+
UpdateEnvironmentCommand: UpdateEnvironmentCommand_1.UpdateEnvironmentCommand,
|
|
29
|
+
};
|
|
16
30
|
class MWAA extends MWAAClient_1.MWAAClient {
|
|
17
|
-
createCliToken(args, optionsOrCb, cb) {
|
|
18
|
-
const command = new CreateCliTokenCommand_1.CreateCliTokenCommand(args);
|
|
19
|
-
if (typeof optionsOrCb === "function") {
|
|
20
|
-
this.send(command, optionsOrCb);
|
|
21
|
-
}
|
|
22
|
-
else if (typeof cb === "function") {
|
|
23
|
-
if (typeof optionsOrCb !== "object")
|
|
24
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
25
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
26
|
-
}
|
|
27
|
-
else {
|
|
28
|
-
return this.send(command, optionsOrCb);
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
createEnvironment(args, optionsOrCb, cb) {
|
|
32
|
-
const command = new CreateEnvironmentCommand_1.CreateEnvironmentCommand(args);
|
|
33
|
-
if (typeof optionsOrCb === "function") {
|
|
34
|
-
this.send(command, optionsOrCb);
|
|
35
|
-
}
|
|
36
|
-
else if (typeof cb === "function") {
|
|
37
|
-
if (typeof optionsOrCb !== "object")
|
|
38
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
39
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
40
|
-
}
|
|
41
|
-
else {
|
|
42
|
-
return this.send(command, optionsOrCb);
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
createWebLoginToken(args, optionsOrCb, cb) {
|
|
46
|
-
const command = new CreateWebLoginTokenCommand_1.CreateWebLoginTokenCommand(args);
|
|
47
|
-
if (typeof optionsOrCb === "function") {
|
|
48
|
-
this.send(command, optionsOrCb);
|
|
49
|
-
}
|
|
50
|
-
else if (typeof cb === "function") {
|
|
51
|
-
if (typeof optionsOrCb !== "object")
|
|
52
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
53
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
54
|
-
}
|
|
55
|
-
else {
|
|
56
|
-
return this.send(command, optionsOrCb);
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
deleteEnvironment(args, optionsOrCb, cb) {
|
|
60
|
-
const command = new DeleteEnvironmentCommand_1.DeleteEnvironmentCommand(args);
|
|
61
|
-
if (typeof optionsOrCb === "function") {
|
|
62
|
-
this.send(command, optionsOrCb);
|
|
63
|
-
}
|
|
64
|
-
else if (typeof cb === "function") {
|
|
65
|
-
if (typeof optionsOrCb !== "object")
|
|
66
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
67
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
68
|
-
}
|
|
69
|
-
else {
|
|
70
|
-
return this.send(command, optionsOrCb);
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
getEnvironment(args, optionsOrCb, cb) {
|
|
74
|
-
const command = new GetEnvironmentCommand_1.GetEnvironmentCommand(args);
|
|
75
|
-
if (typeof optionsOrCb === "function") {
|
|
76
|
-
this.send(command, optionsOrCb);
|
|
77
|
-
}
|
|
78
|
-
else if (typeof cb === "function") {
|
|
79
|
-
if (typeof optionsOrCb !== "object")
|
|
80
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
81
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
82
|
-
}
|
|
83
|
-
else {
|
|
84
|
-
return this.send(command, optionsOrCb);
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
listEnvironments(args, optionsOrCb, cb) {
|
|
88
|
-
const command = new ListEnvironmentsCommand_1.ListEnvironmentsCommand(args);
|
|
89
|
-
if (typeof optionsOrCb === "function") {
|
|
90
|
-
this.send(command, optionsOrCb);
|
|
91
|
-
}
|
|
92
|
-
else if (typeof cb === "function") {
|
|
93
|
-
if (typeof optionsOrCb !== "object")
|
|
94
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
95
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
96
|
-
}
|
|
97
|
-
else {
|
|
98
|
-
return this.send(command, optionsOrCb);
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
listTagsForResource(args, optionsOrCb, cb) {
|
|
102
|
-
const command = new ListTagsForResourceCommand_1.ListTagsForResourceCommand(args);
|
|
103
|
-
if (typeof optionsOrCb === "function") {
|
|
104
|
-
this.send(command, optionsOrCb);
|
|
105
|
-
}
|
|
106
|
-
else if (typeof cb === "function") {
|
|
107
|
-
if (typeof optionsOrCb !== "object")
|
|
108
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
109
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
110
|
-
}
|
|
111
|
-
else {
|
|
112
|
-
return this.send(command, optionsOrCb);
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
publishMetrics(args, optionsOrCb, cb) {
|
|
116
|
-
const command = new PublishMetricsCommand_1.PublishMetricsCommand(args);
|
|
117
|
-
if (typeof optionsOrCb === "function") {
|
|
118
|
-
this.send(command, optionsOrCb);
|
|
119
|
-
}
|
|
120
|
-
else if (typeof cb === "function") {
|
|
121
|
-
if (typeof optionsOrCb !== "object")
|
|
122
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
123
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
124
|
-
}
|
|
125
|
-
else {
|
|
126
|
-
return this.send(command, optionsOrCb);
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
tagResource(args, optionsOrCb, cb) {
|
|
130
|
-
const command = new TagResourceCommand_1.TagResourceCommand(args);
|
|
131
|
-
if (typeof optionsOrCb === "function") {
|
|
132
|
-
this.send(command, optionsOrCb);
|
|
133
|
-
}
|
|
134
|
-
else if (typeof cb === "function") {
|
|
135
|
-
if (typeof optionsOrCb !== "object")
|
|
136
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
137
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
138
|
-
}
|
|
139
|
-
else {
|
|
140
|
-
return this.send(command, optionsOrCb);
|
|
141
|
-
}
|
|
142
|
-
}
|
|
143
|
-
untagResource(args, optionsOrCb, cb) {
|
|
144
|
-
const command = new UntagResourceCommand_1.UntagResourceCommand(args);
|
|
145
|
-
if (typeof optionsOrCb === "function") {
|
|
146
|
-
this.send(command, optionsOrCb);
|
|
147
|
-
}
|
|
148
|
-
else if (typeof cb === "function") {
|
|
149
|
-
if (typeof optionsOrCb !== "object")
|
|
150
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
151
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
152
|
-
}
|
|
153
|
-
else {
|
|
154
|
-
return this.send(command, optionsOrCb);
|
|
155
|
-
}
|
|
156
|
-
}
|
|
157
|
-
updateEnvironment(args, optionsOrCb, cb) {
|
|
158
|
-
const command = new UpdateEnvironmentCommand_1.UpdateEnvironmentCommand(args);
|
|
159
|
-
if (typeof optionsOrCb === "function") {
|
|
160
|
-
this.send(command, optionsOrCb);
|
|
161
|
-
}
|
|
162
|
-
else if (typeof cb === "function") {
|
|
163
|
-
if (typeof optionsOrCb !== "object")
|
|
164
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
165
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
166
|
-
}
|
|
167
|
-
else {
|
|
168
|
-
return this.send(command, optionsOrCb);
|
|
169
|
-
}
|
|
170
|
-
}
|
|
171
31
|
}
|
|
172
32
|
exports.MWAA = MWAA;
|
|
33
|
+
(0, smithy_client_1.createAggregatedClient)(commands, MWAA);
|
package/dist-es/MWAA.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { createAggregatedClient } from "@aws-sdk/smithy-client";
|
|
1
2
|
import { CreateCliTokenCommand, } from "./commands/CreateCliTokenCommand";
|
|
2
3
|
import { CreateEnvironmentCommand, } from "./commands/CreateEnvironmentCommand";
|
|
3
4
|
import { CreateWebLoginTokenCommand, } from "./commands/CreateWebLoginTokenCommand";
|
|
@@ -10,159 +11,19 @@ import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
|
10
11
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
11
12
|
import { UpdateEnvironmentCommand, } from "./commands/UpdateEnvironmentCommand";
|
|
12
13
|
import { MWAAClient } from "./MWAAClient";
|
|
14
|
+
const commands = {
|
|
15
|
+
CreateCliTokenCommand,
|
|
16
|
+
CreateEnvironmentCommand,
|
|
17
|
+
CreateWebLoginTokenCommand,
|
|
18
|
+
DeleteEnvironmentCommand,
|
|
19
|
+
GetEnvironmentCommand,
|
|
20
|
+
ListEnvironmentsCommand,
|
|
21
|
+
ListTagsForResourceCommand,
|
|
22
|
+
PublishMetricsCommand,
|
|
23
|
+
TagResourceCommand,
|
|
24
|
+
UntagResourceCommand,
|
|
25
|
+
UpdateEnvironmentCommand,
|
|
26
|
+
};
|
|
13
27
|
export class MWAA extends MWAAClient {
|
|
14
|
-
createCliToken(args, optionsOrCb, cb) {
|
|
15
|
-
const command = new CreateCliTokenCommand(args);
|
|
16
|
-
if (typeof optionsOrCb === "function") {
|
|
17
|
-
this.send(command, optionsOrCb);
|
|
18
|
-
}
|
|
19
|
-
else if (typeof cb === "function") {
|
|
20
|
-
if (typeof optionsOrCb !== "object")
|
|
21
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
22
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
23
|
-
}
|
|
24
|
-
else {
|
|
25
|
-
return this.send(command, optionsOrCb);
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
createEnvironment(args, optionsOrCb, cb) {
|
|
29
|
-
const command = new CreateEnvironmentCommand(args);
|
|
30
|
-
if (typeof optionsOrCb === "function") {
|
|
31
|
-
this.send(command, optionsOrCb);
|
|
32
|
-
}
|
|
33
|
-
else if (typeof cb === "function") {
|
|
34
|
-
if (typeof optionsOrCb !== "object")
|
|
35
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
36
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
37
|
-
}
|
|
38
|
-
else {
|
|
39
|
-
return this.send(command, optionsOrCb);
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
createWebLoginToken(args, optionsOrCb, cb) {
|
|
43
|
-
const command = new CreateWebLoginTokenCommand(args);
|
|
44
|
-
if (typeof optionsOrCb === "function") {
|
|
45
|
-
this.send(command, optionsOrCb);
|
|
46
|
-
}
|
|
47
|
-
else if (typeof cb === "function") {
|
|
48
|
-
if (typeof optionsOrCb !== "object")
|
|
49
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
50
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
51
|
-
}
|
|
52
|
-
else {
|
|
53
|
-
return this.send(command, optionsOrCb);
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
deleteEnvironment(args, optionsOrCb, cb) {
|
|
57
|
-
const command = new DeleteEnvironmentCommand(args);
|
|
58
|
-
if (typeof optionsOrCb === "function") {
|
|
59
|
-
this.send(command, optionsOrCb);
|
|
60
|
-
}
|
|
61
|
-
else if (typeof cb === "function") {
|
|
62
|
-
if (typeof optionsOrCb !== "object")
|
|
63
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
64
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
65
|
-
}
|
|
66
|
-
else {
|
|
67
|
-
return this.send(command, optionsOrCb);
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
getEnvironment(args, optionsOrCb, cb) {
|
|
71
|
-
const command = new GetEnvironmentCommand(args);
|
|
72
|
-
if (typeof optionsOrCb === "function") {
|
|
73
|
-
this.send(command, optionsOrCb);
|
|
74
|
-
}
|
|
75
|
-
else if (typeof cb === "function") {
|
|
76
|
-
if (typeof optionsOrCb !== "object")
|
|
77
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
78
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
79
|
-
}
|
|
80
|
-
else {
|
|
81
|
-
return this.send(command, optionsOrCb);
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
listEnvironments(args, optionsOrCb, cb) {
|
|
85
|
-
const command = new ListEnvironmentsCommand(args);
|
|
86
|
-
if (typeof optionsOrCb === "function") {
|
|
87
|
-
this.send(command, optionsOrCb);
|
|
88
|
-
}
|
|
89
|
-
else if (typeof cb === "function") {
|
|
90
|
-
if (typeof optionsOrCb !== "object")
|
|
91
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
92
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
93
|
-
}
|
|
94
|
-
else {
|
|
95
|
-
return this.send(command, optionsOrCb);
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
listTagsForResource(args, optionsOrCb, cb) {
|
|
99
|
-
const command = new ListTagsForResourceCommand(args);
|
|
100
|
-
if (typeof optionsOrCb === "function") {
|
|
101
|
-
this.send(command, optionsOrCb);
|
|
102
|
-
}
|
|
103
|
-
else if (typeof cb === "function") {
|
|
104
|
-
if (typeof optionsOrCb !== "object")
|
|
105
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
106
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
107
|
-
}
|
|
108
|
-
else {
|
|
109
|
-
return this.send(command, optionsOrCb);
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
publishMetrics(args, optionsOrCb, cb) {
|
|
113
|
-
const command = new PublishMetricsCommand(args);
|
|
114
|
-
if (typeof optionsOrCb === "function") {
|
|
115
|
-
this.send(command, optionsOrCb);
|
|
116
|
-
}
|
|
117
|
-
else if (typeof cb === "function") {
|
|
118
|
-
if (typeof optionsOrCb !== "object")
|
|
119
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
120
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
121
|
-
}
|
|
122
|
-
else {
|
|
123
|
-
return this.send(command, optionsOrCb);
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
tagResource(args, optionsOrCb, cb) {
|
|
127
|
-
const command = new TagResourceCommand(args);
|
|
128
|
-
if (typeof optionsOrCb === "function") {
|
|
129
|
-
this.send(command, optionsOrCb);
|
|
130
|
-
}
|
|
131
|
-
else if (typeof cb === "function") {
|
|
132
|
-
if (typeof optionsOrCb !== "object")
|
|
133
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
134
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
135
|
-
}
|
|
136
|
-
else {
|
|
137
|
-
return this.send(command, optionsOrCb);
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
untagResource(args, optionsOrCb, cb) {
|
|
141
|
-
const command = new UntagResourceCommand(args);
|
|
142
|
-
if (typeof optionsOrCb === "function") {
|
|
143
|
-
this.send(command, optionsOrCb);
|
|
144
|
-
}
|
|
145
|
-
else if (typeof cb === "function") {
|
|
146
|
-
if (typeof optionsOrCb !== "object")
|
|
147
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
148
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
149
|
-
}
|
|
150
|
-
else {
|
|
151
|
-
return this.send(command, optionsOrCb);
|
|
152
|
-
}
|
|
153
|
-
}
|
|
154
|
-
updateEnvironment(args, optionsOrCb, cb) {
|
|
155
|
-
const command = new UpdateEnvironmentCommand(args);
|
|
156
|
-
if (typeof optionsOrCb === "function") {
|
|
157
|
-
this.send(command, optionsOrCb);
|
|
158
|
-
}
|
|
159
|
-
else if (typeof cb === "function") {
|
|
160
|
-
if (typeof optionsOrCb !== "object")
|
|
161
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
162
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
163
|
-
}
|
|
164
|
-
else {
|
|
165
|
-
return this.send(command, optionsOrCb);
|
|
166
|
-
}
|
|
167
|
-
}
|
|
168
28
|
}
|
|
29
|
+
createAggregatedClient(commands, MWAA);
|
package/dist-types/MWAA.d.ts
CHANGED
|
@@ -11,6 +11,74 @@ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/Ta
|
|
|
11
11
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
12
12
|
import { UpdateEnvironmentCommandInput, UpdateEnvironmentCommandOutput } from "./commands/UpdateEnvironmentCommand";
|
|
13
13
|
import { MWAAClient } from "./MWAAClient";
|
|
14
|
+
export interface MWAA {
|
|
15
|
+
/**
|
|
16
|
+
* @see {@link CreateCliTokenCommand}
|
|
17
|
+
*/
|
|
18
|
+
createCliToken(args: CreateCliTokenCommandInput, options?: __HttpHandlerOptions): Promise<CreateCliTokenCommandOutput>;
|
|
19
|
+
createCliToken(args: CreateCliTokenCommandInput, cb: (err: any, data?: CreateCliTokenCommandOutput) => void): void;
|
|
20
|
+
createCliToken(args: CreateCliTokenCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateCliTokenCommandOutput) => void): void;
|
|
21
|
+
/**
|
|
22
|
+
* @see {@link CreateEnvironmentCommand}
|
|
23
|
+
*/
|
|
24
|
+
createEnvironment(args: CreateEnvironmentCommandInput, options?: __HttpHandlerOptions): Promise<CreateEnvironmentCommandOutput>;
|
|
25
|
+
createEnvironment(args: CreateEnvironmentCommandInput, cb: (err: any, data?: CreateEnvironmentCommandOutput) => void): void;
|
|
26
|
+
createEnvironment(args: CreateEnvironmentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateEnvironmentCommandOutput) => void): void;
|
|
27
|
+
/**
|
|
28
|
+
* @see {@link CreateWebLoginTokenCommand}
|
|
29
|
+
*/
|
|
30
|
+
createWebLoginToken(args: CreateWebLoginTokenCommandInput, options?: __HttpHandlerOptions): Promise<CreateWebLoginTokenCommandOutput>;
|
|
31
|
+
createWebLoginToken(args: CreateWebLoginTokenCommandInput, cb: (err: any, data?: CreateWebLoginTokenCommandOutput) => void): void;
|
|
32
|
+
createWebLoginToken(args: CreateWebLoginTokenCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateWebLoginTokenCommandOutput) => void): void;
|
|
33
|
+
/**
|
|
34
|
+
* @see {@link DeleteEnvironmentCommand}
|
|
35
|
+
*/
|
|
36
|
+
deleteEnvironment(args: DeleteEnvironmentCommandInput, options?: __HttpHandlerOptions): Promise<DeleteEnvironmentCommandOutput>;
|
|
37
|
+
deleteEnvironment(args: DeleteEnvironmentCommandInput, cb: (err: any, data?: DeleteEnvironmentCommandOutput) => void): void;
|
|
38
|
+
deleteEnvironment(args: DeleteEnvironmentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteEnvironmentCommandOutput) => void): void;
|
|
39
|
+
/**
|
|
40
|
+
* @see {@link GetEnvironmentCommand}
|
|
41
|
+
*/
|
|
42
|
+
getEnvironment(args: GetEnvironmentCommandInput, options?: __HttpHandlerOptions): Promise<GetEnvironmentCommandOutput>;
|
|
43
|
+
getEnvironment(args: GetEnvironmentCommandInput, cb: (err: any, data?: GetEnvironmentCommandOutput) => void): void;
|
|
44
|
+
getEnvironment(args: GetEnvironmentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetEnvironmentCommandOutput) => void): void;
|
|
45
|
+
/**
|
|
46
|
+
* @see {@link ListEnvironmentsCommand}
|
|
47
|
+
*/
|
|
48
|
+
listEnvironments(args: ListEnvironmentsCommandInput, options?: __HttpHandlerOptions): Promise<ListEnvironmentsCommandOutput>;
|
|
49
|
+
listEnvironments(args: ListEnvironmentsCommandInput, cb: (err: any, data?: ListEnvironmentsCommandOutput) => void): void;
|
|
50
|
+
listEnvironments(args: ListEnvironmentsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListEnvironmentsCommandOutput) => void): void;
|
|
51
|
+
/**
|
|
52
|
+
* @see {@link ListTagsForResourceCommand}
|
|
53
|
+
*/
|
|
54
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
55
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
56
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
57
|
+
/**
|
|
58
|
+
* @see {@link PublishMetricsCommand}
|
|
59
|
+
*/
|
|
60
|
+
publishMetrics(args: PublishMetricsCommandInput, options?: __HttpHandlerOptions): Promise<PublishMetricsCommandOutput>;
|
|
61
|
+
publishMetrics(args: PublishMetricsCommandInput, cb: (err: any, data?: PublishMetricsCommandOutput) => void): void;
|
|
62
|
+
publishMetrics(args: PublishMetricsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PublishMetricsCommandOutput) => void): void;
|
|
63
|
+
/**
|
|
64
|
+
* @see {@link TagResourceCommand}
|
|
65
|
+
*/
|
|
66
|
+
tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
67
|
+
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
68
|
+
tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
69
|
+
/**
|
|
70
|
+
* @see {@link UntagResourceCommand}
|
|
71
|
+
*/
|
|
72
|
+
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
73
|
+
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
74
|
+
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
75
|
+
/**
|
|
76
|
+
* @see {@link UpdateEnvironmentCommand}
|
|
77
|
+
*/
|
|
78
|
+
updateEnvironment(args: UpdateEnvironmentCommandInput, options?: __HttpHandlerOptions): Promise<UpdateEnvironmentCommandOutput>;
|
|
79
|
+
updateEnvironment(args: UpdateEnvironmentCommandInput, cb: (err: any, data?: UpdateEnvironmentCommandOutput) => void): void;
|
|
80
|
+
updateEnvironment(args: UpdateEnvironmentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateEnvironmentCommandOutput) => void): void;
|
|
81
|
+
}
|
|
14
82
|
/**
|
|
15
83
|
* @public
|
|
16
84
|
* <fullname>Amazon Managed Workflows for Apache Airflow</fullname>
|
|
@@ -98,83 +166,5 @@ import { MWAAClient } from "./MWAAClient";
|
|
|
98
166
|
* </p>
|
|
99
167
|
* <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>
|
|
100
168
|
*/
|
|
101
|
-
export declare class MWAA extends MWAAClient {
|
|
102
|
-
/**
|
|
103
|
-
* @public
|
|
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>
|
|
105
|
-
*/
|
|
106
|
-
createCliToken(args: CreateCliTokenCommandInput, options?: __HttpHandlerOptions): Promise<CreateCliTokenCommandOutput>;
|
|
107
|
-
createCliToken(args: CreateCliTokenCommandInput, cb: (err: any, data?: CreateCliTokenCommandOutput) => void): void;
|
|
108
|
-
createCliToken(args: CreateCliTokenCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateCliTokenCommandOutput) => void): void;
|
|
109
|
-
/**
|
|
110
|
-
* @public
|
|
111
|
-
* <p>Creates an Amazon Managed Workflows for Apache Airflow (MWAA) environment.</p>
|
|
112
|
-
*/
|
|
113
|
-
createEnvironment(args: CreateEnvironmentCommandInput, options?: __HttpHandlerOptions): Promise<CreateEnvironmentCommandOutput>;
|
|
114
|
-
createEnvironment(args: CreateEnvironmentCommandInput, cb: (err: any, data?: CreateEnvironmentCommandOutput) => void): void;
|
|
115
|
-
createEnvironment(args: CreateEnvironmentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateEnvironmentCommandOutput) => void): void;
|
|
116
|
-
/**
|
|
117
|
-
* @public
|
|
118
|
-
* <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>
|
|
119
|
-
*/
|
|
120
|
-
createWebLoginToken(args: CreateWebLoginTokenCommandInput, options?: __HttpHandlerOptions): Promise<CreateWebLoginTokenCommandOutput>;
|
|
121
|
-
createWebLoginToken(args: CreateWebLoginTokenCommandInput, cb: (err: any, data?: CreateWebLoginTokenCommandOutput) => void): void;
|
|
122
|
-
createWebLoginToken(args: CreateWebLoginTokenCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateWebLoginTokenCommandOutput) => void): void;
|
|
123
|
-
/**
|
|
124
|
-
* @public
|
|
125
|
-
* <p>Deletes an Amazon Managed Workflows for Apache Airflow (MWAA) environment.</p>
|
|
126
|
-
*/
|
|
127
|
-
deleteEnvironment(args: DeleteEnvironmentCommandInput, options?: __HttpHandlerOptions): Promise<DeleteEnvironmentCommandOutput>;
|
|
128
|
-
deleteEnvironment(args: DeleteEnvironmentCommandInput, cb: (err: any, data?: DeleteEnvironmentCommandOutput) => void): void;
|
|
129
|
-
deleteEnvironment(args: DeleteEnvironmentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteEnvironmentCommandOutput) => void): void;
|
|
130
|
-
/**
|
|
131
|
-
* @public
|
|
132
|
-
* <p>Describes an Amazon Managed Workflows for Apache Airflow (MWAA) environment.</p>
|
|
133
|
-
*/
|
|
134
|
-
getEnvironment(args: GetEnvironmentCommandInput, options?: __HttpHandlerOptions): Promise<GetEnvironmentCommandOutput>;
|
|
135
|
-
getEnvironment(args: GetEnvironmentCommandInput, cb: (err: any, data?: GetEnvironmentCommandOutput) => void): void;
|
|
136
|
-
getEnvironment(args: GetEnvironmentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetEnvironmentCommandOutput) => void): void;
|
|
137
|
-
/**
|
|
138
|
-
* @public
|
|
139
|
-
* <p>Lists the Amazon Managed Workflows for Apache Airflow (MWAA) environments.</p>
|
|
140
|
-
*/
|
|
141
|
-
listEnvironments(args: ListEnvironmentsCommandInput, options?: __HttpHandlerOptions): Promise<ListEnvironmentsCommandOutput>;
|
|
142
|
-
listEnvironments(args: ListEnvironmentsCommandInput, cb: (err: any, data?: ListEnvironmentsCommandOutput) => void): void;
|
|
143
|
-
listEnvironments(args: ListEnvironmentsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListEnvironmentsCommandOutput) => void): void;
|
|
144
|
-
/**
|
|
145
|
-
* @public
|
|
146
|
-
* <p>Lists the key-value tag pairs associated to the Amazon Managed Workflows for Apache Airflow (MWAA) environment. For example, <code>"Environment": "Staging"</code>. </p>
|
|
147
|
-
*/
|
|
148
|
-
listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
149
|
-
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
150
|
-
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
151
|
-
/**
|
|
152
|
-
* @public
|
|
153
|
-
* <p>
|
|
154
|
-
* <b>Internal only</b>. Publishes environment health metrics to Amazon CloudWatch.</p>
|
|
155
|
-
*/
|
|
156
|
-
publishMetrics(args: PublishMetricsCommandInput, options?: __HttpHandlerOptions): Promise<PublishMetricsCommandOutput>;
|
|
157
|
-
publishMetrics(args: PublishMetricsCommandInput, cb: (err: any, data?: PublishMetricsCommandOutput) => void): void;
|
|
158
|
-
publishMetrics(args: PublishMetricsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PublishMetricsCommandOutput) => void): void;
|
|
159
|
-
/**
|
|
160
|
-
* @public
|
|
161
|
-
* <p>Associates key-value tag pairs to your Amazon Managed Workflows for Apache Airflow (MWAA) environment. </p>
|
|
162
|
-
*/
|
|
163
|
-
tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
164
|
-
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
165
|
-
tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
166
|
-
/**
|
|
167
|
-
* @public
|
|
168
|
-
* <p>Removes key-value tag pairs associated to your Amazon Managed Workflows for Apache Airflow (MWAA) environment. For example, <code>"Environment": "Staging"</code>.</p>
|
|
169
|
-
*/
|
|
170
|
-
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
171
|
-
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
172
|
-
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
173
|
-
/**
|
|
174
|
-
* @public
|
|
175
|
-
* <p>Updates an Amazon Managed Workflows for Apache Airflow (MWAA) environment.</p>
|
|
176
|
-
*/
|
|
177
|
-
updateEnvironment(args: UpdateEnvironmentCommandInput, options?: __HttpHandlerOptions): Promise<UpdateEnvironmentCommandOutput>;
|
|
178
|
-
updateEnvironment(args: UpdateEnvironmentCommandInput, cb: (err: any, data?: UpdateEnvironmentCommandOutput) => void): void;
|
|
179
|
-
updateEnvironment(args: UpdateEnvironmentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateEnvironmentCommandOutput) => void): void;
|
|
169
|
+
export declare class MWAA extends MWAAClient implements MWAA {
|
|
180
170
|
}
|
|
@@ -44,7 +44,7 @@ import {
|
|
|
44
44
|
UpdateEnvironmentCommandOutput,
|
|
45
45
|
} from "./commands/UpdateEnvironmentCommand";
|
|
46
46
|
import { MWAAClient } from "./MWAAClient";
|
|
47
|
-
export
|
|
47
|
+
export interface MWAA {
|
|
48
48
|
createCliToken(
|
|
49
49
|
args: CreateCliTokenCommandInput,
|
|
50
50
|
options?: __HttpHandlerOptions
|
|
@@ -189,3 +189,4 @@ export declare class MWAA extends MWAAClient {
|
|
|
189
189
|
cb: (err: any, data?: UpdateEnvironmentCommandOutput) => void
|
|
190
190
|
): void;
|
|
191
191
|
}
|
|
192
|
+
export declare class MWAA extends MWAAClient implements MWAA {}
|
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.316.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.
|
|
24
|
+
"@aws-sdk/client-sts": "3.316.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.310.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.316.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.310.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.310.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.310.0",
|
|
@@ -40,14 +40,14 @@
|
|
|
40
40
|
"@aws-sdk/node-config-provider": "3.310.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.310.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.310.0",
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
+
"@aws-sdk/smithy-client": "3.316.0",
|
|
44
44
|
"@aws-sdk/types": "3.310.0",
|
|
45
45
|
"@aws-sdk/url-parser": "3.310.0",
|
|
46
46
|
"@aws-sdk/util-base64": "3.310.0",
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.310.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.316.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.316.0",
|
|
51
51
|
"@aws-sdk/util-endpoints": "3.310.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.310.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.310.0",
|