@aws-sdk/client-cloud9 3.489.0 → 3.495.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/Cloud9.js +1 -37
- package/dist-cjs/Cloud9Client.js +1 -43
- package/dist-cjs/commands/CreateEnvironmentEC2Command.js +1 -29
- package/dist-cjs/commands/CreateEnvironmentMembershipCommand.js +1 -28
- package/dist-cjs/commands/DeleteEnvironmentCommand.js +1 -28
- package/dist-cjs/commands/DeleteEnvironmentMembershipCommand.js +1 -28
- package/dist-cjs/commands/DescribeEnvironmentMembershipsCommand.js +1 -28
- package/dist-cjs/commands/DescribeEnvironmentStatusCommand.js +1 -28
- package/dist-cjs/commands/DescribeEnvironmentsCommand.js +1 -29
- package/dist-cjs/commands/ListEnvironmentsCommand.js +1 -28
- package/dist-cjs/commands/ListTagsForResourceCommand.js +1 -29
- package/dist-cjs/commands/TagResourceCommand.js +1 -29
- package/dist-cjs/commands/UntagResourceCommand.js +1 -29
- package/dist-cjs/commands/UpdateEnvironmentCommand.js +1 -29
- package/dist-cjs/commands/UpdateEnvironmentMembershipCommand.js +1 -28
- package/dist-cjs/commands/index.js +1 -16
- package/dist-cjs/endpoint/EndpointParameters.js +1 -18
- package/dist-cjs/extensionConfiguration.js +1 -2
- package/dist-cjs/index.js +1590 -11
- package/dist-cjs/models/Cloud9ServiceException.js +1 -12
- package/dist-cjs/models/index.js +1 -4
- package/dist-cjs/models/models_0.js +1 -217
- package/dist-cjs/pagination/DescribeEnvironmentMembershipsPaginator.js +1 -7
- package/dist-cjs/pagination/Interfaces.js +1 -2
- package/dist-cjs/pagination/ListEnvironmentsPaginator.js +1 -7
- package/dist-cjs/pagination/index.js +1 -6
- package/dist-cjs/protocols/Aws_json1_1.js +1 -908
- package/dist-cjs/runtimeExtensions.js +1 -22
- package/package.json +40 -40
package/dist-cjs/index.js
CHANGED
|
@@ -1,12 +1,1591 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
Object.defineProperty
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
var
|
|
12
|
-
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all)
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
+
}
|
|
17
|
+
return to;
|
|
18
|
+
};
|
|
19
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
|
+
|
|
21
|
+
// src/index.ts
|
|
22
|
+
var src_exports = {};
|
|
23
|
+
__export(src_exports, {
|
|
24
|
+
BadRequestException: () => BadRequestException,
|
|
25
|
+
Cloud9: () => Cloud9,
|
|
26
|
+
Cloud9Client: () => Cloud9Client,
|
|
27
|
+
Cloud9ServiceException: () => Cloud9ServiceException,
|
|
28
|
+
ConcurrentAccessException: () => ConcurrentAccessException,
|
|
29
|
+
ConflictException: () => ConflictException,
|
|
30
|
+
ConnectionType: () => ConnectionType,
|
|
31
|
+
CreateEnvironmentEC2Command: () => CreateEnvironmentEC2Command,
|
|
32
|
+
CreateEnvironmentEC2RequestFilterSensitiveLog: () => CreateEnvironmentEC2RequestFilterSensitiveLog,
|
|
33
|
+
CreateEnvironmentMembershipCommand: () => CreateEnvironmentMembershipCommand,
|
|
34
|
+
DeleteEnvironmentCommand: () => DeleteEnvironmentCommand,
|
|
35
|
+
DeleteEnvironmentMembershipCommand: () => DeleteEnvironmentMembershipCommand,
|
|
36
|
+
DescribeEnvironmentMembershipsCommand: () => DescribeEnvironmentMembershipsCommand,
|
|
37
|
+
DescribeEnvironmentStatusCommand: () => DescribeEnvironmentStatusCommand,
|
|
38
|
+
DescribeEnvironmentsCommand: () => DescribeEnvironmentsCommand,
|
|
39
|
+
DescribeEnvironmentsResultFilterSensitiveLog: () => DescribeEnvironmentsResultFilterSensitiveLog,
|
|
40
|
+
EnvironmentFilterSensitiveLog: () => EnvironmentFilterSensitiveLog,
|
|
41
|
+
EnvironmentLifecycleStatus: () => EnvironmentLifecycleStatus,
|
|
42
|
+
EnvironmentStatus: () => EnvironmentStatus,
|
|
43
|
+
EnvironmentType: () => EnvironmentType,
|
|
44
|
+
ForbiddenException: () => ForbiddenException,
|
|
45
|
+
InternalServerErrorException: () => InternalServerErrorException,
|
|
46
|
+
LimitExceededException: () => LimitExceededException,
|
|
47
|
+
ListEnvironmentsCommand: () => ListEnvironmentsCommand,
|
|
48
|
+
ListTagsForResourceCommand: () => ListTagsForResourceCommand,
|
|
49
|
+
ListTagsForResourceResponseFilterSensitiveLog: () => ListTagsForResourceResponseFilterSensitiveLog,
|
|
50
|
+
ManagedCredentialsAction: () => ManagedCredentialsAction,
|
|
51
|
+
ManagedCredentialsStatus: () => ManagedCredentialsStatus,
|
|
52
|
+
MemberPermissions: () => MemberPermissions,
|
|
53
|
+
NotFoundException: () => NotFoundException,
|
|
54
|
+
Permissions: () => Permissions,
|
|
55
|
+
TagFilterSensitiveLog: () => TagFilterSensitiveLog,
|
|
56
|
+
TagResourceCommand: () => TagResourceCommand,
|
|
57
|
+
TagResourceRequestFilterSensitiveLog: () => TagResourceRequestFilterSensitiveLog,
|
|
58
|
+
TooManyRequestsException: () => TooManyRequestsException,
|
|
59
|
+
UntagResourceCommand: () => UntagResourceCommand,
|
|
60
|
+
UntagResourceRequestFilterSensitiveLog: () => UntagResourceRequestFilterSensitiveLog,
|
|
61
|
+
UpdateEnvironmentCommand: () => UpdateEnvironmentCommand,
|
|
62
|
+
UpdateEnvironmentMembershipCommand: () => UpdateEnvironmentMembershipCommand,
|
|
63
|
+
UpdateEnvironmentRequestFilterSensitiveLog: () => UpdateEnvironmentRequestFilterSensitiveLog,
|
|
64
|
+
__Client: () => import_smithy_client.Client,
|
|
65
|
+
paginateDescribeEnvironmentMemberships: () => paginateDescribeEnvironmentMemberships,
|
|
66
|
+
paginateListEnvironments: () => paginateListEnvironments
|
|
67
|
+
});
|
|
68
|
+
module.exports = __toCommonJS(src_exports);
|
|
69
|
+
|
|
70
|
+
// src/Cloud9Client.ts
|
|
71
|
+
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
72
|
+
var import_middleware_logger = require("@aws-sdk/middleware-logger");
|
|
73
|
+
var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
|
|
74
|
+
var import_middleware_signing = require("@aws-sdk/middleware-signing");
|
|
75
|
+
var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
|
|
76
|
+
var import_config_resolver = require("@smithy/config-resolver");
|
|
77
|
+
var import_middleware_content_length = require("@smithy/middleware-content-length");
|
|
78
|
+
var import_middleware_endpoint = require("@smithy/middleware-endpoint");
|
|
79
|
+
var import_middleware_retry = require("@smithy/middleware-retry");
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
// src/endpoint/EndpointParameters.ts
|
|
83
|
+
var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
|
|
84
|
+
return {
|
|
85
|
+
...options,
|
|
86
|
+
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
87
|
+
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
88
|
+
defaultSigningName: "cloud9"
|
|
89
|
+
};
|
|
90
|
+
}, "resolveClientEndpointParameters");
|
|
91
|
+
var commonParams = {
|
|
92
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
93
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
94
|
+
Region: { type: "builtInParams", name: "region" },
|
|
95
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
|
|
96
|
+
};
|
|
97
|
+
|
|
98
|
+
// src/Cloud9Client.ts
|
|
99
|
+
var import_runtimeConfig = require("././runtimeConfig");
|
|
100
|
+
|
|
101
|
+
// src/runtimeExtensions.ts
|
|
102
|
+
var import_region_config_resolver = require("@aws-sdk/region-config-resolver");
|
|
103
|
+
var import_protocol_http = require("@smithy/protocol-http");
|
|
104
|
+
var import_smithy_client = require("@smithy/smithy-client");
|
|
105
|
+
var asPartial = /* @__PURE__ */ __name((t) => t, "asPartial");
|
|
106
|
+
var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
|
|
107
|
+
const extensionConfiguration = {
|
|
108
|
+
...asPartial((0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig)),
|
|
109
|
+
...asPartial((0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig)),
|
|
110
|
+
...asPartial((0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig))
|
|
111
|
+
};
|
|
112
|
+
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
113
|
+
return {
|
|
114
|
+
...runtimeConfig,
|
|
115
|
+
...(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
|
|
116
|
+
...(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
117
|
+
...(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration)
|
|
118
|
+
};
|
|
119
|
+
}, "resolveRuntimeExtensions");
|
|
120
|
+
|
|
121
|
+
// src/Cloud9Client.ts
|
|
122
|
+
var _Cloud9Client = class _Cloud9Client extends import_smithy_client.Client {
|
|
123
|
+
constructor(...[configuration]) {
|
|
124
|
+
const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
|
|
125
|
+
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
126
|
+
const _config_2 = (0, import_config_resolver.resolveRegionConfig)(_config_1);
|
|
127
|
+
const _config_3 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_2);
|
|
128
|
+
const _config_4 = (0, import_middleware_retry.resolveRetryConfig)(_config_3);
|
|
129
|
+
const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
|
|
130
|
+
const _config_6 = (0, import_middleware_signing.resolveAwsAuthConfig)(_config_5);
|
|
131
|
+
const _config_7 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_6);
|
|
132
|
+
const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
|
|
133
|
+
super(_config_8);
|
|
134
|
+
this.config = _config_8;
|
|
135
|
+
this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
|
|
136
|
+
this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
|
|
137
|
+
this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
|
|
138
|
+
this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
|
|
139
|
+
this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
|
|
140
|
+
this.middlewareStack.use((0, import_middleware_signing.getAwsAuthPlugin)(this.config));
|
|
141
|
+
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
142
|
+
}
|
|
143
|
+
/**
|
|
144
|
+
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
145
|
+
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
146
|
+
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
147
|
+
*/
|
|
148
|
+
destroy() {
|
|
149
|
+
super.destroy();
|
|
150
|
+
}
|
|
151
|
+
};
|
|
152
|
+
__name(_Cloud9Client, "Cloud9Client");
|
|
153
|
+
var Cloud9Client = _Cloud9Client;
|
|
154
|
+
|
|
155
|
+
// src/Cloud9.ts
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
// src/commands/CreateEnvironmentEC2Command.ts
|
|
159
|
+
|
|
160
|
+
var import_middleware_serde = require("@smithy/middleware-serde");
|
|
161
|
+
|
|
162
|
+
var import_types = require("@smithy/types");
|
|
163
|
+
|
|
164
|
+
// src/models/models_0.ts
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
// src/models/Cloud9ServiceException.ts
|
|
168
|
+
|
|
169
|
+
var _Cloud9ServiceException = class _Cloud9ServiceException extends import_smithy_client.ServiceException {
|
|
170
|
+
/**
|
|
171
|
+
* @internal
|
|
172
|
+
*/
|
|
173
|
+
constructor(options) {
|
|
174
|
+
super(options);
|
|
175
|
+
Object.setPrototypeOf(this, _Cloud9ServiceException.prototype);
|
|
176
|
+
}
|
|
177
|
+
};
|
|
178
|
+
__name(_Cloud9ServiceException, "Cloud9ServiceException");
|
|
179
|
+
var Cloud9ServiceException = _Cloud9ServiceException;
|
|
180
|
+
|
|
181
|
+
// src/models/models_0.ts
|
|
182
|
+
var _BadRequestException = class _BadRequestException extends Cloud9ServiceException {
|
|
183
|
+
/**
|
|
184
|
+
* @internal
|
|
185
|
+
*/
|
|
186
|
+
constructor(opts) {
|
|
187
|
+
super({
|
|
188
|
+
name: "BadRequestException",
|
|
189
|
+
$fault: "client",
|
|
190
|
+
...opts
|
|
191
|
+
});
|
|
192
|
+
this.name = "BadRequestException";
|
|
193
|
+
this.$fault = "client";
|
|
194
|
+
Object.setPrototypeOf(this, _BadRequestException.prototype);
|
|
195
|
+
this.className = opts.className;
|
|
196
|
+
this.code = opts.code;
|
|
197
|
+
}
|
|
198
|
+
};
|
|
199
|
+
__name(_BadRequestException, "BadRequestException");
|
|
200
|
+
var BadRequestException = _BadRequestException;
|
|
201
|
+
var _ConflictException = class _ConflictException extends Cloud9ServiceException {
|
|
202
|
+
/**
|
|
203
|
+
* @internal
|
|
204
|
+
*/
|
|
205
|
+
constructor(opts) {
|
|
206
|
+
super({
|
|
207
|
+
name: "ConflictException",
|
|
208
|
+
$fault: "client",
|
|
209
|
+
...opts
|
|
210
|
+
});
|
|
211
|
+
this.name = "ConflictException";
|
|
212
|
+
this.$fault = "client";
|
|
213
|
+
Object.setPrototypeOf(this, _ConflictException.prototype);
|
|
214
|
+
this.className = opts.className;
|
|
215
|
+
this.code = opts.code;
|
|
216
|
+
}
|
|
217
|
+
};
|
|
218
|
+
__name(_ConflictException, "ConflictException");
|
|
219
|
+
var ConflictException = _ConflictException;
|
|
220
|
+
var ConnectionType = {
|
|
221
|
+
CONNECT_SSH: "CONNECT_SSH",
|
|
222
|
+
CONNECT_SSM: "CONNECT_SSM"
|
|
223
|
+
};
|
|
224
|
+
var _ForbiddenException = class _ForbiddenException extends Cloud9ServiceException {
|
|
225
|
+
/**
|
|
226
|
+
* @internal
|
|
227
|
+
*/
|
|
228
|
+
constructor(opts) {
|
|
229
|
+
super({
|
|
230
|
+
name: "ForbiddenException",
|
|
231
|
+
$fault: "client",
|
|
232
|
+
...opts
|
|
233
|
+
});
|
|
234
|
+
this.name = "ForbiddenException";
|
|
235
|
+
this.$fault = "client";
|
|
236
|
+
Object.setPrototypeOf(this, _ForbiddenException.prototype);
|
|
237
|
+
this.className = opts.className;
|
|
238
|
+
this.code = opts.code;
|
|
239
|
+
}
|
|
240
|
+
};
|
|
241
|
+
__name(_ForbiddenException, "ForbiddenException");
|
|
242
|
+
var ForbiddenException = _ForbiddenException;
|
|
243
|
+
var _InternalServerErrorException = class _InternalServerErrorException extends Cloud9ServiceException {
|
|
244
|
+
/**
|
|
245
|
+
* @internal
|
|
246
|
+
*/
|
|
247
|
+
constructor(opts) {
|
|
248
|
+
super({
|
|
249
|
+
name: "InternalServerErrorException",
|
|
250
|
+
$fault: "server",
|
|
251
|
+
...opts
|
|
252
|
+
});
|
|
253
|
+
this.name = "InternalServerErrorException";
|
|
254
|
+
this.$fault = "server";
|
|
255
|
+
Object.setPrototypeOf(this, _InternalServerErrorException.prototype);
|
|
256
|
+
this.className = opts.className;
|
|
257
|
+
this.code = opts.code;
|
|
258
|
+
}
|
|
259
|
+
};
|
|
260
|
+
__name(_InternalServerErrorException, "InternalServerErrorException");
|
|
261
|
+
var InternalServerErrorException = _InternalServerErrorException;
|
|
262
|
+
var _LimitExceededException = class _LimitExceededException extends Cloud9ServiceException {
|
|
263
|
+
/**
|
|
264
|
+
* @internal
|
|
265
|
+
*/
|
|
266
|
+
constructor(opts) {
|
|
267
|
+
super({
|
|
268
|
+
name: "LimitExceededException",
|
|
269
|
+
$fault: "client",
|
|
270
|
+
...opts
|
|
271
|
+
});
|
|
272
|
+
this.name = "LimitExceededException";
|
|
273
|
+
this.$fault = "client";
|
|
274
|
+
Object.setPrototypeOf(this, _LimitExceededException.prototype);
|
|
275
|
+
this.className = opts.className;
|
|
276
|
+
this.code = opts.code;
|
|
277
|
+
}
|
|
278
|
+
};
|
|
279
|
+
__name(_LimitExceededException, "LimitExceededException");
|
|
280
|
+
var LimitExceededException = _LimitExceededException;
|
|
281
|
+
var _NotFoundException = class _NotFoundException extends Cloud9ServiceException {
|
|
282
|
+
/**
|
|
283
|
+
* @internal
|
|
284
|
+
*/
|
|
285
|
+
constructor(opts) {
|
|
286
|
+
super({
|
|
287
|
+
name: "NotFoundException",
|
|
288
|
+
$fault: "client",
|
|
289
|
+
...opts
|
|
290
|
+
});
|
|
291
|
+
this.name = "NotFoundException";
|
|
292
|
+
this.$fault = "client";
|
|
293
|
+
Object.setPrototypeOf(this, _NotFoundException.prototype);
|
|
294
|
+
this.className = opts.className;
|
|
295
|
+
this.code = opts.code;
|
|
296
|
+
}
|
|
297
|
+
};
|
|
298
|
+
__name(_NotFoundException, "NotFoundException");
|
|
299
|
+
var NotFoundException = _NotFoundException;
|
|
300
|
+
var _TooManyRequestsException = class _TooManyRequestsException extends Cloud9ServiceException {
|
|
301
|
+
/**
|
|
302
|
+
* @internal
|
|
303
|
+
*/
|
|
304
|
+
constructor(opts) {
|
|
305
|
+
super({
|
|
306
|
+
name: "TooManyRequestsException",
|
|
307
|
+
$fault: "client",
|
|
308
|
+
...opts
|
|
309
|
+
});
|
|
310
|
+
this.name = "TooManyRequestsException";
|
|
311
|
+
this.$fault = "client";
|
|
312
|
+
Object.setPrototypeOf(this, _TooManyRequestsException.prototype);
|
|
313
|
+
this.className = opts.className;
|
|
314
|
+
this.code = opts.code;
|
|
315
|
+
}
|
|
316
|
+
};
|
|
317
|
+
__name(_TooManyRequestsException, "TooManyRequestsException");
|
|
318
|
+
var TooManyRequestsException = _TooManyRequestsException;
|
|
319
|
+
var MemberPermissions = {
|
|
320
|
+
READ_ONLY: "read-only",
|
|
321
|
+
READ_WRITE: "read-write"
|
|
322
|
+
};
|
|
323
|
+
var Permissions = {
|
|
324
|
+
OWNER: "owner",
|
|
325
|
+
READ_ONLY: "read-only",
|
|
326
|
+
READ_WRITE: "read-write"
|
|
327
|
+
};
|
|
328
|
+
var EnvironmentLifecycleStatus = {
|
|
329
|
+
CREATED: "CREATED",
|
|
330
|
+
CREATE_FAILED: "CREATE_FAILED",
|
|
331
|
+
CREATING: "CREATING",
|
|
332
|
+
DELETE_FAILED: "DELETE_FAILED",
|
|
333
|
+
DELETING: "DELETING"
|
|
334
|
+
};
|
|
335
|
+
var ManagedCredentialsStatus = {
|
|
336
|
+
DISABLED_BY_COLLABORATOR: "DISABLED_BY_COLLABORATOR",
|
|
337
|
+
DISABLED_BY_DEFAULT: "DISABLED_BY_DEFAULT",
|
|
338
|
+
DISABLED_BY_OWNER: "DISABLED_BY_OWNER",
|
|
339
|
+
ENABLED_BY_OWNER: "ENABLED_BY_OWNER",
|
|
340
|
+
ENABLED_ON_CREATE: "ENABLED_ON_CREATE",
|
|
341
|
+
FAILED_REMOVAL_BY_COLLABORATOR: "FAILED_REMOVAL_BY_COLLABORATOR",
|
|
342
|
+
FAILED_REMOVAL_BY_OWNER: "FAILED_REMOVAL_BY_OWNER",
|
|
343
|
+
PENDING_REMOVAL_BY_COLLABORATOR: "PENDING_REMOVAL_BY_COLLABORATOR",
|
|
344
|
+
PENDING_REMOVAL_BY_OWNER: "PENDING_REMOVAL_BY_OWNER",
|
|
345
|
+
PENDING_START_REMOVAL_BY_COLLABORATOR: "PENDING_START_REMOVAL_BY_COLLABORATOR",
|
|
346
|
+
PENDING_START_REMOVAL_BY_OWNER: "PENDING_START_REMOVAL_BY_OWNER"
|
|
347
|
+
};
|
|
348
|
+
var EnvironmentType = {
|
|
349
|
+
EC2: "ec2",
|
|
350
|
+
SSH: "ssh"
|
|
351
|
+
};
|
|
352
|
+
var EnvironmentStatus = {
|
|
353
|
+
CONNECTING: "connecting",
|
|
354
|
+
CREATING: "creating",
|
|
355
|
+
DELETING: "deleting",
|
|
356
|
+
ERROR: "error",
|
|
357
|
+
READY: "ready",
|
|
358
|
+
STOPPED: "stopped",
|
|
359
|
+
STOPPING: "stopping"
|
|
360
|
+
};
|
|
361
|
+
var _ConcurrentAccessException = class _ConcurrentAccessException extends Cloud9ServiceException {
|
|
362
|
+
/**
|
|
363
|
+
* @internal
|
|
364
|
+
*/
|
|
365
|
+
constructor(opts) {
|
|
366
|
+
super({
|
|
367
|
+
name: "ConcurrentAccessException",
|
|
368
|
+
$fault: "client",
|
|
369
|
+
...opts
|
|
370
|
+
});
|
|
371
|
+
this.name = "ConcurrentAccessException";
|
|
372
|
+
this.$fault = "client";
|
|
373
|
+
Object.setPrototypeOf(this, _ConcurrentAccessException.prototype);
|
|
374
|
+
this.className = opts.className;
|
|
375
|
+
this.code = opts.code;
|
|
376
|
+
}
|
|
377
|
+
};
|
|
378
|
+
__name(_ConcurrentAccessException, "ConcurrentAccessException");
|
|
379
|
+
var ConcurrentAccessException = _ConcurrentAccessException;
|
|
380
|
+
var ManagedCredentialsAction = {
|
|
381
|
+
DISABLE: "DISABLE",
|
|
382
|
+
ENABLE: "ENABLE"
|
|
383
|
+
};
|
|
384
|
+
var TagFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
385
|
+
...obj,
|
|
386
|
+
...obj.Key && { Key: import_smithy_client.SENSITIVE_STRING },
|
|
387
|
+
...obj.Value && { Value: import_smithy_client.SENSITIVE_STRING }
|
|
388
|
+
}), "TagFilterSensitiveLog");
|
|
389
|
+
var CreateEnvironmentEC2RequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
390
|
+
...obj,
|
|
391
|
+
...obj.description && { description: import_smithy_client.SENSITIVE_STRING },
|
|
392
|
+
...obj.tags && { tags: import_smithy_client.SENSITIVE_STRING }
|
|
393
|
+
}), "CreateEnvironmentEC2RequestFilterSensitiveLog");
|
|
394
|
+
var EnvironmentFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
395
|
+
...obj,
|
|
396
|
+
...obj.description && { description: import_smithy_client.SENSITIVE_STRING }
|
|
397
|
+
}), "EnvironmentFilterSensitiveLog");
|
|
398
|
+
var DescribeEnvironmentsResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
399
|
+
...obj,
|
|
400
|
+
...obj.environments && { environments: obj.environments.map((item) => EnvironmentFilterSensitiveLog(item)) }
|
|
401
|
+
}), "DescribeEnvironmentsResultFilterSensitiveLog");
|
|
402
|
+
var ListTagsForResourceResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
403
|
+
...obj,
|
|
404
|
+
...obj.Tags && { Tags: import_smithy_client.SENSITIVE_STRING }
|
|
405
|
+
}), "ListTagsForResourceResponseFilterSensitiveLog");
|
|
406
|
+
var TagResourceRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
407
|
+
...obj,
|
|
408
|
+
...obj.Tags && { Tags: import_smithy_client.SENSITIVE_STRING }
|
|
409
|
+
}), "TagResourceRequestFilterSensitiveLog");
|
|
410
|
+
var UntagResourceRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
411
|
+
...obj,
|
|
412
|
+
...obj.TagKeys && { TagKeys: import_smithy_client.SENSITIVE_STRING }
|
|
413
|
+
}), "UntagResourceRequestFilterSensitiveLog");
|
|
414
|
+
var UpdateEnvironmentRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
415
|
+
...obj,
|
|
416
|
+
...obj.description && { description: import_smithy_client.SENSITIVE_STRING }
|
|
417
|
+
}), "UpdateEnvironmentRequestFilterSensitiveLog");
|
|
418
|
+
|
|
419
|
+
// src/protocols/Aws_json1_1.ts
|
|
420
|
+
|
|
421
|
+
|
|
422
|
+
var se_CreateEnvironmentEC2Command = /* @__PURE__ */ __name(async (input, context) => {
|
|
423
|
+
const headers = sharedHeaders("CreateEnvironmentEC2");
|
|
424
|
+
let body;
|
|
425
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
426
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
427
|
+
}, "se_CreateEnvironmentEC2Command");
|
|
428
|
+
var se_CreateEnvironmentMembershipCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
429
|
+
const headers = sharedHeaders("CreateEnvironmentMembership");
|
|
430
|
+
let body;
|
|
431
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
432
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
433
|
+
}, "se_CreateEnvironmentMembershipCommand");
|
|
434
|
+
var se_DeleteEnvironmentCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
435
|
+
const headers = sharedHeaders("DeleteEnvironment");
|
|
436
|
+
let body;
|
|
437
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
438
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
439
|
+
}, "se_DeleteEnvironmentCommand");
|
|
440
|
+
var se_DeleteEnvironmentMembershipCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
441
|
+
const headers = sharedHeaders("DeleteEnvironmentMembership");
|
|
442
|
+
let body;
|
|
443
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
444
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
445
|
+
}, "se_DeleteEnvironmentMembershipCommand");
|
|
446
|
+
var se_DescribeEnvironmentMembershipsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
447
|
+
const headers = sharedHeaders("DescribeEnvironmentMemberships");
|
|
448
|
+
let body;
|
|
449
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
450
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
451
|
+
}, "se_DescribeEnvironmentMembershipsCommand");
|
|
452
|
+
var se_DescribeEnvironmentsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
453
|
+
const headers = sharedHeaders("DescribeEnvironments");
|
|
454
|
+
let body;
|
|
455
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
456
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
457
|
+
}, "se_DescribeEnvironmentsCommand");
|
|
458
|
+
var se_DescribeEnvironmentStatusCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
459
|
+
const headers = sharedHeaders("DescribeEnvironmentStatus");
|
|
460
|
+
let body;
|
|
461
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
462
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
463
|
+
}, "se_DescribeEnvironmentStatusCommand");
|
|
464
|
+
var se_ListEnvironmentsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
465
|
+
const headers = sharedHeaders("ListEnvironments");
|
|
466
|
+
let body;
|
|
467
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
468
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
469
|
+
}, "se_ListEnvironmentsCommand");
|
|
470
|
+
var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
471
|
+
const headers = sharedHeaders("ListTagsForResource");
|
|
472
|
+
let body;
|
|
473
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
474
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
475
|
+
}, "se_ListTagsForResourceCommand");
|
|
476
|
+
var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
477
|
+
const headers = sharedHeaders("TagResource");
|
|
478
|
+
let body;
|
|
479
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
480
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
481
|
+
}, "se_TagResourceCommand");
|
|
482
|
+
var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
483
|
+
const headers = sharedHeaders("UntagResource");
|
|
484
|
+
let body;
|
|
485
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
486
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
487
|
+
}, "se_UntagResourceCommand");
|
|
488
|
+
var se_UpdateEnvironmentCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
489
|
+
const headers = sharedHeaders("UpdateEnvironment");
|
|
490
|
+
let body;
|
|
491
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
492
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
493
|
+
}, "se_UpdateEnvironmentCommand");
|
|
494
|
+
var se_UpdateEnvironmentMembershipCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
495
|
+
const headers = sharedHeaders("UpdateEnvironmentMembership");
|
|
496
|
+
let body;
|
|
497
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
498
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
499
|
+
}, "se_UpdateEnvironmentMembershipCommand");
|
|
500
|
+
var de_CreateEnvironmentEC2Command = /* @__PURE__ */ __name(async (output, context) => {
|
|
501
|
+
if (output.statusCode >= 300) {
|
|
502
|
+
return de_CreateEnvironmentEC2CommandError(output, context);
|
|
503
|
+
}
|
|
504
|
+
const data = await parseBody(output.body, context);
|
|
505
|
+
let contents = {};
|
|
506
|
+
contents = (0, import_smithy_client._json)(data);
|
|
507
|
+
const response = {
|
|
508
|
+
$metadata: deserializeMetadata(output),
|
|
509
|
+
...contents
|
|
510
|
+
};
|
|
511
|
+
return response;
|
|
512
|
+
}, "de_CreateEnvironmentEC2Command");
|
|
513
|
+
var de_CreateEnvironmentEC2CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
514
|
+
const parsedOutput = {
|
|
515
|
+
...output,
|
|
516
|
+
body: await parseErrorBody(output.body, context)
|
|
517
|
+
};
|
|
518
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
519
|
+
switch (errorCode) {
|
|
520
|
+
case "BadRequestException":
|
|
521
|
+
case "com.amazonaws.cloud9#BadRequestException":
|
|
522
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
523
|
+
case "ConflictException":
|
|
524
|
+
case "com.amazonaws.cloud9#ConflictException":
|
|
525
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
526
|
+
case "ForbiddenException":
|
|
527
|
+
case "com.amazonaws.cloud9#ForbiddenException":
|
|
528
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
529
|
+
case "InternalServerErrorException":
|
|
530
|
+
case "com.amazonaws.cloud9#InternalServerErrorException":
|
|
531
|
+
throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
|
|
532
|
+
case "LimitExceededException":
|
|
533
|
+
case "com.amazonaws.cloud9#LimitExceededException":
|
|
534
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
535
|
+
case "NotFoundException":
|
|
536
|
+
case "com.amazonaws.cloud9#NotFoundException":
|
|
537
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
538
|
+
case "TooManyRequestsException":
|
|
539
|
+
case "com.amazonaws.cloud9#TooManyRequestsException":
|
|
540
|
+
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
541
|
+
default:
|
|
542
|
+
const parsedBody = parsedOutput.body;
|
|
543
|
+
return throwDefaultError({
|
|
544
|
+
output,
|
|
545
|
+
parsedBody,
|
|
546
|
+
errorCode
|
|
547
|
+
});
|
|
548
|
+
}
|
|
549
|
+
}, "de_CreateEnvironmentEC2CommandError");
|
|
550
|
+
var de_CreateEnvironmentMembershipCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
551
|
+
if (output.statusCode >= 300) {
|
|
552
|
+
return de_CreateEnvironmentMembershipCommandError(output, context);
|
|
553
|
+
}
|
|
554
|
+
const data = await parseBody(output.body, context);
|
|
555
|
+
let contents = {};
|
|
556
|
+
contents = de_CreateEnvironmentMembershipResult(data, context);
|
|
557
|
+
const response = {
|
|
558
|
+
$metadata: deserializeMetadata(output),
|
|
559
|
+
...contents
|
|
560
|
+
};
|
|
561
|
+
return response;
|
|
562
|
+
}, "de_CreateEnvironmentMembershipCommand");
|
|
563
|
+
var de_CreateEnvironmentMembershipCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
564
|
+
const parsedOutput = {
|
|
565
|
+
...output,
|
|
566
|
+
body: await parseErrorBody(output.body, context)
|
|
567
|
+
};
|
|
568
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
569
|
+
switch (errorCode) {
|
|
570
|
+
case "BadRequestException":
|
|
571
|
+
case "com.amazonaws.cloud9#BadRequestException":
|
|
572
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
573
|
+
case "ConflictException":
|
|
574
|
+
case "com.amazonaws.cloud9#ConflictException":
|
|
575
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
576
|
+
case "ForbiddenException":
|
|
577
|
+
case "com.amazonaws.cloud9#ForbiddenException":
|
|
578
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
579
|
+
case "InternalServerErrorException":
|
|
580
|
+
case "com.amazonaws.cloud9#InternalServerErrorException":
|
|
581
|
+
throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
|
|
582
|
+
case "LimitExceededException":
|
|
583
|
+
case "com.amazonaws.cloud9#LimitExceededException":
|
|
584
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
585
|
+
case "NotFoundException":
|
|
586
|
+
case "com.amazonaws.cloud9#NotFoundException":
|
|
587
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
588
|
+
case "TooManyRequestsException":
|
|
589
|
+
case "com.amazonaws.cloud9#TooManyRequestsException":
|
|
590
|
+
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
591
|
+
default:
|
|
592
|
+
const parsedBody = parsedOutput.body;
|
|
593
|
+
return throwDefaultError({
|
|
594
|
+
output,
|
|
595
|
+
parsedBody,
|
|
596
|
+
errorCode
|
|
597
|
+
});
|
|
598
|
+
}
|
|
599
|
+
}, "de_CreateEnvironmentMembershipCommandError");
|
|
600
|
+
var de_DeleteEnvironmentCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
601
|
+
if (output.statusCode >= 300) {
|
|
602
|
+
return de_DeleteEnvironmentCommandError(output, context);
|
|
603
|
+
}
|
|
604
|
+
const data = await parseBody(output.body, context);
|
|
605
|
+
let contents = {};
|
|
606
|
+
contents = (0, import_smithy_client._json)(data);
|
|
607
|
+
const response = {
|
|
608
|
+
$metadata: deserializeMetadata(output),
|
|
609
|
+
...contents
|
|
610
|
+
};
|
|
611
|
+
return response;
|
|
612
|
+
}, "de_DeleteEnvironmentCommand");
|
|
613
|
+
var de_DeleteEnvironmentCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
614
|
+
const parsedOutput = {
|
|
615
|
+
...output,
|
|
616
|
+
body: await parseErrorBody(output.body, context)
|
|
617
|
+
};
|
|
618
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
619
|
+
switch (errorCode) {
|
|
620
|
+
case "BadRequestException":
|
|
621
|
+
case "com.amazonaws.cloud9#BadRequestException":
|
|
622
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
623
|
+
case "ConflictException":
|
|
624
|
+
case "com.amazonaws.cloud9#ConflictException":
|
|
625
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
626
|
+
case "ForbiddenException":
|
|
627
|
+
case "com.amazonaws.cloud9#ForbiddenException":
|
|
628
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
629
|
+
case "InternalServerErrorException":
|
|
630
|
+
case "com.amazonaws.cloud9#InternalServerErrorException":
|
|
631
|
+
throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
|
|
632
|
+
case "LimitExceededException":
|
|
633
|
+
case "com.amazonaws.cloud9#LimitExceededException":
|
|
634
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
635
|
+
case "NotFoundException":
|
|
636
|
+
case "com.amazonaws.cloud9#NotFoundException":
|
|
637
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
638
|
+
case "TooManyRequestsException":
|
|
639
|
+
case "com.amazonaws.cloud9#TooManyRequestsException":
|
|
640
|
+
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
641
|
+
default:
|
|
642
|
+
const parsedBody = parsedOutput.body;
|
|
643
|
+
return throwDefaultError({
|
|
644
|
+
output,
|
|
645
|
+
parsedBody,
|
|
646
|
+
errorCode
|
|
647
|
+
});
|
|
648
|
+
}
|
|
649
|
+
}, "de_DeleteEnvironmentCommandError");
|
|
650
|
+
var de_DeleteEnvironmentMembershipCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
651
|
+
if (output.statusCode >= 300) {
|
|
652
|
+
return de_DeleteEnvironmentMembershipCommandError(output, context);
|
|
653
|
+
}
|
|
654
|
+
const data = await parseBody(output.body, context);
|
|
655
|
+
let contents = {};
|
|
656
|
+
contents = (0, import_smithy_client._json)(data);
|
|
657
|
+
const response = {
|
|
658
|
+
$metadata: deserializeMetadata(output),
|
|
659
|
+
...contents
|
|
660
|
+
};
|
|
661
|
+
return response;
|
|
662
|
+
}, "de_DeleteEnvironmentMembershipCommand");
|
|
663
|
+
var de_DeleteEnvironmentMembershipCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
664
|
+
const parsedOutput = {
|
|
665
|
+
...output,
|
|
666
|
+
body: await parseErrorBody(output.body, context)
|
|
667
|
+
};
|
|
668
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
669
|
+
switch (errorCode) {
|
|
670
|
+
case "BadRequestException":
|
|
671
|
+
case "com.amazonaws.cloud9#BadRequestException":
|
|
672
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
673
|
+
case "ConflictException":
|
|
674
|
+
case "com.amazonaws.cloud9#ConflictException":
|
|
675
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
676
|
+
case "ForbiddenException":
|
|
677
|
+
case "com.amazonaws.cloud9#ForbiddenException":
|
|
678
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
679
|
+
case "InternalServerErrorException":
|
|
680
|
+
case "com.amazonaws.cloud9#InternalServerErrorException":
|
|
681
|
+
throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
|
|
682
|
+
case "LimitExceededException":
|
|
683
|
+
case "com.amazonaws.cloud9#LimitExceededException":
|
|
684
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
685
|
+
case "NotFoundException":
|
|
686
|
+
case "com.amazonaws.cloud9#NotFoundException":
|
|
687
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
688
|
+
case "TooManyRequestsException":
|
|
689
|
+
case "com.amazonaws.cloud9#TooManyRequestsException":
|
|
690
|
+
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
691
|
+
default:
|
|
692
|
+
const parsedBody = parsedOutput.body;
|
|
693
|
+
return throwDefaultError({
|
|
694
|
+
output,
|
|
695
|
+
parsedBody,
|
|
696
|
+
errorCode
|
|
697
|
+
});
|
|
698
|
+
}
|
|
699
|
+
}, "de_DeleteEnvironmentMembershipCommandError");
|
|
700
|
+
var de_DescribeEnvironmentMembershipsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
701
|
+
if (output.statusCode >= 300) {
|
|
702
|
+
return de_DescribeEnvironmentMembershipsCommandError(output, context);
|
|
703
|
+
}
|
|
704
|
+
const data = await parseBody(output.body, context);
|
|
705
|
+
let contents = {};
|
|
706
|
+
contents = de_DescribeEnvironmentMembershipsResult(data, context);
|
|
707
|
+
const response = {
|
|
708
|
+
$metadata: deserializeMetadata(output),
|
|
709
|
+
...contents
|
|
710
|
+
};
|
|
711
|
+
return response;
|
|
712
|
+
}, "de_DescribeEnvironmentMembershipsCommand");
|
|
713
|
+
var de_DescribeEnvironmentMembershipsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
714
|
+
const parsedOutput = {
|
|
715
|
+
...output,
|
|
716
|
+
body: await parseErrorBody(output.body, context)
|
|
717
|
+
};
|
|
718
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
719
|
+
switch (errorCode) {
|
|
720
|
+
case "BadRequestException":
|
|
721
|
+
case "com.amazonaws.cloud9#BadRequestException":
|
|
722
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
723
|
+
case "ConflictException":
|
|
724
|
+
case "com.amazonaws.cloud9#ConflictException":
|
|
725
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
726
|
+
case "ForbiddenException":
|
|
727
|
+
case "com.amazonaws.cloud9#ForbiddenException":
|
|
728
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
729
|
+
case "InternalServerErrorException":
|
|
730
|
+
case "com.amazonaws.cloud9#InternalServerErrorException":
|
|
731
|
+
throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
|
|
732
|
+
case "LimitExceededException":
|
|
733
|
+
case "com.amazonaws.cloud9#LimitExceededException":
|
|
734
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
735
|
+
case "NotFoundException":
|
|
736
|
+
case "com.amazonaws.cloud9#NotFoundException":
|
|
737
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
738
|
+
case "TooManyRequestsException":
|
|
739
|
+
case "com.amazonaws.cloud9#TooManyRequestsException":
|
|
740
|
+
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
741
|
+
default:
|
|
742
|
+
const parsedBody = parsedOutput.body;
|
|
743
|
+
return throwDefaultError({
|
|
744
|
+
output,
|
|
745
|
+
parsedBody,
|
|
746
|
+
errorCode
|
|
747
|
+
});
|
|
748
|
+
}
|
|
749
|
+
}, "de_DescribeEnvironmentMembershipsCommandError");
|
|
750
|
+
var de_DescribeEnvironmentsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
751
|
+
if (output.statusCode >= 300) {
|
|
752
|
+
return de_DescribeEnvironmentsCommandError(output, context);
|
|
753
|
+
}
|
|
754
|
+
const data = await parseBody(output.body, context);
|
|
755
|
+
let contents = {};
|
|
756
|
+
contents = (0, import_smithy_client._json)(data);
|
|
757
|
+
const response = {
|
|
758
|
+
$metadata: deserializeMetadata(output),
|
|
759
|
+
...contents
|
|
760
|
+
};
|
|
761
|
+
return response;
|
|
762
|
+
}, "de_DescribeEnvironmentsCommand");
|
|
763
|
+
var de_DescribeEnvironmentsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
764
|
+
const parsedOutput = {
|
|
765
|
+
...output,
|
|
766
|
+
body: await parseErrorBody(output.body, context)
|
|
767
|
+
};
|
|
768
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
769
|
+
switch (errorCode) {
|
|
770
|
+
case "BadRequestException":
|
|
771
|
+
case "com.amazonaws.cloud9#BadRequestException":
|
|
772
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
773
|
+
case "ConflictException":
|
|
774
|
+
case "com.amazonaws.cloud9#ConflictException":
|
|
775
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
776
|
+
case "ForbiddenException":
|
|
777
|
+
case "com.amazonaws.cloud9#ForbiddenException":
|
|
778
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
779
|
+
case "InternalServerErrorException":
|
|
780
|
+
case "com.amazonaws.cloud9#InternalServerErrorException":
|
|
781
|
+
throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
|
|
782
|
+
case "LimitExceededException":
|
|
783
|
+
case "com.amazonaws.cloud9#LimitExceededException":
|
|
784
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
785
|
+
case "NotFoundException":
|
|
786
|
+
case "com.amazonaws.cloud9#NotFoundException":
|
|
787
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
788
|
+
case "TooManyRequestsException":
|
|
789
|
+
case "com.amazonaws.cloud9#TooManyRequestsException":
|
|
790
|
+
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
791
|
+
default:
|
|
792
|
+
const parsedBody = parsedOutput.body;
|
|
793
|
+
return throwDefaultError({
|
|
794
|
+
output,
|
|
795
|
+
parsedBody,
|
|
796
|
+
errorCode
|
|
797
|
+
});
|
|
798
|
+
}
|
|
799
|
+
}, "de_DescribeEnvironmentsCommandError");
|
|
800
|
+
var de_DescribeEnvironmentStatusCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
801
|
+
if (output.statusCode >= 300) {
|
|
802
|
+
return de_DescribeEnvironmentStatusCommandError(output, context);
|
|
803
|
+
}
|
|
804
|
+
const data = await parseBody(output.body, context);
|
|
805
|
+
let contents = {};
|
|
806
|
+
contents = (0, import_smithy_client._json)(data);
|
|
807
|
+
const response = {
|
|
808
|
+
$metadata: deserializeMetadata(output),
|
|
809
|
+
...contents
|
|
810
|
+
};
|
|
811
|
+
return response;
|
|
812
|
+
}, "de_DescribeEnvironmentStatusCommand");
|
|
813
|
+
var de_DescribeEnvironmentStatusCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
814
|
+
const parsedOutput = {
|
|
815
|
+
...output,
|
|
816
|
+
body: await parseErrorBody(output.body, context)
|
|
817
|
+
};
|
|
818
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
819
|
+
switch (errorCode) {
|
|
820
|
+
case "BadRequestException":
|
|
821
|
+
case "com.amazonaws.cloud9#BadRequestException":
|
|
822
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
823
|
+
case "ConflictException":
|
|
824
|
+
case "com.amazonaws.cloud9#ConflictException":
|
|
825
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
826
|
+
case "ForbiddenException":
|
|
827
|
+
case "com.amazonaws.cloud9#ForbiddenException":
|
|
828
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
829
|
+
case "InternalServerErrorException":
|
|
830
|
+
case "com.amazonaws.cloud9#InternalServerErrorException":
|
|
831
|
+
throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
|
|
832
|
+
case "LimitExceededException":
|
|
833
|
+
case "com.amazonaws.cloud9#LimitExceededException":
|
|
834
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
835
|
+
case "NotFoundException":
|
|
836
|
+
case "com.amazonaws.cloud9#NotFoundException":
|
|
837
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
838
|
+
case "TooManyRequestsException":
|
|
839
|
+
case "com.amazonaws.cloud9#TooManyRequestsException":
|
|
840
|
+
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
841
|
+
default:
|
|
842
|
+
const parsedBody = parsedOutput.body;
|
|
843
|
+
return throwDefaultError({
|
|
844
|
+
output,
|
|
845
|
+
parsedBody,
|
|
846
|
+
errorCode
|
|
847
|
+
});
|
|
848
|
+
}
|
|
849
|
+
}, "de_DescribeEnvironmentStatusCommandError");
|
|
850
|
+
var de_ListEnvironmentsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
851
|
+
if (output.statusCode >= 300) {
|
|
852
|
+
return de_ListEnvironmentsCommandError(output, context);
|
|
853
|
+
}
|
|
854
|
+
const data = await parseBody(output.body, context);
|
|
855
|
+
let contents = {};
|
|
856
|
+
contents = (0, import_smithy_client._json)(data);
|
|
857
|
+
const response = {
|
|
858
|
+
$metadata: deserializeMetadata(output),
|
|
859
|
+
...contents
|
|
860
|
+
};
|
|
861
|
+
return response;
|
|
862
|
+
}, "de_ListEnvironmentsCommand");
|
|
863
|
+
var de_ListEnvironmentsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
864
|
+
const parsedOutput = {
|
|
865
|
+
...output,
|
|
866
|
+
body: await parseErrorBody(output.body, context)
|
|
867
|
+
};
|
|
868
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
869
|
+
switch (errorCode) {
|
|
870
|
+
case "BadRequestException":
|
|
871
|
+
case "com.amazonaws.cloud9#BadRequestException":
|
|
872
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
873
|
+
case "ConflictException":
|
|
874
|
+
case "com.amazonaws.cloud9#ConflictException":
|
|
875
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
876
|
+
case "ForbiddenException":
|
|
877
|
+
case "com.amazonaws.cloud9#ForbiddenException":
|
|
878
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
879
|
+
case "InternalServerErrorException":
|
|
880
|
+
case "com.amazonaws.cloud9#InternalServerErrorException":
|
|
881
|
+
throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
|
|
882
|
+
case "LimitExceededException":
|
|
883
|
+
case "com.amazonaws.cloud9#LimitExceededException":
|
|
884
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
885
|
+
case "NotFoundException":
|
|
886
|
+
case "com.amazonaws.cloud9#NotFoundException":
|
|
887
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
888
|
+
case "TooManyRequestsException":
|
|
889
|
+
case "com.amazonaws.cloud9#TooManyRequestsException":
|
|
890
|
+
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
891
|
+
default:
|
|
892
|
+
const parsedBody = parsedOutput.body;
|
|
893
|
+
return throwDefaultError({
|
|
894
|
+
output,
|
|
895
|
+
parsedBody,
|
|
896
|
+
errorCode
|
|
897
|
+
});
|
|
898
|
+
}
|
|
899
|
+
}, "de_ListEnvironmentsCommandError");
|
|
900
|
+
var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
901
|
+
if (output.statusCode >= 300) {
|
|
902
|
+
return de_ListTagsForResourceCommandError(output, context);
|
|
903
|
+
}
|
|
904
|
+
const data = await parseBody(output.body, context);
|
|
905
|
+
let contents = {};
|
|
906
|
+
contents = (0, import_smithy_client._json)(data);
|
|
907
|
+
const response = {
|
|
908
|
+
$metadata: deserializeMetadata(output),
|
|
909
|
+
...contents
|
|
910
|
+
};
|
|
911
|
+
return response;
|
|
912
|
+
}, "de_ListTagsForResourceCommand");
|
|
913
|
+
var de_ListTagsForResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
914
|
+
const parsedOutput = {
|
|
915
|
+
...output,
|
|
916
|
+
body: await parseErrorBody(output.body, context)
|
|
917
|
+
};
|
|
918
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
919
|
+
switch (errorCode) {
|
|
920
|
+
case "BadRequestException":
|
|
921
|
+
case "com.amazonaws.cloud9#BadRequestException":
|
|
922
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
923
|
+
case "InternalServerErrorException":
|
|
924
|
+
case "com.amazonaws.cloud9#InternalServerErrorException":
|
|
925
|
+
throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
|
|
926
|
+
case "NotFoundException":
|
|
927
|
+
case "com.amazonaws.cloud9#NotFoundException":
|
|
928
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
929
|
+
default:
|
|
930
|
+
const parsedBody = parsedOutput.body;
|
|
931
|
+
return throwDefaultError({
|
|
932
|
+
output,
|
|
933
|
+
parsedBody,
|
|
934
|
+
errorCode
|
|
935
|
+
});
|
|
936
|
+
}
|
|
937
|
+
}, "de_ListTagsForResourceCommandError");
|
|
938
|
+
var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
939
|
+
if (output.statusCode >= 300) {
|
|
940
|
+
return de_TagResourceCommandError(output, context);
|
|
941
|
+
}
|
|
942
|
+
const data = await parseBody(output.body, context);
|
|
943
|
+
let contents = {};
|
|
944
|
+
contents = (0, import_smithy_client._json)(data);
|
|
945
|
+
const response = {
|
|
946
|
+
$metadata: deserializeMetadata(output),
|
|
947
|
+
...contents
|
|
948
|
+
};
|
|
949
|
+
return response;
|
|
950
|
+
}, "de_TagResourceCommand");
|
|
951
|
+
var de_TagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
952
|
+
const parsedOutput = {
|
|
953
|
+
...output,
|
|
954
|
+
body: await parseErrorBody(output.body, context)
|
|
955
|
+
};
|
|
956
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
957
|
+
switch (errorCode) {
|
|
958
|
+
case "BadRequestException":
|
|
959
|
+
case "com.amazonaws.cloud9#BadRequestException":
|
|
960
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
961
|
+
case "ConcurrentAccessException":
|
|
962
|
+
case "com.amazonaws.cloud9#ConcurrentAccessException":
|
|
963
|
+
throw await de_ConcurrentAccessExceptionRes(parsedOutput, context);
|
|
964
|
+
case "InternalServerErrorException":
|
|
965
|
+
case "com.amazonaws.cloud9#InternalServerErrorException":
|
|
966
|
+
throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
|
|
967
|
+
case "NotFoundException":
|
|
968
|
+
case "com.amazonaws.cloud9#NotFoundException":
|
|
969
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
970
|
+
default:
|
|
971
|
+
const parsedBody = parsedOutput.body;
|
|
972
|
+
return throwDefaultError({
|
|
973
|
+
output,
|
|
974
|
+
parsedBody,
|
|
975
|
+
errorCode
|
|
976
|
+
});
|
|
977
|
+
}
|
|
978
|
+
}, "de_TagResourceCommandError");
|
|
979
|
+
var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
980
|
+
if (output.statusCode >= 300) {
|
|
981
|
+
return de_UntagResourceCommandError(output, context);
|
|
982
|
+
}
|
|
983
|
+
const data = await parseBody(output.body, context);
|
|
984
|
+
let contents = {};
|
|
985
|
+
contents = (0, import_smithy_client._json)(data);
|
|
986
|
+
const response = {
|
|
987
|
+
$metadata: deserializeMetadata(output),
|
|
988
|
+
...contents
|
|
989
|
+
};
|
|
990
|
+
return response;
|
|
991
|
+
}, "de_UntagResourceCommand");
|
|
992
|
+
var de_UntagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
993
|
+
const parsedOutput = {
|
|
994
|
+
...output,
|
|
995
|
+
body: await parseErrorBody(output.body, context)
|
|
996
|
+
};
|
|
997
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
998
|
+
switch (errorCode) {
|
|
999
|
+
case "BadRequestException":
|
|
1000
|
+
case "com.amazonaws.cloud9#BadRequestException":
|
|
1001
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1002
|
+
case "ConcurrentAccessException":
|
|
1003
|
+
case "com.amazonaws.cloud9#ConcurrentAccessException":
|
|
1004
|
+
throw await de_ConcurrentAccessExceptionRes(parsedOutput, context);
|
|
1005
|
+
case "InternalServerErrorException":
|
|
1006
|
+
case "com.amazonaws.cloud9#InternalServerErrorException":
|
|
1007
|
+
throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
|
|
1008
|
+
case "NotFoundException":
|
|
1009
|
+
case "com.amazonaws.cloud9#NotFoundException":
|
|
1010
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1011
|
+
default:
|
|
1012
|
+
const parsedBody = parsedOutput.body;
|
|
1013
|
+
return throwDefaultError({
|
|
1014
|
+
output,
|
|
1015
|
+
parsedBody,
|
|
1016
|
+
errorCode
|
|
1017
|
+
});
|
|
1018
|
+
}
|
|
1019
|
+
}, "de_UntagResourceCommandError");
|
|
1020
|
+
var de_UpdateEnvironmentCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1021
|
+
if (output.statusCode >= 300) {
|
|
1022
|
+
return de_UpdateEnvironmentCommandError(output, context);
|
|
1023
|
+
}
|
|
1024
|
+
const data = await parseBody(output.body, context);
|
|
1025
|
+
let contents = {};
|
|
1026
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1027
|
+
const response = {
|
|
1028
|
+
$metadata: deserializeMetadata(output),
|
|
1029
|
+
...contents
|
|
1030
|
+
};
|
|
1031
|
+
return response;
|
|
1032
|
+
}, "de_UpdateEnvironmentCommand");
|
|
1033
|
+
var de_UpdateEnvironmentCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1034
|
+
const parsedOutput = {
|
|
1035
|
+
...output,
|
|
1036
|
+
body: await parseErrorBody(output.body, context)
|
|
1037
|
+
};
|
|
1038
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1039
|
+
switch (errorCode) {
|
|
1040
|
+
case "BadRequestException":
|
|
1041
|
+
case "com.amazonaws.cloud9#BadRequestException":
|
|
1042
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1043
|
+
case "ConflictException":
|
|
1044
|
+
case "com.amazonaws.cloud9#ConflictException":
|
|
1045
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1046
|
+
case "ForbiddenException":
|
|
1047
|
+
case "com.amazonaws.cloud9#ForbiddenException":
|
|
1048
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
1049
|
+
case "InternalServerErrorException":
|
|
1050
|
+
case "com.amazonaws.cloud9#InternalServerErrorException":
|
|
1051
|
+
throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
|
|
1052
|
+
case "LimitExceededException":
|
|
1053
|
+
case "com.amazonaws.cloud9#LimitExceededException":
|
|
1054
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1055
|
+
case "NotFoundException":
|
|
1056
|
+
case "com.amazonaws.cloud9#NotFoundException":
|
|
1057
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1058
|
+
case "TooManyRequestsException":
|
|
1059
|
+
case "com.amazonaws.cloud9#TooManyRequestsException":
|
|
1060
|
+
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
1061
|
+
default:
|
|
1062
|
+
const parsedBody = parsedOutput.body;
|
|
1063
|
+
return throwDefaultError({
|
|
1064
|
+
output,
|
|
1065
|
+
parsedBody,
|
|
1066
|
+
errorCode
|
|
1067
|
+
});
|
|
1068
|
+
}
|
|
1069
|
+
}, "de_UpdateEnvironmentCommandError");
|
|
1070
|
+
var de_UpdateEnvironmentMembershipCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1071
|
+
if (output.statusCode >= 300) {
|
|
1072
|
+
return de_UpdateEnvironmentMembershipCommandError(output, context);
|
|
1073
|
+
}
|
|
1074
|
+
const data = await parseBody(output.body, context);
|
|
1075
|
+
let contents = {};
|
|
1076
|
+
contents = de_UpdateEnvironmentMembershipResult(data, context);
|
|
1077
|
+
const response = {
|
|
1078
|
+
$metadata: deserializeMetadata(output),
|
|
1079
|
+
...contents
|
|
1080
|
+
};
|
|
1081
|
+
return response;
|
|
1082
|
+
}, "de_UpdateEnvironmentMembershipCommand");
|
|
1083
|
+
var de_UpdateEnvironmentMembershipCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1084
|
+
const parsedOutput = {
|
|
1085
|
+
...output,
|
|
1086
|
+
body: await parseErrorBody(output.body, context)
|
|
1087
|
+
};
|
|
1088
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1089
|
+
switch (errorCode) {
|
|
1090
|
+
case "BadRequestException":
|
|
1091
|
+
case "com.amazonaws.cloud9#BadRequestException":
|
|
1092
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1093
|
+
case "ConflictException":
|
|
1094
|
+
case "com.amazonaws.cloud9#ConflictException":
|
|
1095
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1096
|
+
case "ForbiddenException":
|
|
1097
|
+
case "com.amazonaws.cloud9#ForbiddenException":
|
|
1098
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
1099
|
+
case "InternalServerErrorException":
|
|
1100
|
+
case "com.amazonaws.cloud9#InternalServerErrorException":
|
|
1101
|
+
throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
|
|
1102
|
+
case "LimitExceededException":
|
|
1103
|
+
case "com.amazonaws.cloud9#LimitExceededException":
|
|
1104
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1105
|
+
case "NotFoundException":
|
|
1106
|
+
case "com.amazonaws.cloud9#NotFoundException":
|
|
1107
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1108
|
+
case "TooManyRequestsException":
|
|
1109
|
+
case "com.amazonaws.cloud9#TooManyRequestsException":
|
|
1110
|
+
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
1111
|
+
default:
|
|
1112
|
+
const parsedBody = parsedOutput.body;
|
|
1113
|
+
return throwDefaultError({
|
|
1114
|
+
output,
|
|
1115
|
+
parsedBody,
|
|
1116
|
+
errorCode
|
|
1117
|
+
});
|
|
1118
|
+
}
|
|
1119
|
+
}, "de_UpdateEnvironmentMembershipCommandError");
|
|
1120
|
+
var de_BadRequestExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1121
|
+
const body = parsedOutput.body;
|
|
1122
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
1123
|
+
const exception = new BadRequestException({
|
|
1124
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1125
|
+
...deserialized
|
|
1126
|
+
});
|
|
1127
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1128
|
+
}, "de_BadRequestExceptionRes");
|
|
1129
|
+
var de_ConcurrentAccessExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1130
|
+
const body = parsedOutput.body;
|
|
1131
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
1132
|
+
const exception = new ConcurrentAccessException({
|
|
1133
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1134
|
+
...deserialized
|
|
1135
|
+
});
|
|
1136
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1137
|
+
}, "de_ConcurrentAccessExceptionRes");
|
|
1138
|
+
var de_ConflictExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1139
|
+
const body = parsedOutput.body;
|
|
1140
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
1141
|
+
const exception = new ConflictException({
|
|
1142
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1143
|
+
...deserialized
|
|
1144
|
+
});
|
|
1145
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1146
|
+
}, "de_ConflictExceptionRes");
|
|
1147
|
+
var de_ForbiddenExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1148
|
+
const body = parsedOutput.body;
|
|
1149
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
1150
|
+
const exception = new ForbiddenException({
|
|
1151
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1152
|
+
...deserialized
|
|
1153
|
+
});
|
|
1154
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1155
|
+
}, "de_ForbiddenExceptionRes");
|
|
1156
|
+
var de_InternalServerErrorExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1157
|
+
const body = parsedOutput.body;
|
|
1158
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
1159
|
+
const exception = new InternalServerErrorException({
|
|
1160
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1161
|
+
...deserialized
|
|
1162
|
+
});
|
|
1163
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1164
|
+
}, "de_InternalServerErrorExceptionRes");
|
|
1165
|
+
var de_LimitExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1166
|
+
const body = parsedOutput.body;
|
|
1167
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
1168
|
+
const exception = new LimitExceededException({
|
|
1169
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1170
|
+
...deserialized
|
|
1171
|
+
});
|
|
1172
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1173
|
+
}, "de_LimitExceededExceptionRes");
|
|
1174
|
+
var de_NotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1175
|
+
const body = parsedOutput.body;
|
|
1176
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
1177
|
+
const exception = new NotFoundException({
|
|
1178
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1179
|
+
...deserialized
|
|
1180
|
+
});
|
|
1181
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1182
|
+
}, "de_NotFoundExceptionRes");
|
|
1183
|
+
var de_TooManyRequestsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1184
|
+
const body = parsedOutput.body;
|
|
1185
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
1186
|
+
const exception = new TooManyRequestsException({
|
|
1187
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1188
|
+
...deserialized
|
|
1189
|
+
});
|
|
1190
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1191
|
+
}, "de_TooManyRequestsExceptionRes");
|
|
1192
|
+
var de_CreateEnvironmentMembershipResult = /* @__PURE__ */ __name((output, context) => {
|
|
1193
|
+
return (0, import_smithy_client.take)(output, {
|
|
1194
|
+
membership: (_) => de_EnvironmentMember(_, context)
|
|
1195
|
+
});
|
|
1196
|
+
}, "de_CreateEnvironmentMembershipResult");
|
|
1197
|
+
var de_DescribeEnvironmentMembershipsResult = /* @__PURE__ */ __name((output, context) => {
|
|
1198
|
+
return (0, import_smithy_client.take)(output, {
|
|
1199
|
+
memberships: (_) => de_EnvironmentMembersList(_, context),
|
|
1200
|
+
nextToken: import_smithy_client.expectString
|
|
1201
|
+
});
|
|
1202
|
+
}, "de_DescribeEnvironmentMembershipsResult");
|
|
1203
|
+
var de_EnvironmentMember = /* @__PURE__ */ __name((output, context) => {
|
|
1204
|
+
return (0, import_smithy_client.take)(output, {
|
|
1205
|
+
environmentId: import_smithy_client.expectString,
|
|
1206
|
+
lastAccess: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1207
|
+
permissions: import_smithy_client.expectString,
|
|
1208
|
+
userArn: import_smithy_client.expectString,
|
|
1209
|
+
userId: import_smithy_client.expectString
|
|
1210
|
+
});
|
|
1211
|
+
}, "de_EnvironmentMember");
|
|
1212
|
+
var de_EnvironmentMembersList = /* @__PURE__ */ __name((output, context) => {
|
|
1213
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1214
|
+
return de_EnvironmentMember(entry, context);
|
|
1215
|
+
});
|
|
1216
|
+
return retVal;
|
|
1217
|
+
}, "de_EnvironmentMembersList");
|
|
1218
|
+
var de_UpdateEnvironmentMembershipResult = /* @__PURE__ */ __name((output, context) => {
|
|
1219
|
+
return (0, import_smithy_client.take)(output, {
|
|
1220
|
+
membership: (_) => de_EnvironmentMember(_, context)
|
|
1221
|
+
});
|
|
1222
|
+
}, "de_UpdateEnvironmentMembershipResult");
|
|
1223
|
+
var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
1224
|
+
httpStatusCode: output.statusCode,
|
|
1225
|
+
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
1226
|
+
extendedRequestId: output.headers["x-amz-id-2"],
|
|
1227
|
+
cfId: output.headers["x-amz-cf-id"]
|
|
1228
|
+
}), "deserializeMetadata");
|
|
1229
|
+
var collectBodyString = /* @__PURE__ */ __name((streamBody, context) => (0, import_smithy_client.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body)), "collectBodyString");
|
|
1230
|
+
var throwDefaultError = (0, import_smithy_client.withBaseException)(Cloud9ServiceException);
|
|
1231
|
+
var buildHttpRpcRequest = /* @__PURE__ */ __name(async (context, headers, path, resolvedHostname, body) => {
|
|
1232
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1233
|
+
const contents = {
|
|
1234
|
+
protocol,
|
|
1235
|
+
hostname,
|
|
1236
|
+
port,
|
|
1237
|
+
method: "POST",
|
|
1238
|
+
path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
|
|
1239
|
+
headers
|
|
1240
|
+
};
|
|
1241
|
+
if (resolvedHostname !== void 0) {
|
|
1242
|
+
contents.hostname = resolvedHostname;
|
|
1243
|
+
}
|
|
1244
|
+
if (body !== void 0) {
|
|
1245
|
+
contents.body = body;
|
|
1246
|
+
}
|
|
1247
|
+
return new import_protocol_http.HttpRequest(contents);
|
|
1248
|
+
}, "buildHttpRpcRequest");
|
|
1249
|
+
function sharedHeaders(operation) {
|
|
1250
|
+
return {
|
|
1251
|
+
"content-type": "application/x-amz-json-1.1",
|
|
1252
|
+
"x-amz-target": `AWSCloud9WorkspaceManagementService.${operation}`
|
|
1253
|
+
};
|
|
1254
|
+
}
|
|
1255
|
+
__name(sharedHeaders, "sharedHeaders");
|
|
1256
|
+
var parseBody = /* @__PURE__ */ __name((streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
1257
|
+
if (encoded.length) {
|
|
1258
|
+
return JSON.parse(encoded);
|
|
1259
|
+
}
|
|
1260
|
+
return {};
|
|
1261
|
+
}), "parseBody");
|
|
1262
|
+
var parseErrorBody = /* @__PURE__ */ __name(async (errorBody, context) => {
|
|
1263
|
+
const value = await parseBody(errorBody, context);
|
|
1264
|
+
value.message = value.message ?? value.Message;
|
|
1265
|
+
return value;
|
|
1266
|
+
}, "parseErrorBody");
|
|
1267
|
+
var loadRestJsonErrorCode = /* @__PURE__ */ __name((output, data) => {
|
|
1268
|
+
const findKey = /* @__PURE__ */ __name((object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase()), "findKey");
|
|
1269
|
+
const sanitizeErrorCode = /* @__PURE__ */ __name((rawValue) => {
|
|
1270
|
+
let cleanValue = rawValue;
|
|
1271
|
+
if (typeof cleanValue === "number") {
|
|
1272
|
+
cleanValue = cleanValue.toString();
|
|
1273
|
+
}
|
|
1274
|
+
if (cleanValue.indexOf(",") >= 0) {
|
|
1275
|
+
cleanValue = cleanValue.split(",")[0];
|
|
1276
|
+
}
|
|
1277
|
+
if (cleanValue.indexOf(":") >= 0) {
|
|
1278
|
+
cleanValue = cleanValue.split(":")[0];
|
|
1279
|
+
}
|
|
1280
|
+
if (cleanValue.indexOf("#") >= 0) {
|
|
1281
|
+
cleanValue = cleanValue.split("#")[1];
|
|
1282
|
+
}
|
|
1283
|
+
return cleanValue;
|
|
1284
|
+
}, "sanitizeErrorCode");
|
|
1285
|
+
const headerKey = findKey(output.headers, "x-amzn-errortype");
|
|
1286
|
+
if (headerKey !== void 0) {
|
|
1287
|
+
return sanitizeErrorCode(output.headers[headerKey]);
|
|
1288
|
+
}
|
|
1289
|
+
if (data.code !== void 0) {
|
|
1290
|
+
return sanitizeErrorCode(data.code);
|
|
1291
|
+
}
|
|
1292
|
+
if (data["__type"] !== void 0) {
|
|
1293
|
+
return sanitizeErrorCode(data["__type"]);
|
|
1294
|
+
}
|
|
1295
|
+
}, "loadRestJsonErrorCode");
|
|
1296
|
+
|
|
1297
|
+
// src/commands/CreateEnvironmentEC2Command.ts
|
|
1298
|
+
var _CreateEnvironmentEC2Command = class _CreateEnvironmentEC2Command extends import_smithy_client.Command.classBuilder().ep({
|
|
1299
|
+
...commonParams
|
|
1300
|
+
}).m(function(Command, cs, config, o) {
|
|
1301
|
+
return [
|
|
1302
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1303
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1304
|
+
];
|
|
1305
|
+
}).s("AWSCloud9WorkspaceManagementService", "CreateEnvironmentEC2", {}).n("Cloud9Client", "CreateEnvironmentEC2Command").f(CreateEnvironmentEC2RequestFilterSensitiveLog, void 0).ser(se_CreateEnvironmentEC2Command).de(de_CreateEnvironmentEC2Command).build() {
|
|
1306
|
+
};
|
|
1307
|
+
__name(_CreateEnvironmentEC2Command, "CreateEnvironmentEC2Command");
|
|
1308
|
+
var CreateEnvironmentEC2Command = _CreateEnvironmentEC2Command;
|
|
1309
|
+
|
|
1310
|
+
// src/commands/CreateEnvironmentMembershipCommand.ts
|
|
1311
|
+
|
|
1312
|
+
|
|
1313
|
+
|
|
1314
|
+
|
|
1315
|
+
var _CreateEnvironmentMembershipCommand = class _CreateEnvironmentMembershipCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1316
|
+
...commonParams
|
|
1317
|
+
}).m(function(Command, cs, config, o) {
|
|
1318
|
+
return [
|
|
1319
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1320
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1321
|
+
];
|
|
1322
|
+
}).s("AWSCloud9WorkspaceManagementService", "CreateEnvironmentMembership", {}).n("Cloud9Client", "CreateEnvironmentMembershipCommand").f(void 0, void 0).ser(se_CreateEnvironmentMembershipCommand).de(de_CreateEnvironmentMembershipCommand).build() {
|
|
1323
|
+
};
|
|
1324
|
+
__name(_CreateEnvironmentMembershipCommand, "CreateEnvironmentMembershipCommand");
|
|
1325
|
+
var CreateEnvironmentMembershipCommand = _CreateEnvironmentMembershipCommand;
|
|
1326
|
+
|
|
1327
|
+
// src/commands/DeleteEnvironmentCommand.ts
|
|
1328
|
+
|
|
1329
|
+
|
|
1330
|
+
|
|
1331
|
+
|
|
1332
|
+
var _DeleteEnvironmentCommand = class _DeleteEnvironmentCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1333
|
+
...commonParams
|
|
1334
|
+
}).m(function(Command, cs, config, o) {
|
|
1335
|
+
return [
|
|
1336
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1337
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1338
|
+
];
|
|
1339
|
+
}).s("AWSCloud9WorkspaceManagementService", "DeleteEnvironment", {}).n("Cloud9Client", "DeleteEnvironmentCommand").f(void 0, void 0).ser(se_DeleteEnvironmentCommand).de(de_DeleteEnvironmentCommand).build() {
|
|
1340
|
+
};
|
|
1341
|
+
__name(_DeleteEnvironmentCommand, "DeleteEnvironmentCommand");
|
|
1342
|
+
var DeleteEnvironmentCommand = _DeleteEnvironmentCommand;
|
|
1343
|
+
|
|
1344
|
+
// src/commands/DeleteEnvironmentMembershipCommand.ts
|
|
1345
|
+
|
|
1346
|
+
|
|
1347
|
+
|
|
1348
|
+
|
|
1349
|
+
var _DeleteEnvironmentMembershipCommand = class _DeleteEnvironmentMembershipCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1350
|
+
...commonParams
|
|
1351
|
+
}).m(function(Command, cs, config, o) {
|
|
1352
|
+
return [
|
|
1353
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1354
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1355
|
+
];
|
|
1356
|
+
}).s("AWSCloud9WorkspaceManagementService", "DeleteEnvironmentMembership", {}).n("Cloud9Client", "DeleteEnvironmentMembershipCommand").f(void 0, void 0).ser(se_DeleteEnvironmentMembershipCommand).de(de_DeleteEnvironmentMembershipCommand).build() {
|
|
1357
|
+
};
|
|
1358
|
+
__name(_DeleteEnvironmentMembershipCommand, "DeleteEnvironmentMembershipCommand");
|
|
1359
|
+
var DeleteEnvironmentMembershipCommand = _DeleteEnvironmentMembershipCommand;
|
|
1360
|
+
|
|
1361
|
+
// src/commands/DescribeEnvironmentMembershipsCommand.ts
|
|
1362
|
+
|
|
1363
|
+
|
|
1364
|
+
|
|
1365
|
+
|
|
1366
|
+
var _DescribeEnvironmentMembershipsCommand = class _DescribeEnvironmentMembershipsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1367
|
+
...commonParams
|
|
1368
|
+
}).m(function(Command, cs, config, o) {
|
|
1369
|
+
return [
|
|
1370
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1371
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1372
|
+
];
|
|
1373
|
+
}).s("AWSCloud9WorkspaceManagementService", "DescribeEnvironmentMemberships", {}).n("Cloud9Client", "DescribeEnvironmentMembershipsCommand").f(void 0, void 0).ser(se_DescribeEnvironmentMembershipsCommand).de(de_DescribeEnvironmentMembershipsCommand).build() {
|
|
1374
|
+
};
|
|
1375
|
+
__name(_DescribeEnvironmentMembershipsCommand, "DescribeEnvironmentMembershipsCommand");
|
|
1376
|
+
var DescribeEnvironmentMembershipsCommand = _DescribeEnvironmentMembershipsCommand;
|
|
1377
|
+
|
|
1378
|
+
// src/commands/DescribeEnvironmentsCommand.ts
|
|
1379
|
+
|
|
1380
|
+
|
|
1381
|
+
|
|
1382
|
+
|
|
1383
|
+
var _DescribeEnvironmentsCommand = class _DescribeEnvironmentsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1384
|
+
...commonParams
|
|
1385
|
+
}).m(function(Command, cs, config, o) {
|
|
1386
|
+
return [
|
|
1387
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1388
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1389
|
+
];
|
|
1390
|
+
}).s("AWSCloud9WorkspaceManagementService", "DescribeEnvironments", {}).n("Cloud9Client", "DescribeEnvironmentsCommand").f(void 0, DescribeEnvironmentsResultFilterSensitiveLog).ser(se_DescribeEnvironmentsCommand).de(de_DescribeEnvironmentsCommand).build() {
|
|
1391
|
+
};
|
|
1392
|
+
__name(_DescribeEnvironmentsCommand, "DescribeEnvironmentsCommand");
|
|
1393
|
+
var DescribeEnvironmentsCommand = _DescribeEnvironmentsCommand;
|
|
1394
|
+
|
|
1395
|
+
// src/commands/DescribeEnvironmentStatusCommand.ts
|
|
1396
|
+
|
|
1397
|
+
|
|
1398
|
+
|
|
1399
|
+
|
|
1400
|
+
var _DescribeEnvironmentStatusCommand = class _DescribeEnvironmentStatusCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1401
|
+
...commonParams
|
|
1402
|
+
}).m(function(Command, cs, config, o) {
|
|
1403
|
+
return [
|
|
1404
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1405
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1406
|
+
];
|
|
1407
|
+
}).s("AWSCloud9WorkspaceManagementService", "DescribeEnvironmentStatus", {}).n("Cloud9Client", "DescribeEnvironmentStatusCommand").f(void 0, void 0).ser(se_DescribeEnvironmentStatusCommand).de(de_DescribeEnvironmentStatusCommand).build() {
|
|
1408
|
+
};
|
|
1409
|
+
__name(_DescribeEnvironmentStatusCommand, "DescribeEnvironmentStatusCommand");
|
|
1410
|
+
var DescribeEnvironmentStatusCommand = _DescribeEnvironmentStatusCommand;
|
|
1411
|
+
|
|
1412
|
+
// src/commands/ListEnvironmentsCommand.ts
|
|
1413
|
+
|
|
1414
|
+
|
|
1415
|
+
|
|
1416
|
+
|
|
1417
|
+
var _ListEnvironmentsCommand = class _ListEnvironmentsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1418
|
+
...commonParams
|
|
1419
|
+
}).m(function(Command, cs, config, o) {
|
|
1420
|
+
return [
|
|
1421
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1422
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1423
|
+
];
|
|
1424
|
+
}).s("AWSCloud9WorkspaceManagementService", "ListEnvironments", {}).n("Cloud9Client", "ListEnvironmentsCommand").f(void 0, void 0).ser(se_ListEnvironmentsCommand).de(de_ListEnvironmentsCommand).build() {
|
|
1425
|
+
};
|
|
1426
|
+
__name(_ListEnvironmentsCommand, "ListEnvironmentsCommand");
|
|
1427
|
+
var ListEnvironmentsCommand = _ListEnvironmentsCommand;
|
|
1428
|
+
|
|
1429
|
+
// src/commands/ListTagsForResourceCommand.ts
|
|
1430
|
+
|
|
1431
|
+
|
|
1432
|
+
|
|
1433
|
+
|
|
1434
|
+
var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1435
|
+
...commonParams
|
|
1436
|
+
}).m(function(Command, cs, config, o) {
|
|
1437
|
+
return [
|
|
1438
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1439
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1440
|
+
];
|
|
1441
|
+
}).s("AWSCloud9WorkspaceManagementService", "ListTagsForResource", {}).n("Cloud9Client", "ListTagsForResourceCommand").f(void 0, ListTagsForResourceResponseFilterSensitiveLog).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {
|
|
1442
|
+
};
|
|
1443
|
+
__name(_ListTagsForResourceCommand, "ListTagsForResourceCommand");
|
|
1444
|
+
var ListTagsForResourceCommand = _ListTagsForResourceCommand;
|
|
1445
|
+
|
|
1446
|
+
// src/commands/TagResourceCommand.ts
|
|
1447
|
+
|
|
1448
|
+
|
|
1449
|
+
|
|
1450
|
+
|
|
1451
|
+
var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1452
|
+
...commonParams
|
|
1453
|
+
}).m(function(Command, cs, config, o) {
|
|
1454
|
+
return [
|
|
1455
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1456
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1457
|
+
];
|
|
1458
|
+
}).s("AWSCloud9WorkspaceManagementService", "TagResource", {}).n("Cloud9Client", "TagResourceCommand").f(TagResourceRequestFilterSensitiveLog, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() {
|
|
1459
|
+
};
|
|
1460
|
+
__name(_TagResourceCommand, "TagResourceCommand");
|
|
1461
|
+
var TagResourceCommand = _TagResourceCommand;
|
|
1462
|
+
|
|
1463
|
+
// src/commands/UntagResourceCommand.ts
|
|
1464
|
+
|
|
1465
|
+
|
|
1466
|
+
|
|
1467
|
+
|
|
1468
|
+
var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1469
|
+
...commonParams
|
|
1470
|
+
}).m(function(Command, cs, config, o) {
|
|
1471
|
+
return [
|
|
1472
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1473
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1474
|
+
];
|
|
1475
|
+
}).s("AWSCloud9WorkspaceManagementService", "UntagResource", {}).n("Cloud9Client", "UntagResourceCommand").f(UntagResourceRequestFilterSensitiveLog, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {
|
|
1476
|
+
};
|
|
1477
|
+
__name(_UntagResourceCommand, "UntagResourceCommand");
|
|
1478
|
+
var UntagResourceCommand = _UntagResourceCommand;
|
|
1479
|
+
|
|
1480
|
+
// src/commands/UpdateEnvironmentCommand.ts
|
|
1481
|
+
|
|
1482
|
+
|
|
1483
|
+
|
|
1484
|
+
|
|
1485
|
+
var _UpdateEnvironmentCommand = class _UpdateEnvironmentCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1486
|
+
...commonParams
|
|
1487
|
+
}).m(function(Command, cs, config, o) {
|
|
1488
|
+
return [
|
|
1489
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1490
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1491
|
+
];
|
|
1492
|
+
}).s("AWSCloud9WorkspaceManagementService", "UpdateEnvironment", {}).n("Cloud9Client", "UpdateEnvironmentCommand").f(UpdateEnvironmentRequestFilterSensitiveLog, void 0).ser(se_UpdateEnvironmentCommand).de(de_UpdateEnvironmentCommand).build() {
|
|
1493
|
+
};
|
|
1494
|
+
__name(_UpdateEnvironmentCommand, "UpdateEnvironmentCommand");
|
|
1495
|
+
var UpdateEnvironmentCommand = _UpdateEnvironmentCommand;
|
|
1496
|
+
|
|
1497
|
+
// src/commands/UpdateEnvironmentMembershipCommand.ts
|
|
1498
|
+
|
|
1499
|
+
|
|
1500
|
+
|
|
1501
|
+
|
|
1502
|
+
var _UpdateEnvironmentMembershipCommand = class _UpdateEnvironmentMembershipCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1503
|
+
...commonParams
|
|
1504
|
+
}).m(function(Command, cs, config, o) {
|
|
1505
|
+
return [
|
|
1506
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1507
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1508
|
+
];
|
|
1509
|
+
}).s("AWSCloud9WorkspaceManagementService", "UpdateEnvironmentMembership", {}).n("Cloud9Client", "UpdateEnvironmentMembershipCommand").f(void 0, void 0).ser(se_UpdateEnvironmentMembershipCommand).de(de_UpdateEnvironmentMembershipCommand).build() {
|
|
1510
|
+
};
|
|
1511
|
+
__name(_UpdateEnvironmentMembershipCommand, "UpdateEnvironmentMembershipCommand");
|
|
1512
|
+
var UpdateEnvironmentMembershipCommand = _UpdateEnvironmentMembershipCommand;
|
|
1513
|
+
|
|
1514
|
+
// src/Cloud9.ts
|
|
1515
|
+
var commands = {
|
|
1516
|
+
CreateEnvironmentEC2Command,
|
|
1517
|
+
CreateEnvironmentMembershipCommand,
|
|
1518
|
+
DeleteEnvironmentCommand,
|
|
1519
|
+
DeleteEnvironmentMembershipCommand,
|
|
1520
|
+
DescribeEnvironmentMembershipsCommand,
|
|
1521
|
+
DescribeEnvironmentsCommand,
|
|
1522
|
+
DescribeEnvironmentStatusCommand,
|
|
1523
|
+
ListEnvironmentsCommand,
|
|
1524
|
+
ListTagsForResourceCommand,
|
|
1525
|
+
TagResourceCommand,
|
|
1526
|
+
UntagResourceCommand,
|
|
1527
|
+
UpdateEnvironmentCommand,
|
|
1528
|
+
UpdateEnvironmentMembershipCommand
|
|
1529
|
+
};
|
|
1530
|
+
var _Cloud9 = class _Cloud9 extends Cloud9Client {
|
|
1531
|
+
};
|
|
1532
|
+
__name(_Cloud9, "Cloud9");
|
|
1533
|
+
var Cloud9 = _Cloud9;
|
|
1534
|
+
(0, import_smithy_client.createAggregatedClient)(commands, Cloud9);
|
|
1535
|
+
|
|
1536
|
+
// src/pagination/DescribeEnvironmentMembershipsPaginator.ts
|
|
1537
|
+
var import_core = require("@smithy/core");
|
|
1538
|
+
var paginateDescribeEnvironmentMemberships = (0, import_core.createPaginator)(Cloud9Client, DescribeEnvironmentMembershipsCommand, "nextToken", "nextToken", "maxResults");
|
|
1539
|
+
|
|
1540
|
+
// src/pagination/ListEnvironmentsPaginator.ts
|
|
1541
|
+
|
|
1542
|
+
var paginateListEnvironments = (0, import_core.createPaginator)(Cloud9Client, ListEnvironmentsCommand, "nextToken", "nextToken", "maxResults");
|
|
1543
|
+
|
|
1544
|
+
// src/index.ts
|
|
1545
|
+
var import_util_endpoints = require("@aws-sdk/util-endpoints");
|
|
1546
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
1547
|
+
0 && (module.exports = {
|
|
1548
|
+
BadRequestException,
|
|
1549
|
+
Cloud9,
|
|
1550
|
+
Cloud9Client,
|
|
1551
|
+
Cloud9ServiceException,
|
|
1552
|
+
ConcurrentAccessException,
|
|
1553
|
+
ConflictException,
|
|
1554
|
+
ConnectionType,
|
|
1555
|
+
CreateEnvironmentEC2Command,
|
|
1556
|
+
CreateEnvironmentEC2RequestFilterSensitiveLog,
|
|
1557
|
+
CreateEnvironmentMembershipCommand,
|
|
1558
|
+
DeleteEnvironmentCommand,
|
|
1559
|
+
DeleteEnvironmentMembershipCommand,
|
|
1560
|
+
DescribeEnvironmentMembershipsCommand,
|
|
1561
|
+
DescribeEnvironmentStatusCommand,
|
|
1562
|
+
DescribeEnvironmentsCommand,
|
|
1563
|
+
DescribeEnvironmentsResultFilterSensitiveLog,
|
|
1564
|
+
EnvironmentFilterSensitiveLog,
|
|
1565
|
+
EnvironmentLifecycleStatus,
|
|
1566
|
+
EnvironmentStatus,
|
|
1567
|
+
EnvironmentType,
|
|
1568
|
+
ForbiddenException,
|
|
1569
|
+
InternalServerErrorException,
|
|
1570
|
+
LimitExceededException,
|
|
1571
|
+
ListEnvironmentsCommand,
|
|
1572
|
+
ListTagsForResourceCommand,
|
|
1573
|
+
ListTagsForResourceResponseFilterSensitiveLog,
|
|
1574
|
+
ManagedCredentialsAction,
|
|
1575
|
+
ManagedCredentialsStatus,
|
|
1576
|
+
MemberPermissions,
|
|
1577
|
+
NotFoundException,
|
|
1578
|
+
Permissions,
|
|
1579
|
+
TagFilterSensitiveLog,
|
|
1580
|
+
TagResourceCommand,
|
|
1581
|
+
TagResourceRequestFilterSensitiveLog,
|
|
1582
|
+
TooManyRequestsException,
|
|
1583
|
+
UntagResourceCommand,
|
|
1584
|
+
UntagResourceRequestFilterSensitiveLog,
|
|
1585
|
+
UpdateEnvironmentCommand,
|
|
1586
|
+
UpdateEnvironmentMembershipCommand,
|
|
1587
|
+
UpdateEnvironmentRequestFilterSensitiveLog,
|
|
1588
|
+
__Client,
|
|
1589
|
+
paginateDescribeEnvironmentMemberships,
|
|
1590
|
+
paginateListEnvironments
|
|
1591
|
+
});
|