@aws-sdk/client-mwaa 3.186.0 → 3.190.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 +16 -0
- package/dist-es/MWAA.js +46 -53
- package/dist-es/MWAAClient.js +22 -28
- package/dist-es/commands/CreateCliTokenCommand.js +21 -28
- package/dist-es/commands/CreateEnvironmentCommand.js +21 -28
- package/dist-es/commands/CreateWebLoginTokenCommand.js +21 -28
- package/dist-es/commands/DeleteEnvironmentCommand.js +21 -28
- package/dist-es/commands/GetEnvironmentCommand.js +21 -28
- package/dist-es/commands/ListEnvironmentsCommand.js +21 -28
- package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
- package/dist-es/commands/PublishMetricsCommand.js +21 -28
- package/dist-es/commands/TagResourceCommand.js +21 -28
- package/dist-es/commands/UntagResourceCommand.js +21 -28
- package/dist-es/commands/UpdateEnvironmentCommand.js +21 -28
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/MWAAServiceException.js +5 -10
- package/dist-es/models/models_0.js +153 -80
- package/dist-es/pagination/ListEnvironmentsPaginator.js +25 -68
- package/dist-es/protocols/Aws_restJson1.js +897 -1192
- package/dist-es/runtimeConfig.browser.js +26 -12
- package/dist-es/runtimeConfig.js +30 -12
- package/dist-es/runtimeConfig.native.js +8 -5
- package/dist-es/runtimeConfig.shared.js +8 -11
- package/package.json +33 -33
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,22 @@
|
|
|
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.190.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.189.0...v3.190.0) (2022-10-17)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-mwaa
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.188.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.187.0...v3.188.0) (2022-10-13)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @aws-sdk/client-mwaa
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
6
22
|
# [3.186.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.185.0...v3.186.0) (2022-10-06)
|
|
7
23
|
|
|
8
24
|
**Note:** Version bump only for package @aws-sdk/client-mwaa
|
package/dist-es/MWAA.js
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { CreateCliTokenCommand, } from "./commands/CreateCliTokenCommand";
|
|
3
2
|
import { CreateEnvironmentCommand, } from "./commands/CreateEnvironmentCommand";
|
|
4
3
|
import { CreateWebLoginTokenCommand, } from "./commands/CreateWebLoginTokenCommand";
|
|
@@ -11,165 +10,159 @@ import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
|
11
10
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
12
11
|
import { UpdateEnvironmentCommand, } from "./commands/UpdateEnvironmentCommand";
|
|
13
12
|
import { MWAAClient } from "./MWAAClient";
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
18
|
-
}
|
|
19
|
-
MWAA.prototype.createCliToken = function (args, optionsOrCb, cb) {
|
|
20
|
-
var command = new CreateCliTokenCommand(args);
|
|
13
|
+
export class MWAA extends MWAAClient {
|
|
14
|
+
createCliToken(args, optionsOrCb, cb) {
|
|
15
|
+
const command = new CreateCliTokenCommand(args);
|
|
21
16
|
if (typeof optionsOrCb === "function") {
|
|
22
17
|
this.send(command, optionsOrCb);
|
|
23
18
|
}
|
|
24
19
|
else if (typeof cb === "function") {
|
|
25
20
|
if (typeof optionsOrCb !== "object")
|
|
26
|
-
throw new Error(
|
|
21
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
27
22
|
this.send(command, optionsOrCb || {}, cb);
|
|
28
23
|
}
|
|
29
24
|
else {
|
|
30
25
|
return this.send(command, optionsOrCb);
|
|
31
26
|
}
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
|
|
27
|
+
}
|
|
28
|
+
createEnvironment(args, optionsOrCb, cb) {
|
|
29
|
+
const command = new CreateEnvironmentCommand(args);
|
|
35
30
|
if (typeof optionsOrCb === "function") {
|
|
36
31
|
this.send(command, optionsOrCb);
|
|
37
32
|
}
|
|
38
33
|
else if (typeof cb === "function") {
|
|
39
34
|
if (typeof optionsOrCb !== "object")
|
|
40
|
-
throw new Error(
|
|
35
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
41
36
|
this.send(command, optionsOrCb || {}, cb);
|
|
42
37
|
}
|
|
43
38
|
else {
|
|
44
39
|
return this.send(command, optionsOrCb);
|
|
45
40
|
}
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
|
|
41
|
+
}
|
|
42
|
+
createWebLoginToken(args, optionsOrCb, cb) {
|
|
43
|
+
const command = new CreateWebLoginTokenCommand(args);
|
|
49
44
|
if (typeof optionsOrCb === "function") {
|
|
50
45
|
this.send(command, optionsOrCb);
|
|
51
46
|
}
|
|
52
47
|
else if (typeof cb === "function") {
|
|
53
48
|
if (typeof optionsOrCb !== "object")
|
|
54
|
-
throw new Error(
|
|
49
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
55
50
|
this.send(command, optionsOrCb || {}, cb);
|
|
56
51
|
}
|
|
57
52
|
else {
|
|
58
53
|
return this.send(command, optionsOrCb);
|
|
59
54
|
}
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
|
|
55
|
+
}
|
|
56
|
+
deleteEnvironment(args, optionsOrCb, cb) {
|
|
57
|
+
const command = new DeleteEnvironmentCommand(args);
|
|
63
58
|
if (typeof optionsOrCb === "function") {
|
|
64
59
|
this.send(command, optionsOrCb);
|
|
65
60
|
}
|
|
66
61
|
else if (typeof cb === "function") {
|
|
67
62
|
if (typeof optionsOrCb !== "object")
|
|
68
|
-
throw new Error(
|
|
63
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
69
64
|
this.send(command, optionsOrCb || {}, cb);
|
|
70
65
|
}
|
|
71
66
|
else {
|
|
72
67
|
return this.send(command, optionsOrCb);
|
|
73
68
|
}
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
|
|
69
|
+
}
|
|
70
|
+
getEnvironment(args, optionsOrCb, cb) {
|
|
71
|
+
const command = new GetEnvironmentCommand(args);
|
|
77
72
|
if (typeof optionsOrCb === "function") {
|
|
78
73
|
this.send(command, optionsOrCb);
|
|
79
74
|
}
|
|
80
75
|
else if (typeof cb === "function") {
|
|
81
76
|
if (typeof optionsOrCb !== "object")
|
|
82
|
-
throw new Error(
|
|
77
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
83
78
|
this.send(command, optionsOrCb || {}, cb);
|
|
84
79
|
}
|
|
85
80
|
else {
|
|
86
81
|
return this.send(command, optionsOrCb);
|
|
87
82
|
}
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
|
|
83
|
+
}
|
|
84
|
+
listEnvironments(args, optionsOrCb, cb) {
|
|
85
|
+
const command = new ListEnvironmentsCommand(args);
|
|
91
86
|
if (typeof optionsOrCb === "function") {
|
|
92
87
|
this.send(command, optionsOrCb);
|
|
93
88
|
}
|
|
94
89
|
else if (typeof cb === "function") {
|
|
95
90
|
if (typeof optionsOrCb !== "object")
|
|
96
|
-
throw new Error(
|
|
91
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
97
92
|
this.send(command, optionsOrCb || {}, cb);
|
|
98
93
|
}
|
|
99
94
|
else {
|
|
100
95
|
return this.send(command, optionsOrCb);
|
|
101
96
|
}
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
|
|
97
|
+
}
|
|
98
|
+
listTagsForResource(args, optionsOrCb, cb) {
|
|
99
|
+
const command = new ListTagsForResourceCommand(args);
|
|
105
100
|
if (typeof optionsOrCb === "function") {
|
|
106
101
|
this.send(command, optionsOrCb);
|
|
107
102
|
}
|
|
108
103
|
else if (typeof cb === "function") {
|
|
109
104
|
if (typeof optionsOrCb !== "object")
|
|
110
|
-
throw new Error(
|
|
105
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
111
106
|
this.send(command, optionsOrCb || {}, cb);
|
|
112
107
|
}
|
|
113
108
|
else {
|
|
114
109
|
return this.send(command, optionsOrCb);
|
|
115
110
|
}
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
|
|
111
|
+
}
|
|
112
|
+
publishMetrics(args, optionsOrCb, cb) {
|
|
113
|
+
const command = new PublishMetricsCommand(args);
|
|
119
114
|
if (typeof optionsOrCb === "function") {
|
|
120
115
|
this.send(command, optionsOrCb);
|
|
121
116
|
}
|
|
122
117
|
else if (typeof cb === "function") {
|
|
123
118
|
if (typeof optionsOrCb !== "object")
|
|
124
|
-
throw new Error(
|
|
119
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
125
120
|
this.send(command, optionsOrCb || {}, cb);
|
|
126
121
|
}
|
|
127
122
|
else {
|
|
128
123
|
return this.send(command, optionsOrCb);
|
|
129
124
|
}
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
|
|
125
|
+
}
|
|
126
|
+
tagResource(args, optionsOrCb, cb) {
|
|
127
|
+
const command = new TagResourceCommand(args);
|
|
133
128
|
if (typeof optionsOrCb === "function") {
|
|
134
129
|
this.send(command, optionsOrCb);
|
|
135
130
|
}
|
|
136
131
|
else if (typeof cb === "function") {
|
|
137
132
|
if (typeof optionsOrCb !== "object")
|
|
138
|
-
throw new Error(
|
|
133
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
139
134
|
this.send(command, optionsOrCb || {}, cb);
|
|
140
135
|
}
|
|
141
136
|
else {
|
|
142
137
|
return this.send(command, optionsOrCb);
|
|
143
138
|
}
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
|
|
139
|
+
}
|
|
140
|
+
untagResource(args, optionsOrCb, cb) {
|
|
141
|
+
const command = new UntagResourceCommand(args);
|
|
147
142
|
if (typeof optionsOrCb === "function") {
|
|
148
143
|
this.send(command, optionsOrCb);
|
|
149
144
|
}
|
|
150
145
|
else if (typeof cb === "function") {
|
|
151
146
|
if (typeof optionsOrCb !== "object")
|
|
152
|
-
throw new Error(
|
|
147
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
153
148
|
this.send(command, optionsOrCb || {}, cb);
|
|
154
149
|
}
|
|
155
150
|
else {
|
|
156
151
|
return this.send(command, optionsOrCb);
|
|
157
152
|
}
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
|
|
153
|
+
}
|
|
154
|
+
updateEnvironment(args, optionsOrCb, cb) {
|
|
155
|
+
const command = new UpdateEnvironmentCommand(args);
|
|
161
156
|
if (typeof optionsOrCb === "function") {
|
|
162
157
|
this.send(command, optionsOrCb);
|
|
163
158
|
}
|
|
164
159
|
else if (typeof cb === "function") {
|
|
165
160
|
if (typeof optionsOrCb !== "object")
|
|
166
|
-
throw new Error(
|
|
161
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
167
162
|
this.send(command, optionsOrCb || {}, cb);
|
|
168
163
|
}
|
|
169
164
|
else {
|
|
170
165
|
return this.send(command, optionsOrCb);
|
|
171
166
|
}
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
}(MWAAClient));
|
|
175
|
-
export { MWAA };
|
|
167
|
+
}
|
|
168
|
+
}
|
package/dist-es/MWAAClient.js
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
|
|
3
2
|
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
4
3
|
import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
|
|
@@ -9,31 +8,26 @@ import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-sig
|
|
|
9
8
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
10
9
|
import { Client as __Client, } from "@aws-sdk/smithy-client";
|
|
11
10
|
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
_this.middlewareStack.use(getAwsAuthPlugin(_this.config));
|
|
31
|
-
_this.middlewareStack.use(getUserAgentPlugin(_this.config));
|
|
32
|
-
return _this;
|
|
11
|
+
export class MWAAClient extends __Client {
|
|
12
|
+
constructor(configuration) {
|
|
13
|
+
const _config_0 = __getRuntimeConfig(configuration);
|
|
14
|
+
const _config_1 = resolveRegionConfig(_config_0);
|
|
15
|
+
const _config_2 = resolveEndpointsConfig(_config_1);
|
|
16
|
+
const _config_3 = resolveRetryConfig(_config_2);
|
|
17
|
+
const _config_4 = resolveHostHeaderConfig(_config_3);
|
|
18
|
+
const _config_5 = resolveAwsAuthConfig(_config_4);
|
|
19
|
+
const _config_6 = resolveUserAgentConfig(_config_5);
|
|
20
|
+
super(_config_6);
|
|
21
|
+
this.config = _config_6;
|
|
22
|
+
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
23
|
+
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
24
|
+
this.middlewareStack.use(getHostHeaderPlugin(this.config));
|
|
25
|
+
this.middlewareStack.use(getLoggerPlugin(this.config));
|
|
26
|
+
this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
|
|
27
|
+
this.middlewareStack.use(getAwsAuthPlugin(this.config));
|
|
28
|
+
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
33
29
|
}
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}(__Client));
|
|
39
|
-
export { MWAAClient };
|
|
30
|
+
destroy() {
|
|
31
|
+
super.destroy();
|
|
32
|
+
}
|
|
33
|
+
}
|
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
3
|
import { CreateCliTokenRequestFilterSensitiveLog, CreateCliTokenResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1CreateCliTokenCommand, serializeAws_restJson1CreateCliTokenCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class CreateCliTokenCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "MWAAClient";
|
|
15
|
+
const commandName = "CreateCliTokenCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: CreateCliTokenRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: CreateCliTokenResponseFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
CreateCliTokenCommand.prototype.serialize = function (input, context) {
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
32
27
|
return serializeAws_restJson1CreateCliTokenCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_restJson1CreateCliTokenCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { CreateCliTokenCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
3
|
import { CreateEnvironmentInputFilterSensitiveLog, CreateEnvironmentOutputFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1CreateEnvironmentCommand, serializeAws_restJson1CreateEnvironmentCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class CreateEnvironmentCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "MWAAClient";
|
|
15
|
+
const commandName = "CreateEnvironmentCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: CreateEnvironmentInputFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: CreateEnvironmentOutputFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
CreateEnvironmentCommand.prototype.serialize = function (input, context) {
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
32
27
|
return serializeAws_restJson1CreateEnvironmentCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_restJson1CreateEnvironmentCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { CreateEnvironmentCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
3
|
import { CreateWebLoginTokenRequestFilterSensitiveLog, CreateWebLoginTokenResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1CreateWebLoginTokenCommand, serializeAws_restJson1CreateWebLoginTokenCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class CreateWebLoginTokenCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "MWAAClient";
|
|
15
|
+
const commandName = "CreateWebLoginTokenCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: CreateWebLoginTokenRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: CreateWebLoginTokenResponseFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
CreateWebLoginTokenCommand.prototype.serialize = function (input, context) {
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
32
27
|
return serializeAws_restJson1CreateWebLoginTokenCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_restJson1CreateWebLoginTokenCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { CreateWebLoginTokenCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
3
|
import { DeleteEnvironmentInputFilterSensitiveLog, DeleteEnvironmentOutputFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1DeleteEnvironmentCommand, serializeAws_restJson1DeleteEnvironmentCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class DeleteEnvironmentCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "MWAAClient";
|
|
15
|
+
const commandName = "DeleteEnvironmentCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: DeleteEnvironmentInputFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: DeleteEnvironmentOutputFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
DeleteEnvironmentCommand.prototype.serialize = function (input, context) {
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
32
27
|
return serializeAws_restJson1DeleteEnvironmentCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_restJson1DeleteEnvironmentCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { DeleteEnvironmentCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
3
|
import { GetEnvironmentInputFilterSensitiveLog, GetEnvironmentOutputFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1GetEnvironmentCommand, serializeAws_restJson1GetEnvironmentCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class GetEnvironmentCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "MWAAClient";
|
|
15
|
+
const commandName = "GetEnvironmentCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: GetEnvironmentInputFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: GetEnvironmentOutputFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
GetEnvironmentCommand.prototype.serialize = function (input, context) {
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
32
27
|
return serializeAws_restJson1GetEnvironmentCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_restJson1GetEnvironmentCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { GetEnvironmentCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|