@aws-sdk/client-cloud9 3.899.0 → 3.906.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/index.js +990 -1139
- package/package.json +37 -37
package/dist-cjs/index.js
CHANGED
|
@@ -1,1196 +1,1047 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
var
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var middlewareHostHeader = require('@aws-sdk/middleware-host-header');
|
|
4
|
+
var middlewareLogger = require('@aws-sdk/middleware-logger');
|
|
5
|
+
var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detection');
|
|
6
|
+
var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
|
|
7
|
+
var configResolver = require('@smithy/config-resolver');
|
|
8
|
+
var core = require('@smithy/core');
|
|
9
|
+
var middlewareContentLength = require('@smithy/middleware-content-length');
|
|
10
|
+
var middlewareEndpoint = require('@smithy/middleware-endpoint');
|
|
11
|
+
var middlewareRetry = require('@smithy/middleware-retry');
|
|
12
|
+
var smithyClient = require('@smithy/smithy-client');
|
|
13
|
+
var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
|
|
14
|
+
var runtimeConfig = require('./runtimeConfig');
|
|
15
|
+
var regionConfigResolver = require('@aws-sdk/region-config-resolver');
|
|
16
|
+
var protocolHttp = require('@smithy/protocol-http');
|
|
17
|
+
var middlewareSerde = require('@smithy/middleware-serde');
|
|
18
|
+
var core$1 = require('@aws-sdk/core');
|
|
19
|
+
|
|
20
|
+
const resolveClientEndpointParameters = (options) => {
|
|
21
|
+
return Object.assign(options, {
|
|
22
|
+
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
23
|
+
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
24
|
+
defaultSigningName: "cloud9",
|
|
25
|
+
});
|
|
10
26
|
};
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
}
|
|
17
|
-
return to;
|
|
27
|
+
const commonParams = {
|
|
28
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
29
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
30
|
+
Region: { type: "builtInParams", name: "region" },
|
|
31
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
18
32
|
};
|
|
19
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
|
-
|
|
21
|
-
// src/index.ts
|
|
22
|
-
var index_exports = {};
|
|
23
|
-
__export(index_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(index_exports);
|
|
69
33
|
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
34
|
+
const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
|
|
35
|
+
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
36
|
+
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
37
|
+
let _credentials = runtimeConfig.credentials;
|
|
38
|
+
return {
|
|
39
|
+
setHttpAuthScheme(httpAuthScheme) {
|
|
40
|
+
const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
|
|
41
|
+
if (index === -1) {
|
|
42
|
+
_httpAuthSchemes.push(httpAuthScheme);
|
|
43
|
+
}
|
|
44
|
+
else {
|
|
45
|
+
_httpAuthSchemes.splice(index, 1, httpAuthScheme);
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
httpAuthSchemes() {
|
|
49
|
+
return _httpAuthSchemes;
|
|
50
|
+
},
|
|
51
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
|
|
52
|
+
_httpAuthSchemeProvider = httpAuthSchemeProvider;
|
|
53
|
+
},
|
|
54
|
+
httpAuthSchemeProvider() {
|
|
55
|
+
return _httpAuthSchemeProvider;
|
|
56
|
+
},
|
|
57
|
+
setCredentials(credentials) {
|
|
58
|
+
_credentials = credentials;
|
|
59
|
+
},
|
|
60
|
+
credentials() {
|
|
61
|
+
return _credentials;
|
|
62
|
+
},
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
const resolveHttpAuthRuntimeConfig = (config) => {
|
|
66
|
+
return {
|
|
67
|
+
httpAuthSchemes: config.httpAuthSchemes(),
|
|
68
|
+
httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
|
|
69
|
+
credentials: config.credentials(),
|
|
70
|
+
};
|
|
96
71
|
};
|
|
97
72
|
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
var import_protocol_http = require("@smithy/protocol-http");
|
|
104
|
-
var import_smithy_client = require("@smithy/smithy-client");
|
|
73
|
+
const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
74
|
+
const extensionConfiguration = Object.assign(regionConfigResolver.getAwsRegionExtensionConfiguration(runtimeConfig), smithyClient.getDefaultExtensionConfiguration(runtimeConfig), protocolHttp.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
|
|
75
|
+
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
76
|
+
return Object.assign(runtimeConfig, regionConfigResolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration), smithyClient.resolveDefaultRuntimeConfig(extensionConfiguration), protocolHttp.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
|
|
77
|
+
};
|
|
105
78
|
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
79
|
+
class Cloud9Client extends smithyClient.Client {
|
|
80
|
+
config;
|
|
81
|
+
constructor(...[configuration]) {
|
|
82
|
+
const _config_0 = runtimeConfig.getRuntimeConfig(configuration || {});
|
|
83
|
+
super(_config_0);
|
|
84
|
+
this.initConfig = _config_0;
|
|
85
|
+
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
86
|
+
const _config_2 = middlewareUserAgent.resolveUserAgentConfig(_config_1);
|
|
87
|
+
const _config_3 = middlewareRetry.resolveRetryConfig(_config_2);
|
|
88
|
+
const _config_4 = configResolver.resolveRegionConfig(_config_3);
|
|
89
|
+
const _config_5 = middlewareHostHeader.resolveHostHeaderConfig(_config_4);
|
|
90
|
+
const _config_6 = middlewareEndpoint.resolveEndpointConfig(_config_5);
|
|
91
|
+
const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
|
|
92
|
+
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
93
|
+
this.config = _config_8;
|
|
94
|
+
this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
|
|
95
|
+
this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
|
|
96
|
+
this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
|
|
97
|
+
this.middlewareStack.use(middlewareHostHeader.getHostHeaderPlugin(this.config));
|
|
98
|
+
this.middlewareStack.use(middlewareLogger.getLoggerPlugin(this.config));
|
|
99
|
+
this.middlewareStack.use(middlewareRecursionDetection.getRecursionDetectionPlugin(this.config));
|
|
100
|
+
this.middlewareStack.use(core.getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
|
|
101
|
+
httpAuthSchemeParametersProvider: httpAuthSchemeProvider.defaultCloud9HttpAuthSchemeParametersProvider,
|
|
102
|
+
identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({
|
|
103
|
+
"aws.auth#sigv4": config.credentials,
|
|
104
|
+
}),
|
|
105
|
+
}));
|
|
106
|
+
this.middlewareStack.use(core.getHttpSigningPlugin(this.config));
|
|
107
|
+
}
|
|
108
|
+
destroy() {
|
|
109
|
+
super.destroy();
|
|
134
110
|
}
|
|
135
|
-
|
|
136
|
-
}, "getHttpAuthExtensionConfiguration");
|
|
137
|
-
var resolveHttpAuthRuntimeConfig = /* @__PURE__ */ __name((config) => {
|
|
138
|
-
return {
|
|
139
|
-
httpAuthSchemes: config.httpAuthSchemes(),
|
|
140
|
-
httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
|
|
141
|
-
credentials: config.credentials()
|
|
142
|
-
};
|
|
143
|
-
}, "resolveHttpAuthRuntimeConfig");
|
|
111
|
+
}
|
|
144
112
|
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
getHttpAuthExtensionConfiguration(runtimeConfig)
|
|
152
|
-
);
|
|
153
|
-
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
154
|
-
return Object.assign(
|
|
155
|
-
runtimeConfig,
|
|
156
|
-
(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
|
|
157
|
-
(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
158
|
-
(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
|
|
159
|
-
resolveHttpAuthRuntimeConfig(extensionConfiguration)
|
|
160
|
-
);
|
|
161
|
-
}, "resolveRuntimeExtensions");
|
|
113
|
+
class Cloud9ServiceException extends smithyClient.ServiceException {
|
|
114
|
+
constructor(options) {
|
|
115
|
+
super(options);
|
|
116
|
+
Object.setPrototypeOf(this, Cloud9ServiceException.prototype);
|
|
117
|
+
}
|
|
118
|
+
}
|
|
162
119
|
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
);
|
|
199
|
-
this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
|
|
200
|
-
}
|
|
201
|
-
/**
|
|
202
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
203
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
204
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
205
|
-
*/
|
|
206
|
-
destroy() {
|
|
207
|
-
super.destroy();
|
|
208
|
-
}
|
|
120
|
+
class BadRequestException extends Cloud9ServiceException {
|
|
121
|
+
name = "BadRequestException";
|
|
122
|
+
$fault = "client";
|
|
123
|
+
className;
|
|
124
|
+
code;
|
|
125
|
+
constructor(opts) {
|
|
126
|
+
super({
|
|
127
|
+
name: "BadRequestException",
|
|
128
|
+
$fault: "client",
|
|
129
|
+
...opts,
|
|
130
|
+
});
|
|
131
|
+
Object.setPrototypeOf(this, BadRequestException.prototype);
|
|
132
|
+
this.className = opts.className;
|
|
133
|
+
this.code = opts.code;
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
class ConflictException extends Cloud9ServiceException {
|
|
137
|
+
name = "ConflictException";
|
|
138
|
+
$fault = "client";
|
|
139
|
+
className;
|
|
140
|
+
code;
|
|
141
|
+
constructor(opts) {
|
|
142
|
+
super({
|
|
143
|
+
name: "ConflictException",
|
|
144
|
+
$fault: "client",
|
|
145
|
+
...opts,
|
|
146
|
+
});
|
|
147
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
148
|
+
this.className = opts.className;
|
|
149
|
+
this.code = opts.code;
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
const ConnectionType = {
|
|
153
|
+
CONNECT_SSH: "CONNECT_SSH",
|
|
154
|
+
CONNECT_SSM: "CONNECT_SSM",
|
|
209
155
|
};
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
156
|
+
class ForbiddenException extends Cloud9ServiceException {
|
|
157
|
+
name = "ForbiddenException";
|
|
158
|
+
$fault = "client";
|
|
159
|
+
className;
|
|
160
|
+
code;
|
|
161
|
+
constructor(opts) {
|
|
162
|
+
super({
|
|
163
|
+
name: "ForbiddenException",
|
|
164
|
+
$fault: "client",
|
|
165
|
+
...opts,
|
|
166
|
+
});
|
|
167
|
+
Object.setPrototypeOf(this, ForbiddenException.prototype);
|
|
168
|
+
this.className = opts.className;
|
|
169
|
+
this.code = opts.code;
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
class InternalServerErrorException extends Cloud9ServiceException {
|
|
173
|
+
name = "InternalServerErrorException";
|
|
174
|
+
$fault = "server";
|
|
175
|
+
className;
|
|
176
|
+
code;
|
|
177
|
+
constructor(opts) {
|
|
178
|
+
super({
|
|
179
|
+
name: "InternalServerErrorException",
|
|
180
|
+
$fault: "server",
|
|
181
|
+
...opts,
|
|
182
|
+
});
|
|
183
|
+
Object.setPrototypeOf(this, InternalServerErrorException.prototype);
|
|
184
|
+
this.className = opts.className;
|
|
185
|
+
this.code = opts.code;
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
class LimitExceededException extends Cloud9ServiceException {
|
|
189
|
+
name = "LimitExceededException";
|
|
190
|
+
$fault = "client";
|
|
191
|
+
className;
|
|
192
|
+
code;
|
|
193
|
+
constructor(opts) {
|
|
194
|
+
super({
|
|
195
|
+
name: "LimitExceededException",
|
|
196
|
+
$fault: "client",
|
|
197
|
+
...opts,
|
|
198
|
+
});
|
|
199
|
+
Object.setPrototypeOf(this, LimitExceededException.prototype);
|
|
200
|
+
this.className = opts.className;
|
|
201
|
+
this.code = opts.code;
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
class NotFoundException extends Cloud9ServiceException {
|
|
205
|
+
name = "NotFoundException";
|
|
206
|
+
$fault = "client";
|
|
207
|
+
className;
|
|
208
|
+
code;
|
|
209
|
+
constructor(opts) {
|
|
210
|
+
super({
|
|
211
|
+
name: "NotFoundException",
|
|
212
|
+
$fault: "client",
|
|
213
|
+
...opts,
|
|
214
|
+
});
|
|
215
|
+
Object.setPrototypeOf(this, NotFoundException.prototype);
|
|
216
|
+
this.className = opts.className;
|
|
217
|
+
this.code = opts.code;
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
class TooManyRequestsException extends Cloud9ServiceException {
|
|
221
|
+
name = "TooManyRequestsException";
|
|
222
|
+
$fault = "client";
|
|
223
|
+
className;
|
|
224
|
+
code;
|
|
225
|
+
constructor(opts) {
|
|
226
|
+
super({
|
|
227
|
+
name: "TooManyRequestsException",
|
|
228
|
+
$fault: "client",
|
|
229
|
+
...opts,
|
|
230
|
+
});
|
|
231
|
+
Object.setPrototypeOf(this, TooManyRequestsException.prototype);
|
|
232
|
+
this.className = opts.className;
|
|
233
|
+
this.code = opts.code;
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
const MemberPermissions = {
|
|
237
|
+
READ_ONLY: "read-only",
|
|
238
|
+
READ_WRITE: "read-write",
|
|
239
|
+
};
|
|
240
|
+
const Permissions = {
|
|
241
|
+
OWNER: "owner",
|
|
242
|
+
READ_ONLY: "read-only",
|
|
243
|
+
READ_WRITE: "read-write",
|
|
244
|
+
};
|
|
245
|
+
const EnvironmentLifecycleStatus = {
|
|
246
|
+
CREATED: "CREATED",
|
|
247
|
+
CREATE_FAILED: "CREATE_FAILED",
|
|
248
|
+
CREATING: "CREATING",
|
|
249
|
+
DELETE_FAILED: "DELETE_FAILED",
|
|
250
|
+
DELETING: "DELETING",
|
|
251
|
+
};
|
|
252
|
+
const ManagedCredentialsStatus = {
|
|
253
|
+
DISABLED_BY_COLLABORATOR: "DISABLED_BY_COLLABORATOR",
|
|
254
|
+
DISABLED_BY_DEFAULT: "DISABLED_BY_DEFAULT",
|
|
255
|
+
DISABLED_BY_OWNER: "DISABLED_BY_OWNER",
|
|
256
|
+
ENABLED_BY_OWNER: "ENABLED_BY_OWNER",
|
|
257
|
+
ENABLED_ON_CREATE: "ENABLED_ON_CREATE",
|
|
258
|
+
FAILED_REMOVAL_BY_COLLABORATOR: "FAILED_REMOVAL_BY_COLLABORATOR",
|
|
259
|
+
FAILED_REMOVAL_BY_OWNER: "FAILED_REMOVAL_BY_OWNER",
|
|
260
|
+
PENDING_REMOVAL_BY_COLLABORATOR: "PENDING_REMOVAL_BY_COLLABORATOR",
|
|
261
|
+
PENDING_REMOVAL_BY_OWNER: "PENDING_REMOVAL_BY_OWNER",
|
|
262
|
+
PENDING_START_REMOVAL_BY_COLLABORATOR: "PENDING_START_REMOVAL_BY_COLLABORATOR",
|
|
263
|
+
PENDING_START_REMOVAL_BY_OWNER: "PENDING_START_REMOVAL_BY_OWNER",
|
|
264
|
+
};
|
|
265
|
+
const EnvironmentType = {
|
|
266
|
+
EC2: "ec2",
|
|
267
|
+
SSH: "ssh",
|
|
268
|
+
};
|
|
269
|
+
const EnvironmentStatus = {
|
|
270
|
+
CONNECTING: "connecting",
|
|
271
|
+
CREATING: "creating",
|
|
272
|
+
DELETING: "deleting",
|
|
273
|
+
ERROR: "error",
|
|
274
|
+
READY: "ready",
|
|
275
|
+
STOPPED: "stopped",
|
|
276
|
+
STOPPING: "stopping",
|
|
277
|
+
};
|
|
278
|
+
class ConcurrentAccessException extends Cloud9ServiceException {
|
|
279
|
+
name = "ConcurrentAccessException";
|
|
280
|
+
$fault = "client";
|
|
281
|
+
className;
|
|
282
|
+
code;
|
|
283
|
+
constructor(opts) {
|
|
284
|
+
super({
|
|
285
|
+
name: "ConcurrentAccessException",
|
|
286
|
+
$fault: "client",
|
|
287
|
+
...opts,
|
|
288
|
+
});
|
|
289
|
+
Object.setPrototypeOf(this, ConcurrentAccessException.prototype);
|
|
290
|
+
this.className = opts.className;
|
|
291
|
+
this.code = opts.code;
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
const ManagedCredentialsAction = {
|
|
295
|
+
DISABLE: "DISABLE",
|
|
296
|
+
ENABLE: "ENABLE",
|
|
235
297
|
};
|
|
298
|
+
const TagFilterSensitiveLog = (obj) => ({
|
|
299
|
+
...obj,
|
|
300
|
+
...(obj.Key && { Key: smithyClient.SENSITIVE_STRING }),
|
|
301
|
+
...(obj.Value && { Value: smithyClient.SENSITIVE_STRING }),
|
|
302
|
+
});
|
|
303
|
+
const CreateEnvironmentEC2RequestFilterSensitiveLog = (obj) => ({
|
|
304
|
+
...obj,
|
|
305
|
+
...(obj.description && { description: smithyClient.SENSITIVE_STRING }),
|
|
306
|
+
...(obj.tags && { tags: smithyClient.SENSITIVE_STRING }),
|
|
307
|
+
});
|
|
308
|
+
const EnvironmentFilterSensitiveLog = (obj) => ({
|
|
309
|
+
...obj,
|
|
310
|
+
...(obj.description && { description: smithyClient.SENSITIVE_STRING }),
|
|
311
|
+
});
|
|
312
|
+
const DescribeEnvironmentsResultFilterSensitiveLog = (obj) => ({
|
|
313
|
+
...obj,
|
|
314
|
+
...(obj.environments && { environments: obj.environments.map((item) => EnvironmentFilterSensitiveLog(item)) }),
|
|
315
|
+
});
|
|
316
|
+
const ListTagsForResourceResponseFilterSensitiveLog = (obj) => ({
|
|
317
|
+
...obj,
|
|
318
|
+
...(obj.Tags && { Tags: smithyClient.SENSITIVE_STRING }),
|
|
319
|
+
});
|
|
320
|
+
const TagResourceRequestFilterSensitiveLog = (obj) => ({
|
|
321
|
+
...obj,
|
|
322
|
+
...(obj.Tags && { Tags: smithyClient.SENSITIVE_STRING }),
|
|
323
|
+
});
|
|
324
|
+
const UntagResourceRequestFilterSensitiveLog = (obj) => ({
|
|
325
|
+
...obj,
|
|
326
|
+
...(obj.TagKeys && { TagKeys: smithyClient.SENSITIVE_STRING }),
|
|
327
|
+
});
|
|
328
|
+
const UpdateEnvironmentRequestFilterSensitiveLog = (obj) => ({
|
|
329
|
+
...obj,
|
|
330
|
+
...(obj.description && { description: smithyClient.SENSITIVE_STRING }),
|
|
331
|
+
});
|
|
236
332
|
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
name = "BadRequestException";
|
|
243
|
-
$fault = "client";
|
|
244
|
-
className;
|
|
245
|
-
code;
|
|
246
|
-
/**
|
|
247
|
-
* @internal
|
|
248
|
-
*/
|
|
249
|
-
constructor(opts) {
|
|
250
|
-
super({
|
|
251
|
-
name: "BadRequestException",
|
|
252
|
-
$fault: "client",
|
|
253
|
-
...opts
|
|
254
|
-
});
|
|
255
|
-
Object.setPrototypeOf(this, _BadRequestException.prototype);
|
|
256
|
-
this.className = opts.className;
|
|
257
|
-
this.code = opts.code;
|
|
258
|
-
}
|
|
333
|
+
const se_CreateEnvironmentEC2Command = async (input, context) => {
|
|
334
|
+
const headers = sharedHeaders("CreateEnvironmentEC2");
|
|
335
|
+
let body;
|
|
336
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
337
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
259
338
|
};
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
$fault = "client";
|
|
266
|
-
className;
|
|
267
|
-
code;
|
|
268
|
-
/**
|
|
269
|
-
* @internal
|
|
270
|
-
*/
|
|
271
|
-
constructor(opts) {
|
|
272
|
-
super({
|
|
273
|
-
name: "ConflictException",
|
|
274
|
-
$fault: "client",
|
|
275
|
-
...opts
|
|
276
|
-
});
|
|
277
|
-
Object.setPrototypeOf(this, _ConflictException.prototype);
|
|
278
|
-
this.className = opts.className;
|
|
279
|
-
this.code = opts.code;
|
|
280
|
-
}
|
|
339
|
+
const se_CreateEnvironmentMembershipCommand = async (input, context) => {
|
|
340
|
+
const headers = sharedHeaders("CreateEnvironmentMembership");
|
|
341
|
+
let body;
|
|
342
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
343
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
281
344
|
};
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
345
|
+
const se_DeleteEnvironmentCommand = async (input, context) => {
|
|
346
|
+
const headers = sharedHeaders("DeleteEnvironment");
|
|
347
|
+
let body;
|
|
348
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
349
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
285
350
|
};
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
$fault = "client";
|
|
292
|
-
className;
|
|
293
|
-
code;
|
|
294
|
-
/**
|
|
295
|
-
* @internal
|
|
296
|
-
*/
|
|
297
|
-
constructor(opts) {
|
|
298
|
-
super({
|
|
299
|
-
name: "ForbiddenException",
|
|
300
|
-
$fault: "client",
|
|
301
|
-
...opts
|
|
302
|
-
});
|
|
303
|
-
Object.setPrototypeOf(this, _ForbiddenException.prototype);
|
|
304
|
-
this.className = opts.className;
|
|
305
|
-
this.code = opts.code;
|
|
306
|
-
}
|
|
351
|
+
const se_DeleteEnvironmentMembershipCommand = async (input, context) => {
|
|
352
|
+
const headers = sharedHeaders("DeleteEnvironmentMembership");
|
|
353
|
+
let body;
|
|
354
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
355
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
307
356
|
};
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
$fault = "server";
|
|
314
|
-
className;
|
|
315
|
-
code;
|
|
316
|
-
/**
|
|
317
|
-
* @internal
|
|
318
|
-
*/
|
|
319
|
-
constructor(opts) {
|
|
320
|
-
super({
|
|
321
|
-
name: "InternalServerErrorException",
|
|
322
|
-
$fault: "server",
|
|
323
|
-
...opts
|
|
324
|
-
});
|
|
325
|
-
Object.setPrototypeOf(this, _InternalServerErrorException.prototype);
|
|
326
|
-
this.className = opts.className;
|
|
327
|
-
this.code = opts.code;
|
|
328
|
-
}
|
|
357
|
+
const se_DescribeEnvironmentMembershipsCommand = async (input, context) => {
|
|
358
|
+
const headers = sharedHeaders("DescribeEnvironmentMemberships");
|
|
359
|
+
let body;
|
|
360
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
361
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
329
362
|
};
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
$fault = "client";
|
|
336
|
-
className;
|
|
337
|
-
code;
|
|
338
|
-
/**
|
|
339
|
-
* @internal
|
|
340
|
-
*/
|
|
341
|
-
constructor(opts) {
|
|
342
|
-
super({
|
|
343
|
-
name: "LimitExceededException",
|
|
344
|
-
$fault: "client",
|
|
345
|
-
...opts
|
|
346
|
-
});
|
|
347
|
-
Object.setPrototypeOf(this, _LimitExceededException.prototype);
|
|
348
|
-
this.className = opts.className;
|
|
349
|
-
this.code = opts.code;
|
|
350
|
-
}
|
|
363
|
+
const se_DescribeEnvironmentsCommand = async (input, context) => {
|
|
364
|
+
const headers = sharedHeaders("DescribeEnvironments");
|
|
365
|
+
let body;
|
|
366
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
367
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
351
368
|
};
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
$fault = "client";
|
|
358
|
-
className;
|
|
359
|
-
code;
|
|
360
|
-
/**
|
|
361
|
-
* @internal
|
|
362
|
-
*/
|
|
363
|
-
constructor(opts) {
|
|
364
|
-
super({
|
|
365
|
-
name: "NotFoundException",
|
|
366
|
-
$fault: "client",
|
|
367
|
-
...opts
|
|
368
|
-
});
|
|
369
|
-
Object.setPrototypeOf(this, _NotFoundException.prototype);
|
|
370
|
-
this.className = opts.className;
|
|
371
|
-
this.code = opts.code;
|
|
372
|
-
}
|
|
369
|
+
const se_DescribeEnvironmentStatusCommand = async (input, context) => {
|
|
370
|
+
const headers = sharedHeaders("DescribeEnvironmentStatus");
|
|
371
|
+
let body;
|
|
372
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
373
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
373
374
|
};
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
375
|
+
const se_ListEnvironmentsCommand = async (input, context) => {
|
|
376
|
+
const headers = sharedHeaders("ListEnvironments");
|
|
377
|
+
let body;
|
|
378
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
379
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
380
|
+
};
|
|
381
|
+
const se_ListTagsForResourceCommand = async (input, context) => {
|
|
382
|
+
const headers = sharedHeaders("ListTagsForResource");
|
|
383
|
+
let body;
|
|
384
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
385
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
386
|
+
};
|
|
387
|
+
const se_TagResourceCommand = async (input, context) => {
|
|
388
|
+
const headers = sharedHeaders("TagResource");
|
|
389
|
+
let body;
|
|
390
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
391
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
392
|
+
};
|
|
393
|
+
const se_UntagResourceCommand = async (input, context) => {
|
|
394
|
+
const headers = sharedHeaders("UntagResource");
|
|
395
|
+
let body;
|
|
396
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
397
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
398
|
+
};
|
|
399
|
+
const se_UpdateEnvironmentCommand = async (input, context) => {
|
|
400
|
+
const headers = sharedHeaders("UpdateEnvironment");
|
|
401
|
+
let body;
|
|
402
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
403
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
404
|
+
};
|
|
405
|
+
const se_UpdateEnvironmentMembershipCommand = async (input, context) => {
|
|
406
|
+
const headers = sharedHeaders("UpdateEnvironmentMembership");
|
|
407
|
+
let body;
|
|
408
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
409
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
410
|
+
};
|
|
411
|
+
const de_CreateEnvironmentEC2Command = async (output, context) => {
|
|
412
|
+
if (output.statusCode >= 300) {
|
|
413
|
+
return de_CommandError(output, context);
|
|
414
|
+
}
|
|
415
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
416
|
+
let contents = {};
|
|
417
|
+
contents = smithyClient._json(data);
|
|
418
|
+
const response = {
|
|
419
|
+
$metadata: deserializeMetadata(output),
|
|
420
|
+
...contents,
|
|
421
|
+
};
|
|
422
|
+
return response;
|
|
423
|
+
};
|
|
424
|
+
const de_CreateEnvironmentMembershipCommand = async (output, context) => {
|
|
425
|
+
if (output.statusCode >= 300) {
|
|
426
|
+
return de_CommandError(output, context);
|
|
427
|
+
}
|
|
428
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
429
|
+
let contents = {};
|
|
430
|
+
contents = de_CreateEnvironmentMembershipResult(data);
|
|
431
|
+
const response = {
|
|
432
|
+
$metadata: deserializeMetadata(output),
|
|
433
|
+
...contents,
|
|
434
|
+
};
|
|
435
|
+
return response;
|
|
436
|
+
};
|
|
437
|
+
const de_DeleteEnvironmentCommand = async (output, context) => {
|
|
438
|
+
if (output.statusCode >= 300) {
|
|
439
|
+
return de_CommandError(output, context);
|
|
440
|
+
}
|
|
441
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
442
|
+
let contents = {};
|
|
443
|
+
contents = smithyClient._json(data);
|
|
444
|
+
const response = {
|
|
445
|
+
$metadata: deserializeMetadata(output),
|
|
446
|
+
...contents,
|
|
447
|
+
};
|
|
448
|
+
return response;
|
|
449
|
+
};
|
|
450
|
+
const de_DeleteEnvironmentMembershipCommand = async (output, context) => {
|
|
451
|
+
if (output.statusCode >= 300) {
|
|
452
|
+
return de_CommandError(output, context);
|
|
453
|
+
}
|
|
454
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
455
|
+
let contents = {};
|
|
456
|
+
contents = smithyClient._json(data);
|
|
457
|
+
const response = {
|
|
458
|
+
$metadata: deserializeMetadata(output),
|
|
459
|
+
...contents,
|
|
460
|
+
};
|
|
461
|
+
return response;
|
|
462
|
+
};
|
|
463
|
+
const de_DescribeEnvironmentMembershipsCommand = async (output, context) => {
|
|
464
|
+
if (output.statusCode >= 300) {
|
|
465
|
+
return de_CommandError(output, context);
|
|
466
|
+
}
|
|
467
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
468
|
+
let contents = {};
|
|
469
|
+
contents = de_DescribeEnvironmentMembershipsResult(data);
|
|
470
|
+
const response = {
|
|
471
|
+
$metadata: deserializeMetadata(output),
|
|
472
|
+
...contents,
|
|
473
|
+
};
|
|
474
|
+
return response;
|
|
475
|
+
};
|
|
476
|
+
const de_DescribeEnvironmentsCommand = async (output, context) => {
|
|
477
|
+
if (output.statusCode >= 300) {
|
|
478
|
+
return de_CommandError(output, context);
|
|
479
|
+
}
|
|
480
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
481
|
+
let contents = {};
|
|
482
|
+
contents = smithyClient._json(data);
|
|
483
|
+
const response = {
|
|
484
|
+
$metadata: deserializeMetadata(output),
|
|
485
|
+
...contents,
|
|
486
|
+
};
|
|
487
|
+
return response;
|
|
488
|
+
};
|
|
489
|
+
const de_DescribeEnvironmentStatusCommand = async (output, context) => {
|
|
490
|
+
if (output.statusCode >= 300) {
|
|
491
|
+
return de_CommandError(output, context);
|
|
492
|
+
}
|
|
493
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
494
|
+
let contents = {};
|
|
495
|
+
contents = smithyClient._json(data);
|
|
496
|
+
const response = {
|
|
497
|
+
$metadata: deserializeMetadata(output),
|
|
498
|
+
...contents,
|
|
499
|
+
};
|
|
500
|
+
return response;
|
|
501
|
+
};
|
|
502
|
+
const de_ListEnvironmentsCommand = async (output, context) => {
|
|
503
|
+
if (output.statusCode >= 300) {
|
|
504
|
+
return de_CommandError(output, context);
|
|
505
|
+
}
|
|
506
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
507
|
+
let contents = {};
|
|
508
|
+
contents = smithyClient._json(data);
|
|
509
|
+
const response = {
|
|
510
|
+
$metadata: deserializeMetadata(output),
|
|
511
|
+
...contents,
|
|
512
|
+
};
|
|
513
|
+
return response;
|
|
514
|
+
};
|
|
515
|
+
const de_ListTagsForResourceCommand = async (output, context) => {
|
|
516
|
+
if (output.statusCode >= 300) {
|
|
517
|
+
return de_CommandError(output, context);
|
|
518
|
+
}
|
|
519
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
520
|
+
let contents = {};
|
|
521
|
+
contents = smithyClient._json(data);
|
|
522
|
+
const response = {
|
|
523
|
+
$metadata: deserializeMetadata(output),
|
|
524
|
+
...contents,
|
|
525
|
+
};
|
|
526
|
+
return response;
|
|
527
|
+
};
|
|
528
|
+
const de_TagResourceCommand = async (output, context) => {
|
|
529
|
+
if (output.statusCode >= 300) {
|
|
530
|
+
return de_CommandError(output, context);
|
|
531
|
+
}
|
|
532
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
533
|
+
let contents = {};
|
|
534
|
+
contents = smithyClient._json(data);
|
|
535
|
+
const response = {
|
|
536
|
+
$metadata: deserializeMetadata(output),
|
|
537
|
+
...contents,
|
|
538
|
+
};
|
|
539
|
+
return response;
|
|
540
|
+
};
|
|
541
|
+
const de_UntagResourceCommand = async (output, context) => {
|
|
542
|
+
if (output.statusCode >= 300) {
|
|
543
|
+
return de_CommandError(output, context);
|
|
544
|
+
}
|
|
545
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
546
|
+
let contents = {};
|
|
547
|
+
contents = smithyClient._json(data);
|
|
548
|
+
const response = {
|
|
549
|
+
$metadata: deserializeMetadata(output),
|
|
550
|
+
...contents,
|
|
551
|
+
};
|
|
552
|
+
return response;
|
|
395
553
|
};
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
554
|
+
const de_UpdateEnvironmentCommand = async (output, context) => {
|
|
555
|
+
if (output.statusCode >= 300) {
|
|
556
|
+
return de_CommandError(output, context);
|
|
557
|
+
}
|
|
558
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
559
|
+
let contents = {};
|
|
560
|
+
contents = smithyClient._json(data);
|
|
561
|
+
const response = {
|
|
562
|
+
$metadata: deserializeMetadata(output),
|
|
563
|
+
...contents,
|
|
564
|
+
};
|
|
565
|
+
return response;
|
|
399
566
|
};
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
567
|
+
const de_UpdateEnvironmentMembershipCommand = async (output, context) => {
|
|
568
|
+
if (output.statusCode >= 300) {
|
|
569
|
+
return de_CommandError(output, context);
|
|
570
|
+
}
|
|
571
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
572
|
+
let contents = {};
|
|
573
|
+
contents = de_UpdateEnvironmentMembershipResult(data);
|
|
574
|
+
const response = {
|
|
575
|
+
$metadata: deserializeMetadata(output),
|
|
576
|
+
...contents,
|
|
577
|
+
};
|
|
578
|
+
return response;
|
|
404
579
|
};
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
580
|
+
const de_CommandError = async (output, context) => {
|
|
581
|
+
const parsedOutput = {
|
|
582
|
+
...output,
|
|
583
|
+
body: await core$1.parseJsonErrorBody(output.body, context),
|
|
584
|
+
};
|
|
585
|
+
const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
|
|
586
|
+
switch (errorCode) {
|
|
587
|
+
case "BadRequestException":
|
|
588
|
+
case "com.amazonaws.cloud9#BadRequestException":
|
|
589
|
+
throw await de_BadRequestExceptionRes(parsedOutput);
|
|
590
|
+
case "ConflictException":
|
|
591
|
+
case "com.amazonaws.cloud9#ConflictException":
|
|
592
|
+
throw await de_ConflictExceptionRes(parsedOutput);
|
|
593
|
+
case "ForbiddenException":
|
|
594
|
+
case "com.amazonaws.cloud9#ForbiddenException":
|
|
595
|
+
throw await de_ForbiddenExceptionRes(parsedOutput);
|
|
596
|
+
case "InternalServerErrorException":
|
|
597
|
+
case "com.amazonaws.cloud9#InternalServerErrorException":
|
|
598
|
+
throw await de_InternalServerErrorExceptionRes(parsedOutput);
|
|
599
|
+
case "LimitExceededException":
|
|
600
|
+
case "com.amazonaws.cloud9#LimitExceededException":
|
|
601
|
+
throw await de_LimitExceededExceptionRes(parsedOutput);
|
|
602
|
+
case "NotFoundException":
|
|
603
|
+
case "com.amazonaws.cloud9#NotFoundException":
|
|
604
|
+
throw await de_NotFoundExceptionRes(parsedOutput);
|
|
605
|
+
case "TooManyRequestsException":
|
|
606
|
+
case "com.amazonaws.cloud9#TooManyRequestsException":
|
|
607
|
+
throw await de_TooManyRequestsExceptionRes(parsedOutput);
|
|
608
|
+
case "ConcurrentAccessException":
|
|
609
|
+
case "com.amazonaws.cloud9#ConcurrentAccessException":
|
|
610
|
+
throw await de_ConcurrentAccessExceptionRes(parsedOutput);
|
|
611
|
+
default:
|
|
612
|
+
const parsedBody = parsedOutput.body;
|
|
613
|
+
return throwDefaultError({
|
|
614
|
+
output,
|
|
615
|
+
parsedBody,
|
|
616
|
+
errorCode,
|
|
617
|
+
});
|
|
618
|
+
}
|
|
411
619
|
};
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
PENDING_REMOVAL_BY_COLLABORATOR: "PENDING_REMOVAL_BY_COLLABORATOR",
|
|
421
|
-
PENDING_REMOVAL_BY_OWNER: "PENDING_REMOVAL_BY_OWNER",
|
|
422
|
-
PENDING_START_REMOVAL_BY_COLLABORATOR: "PENDING_START_REMOVAL_BY_COLLABORATOR",
|
|
423
|
-
PENDING_START_REMOVAL_BY_OWNER: "PENDING_START_REMOVAL_BY_OWNER"
|
|
620
|
+
const de_BadRequestExceptionRes = async (parsedOutput, context) => {
|
|
621
|
+
const body = parsedOutput.body;
|
|
622
|
+
const deserialized = smithyClient._json(body);
|
|
623
|
+
const exception = new BadRequestException({
|
|
624
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
625
|
+
...deserialized,
|
|
626
|
+
});
|
|
627
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
424
628
|
};
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
629
|
+
const de_ConcurrentAccessExceptionRes = async (parsedOutput, context) => {
|
|
630
|
+
const body = parsedOutput.body;
|
|
631
|
+
const deserialized = smithyClient._json(body);
|
|
632
|
+
const exception = new ConcurrentAccessException({
|
|
633
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
634
|
+
...deserialized,
|
|
635
|
+
});
|
|
636
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
428
637
|
};
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
638
|
+
const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
639
|
+
const body = parsedOutput.body;
|
|
640
|
+
const deserialized = smithyClient._json(body);
|
|
641
|
+
const exception = new ConflictException({
|
|
642
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
643
|
+
...deserialized,
|
|
644
|
+
});
|
|
645
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
437
646
|
};
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
className;
|
|
445
|
-
code;
|
|
446
|
-
/**
|
|
447
|
-
* @internal
|
|
448
|
-
*/
|
|
449
|
-
constructor(opts) {
|
|
450
|
-
super({
|
|
451
|
-
name: "ConcurrentAccessException",
|
|
452
|
-
$fault: "client",
|
|
453
|
-
...opts
|
|
647
|
+
const de_ForbiddenExceptionRes = async (parsedOutput, context) => {
|
|
648
|
+
const body = parsedOutput.body;
|
|
649
|
+
const deserialized = smithyClient._json(body);
|
|
650
|
+
const exception = new ForbiddenException({
|
|
651
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
652
|
+
...deserialized,
|
|
454
653
|
});
|
|
455
|
-
|
|
456
|
-
this.className = opts.className;
|
|
457
|
-
this.code = opts.code;
|
|
458
|
-
}
|
|
654
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
459
655
|
};
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
656
|
+
const de_InternalServerErrorExceptionRes = async (parsedOutput, context) => {
|
|
657
|
+
const body = parsedOutput.body;
|
|
658
|
+
const deserialized = smithyClient._json(body);
|
|
659
|
+
const exception = new InternalServerErrorException({
|
|
660
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
661
|
+
...deserialized,
|
|
662
|
+
});
|
|
663
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
463
664
|
};
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
...obj.tags && { tags: import_smithy_client.SENSITIVE_STRING }
|
|
473
|
-
}), "CreateEnvironmentEC2RequestFilterSensitiveLog");
|
|
474
|
-
var EnvironmentFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
475
|
-
...obj,
|
|
476
|
-
...obj.description && { description: import_smithy_client.SENSITIVE_STRING }
|
|
477
|
-
}), "EnvironmentFilterSensitiveLog");
|
|
478
|
-
var DescribeEnvironmentsResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
479
|
-
...obj,
|
|
480
|
-
...obj.environments && { environments: obj.environments.map((item) => EnvironmentFilterSensitiveLog(item)) }
|
|
481
|
-
}), "DescribeEnvironmentsResultFilterSensitiveLog");
|
|
482
|
-
var ListTagsForResourceResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
483
|
-
...obj,
|
|
484
|
-
...obj.Tags && { Tags: import_smithy_client.SENSITIVE_STRING }
|
|
485
|
-
}), "ListTagsForResourceResponseFilterSensitiveLog");
|
|
486
|
-
var TagResourceRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
487
|
-
...obj,
|
|
488
|
-
...obj.Tags && { Tags: import_smithy_client.SENSITIVE_STRING }
|
|
489
|
-
}), "TagResourceRequestFilterSensitiveLog");
|
|
490
|
-
var UntagResourceRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
491
|
-
...obj,
|
|
492
|
-
...obj.TagKeys && { TagKeys: import_smithy_client.SENSITIVE_STRING }
|
|
493
|
-
}), "UntagResourceRequestFilterSensitiveLog");
|
|
494
|
-
var UpdateEnvironmentRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
495
|
-
...obj,
|
|
496
|
-
...obj.description && { description: import_smithy_client.SENSITIVE_STRING }
|
|
497
|
-
}), "UpdateEnvironmentRequestFilterSensitiveLog");
|
|
498
|
-
|
|
499
|
-
// src/protocols/Aws_json1_1.ts
|
|
500
|
-
var import_core2 = require("@aws-sdk/core");
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
var se_CreateEnvironmentEC2Command = /* @__PURE__ */ __name(async (input, context) => {
|
|
504
|
-
const headers = sharedHeaders("CreateEnvironmentEC2");
|
|
505
|
-
let body;
|
|
506
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
507
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
508
|
-
}, "se_CreateEnvironmentEC2Command");
|
|
509
|
-
var se_CreateEnvironmentMembershipCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
510
|
-
const headers = sharedHeaders("CreateEnvironmentMembership");
|
|
511
|
-
let body;
|
|
512
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
513
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
514
|
-
}, "se_CreateEnvironmentMembershipCommand");
|
|
515
|
-
var se_DeleteEnvironmentCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
516
|
-
const headers = sharedHeaders("DeleteEnvironment");
|
|
517
|
-
let body;
|
|
518
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
519
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
520
|
-
}, "se_DeleteEnvironmentCommand");
|
|
521
|
-
var se_DeleteEnvironmentMembershipCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
522
|
-
const headers = sharedHeaders("DeleteEnvironmentMembership");
|
|
523
|
-
let body;
|
|
524
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
525
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
526
|
-
}, "se_DeleteEnvironmentMembershipCommand");
|
|
527
|
-
var se_DescribeEnvironmentMembershipsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
528
|
-
const headers = sharedHeaders("DescribeEnvironmentMemberships");
|
|
529
|
-
let body;
|
|
530
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
531
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
532
|
-
}, "se_DescribeEnvironmentMembershipsCommand");
|
|
533
|
-
var se_DescribeEnvironmentsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
534
|
-
const headers = sharedHeaders("DescribeEnvironments");
|
|
535
|
-
let body;
|
|
536
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
537
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
538
|
-
}, "se_DescribeEnvironmentsCommand");
|
|
539
|
-
var se_DescribeEnvironmentStatusCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
540
|
-
const headers = sharedHeaders("DescribeEnvironmentStatus");
|
|
541
|
-
let body;
|
|
542
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
543
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
544
|
-
}, "se_DescribeEnvironmentStatusCommand");
|
|
545
|
-
var se_ListEnvironmentsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
546
|
-
const headers = sharedHeaders("ListEnvironments");
|
|
547
|
-
let body;
|
|
548
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
549
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
550
|
-
}, "se_ListEnvironmentsCommand");
|
|
551
|
-
var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
552
|
-
const headers = sharedHeaders("ListTagsForResource");
|
|
553
|
-
let body;
|
|
554
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
555
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
556
|
-
}, "se_ListTagsForResourceCommand");
|
|
557
|
-
var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
558
|
-
const headers = sharedHeaders("TagResource");
|
|
559
|
-
let body;
|
|
560
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
561
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
562
|
-
}, "se_TagResourceCommand");
|
|
563
|
-
var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
564
|
-
const headers = sharedHeaders("UntagResource");
|
|
565
|
-
let body;
|
|
566
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
567
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
568
|
-
}, "se_UntagResourceCommand");
|
|
569
|
-
var se_UpdateEnvironmentCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
570
|
-
const headers = sharedHeaders("UpdateEnvironment");
|
|
571
|
-
let body;
|
|
572
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
573
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
574
|
-
}, "se_UpdateEnvironmentCommand");
|
|
575
|
-
var se_UpdateEnvironmentMembershipCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
576
|
-
const headers = sharedHeaders("UpdateEnvironmentMembership");
|
|
577
|
-
let body;
|
|
578
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
579
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
580
|
-
}, "se_UpdateEnvironmentMembershipCommand");
|
|
581
|
-
var de_CreateEnvironmentEC2Command = /* @__PURE__ */ __name(async (output, context) => {
|
|
582
|
-
if (output.statusCode >= 300) {
|
|
583
|
-
return de_CommandError(output, context);
|
|
584
|
-
}
|
|
585
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
586
|
-
let contents = {};
|
|
587
|
-
contents = (0, import_smithy_client._json)(data);
|
|
588
|
-
const response = {
|
|
589
|
-
$metadata: deserializeMetadata(output),
|
|
590
|
-
...contents
|
|
591
|
-
};
|
|
592
|
-
return response;
|
|
593
|
-
}, "de_CreateEnvironmentEC2Command");
|
|
594
|
-
var de_CreateEnvironmentMembershipCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
595
|
-
if (output.statusCode >= 300) {
|
|
596
|
-
return de_CommandError(output, context);
|
|
597
|
-
}
|
|
598
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
599
|
-
let contents = {};
|
|
600
|
-
contents = de_CreateEnvironmentMembershipResult(data, context);
|
|
601
|
-
const response = {
|
|
602
|
-
$metadata: deserializeMetadata(output),
|
|
603
|
-
...contents
|
|
604
|
-
};
|
|
605
|
-
return response;
|
|
606
|
-
}, "de_CreateEnvironmentMembershipCommand");
|
|
607
|
-
var de_DeleteEnvironmentCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
608
|
-
if (output.statusCode >= 300) {
|
|
609
|
-
return de_CommandError(output, context);
|
|
610
|
-
}
|
|
611
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
612
|
-
let contents = {};
|
|
613
|
-
contents = (0, import_smithy_client._json)(data);
|
|
614
|
-
const response = {
|
|
615
|
-
$metadata: deserializeMetadata(output),
|
|
616
|
-
...contents
|
|
617
|
-
};
|
|
618
|
-
return response;
|
|
619
|
-
}, "de_DeleteEnvironmentCommand");
|
|
620
|
-
var de_DeleteEnvironmentMembershipCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
621
|
-
if (output.statusCode >= 300) {
|
|
622
|
-
return de_CommandError(output, context);
|
|
623
|
-
}
|
|
624
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
625
|
-
let contents = {};
|
|
626
|
-
contents = (0, import_smithy_client._json)(data);
|
|
627
|
-
const response = {
|
|
628
|
-
$metadata: deserializeMetadata(output),
|
|
629
|
-
...contents
|
|
630
|
-
};
|
|
631
|
-
return response;
|
|
632
|
-
}, "de_DeleteEnvironmentMembershipCommand");
|
|
633
|
-
var de_DescribeEnvironmentMembershipsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
634
|
-
if (output.statusCode >= 300) {
|
|
635
|
-
return de_CommandError(output, context);
|
|
636
|
-
}
|
|
637
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
638
|
-
let contents = {};
|
|
639
|
-
contents = de_DescribeEnvironmentMembershipsResult(data, context);
|
|
640
|
-
const response = {
|
|
641
|
-
$metadata: deserializeMetadata(output),
|
|
642
|
-
...contents
|
|
643
|
-
};
|
|
644
|
-
return response;
|
|
645
|
-
}, "de_DescribeEnvironmentMembershipsCommand");
|
|
646
|
-
var de_DescribeEnvironmentsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
647
|
-
if (output.statusCode >= 300) {
|
|
648
|
-
return de_CommandError(output, context);
|
|
649
|
-
}
|
|
650
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
651
|
-
let contents = {};
|
|
652
|
-
contents = (0, import_smithy_client._json)(data);
|
|
653
|
-
const response = {
|
|
654
|
-
$metadata: deserializeMetadata(output),
|
|
655
|
-
...contents
|
|
656
|
-
};
|
|
657
|
-
return response;
|
|
658
|
-
}, "de_DescribeEnvironmentsCommand");
|
|
659
|
-
var de_DescribeEnvironmentStatusCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
660
|
-
if (output.statusCode >= 300) {
|
|
661
|
-
return de_CommandError(output, context);
|
|
662
|
-
}
|
|
663
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
664
|
-
let contents = {};
|
|
665
|
-
contents = (0, import_smithy_client._json)(data);
|
|
666
|
-
const response = {
|
|
667
|
-
$metadata: deserializeMetadata(output),
|
|
668
|
-
...contents
|
|
669
|
-
};
|
|
670
|
-
return response;
|
|
671
|
-
}, "de_DescribeEnvironmentStatusCommand");
|
|
672
|
-
var de_ListEnvironmentsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
673
|
-
if (output.statusCode >= 300) {
|
|
674
|
-
return de_CommandError(output, context);
|
|
675
|
-
}
|
|
676
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
677
|
-
let contents = {};
|
|
678
|
-
contents = (0, import_smithy_client._json)(data);
|
|
679
|
-
const response = {
|
|
680
|
-
$metadata: deserializeMetadata(output),
|
|
681
|
-
...contents
|
|
682
|
-
};
|
|
683
|
-
return response;
|
|
684
|
-
}, "de_ListEnvironmentsCommand");
|
|
685
|
-
var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
686
|
-
if (output.statusCode >= 300) {
|
|
687
|
-
return de_CommandError(output, context);
|
|
688
|
-
}
|
|
689
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
690
|
-
let contents = {};
|
|
691
|
-
contents = (0, import_smithy_client._json)(data);
|
|
692
|
-
const response = {
|
|
693
|
-
$metadata: deserializeMetadata(output),
|
|
694
|
-
...contents
|
|
695
|
-
};
|
|
696
|
-
return response;
|
|
697
|
-
}, "de_ListTagsForResourceCommand");
|
|
698
|
-
var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
699
|
-
if (output.statusCode >= 300) {
|
|
700
|
-
return de_CommandError(output, context);
|
|
701
|
-
}
|
|
702
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
703
|
-
let contents = {};
|
|
704
|
-
contents = (0, import_smithy_client._json)(data);
|
|
705
|
-
const response = {
|
|
706
|
-
$metadata: deserializeMetadata(output),
|
|
707
|
-
...contents
|
|
708
|
-
};
|
|
709
|
-
return response;
|
|
710
|
-
}, "de_TagResourceCommand");
|
|
711
|
-
var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
712
|
-
if (output.statusCode >= 300) {
|
|
713
|
-
return de_CommandError(output, context);
|
|
714
|
-
}
|
|
715
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
716
|
-
let contents = {};
|
|
717
|
-
contents = (0, import_smithy_client._json)(data);
|
|
718
|
-
const response = {
|
|
719
|
-
$metadata: deserializeMetadata(output),
|
|
720
|
-
...contents
|
|
721
|
-
};
|
|
722
|
-
return response;
|
|
723
|
-
}, "de_UntagResourceCommand");
|
|
724
|
-
var de_UpdateEnvironmentCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
725
|
-
if (output.statusCode >= 300) {
|
|
726
|
-
return de_CommandError(output, context);
|
|
727
|
-
}
|
|
728
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
729
|
-
let contents = {};
|
|
730
|
-
contents = (0, import_smithy_client._json)(data);
|
|
731
|
-
const response = {
|
|
732
|
-
$metadata: deserializeMetadata(output),
|
|
733
|
-
...contents
|
|
734
|
-
};
|
|
735
|
-
return response;
|
|
736
|
-
}, "de_UpdateEnvironmentCommand");
|
|
737
|
-
var de_UpdateEnvironmentMembershipCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
738
|
-
if (output.statusCode >= 300) {
|
|
739
|
-
return de_CommandError(output, context);
|
|
740
|
-
}
|
|
741
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
742
|
-
let contents = {};
|
|
743
|
-
contents = de_UpdateEnvironmentMembershipResult(data, context);
|
|
744
|
-
const response = {
|
|
745
|
-
$metadata: deserializeMetadata(output),
|
|
746
|
-
...contents
|
|
747
|
-
};
|
|
748
|
-
return response;
|
|
749
|
-
}, "de_UpdateEnvironmentMembershipCommand");
|
|
750
|
-
var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
751
|
-
const parsedOutput = {
|
|
752
|
-
...output,
|
|
753
|
-
body: await (0, import_core2.parseJsonErrorBody)(output.body, context)
|
|
754
|
-
};
|
|
755
|
-
const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body);
|
|
756
|
-
switch (errorCode) {
|
|
757
|
-
case "BadRequestException":
|
|
758
|
-
case "com.amazonaws.cloud9#BadRequestException":
|
|
759
|
-
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
760
|
-
case "ConflictException":
|
|
761
|
-
case "com.amazonaws.cloud9#ConflictException":
|
|
762
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
763
|
-
case "ForbiddenException":
|
|
764
|
-
case "com.amazonaws.cloud9#ForbiddenException":
|
|
765
|
-
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
766
|
-
case "InternalServerErrorException":
|
|
767
|
-
case "com.amazonaws.cloud9#InternalServerErrorException":
|
|
768
|
-
throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
|
|
769
|
-
case "LimitExceededException":
|
|
770
|
-
case "com.amazonaws.cloud9#LimitExceededException":
|
|
771
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
772
|
-
case "NotFoundException":
|
|
773
|
-
case "com.amazonaws.cloud9#NotFoundException":
|
|
774
|
-
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
775
|
-
case "TooManyRequestsException":
|
|
776
|
-
case "com.amazonaws.cloud9#TooManyRequestsException":
|
|
777
|
-
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
778
|
-
case "ConcurrentAccessException":
|
|
779
|
-
case "com.amazonaws.cloud9#ConcurrentAccessException":
|
|
780
|
-
throw await de_ConcurrentAccessExceptionRes(parsedOutput, context);
|
|
781
|
-
default:
|
|
782
|
-
const parsedBody = parsedOutput.body;
|
|
783
|
-
return throwDefaultError({
|
|
784
|
-
output,
|
|
785
|
-
parsedBody,
|
|
786
|
-
errorCode
|
|
787
|
-
});
|
|
788
|
-
}
|
|
789
|
-
}, "de_CommandError");
|
|
790
|
-
var de_BadRequestExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
791
|
-
const body = parsedOutput.body;
|
|
792
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
793
|
-
const exception = new BadRequestException({
|
|
794
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
795
|
-
...deserialized
|
|
796
|
-
});
|
|
797
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
798
|
-
}, "de_BadRequestExceptionRes");
|
|
799
|
-
var de_ConcurrentAccessExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
800
|
-
const body = parsedOutput.body;
|
|
801
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
802
|
-
const exception = new ConcurrentAccessException({
|
|
803
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
804
|
-
...deserialized
|
|
805
|
-
});
|
|
806
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
807
|
-
}, "de_ConcurrentAccessExceptionRes");
|
|
808
|
-
var de_ConflictExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
809
|
-
const body = parsedOutput.body;
|
|
810
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
811
|
-
const exception = new ConflictException({
|
|
812
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
813
|
-
...deserialized
|
|
814
|
-
});
|
|
815
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
816
|
-
}, "de_ConflictExceptionRes");
|
|
817
|
-
var de_ForbiddenExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
818
|
-
const body = parsedOutput.body;
|
|
819
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
820
|
-
const exception = new ForbiddenException({
|
|
821
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
822
|
-
...deserialized
|
|
823
|
-
});
|
|
824
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
825
|
-
}, "de_ForbiddenExceptionRes");
|
|
826
|
-
var de_InternalServerErrorExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
827
|
-
const body = parsedOutput.body;
|
|
828
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
829
|
-
const exception = new InternalServerErrorException({
|
|
830
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
831
|
-
...deserialized
|
|
832
|
-
});
|
|
833
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
834
|
-
}, "de_InternalServerErrorExceptionRes");
|
|
835
|
-
var de_LimitExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
836
|
-
const body = parsedOutput.body;
|
|
837
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
838
|
-
const exception = new LimitExceededException({
|
|
839
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
840
|
-
...deserialized
|
|
841
|
-
});
|
|
842
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
843
|
-
}, "de_LimitExceededExceptionRes");
|
|
844
|
-
var de_NotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
845
|
-
const body = parsedOutput.body;
|
|
846
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
847
|
-
const exception = new NotFoundException({
|
|
848
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
849
|
-
...deserialized
|
|
850
|
-
});
|
|
851
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
852
|
-
}, "de_NotFoundExceptionRes");
|
|
853
|
-
var de_TooManyRequestsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
854
|
-
const body = parsedOutput.body;
|
|
855
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
856
|
-
const exception = new TooManyRequestsException({
|
|
857
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
858
|
-
...deserialized
|
|
859
|
-
});
|
|
860
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
861
|
-
}, "de_TooManyRequestsExceptionRes");
|
|
862
|
-
var de_CreateEnvironmentMembershipResult = /* @__PURE__ */ __name((output, context) => {
|
|
863
|
-
return (0, import_smithy_client.take)(output, {
|
|
864
|
-
membership: /* @__PURE__ */ __name((_) => de_EnvironmentMember(_, context), "membership")
|
|
865
|
-
});
|
|
866
|
-
}, "de_CreateEnvironmentMembershipResult");
|
|
867
|
-
var de_DescribeEnvironmentMembershipsResult = /* @__PURE__ */ __name((output, context) => {
|
|
868
|
-
return (0, import_smithy_client.take)(output, {
|
|
869
|
-
memberships: /* @__PURE__ */ __name((_) => de_EnvironmentMembersList(_, context), "memberships"),
|
|
870
|
-
nextToken: import_smithy_client.expectString
|
|
871
|
-
});
|
|
872
|
-
}, "de_DescribeEnvironmentMembershipsResult");
|
|
873
|
-
var de_EnvironmentMember = /* @__PURE__ */ __name((output, context) => {
|
|
874
|
-
return (0, import_smithy_client.take)(output, {
|
|
875
|
-
environmentId: import_smithy_client.expectString,
|
|
876
|
-
lastAccess: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "lastAccess"),
|
|
877
|
-
permissions: import_smithy_client.expectString,
|
|
878
|
-
userArn: import_smithy_client.expectString,
|
|
879
|
-
userId: import_smithy_client.expectString
|
|
880
|
-
});
|
|
881
|
-
}, "de_EnvironmentMember");
|
|
882
|
-
var de_EnvironmentMembersList = /* @__PURE__ */ __name((output, context) => {
|
|
883
|
-
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
884
|
-
return de_EnvironmentMember(entry, context);
|
|
885
|
-
});
|
|
886
|
-
return retVal;
|
|
887
|
-
}, "de_EnvironmentMembersList");
|
|
888
|
-
var de_UpdateEnvironmentMembershipResult = /* @__PURE__ */ __name((output, context) => {
|
|
889
|
-
return (0, import_smithy_client.take)(output, {
|
|
890
|
-
membership: /* @__PURE__ */ __name((_) => de_EnvironmentMember(_, context), "membership")
|
|
891
|
-
});
|
|
892
|
-
}, "de_UpdateEnvironmentMembershipResult");
|
|
893
|
-
var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
894
|
-
httpStatusCode: output.statusCode,
|
|
895
|
-
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
896
|
-
extendedRequestId: output.headers["x-amz-id-2"],
|
|
897
|
-
cfId: output.headers["x-amz-cf-id"]
|
|
898
|
-
}), "deserializeMetadata");
|
|
899
|
-
var throwDefaultError = (0, import_smithy_client.withBaseException)(Cloud9ServiceException);
|
|
900
|
-
var buildHttpRpcRequest = /* @__PURE__ */ __name(async (context, headers, path, resolvedHostname, body) => {
|
|
901
|
-
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
902
|
-
const contents = {
|
|
903
|
-
protocol,
|
|
904
|
-
hostname,
|
|
905
|
-
port,
|
|
906
|
-
method: "POST",
|
|
907
|
-
path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
|
|
908
|
-
headers
|
|
909
|
-
};
|
|
910
|
-
if (resolvedHostname !== void 0) {
|
|
911
|
-
contents.hostname = resolvedHostname;
|
|
912
|
-
}
|
|
913
|
-
if (body !== void 0) {
|
|
914
|
-
contents.body = body;
|
|
915
|
-
}
|
|
916
|
-
return new import_protocol_http.HttpRequest(contents);
|
|
917
|
-
}, "buildHttpRpcRequest");
|
|
918
|
-
function sharedHeaders(operation) {
|
|
919
|
-
return {
|
|
920
|
-
"content-type": "application/x-amz-json-1.1",
|
|
921
|
-
"x-amz-target": `AWSCloud9WorkspaceManagementService.${operation}`
|
|
922
|
-
};
|
|
923
|
-
}
|
|
924
|
-
__name(sharedHeaders, "sharedHeaders");
|
|
925
|
-
|
|
926
|
-
// src/commands/CreateEnvironmentEC2Command.ts
|
|
927
|
-
var CreateEnvironmentEC2Command = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
928
|
-
return [
|
|
929
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
930
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
931
|
-
];
|
|
932
|
-
}).s("AWSCloud9WorkspaceManagementService", "CreateEnvironmentEC2", {}).n("Cloud9Client", "CreateEnvironmentEC2Command").f(CreateEnvironmentEC2RequestFilterSensitiveLog, void 0).ser(se_CreateEnvironmentEC2Command).de(de_CreateEnvironmentEC2Command).build() {
|
|
933
|
-
static {
|
|
934
|
-
__name(this, "CreateEnvironmentEC2Command");
|
|
935
|
-
}
|
|
665
|
+
const de_LimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
666
|
+
const body = parsedOutput.body;
|
|
667
|
+
const deserialized = smithyClient._json(body);
|
|
668
|
+
const exception = new LimitExceededException({
|
|
669
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
670
|
+
...deserialized,
|
|
671
|
+
});
|
|
672
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
936
673
|
};
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
946
|
-
];
|
|
947
|
-
}).s("AWSCloud9WorkspaceManagementService", "CreateEnvironmentMembership", {}).n("Cloud9Client", "CreateEnvironmentMembershipCommand").f(void 0, void 0).ser(se_CreateEnvironmentMembershipCommand).de(de_CreateEnvironmentMembershipCommand).build() {
|
|
948
|
-
static {
|
|
949
|
-
__name(this, "CreateEnvironmentMembershipCommand");
|
|
950
|
-
}
|
|
674
|
+
const de_NotFoundExceptionRes = async (parsedOutput, context) => {
|
|
675
|
+
const body = parsedOutput.body;
|
|
676
|
+
const deserialized = smithyClient._json(body);
|
|
677
|
+
const exception = new NotFoundException({
|
|
678
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
679
|
+
...deserialized,
|
|
680
|
+
});
|
|
681
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
951
682
|
};
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
961
|
-
];
|
|
962
|
-
}).s("AWSCloud9WorkspaceManagementService", "DeleteEnvironment", {}).n("Cloud9Client", "DeleteEnvironmentCommand").f(void 0, void 0).ser(se_DeleteEnvironmentCommand).de(de_DeleteEnvironmentCommand).build() {
|
|
963
|
-
static {
|
|
964
|
-
__name(this, "DeleteEnvironmentCommand");
|
|
965
|
-
}
|
|
683
|
+
const de_TooManyRequestsExceptionRes = async (parsedOutput, context) => {
|
|
684
|
+
const body = parsedOutput.body;
|
|
685
|
+
const deserialized = smithyClient._json(body);
|
|
686
|
+
const exception = new TooManyRequestsException({
|
|
687
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
688
|
+
...deserialized,
|
|
689
|
+
});
|
|
690
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
966
691
|
};
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
var DeleteEnvironmentMembershipCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
973
|
-
return [
|
|
974
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
975
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
976
|
-
];
|
|
977
|
-
}).s("AWSCloud9WorkspaceManagementService", "DeleteEnvironmentMembership", {}).n("Cloud9Client", "DeleteEnvironmentMembershipCommand").f(void 0, void 0).ser(se_DeleteEnvironmentMembershipCommand).de(de_DeleteEnvironmentMembershipCommand).build() {
|
|
978
|
-
static {
|
|
979
|
-
__name(this, "DeleteEnvironmentMembershipCommand");
|
|
980
|
-
}
|
|
692
|
+
const de_CreateEnvironmentMembershipResult = (output, context) => {
|
|
693
|
+
return smithyClient.take(output, {
|
|
694
|
+
membership: (_) => de_EnvironmentMember(_),
|
|
695
|
+
});
|
|
981
696
|
};
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
var DescribeEnvironmentMembershipsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
988
|
-
return [
|
|
989
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
990
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
991
|
-
];
|
|
992
|
-
}).s("AWSCloud9WorkspaceManagementService", "DescribeEnvironmentMemberships", {}).n("Cloud9Client", "DescribeEnvironmentMembershipsCommand").f(void 0, void 0).ser(se_DescribeEnvironmentMembershipsCommand).de(de_DescribeEnvironmentMembershipsCommand).build() {
|
|
993
|
-
static {
|
|
994
|
-
__name(this, "DescribeEnvironmentMembershipsCommand");
|
|
995
|
-
}
|
|
697
|
+
const de_DescribeEnvironmentMembershipsResult = (output, context) => {
|
|
698
|
+
return smithyClient.take(output, {
|
|
699
|
+
memberships: (_) => de_EnvironmentMembersList(_),
|
|
700
|
+
nextToken: smithyClient.expectString,
|
|
701
|
+
});
|
|
996
702
|
};
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1006
|
-
];
|
|
1007
|
-
}).s("AWSCloud9WorkspaceManagementService", "DescribeEnvironments", {}).n("Cloud9Client", "DescribeEnvironmentsCommand").f(void 0, DescribeEnvironmentsResultFilterSensitiveLog).ser(se_DescribeEnvironmentsCommand).de(de_DescribeEnvironmentsCommand).build() {
|
|
1008
|
-
static {
|
|
1009
|
-
__name(this, "DescribeEnvironmentsCommand");
|
|
1010
|
-
}
|
|
703
|
+
const de_EnvironmentMember = (output, context) => {
|
|
704
|
+
return smithyClient.take(output, {
|
|
705
|
+
environmentId: smithyClient.expectString,
|
|
706
|
+
lastAccess: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
707
|
+
permissions: smithyClient.expectString,
|
|
708
|
+
userArn: smithyClient.expectString,
|
|
709
|
+
userId: smithyClient.expectString,
|
|
710
|
+
});
|
|
1011
711
|
};
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1020
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1021
|
-
];
|
|
1022
|
-
}).s("AWSCloud9WorkspaceManagementService", "DescribeEnvironmentStatus", {}).n("Cloud9Client", "DescribeEnvironmentStatusCommand").f(void 0, void 0).ser(se_DescribeEnvironmentStatusCommand).de(de_DescribeEnvironmentStatusCommand).build() {
|
|
1023
|
-
static {
|
|
1024
|
-
__name(this, "DescribeEnvironmentStatusCommand");
|
|
1025
|
-
}
|
|
712
|
+
const de_EnvironmentMembersList = (output, context) => {
|
|
713
|
+
const retVal = (output || [])
|
|
714
|
+
.filter((e) => e != null)
|
|
715
|
+
.map((entry) => {
|
|
716
|
+
return de_EnvironmentMember(entry);
|
|
717
|
+
});
|
|
718
|
+
return retVal;
|
|
1026
719
|
};
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
var ListEnvironmentsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1033
|
-
return [
|
|
1034
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1035
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1036
|
-
];
|
|
1037
|
-
}).s("AWSCloud9WorkspaceManagementService", "ListEnvironments", {}).n("Cloud9Client", "ListEnvironmentsCommand").f(void 0, void 0).ser(se_ListEnvironmentsCommand).de(de_ListEnvironmentsCommand).build() {
|
|
1038
|
-
static {
|
|
1039
|
-
__name(this, "ListEnvironmentsCommand");
|
|
1040
|
-
}
|
|
720
|
+
const de_UpdateEnvironmentMembershipResult = (output, context) => {
|
|
721
|
+
return smithyClient.take(output, {
|
|
722
|
+
membership: (_) => de_EnvironmentMember(_),
|
|
723
|
+
});
|
|
1041
724
|
};
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
725
|
+
const deserializeMetadata = (output) => ({
|
|
726
|
+
httpStatusCode: output.statusCode,
|
|
727
|
+
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
728
|
+
extendedRequestId: output.headers["x-amz-id-2"],
|
|
729
|
+
cfId: output.headers["x-amz-cf-id"],
|
|
730
|
+
});
|
|
731
|
+
const throwDefaultError = smithyClient.withBaseException(Cloud9ServiceException);
|
|
732
|
+
const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
|
|
733
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
734
|
+
const contents = {
|
|
735
|
+
protocol,
|
|
736
|
+
hostname,
|
|
737
|
+
port,
|
|
738
|
+
method: "POST",
|
|
739
|
+
path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
|
|
740
|
+
headers,
|
|
741
|
+
};
|
|
742
|
+
if (body !== undefined) {
|
|
743
|
+
contents.body = body;
|
|
744
|
+
}
|
|
745
|
+
return new protocolHttp.HttpRequest(contents);
|
|
1056
746
|
};
|
|
747
|
+
function sharedHeaders(operation) {
|
|
748
|
+
return {
|
|
749
|
+
"content-type": "application/x-amz-json-1.1",
|
|
750
|
+
"x-amz-target": `AWSCloud9WorkspaceManagementService.${operation}`,
|
|
751
|
+
};
|
|
752
|
+
}
|
|
1057
753
|
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
754
|
+
class CreateEnvironmentEC2Command extends smithyClient.Command
|
|
755
|
+
.classBuilder()
|
|
756
|
+
.ep(commonParams)
|
|
757
|
+
.m(function (Command, cs, config, o) {
|
|
758
|
+
return [
|
|
759
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
760
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
761
|
+
];
|
|
762
|
+
})
|
|
763
|
+
.s("AWSCloud9WorkspaceManagementService", "CreateEnvironmentEC2", {})
|
|
764
|
+
.n("Cloud9Client", "CreateEnvironmentEC2Command")
|
|
765
|
+
.f(CreateEnvironmentEC2RequestFilterSensitiveLog, void 0)
|
|
766
|
+
.ser(se_CreateEnvironmentEC2Command)
|
|
767
|
+
.de(de_CreateEnvironmentEC2Command)
|
|
768
|
+
.build() {
|
|
769
|
+
}
|
|
1072
770
|
|
|
1073
|
-
|
|
771
|
+
class CreateEnvironmentMembershipCommand extends smithyClient.Command
|
|
772
|
+
.classBuilder()
|
|
773
|
+
.ep(commonParams)
|
|
774
|
+
.m(function (Command, cs, config, o) {
|
|
775
|
+
return [
|
|
776
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
777
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
778
|
+
];
|
|
779
|
+
})
|
|
780
|
+
.s("AWSCloud9WorkspaceManagementService", "CreateEnvironmentMembership", {})
|
|
781
|
+
.n("Cloud9Client", "CreateEnvironmentMembershipCommand")
|
|
782
|
+
.f(void 0, void 0)
|
|
783
|
+
.ser(se_CreateEnvironmentMembershipCommand)
|
|
784
|
+
.de(de_CreateEnvironmentMembershipCommand)
|
|
785
|
+
.build() {
|
|
786
|
+
}
|
|
1074
787
|
|
|
788
|
+
class DeleteEnvironmentCommand extends smithyClient.Command
|
|
789
|
+
.classBuilder()
|
|
790
|
+
.ep(commonParams)
|
|
791
|
+
.m(function (Command, cs, config, o) {
|
|
792
|
+
return [
|
|
793
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
794
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
795
|
+
];
|
|
796
|
+
})
|
|
797
|
+
.s("AWSCloud9WorkspaceManagementService", "DeleteEnvironment", {})
|
|
798
|
+
.n("Cloud9Client", "DeleteEnvironmentCommand")
|
|
799
|
+
.f(void 0, void 0)
|
|
800
|
+
.ser(se_DeleteEnvironmentCommand)
|
|
801
|
+
.de(de_DeleteEnvironmentCommand)
|
|
802
|
+
.build() {
|
|
803
|
+
}
|
|
1075
804
|
|
|
805
|
+
class DeleteEnvironmentMembershipCommand extends smithyClient.Command
|
|
806
|
+
.classBuilder()
|
|
807
|
+
.ep(commonParams)
|
|
808
|
+
.m(function (Command, cs, config, o) {
|
|
809
|
+
return [
|
|
810
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
811
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
812
|
+
];
|
|
813
|
+
})
|
|
814
|
+
.s("AWSCloud9WorkspaceManagementService", "DeleteEnvironmentMembership", {})
|
|
815
|
+
.n("Cloud9Client", "DeleteEnvironmentMembershipCommand")
|
|
816
|
+
.f(void 0, void 0)
|
|
817
|
+
.ser(se_DeleteEnvironmentMembershipCommand)
|
|
818
|
+
.de(de_DeleteEnvironmentMembershipCommand)
|
|
819
|
+
.build() {
|
|
820
|
+
}
|
|
1076
821
|
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
(
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
}
|
|
822
|
+
class DescribeEnvironmentMembershipsCommand extends smithyClient.Command
|
|
823
|
+
.classBuilder()
|
|
824
|
+
.ep(commonParams)
|
|
825
|
+
.m(function (Command, cs, config, o) {
|
|
826
|
+
return [
|
|
827
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
828
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
829
|
+
];
|
|
830
|
+
})
|
|
831
|
+
.s("AWSCloud9WorkspaceManagementService", "DescribeEnvironmentMemberships", {})
|
|
832
|
+
.n("Cloud9Client", "DescribeEnvironmentMembershipsCommand")
|
|
833
|
+
.f(void 0, void 0)
|
|
834
|
+
.ser(se_DescribeEnvironmentMembershipsCommand)
|
|
835
|
+
.de(de_DescribeEnvironmentMembershipsCommand)
|
|
836
|
+
.build() {
|
|
837
|
+
}
|
|
1087
838
|
|
|
1088
|
-
|
|
839
|
+
class DescribeEnvironmentsCommand extends smithyClient.Command
|
|
840
|
+
.classBuilder()
|
|
841
|
+
.ep(commonParams)
|
|
842
|
+
.m(function (Command, cs, config, o) {
|
|
843
|
+
return [
|
|
844
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
845
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
846
|
+
];
|
|
847
|
+
})
|
|
848
|
+
.s("AWSCloud9WorkspaceManagementService", "DescribeEnvironments", {})
|
|
849
|
+
.n("Cloud9Client", "DescribeEnvironmentsCommand")
|
|
850
|
+
.f(void 0, DescribeEnvironmentsResultFilterSensitiveLog)
|
|
851
|
+
.ser(se_DescribeEnvironmentsCommand)
|
|
852
|
+
.de(de_DescribeEnvironmentsCommand)
|
|
853
|
+
.build() {
|
|
854
|
+
}
|
|
1089
855
|
|
|
856
|
+
class DescribeEnvironmentStatusCommand extends smithyClient.Command
|
|
857
|
+
.classBuilder()
|
|
858
|
+
.ep(commonParams)
|
|
859
|
+
.m(function (Command, cs, config, o) {
|
|
860
|
+
return [
|
|
861
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
862
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
863
|
+
];
|
|
864
|
+
})
|
|
865
|
+
.s("AWSCloud9WorkspaceManagementService", "DescribeEnvironmentStatus", {})
|
|
866
|
+
.n("Cloud9Client", "DescribeEnvironmentStatusCommand")
|
|
867
|
+
.f(void 0, void 0)
|
|
868
|
+
.ser(se_DescribeEnvironmentStatusCommand)
|
|
869
|
+
.de(de_DescribeEnvironmentStatusCommand)
|
|
870
|
+
.build() {
|
|
871
|
+
}
|
|
1090
872
|
|
|
873
|
+
class ListEnvironmentsCommand extends smithyClient.Command
|
|
874
|
+
.classBuilder()
|
|
875
|
+
.ep(commonParams)
|
|
876
|
+
.m(function (Command, cs, config, o) {
|
|
877
|
+
return [
|
|
878
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
879
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
880
|
+
];
|
|
881
|
+
})
|
|
882
|
+
.s("AWSCloud9WorkspaceManagementService", "ListEnvironments", {})
|
|
883
|
+
.n("Cloud9Client", "ListEnvironmentsCommand")
|
|
884
|
+
.f(void 0, void 0)
|
|
885
|
+
.ser(se_ListEnvironmentsCommand)
|
|
886
|
+
.de(de_ListEnvironmentsCommand)
|
|
887
|
+
.build() {
|
|
888
|
+
}
|
|
1091
889
|
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
(
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
}
|
|
890
|
+
class ListTagsForResourceCommand extends smithyClient.Command
|
|
891
|
+
.classBuilder()
|
|
892
|
+
.ep(commonParams)
|
|
893
|
+
.m(function (Command, cs, config, o) {
|
|
894
|
+
return [
|
|
895
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
896
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
897
|
+
];
|
|
898
|
+
})
|
|
899
|
+
.s("AWSCloud9WorkspaceManagementService", "ListTagsForResource", {})
|
|
900
|
+
.n("Cloud9Client", "ListTagsForResourceCommand")
|
|
901
|
+
.f(void 0, ListTagsForResourceResponseFilterSensitiveLog)
|
|
902
|
+
.ser(se_ListTagsForResourceCommand)
|
|
903
|
+
.de(de_ListTagsForResourceCommand)
|
|
904
|
+
.build() {
|
|
905
|
+
}
|
|
1102
906
|
|
|
1103
|
-
|
|
907
|
+
class TagResourceCommand extends smithyClient.Command
|
|
908
|
+
.classBuilder()
|
|
909
|
+
.ep(commonParams)
|
|
910
|
+
.m(function (Command, cs, config, o) {
|
|
911
|
+
return [
|
|
912
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
913
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
914
|
+
];
|
|
915
|
+
})
|
|
916
|
+
.s("AWSCloud9WorkspaceManagementService", "TagResource", {})
|
|
917
|
+
.n("Cloud9Client", "TagResourceCommand")
|
|
918
|
+
.f(TagResourceRequestFilterSensitiveLog, void 0)
|
|
919
|
+
.ser(se_TagResourceCommand)
|
|
920
|
+
.de(de_TagResourceCommand)
|
|
921
|
+
.build() {
|
|
922
|
+
}
|
|
1104
923
|
|
|
924
|
+
class UntagResourceCommand extends smithyClient.Command
|
|
925
|
+
.classBuilder()
|
|
926
|
+
.ep(commonParams)
|
|
927
|
+
.m(function (Command, cs, config, o) {
|
|
928
|
+
return [
|
|
929
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
930
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
931
|
+
];
|
|
932
|
+
})
|
|
933
|
+
.s("AWSCloud9WorkspaceManagementService", "UntagResource", {})
|
|
934
|
+
.n("Cloud9Client", "UntagResourceCommand")
|
|
935
|
+
.f(UntagResourceRequestFilterSensitiveLog, void 0)
|
|
936
|
+
.ser(se_UntagResourceCommand)
|
|
937
|
+
.de(de_UntagResourceCommand)
|
|
938
|
+
.build() {
|
|
939
|
+
}
|
|
1105
940
|
|
|
941
|
+
class UpdateEnvironmentCommand extends smithyClient.Command
|
|
942
|
+
.classBuilder()
|
|
943
|
+
.ep(commonParams)
|
|
944
|
+
.m(function (Command, cs, config, o) {
|
|
945
|
+
return [
|
|
946
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
947
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
948
|
+
];
|
|
949
|
+
})
|
|
950
|
+
.s("AWSCloud9WorkspaceManagementService", "UpdateEnvironment", {})
|
|
951
|
+
.n("Cloud9Client", "UpdateEnvironmentCommand")
|
|
952
|
+
.f(UpdateEnvironmentRequestFilterSensitiveLog, void 0)
|
|
953
|
+
.ser(se_UpdateEnvironmentCommand)
|
|
954
|
+
.de(de_UpdateEnvironmentCommand)
|
|
955
|
+
.build() {
|
|
956
|
+
}
|
|
1106
957
|
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
(
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
}
|
|
958
|
+
class UpdateEnvironmentMembershipCommand extends smithyClient.Command
|
|
959
|
+
.classBuilder()
|
|
960
|
+
.ep(commonParams)
|
|
961
|
+
.m(function (Command, cs, config, o) {
|
|
962
|
+
return [
|
|
963
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
964
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
965
|
+
];
|
|
966
|
+
})
|
|
967
|
+
.s("AWSCloud9WorkspaceManagementService", "UpdateEnvironmentMembership", {})
|
|
968
|
+
.n("Cloud9Client", "UpdateEnvironmentMembershipCommand")
|
|
969
|
+
.f(void 0, void 0)
|
|
970
|
+
.ser(se_UpdateEnvironmentMembershipCommand)
|
|
971
|
+
.de(de_UpdateEnvironmentMembershipCommand)
|
|
972
|
+
.build() {
|
|
973
|
+
}
|
|
1117
974
|
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
UpdateEnvironmentMembershipCommand
|
|
1133
|
-
};
|
|
1134
|
-
var Cloud9 = class extends Cloud9Client {
|
|
1135
|
-
static {
|
|
1136
|
-
__name(this, "Cloud9");
|
|
1137
|
-
}
|
|
975
|
+
const commands = {
|
|
976
|
+
CreateEnvironmentEC2Command,
|
|
977
|
+
CreateEnvironmentMembershipCommand,
|
|
978
|
+
DeleteEnvironmentCommand,
|
|
979
|
+
DeleteEnvironmentMembershipCommand,
|
|
980
|
+
DescribeEnvironmentMembershipsCommand,
|
|
981
|
+
DescribeEnvironmentsCommand,
|
|
982
|
+
DescribeEnvironmentStatusCommand,
|
|
983
|
+
ListEnvironmentsCommand,
|
|
984
|
+
ListTagsForResourceCommand,
|
|
985
|
+
TagResourceCommand,
|
|
986
|
+
UntagResourceCommand,
|
|
987
|
+
UpdateEnvironmentCommand,
|
|
988
|
+
UpdateEnvironmentMembershipCommand,
|
|
1138
989
|
};
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
var paginateDescribeEnvironmentMemberships = (0, import_core.createPaginator)(Cloud9Client, DescribeEnvironmentMembershipsCommand, "nextToken", "nextToken", "maxResults");
|
|
990
|
+
class Cloud9 extends Cloud9Client {
|
|
991
|
+
}
|
|
992
|
+
smithyClient.createAggregatedClient(commands, Cloud9);
|
|
1144
993
|
|
|
1145
|
-
|
|
994
|
+
const paginateDescribeEnvironmentMemberships = core.createPaginator(Cloud9Client, DescribeEnvironmentMembershipsCommand, "nextToken", "nextToken", "maxResults");
|
|
1146
995
|
|
|
1147
|
-
|
|
1148
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
996
|
+
const paginateListEnvironments = core.createPaginator(Cloud9Client, ListEnvironmentsCommand, "nextToken", "nextToken", "maxResults");
|
|
1149
997
|
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
Cloud9Client,
|
|
1154
|
-
Cloud9,
|
|
1155
|
-
$Command,
|
|
1156
|
-
CreateEnvironmentEC2Command,
|
|
1157
|
-
CreateEnvironmentMembershipCommand,
|
|
1158
|
-
DeleteEnvironmentCommand,
|
|
1159
|
-
DeleteEnvironmentMembershipCommand,
|
|
1160
|
-
DescribeEnvironmentMembershipsCommand,
|
|
1161
|
-
DescribeEnvironmentStatusCommand,
|
|
1162
|
-
DescribeEnvironmentsCommand,
|
|
1163
|
-
ListEnvironmentsCommand,
|
|
1164
|
-
ListTagsForResourceCommand,
|
|
1165
|
-
TagResourceCommand,
|
|
1166
|
-
UntagResourceCommand,
|
|
1167
|
-
UpdateEnvironmentCommand,
|
|
1168
|
-
UpdateEnvironmentMembershipCommand,
|
|
1169
|
-
paginateDescribeEnvironmentMemberships,
|
|
1170
|
-
paginateListEnvironments,
|
|
1171
|
-
BadRequestException,
|
|
1172
|
-
ConflictException,
|
|
1173
|
-
ConnectionType,
|
|
1174
|
-
ForbiddenException,
|
|
1175
|
-
InternalServerErrorException,
|
|
1176
|
-
LimitExceededException,
|
|
1177
|
-
NotFoundException,
|
|
1178
|
-
TooManyRequestsException,
|
|
1179
|
-
MemberPermissions,
|
|
1180
|
-
Permissions,
|
|
1181
|
-
EnvironmentLifecycleStatus,
|
|
1182
|
-
ManagedCredentialsStatus,
|
|
1183
|
-
EnvironmentType,
|
|
1184
|
-
EnvironmentStatus,
|
|
1185
|
-
ConcurrentAccessException,
|
|
1186
|
-
ManagedCredentialsAction,
|
|
1187
|
-
TagFilterSensitiveLog,
|
|
1188
|
-
CreateEnvironmentEC2RequestFilterSensitiveLog,
|
|
1189
|
-
EnvironmentFilterSensitiveLog,
|
|
1190
|
-
DescribeEnvironmentsResultFilterSensitiveLog,
|
|
1191
|
-
ListTagsForResourceResponseFilterSensitiveLog,
|
|
1192
|
-
TagResourceRequestFilterSensitiveLog,
|
|
1193
|
-
UntagResourceRequestFilterSensitiveLog,
|
|
1194
|
-
UpdateEnvironmentRequestFilterSensitiveLog
|
|
998
|
+
Object.defineProperty(exports, "$Command", {
|
|
999
|
+
enumerable: true,
|
|
1000
|
+
get: function () { return smithyClient.Command; }
|
|
1195
1001
|
});
|
|
1196
|
-
|
|
1002
|
+
Object.defineProperty(exports, "__Client", {
|
|
1003
|
+
enumerable: true,
|
|
1004
|
+
get: function () { return smithyClient.Client; }
|
|
1005
|
+
});
|
|
1006
|
+
exports.BadRequestException = BadRequestException;
|
|
1007
|
+
exports.Cloud9 = Cloud9;
|
|
1008
|
+
exports.Cloud9Client = Cloud9Client;
|
|
1009
|
+
exports.Cloud9ServiceException = Cloud9ServiceException;
|
|
1010
|
+
exports.ConcurrentAccessException = ConcurrentAccessException;
|
|
1011
|
+
exports.ConflictException = ConflictException;
|
|
1012
|
+
exports.ConnectionType = ConnectionType;
|
|
1013
|
+
exports.CreateEnvironmentEC2Command = CreateEnvironmentEC2Command;
|
|
1014
|
+
exports.CreateEnvironmentEC2RequestFilterSensitiveLog = CreateEnvironmentEC2RequestFilterSensitiveLog;
|
|
1015
|
+
exports.CreateEnvironmentMembershipCommand = CreateEnvironmentMembershipCommand;
|
|
1016
|
+
exports.DeleteEnvironmentCommand = DeleteEnvironmentCommand;
|
|
1017
|
+
exports.DeleteEnvironmentMembershipCommand = DeleteEnvironmentMembershipCommand;
|
|
1018
|
+
exports.DescribeEnvironmentMembershipsCommand = DescribeEnvironmentMembershipsCommand;
|
|
1019
|
+
exports.DescribeEnvironmentStatusCommand = DescribeEnvironmentStatusCommand;
|
|
1020
|
+
exports.DescribeEnvironmentsCommand = DescribeEnvironmentsCommand;
|
|
1021
|
+
exports.DescribeEnvironmentsResultFilterSensitiveLog = DescribeEnvironmentsResultFilterSensitiveLog;
|
|
1022
|
+
exports.EnvironmentFilterSensitiveLog = EnvironmentFilterSensitiveLog;
|
|
1023
|
+
exports.EnvironmentLifecycleStatus = EnvironmentLifecycleStatus;
|
|
1024
|
+
exports.EnvironmentStatus = EnvironmentStatus;
|
|
1025
|
+
exports.EnvironmentType = EnvironmentType;
|
|
1026
|
+
exports.ForbiddenException = ForbiddenException;
|
|
1027
|
+
exports.InternalServerErrorException = InternalServerErrorException;
|
|
1028
|
+
exports.LimitExceededException = LimitExceededException;
|
|
1029
|
+
exports.ListEnvironmentsCommand = ListEnvironmentsCommand;
|
|
1030
|
+
exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
|
|
1031
|
+
exports.ListTagsForResourceResponseFilterSensitiveLog = ListTagsForResourceResponseFilterSensitiveLog;
|
|
1032
|
+
exports.ManagedCredentialsAction = ManagedCredentialsAction;
|
|
1033
|
+
exports.ManagedCredentialsStatus = ManagedCredentialsStatus;
|
|
1034
|
+
exports.MemberPermissions = MemberPermissions;
|
|
1035
|
+
exports.NotFoundException = NotFoundException;
|
|
1036
|
+
exports.Permissions = Permissions;
|
|
1037
|
+
exports.TagFilterSensitiveLog = TagFilterSensitiveLog;
|
|
1038
|
+
exports.TagResourceCommand = TagResourceCommand;
|
|
1039
|
+
exports.TagResourceRequestFilterSensitiveLog = TagResourceRequestFilterSensitiveLog;
|
|
1040
|
+
exports.TooManyRequestsException = TooManyRequestsException;
|
|
1041
|
+
exports.UntagResourceCommand = UntagResourceCommand;
|
|
1042
|
+
exports.UntagResourceRequestFilterSensitiveLog = UntagResourceRequestFilterSensitiveLog;
|
|
1043
|
+
exports.UpdateEnvironmentCommand = UpdateEnvironmentCommand;
|
|
1044
|
+
exports.UpdateEnvironmentMembershipCommand = UpdateEnvironmentMembershipCommand;
|
|
1045
|
+
exports.UpdateEnvironmentRequestFilterSensitiveLog = UpdateEnvironmentRequestFilterSensitiveLog;
|
|
1046
|
+
exports.paginateDescribeEnvironmentMemberships = paginateDescribeEnvironmentMemberships;
|
|
1047
|
+
exports.paginateListEnvironments = paginateListEnvironments;
|