@aws-sdk/client-cloud9 3.1067.0 → 3.1069.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/auth/httpAuthSchemeProvider.js +9 -15
- package/dist-cjs/endpoint/bdd.js +2 -5
- package/dist-cjs/endpoint/endpointResolver.js +7 -11
- package/dist-cjs/index.js +81 -101
- package/dist-cjs/models/Cloud9ServiceException.js +4 -8
- package/dist-cjs/models/errors.js +17 -28
- package/dist-cjs/runtimeConfig.browser.js +22 -26
- package/dist-cjs/runtimeConfig.js +30 -34
- package/dist-cjs/runtimeConfig.native.js +4 -7
- package/dist-cjs/runtimeConfig.shared.js +20 -24
- package/dist-cjs/schemas/schemas_0.js +111 -76
- package/package.json +8 -8
|
@@ -1,17 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
exports.
|
|
4
|
-
const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes");
|
|
5
|
-
const client_1 = require("@smithy/core/client");
|
|
6
|
-
const defaultCloud9HttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
1
|
+
const { resolveAwsSdkSigV4Config } = require("@aws-sdk/core/httpAuthSchemes");
|
|
2
|
+
const { getSmithyContext, normalizeProvider } = require("@smithy/core/client");
|
|
3
|
+
exports.defaultCloud9HttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
7
4
|
return {
|
|
8
|
-
operation:
|
|
9
|
-
region: await
|
|
5
|
+
operation: getSmithyContext(context).operation,
|
|
6
|
+
region: await normalizeProvider(config.region)() || (() => {
|
|
10
7
|
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
11
8
|
})(),
|
|
12
9
|
};
|
|
13
10
|
};
|
|
14
|
-
exports.defaultCloud9HttpAuthSchemeParametersProvider = defaultCloud9HttpAuthSchemeParametersProvider;
|
|
15
11
|
function createAwsAuthSigv4HttpAuthOption(authParameters) {
|
|
16
12
|
return {
|
|
17
13
|
schemeId: "aws.auth#sigv4",
|
|
@@ -27,7 +23,7 @@ function createAwsAuthSigv4HttpAuthOption(authParameters) {
|
|
|
27
23
|
}),
|
|
28
24
|
};
|
|
29
25
|
}
|
|
30
|
-
|
|
26
|
+
exports.defaultCloud9HttpAuthSchemeProvider = (authParameters) => {
|
|
31
27
|
const options = [];
|
|
32
28
|
switch (authParameters.operation) {
|
|
33
29
|
default: {
|
|
@@ -36,11 +32,9 @@ const defaultCloud9HttpAuthSchemeProvider = (authParameters) => {
|
|
|
36
32
|
}
|
|
37
33
|
return options;
|
|
38
34
|
};
|
|
39
|
-
exports.
|
|
40
|
-
const
|
|
41
|
-
const config_0 = (0, httpAuthSchemes_1.resolveAwsSdkSigV4Config)(config);
|
|
35
|
+
exports.resolveHttpAuthSchemeConfig = (config) => {
|
|
36
|
+
const config_0 = resolveAwsSdkSigV4Config(config);
|
|
42
37
|
return Object.assign(config_0, {
|
|
43
|
-
authSchemePreference:
|
|
38
|
+
authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),
|
|
44
39
|
});
|
|
45
40
|
};
|
|
46
|
-
exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;
|
package/dist-cjs/endpoint/bdd.js
CHANGED
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.bdd = void 0;
|
|
4
|
-
const endpoints_1 = require("@smithy/core/endpoints");
|
|
1
|
+
const { BinaryDecisionDiagram } = require("@smithy/core/endpoints");
|
|
5
2
|
const k = "ref";
|
|
6
3
|
const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = { [k]: "Endpoint" }, h = { [k]: d }, i = {}, j = [{ [k]: "Region" }];
|
|
7
4
|
const _data = {
|
|
@@ -46,4 +43,4 @@ const nodes = new Int32Array([
|
|
|
46
43
|
3, r + 1, 13,
|
|
47
44
|
4, r + 2, r + 3,
|
|
48
45
|
]);
|
|
49
|
-
exports.bdd =
|
|
46
|
+
exports.bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
|
|
@@ -1,18 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
const
|
|
5
|
-
const endpoints_1 = require("@smithy/core/endpoints");
|
|
6
|
-
const bdd_1 = require("./bdd");
|
|
7
|
-
const cache = new endpoints_1.EndpointCache({
|
|
1
|
+
const { awsEndpointFunctions } = require("@aws-sdk/core/client");
|
|
2
|
+
const { customEndpointFunctions, decideEndpoint, EndpointCache } = require("@smithy/core/endpoints");
|
|
3
|
+
const { bdd } = require("./bdd");
|
|
4
|
+
const cache = new EndpointCache({
|
|
8
5
|
size: 50,
|
|
9
6
|
params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
|
|
10
7
|
});
|
|
11
|
-
|
|
12
|
-
return cache.get(endpointParams, () =>
|
|
8
|
+
exports.defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
9
|
+
return cache.get(endpointParams, () => decideEndpoint(bdd, {
|
|
13
10
|
endpointParams: endpointParams,
|
|
14
11
|
logger: context.logger,
|
|
15
12
|
}));
|
|
16
13
|
};
|
|
17
|
-
|
|
18
|
-
endpoints_1.customEndpointFunctions.aws = client_1.awsEndpointFunctions;
|
|
14
|
+
customEndpointFunctions.aws = awsEndpointFunctions;
|
package/dist-cjs/index.js
CHANGED
|
@@ -1,18 +1,21 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
1
|
+
var __exportStar = (m, e) => { Object.assign(e, m); };
|
|
2
|
+
const { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
|
|
3
|
+
const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
|
|
4
|
+
const { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
|
|
5
|
+
exports.$Command = Command;
|
|
6
|
+
exports.__Client = Client;
|
|
7
|
+
const { resolveRegionConfig } = require("@smithy/core/config");
|
|
8
|
+
const { resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
|
|
9
|
+
const { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
|
|
10
|
+
const { resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
|
|
11
|
+
const { getSchemaSerdePlugin } = require("@smithy/core/schema");
|
|
12
|
+
const { resolveHttpAuthSchemeConfig, defaultCloud9HttpAuthSchemeParametersProvider } = require("./auth/httpAuthSchemeProvider");
|
|
13
|
+
const { getRuntimeConfig } = require("./runtimeConfig");
|
|
14
|
+
const { CreateEnvironmentEC2$, CreateEnvironmentMembership$, DeleteEnvironment$, DeleteEnvironmentMembership$, DescribeEnvironmentMemberships$, DescribeEnvironments$, DescribeEnvironmentStatus$, ListEnvironments$, ListTagsForResource$, TagResource$, UntagResource$, UpdateEnvironment$, UpdateEnvironmentMembership$ } = require("./schemas/schemas_0");
|
|
15
|
+
__exportStar(require("./schemas/schemas_0"), exports);
|
|
16
|
+
__exportStar(require("./models/errors"), exports);
|
|
17
|
+
const { Cloud9ServiceException } = require("./models/Cloud9ServiceException");
|
|
18
|
+
exports.Cloud9ServiceException = Cloud9ServiceException;
|
|
16
19
|
|
|
17
20
|
const resolveClientEndpointParameters = (options) => {
|
|
18
21
|
return Object.assign(options, {
|
|
@@ -68,205 +71,205 @@ const resolveHttpAuthRuntimeConfig = (config) => {
|
|
|
68
71
|
};
|
|
69
72
|
|
|
70
73
|
const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
71
|
-
const extensionConfiguration = Object.assign(
|
|
74
|
+
const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
|
|
72
75
|
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
73
|
-
return Object.assign(runtimeConfig,
|
|
76
|
+
return Object.assign(runtimeConfig, resolveAwsRegionExtensionConfiguration(extensionConfiguration), resolveDefaultRuntimeConfig(extensionConfiguration), resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
|
|
74
77
|
};
|
|
75
78
|
|
|
76
|
-
class Cloud9Client extends
|
|
79
|
+
class Cloud9Client extends Client {
|
|
77
80
|
config;
|
|
78
81
|
constructor(...[configuration]) {
|
|
79
|
-
const _config_0 =
|
|
82
|
+
const _config_0 = getRuntimeConfig(configuration || {});
|
|
80
83
|
super(_config_0);
|
|
81
84
|
this.initConfig = _config_0;
|
|
82
85
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
83
|
-
const _config_2 =
|
|
84
|
-
const _config_3 =
|
|
85
|
-
const _config_4 =
|
|
86
|
-
const _config_5 =
|
|
87
|
-
const _config_6 =
|
|
88
|
-
const _config_7 =
|
|
86
|
+
const _config_2 = resolveUserAgentConfig(_config_1);
|
|
87
|
+
const _config_3 = resolveRetryConfig(_config_2);
|
|
88
|
+
const _config_4 = resolveRegionConfig(_config_3);
|
|
89
|
+
const _config_5 = resolveHostHeaderConfig(_config_4);
|
|
90
|
+
const _config_6 = resolveEndpointConfig(_config_5);
|
|
91
|
+
const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
|
|
89
92
|
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
90
93
|
this.config = _config_8;
|
|
91
|
-
this.middlewareStack.use(
|
|
92
|
-
this.middlewareStack.use(
|
|
93
|
-
this.middlewareStack.use(
|
|
94
|
-
this.middlewareStack.use(
|
|
95
|
-
this.middlewareStack.use(
|
|
96
|
-
this.middlewareStack.use(
|
|
97
|
-
this.middlewareStack.use(
|
|
98
|
-
this.middlewareStack.use(
|
|
99
|
-
httpAuthSchemeParametersProvider:
|
|
100
|
-
identityProviderConfigProvider: async (config) => new
|
|
94
|
+
this.middlewareStack.use(getSchemaSerdePlugin(this.config));
|
|
95
|
+
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
96
|
+
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
97
|
+
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
98
|
+
this.middlewareStack.use(getHostHeaderPlugin(this.config));
|
|
99
|
+
this.middlewareStack.use(getLoggerPlugin(this.config));
|
|
100
|
+
this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
|
|
101
|
+
this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
|
|
102
|
+
httpAuthSchemeParametersProvider: defaultCloud9HttpAuthSchemeParametersProvider,
|
|
103
|
+
identityProviderConfigProvider: async (config) => new DefaultIdentityProviderConfig({
|
|
101
104
|
"aws.auth#sigv4": config.credentials,
|
|
102
105
|
}),
|
|
103
106
|
}));
|
|
104
|
-
this.middlewareStack.use(
|
|
107
|
+
this.middlewareStack.use(getHttpSigningPlugin(this.config));
|
|
105
108
|
}
|
|
106
109
|
destroy() {
|
|
107
110
|
super.destroy();
|
|
108
111
|
}
|
|
109
112
|
}
|
|
110
113
|
|
|
111
|
-
class CreateEnvironmentEC2Command extends
|
|
114
|
+
class CreateEnvironmentEC2Command extends Command
|
|
112
115
|
.classBuilder()
|
|
113
116
|
.ep(commonParams)
|
|
114
117
|
.m(function (Command, cs, config, o) {
|
|
115
|
-
return [
|
|
118
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
116
119
|
})
|
|
117
120
|
.s("AWSCloud9WorkspaceManagementService", "CreateEnvironmentEC2", {})
|
|
118
121
|
.n("Cloud9Client", "CreateEnvironmentEC2Command")
|
|
119
|
-
.sc(
|
|
122
|
+
.sc(CreateEnvironmentEC2$)
|
|
120
123
|
.build() {
|
|
121
124
|
}
|
|
122
125
|
|
|
123
|
-
class CreateEnvironmentMembershipCommand extends
|
|
126
|
+
class CreateEnvironmentMembershipCommand extends Command
|
|
124
127
|
.classBuilder()
|
|
125
128
|
.ep(commonParams)
|
|
126
129
|
.m(function (Command, cs, config, o) {
|
|
127
|
-
return [
|
|
130
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
128
131
|
})
|
|
129
132
|
.s("AWSCloud9WorkspaceManagementService", "CreateEnvironmentMembership", {})
|
|
130
133
|
.n("Cloud9Client", "CreateEnvironmentMembershipCommand")
|
|
131
|
-
.sc(
|
|
134
|
+
.sc(CreateEnvironmentMembership$)
|
|
132
135
|
.build() {
|
|
133
136
|
}
|
|
134
137
|
|
|
135
|
-
class DeleteEnvironmentCommand extends
|
|
138
|
+
class DeleteEnvironmentCommand extends Command
|
|
136
139
|
.classBuilder()
|
|
137
140
|
.ep(commonParams)
|
|
138
141
|
.m(function (Command, cs, config, o) {
|
|
139
|
-
return [
|
|
142
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
140
143
|
})
|
|
141
144
|
.s("AWSCloud9WorkspaceManagementService", "DeleteEnvironment", {})
|
|
142
145
|
.n("Cloud9Client", "DeleteEnvironmentCommand")
|
|
143
|
-
.sc(
|
|
146
|
+
.sc(DeleteEnvironment$)
|
|
144
147
|
.build() {
|
|
145
148
|
}
|
|
146
149
|
|
|
147
|
-
class DeleteEnvironmentMembershipCommand extends
|
|
150
|
+
class DeleteEnvironmentMembershipCommand extends Command
|
|
148
151
|
.classBuilder()
|
|
149
152
|
.ep(commonParams)
|
|
150
153
|
.m(function (Command, cs, config, o) {
|
|
151
|
-
return [
|
|
154
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
152
155
|
})
|
|
153
156
|
.s("AWSCloud9WorkspaceManagementService", "DeleteEnvironmentMembership", {})
|
|
154
157
|
.n("Cloud9Client", "DeleteEnvironmentMembershipCommand")
|
|
155
|
-
.sc(
|
|
158
|
+
.sc(DeleteEnvironmentMembership$)
|
|
156
159
|
.build() {
|
|
157
160
|
}
|
|
158
161
|
|
|
159
|
-
class DescribeEnvironmentMembershipsCommand extends
|
|
162
|
+
class DescribeEnvironmentMembershipsCommand extends Command
|
|
160
163
|
.classBuilder()
|
|
161
164
|
.ep(commonParams)
|
|
162
165
|
.m(function (Command, cs, config, o) {
|
|
163
|
-
return [
|
|
166
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
164
167
|
})
|
|
165
168
|
.s("AWSCloud9WorkspaceManagementService", "DescribeEnvironmentMemberships", {})
|
|
166
169
|
.n("Cloud9Client", "DescribeEnvironmentMembershipsCommand")
|
|
167
|
-
.sc(
|
|
170
|
+
.sc(DescribeEnvironmentMemberships$)
|
|
168
171
|
.build() {
|
|
169
172
|
}
|
|
170
173
|
|
|
171
|
-
class DescribeEnvironmentsCommand extends
|
|
174
|
+
class DescribeEnvironmentsCommand extends Command
|
|
172
175
|
.classBuilder()
|
|
173
176
|
.ep(commonParams)
|
|
174
177
|
.m(function (Command, cs, config, o) {
|
|
175
|
-
return [
|
|
178
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
176
179
|
})
|
|
177
180
|
.s("AWSCloud9WorkspaceManagementService", "DescribeEnvironments", {})
|
|
178
181
|
.n("Cloud9Client", "DescribeEnvironmentsCommand")
|
|
179
|
-
.sc(
|
|
182
|
+
.sc(DescribeEnvironments$)
|
|
180
183
|
.build() {
|
|
181
184
|
}
|
|
182
185
|
|
|
183
|
-
class DescribeEnvironmentStatusCommand extends
|
|
186
|
+
class DescribeEnvironmentStatusCommand extends Command
|
|
184
187
|
.classBuilder()
|
|
185
188
|
.ep(commonParams)
|
|
186
189
|
.m(function (Command, cs, config, o) {
|
|
187
|
-
return [
|
|
190
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
188
191
|
})
|
|
189
192
|
.s("AWSCloud9WorkspaceManagementService", "DescribeEnvironmentStatus", {})
|
|
190
193
|
.n("Cloud9Client", "DescribeEnvironmentStatusCommand")
|
|
191
|
-
.sc(
|
|
194
|
+
.sc(DescribeEnvironmentStatus$)
|
|
192
195
|
.build() {
|
|
193
196
|
}
|
|
194
197
|
|
|
195
|
-
class ListEnvironmentsCommand extends
|
|
198
|
+
class ListEnvironmentsCommand extends Command
|
|
196
199
|
.classBuilder()
|
|
197
200
|
.ep(commonParams)
|
|
198
201
|
.m(function (Command, cs, config, o) {
|
|
199
|
-
return [
|
|
202
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
200
203
|
})
|
|
201
204
|
.s("AWSCloud9WorkspaceManagementService", "ListEnvironments", {})
|
|
202
205
|
.n("Cloud9Client", "ListEnvironmentsCommand")
|
|
203
|
-
.sc(
|
|
206
|
+
.sc(ListEnvironments$)
|
|
204
207
|
.build() {
|
|
205
208
|
}
|
|
206
209
|
|
|
207
|
-
class ListTagsForResourceCommand extends
|
|
210
|
+
class ListTagsForResourceCommand extends Command
|
|
208
211
|
.classBuilder()
|
|
209
212
|
.ep(commonParams)
|
|
210
213
|
.m(function (Command, cs, config, o) {
|
|
211
|
-
return [
|
|
214
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
212
215
|
})
|
|
213
216
|
.s("AWSCloud9WorkspaceManagementService", "ListTagsForResource", {})
|
|
214
217
|
.n("Cloud9Client", "ListTagsForResourceCommand")
|
|
215
|
-
.sc(
|
|
218
|
+
.sc(ListTagsForResource$)
|
|
216
219
|
.build() {
|
|
217
220
|
}
|
|
218
221
|
|
|
219
|
-
class TagResourceCommand extends
|
|
222
|
+
class TagResourceCommand extends Command
|
|
220
223
|
.classBuilder()
|
|
221
224
|
.ep(commonParams)
|
|
222
225
|
.m(function (Command, cs, config, o) {
|
|
223
|
-
return [
|
|
226
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
224
227
|
})
|
|
225
228
|
.s("AWSCloud9WorkspaceManagementService", "TagResource", {})
|
|
226
229
|
.n("Cloud9Client", "TagResourceCommand")
|
|
227
|
-
.sc(
|
|
230
|
+
.sc(TagResource$)
|
|
228
231
|
.build() {
|
|
229
232
|
}
|
|
230
233
|
|
|
231
|
-
class UntagResourceCommand extends
|
|
234
|
+
class UntagResourceCommand extends Command
|
|
232
235
|
.classBuilder()
|
|
233
236
|
.ep(commonParams)
|
|
234
237
|
.m(function (Command, cs, config, o) {
|
|
235
|
-
return [
|
|
238
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
236
239
|
})
|
|
237
240
|
.s("AWSCloud9WorkspaceManagementService", "UntagResource", {})
|
|
238
241
|
.n("Cloud9Client", "UntagResourceCommand")
|
|
239
|
-
.sc(
|
|
242
|
+
.sc(UntagResource$)
|
|
240
243
|
.build() {
|
|
241
244
|
}
|
|
242
245
|
|
|
243
|
-
class UpdateEnvironmentCommand extends
|
|
246
|
+
class UpdateEnvironmentCommand extends Command
|
|
244
247
|
.classBuilder()
|
|
245
248
|
.ep(commonParams)
|
|
246
249
|
.m(function (Command, cs, config, o) {
|
|
247
|
-
return [
|
|
250
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
248
251
|
})
|
|
249
252
|
.s("AWSCloud9WorkspaceManagementService", "UpdateEnvironment", {})
|
|
250
253
|
.n("Cloud9Client", "UpdateEnvironmentCommand")
|
|
251
|
-
.sc(
|
|
254
|
+
.sc(UpdateEnvironment$)
|
|
252
255
|
.build() {
|
|
253
256
|
}
|
|
254
257
|
|
|
255
|
-
class UpdateEnvironmentMembershipCommand extends
|
|
258
|
+
class UpdateEnvironmentMembershipCommand extends Command
|
|
256
259
|
.classBuilder()
|
|
257
260
|
.ep(commonParams)
|
|
258
261
|
.m(function (Command, cs, config, o) {
|
|
259
|
-
return [
|
|
262
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
260
263
|
})
|
|
261
264
|
.s("AWSCloud9WorkspaceManagementService", "UpdateEnvironmentMembership", {})
|
|
262
265
|
.n("Cloud9Client", "UpdateEnvironmentMembershipCommand")
|
|
263
|
-
.sc(
|
|
266
|
+
.sc(UpdateEnvironmentMembership$)
|
|
264
267
|
.build() {
|
|
265
268
|
}
|
|
266
269
|
|
|
267
|
-
const paginateDescribeEnvironmentMemberships =
|
|
270
|
+
const paginateDescribeEnvironmentMemberships = createPaginator(Cloud9Client, DescribeEnvironmentMembershipsCommand, "nextToken", "nextToken", "maxResults");
|
|
268
271
|
|
|
269
|
-
const paginateListEnvironments =
|
|
272
|
+
const paginateListEnvironments = createPaginator(Cloud9Client, ListEnvironmentsCommand, "nextToken", "nextToken", "maxResults");
|
|
270
273
|
|
|
271
274
|
const commands = {
|
|
272
275
|
CreateEnvironmentEC2Command,
|
|
@@ -289,7 +292,7 @@ const paginators = {
|
|
|
289
292
|
};
|
|
290
293
|
class Cloud9 extends Cloud9Client {
|
|
291
294
|
}
|
|
292
|
-
|
|
295
|
+
createAggregatedClient(commands, Cloud9, { paginators });
|
|
293
296
|
|
|
294
297
|
const ConnectionType = {
|
|
295
298
|
CONNECT_SSH: "CONNECT_SSH",
|
|
@@ -342,9 +345,6 @@ const ManagedCredentialsAction = {
|
|
|
342
345
|
ENABLE: "ENABLE",
|
|
343
346
|
};
|
|
344
347
|
|
|
345
|
-
exports.$Command = client.Command;
|
|
346
|
-
exports.__Client = client.Client;
|
|
347
|
-
exports.Cloud9ServiceException = Cloud9ServiceException.Cloud9ServiceException;
|
|
348
348
|
exports.Cloud9 = Cloud9;
|
|
349
349
|
exports.Cloud9Client = Cloud9Client;
|
|
350
350
|
exports.ConnectionType = ConnectionType;
|
|
@@ -370,23 +370,3 @@ exports.UpdateEnvironmentCommand = UpdateEnvironmentCommand;
|
|
|
370
370
|
exports.UpdateEnvironmentMembershipCommand = UpdateEnvironmentMembershipCommand;
|
|
371
371
|
exports.paginateDescribeEnvironmentMemberships = paginateDescribeEnvironmentMemberships;
|
|
372
372
|
exports.paginateListEnvironments = paginateListEnvironments;
|
|
373
|
-
Object.prototype.hasOwnProperty.call(schemas_0, '__proto__') &&
|
|
374
|
-
!Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
|
|
375
|
-
Object.defineProperty(exports, '__proto__', {
|
|
376
|
-
enumerable: true,
|
|
377
|
-
value: schemas_0['__proto__']
|
|
378
|
-
});
|
|
379
|
-
|
|
380
|
-
Object.keys(schemas_0).forEach(function (k) {
|
|
381
|
-
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = schemas_0[k];
|
|
382
|
-
});
|
|
383
|
-
Object.prototype.hasOwnProperty.call(errors, '__proto__') &&
|
|
384
|
-
!Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
|
|
385
|
-
Object.defineProperty(exports, '__proto__', {
|
|
386
|
-
enumerable: true,
|
|
387
|
-
value: errors['__proto__']
|
|
388
|
-
});
|
|
389
|
-
|
|
390
|
-
Object.keys(errors).forEach(function (k) {
|
|
391
|
-
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = errors[k];
|
|
392
|
-
});
|
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
exports.Cloud9ServiceException =
|
|
4
|
-
const client_1 = require("@smithy/core/client");
|
|
5
|
-
Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return client_1.ServiceException; } });
|
|
6
|
-
class Cloud9ServiceException extends client_1.ServiceException {
|
|
1
|
+
const { ServiceException: __ServiceException } = require("@smithy/core/client");
|
|
2
|
+
exports.__ServiceException = __ServiceException;
|
|
3
|
+
exports.Cloud9ServiceException = class Cloud9ServiceException extends __ServiceException {
|
|
7
4
|
constructor(options) {
|
|
8
5
|
super(options);
|
|
9
6
|
Object.setPrototypeOf(this, Cloud9ServiceException.prototype);
|
|
10
7
|
}
|
|
11
|
-
}
|
|
12
|
-
exports.Cloud9ServiceException = Cloud9ServiceException;
|
|
8
|
+
};
|
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
exports.ConcurrentAccessException = exports.TooManyRequestsException = exports.NotFoundException = exports.LimitExceededException = exports.InternalServerErrorException = exports.ForbiddenException = exports.ConflictException = exports.BadRequestException = void 0;
|
|
4
|
-
const Cloud9ServiceException_1 = require("./Cloud9ServiceException");
|
|
5
|
-
class BadRequestException extends Cloud9ServiceException_1.Cloud9ServiceException {
|
|
1
|
+
const { Cloud9ServiceException: __BaseException } = require("./Cloud9ServiceException");
|
|
2
|
+
exports.BadRequestException = class BadRequestException extends __BaseException {
|
|
6
3
|
name = "BadRequestException";
|
|
7
4
|
$fault = "client";
|
|
8
5
|
className;
|
|
@@ -17,9 +14,8 @@ class BadRequestException extends Cloud9ServiceException_1.Cloud9ServiceExceptio
|
|
|
17
14
|
this.className = opts.className;
|
|
18
15
|
this.code = opts.code;
|
|
19
16
|
}
|
|
20
|
-
}
|
|
21
|
-
exports.
|
|
22
|
-
class ConflictException extends Cloud9ServiceException_1.Cloud9ServiceException {
|
|
17
|
+
};
|
|
18
|
+
exports.ConflictException = class ConflictException extends __BaseException {
|
|
23
19
|
name = "ConflictException";
|
|
24
20
|
$fault = "client";
|
|
25
21
|
className;
|
|
@@ -34,9 +30,8 @@ class ConflictException extends Cloud9ServiceException_1.Cloud9ServiceException
|
|
|
34
30
|
this.className = opts.className;
|
|
35
31
|
this.code = opts.code;
|
|
36
32
|
}
|
|
37
|
-
}
|
|
38
|
-
exports.
|
|
39
|
-
class ForbiddenException extends Cloud9ServiceException_1.Cloud9ServiceException {
|
|
33
|
+
};
|
|
34
|
+
exports.ForbiddenException = class ForbiddenException extends __BaseException {
|
|
40
35
|
name = "ForbiddenException";
|
|
41
36
|
$fault = "client";
|
|
42
37
|
className;
|
|
@@ -51,9 +46,8 @@ class ForbiddenException extends Cloud9ServiceException_1.Cloud9ServiceException
|
|
|
51
46
|
this.className = opts.className;
|
|
52
47
|
this.code = opts.code;
|
|
53
48
|
}
|
|
54
|
-
}
|
|
55
|
-
exports.
|
|
56
|
-
class InternalServerErrorException extends Cloud9ServiceException_1.Cloud9ServiceException {
|
|
49
|
+
};
|
|
50
|
+
exports.InternalServerErrorException = class InternalServerErrorException extends __BaseException {
|
|
57
51
|
name = "InternalServerErrorException";
|
|
58
52
|
$fault = "server";
|
|
59
53
|
className;
|
|
@@ -68,9 +62,8 @@ class InternalServerErrorException extends Cloud9ServiceException_1.Cloud9Servic
|
|
|
68
62
|
this.className = opts.className;
|
|
69
63
|
this.code = opts.code;
|
|
70
64
|
}
|
|
71
|
-
}
|
|
72
|
-
exports.
|
|
73
|
-
class LimitExceededException extends Cloud9ServiceException_1.Cloud9ServiceException {
|
|
65
|
+
};
|
|
66
|
+
exports.LimitExceededException = class LimitExceededException extends __BaseException {
|
|
74
67
|
name = "LimitExceededException";
|
|
75
68
|
$fault = "client";
|
|
76
69
|
className;
|
|
@@ -85,9 +78,8 @@ class LimitExceededException extends Cloud9ServiceException_1.Cloud9ServiceExcep
|
|
|
85
78
|
this.className = opts.className;
|
|
86
79
|
this.code = opts.code;
|
|
87
80
|
}
|
|
88
|
-
}
|
|
89
|
-
exports.
|
|
90
|
-
class NotFoundException extends Cloud9ServiceException_1.Cloud9ServiceException {
|
|
81
|
+
};
|
|
82
|
+
exports.NotFoundException = class NotFoundException extends __BaseException {
|
|
91
83
|
name = "NotFoundException";
|
|
92
84
|
$fault = "client";
|
|
93
85
|
className;
|
|
@@ -102,9 +94,8 @@ class NotFoundException extends Cloud9ServiceException_1.Cloud9ServiceException
|
|
|
102
94
|
this.className = opts.className;
|
|
103
95
|
this.code = opts.code;
|
|
104
96
|
}
|
|
105
|
-
}
|
|
106
|
-
exports.
|
|
107
|
-
class TooManyRequestsException extends Cloud9ServiceException_1.Cloud9ServiceException {
|
|
97
|
+
};
|
|
98
|
+
exports.TooManyRequestsException = class TooManyRequestsException extends __BaseException {
|
|
108
99
|
name = "TooManyRequestsException";
|
|
109
100
|
$fault = "client";
|
|
110
101
|
className;
|
|
@@ -119,9 +110,8 @@ class TooManyRequestsException extends Cloud9ServiceException_1.Cloud9ServiceExc
|
|
|
119
110
|
this.className = opts.className;
|
|
120
111
|
this.code = opts.code;
|
|
121
112
|
}
|
|
122
|
-
}
|
|
123
|
-
exports.
|
|
124
|
-
class ConcurrentAccessException extends Cloud9ServiceException_1.Cloud9ServiceException {
|
|
113
|
+
};
|
|
114
|
+
exports.ConcurrentAccessException = class ConcurrentAccessException extends __BaseException {
|
|
125
115
|
name = "ConcurrentAccessException";
|
|
126
116
|
$fault = "client";
|
|
127
117
|
className;
|
|
@@ -136,5 +126,4 @@ class ConcurrentAccessException extends Cloud9ServiceException_1.Cloud9ServiceEx
|
|
|
136
126
|
this.className = opts.className;
|
|
137
127
|
this.code = opts.code;
|
|
138
128
|
}
|
|
139
|
-
}
|
|
140
|
-
exports.ConcurrentAccessException = ConcurrentAccessException;
|
|
129
|
+
};
|
|
@@ -1,36 +1,32 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
const
|
|
5
|
-
const
|
|
6
|
-
const
|
|
7
|
-
const
|
|
8
|
-
const
|
|
9
|
-
const
|
|
10
|
-
const retry_1 = require("@smithy/core/retry");
|
|
11
|
-
const serde_1 = require("@smithy/core/serde");
|
|
12
|
-
const fetch_http_handler_1 = require("@smithy/fetch-http-handler");
|
|
13
|
-
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
1
|
+
const packageInfo = require("../package.json");
|
|
2
|
+
const { Sha256 } = require("@aws-crypto/sha256-browser");
|
|
3
|
+
const { createDefaultUserAgentProvider } = require("@aws-sdk/core/client");
|
|
4
|
+
const { invalidProvider, loadConfigsForDefaultMode } = require("@smithy/core/client");
|
|
5
|
+
const { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT, resolveDefaultsModeConfig } = require("@smithy/core/config");
|
|
6
|
+
const { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } = require("@smithy/core/retry");
|
|
7
|
+
const { calculateBodyLength } = require("@smithy/core/serde");
|
|
8
|
+
const { FetchHttpHandler: RequestHandler, streamCollector } = require("@smithy/fetch-http-handler");
|
|
9
|
+
const { getRuntimeConfig: getSharedRuntimeConfig } = require("./runtimeConfig.shared");
|
|
14
10
|
const getRuntimeConfig = (config) => {
|
|
15
|
-
const defaultsMode =
|
|
16
|
-
const defaultConfigProvider = () => defaultsMode().then(
|
|
17
|
-
const clientSharedValues = (
|
|
11
|
+
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
12
|
+
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
|
13
|
+
const clientSharedValues = getSharedRuntimeConfig(config);
|
|
18
14
|
return {
|
|
19
15
|
...clientSharedValues,
|
|
20
16
|
...config,
|
|
21
17
|
runtime: "browser",
|
|
22
18
|
defaultsMode,
|
|
23
|
-
bodyLengthChecker: config?.bodyLengthChecker ??
|
|
19
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
24
20
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
25
|
-
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
26
|
-
maxAttempts: config?.maxAttempts ??
|
|
27
|
-
region: config?.region ??
|
|
28
|
-
requestHandler:
|
|
29
|
-
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode ||
|
|
30
|
-
sha256: config?.sha256 ??
|
|
31
|
-
streamCollector: config?.streamCollector ??
|
|
32
|
-
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(
|
|
33
|
-
useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(
|
|
21
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
22
|
+
maxAttempts: config?.maxAttempts ?? DEFAULT_MAX_ATTEMPTS,
|
|
23
|
+
region: config?.region ?? invalidProvider("Region is missing"),
|
|
24
|
+
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
25
|
+
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
|
|
26
|
+
sha256: config?.sha256 ?? Sha256,
|
|
27
|
+
streamCollector: config?.streamCollector ?? streamCollector,
|
|
28
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
29
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),
|
|
34
30
|
};
|
|
35
31
|
};
|
|
36
32
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -1,23 +1,19 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
const
|
|
5
|
-
const
|
|
6
|
-
const
|
|
7
|
-
const
|
|
8
|
-
const
|
|
9
|
-
const
|
|
10
|
-
const
|
|
11
|
-
const retry_1 = require("@smithy/core/retry");
|
|
12
|
-
const serde_1 = require("@smithy/core/serde");
|
|
13
|
-
const node_http_handler_1 = require("@smithy/node-http-handler");
|
|
14
|
-
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
1
|
+
const packageInfo = require("../package.json");
|
|
2
|
+
const { createDefaultUserAgentProvider, emitWarningIfUnsupportedVersion: awsCheckVersion, NODE_APP_ID_CONFIG_OPTIONS } = require("@aws-sdk/core/client");
|
|
3
|
+
const { NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
|
|
4
|
+
const { defaultProvider: credentialDefaultProvider } = require("@aws-sdk/credential-provider-node");
|
|
5
|
+
const { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } = require("@smithy/core/client");
|
|
6
|
+
const { loadConfig: loadNodeConfig, NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, resolveDefaultsModeConfig } = require("@smithy/core/config");
|
|
7
|
+
const { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } = require("@smithy/core/retry");
|
|
8
|
+
const { calculateBodyLength, Hash } = require("@smithy/core/serde");
|
|
9
|
+
const { NodeHttpHandler: RequestHandler, streamCollector } = require("@smithy/node-http-handler");
|
|
10
|
+
const { getRuntimeConfig: getSharedRuntimeConfig } = require("./runtimeConfig.shared");
|
|
15
11
|
const getRuntimeConfig = (config) => {
|
|
16
|
-
|
|
17
|
-
const defaultsMode =
|
|
18
|
-
const defaultConfigProvider = () => defaultsMode().then(
|
|
19
|
-
const clientSharedValues = (
|
|
20
|
-
(
|
|
12
|
+
emitWarningIfUnsupportedVersion(process.version);
|
|
13
|
+
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
14
|
+
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
|
15
|
+
const clientSharedValues = getSharedRuntimeConfig(config);
|
|
16
|
+
awsCheckVersion(process.version);
|
|
21
17
|
const loaderConfig = {
|
|
22
18
|
profile: config?.profile,
|
|
23
19
|
logger: clientSharedValues.logger,
|
|
@@ -27,23 +23,23 @@ const getRuntimeConfig = (config) => {
|
|
|
27
23
|
...config,
|
|
28
24
|
runtime: "node",
|
|
29
25
|
defaultsMode,
|
|
30
|
-
authSchemePreference: config?.authSchemePreference ?? (
|
|
31
|
-
bodyLengthChecker: config?.bodyLengthChecker ??
|
|
32
|
-
credentialDefaultProvider: config?.credentialDefaultProvider ??
|
|
33
|
-
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
34
|
-
maxAttempts: config?.maxAttempts ?? (
|
|
35
|
-
region: config?.region ?? (
|
|
36
|
-
requestHandler:
|
|
26
|
+
authSchemePreference: config?.authSchemePreference ?? loadNodeConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
27
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
28
|
+
credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider,
|
|
29
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
30
|
+
maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
31
|
+
region: config?.region ?? loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
32
|
+
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
37
33
|
retryMode: config?.retryMode ??
|
|
38
|
-
(
|
|
39
|
-
...
|
|
40
|
-
default: async () => (await defaultConfigProvider()).retryMode ||
|
|
34
|
+
loadNodeConfig({
|
|
35
|
+
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
36
|
+
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
41
37
|
}, config),
|
|
42
|
-
sha256: config?.sha256 ??
|
|
43
|
-
streamCollector: config?.streamCollector ??
|
|
44
|
-
useDualstackEndpoint: config?.useDualstackEndpoint ?? (
|
|
45
|
-
useFipsEndpoint: config?.useFipsEndpoint ?? (
|
|
46
|
-
userAgentAppId: config?.userAgentAppId ?? (
|
|
38
|
+
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
39
|
+
streamCollector: config?.streamCollector ?? streamCollector,
|
|
40
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
41
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
42
|
+
userAgentAppId: config?.userAgentAppId ?? loadNodeConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
|
|
47
43
|
};
|
|
48
44
|
};
|
|
49
45
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -1,15 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
exports.getRuntimeConfig = void 0;
|
|
4
|
-
const sha256_js_1 = require("@aws-crypto/sha256-js");
|
|
5
|
-
const runtimeConfig_browser_1 = require("./runtimeConfig.browser");
|
|
1
|
+
const { Sha256 } = require("@aws-crypto/sha256-js");
|
|
2
|
+
const { getRuntimeConfig: getBrowserRuntimeConfig } = require("./runtimeConfig.browser");
|
|
6
3
|
const getRuntimeConfig = (config) => {
|
|
7
|
-
const browserDefaults = (
|
|
4
|
+
const browserDefaults = getBrowserRuntimeConfig(config);
|
|
8
5
|
return {
|
|
9
6
|
...browserDefaults,
|
|
10
7
|
...config,
|
|
11
8
|
runtime: "react-native",
|
|
12
|
-
sha256: config?.sha256 ??
|
|
9
|
+
sha256: config?.sha256 ?? Sha256,
|
|
13
10
|
};
|
|
14
11
|
};
|
|
15
12
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -1,42 +1,38 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
const
|
|
5
|
-
const
|
|
6
|
-
const
|
|
7
|
-
const
|
|
8
|
-
const
|
|
9
|
-
|
|
10
|
-
const endpointResolver_1 = require("./endpoint/endpointResolver");
|
|
11
|
-
const schemas_0_1 = require("./schemas/schemas_0");
|
|
12
|
-
const getRuntimeConfig = (config) => {
|
|
1
|
+
const { AwsSdkSigV4Signer } = require("@aws-sdk/core/httpAuthSchemes");
|
|
2
|
+
const { AwsJson1_1Protocol } = require("@aws-sdk/core/protocols");
|
|
3
|
+
const { NoOpLogger } = require("@smithy/core/client");
|
|
4
|
+
const { parseUrl } = require("@smithy/core/protocols");
|
|
5
|
+
const { fromBase64, fromUtf8, toBase64, toUtf8 } = require("@smithy/core/serde");
|
|
6
|
+
const { defaultCloud9HttpAuthSchemeProvider } = require("./auth/httpAuthSchemeProvider");
|
|
7
|
+
const { defaultEndpointResolver } = require("./endpoint/endpointResolver");
|
|
8
|
+
const { errorTypeRegistries } = require("./schemas/schemas_0");
|
|
9
|
+
exports.getRuntimeConfig = (config) => {
|
|
13
10
|
return {
|
|
14
11
|
apiVersion: "2017-09-23",
|
|
15
|
-
base64Decoder: config?.base64Decoder ??
|
|
16
|
-
base64Encoder: config?.base64Encoder ??
|
|
12
|
+
base64Decoder: config?.base64Decoder ?? fromBase64,
|
|
13
|
+
base64Encoder: config?.base64Encoder ?? toBase64,
|
|
17
14
|
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
18
|
-
endpointProvider: config?.endpointProvider ??
|
|
15
|
+
endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
|
|
19
16
|
extensions: config?.extensions ?? [],
|
|
20
|
-
httpAuthSchemeProvider: config?.httpAuthSchemeProvider ??
|
|
17
|
+
httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultCloud9HttpAuthSchemeProvider,
|
|
21
18
|
httpAuthSchemes: config?.httpAuthSchemes ?? [
|
|
22
19
|
{
|
|
23
20
|
schemeId: "aws.auth#sigv4",
|
|
24
21
|
identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
|
|
25
|
-
signer: new
|
|
22
|
+
signer: new AwsSdkSigV4Signer(),
|
|
26
23
|
},
|
|
27
24
|
],
|
|
28
|
-
logger: config?.logger ?? new
|
|
29
|
-
protocol: config?.protocol ??
|
|
25
|
+
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
+
protocol: config?.protocol ?? AwsJson1_1Protocol,
|
|
30
27
|
protocolSettings: config?.protocolSettings ?? {
|
|
31
28
|
defaultNamespace: "com.amazonaws.cloud9",
|
|
32
|
-
errorTypeRegistries
|
|
29
|
+
errorTypeRegistries,
|
|
33
30
|
version: "2017-09-23",
|
|
34
31
|
serviceTarget: "AWSCloud9WorkspaceManagementService",
|
|
35
32
|
},
|
|
36
33
|
serviceId: config?.serviceId ?? "Cloud9",
|
|
37
|
-
urlParser: config?.urlParser ??
|
|
38
|
-
utf8Decoder: config?.utf8Decoder ??
|
|
39
|
-
utf8Encoder: config?.utf8Encoder ??
|
|
34
|
+
urlParser: config?.urlParser ?? parseUrl,
|
|
35
|
+
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
36
|
+
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
40
37
|
};
|
|
41
38
|
};
|
|
42
|
-
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TagResource$ = exports.ListTagsForResource$ = exports.ListEnvironments$ = exports.DescribeEnvironmentStatus$ = exports.DescribeEnvironments$ = exports.DescribeEnvironmentMemberships$ = exports.DeleteEnvironmentMembership$ = exports.DeleteEnvironment$ = exports.CreateEnvironmentMembership$ = exports.CreateEnvironmentEC2$ = exports.UpdateEnvironmentResult$ = exports.UpdateEnvironmentRequest$ = exports.UpdateEnvironmentMembershipResult$ = exports.UpdateEnvironmentMembershipRequest$ = exports.UntagResourceResponse$ = exports.UntagResourceRequest$ = exports.TagResourceResponse$ = exports.TagResourceRequest$ = exports.Tag$ = exports.ListTagsForResourceResponse$ = exports.ListTagsForResourceRequest$ = exports.ListEnvironmentsResult$ = exports.ListEnvironmentsRequest$ = exports.EnvironmentMember$ = exports.EnvironmentLifecycle$ = exports.Environment$ = exports.DescribeEnvironmentStatusResult$ = exports.DescribeEnvironmentStatusRequest$ = exports.DescribeEnvironmentsResult$ = exports.DescribeEnvironmentsRequest$ = exports.DescribeEnvironmentMembershipsResult$ = exports.DescribeEnvironmentMembershipsRequest$ = exports.DeleteEnvironmentResult$ = exports.DeleteEnvironmentRequest$ = exports.DeleteEnvironmentMembershipResult$ = exports.DeleteEnvironmentMembershipRequest$ = exports.CreateEnvironmentMembershipResult$ = exports.CreateEnvironmentMembershipRequest$ = exports.CreateEnvironmentEC2Result$ = exports.CreateEnvironmentEC2Request$ = exports.errorTypeRegistries = exports.TooManyRequestsException$ = exports.NotFoundException$ = exports.LimitExceededException$ = exports.InternalServerErrorException$ = exports.ForbiddenException$ = exports.ConflictException$ = exports.ConcurrentAccessException$ = exports.BadRequestException$ = exports.Cloud9ServiceException$ = void 0;
|
|
4
|
-
exports.UpdateEnvironmentMembership$ = exports.UpdateEnvironment$ = exports.UntagResource$ = void 0;
|
|
5
1
|
const _BRE = "BadRequestException";
|
|
6
2
|
const _CAE = "ConcurrentAccessException";
|
|
7
3
|
const _CE = "ConflictException";
|
|
@@ -104,61 +100,70 @@ const _ty = "type";
|
|
|
104
100
|
const _uA = "userArn";
|
|
105
101
|
const _uI = "userId";
|
|
106
102
|
const n0 = "com.amazonaws.cloud9";
|
|
107
|
-
const
|
|
108
|
-
const
|
|
109
|
-
const
|
|
110
|
-
const _s_registry =
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
103
|
+
const { TypeRegistry } = require("@smithy/core/schema");
|
|
104
|
+
const { Cloud9ServiceException } = require("../models/Cloud9ServiceException");
|
|
105
|
+
const { BadRequestException, ConcurrentAccessException, ConflictException, ForbiddenException, InternalServerErrorException, LimitExceededException, NotFoundException, TooManyRequestsException } = require("../models/errors");
|
|
106
|
+
const _s_registry = TypeRegistry.for(_s);
|
|
107
|
+
const Cloud9ServiceException$ = [-3, _s, "Cloud9ServiceException", 0, [], []];
|
|
108
|
+
exports.Cloud9ServiceException$ = Cloud9ServiceException$;
|
|
109
|
+
_s_registry.registerError(Cloud9ServiceException$, Cloud9ServiceException);
|
|
110
|
+
const n0_registry = TypeRegistry.for(n0);
|
|
111
|
+
const BadRequestException$ = [-3, n0, _BRE,
|
|
115
112
|
{ [_e]: _c },
|
|
116
113
|
[_m, _cN, _co],
|
|
117
114
|
[0, 0, 1]
|
|
118
115
|
];
|
|
119
|
-
|
|
120
|
-
|
|
116
|
+
exports.BadRequestException$ = BadRequestException$;
|
|
117
|
+
n0_registry.registerError(BadRequestException$, BadRequestException);
|
|
118
|
+
const ConcurrentAccessException$ = [-3, n0, _CAE,
|
|
121
119
|
{ [_e]: _c },
|
|
122
120
|
[_m, _cN, _co],
|
|
123
121
|
[0, 0, 1]
|
|
124
122
|
];
|
|
125
|
-
|
|
126
|
-
|
|
123
|
+
exports.ConcurrentAccessException$ = ConcurrentAccessException$;
|
|
124
|
+
n0_registry.registerError(ConcurrentAccessException$, ConcurrentAccessException);
|
|
125
|
+
const ConflictException$ = [-3, n0, _CE,
|
|
127
126
|
{ [_e]: _c },
|
|
128
127
|
[_m, _cN, _co],
|
|
129
128
|
[0, 0, 1]
|
|
130
129
|
];
|
|
131
|
-
|
|
132
|
-
|
|
130
|
+
exports.ConflictException$ = ConflictException$;
|
|
131
|
+
n0_registry.registerError(ConflictException$, ConflictException);
|
|
132
|
+
const ForbiddenException$ = [-3, n0, _FE,
|
|
133
133
|
{ [_e]: _c },
|
|
134
134
|
[_m, _cN, _co],
|
|
135
135
|
[0, 0, 1]
|
|
136
136
|
];
|
|
137
|
-
|
|
138
|
-
|
|
137
|
+
exports.ForbiddenException$ = ForbiddenException$;
|
|
138
|
+
n0_registry.registerError(ForbiddenException$, ForbiddenException);
|
|
139
|
+
const InternalServerErrorException$ = [-3, n0, _ISEE,
|
|
139
140
|
{ [_e]: _se },
|
|
140
141
|
[_m, _cN, _co],
|
|
141
142
|
[0, 0, 1]
|
|
142
143
|
];
|
|
143
|
-
|
|
144
|
-
|
|
144
|
+
exports.InternalServerErrorException$ = InternalServerErrorException$;
|
|
145
|
+
n0_registry.registerError(InternalServerErrorException$, InternalServerErrorException);
|
|
146
|
+
const LimitExceededException$ = [-3, n0, _LEE,
|
|
145
147
|
{ [_e]: _c },
|
|
146
148
|
[_m, _cN, _co],
|
|
147
149
|
[0, 0, 1]
|
|
148
150
|
];
|
|
149
|
-
|
|
150
|
-
|
|
151
|
+
exports.LimitExceededException$ = LimitExceededException$;
|
|
152
|
+
n0_registry.registerError(LimitExceededException$, LimitExceededException);
|
|
153
|
+
const NotFoundException$ = [-3, n0, _NFE,
|
|
151
154
|
{ [_e]: _c },
|
|
152
155
|
[_m, _cN, _co],
|
|
153
156
|
[0, 0, 1]
|
|
154
157
|
];
|
|
155
|
-
|
|
156
|
-
|
|
158
|
+
exports.NotFoundException$ = NotFoundException$;
|
|
159
|
+
n0_registry.registerError(NotFoundException$, NotFoundException);
|
|
160
|
+
const TooManyRequestsException$ = [-3, n0, _TMRE,
|
|
157
161
|
{ [_e]: _c },
|
|
158
162
|
[_m, _cN, _co],
|
|
159
163
|
[0, 0, 1]
|
|
160
164
|
];
|
|
161
|
-
|
|
165
|
+
exports.TooManyRequestsException$ = TooManyRequestsException$;
|
|
166
|
+
n0_registry.registerError(TooManyRequestsException$, TooManyRequestsException);
|
|
162
167
|
exports.errorTypeRegistries = [
|
|
163
168
|
_s_registry,
|
|
164
169
|
n0_registry,
|
|
@@ -166,164 +171,194 @@ exports.errorTypeRegistries = [
|
|
|
166
171
|
var EnvironmentDescription = [0, n0, _ED, 8, 0];
|
|
167
172
|
var TagKey = [0, n0, _TK, 8, 0];
|
|
168
173
|
var TagValue = [0, n0, _TV, 8, 0];
|
|
169
|
-
|
|
174
|
+
const CreateEnvironmentEC2Request$ = [3, n0, _CEECR,
|
|
170
175
|
0,
|
|
171
176
|
[_n, _iT, _iI, _d, _cRT, _sI, _aSTM, _oA, _t, _cT, _dR],
|
|
172
177
|
[0, 0, 0, [() => EnvironmentDescription, 0], 0, 0, 1, 0, [() => TagList, 0], 0, 2], 3
|
|
173
178
|
];
|
|
174
|
-
exports.
|
|
179
|
+
exports.CreateEnvironmentEC2Request$ = CreateEnvironmentEC2Request$;
|
|
180
|
+
const CreateEnvironmentEC2Result$ = [3, n0, _CEECRr,
|
|
175
181
|
0,
|
|
176
182
|
[_eI],
|
|
177
183
|
[0]
|
|
178
184
|
];
|
|
179
|
-
exports.
|
|
185
|
+
exports.CreateEnvironmentEC2Result$ = CreateEnvironmentEC2Result$;
|
|
186
|
+
const CreateEnvironmentMembershipRequest$ = [3, n0, _CEMR,
|
|
180
187
|
0,
|
|
181
188
|
[_eI, _uA, _p],
|
|
182
189
|
[0, 0, 0], 3
|
|
183
190
|
];
|
|
184
|
-
exports.
|
|
191
|
+
exports.CreateEnvironmentMembershipRequest$ = CreateEnvironmentMembershipRequest$;
|
|
192
|
+
const CreateEnvironmentMembershipResult$ = [3, n0, _CEMRr,
|
|
185
193
|
0,
|
|
186
194
|
[_me],
|
|
187
|
-
[() =>
|
|
195
|
+
[() => EnvironmentMember$], 1
|
|
188
196
|
];
|
|
189
|
-
exports.
|
|
197
|
+
exports.CreateEnvironmentMembershipResult$ = CreateEnvironmentMembershipResult$;
|
|
198
|
+
const DeleteEnvironmentMembershipRequest$ = [3, n0, _DEMR,
|
|
190
199
|
0,
|
|
191
200
|
[_eI, _uA],
|
|
192
201
|
[0, 0], 2
|
|
193
202
|
];
|
|
194
|
-
exports.
|
|
203
|
+
exports.DeleteEnvironmentMembershipRequest$ = DeleteEnvironmentMembershipRequest$;
|
|
204
|
+
const DeleteEnvironmentMembershipResult$ = [3, n0, _DEMRe,
|
|
195
205
|
0,
|
|
196
206
|
[],
|
|
197
207
|
[]
|
|
198
208
|
];
|
|
199
|
-
exports.
|
|
209
|
+
exports.DeleteEnvironmentMembershipResult$ = DeleteEnvironmentMembershipResult$;
|
|
210
|
+
const DeleteEnvironmentRequest$ = [3, n0, _DER,
|
|
200
211
|
0,
|
|
201
212
|
[_eI],
|
|
202
213
|
[0], 1
|
|
203
214
|
];
|
|
204
|
-
exports.
|
|
215
|
+
exports.DeleteEnvironmentRequest$ = DeleteEnvironmentRequest$;
|
|
216
|
+
const DeleteEnvironmentResult$ = [3, n0, _DERe,
|
|
205
217
|
0,
|
|
206
218
|
[],
|
|
207
219
|
[]
|
|
208
220
|
];
|
|
209
|
-
exports.
|
|
221
|
+
exports.DeleteEnvironmentResult$ = DeleteEnvironmentResult$;
|
|
222
|
+
const DescribeEnvironmentMembershipsRequest$ = [3, n0, _DEMRes,
|
|
210
223
|
0,
|
|
211
224
|
[_uA, _eI, _p, _nT, _mR],
|
|
212
225
|
[0, 0, 64 | 0, 0, 1]
|
|
213
226
|
];
|
|
214
|
-
exports.
|
|
227
|
+
exports.DescribeEnvironmentMembershipsRequest$ = DescribeEnvironmentMembershipsRequest$;
|
|
228
|
+
const DescribeEnvironmentMembershipsResult$ = [3, n0, _DEMResc,
|
|
215
229
|
0,
|
|
216
230
|
[_mem, _nT],
|
|
217
231
|
[() => EnvironmentMembersList, 0]
|
|
218
232
|
];
|
|
219
|
-
exports.
|
|
233
|
+
exports.DescribeEnvironmentMembershipsResult$ = DescribeEnvironmentMembershipsResult$;
|
|
234
|
+
const DescribeEnvironmentsRequest$ = [3, n0, _DERes,
|
|
220
235
|
0,
|
|
221
236
|
[_eIn],
|
|
222
237
|
[64 | 0], 1
|
|
223
238
|
];
|
|
224
|
-
exports.
|
|
239
|
+
exports.DescribeEnvironmentsRequest$ = DescribeEnvironmentsRequest$;
|
|
240
|
+
const DescribeEnvironmentsResult$ = [3, n0, _DEResc,
|
|
225
241
|
0,
|
|
226
242
|
[_en],
|
|
227
243
|
[[() => EnvironmentList, 0]]
|
|
228
244
|
];
|
|
229
|
-
exports.
|
|
245
|
+
exports.DescribeEnvironmentsResult$ = DescribeEnvironmentsResult$;
|
|
246
|
+
const DescribeEnvironmentStatusRequest$ = [3, n0, _DESR,
|
|
230
247
|
0,
|
|
231
248
|
[_eI],
|
|
232
249
|
[0], 1
|
|
233
250
|
];
|
|
234
|
-
exports.
|
|
251
|
+
exports.DescribeEnvironmentStatusRequest$ = DescribeEnvironmentStatusRequest$;
|
|
252
|
+
const DescribeEnvironmentStatusResult$ = [3, n0, _DESRe,
|
|
235
253
|
0,
|
|
236
254
|
[_st, _m],
|
|
237
255
|
[0, 0], 2
|
|
238
256
|
];
|
|
239
|
-
exports.
|
|
257
|
+
exports.DescribeEnvironmentStatusResult$ = DescribeEnvironmentStatusResult$;
|
|
258
|
+
const Environment$ = [3, n0, _E,
|
|
240
259
|
0,
|
|
241
260
|
[_ty, _a, _oA, _i, _n, _d, _cT, _l, _mCS],
|
|
242
|
-
[0, 0, 0, 0, 0, [() => EnvironmentDescription, 0], 0, () =>
|
|
261
|
+
[0, 0, 0, 0, 0, [() => EnvironmentDescription, 0], 0, () => EnvironmentLifecycle$, 0], 3
|
|
243
262
|
];
|
|
244
|
-
exports.
|
|
263
|
+
exports.Environment$ = Environment$;
|
|
264
|
+
const EnvironmentLifecycle$ = [3, n0, _EL,
|
|
245
265
|
0,
|
|
246
266
|
[_st, _r, _fR],
|
|
247
267
|
[0, 0, 0]
|
|
248
268
|
];
|
|
249
|
-
exports.
|
|
269
|
+
exports.EnvironmentLifecycle$ = EnvironmentLifecycle$;
|
|
270
|
+
const EnvironmentMember$ = [3, n0, _EM,
|
|
250
271
|
0,
|
|
251
272
|
[_p, _uI, _uA, _eI, _lA],
|
|
252
273
|
[0, 0, 0, 0, 4], 4
|
|
253
274
|
];
|
|
254
|
-
exports.
|
|
275
|
+
exports.EnvironmentMember$ = EnvironmentMember$;
|
|
276
|
+
const ListEnvironmentsRequest$ = [3, n0, _LER,
|
|
255
277
|
0,
|
|
256
278
|
[_nT, _mR],
|
|
257
279
|
[0, 1]
|
|
258
280
|
];
|
|
259
|
-
exports.
|
|
281
|
+
exports.ListEnvironmentsRequest$ = ListEnvironmentsRequest$;
|
|
282
|
+
const ListEnvironmentsResult$ = [3, n0, _LERi,
|
|
260
283
|
0,
|
|
261
284
|
[_nT, _eIn],
|
|
262
285
|
[0, 64 | 0]
|
|
263
286
|
];
|
|
264
|
-
exports.
|
|
287
|
+
exports.ListEnvironmentsResult$ = ListEnvironmentsResult$;
|
|
288
|
+
const ListTagsForResourceRequest$ = [3, n0, _LTFRR,
|
|
265
289
|
0,
|
|
266
290
|
[_RARN],
|
|
267
291
|
[0], 1
|
|
268
292
|
];
|
|
269
|
-
exports.
|
|
293
|
+
exports.ListTagsForResourceRequest$ = ListTagsForResourceRequest$;
|
|
294
|
+
const ListTagsForResourceResponse$ = [3, n0, _LTFRRi,
|
|
270
295
|
0,
|
|
271
296
|
[_T],
|
|
272
297
|
[[() => TagList, 0]]
|
|
273
298
|
];
|
|
274
|
-
exports.
|
|
299
|
+
exports.ListTagsForResourceResponse$ = ListTagsForResourceResponse$;
|
|
300
|
+
const Tag$ = [3, n0, _Ta,
|
|
275
301
|
8,
|
|
276
302
|
[_K, _V],
|
|
277
303
|
[[() => TagKey, 0], [() => TagValue, 0]], 2
|
|
278
304
|
];
|
|
279
|
-
exports.
|
|
305
|
+
exports.Tag$ = Tag$;
|
|
306
|
+
const TagResourceRequest$ = [3, n0, _TRR,
|
|
280
307
|
0,
|
|
281
308
|
[_RARN, _T],
|
|
282
309
|
[0, [() => TagList, 0]], 2
|
|
283
310
|
];
|
|
284
|
-
exports.
|
|
311
|
+
exports.TagResourceRequest$ = TagResourceRequest$;
|
|
312
|
+
const TagResourceResponse$ = [3, n0, _TRRa,
|
|
285
313
|
0,
|
|
286
314
|
[],
|
|
287
315
|
[]
|
|
288
316
|
];
|
|
289
|
-
exports.
|
|
317
|
+
exports.TagResourceResponse$ = TagResourceResponse$;
|
|
318
|
+
const UntagResourceRequest$ = [3, n0, _URR,
|
|
290
319
|
0,
|
|
291
320
|
[_RARN, _TKa],
|
|
292
321
|
[0, [() => TagKeyList, 0]], 2
|
|
293
322
|
];
|
|
294
|
-
exports.
|
|
323
|
+
exports.UntagResourceRequest$ = UntagResourceRequest$;
|
|
324
|
+
const UntagResourceResponse$ = [3, n0, _URRn,
|
|
295
325
|
0,
|
|
296
326
|
[],
|
|
297
327
|
[]
|
|
298
328
|
];
|
|
299
|
-
exports.
|
|
329
|
+
exports.UntagResourceResponse$ = UntagResourceResponse$;
|
|
330
|
+
const UpdateEnvironmentMembershipRequest$ = [3, n0, _UEMR,
|
|
300
331
|
0,
|
|
301
332
|
[_eI, _uA, _p],
|
|
302
333
|
[0, 0, 0], 3
|
|
303
334
|
];
|
|
304
|
-
exports.
|
|
335
|
+
exports.UpdateEnvironmentMembershipRequest$ = UpdateEnvironmentMembershipRequest$;
|
|
336
|
+
const UpdateEnvironmentMembershipResult$ = [3, n0, _UEMRp,
|
|
305
337
|
0,
|
|
306
338
|
[_me],
|
|
307
|
-
[() =>
|
|
339
|
+
[() => EnvironmentMember$]
|
|
308
340
|
];
|
|
309
|
-
exports.
|
|
341
|
+
exports.UpdateEnvironmentMembershipResult$ = UpdateEnvironmentMembershipResult$;
|
|
342
|
+
const UpdateEnvironmentRequest$ = [3, n0, _UER,
|
|
310
343
|
0,
|
|
311
344
|
[_eI, _n, _d, _mCA],
|
|
312
345
|
[0, 0, [() => EnvironmentDescription, 0], 0], 1
|
|
313
346
|
];
|
|
314
|
-
exports.
|
|
347
|
+
exports.UpdateEnvironmentRequest$ = UpdateEnvironmentRequest$;
|
|
348
|
+
const UpdateEnvironmentResult$ = [3, n0, _UERp,
|
|
315
349
|
0,
|
|
316
350
|
[],
|
|
317
351
|
[]
|
|
318
352
|
];
|
|
353
|
+
exports.UpdateEnvironmentResult$ = UpdateEnvironmentResult$;
|
|
319
354
|
var BoundedEnvironmentIdList = 64 | 0;
|
|
320
355
|
var EnvironmentIdList = 64 | 0;
|
|
321
356
|
var EnvironmentList = [1, n0, _ELn,
|
|
322
|
-
0, [() =>
|
|
357
|
+
0, [() => Environment$,
|
|
323
358
|
0]
|
|
324
359
|
];
|
|
325
360
|
var EnvironmentMembersList = [1, n0, _EML,
|
|
326
|
-
0, () =>
|
|
361
|
+
0, () => EnvironmentMember$
|
|
327
362
|
];
|
|
328
363
|
var PermissionsList = 64 | 0;
|
|
329
364
|
var TagKeyList = [1, n0, _TKL,
|
|
@@ -331,45 +366,45 @@ var TagKeyList = [1, n0, _TKL,
|
|
|
331
366
|
0]
|
|
332
367
|
];
|
|
333
368
|
var TagList = [1, n0, _TL,
|
|
334
|
-
8, [() =>
|
|
369
|
+
8, [() => Tag$,
|
|
335
370
|
0]
|
|
336
371
|
];
|
|
337
372
|
exports.CreateEnvironmentEC2$ = [9, n0, _CEEC,
|
|
338
|
-
2, () =>
|
|
373
|
+
2, () => CreateEnvironmentEC2Request$, () => CreateEnvironmentEC2Result$
|
|
339
374
|
];
|
|
340
375
|
exports.CreateEnvironmentMembership$ = [9, n0, _CEM,
|
|
341
|
-
2, () =>
|
|
376
|
+
2, () => CreateEnvironmentMembershipRequest$, () => CreateEnvironmentMembershipResult$
|
|
342
377
|
];
|
|
343
378
|
exports.DeleteEnvironment$ = [9, n0, _DE,
|
|
344
|
-
2, () =>
|
|
379
|
+
2, () => DeleteEnvironmentRequest$, () => DeleteEnvironmentResult$
|
|
345
380
|
];
|
|
346
381
|
exports.DeleteEnvironmentMembership$ = [9, n0, _DEM,
|
|
347
|
-
2, () =>
|
|
382
|
+
2, () => DeleteEnvironmentMembershipRequest$, () => DeleteEnvironmentMembershipResult$
|
|
348
383
|
];
|
|
349
384
|
exports.DescribeEnvironmentMemberships$ = [9, n0, _DEMe,
|
|
350
|
-
0, () =>
|
|
385
|
+
0, () => DescribeEnvironmentMembershipsRequest$, () => DescribeEnvironmentMembershipsResult$
|
|
351
386
|
];
|
|
352
387
|
exports.DescribeEnvironments$ = [9, n0, _DEe,
|
|
353
|
-
0, () =>
|
|
388
|
+
0, () => DescribeEnvironmentsRequest$, () => DescribeEnvironmentsResult$
|
|
354
389
|
];
|
|
355
390
|
exports.DescribeEnvironmentStatus$ = [9, n0, _DES,
|
|
356
|
-
0, () =>
|
|
391
|
+
0, () => DescribeEnvironmentStatusRequest$, () => DescribeEnvironmentStatusResult$
|
|
357
392
|
];
|
|
358
393
|
exports.ListEnvironments$ = [9, n0, _LE,
|
|
359
|
-
0, () =>
|
|
394
|
+
0, () => ListEnvironmentsRequest$, () => ListEnvironmentsResult$
|
|
360
395
|
];
|
|
361
396
|
exports.ListTagsForResource$ = [9, n0, _LTFR,
|
|
362
|
-
0, () =>
|
|
397
|
+
0, () => ListTagsForResourceRequest$, () => ListTagsForResourceResponse$
|
|
363
398
|
];
|
|
364
399
|
exports.TagResource$ = [9, n0, _TR,
|
|
365
|
-
0, () =>
|
|
400
|
+
0, () => TagResourceRequest$, () => TagResourceResponse$
|
|
366
401
|
];
|
|
367
402
|
exports.UntagResource$ = [9, n0, _UR,
|
|
368
|
-
0, () =>
|
|
403
|
+
0, () => UntagResourceRequest$, () => UntagResourceResponse$
|
|
369
404
|
];
|
|
370
405
|
exports.UpdateEnvironment$ = [9, n0, _UE,
|
|
371
|
-
2, () =>
|
|
406
|
+
2, () => UpdateEnvironmentRequest$, () => UpdateEnvironmentResult$
|
|
372
407
|
];
|
|
373
408
|
exports.UpdateEnvironmentMembership$ = [9, n0, _UEM,
|
|
374
|
-
2, () =>
|
|
409
|
+
2, () => UpdateEnvironmentMembershipRequest$, () => UpdateEnvironmentMembershipResult$
|
|
375
410
|
];
|
package/package.json
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-cloud9",
|
|
3
3
|
"description": "AWS SDK for JavaScript Cloud9 Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.1069.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline",
|
|
8
|
-
"build:es": "tsc -p tsconfig.es.json",
|
|
8
|
+
"build:es": "premove dist-es && tsc -p tsconfig.es.json",
|
|
9
9
|
"build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"",
|
|
10
|
-
"build:types": "tsc -p tsconfig.types.json",
|
|
10
|
+
"build:types": "premove dist-types && tsc -p tsconfig.types.json",
|
|
11
11
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
12
|
-
"clean": "premove dist-cjs dist-es dist-types
|
|
12
|
+
"clean": "premove dist-cjs dist-es dist-types",
|
|
13
13
|
"extract:docs": "api-extractor run --local",
|
|
14
|
-
"generate:client": "node ../../scripts/generate-clients/single-service
|
|
14
|
+
"generate:client": "node ../../scripts/generate-clients/single-service",
|
|
15
15
|
"test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"
|
|
16
16
|
},
|
|
17
17
|
"main": "./dist-cjs/index.js",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "^3.974.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
26
|
-
"@aws-sdk/types": "^3.973.
|
|
24
|
+
"@aws-sdk/core": "^3.974.21",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.56",
|
|
26
|
+
"@aws-sdk/types": "^3.973.13",
|
|
27
27
|
"@smithy/core": "^3.24.6",
|
|
28
28
|
"@smithy/fetch-http-handler": "^5.4.6",
|
|
29
29
|
"@smithy/node-http-handler": "^4.7.6",
|