@aws-sdk/client-evs 3.893.0 → 3.895.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 +1260 -10
- package/package.json +7 -7
- package/dist-cjs/Evs.js +0 -37
- package/dist-cjs/EvsClient.js +0 -52
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +0 -43
- package/dist-cjs/commands/AssociateEipToVlanCommand.js +0 -26
- package/dist-cjs/commands/CreateEnvironmentCommand.js +0 -26
- package/dist-cjs/commands/CreateEnvironmentHostCommand.js +0 -26
- package/dist-cjs/commands/DeleteEnvironmentCommand.js +0 -26
- package/dist-cjs/commands/DeleteEnvironmentHostCommand.js +0 -26
- package/dist-cjs/commands/DisassociateEipFromVlanCommand.js +0 -26
- package/dist-cjs/commands/GetEnvironmentCommand.js +0 -26
- package/dist-cjs/commands/ListEnvironmentHostsCommand.js +0 -26
- package/dist-cjs/commands/ListEnvironmentVlansCommand.js +0 -26
- package/dist-cjs/commands/ListEnvironmentsCommand.js +0 -26
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -26
- package/dist-cjs/commands/TagResourceCommand.js +0 -26
- package/dist-cjs/commands/UntagResourceCommand.js +0 -26
- package/dist-cjs/commands/index.js +0 -16
- package/dist-cjs/endpoint/EndpointParameters.js +0 -17
- package/dist-cjs/extensionConfiguration.js +0 -2
- package/dist-cjs/models/EvsServiceException.js +0 -12
- package/dist-cjs/models/index.js +0 -4
- package/dist-cjs/models/models_0.js +0 -139
- package/dist-cjs/pagination/Interfaces.js +0 -2
- package/dist-cjs/pagination/ListEnvironmentHostsPaginator.js +0 -7
- package/dist-cjs/pagination/ListEnvironmentVlansPaginator.js +0 -7
- package/dist-cjs/pagination/ListEnvironmentsPaginator.js +0 -7
- package/dist-cjs/pagination/index.js +0 -7
- package/dist-cjs/protocols/Aws_json1_0.js +0 -619
- package/dist-cjs/runtimeExtensions.js +0 -13
package/dist-cjs/index.js
CHANGED
|
@@ -1,11 +1,1261 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
Object.defineProperty
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all)
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
+
}
|
|
17
|
+
return to;
|
|
18
|
+
};
|
|
19
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
|
+
|
|
21
|
+
// src/index.ts
|
|
22
|
+
var index_exports = {};
|
|
23
|
+
__export(index_exports, {
|
|
24
|
+
AssociateEipToVlanCommand: () => AssociateEipToVlanCommand,
|
|
25
|
+
CheckResult: () => CheckResult,
|
|
26
|
+
CheckType: () => CheckType,
|
|
27
|
+
CreateEnvironmentCommand: () => CreateEnvironmentCommand,
|
|
28
|
+
CreateEnvironmentHostCommand: () => CreateEnvironmentHostCommand,
|
|
29
|
+
DeleteEnvironmentCommand: () => DeleteEnvironmentCommand,
|
|
30
|
+
DeleteEnvironmentHostCommand: () => DeleteEnvironmentHostCommand,
|
|
31
|
+
DisassociateEipFromVlanCommand: () => DisassociateEipFromVlanCommand,
|
|
32
|
+
EnvironmentState: () => EnvironmentState,
|
|
33
|
+
Evs: () => Evs,
|
|
34
|
+
EvsClient: () => EvsClient,
|
|
35
|
+
EvsServiceException: () => EvsServiceException,
|
|
36
|
+
GetEnvironmentCommand: () => GetEnvironmentCommand,
|
|
37
|
+
HostState: () => HostState,
|
|
38
|
+
ListEnvironmentHostsCommand: () => ListEnvironmentHostsCommand,
|
|
39
|
+
ListEnvironmentVlansCommand: () => ListEnvironmentVlansCommand,
|
|
40
|
+
ListEnvironmentsCommand: () => ListEnvironmentsCommand,
|
|
41
|
+
ListTagsForResourceCommand: () => ListTagsForResourceCommand,
|
|
42
|
+
ResourceNotFoundException: () => ResourceNotFoundException,
|
|
43
|
+
ServiceQuotaExceededException: () => ServiceQuotaExceededException,
|
|
44
|
+
TagPolicyException: () => TagPolicyException,
|
|
45
|
+
TagResourceCommand: () => TagResourceCommand,
|
|
46
|
+
ThrottlingException: () => ThrottlingException,
|
|
47
|
+
TooManyTagsException: () => TooManyTagsException,
|
|
48
|
+
UntagResourceCommand: () => UntagResourceCommand,
|
|
49
|
+
ValidationException: () => ValidationException,
|
|
50
|
+
ValidationExceptionReason: () => ValidationExceptionReason,
|
|
51
|
+
VcfVersion: () => VcfVersion,
|
|
52
|
+
VlanState: () => VlanState,
|
|
53
|
+
_InstanceType: () => _InstanceType,
|
|
54
|
+
__Client: () => import_smithy_client.Client,
|
|
55
|
+
paginateListEnvironmentHosts: () => paginateListEnvironmentHosts,
|
|
56
|
+
paginateListEnvironmentVlans: () => paginateListEnvironmentVlans,
|
|
57
|
+
paginateListEnvironments: () => paginateListEnvironments
|
|
58
|
+
});
|
|
59
|
+
module.exports = __toCommonJS(index_exports);
|
|
60
|
+
|
|
61
|
+
// src/EvsClient.ts
|
|
62
|
+
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
63
|
+
var import_middleware_logger = require("@aws-sdk/middleware-logger");
|
|
64
|
+
var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
|
|
65
|
+
var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
|
|
66
|
+
var import_config_resolver = require("@smithy/config-resolver");
|
|
67
|
+
var import_core = require("@smithy/core");
|
|
68
|
+
var import_middleware_content_length = require("@smithy/middleware-content-length");
|
|
69
|
+
var import_middleware_endpoint = require("@smithy/middleware-endpoint");
|
|
70
|
+
var import_middleware_retry = require("@smithy/middleware-retry");
|
|
71
|
+
|
|
72
|
+
var import_httpAuthSchemeProvider = require("./auth/httpAuthSchemeProvider");
|
|
73
|
+
|
|
74
|
+
// src/endpoint/EndpointParameters.ts
|
|
75
|
+
var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
|
|
76
|
+
return Object.assign(options, {
|
|
77
|
+
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
78
|
+
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
79
|
+
defaultSigningName: "evs"
|
|
80
|
+
});
|
|
81
|
+
}, "resolveClientEndpointParameters");
|
|
82
|
+
var commonParams = {
|
|
83
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
84
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
85
|
+
Region: { type: "builtInParams", name: "region" },
|
|
86
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
|
|
87
|
+
};
|
|
88
|
+
|
|
89
|
+
// src/EvsClient.ts
|
|
90
|
+
var import_runtimeConfig = require("././runtimeConfig");
|
|
91
|
+
|
|
92
|
+
// src/runtimeExtensions.ts
|
|
93
|
+
var import_region_config_resolver = require("@aws-sdk/region-config-resolver");
|
|
94
|
+
var import_protocol_http = require("@smithy/protocol-http");
|
|
95
|
+
var import_smithy_client = require("@smithy/smithy-client");
|
|
96
|
+
|
|
97
|
+
// src/auth/httpAuthExtensionConfiguration.ts
|
|
98
|
+
var getHttpAuthExtensionConfiguration = /* @__PURE__ */ __name((runtimeConfig) => {
|
|
99
|
+
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
100
|
+
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
101
|
+
let _credentials = runtimeConfig.credentials;
|
|
102
|
+
return {
|
|
103
|
+
setHttpAuthScheme(httpAuthScheme) {
|
|
104
|
+
const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
|
|
105
|
+
if (index === -1) {
|
|
106
|
+
_httpAuthSchemes.push(httpAuthScheme);
|
|
107
|
+
} else {
|
|
108
|
+
_httpAuthSchemes.splice(index, 1, httpAuthScheme);
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
httpAuthSchemes() {
|
|
112
|
+
return _httpAuthSchemes;
|
|
113
|
+
},
|
|
114
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
|
|
115
|
+
_httpAuthSchemeProvider = httpAuthSchemeProvider;
|
|
116
|
+
},
|
|
117
|
+
httpAuthSchemeProvider() {
|
|
118
|
+
return _httpAuthSchemeProvider;
|
|
119
|
+
},
|
|
120
|
+
setCredentials(credentials) {
|
|
121
|
+
_credentials = credentials;
|
|
122
|
+
},
|
|
123
|
+
credentials() {
|
|
124
|
+
return _credentials;
|
|
125
|
+
}
|
|
126
|
+
};
|
|
127
|
+
}, "getHttpAuthExtensionConfiguration");
|
|
128
|
+
var resolveHttpAuthRuntimeConfig = /* @__PURE__ */ __name((config) => {
|
|
129
|
+
return {
|
|
130
|
+
httpAuthSchemes: config.httpAuthSchemes(),
|
|
131
|
+
httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
|
|
132
|
+
credentials: config.credentials()
|
|
133
|
+
};
|
|
134
|
+
}, "resolveHttpAuthRuntimeConfig");
|
|
135
|
+
|
|
136
|
+
// src/runtimeExtensions.ts
|
|
137
|
+
var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
|
|
138
|
+
const extensionConfiguration = Object.assign(
|
|
139
|
+
(0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig),
|
|
140
|
+
(0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig),
|
|
141
|
+
(0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig),
|
|
142
|
+
getHttpAuthExtensionConfiguration(runtimeConfig)
|
|
143
|
+
);
|
|
144
|
+
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
145
|
+
return Object.assign(
|
|
146
|
+
runtimeConfig,
|
|
147
|
+
(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
|
|
148
|
+
(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
149
|
+
(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
|
|
150
|
+
resolveHttpAuthRuntimeConfig(extensionConfiguration)
|
|
151
|
+
);
|
|
152
|
+
}, "resolveRuntimeExtensions");
|
|
153
|
+
|
|
154
|
+
// src/EvsClient.ts
|
|
155
|
+
var EvsClient = class extends import_smithy_client.Client {
|
|
156
|
+
static {
|
|
157
|
+
__name(this, "EvsClient");
|
|
158
|
+
}
|
|
159
|
+
/**
|
|
160
|
+
* The resolved configuration of EvsClient class. This is resolved and normalized from the {@link EvsClientConfig | constructor configuration interface}.
|
|
161
|
+
*/
|
|
162
|
+
config;
|
|
163
|
+
constructor(...[configuration]) {
|
|
164
|
+
const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
|
|
165
|
+
super(_config_0);
|
|
166
|
+
this.initConfig = _config_0;
|
|
167
|
+
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
168
|
+
const _config_2 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_1);
|
|
169
|
+
const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2);
|
|
170
|
+
const _config_4 = (0, import_config_resolver.resolveRegionConfig)(_config_3);
|
|
171
|
+
const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
|
|
172
|
+
const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
|
|
173
|
+
const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
|
|
174
|
+
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
175
|
+
this.config = _config_8;
|
|
176
|
+
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
177
|
+
this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
|
|
178
|
+
this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
|
|
179
|
+
this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
|
|
180
|
+
this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
|
|
181
|
+
this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
|
|
182
|
+
this.middlewareStack.use(
|
|
183
|
+
(0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
|
|
184
|
+
httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultEvsHttpAuthSchemeParametersProvider,
|
|
185
|
+
identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
186
|
+
"aws.auth#sigv4": config.credentials
|
|
187
|
+
}), "identityProviderConfigProvider")
|
|
188
|
+
})
|
|
189
|
+
);
|
|
190
|
+
this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
|
|
191
|
+
}
|
|
192
|
+
/**
|
|
193
|
+
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
194
|
+
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
195
|
+
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
196
|
+
*/
|
|
197
|
+
destroy() {
|
|
198
|
+
super.destroy();
|
|
199
|
+
}
|
|
200
|
+
};
|
|
201
|
+
|
|
202
|
+
// src/Evs.ts
|
|
203
|
+
|
|
204
|
+
|
|
205
|
+
// src/commands/AssociateEipToVlanCommand.ts
|
|
206
|
+
|
|
207
|
+
var import_middleware_serde = require("@smithy/middleware-serde");
|
|
208
|
+
|
|
209
|
+
|
|
210
|
+
// src/protocols/Aws_json1_0.ts
|
|
211
|
+
var import_core2 = require("@aws-sdk/core");
|
|
212
|
+
|
|
213
|
+
|
|
214
|
+
var import_uuid = require("uuid");
|
|
215
|
+
|
|
216
|
+
// src/models/EvsServiceException.ts
|
|
217
|
+
|
|
218
|
+
var EvsServiceException = class _EvsServiceException extends import_smithy_client.ServiceException {
|
|
219
|
+
static {
|
|
220
|
+
__name(this, "EvsServiceException");
|
|
221
|
+
}
|
|
222
|
+
/**
|
|
223
|
+
* @internal
|
|
224
|
+
*/
|
|
225
|
+
constructor(options) {
|
|
226
|
+
super(options);
|
|
227
|
+
Object.setPrototypeOf(this, _EvsServiceException.prototype);
|
|
228
|
+
}
|
|
229
|
+
};
|
|
230
|
+
|
|
231
|
+
// src/models/models_0.ts
|
|
232
|
+
var VlanState = {
|
|
233
|
+
CREATED: "CREATED",
|
|
234
|
+
CREATE_FAILED: "CREATE_FAILED",
|
|
235
|
+
CREATING: "CREATING",
|
|
236
|
+
DELETED: "DELETED",
|
|
237
|
+
DELETING: "DELETING"
|
|
238
|
+
};
|
|
239
|
+
var ResourceNotFoundException = class _ResourceNotFoundException extends EvsServiceException {
|
|
240
|
+
static {
|
|
241
|
+
__name(this, "ResourceNotFoundException");
|
|
242
|
+
}
|
|
243
|
+
name = "ResourceNotFoundException";
|
|
244
|
+
$fault = "client";
|
|
245
|
+
/**
|
|
246
|
+
* <p>The ID of the resource that could not be found.</p>
|
|
247
|
+
* @public
|
|
248
|
+
*/
|
|
249
|
+
resourceId;
|
|
250
|
+
/**
|
|
251
|
+
* <p>The type of the resource that is associated with the error.</p>
|
|
252
|
+
* @public
|
|
253
|
+
*/
|
|
254
|
+
resourceType;
|
|
255
|
+
/**
|
|
256
|
+
* @internal
|
|
257
|
+
*/
|
|
258
|
+
constructor(opts) {
|
|
259
|
+
super({
|
|
260
|
+
name: "ResourceNotFoundException",
|
|
261
|
+
$fault: "client",
|
|
262
|
+
...opts
|
|
263
|
+
});
|
|
264
|
+
Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
|
|
265
|
+
this.resourceId = opts.resourceId;
|
|
266
|
+
this.resourceType = opts.resourceType;
|
|
267
|
+
}
|
|
268
|
+
};
|
|
269
|
+
var ThrottlingException = class _ThrottlingException extends EvsServiceException {
|
|
270
|
+
static {
|
|
271
|
+
__name(this, "ThrottlingException");
|
|
272
|
+
}
|
|
273
|
+
name = "ThrottlingException";
|
|
274
|
+
$fault = "client";
|
|
275
|
+
$retryable = {};
|
|
276
|
+
/**
|
|
277
|
+
* <p>The seconds to wait to retry.</p>
|
|
278
|
+
* @public
|
|
279
|
+
*/
|
|
280
|
+
retryAfterSeconds;
|
|
281
|
+
/**
|
|
282
|
+
* @internal
|
|
283
|
+
*/
|
|
284
|
+
constructor(opts) {
|
|
285
|
+
super({
|
|
286
|
+
name: "ThrottlingException",
|
|
287
|
+
$fault: "client",
|
|
288
|
+
...opts
|
|
289
|
+
});
|
|
290
|
+
Object.setPrototypeOf(this, _ThrottlingException.prototype);
|
|
291
|
+
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
292
|
+
}
|
|
293
|
+
};
|
|
294
|
+
var ValidationExceptionReason = {
|
|
295
|
+
CANNOT_PARSE: "cannotParse",
|
|
296
|
+
FIELD_VALIDATION_FAILED: "fieldValidationFailed",
|
|
297
|
+
OTHER: "other",
|
|
298
|
+
UNKNOWN_OPERATION: "unknownOperation"
|
|
299
|
+
};
|
|
300
|
+
var ValidationException = class _ValidationException extends EvsServiceException {
|
|
301
|
+
static {
|
|
302
|
+
__name(this, "ValidationException");
|
|
303
|
+
}
|
|
304
|
+
name = "ValidationException";
|
|
305
|
+
$fault = "client";
|
|
306
|
+
/**
|
|
307
|
+
* <p>The reason for the exception.</p>
|
|
308
|
+
* @public
|
|
309
|
+
*/
|
|
310
|
+
reason;
|
|
311
|
+
/**
|
|
312
|
+
* <p>A list of fields that didn't validate.</p>
|
|
313
|
+
* @public
|
|
314
|
+
*/
|
|
315
|
+
fieldList;
|
|
316
|
+
/**
|
|
317
|
+
* @internal
|
|
318
|
+
*/
|
|
319
|
+
constructor(opts) {
|
|
320
|
+
super({
|
|
321
|
+
name: "ValidationException",
|
|
322
|
+
$fault: "client",
|
|
323
|
+
...opts
|
|
324
|
+
});
|
|
325
|
+
Object.setPrototypeOf(this, _ValidationException.prototype);
|
|
326
|
+
this.reason = opts.reason;
|
|
327
|
+
this.fieldList = opts.fieldList;
|
|
328
|
+
}
|
|
329
|
+
};
|
|
330
|
+
var _InstanceType = {
|
|
331
|
+
I4I_METAL: "i4i.metal"
|
|
332
|
+
};
|
|
333
|
+
var VcfVersion = {
|
|
334
|
+
VCF_5_2_1: "VCF-5.2.1"
|
|
335
|
+
};
|
|
336
|
+
var CheckResult = {
|
|
337
|
+
FAILED: "FAILED",
|
|
338
|
+
PASSED: "PASSED",
|
|
339
|
+
UNKNOWN: "UNKNOWN"
|
|
340
|
+
};
|
|
341
|
+
var CheckType = {
|
|
342
|
+
HOST_COUNT: "HOST_COUNT",
|
|
343
|
+
KEY_COVERAGE: "KEY_COVERAGE",
|
|
344
|
+
KEY_REUSE: "KEY_REUSE",
|
|
345
|
+
REACHABILITY: "REACHABILITY"
|
|
346
|
+
};
|
|
347
|
+
var EnvironmentState = {
|
|
348
|
+
CREATED: "CREATED",
|
|
349
|
+
CREATE_FAILED: "CREATE_FAILED",
|
|
350
|
+
CREATING: "CREATING",
|
|
351
|
+
DELETED: "DELETED",
|
|
352
|
+
DELETING: "DELETING"
|
|
353
|
+
};
|
|
354
|
+
var HostState = {
|
|
355
|
+
CREATED: "CREATED",
|
|
356
|
+
CREATE_FAILED: "CREATE_FAILED",
|
|
357
|
+
CREATING: "CREATING",
|
|
358
|
+
DELETED: "DELETED",
|
|
359
|
+
DELETING: "DELETING",
|
|
360
|
+
UPDATE_FAILED: "UPDATE_FAILED",
|
|
361
|
+
UPDATING: "UPDATING"
|
|
362
|
+
};
|
|
363
|
+
var ServiceQuotaExceededException = class _ServiceQuotaExceededException extends EvsServiceException {
|
|
364
|
+
static {
|
|
365
|
+
__name(this, "ServiceQuotaExceededException");
|
|
366
|
+
}
|
|
367
|
+
name = "ServiceQuotaExceededException";
|
|
368
|
+
$fault = "client";
|
|
369
|
+
/**
|
|
370
|
+
* @internal
|
|
371
|
+
*/
|
|
372
|
+
constructor(opts) {
|
|
373
|
+
super({
|
|
374
|
+
name: "ServiceQuotaExceededException",
|
|
375
|
+
$fault: "client",
|
|
376
|
+
...opts
|
|
377
|
+
});
|
|
378
|
+
Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype);
|
|
379
|
+
}
|
|
380
|
+
};
|
|
381
|
+
var TagPolicyException = class _TagPolicyException extends EvsServiceException {
|
|
382
|
+
static {
|
|
383
|
+
__name(this, "TagPolicyException");
|
|
384
|
+
}
|
|
385
|
+
name = "TagPolicyException";
|
|
386
|
+
$fault = "client";
|
|
387
|
+
/**
|
|
388
|
+
* @internal
|
|
389
|
+
*/
|
|
390
|
+
constructor(opts) {
|
|
391
|
+
super({
|
|
392
|
+
name: "TagPolicyException",
|
|
393
|
+
$fault: "client",
|
|
394
|
+
...opts
|
|
395
|
+
});
|
|
396
|
+
Object.setPrototypeOf(this, _TagPolicyException.prototype);
|
|
397
|
+
}
|
|
398
|
+
};
|
|
399
|
+
var TooManyTagsException = class _TooManyTagsException extends EvsServiceException {
|
|
400
|
+
static {
|
|
401
|
+
__name(this, "TooManyTagsException");
|
|
402
|
+
}
|
|
403
|
+
name = "TooManyTagsException";
|
|
404
|
+
$fault = "client";
|
|
405
|
+
/**
|
|
406
|
+
* @internal
|
|
407
|
+
*/
|
|
408
|
+
constructor(opts) {
|
|
409
|
+
super({
|
|
410
|
+
name: "TooManyTagsException",
|
|
411
|
+
$fault: "client",
|
|
412
|
+
...opts
|
|
413
|
+
});
|
|
414
|
+
Object.setPrototypeOf(this, _TooManyTagsException.prototype);
|
|
415
|
+
}
|
|
416
|
+
};
|
|
417
|
+
|
|
418
|
+
// src/protocols/Aws_json1_0.ts
|
|
419
|
+
var se_AssociateEipToVlanCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
420
|
+
const headers = sharedHeaders("AssociateEipToVlan");
|
|
421
|
+
let body;
|
|
422
|
+
body = JSON.stringify(se_AssociateEipToVlanRequest(input, context));
|
|
423
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
424
|
+
}, "se_AssociateEipToVlanCommand");
|
|
425
|
+
var se_CreateEnvironmentCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
426
|
+
const headers = sharedHeaders("CreateEnvironment");
|
|
427
|
+
let body;
|
|
428
|
+
body = JSON.stringify(se_CreateEnvironmentRequest(input, context));
|
|
429
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
430
|
+
}, "se_CreateEnvironmentCommand");
|
|
431
|
+
var se_CreateEnvironmentHostCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
432
|
+
const headers = sharedHeaders("CreateEnvironmentHost");
|
|
433
|
+
let body;
|
|
434
|
+
body = JSON.stringify(se_CreateEnvironmentHostRequest(input, context));
|
|
435
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
436
|
+
}, "se_CreateEnvironmentHostCommand");
|
|
437
|
+
var se_DeleteEnvironmentCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
438
|
+
const headers = sharedHeaders("DeleteEnvironment");
|
|
439
|
+
let body;
|
|
440
|
+
body = JSON.stringify(se_DeleteEnvironmentRequest(input, context));
|
|
441
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
442
|
+
}, "se_DeleteEnvironmentCommand");
|
|
443
|
+
var se_DeleteEnvironmentHostCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
444
|
+
const headers = sharedHeaders("DeleteEnvironmentHost");
|
|
445
|
+
let body;
|
|
446
|
+
body = JSON.stringify(se_DeleteEnvironmentHostRequest(input, context));
|
|
447
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
448
|
+
}, "se_DeleteEnvironmentHostCommand");
|
|
449
|
+
var se_DisassociateEipFromVlanCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
450
|
+
const headers = sharedHeaders("DisassociateEipFromVlan");
|
|
451
|
+
let body;
|
|
452
|
+
body = JSON.stringify(se_DisassociateEipFromVlanRequest(input, context));
|
|
453
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
454
|
+
}, "se_DisassociateEipFromVlanCommand");
|
|
455
|
+
var se_GetEnvironmentCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
456
|
+
const headers = sharedHeaders("GetEnvironment");
|
|
457
|
+
let body;
|
|
458
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
459
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
460
|
+
}, "se_GetEnvironmentCommand");
|
|
461
|
+
var se_ListEnvironmentHostsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
462
|
+
const headers = sharedHeaders("ListEnvironmentHosts");
|
|
463
|
+
let body;
|
|
464
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
465
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
466
|
+
}, "se_ListEnvironmentHostsCommand");
|
|
467
|
+
var se_ListEnvironmentsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
468
|
+
const headers = sharedHeaders("ListEnvironments");
|
|
469
|
+
let body;
|
|
470
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
471
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
472
|
+
}, "se_ListEnvironmentsCommand");
|
|
473
|
+
var se_ListEnvironmentVlansCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
474
|
+
const headers = sharedHeaders("ListEnvironmentVlans");
|
|
475
|
+
let body;
|
|
476
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
477
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
478
|
+
}, "se_ListEnvironmentVlansCommand");
|
|
479
|
+
var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
480
|
+
const headers = sharedHeaders("ListTagsForResource");
|
|
481
|
+
let body;
|
|
482
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
483
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
484
|
+
}, "se_ListTagsForResourceCommand");
|
|
485
|
+
var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
486
|
+
const headers = sharedHeaders("TagResource");
|
|
487
|
+
let body;
|
|
488
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
489
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
490
|
+
}, "se_TagResourceCommand");
|
|
491
|
+
var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
492
|
+
const headers = sharedHeaders("UntagResource");
|
|
493
|
+
let body;
|
|
494
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
495
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
496
|
+
}, "se_UntagResourceCommand");
|
|
497
|
+
var de_AssociateEipToVlanCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
498
|
+
if (output.statusCode >= 300) {
|
|
499
|
+
return de_CommandError(output, context);
|
|
500
|
+
}
|
|
501
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
502
|
+
let contents = {};
|
|
503
|
+
contents = de_AssociateEipToVlanResponse(data, context);
|
|
504
|
+
const response = {
|
|
505
|
+
$metadata: deserializeMetadata(output),
|
|
506
|
+
...contents
|
|
507
|
+
};
|
|
508
|
+
return response;
|
|
509
|
+
}, "de_AssociateEipToVlanCommand");
|
|
510
|
+
var de_CreateEnvironmentCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
511
|
+
if (output.statusCode >= 300) {
|
|
512
|
+
return de_CommandError(output, context);
|
|
513
|
+
}
|
|
514
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
515
|
+
let contents = {};
|
|
516
|
+
contents = de_CreateEnvironmentResponse(data, context);
|
|
517
|
+
const response = {
|
|
518
|
+
$metadata: deserializeMetadata(output),
|
|
519
|
+
...contents
|
|
520
|
+
};
|
|
521
|
+
return response;
|
|
522
|
+
}, "de_CreateEnvironmentCommand");
|
|
523
|
+
var de_CreateEnvironmentHostCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
524
|
+
if (output.statusCode >= 300) {
|
|
525
|
+
return de_CommandError(output, context);
|
|
526
|
+
}
|
|
527
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
528
|
+
let contents = {};
|
|
529
|
+
contents = de_CreateEnvironmentHostResponse(data, context);
|
|
530
|
+
const response = {
|
|
531
|
+
$metadata: deserializeMetadata(output),
|
|
532
|
+
...contents
|
|
533
|
+
};
|
|
534
|
+
return response;
|
|
535
|
+
}, "de_CreateEnvironmentHostCommand");
|
|
536
|
+
var de_DeleteEnvironmentCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
537
|
+
if (output.statusCode >= 300) {
|
|
538
|
+
return de_CommandError(output, context);
|
|
539
|
+
}
|
|
540
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
541
|
+
let contents = {};
|
|
542
|
+
contents = de_DeleteEnvironmentResponse(data, context);
|
|
543
|
+
const response = {
|
|
544
|
+
$metadata: deserializeMetadata(output),
|
|
545
|
+
...contents
|
|
546
|
+
};
|
|
547
|
+
return response;
|
|
548
|
+
}, "de_DeleteEnvironmentCommand");
|
|
549
|
+
var de_DeleteEnvironmentHostCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
550
|
+
if (output.statusCode >= 300) {
|
|
551
|
+
return de_CommandError(output, context);
|
|
552
|
+
}
|
|
553
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
554
|
+
let contents = {};
|
|
555
|
+
contents = de_DeleteEnvironmentHostResponse(data, context);
|
|
556
|
+
const response = {
|
|
557
|
+
$metadata: deserializeMetadata(output),
|
|
558
|
+
...contents
|
|
559
|
+
};
|
|
560
|
+
return response;
|
|
561
|
+
}, "de_DeleteEnvironmentHostCommand");
|
|
562
|
+
var de_DisassociateEipFromVlanCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
563
|
+
if (output.statusCode >= 300) {
|
|
564
|
+
return de_CommandError(output, context);
|
|
565
|
+
}
|
|
566
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
567
|
+
let contents = {};
|
|
568
|
+
contents = de_DisassociateEipFromVlanResponse(data, context);
|
|
569
|
+
const response = {
|
|
570
|
+
$metadata: deserializeMetadata(output),
|
|
571
|
+
...contents
|
|
572
|
+
};
|
|
573
|
+
return response;
|
|
574
|
+
}, "de_DisassociateEipFromVlanCommand");
|
|
575
|
+
var de_GetEnvironmentCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
576
|
+
if (output.statusCode >= 300) {
|
|
577
|
+
return de_CommandError(output, context);
|
|
578
|
+
}
|
|
579
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
580
|
+
let contents = {};
|
|
581
|
+
contents = de_GetEnvironmentResponse(data, context);
|
|
582
|
+
const response = {
|
|
583
|
+
$metadata: deserializeMetadata(output),
|
|
584
|
+
...contents
|
|
585
|
+
};
|
|
586
|
+
return response;
|
|
587
|
+
}, "de_GetEnvironmentCommand");
|
|
588
|
+
var de_ListEnvironmentHostsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
589
|
+
if (output.statusCode >= 300) {
|
|
590
|
+
return de_CommandError(output, context);
|
|
591
|
+
}
|
|
592
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
593
|
+
let contents = {};
|
|
594
|
+
contents = de_ListEnvironmentHostsResponse(data, context);
|
|
595
|
+
const response = {
|
|
596
|
+
$metadata: deserializeMetadata(output),
|
|
597
|
+
...contents
|
|
598
|
+
};
|
|
599
|
+
return response;
|
|
600
|
+
}, "de_ListEnvironmentHostsCommand");
|
|
601
|
+
var de_ListEnvironmentsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
602
|
+
if (output.statusCode >= 300) {
|
|
603
|
+
return de_CommandError(output, context);
|
|
604
|
+
}
|
|
605
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
606
|
+
let contents = {};
|
|
607
|
+
contents = de_ListEnvironmentsResponse(data, context);
|
|
608
|
+
const response = {
|
|
609
|
+
$metadata: deserializeMetadata(output),
|
|
610
|
+
...contents
|
|
611
|
+
};
|
|
612
|
+
return response;
|
|
613
|
+
}, "de_ListEnvironmentsCommand");
|
|
614
|
+
var de_ListEnvironmentVlansCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
615
|
+
if (output.statusCode >= 300) {
|
|
616
|
+
return de_CommandError(output, context);
|
|
617
|
+
}
|
|
618
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
619
|
+
let contents = {};
|
|
620
|
+
contents = de_ListEnvironmentVlansResponse(data, context);
|
|
621
|
+
const response = {
|
|
622
|
+
$metadata: deserializeMetadata(output),
|
|
623
|
+
...contents
|
|
624
|
+
};
|
|
625
|
+
return response;
|
|
626
|
+
}, "de_ListEnvironmentVlansCommand");
|
|
627
|
+
var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
628
|
+
if (output.statusCode >= 300) {
|
|
629
|
+
return de_CommandError(output, context);
|
|
630
|
+
}
|
|
631
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
632
|
+
let contents = {};
|
|
633
|
+
contents = (0, import_smithy_client._json)(data);
|
|
634
|
+
const response = {
|
|
635
|
+
$metadata: deserializeMetadata(output),
|
|
636
|
+
...contents
|
|
637
|
+
};
|
|
638
|
+
return response;
|
|
639
|
+
}, "de_ListTagsForResourceCommand");
|
|
640
|
+
var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
641
|
+
if (output.statusCode >= 300) {
|
|
642
|
+
return de_CommandError(output, context);
|
|
643
|
+
}
|
|
644
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
645
|
+
let contents = {};
|
|
646
|
+
contents = (0, import_smithy_client._json)(data);
|
|
647
|
+
const response = {
|
|
648
|
+
$metadata: deserializeMetadata(output),
|
|
649
|
+
...contents
|
|
650
|
+
};
|
|
651
|
+
return response;
|
|
652
|
+
}, "de_TagResourceCommand");
|
|
653
|
+
var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
654
|
+
if (output.statusCode >= 300) {
|
|
655
|
+
return de_CommandError(output, context);
|
|
656
|
+
}
|
|
657
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
658
|
+
let contents = {};
|
|
659
|
+
contents = (0, import_smithy_client._json)(data);
|
|
660
|
+
const response = {
|
|
661
|
+
$metadata: deserializeMetadata(output),
|
|
662
|
+
...contents
|
|
663
|
+
};
|
|
664
|
+
return response;
|
|
665
|
+
}, "de_UntagResourceCommand");
|
|
666
|
+
var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
667
|
+
const parsedOutput = {
|
|
668
|
+
...output,
|
|
669
|
+
body: await (0, import_core2.parseJsonErrorBody)(output.body, context)
|
|
670
|
+
};
|
|
671
|
+
const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body);
|
|
672
|
+
switch (errorCode) {
|
|
673
|
+
case "ResourceNotFoundException":
|
|
674
|
+
case "com.amazonaws.evs#ResourceNotFoundException":
|
|
675
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
676
|
+
case "ThrottlingException":
|
|
677
|
+
case "com.amazonaws.evs#ThrottlingException":
|
|
678
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
679
|
+
case "ValidationException":
|
|
680
|
+
case "com.amazonaws.evs#ValidationException":
|
|
681
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
682
|
+
case "ServiceQuotaExceededException":
|
|
683
|
+
case "com.amazonaws.evs#ServiceQuotaExceededException":
|
|
684
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
685
|
+
case "TagPolicyException":
|
|
686
|
+
case "com.amazonaws.evs#TagPolicyException":
|
|
687
|
+
throw await de_TagPolicyExceptionRes(parsedOutput, context);
|
|
688
|
+
case "TooManyTagsException":
|
|
689
|
+
case "com.amazonaws.evs#TooManyTagsException":
|
|
690
|
+
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
691
|
+
default:
|
|
692
|
+
const parsedBody = parsedOutput.body;
|
|
693
|
+
return throwDefaultError({
|
|
694
|
+
output,
|
|
695
|
+
parsedBody,
|
|
696
|
+
errorCode
|
|
697
|
+
});
|
|
698
|
+
}
|
|
699
|
+
}, "de_CommandError");
|
|
700
|
+
var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
701
|
+
const body = parsedOutput.body;
|
|
702
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
703
|
+
const exception = new ResourceNotFoundException({
|
|
704
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
705
|
+
...deserialized
|
|
706
|
+
});
|
|
707
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
708
|
+
}, "de_ResourceNotFoundExceptionRes");
|
|
709
|
+
var de_ServiceQuotaExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
710
|
+
const body = parsedOutput.body;
|
|
711
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
712
|
+
const exception = new ServiceQuotaExceededException({
|
|
713
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
714
|
+
...deserialized
|
|
715
|
+
});
|
|
716
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
717
|
+
}, "de_ServiceQuotaExceededExceptionRes");
|
|
718
|
+
var de_TagPolicyExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
719
|
+
const body = parsedOutput.body;
|
|
720
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
721
|
+
const exception = new TagPolicyException({
|
|
722
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
723
|
+
...deserialized
|
|
724
|
+
});
|
|
725
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
726
|
+
}, "de_TagPolicyExceptionRes");
|
|
727
|
+
var de_ThrottlingExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
728
|
+
const body = parsedOutput.body;
|
|
729
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
730
|
+
const exception = new ThrottlingException({
|
|
731
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
732
|
+
...deserialized
|
|
733
|
+
});
|
|
734
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
735
|
+
}, "de_ThrottlingExceptionRes");
|
|
736
|
+
var de_TooManyTagsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
737
|
+
const body = parsedOutput.body;
|
|
738
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
739
|
+
const exception = new TooManyTagsException({
|
|
740
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
741
|
+
...deserialized
|
|
742
|
+
});
|
|
743
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
744
|
+
}, "de_TooManyTagsExceptionRes");
|
|
745
|
+
var de_ValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
746
|
+
const body = parsedOutput.body;
|
|
747
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
748
|
+
const exception = new ValidationException({
|
|
749
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
750
|
+
...deserialized
|
|
751
|
+
});
|
|
752
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
753
|
+
}, "de_ValidationExceptionRes");
|
|
754
|
+
var se_AssociateEipToVlanRequest = /* @__PURE__ */ __name((input, context) => {
|
|
755
|
+
return (0, import_smithy_client.take)(input, {
|
|
756
|
+
allocationId: [],
|
|
757
|
+
clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
758
|
+
environmentId: [],
|
|
759
|
+
vlanName: []
|
|
760
|
+
});
|
|
761
|
+
}, "se_AssociateEipToVlanRequest");
|
|
762
|
+
var se_CreateEnvironmentHostRequest = /* @__PURE__ */ __name((input, context) => {
|
|
763
|
+
return (0, import_smithy_client.take)(input, {
|
|
764
|
+
clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
765
|
+
environmentId: [],
|
|
766
|
+
host: import_smithy_client._json
|
|
767
|
+
});
|
|
768
|
+
}, "se_CreateEnvironmentHostRequest");
|
|
769
|
+
var se_CreateEnvironmentRequest = /* @__PURE__ */ __name((input, context) => {
|
|
770
|
+
return (0, import_smithy_client.take)(input, {
|
|
771
|
+
clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
772
|
+
connectivityInfo: import_smithy_client._json,
|
|
773
|
+
environmentName: [],
|
|
774
|
+
hosts: import_smithy_client._json,
|
|
775
|
+
initialVlans: import_smithy_client._json,
|
|
776
|
+
kmsKeyId: [],
|
|
777
|
+
licenseInfo: import_smithy_client._json,
|
|
778
|
+
serviceAccessSecurityGroups: import_smithy_client._json,
|
|
779
|
+
serviceAccessSubnetId: [],
|
|
780
|
+
siteId: [],
|
|
781
|
+
tags: import_smithy_client._json,
|
|
782
|
+
termsAccepted: [],
|
|
783
|
+
vcfHostnames: import_smithy_client._json,
|
|
784
|
+
vcfVersion: [],
|
|
785
|
+
vpcId: []
|
|
786
|
+
});
|
|
787
|
+
}, "se_CreateEnvironmentRequest");
|
|
788
|
+
var se_DeleteEnvironmentHostRequest = /* @__PURE__ */ __name((input, context) => {
|
|
789
|
+
return (0, import_smithy_client.take)(input, {
|
|
790
|
+
clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
791
|
+
environmentId: [],
|
|
792
|
+
hostName: []
|
|
793
|
+
});
|
|
794
|
+
}, "se_DeleteEnvironmentHostRequest");
|
|
795
|
+
var se_DeleteEnvironmentRequest = /* @__PURE__ */ __name((input, context) => {
|
|
796
|
+
return (0, import_smithy_client.take)(input, {
|
|
797
|
+
clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
798
|
+
environmentId: []
|
|
799
|
+
});
|
|
800
|
+
}, "se_DeleteEnvironmentRequest");
|
|
801
|
+
var se_DisassociateEipFromVlanRequest = /* @__PURE__ */ __name((input, context) => {
|
|
802
|
+
return (0, import_smithy_client.take)(input, {
|
|
803
|
+
associationId: [],
|
|
804
|
+
clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
805
|
+
environmentId: [],
|
|
806
|
+
vlanName: []
|
|
807
|
+
});
|
|
808
|
+
}, "se_DisassociateEipFromVlanRequest");
|
|
809
|
+
var de_AssociateEipToVlanResponse = /* @__PURE__ */ __name((output, context) => {
|
|
810
|
+
return (0, import_smithy_client.take)(output, {
|
|
811
|
+
vlan: /* @__PURE__ */ __name((_) => de_Vlan(_, context), "vlan")
|
|
812
|
+
});
|
|
813
|
+
}, "de_AssociateEipToVlanResponse");
|
|
814
|
+
var de_Check = /* @__PURE__ */ __name((output, context) => {
|
|
815
|
+
return (0, import_smithy_client.take)(output, {
|
|
816
|
+
impairedSince: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "impairedSince"),
|
|
817
|
+
result: import_smithy_client.expectString,
|
|
818
|
+
type: import_smithy_client.expectString
|
|
819
|
+
});
|
|
820
|
+
}, "de_Check");
|
|
821
|
+
var de_ChecksList = /* @__PURE__ */ __name((output, context) => {
|
|
822
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
823
|
+
return de_Check(entry, context);
|
|
824
|
+
});
|
|
825
|
+
return retVal;
|
|
826
|
+
}, "de_ChecksList");
|
|
827
|
+
var de_CreateEnvironmentHostResponse = /* @__PURE__ */ __name((output, context) => {
|
|
828
|
+
return (0, import_smithy_client.take)(output, {
|
|
829
|
+
environmentSummary: /* @__PURE__ */ __name((_) => de_EnvironmentSummary(_, context), "environmentSummary"),
|
|
830
|
+
host: /* @__PURE__ */ __name((_) => de_Host(_, context), "host")
|
|
831
|
+
});
|
|
832
|
+
}, "de_CreateEnvironmentHostResponse");
|
|
833
|
+
var de_CreateEnvironmentResponse = /* @__PURE__ */ __name((output, context) => {
|
|
834
|
+
return (0, import_smithy_client.take)(output, {
|
|
835
|
+
environment: /* @__PURE__ */ __name((_) => de_Environment(_, context), "environment")
|
|
836
|
+
});
|
|
837
|
+
}, "de_CreateEnvironmentResponse");
|
|
838
|
+
var de_DeleteEnvironmentHostResponse = /* @__PURE__ */ __name((output, context) => {
|
|
839
|
+
return (0, import_smithy_client.take)(output, {
|
|
840
|
+
environmentSummary: /* @__PURE__ */ __name((_) => de_EnvironmentSummary(_, context), "environmentSummary"),
|
|
841
|
+
host: /* @__PURE__ */ __name((_) => de_Host(_, context), "host")
|
|
842
|
+
});
|
|
843
|
+
}, "de_DeleteEnvironmentHostResponse");
|
|
844
|
+
var de_DeleteEnvironmentResponse = /* @__PURE__ */ __name((output, context) => {
|
|
845
|
+
return (0, import_smithy_client.take)(output, {
|
|
846
|
+
environment: /* @__PURE__ */ __name((_) => de_Environment(_, context), "environment")
|
|
847
|
+
});
|
|
848
|
+
}, "de_DeleteEnvironmentResponse");
|
|
849
|
+
var de_DisassociateEipFromVlanResponse = /* @__PURE__ */ __name((output, context) => {
|
|
850
|
+
return (0, import_smithy_client.take)(output, {
|
|
851
|
+
vlan: /* @__PURE__ */ __name((_) => de_Vlan(_, context), "vlan")
|
|
852
|
+
});
|
|
853
|
+
}, "de_DisassociateEipFromVlanResponse");
|
|
854
|
+
var de_Environment = /* @__PURE__ */ __name((output, context) => {
|
|
855
|
+
return (0, import_smithy_client.take)(output, {
|
|
856
|
+
checks: /* @__PURE__ */ __name((_) => de_ChecksList(_, context), "checks"),
|
|
857
|
+
connectivityInfo: import_smithy_client._json,
|
|
858
|
+
createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "createdAt"),
|
|
859
|
+
credentials: import_smithy_client._json,
|
|
860
|
+
environmentArn: import_smithy_client.expectString,
|
|
861
|
+
environmentId: import_smithy_client.expectString,
|
|
862
|
+
environmentName: import_smithy_client.expectString,
|
|
863
|
+
environmentState: import_smithy_client.expectString,
|
|
864
|
+
environmentStatus: import_smithy_client.expectString,
|
|
865
|
+
kmsKeyId: import_smithy_client.expectString,
|
|
866
|
+
licenseInfo: import_smithy_client._json,
|
|
867
|
+
modifiedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "modifiedAt"),
|
|
868
|
+
serviceAccessSecurityGroups: import_smithy_client._json,
|
|
869
|
+
serviceAccessSubnetId: import_smithy_client.expectString,
|
|
870
|
+
siteId: import_smithy_client.expectString,
|
|
871
|
+
stateDetails: import_smithy_client.expectString,
|
|
872
|
+
termsAccepted: import_smithy_client.expectBoolean,
|
|
873
|
+
vcfHostnames: import_smithy_client._json,
|
|
874
|
+
vcfVersion: import_smithy_client.expectString,
|
|
875
|
+
vpcId: import_smithy_client.expectString
|
|
876
|
+
});
|
|
877
|
+
}, "de_Environment");
|
|
878
|
+
var de_EnvironmentSummary = /* @__PURE__ */ __name((output, context) => {
|
|
879
|
+
return (0, import_smithy_client.take)(output, {
|
|
880
|
+
createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "createdAt"),
|
|
881
|
+
environmentArn: import_smithy_client.expectString,
|
|
882
|
+
environmentId: import_smithy_client.expectString,
|
|
883
|
+
environmentName: import_smithy_client.expectString,
|
|
884
|
+
environmentState: import_smithy_client.expectString,
|
|
885
|
+
environmentStatus: import_smithy_client.expectString,
|
|
886
|
+
modifiedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "modifiedAt"),
|
|
887
|
+
vcfVersion: import_smithy_client.expectString
|
|
888
|
+
});
|
|
889
|
+
}, "de_EnvironmentSummary");
|
|
890
|
+
var de_EnvironmentSummaryList = /* @__PURE__ */ __name((output, context) => {
|
|
891
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
892
|
+
return de_EnvironmentSummary(entry, context);
|
|
893
|
+
});
|
|
894
|
+
return retVal;
|
|
895
|
+
}, "de_EnvironmentSummaryList");
|
|
896
|
+
var de_GetEnvironmentResponse = /* @__PURE__ */ __name((output, context) => {
|
|
897
|
+
return (0, import_smithy_client.take)(output, {
|
|
898
|
+
environment: /* @__PURE__ */ __name((_) => de_Environment(_, context), "environment")
|
|
899
|
+
});
|
|
900
|
+
}, "de_GetEnvironmentResponse");
|
|
901
|
+
var de_Host = /* @__PURE__ */ __name((output, context) => {
|
|
902
|
+
return (0, import_smithy_client.take)(output, {
|
|
903
|
+
createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "createdAt"),
|
|
904
|
+
dedicatedHostId: import_smithy_client.expectString,
|
|
905
|
+
ec2InstanceId: import_smithy_client.expectString,
|
|
906
|
+
hostName: import_smithy_client.expectString,
|
|
907
|
+
hostState: import_smithy_client.expectString,
|
|
908
|
+
instanceType: import_smithy_client.expectString,
|
|
909
|
+
ipAddress: import_smithy_client.expectString,
|
|
910
|
+
keyName: import_smithy_client.expectString,
|
|
911
|
+
modifiedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "modifiedAt"),
|
|
912
|
+
networkInterfaces: import_smithy_client._json,
|
|
913
|
+
placementGroupId: import_smithy_client.expectString,
|
|
914
|
+
stateDetails: import_smithy_client.expectString
|
|
915
|
+
});
|
|
916
|
+
}, "de_Host");
|
|
917
|
+
var de_HostList = /* @__PURE__ */ __name((output, context) => {
|
|
918
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
919
|
+
return de_Host(entry, context);
|
|
920
|
+
});
|
|
921
|
+
return retVal;
|
|
922
|
+
}, "de_HostList");
|
|
923
|
+
var de_ListEnvironmentHostsResponse = /* @__PURE__ */ __name((output, context) => {
|
|
924
|
+
return (0, import_smithy_client.take)(output, {
|
|
925
|
+
environmentHosts: /* @__PURE__ */ __name((_) => de_HostList(_, context), "environmentHosts"),
|
|
926
|
+
nextToken: import_smithy_client.expectString
|
|
927
|
+
});
|
|
928
|
+
}, "de_ListEnvironmentHostsResponse");
|
|
929
|
+
var de_ListEnvironmentsResponse = /* @__PURE__ */ __name((output, context) => {
|
|
930
|
+
return (0, import_smithy_client.take)(output, {
|
|
931
|
+
environmentSummaries: /* @__PURE__ */ __name((_) => de_EnvironmentSummaryList(_, context), "environmentSummaries"),
|
|
932
|
+
nextToken: import_smithy_client.expectString
|
|
933
|
+
});
|
|
934
|
+
}, "de_ListEnvironmentsResponse");
|
|
935
|
+
var de_ListEnvironmentVlansResponse = /* @__PURE__ */ __name((output, context) => {
|
|
936
|
+
return (0, import_smithy_client.take)(output, {
|
|
937
|
+
environmentVlans: /* @__PURE__ */ __name((_) => de_VlanList(_, context), "environmentVlans"),
|
|
938
|
+
nextToken: import_smithy_client.expectString
|
|
939
|
+
});
|
|
940
|
+
}, "de_ListEnvironmentVlansResponse");
|
|
941
|
+
var de_Vlan = /* @__PURE__ */ __name((output, context) => {
|
|
942
|
+
return (0, import_smithy_client.take)(output, {
|
|
943
|
+
availabilityZone: import_smithy_client.expectString,
|
|
944
|
+
cidr: import_smithy_client.expectString,
|
|
945
|
+
createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "createdAt"),
|
|
946
|
+
eipAssociations: import_smithy_client._json,
|
|
947
|
+
functionName: import_smithy_client.expectString,
|
|
948
|
+
isPublic: import_smithy_client.expectBoolean,
|
|
949
|
+
modifiedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "modifiedAt"),
|
|
950
|
+
networkAclId: import_smithy_client.expectString,
|
|
951
|
+
stateDetails: import_smithy_client.expectString,
|
|
952
|
+
subnetId: import_smithy_client.expectString,
|
|
953
|
+
vlanId: import_smithy_client.expectInt32,
|
|
954
|
+
vlanState: import_smithy_client.expectString
|
|
955
|
+
});
|
|
956
|
+
}, "de_Vlan");
|
|
957
|
+
var de_VlanList = /* @__PURE__ */ __name((output, context) => {
|
|
958
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
959
|
+
return de_Vlan(entry, context);
|
|
960
|
+
});
|
|
961
|
+
return retVal;
|
|
962
|
+
}, "de_VlanList");
|
|
963
|
+
var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
964
|
+
httpStatusCode: output.statusCode,
|
|
965
|
+
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
966
|
+
extendedRequestId: output.headers["x-amz-id-2"],
|
|
967
|
+
cfId: output.headers["x-amz-cf-id"]
|
|
968
|
+
}), "deserializeMetadata");
|
|
969
|
+
var throwDefaultError = (0, import_smithy_client.withBaseException)(EvsServiceException);
|
|
970
|
+
var buildHttpRpcRequest = /* @__PURE__ */ __name(async (context, headers, path, resolvedHostname, body) => {
|
|
971
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
972
|
+
const contents = {
|
|
973
|
+
protocol,
|
|
974
|
+
hostname,
|
|
975
|
+
port,
|
|
976
|
+
method: "POST",
|
|
977
|
+
path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
|
|
978
|
+
headers
|
|
979
|
+
};
|
|
980
|
+
if (resolvedHostname !== void 0) {
|
|
981
|
+
contents.hostname = resolvedHostname;
|
|
982
|
+
}
|
|
983
|
+
if (body !== void 0) {
|
|
984
|
+
contents.body = body;
|
|
985
|
+
}
|
|
986
|
+
return new import_protocol_http.HttpRequest(contents);
|
|
987
|
+
}, "buildHttpRpcRequest");
|
|
988
|
+
function sharedHeaders(operation) {
|
|
989
|
+
return {
|
|
990
|
+
"content-type": "application/x-amz-json-1.0",
|
|
991
|
+
"x-amz-target": `AmazonElasticVMwareService.${operation}`
|
|
992
|
+
};
|
|
993
|
+
}
|
|
994
|
+
__name(sharedHeaders, "sharedHeaders");
|
|
995
|
+
|
|
996
|
+
// src/commands/AssociateEipToVlanCommand.ts
|
|
997
|
+
var AssociateEipToVlanCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
998
|
+
return [
|
|
999
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1000
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1001
|
+
];
|
|
1002
|
+
}).s("AmazonElasticVMwareService", "AssociateEipToVlan", {}).n("EvsClient", "AssociateEipToVlanCommand").f(void 0, void 0).ser(se_AssociateEipToVlanCommand).de(de_AssociateEipToVlanCommand).build() {
|
|
1003
|
+
static {
|
|
1004
|
+
__name(this, "AssociateEipToVlanCommand");
|
|
1005
|
+
}
|
|
1006
|
+
};
|
|
1007
|
+
|
|
1008
|
+
// src/commands/CreateEnvironmentCommand.ts
|
|
1009
|
+
|
|
1010
|
+
|
|
1011
|
+
|
|
1012
|
+
var CreateEnvironmentCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1013
|
+
return [
|
|
1014
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1015
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1016
|
+
];
|
|
1017
|
+
}).s("AmazonElasticVMwareService", "CreateEnvironment", {}).n("EvsClient", "CreateEnvironmentCommand").f(void 0, void 0).ser(se_CreateEnvironmentCommand).de(de_CreateEnvironmentCommand).build() {
|
|
1018
|
+
static {
|
|
1019
|
+
__name(this, "CreateEnvironmentCommand");
|
|
1020
|
+
}
|
|
1021
|
+
};
|
|
1022
|
+
|
|
1023
|
+
// src/commands/CreateEnvironmentHostCommand.ts
|
|
1024
|
+
|
|
1025
|
+
|
|
1026
|
+
|
|
1027
|
+
var CreateEnvironmentHostCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1028
|
+
return [
|
|
1029
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1030
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1031
|
+
];
|
|
1032
|
+
}).s("AmazonElasticVMwareService", "CreateEnvironmentHost", {}).n("EvsClient", "CreateEnvironmentHostCommand").f(void 0, void 0).ser(se_CreateEnvironmentHostCommand).de(de_CreateEnvironmentHostCommand).build() {
|
|
1033
|
+
static {
|
|
1034
|
+
__name(this, "CreateEnvironmentHostCommand");
|
|
1035
|
+
}
|
|
1036
|
+
};
|
|
1037
|
+
|
|
1038
|
+
// src/commands/DeleteEnvironmentCommand.ts
|
|
1039
|
+
|
|
1040
|
+
|
|
1041
|
+
|
|
1042
|
+
var DeleteEnvironmentCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1043
|
+
return [
|
|
1044
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1045
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1046
|
+
];
|
|
1047
|
+
}).s("AmazonElasticVMwareService", "DeleteEnvironment", {}).n("EvsClient", "DeleteEnvironmentCommand").f(void 0, void 0).ser(se_DeleteEnvironmentCommand).de(de_DeleteEnvironmentCommand).build() {
|
|
1048
|
+
static {
|
|
1049
|
+
__name(this, "DeleteEnvironmentCommand");
|
|
1050
|
+
}
|
|
1051
|
+
};
|
|
1052
|
+
|
|
1053
|
+
// src/commands/DeleteEnvironmentHostCommand.ts
|
|
1054
|
+
|
|
1055
|
+
|
|
1056
|
+
|
|
1057
|
+
var DeleteEnvironmentHostCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1058
|
+
return [
|
|
1059
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1060
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1061
|
+
];
|
|
1062
|
+
}).s("AmazonElasticVMwareService", "DeleteEnvironmentHost", {}).n("EvsClient", "DeleteEnvironmentHostCommand").f(void 0, void 0).ser(se_DeleteEnvironmentHostCommand).de(de_DeleteEnvironmentHostCommand).build() {
|
|
1063
|
+
static {
|
|
1064
|
+
__name(this, "DeleteEnvironmentHostCommand");
|
|
1065
|
+
}
|
|
1066
|
+
};
|
|
1067
|
+
|
|
1068
|
+
// src/commands/DisassociateEipFromVlanCommand.ts
|
|
1069
|
+
|
|
1070
|
+
|
|
1071
|
+
|
|
1072
|
+
var DisassociateEipFromVlanCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1073
|
+
return [
|
|
1074
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1075
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1076
|
+
];
|
|
1077
|
+
}).s("AmazonElasticVMwareService", "DisassociateEipFromVlan", {}).n("EvsClient", "DisassociateEipFromVlanCommand").f(void 0, void 0).ser(se_DisassociateEipFromVlanCommand).de(de_DisassociateEipFromVlanCommand).build() {
|
|
1078
|
+
static {
|
|
1079
|
+
__name(this, "DisassociateEipFromVlanCommand");
|
|
1080
|
+
}
|
|
1081
|
+
};
|
|
1082
|
+
|
|
1083
|
+
// src/commands/GetEnvironmentCommand.ts
|
|
1084
|
+
|
|
1085
|
+
|
|
1086
|
+
|
|
1087
|
+
var GetEnvironmentCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1088
|
+
return [
|
|
1089
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1090
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1091
|
+
];
|
|
1092
|
+
}).s("AmazonElasticVMwareService", "GetEnvironment", {}).n("EvsClient", "GetEnvironmentCommand").f(void 0, void 0).ser(se_GetEnvironmentCommand).de(de_GetEnvironmentCommand).build() {
|
|
1093
|
+
static {
|
|
1094
|
+
__name(this, "GetEnvironmentCommand");
|
|
1095
|
+
}
|
|
1096
|
+
};
|
|
1097
|
+
|
|
1098
|
+
// src/commands/ListEnvironmentHostsCommand.ts
|
|
1099
|
+
|
|
1100
|
+
|
|
1101
|
+
|
|
1102
|
+
var ListEnvironmentHostsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1103
|
+
return [
|
|
1104
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1105
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1106
|
+
];
|
|
1107
|
+
}).s("AmazonElasticVMwareService", "ListEnvironmentHosts", {}).n("EvsClient", "ListEnvironmentHostsCommand").f(void 0, void 0).ser(se_ListEnvironmentHostsCommand).de(de_ListEnvironmentHostsCommand).build() {
|
|
1108
|
+
static {
|
|
1109
|
+
__name(this, "ListEnvironmentHostsCommand");
|
|
1110
|
+
}
|
|
1111
|
+
};
|
|
1112
|
+
|
|
1113
|
+
// src/commands/ListEnvironmentsCommand.ts
|
|
1114
|
+
|
|
1115
|
+
|
|
1116
|
+
|
|
1117
|
+
var ListEnvironmentsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1118
|
+
return [
|
|
1119
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1120
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1121
|
+
];
|
|
1122
|
+
}).s("AmazonElasticVMwareService", "ListEnvironments", {}).n("EvsClient", "ListEnvironmentsCommand").f(void 0, void 0).ser(se_ListEnvironmentsCommand).de(de_ListEnvironmentsCommand).build() {
|
|
1123
|
+
static {
|
|
1124
|
+
__name(this, "ListEnvironmentsCommand");
|
|
1125
|
+
}
|
|
1126
|
+
};
|
|
1127
|
+
|
|
1128
|
+
// src/commands/ListEnvironmentVlansCommand.ts
|
|
1129
|
+
|
|
1130
|
+
|
|
1131
|
+
|
|
1132
|
+
var ListEnvironmentVlansCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1133
|
+
return [
|
|
1134
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1135
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1136
|
+
];
|
|
1137
|
+
}).s("AmazonElasticVMwareService", "ListEnvironmentVlans", {}).n("EvsClient", "ListEnvironmentVlansCommand").f(void 0, void 0).ser(se_ListEnvironmentVlansCommand).de(de_ListEnvironmentVlansCommand).build() {
|
|
1138
|
+
static {
|
|
1139
|
+
__name(this, "ListEnvironmentVlansCommand");
|
|
1140
|
+
}
|
|
1141
|
+
};
|
|
1142
|
+
|
|
1143
|
+
// src/commands/ListTagsForResourceCommand.ts
|
|
1144
|
+
|
|
1145
|
+
|
|
1146
|
+
|
|
1147
|
+
var ListTagsForResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1148
|
+
return [
|
|
1149
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1150
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1151
|
+
];
|
|
1152
|
+
}).s("AmazonElasticVMwareService", "ListTagsForResource", {}).n("EvsClient", "ListTagsForResourceCommand").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {
|
|
1153
|
+
static {
|
|
1154
|
+
__name(this, "ListTagsForResourceCommand");
|
|
1155
|
+
}
|
|
1156
|
+
};
|
|
1157
|
+
|
|
1158
|
+
// src/commands/TagResourceCommand.ts
|
|
1159
|
+
|
|
1160
|
+
|
|
1161
|
+
|
|
1162
|
+
var TagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1163
|
+
return [
|
|
1164
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1165
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1166
|
+
];
|
|
1167
|
+
}).s("AmazonElasticVMwareService", "TagResource", {}).n("EvsClient", "TagResourceCommand").f(void 0, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() {
|
|
1168
|
+
static {
|
|
1169
|
+
__name(this, "TagResourceCommand");
|
|
1170
|
+
}
|
|
1171
|
+
};
|
|
1172
|
+
|
|
1173
|
+
// src/commands/UntagResourceCommand.ts
|
|
1174
|
+
|
|
1175
|
+
|
|
1176
|
+
|
|
1177
|
+
var UntagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1178
|
+
return [
|
|
1179
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1180
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1181
|
+
];
|
|
1182
|
+
}).s("AmazonElasticVMwareService", "UntagResource", {}).n("EvsClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {
|
|
1183
|
+
static {
|
|
1184
|
+
__name(this, "UntagResourceCommand");
|
|
1185
|
+
}
|
|
1186
|
+
};
|
|
1187
|
+
|
|
1188
|
+
// src/Evs.ts
|
|
1189
|
+
var commands = {
|
|
1190
|
+
AssociateEipToVlanCommand,
|
|
1191
|
+
CreateEnvironmentCommand,
|
|
1192
|
+
CreateEnvironmentHostCommand,
|
|
1193
|
+
DeleteEnvironmentCommand,
|
|
1194
|
+
DeleteEnvironmentHostCommand,
|
|
1195
|
+
DisassociateEipFromVlanCommand,
|
|
1196
|
+
GetEnvironmentCommand,
|
|
1197
|
+
ListEnvironmentHostsCommand,
|
|
1198
|
+
ListEnvironmentsCommand,
|
|
1199
|
+
ListEnvironmentVlansCommand,
|
|
1200
|
+
ListTagsForResourceCommand,
|
|
1201
|
+
TagResourceCommand,
|
|
1202
|
+
UntagResourceCommand
|
|
1203
|
+
};
|
|
1204
|
+
var Evs = class extends EvsClient {
|
|
1205
|
+
static {
|
|
1206
|
+
__name(this, "Evs");
|
|
1207
|
+
}
|
|
1208
|
+
};
|
|
1209
|
+
(0, import_smithy_client.createAggregatedClient)(commands, Evs);
|
|
1210
|
+
|
|
1211
|
+
// src/pagination/ListEnvironmentHostsPaginator.ts
|
|
1212
|
+
|
|
1213
|
+
var paginateListEnvironmentHosts = (0, import_core.createPaginator)(EvsClient, ListEnvironmentHostsCommand, "nextToken", "nextToken", "maxResults");
|
|
1214
|
+
|
|
1215
|
+
// src/pagination/ListEnvironmentVlansPaginator.ts
|
|
1216
|
+
|
|
1217
|
+
var paginateListEnvironmentVlans = (0, import_core.createPaginator)(EvsClient, ListEnvironmentVlansCommand, "nextToken", "nextToken", "maxResults");
|
|
1218
|
+
|
|
1219
|
+
// src/pagination/ListEnvironmentsPaginator.ts
|
|
1220
|
+
|
|
1221
|
+
var paginateListEnvironments = (0, import_core.createPaginator)(EvsClient, ListEnvironmentsCommand, "nextToken", "nextToken", "maxResults");
|
|
1222
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
1223
|
+
|
|
1224
|
+
0 && (module.exports = {
|
|
1225
|
+
EvsServiceException,
|
|
1226
|
+
__Client,
|
|
1227
|
+
EvsClient,
|
|
1228
|
+
Evs,
|
|
1229
|
+
$Command,
|
|
1230
|
+
AssociateEipToVlanCommand,
|
|
1231
|
+
CreateEnvironmentCommand,
|
|
1232
|
+
CreateEnvironmentHostCommand,
|
|
1233
|
+
DeleteEnvironmentCommand,
|
|
1234
|
+
DeleteEnvironmentHostCommand,
|
|
1235
|
+
DisassociateEipFromVlanCommand,
|
|
1236
|
+
GetEnvironmentCommand,
|
|
1237
|
+
ListEnvironmentHostsCommand,
|
|
1238
|
+
ListEnvironmentVlansCommand,
|
|
1239
|
+
ListEnvironmentsCommand,
|
|
1240
|
+
ListTagsForResourceCommand,
|
|
1241
|
+
TagResourceCommand,
|
|
1242
|
+
UntagResourceCommand,
|
|
1243
|
+
paginateListEnvironmentHosts,
|
|
1244
|
+
paginateListEnvironmentVlans,
|
|
1245
|
+
paginateListEnvironments,
|
|
1246
|
+
VlanState,
|
|
1247
|
+
ResourceNotFoundException,
|
|
1248
|
+
ThrottlingException,
|
|
1249
|
+
ValidationExceptionReason,
|
|
1250
|
+
ValidationException,
|
|
1251
|
+
_InstanceType,
|
|
1252
|
+
VcfVersion,
|
|
1253
|
+
CheckResult,
|
|
1254
|
+
CheckType,
|
|
1255
|
+
EnvironmentState,
|
|
1256
|
+
HostState,
|
|
1257
|
+
ServiceQuotaExceededException,
|
|
1258
|
+
TagPolicyException,
|
|
1259
|
+
TooManyTagsException
|
|
1260
|
+
});
|
|
1261
|
+
|