@aws-sdk/client-cloud9 3.183.0 → 3.186.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 +19 -0
- package/dist-cjs/protocols/Aws_json1_1.js +2 -2
- package/dist-es/Cloud9.js +61 -54
- package/dist-es/Cloud9Client.js +28 -22
- package/dist-es/commands/CreateEnvironmentEC2Command.js +28 -21
- package/dist-es/commands/CreateEnvironmentMembershipCommand.js +28 -21
- package/dist-es/commands/DeleteEnvironmentCommand.js +28 -21
- package/dist-es/commands/DeleteEnvironmentMembershipCommand.js +28 -21
- package/dist-es/commands/DescribeEnvironmentMembershipsCommand.js +28 -21
- package/dist-es/commands/DescribeEnvironmentStatusCommand.js +28 -21
- package/dist-es/commands/DescribeEnvironmentsCommand.js +28 -21
- package/dist-es/commands/ListEnvironmentsCommand.js +28 -21
- package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
- package/dist-es/commands/TagResourceCommand.js +28 -21
- package/dist-es/commands/UntagResourceCommand.js +28 -21
- package/dist-es/commands/UpdateEnvironmentCommand.js +28 -21
- package/dist-es/commands/UpdateEnvironmentMembershipCommand.js +28 -21
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/Cloud9ServiceException.js +10 -5
- package/dist-es/models/models_0.js +135 -204
- package/dist-es/pagination/DescribeEnvironmentMembershipsPaginator.js +68 -25
- package/dist-es/pagination/ListEnvironmentsPaginator.js +68 -25
- package/dist-es/protocols/Aws_json1_1.js +1290 -992
- package/dist-es/runtimeConfig.browser.js +12 -26
- package/dist-es/runtimeConfig.js +12 -30
- package/dist-es/runtimeConfig.native.js +5 -8
- package/dist-es/runtimeConfig.shared.js +11 -8
- package/package.json +33 -33
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,25 @@
|
|
|
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.186.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.185.0...v3.186.0) (2022-10-06)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-cloud9
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.185.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.184.0...v3.185.0) (2022-10-05)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Bug Fixes
|
|
18
|
+
|
|
19
|
+
* **codegen:** add deser check for x-amz-request-id ([#4015](https://github.com/aws/aws-sdk-js-v3/issues/4015)) ([6ff07bd](https://github.com/aws/aws-sdk-js-v3/commit/6ff07bd7e72bd56725f318013ac1d6d0fbbcdd9a))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
6
25
|
# [3.183.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.182.0...v3.183.0) (2022-10-03)
|
|
7
26
|
|
|
8
27
|
**Note:** Version bump only for package @aws-sdk/client-cloud9
|
|
@@ -1177,10 +1177,10 @@ const deserializeAws_json1_1UpdateEnvironmentResult = (output, context) => {
|
|
|
1177
1177
|
return {};
|
|
1178
1178
|
};
|
|
1179
1179
|
const deserializeMetadata = (output) => {
|
|
1180
|
-
var _a;
|
|
1180
|
+
var _a, _b;
|
|
1181
1181
|
return ({
|
|
1182
1182
|
httpStatusCode: output.statusCode,
|
|
1183
|
-
requestId: (_a = output.headers["x-amzn-requestid"]) !== null && _a !== void 0 ? _a : output.headers["x-amzn-request-id"],
|
|
1183
|
+
requestId: (_b = (_a = output.headers["x-amzn-requestid"]) !== null && _a !== void 0 ? _a : output.headers["x-amzn-request-id"]) !== null && _b !== void 0 ? _b : output.headers["x-amz-request-id"],
|
|
1184
1184
|
extendedRequestId: output.headers["x-amz-id-2"],
|
|
1185
1185
|
cfId: output.headers["x-amz-cf-id"],
|
|
1186
1186
|
});
|
package/dist-es/Cloud9.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { Cloud9Client } from "./Cloud9Client";
|
|
2
3
|
import { CreateEnvironmentEC2Command, } from "./commands/CreateEnvironmentEC2Command";
|
|
3
4
|
import { CreateEnvironmentMembershipCommand, } from "./commands/CreateEnvironmentMembershipCommand";
|
|
@@ -12,187 +13,193 @@ import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
|
12
13
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
13
14
|
import { UpdateEnvironmentCommand, } from "./commands/UpdateEnvironmentCommand";
|
|
14
15
|
import { UpdateEnvironmentMembershipCommand, } from "./commands/UpdateEnvironmentMembershipCommand";
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
var Cloud9 = (function (_super) {
|
|
17
|
+
__extends(Cloud9, _super);
|
|
18
|
+
function Cloud9() {
|
|
19
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
20
|
+
}
|
|
21
|
+
Cloud9.prototype.createEnvironmentEC2 = function (args, optionsOrCb, cb) {
|
|
22
|
+
var command = new CreateEnvironmentEC2Command(args);
|
|
18
23
|
if (typeof optionsOrCb === "function") {
|
|
19
24
|
this.send(command, optionsOrCb);
|
|
20
25
|
}
|
|
21
26
|
else if (typeof cb === "function") {
|
|
22
27
|
if (typeof optionsOrCb !== "object")
|
|
23
|
-
throw new Error(
|
|
28
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
24
29
|
this.send(command, optionsOrCb || {}, cb);
|
|
25
30
|
}
|
|
26
31
|
else {
|
|
27
32
|
return this.send(command, optionsOrCb);
|
|
28
33
|
}
|
|
29
|
-
}
|
|
30
|
-
createEnvironmentMembership(args, optionsOrCb, cb) {
|
|
31
|
-
|
|
34
|
+
};
|
|
35
|
+
Cloud9.prototype.createEnvironmentMembership = function (args, optionsOrCb, cb) {
|
|
36
|
+
var command = new CreateEnvironmentMembershipCommand(args);
|
|
32
37
|
if (typeof optionsOrCb === "function") {
|
|
33
38
|
this.send(command, optionsOrCb);
|
|
34
39
|
}
|
|
35
40
|
else if (typeof cb === "function") {
|
|
36
41
|
if (typeof optionsOrCb !== "object")
|
|
37
|
-
throw new Error(
|
|
42
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
38
43
|
this.send(command, optionsOrCb || {}, cb);
|
|
39
44
|
}
|
|
40
45
|
else {
|
|
41
46
|
return this.send(command, optionsOrCb);
|
|
42
47
|
}
|
|
43
|
-
}
|
|
44
|
-
deleteEnvironment(args, optionsOrCb, cb) {
|
|
45
|
-
|
|
48
|
+
};
|
|
49
|
+
Cloud9.prototype.deleteEnvironment = function (args, optionsOrCb, cb) {
|
|
50
|
+
var command = new DeleteEnvironmentCommand(args);
|
|
46
51
|
if (typeof optionsOrCb === "function") {
|
|
47
52
|
this.send(command, optionsOrCb);
|
|
48
53
|
}
|
|
49
54
|
else if (typeof cb === "function") {
|
|
50
55
|
if (typeof optionsOrCb !== "object")
|
|
51
|
-
throw new Error(
|
|
56
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
52
57
|
this.send(command, optionsOrCb || {}, cb);
|
|
53
58
|
}
|
|
54
59
|
else {
|
|
55
60
|
return this.send(command, optionsOrCb);
|
|
56
61
|
}
|
|
57
|
-
}
|
|
58
|
-
deleteEnvironmentMembership(args, optionsOrCb, cb) {
|
|
59
|
-
|
|
62
|
+
};
|
|
63
|
+
Cloud9.prototype.deleteEnvironmentMembership = function (args, optionsOrCb, cb) {
|
|
64
|
+
var command = new DeleteEnvironmentMembershipCommand(args);
|
|
60
65
|
if (typeof optionsOrCb === "function") {
|
|
61
66
|
this.send(command, optionsOrCb);
|
|
62
67
|
}
|
|
63
68
|
else if (typeof cb === "function") {
|
|
64
69
|
if (typeof optionsOrCb !== "object")
|
|
65
|
-
throw new Error(
|
|
70
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
66
71
|
this.send(command, optionsOrCb || {}, cb);
|
|
67
72
|
}
|
|
68
73
|
else {
|
|
69
74
|
return this.send(command, optionsOrCb);
|
|
70
75
|
}
|
|
71
|
-
}
|
|
72
|
-
describeEnvironmentMemberships(args, optionsOrCb, cb) {
|
|
73
|
-
|
|
76
|
+
};
|
|
77
|
+
Cloud9.prototype.describeEnvironmentMemberships = function (args, optionsOrCb, cb) {
|
|
78
|
+
var command = new DescribeEnvironmentMembershipsCommand(args);
|
|
74
79
|
if (typeof optionsOrCb === "function") {
|
|
75
80
|
this.send(command, optionsOrCb);
|
|
76
81
|
}
|
|
77
82
|
else if (typeof cb === "function") {
|
|
78
83
|
if (typeof optionsOrCb !== "object")
|
|
79
|
-
throw new Error(
|
|
84
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
80
85
|
this.send(command, optionsOrCb || {}, cb);
|
|
81
86
|
}
|
|
82
87
|
else {
|
|
83
88
|
return this.send(command, optionsOrCb);
|
|
84
89
|
}
|
|
85
|
-
}
|
|
86
|
-
describeEnvironments(args, optionsOrCb, cb) {
|
|
87
|
-
|
|
90
|
+
};
|
|
91
|
+
Cloud9.prototype.describeEnvironments = function (args, optionsOrCb, cb) {
|
|
92
|
+
var command = new DescribeEnvironmentsCommand(args);
|
|
88
93
|
if (typeof optionsOrCb === "function") {
|
|
89
94
|
this.send(command, optionsOrCb);
|
|
90
95
|
}
|
|
91
96
|
else if (typeof cb === "function") {
|
|
92
97
|
if (typeof optionsOrCb !== "object")
|
|
93
|
-
throw new Error(
|
|
98
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
94
99
|
this.send(command, optionsOrCb || {}, cb);
|
|
95
100
|
}
|
|
96
101
|
else {
|
|
97
102
|
return this.send(command, optionsOrCb);
|
|
98
103
|
}
|
|
99
|
-
}
|
|
100
|
-
describeEnvironmentStatus(args, optionsOrCb, cb) {
|
|
101
|
-
|
|
104
|
+
};
|
|
105
|
+
Cloud9.prototype.describeEnvironmentStatus = function (args, optionsOrCb, cb) {
|
|
106
|
+
var command = new DescribeEnvironmentStatusCommand(args);
|
|
102
107
|
if (typeof optionsOrCb === "function") {
|
|
103
108
|
this.send(command, optionsOrCb);
|
|
104
109
|
}
|
|
105
110
|
else if (typeof cb === "function") {
|
|
106
111
|
if (typeof optionsOrCb !== "object")
|
|
107
|
-
throw new Error(
|
|
112
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
108
113
|
this.send(command, optionsOrCb || {}, cb);
|
|
109
114
|
}
|
|
110
115
|
else {
|
|
111
116
|
return this.send(command, optionsOrCb);
|
|
112
117
|
}
|
|
113
|
-
}
|
|
114
|
-
listEnvironments(args, optionsOrCb, cb) {
|
|
115
|
-
|
|
118
|
+
};
|
|
119
|
+
Cloud9.prototype.listEnvironments = function (args, optionsOrCb, cb) {
|
|
120
|
+
var command = new ListEnvironmentsCommand(args);
|
|
116
121
|
if (typeof optionsOrCb === "function") {
|
|
117
122
|
this.send(command, optionsOrCb);
|
|
118
123
|
}
|
|
119
124
|
else if (typeof cb === "function") {
|
|
120
125
|
if (typeof optionsOrCb !== "object")
|
|
121
|
-
throw new Error(
|
|
126
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
122
127
|
this.send(command, optionsOrCb || {}, cb);
|
|
123
128
|
}
|
|
124
129
|
else {
|
|
125
130
|
return this.send(command, optionsOrCb);
|
|
126
131
|
}
|
|
127
|
-
}
|
|
128
|
-
listTagsForResource(args, optionsOrCb, cb) {
|
|
129
|
-
|
|
132
|
+
};
|
|
133
|
+
Cloud9.prototype.listTagsForResource = function (args, optionsOrCb, cb) {
|
|
134
|
+
var command = new ListTagsForResourceCommand(args);
|
|
130
135
|
if (typeof optionsOrCb === "function") {
|
|
131
136
|
this.send(command, optionsOrCb);
|
|
132
137
|
}
|
|
133
138
|
else if (typeof cb === "function") {
|
|
134
139
|
if (typeof optionsOrCb !== "object")
|
|
135
|
-
throw new Error(
|
|
140
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
136
141
|
this.send(command, optionsOrCb || {}, cb);
|
|
137
142
|
}
|
|
138
143
|
else {
|
|
139
144
|
return this.send(command, optionsOrCb);
|
|
140
145
|
}
|
|
141
|
-
}
|
|
142
|
-
tagResource(args, optionsOrCb, cb) {
|
|
143
|
-
|
|
146
|
+
};
|
|
147
|
+
Cloud9.prototype.tagResource = function (args, optionsOrCb, cb) {
|
|
148
|
+
var command = new TagResourceCommand(args);
|
|
144
149
|
if (typeof optionsOrCb === "function") {
|
|
145
150
|
this.send(command, optionsOrCb);
|
|
146
151
|
}
|
|
147
152
|
else if (typeof cb === "function") {
|
|
148
153
|
if (typeof optionsOrCb !== "object")
|
|
149
|
-
throw new Error(
|
|
154
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
150
155
|
this.send(command, optionsOrCb || {}, cb);
|
|
151
156
|
}
|
|
152
157
|
else {
|
|
153
158
|
return this.send(command, optionsOrCb);
|
|
154
159
|
}
|
|
155
|
-
}
|
|
156
|
-
untagResource(args, optionsOrCb, cb) {
|
|
157
|
-
|
|
160
|
+
};
|
|
161
|
+
Cloud9.prototype.untagResource = function (args, optionsOrCb, cb) {
|
|
162
|
+
var command = new UntagResourceCommand(args);
|
|
158
163
|
if (typeof optionsOrCb === "function") {
|
|
159
164
|
this.send(command, optionsOrCb);
|
|
160
165
|
}
|
|
161
166
|
else if (typeof cb === "function") {
|
|
162
167
|
if (typeof optionsOrCb !== "object")
|
|
163
|
-
throw new Error(
|
|
168
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
164
169
|
this.send(command, optionsOrCb || {}, cb);
|
|
165
170
|
}
|
|
166
171
|
else {
|
|
167
172
|
return this.send(command, optionsOrCb);
|
|
168
173
|
}
|
|
169
|
-
}
|
|
170
|
-
updateEnvironment(args, optionsOrCb, cb) {
|
|
171
|
-
|
|
174
|
+
};
|
|
175
|
+
Cloud9.prototype.updateEnvironment = function (args, optionsOrCb, cb) {
|
|
176
|
+
var command = new UpdateEnvironmentCommand(args);
|
|
172
177
|
if (typeof optionsOrCb === "function") {
|
|
173
178
|
this.send(command, optionsOrCb);
|
|
174
179
|
}
|
|
175
180
|
else if (typeof cb === "function") {
|
|
176
181
|
if (typeof optionsOrCb !== "object")
|
|
177
|
-
throw new Error(
|
|
182
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
178
183
|
this.send(command, optionsOrCb || {}, cb);
|
|
179
184
|
}
|
|
180
185
|
else {
|
|
181
186
|
return this.send(command, optionsOrCb);
|
|
182
187
|
}
|
|
183
|
-
}
|
|
184
|
-
updateEnvironmentMembership(args, optionsOrCb, cb) {
|
|
185
|
-
|
|
188
|
+
};
|
|
189
|
+
Cloud9.prototype.updateEnvironmentMembership = function (args, optionsOrCb, cb) {
|
|
190
|
+
var command = new UpdateEnvironmentMembershipCommand(args);
|
|
186
191
|
if (typeof optionsOrCb === "function") {
|
|
187
192
|
this.send(command, optionsOrCb);
|
|
188
193
|
}
|
|
189
194
|
else if (typeof cb === "function") {
|
|
190
195
|
if (typeof optionsOrCb !== "object")
|
|
191
|
-
throw new Error(
|
|
196
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
192
197
|
this.send(command, optionsOrCb || {}, cb);
|
|
193
198
|
}
|
|
194
199
|
else {
|
|
195
200
|
return this.send(command, optionsOrCb);
|
|
196
201
|
}
|
|
197
|
-
}
|
|
198
|
-
|
|
202
|
+
};
|
|
203
|
+
return Cloud9;
|
|
204
|
+
}(Cloud9Client));
|
|
205
|
+
export { Cloud9 };
|
package/dist-es/Cloud9Client.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
|
|
2
3
|
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
3
4
|
import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
|
|
@@ -8,26 +9,31 @@ import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-sig
|
|
|
8
9
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
9
10
|
import { Client as __Client, } from "@aws-sdk/smithy-client";
|
|
10
11
|
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
12
|
+
var Cloud9Client = (function (_super) {
|
|
13
|
+
__extends(Cloud9Client, _super);
|
|
14
|
+
function Cloud9Client(configuration) {
|
|
15
|
+
var _this = this;
|
|
16
|
+
var _config_0 = __getRuntimeConfig(configuration);
|
|
17
|
+
var _config_1 = resolveRegionConfig(_config_0);
|
|
18
|
+
var _config_2 = resolveEndpointsConfig(_config_1);
|
|
19
|
+
var _config_3 = resolveRetryConfig(_config_2);
|
|
20
|
+
var _config_4 = resolveHostHeaderConfig(_config_3);
|
|
21
|
+
var _config_5 = resolveAwsAuthConfig(_config_4);
|
|
22
|
+
var _config_6 = resolveUserAgentConfig(_config_5);
|
|
23
|
+
_this = _super.call(this, _config_6) || this;
|
|
24
|
+
_this.config = _config_6;
|
|
25
|
+
_this.middlewareStack.use(getRetryPlugin(_this.config));
|
|
26
|
+
_this.middlewareStack.use(getContentLengthPlugin(_this.config));
|
|
27
|
+
_this.middlewareStack.use(getHostHeaderPlugin(_this.config));
|
|
28
|
+
_this.middlewareStack.use(getLoggerPlugin(_this.config));
|
|
29
|
+
_this.middlewareStack.use(getRecursionDetectionPlugin(_this.config));
|
|
30
|
+
_this.middlewareStack.use(getAwsAuthPlugin(_this.config));
|
|
31
|
+
_this.middlewareStack.use(getUserAgentPlugin(_this.config));
|
|
32
|
+
return _this;
|
|
29
33
|
}
|
|
30
|
-
destroy() {
|
|
31
|
-
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
+
Cloud9Client.prototype.destroy = function () {
|
|
35
|
+
_super.prototype.destroy.call(this);
|
|
36
|
+
};
|
|
37
|
+
return Cloud9Client;
|
|
38
|
+
}(__Client));
|
|
39
|
+
export { Cloud9Client };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { CreateEnvironmentEC2RequestFilterSensitiveLog, CreateEnvironmentEC2ResultFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1CreateEnvironmentEC2Command, serializeAws_json1_1CreateEnvironmentEC2Command, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var CreateEnvironmentEC2Command = (function (_super) {
|
|
7
|
+
__extends(CreateEnvironmentEC2Command, _super);
|
|
8
|
+
function CreateEnvironmentEC2Command(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
CreateEnvironmentEC2Command.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "Cloud9Client";
|
|
18
|
+
var commandName = "CreateEnvironmentEC2Command";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: CreateEnvironmentEC2RequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: CreateEnvironmentEC2ResultFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
CreateEnvironmentEC2Command.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1CreateEnvironmentEC2Command(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
CreateEnvironmentEC2Command.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1CreateEnvironmentEC2Command(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return CreateEnvironmentEC2Command;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { CreateEnvironmentEC2Command };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { CreateEnvironmentMembershipRequestFilterSensitiveLog, CreateEnvironmentMembershipResultFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1CreateEnvironmentMembershipCommand, serializeAws_json1_1CreateEnvironmentMembershipCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var CreateEnvironmentMembershipCommand = (function (_super) {
|
|
7
|
+
__extends(CreateEnvironmentMembershipCommand, _super);
|
|
8
|
+
function CreateEnvironmentMembershipCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
CreateEnvironmentMembershipCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "Cloud9Client";
|
|
18
|
+
var commandName = "CreateEnvironmentMembershipCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: CreateEnvironmentMembershipRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: CreateEnvironmentMembershipResultFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
CreateEnvironmentMembershipCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1CreateEnvironmentMembershipCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
CreateEnvironmentMembershipCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1CreateEnvironmentMembershipCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return CreateEnvironmentMembershipCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { CreateEnvironmentMembershipCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { DeleteEnvironmentRequestFilterSensitiveLog, DeleteEnvironmentResultFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1DeleteEnvironmentCommand, serializeAws_json1_1DeleteEnvironmentCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var DeleteEnvironmentCommand = (function (_super) {
|
|
7
|
+
__extends(DeleteEnvironmentCommand, _super);
|
|
8
|
+
function DeleteEnvironmentCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
DeleteEnvironmentCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "Cloud9Client";
|
|
18
|
+
var commandName = "DeleteEnvironmentCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: DeleteEnvironmentRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: DeleteEnvironmentResultFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DeleteEnvironmentCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1DeleteEnvironmentCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
DeleteEnvironmentCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1DeleteEnvironmentCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return DeleteEnvironmentCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DeleteEnvironmentCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { DeleteEnvironmentMembershipRequestFilterSensitiveLog, DeleteEnvironmentMembershipResultFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1DeleteEnvironmentMembershipCommand, serializeAws_json1_1DeleteEnvironmentMembershipCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var DeleteEnvironmentMembershipCommand = (function (_super) {
|
|
7
|
+
__extends(DeleteEnvironmentMembershipCommand, _super);
|
|
8
|
+
function DeleteEnvironmentMembershipCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
DeleteEnvironmentMembershipCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "Cloud9Client";
|
|
18
|
+
var commandName = "DeleteEnvironmentMembershipCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: DeleteEnvironmentMembershipRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: DeleteEnvironmentMembershipResultFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DeleteEnvironmentMembershipCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1DeleteEnvironmentMembershipCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
DeleteEnvironmentMembershipCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1DeleteEnvironmentMembershipCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return DeleteEnvironmentMembershipCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DeleteEnvironmentMembershipCommand };
|