@aws-sdk/client-evs 3.1075.0 → 3.1076.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.
Files changed (35) hide show
  1. package/dist-cjs/index.js +1135 -15
  2. package/dist-es/models/enums.js +9 -0
  3. package/dist-es/schemas/schemas_0.js +5 -4
  4. package/dist-types/commands/CreateEnvironmentCommand.d.ts +18 -17
  5. package/dist-types/commands/CreateEnvironmentConnectorCommand.d.ts +4 -4
  6. package/dist-types/commands/CreateEnvironmentHostCommand.d.ts +2 -2
  7. package/dist-types/commands/DeleteEnvironmentCommand.d.ts +3 -2
  8. package/dist-types/commands/DeleteEnvironmentConnectorCommand.d.ts +3 -3
  9. package/dist-types/commands/DeleteEnvironmentHostCommand.d.ts +1 -1
  10. package/dist-types/commands/GetEnvironmentCommand.d.ts +3 -2
  11. package/dist-types/commands/GetVersionsCommand.d.ts +1 -1
  12. package/dist-types/commands/ListEnvironmentConnectorsCommand.d.ts +2 -2
  13. package/dist-types/commands/ListEnvironmentsCommand.d.ts +1 -1
  14. package/dist-types/commands/UpdateEnvironmentConnectorCommand.d.ts +2 -2
  15. package/dist-types/models/enums.d.ts +9 -0
  16. package/dist-types/models/models_0.d.ts +29 -24
  17. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  18. package/dist-types/runtimeConfig.d.ts +1 -1
  19. package/dist-types/runtimeConfig.native.d.ts +1 -1
  20. package/dist-types/ts3.4/models/enums.d.ts +9 -0
  21. package/dist-types/ts3.4/models/models_0.d.ts +6 -5
  22. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +7 -1
  23. package/dist-types/ts3.4/runtimeConfig.d.ts +7 -1
  24. package/dist-types/ts3.4/runtimeConfig.native.d.ts +7 -1
  25. package/package.json +8 -8
  26. package/dist-cjs/auth/httpAuthSchemeProvider.js +0 -40
  27. package/dist-cjs/endpoint/bdd.js +0 -46
  28. package/dist-cjs/endpoint/endpointResolver.js +0 -14
  29. package/dist-cjs/models/EvsServiceException.js +0 -8
  30. package/dist-cjs/models/errors.js +0 -97
  31. package/dist-cjs/runtimeConfig.browser.js +0 -32
  32. package/dist-cjs/runtimeConfig.js +0 -45
  33. package/dist-cjs/runtimeConfig.native.js +0 -12
  34. package/dist-cjs/runtimeConfig.shared.js +0 -38
  35. package/dist-cjs/schemas/schemas_0.js +0 -822
package/dist-cjs/index.js CHANGED
@@ -1,21 +1,57 @@
1
- var __exportStar = (m, e) => { Object.assign(e, m); };
2
- const { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
1
+ const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
3
2
  const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
4
- const { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
3
+ const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
5
4
  exports.$Command = Command;
6
5
  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, defaultEvsHttpAuthSchemeParametersProvider } = require("./auth/httpAuthSchemeProvider");
13
- const { getRuntimeConfig } = require("./runtimeConfig");
14
- const { AssociateEipToVlan$, CreateEntitlement$, CreateEnvironment$, CreateEnvironmentConnector$, CreateEnvironmentHost$, DeleteEntitlement$, DeleteEnvironment$, DeleteEnvironmentConnector$, DeleteEnvironmentHost$, DisassociateEipFromVlan$, GetDepotUrl$, GetEnvironment$, GetVersions$, ListEnvironmentConnectors$, ListEnvironmentHosts$, ListEnvironments$, ListEnvironmentVlans$, ListTagsForResource$, ListVmEntitlements$, TagResource$, UntagResource$, UpdateEnvironmentConnector$ } = require("./schemas/schemas_0");
15
- __exportStar(require("./schemas/schemas_0"), exports);
16
- __exportStar(require("./models/errors"), exports);
17
- const { EvsServiceException } = require("./models/EvsServiceException");
18
- exports.EvsServiceException = EvsServiceException;
6
+ const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
7
+ const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
8
+ const { parseUrl, getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
9
+ const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
10
+ const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
11
+ const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
12
+ const { defaultProvider } = require("@aws-sdk/credential-provider-node");
13
+ const { toUtf8, fromUtf8, toBase64, fromBase64, Hash, calculateBodyLength } = require("@smithy/core/serde");
14
+ const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
15
+ const { AwsJson1_0Protocol } = require("@aws-sdk/core/protocols");
16
+
17
+ const defaultEvsHttpAuthSchemeParametersProvider = async (config, context, input) => {
18
+ return {
19
+ operation: getSmithyContext(context).operation,
20
+ region: await normalizeProvider(config.region)() || (() => {
21
+ throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
22
+ })(),
23
+ };
24
+ };
25
+ function createAwsAuthSigv4HttpAuthOption(authParameters) {
26
+ return {
27
+ schemeId: "aws.auth#sigv4",
28
+ signingProperties: {
29
+ name: "evs",
30
+ region: authParameters.region,
31
+ },
32
+ propertiesExtractor: (config, context) => ({
33
+ signingProperties: {
34
+ config,
35
+ context,
36
+ },
37
+ }),
38
+ };
39
+ }
40
+ const defaultEvsHttpAuthSchemeProvider = (authParameters) => {
41
+ const options = [];
42
+ switch (authParameters.operation) {
43
+ default: {
44
+ options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
45
+ }
46
+ }
47
+ return options;
48
+ };
49
+ const resolveHttpAuthSchemeConfig = (config) => {
50
+ const config_0 = resolveAwsSdkSigV4Config(config);
51
+ return Object.assign(config_0, {
52
+ authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),
53
+ });
54
+ };
19
55
 
20
56
  const resolveClientEndpointParameters = (options) => {
21
57
  return Object.assign(options, {
@@ -31,6 +67,976 @@ const commonParams = {
31
67
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
32
68
  };
33
69
 
70
+ var version = "3.1075.0";
71
+ var packageInfo = {
72
+ version: version};
73
+
74
+ const k = "ref";
75
+ const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = { [k]: "Endpoint" }, h = { [k]: d }, i = {}, j = [{ [k]: "Region" }];
76
+ const _data = {
77
+ conditions: [
78
+ [c, [g]],
79
+ [c, j],
80
+ ["aws.partition", j, d],
81
+ [e, [{ [k]: "UseFIPS" }, b]],
82
+ [e, [{ [k]: "UseDualStack" }, b]],
83
+ [e, [{ fn: f, argv: [h, "supportsDualStack"] }, b]],
84
+ [e, [{ fn: f, argv: [h, "supportsFIPS"] }, b]]
85
+ ],
86
+ results: [
87
+ [a],
88
+ [a, "Invalid Configuration: FIPS and custom endpoint are not supported"],
89
+ [a, "Invalid Configuration: Dualstack and custom endpoint are not supported"],
90
+ [g, i],
91
+ ["https://evs-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
92
+ [a, "FIPS and DualStack are enabled, but this partition does not support one or both"],
93
+ ["https://evs-fips.{Region}.{PartitionResult#dnsSuffix}", i],
94
+ [a, "FIPS is enabled but this partition does not support FIPS"],
95
+ ["https://evs.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
96
+ [a, "DualStack is enabled but this partition does not support DualStack"],
97
+ ["https://evs.{Region}.{PartitionResult#dnsSuffix}", i],
98
+ [a, "Invalid Configuration: Missing Region"]
99
+ ]
100
+ };
101
+ const root = 2;
102
+ const r = 100_000_000;
103
+ const nodes = new Int32Array([
104
+ -1, 1, -1,
105
+ 0, 12, 3,
106
+ 1, 4, r + 11,
107
+ 2, 5, r + 11,
108
+ 3, 8, 6,
109
+ 4, 7, r + 10,
110
+ 5, r + 8, r + 9,
111
+ 4, 10, 9,
112
+ 6, r + 6, r + 7,
113
+ 5, 11, r + 5,
114
+ 6, r + 4, r + 5,
115
+ 3, r + 1, 13,
116
+ 4, r + 2, r + 3,
117
+ ]);
118
+ const bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
119
+
120
+ const cache = new EndpointCache({
121
+ size: 50,
122
+ params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
123
+ });
124
+ const defaultEndpointResolver = (endpointParams, context = {}) => {
125
+ return cache.get(endpointParams, () => decideEndpoint(bdd, {
126
+ endpointParams: endpointParams,
127
+ logger: context.logger,
128
+ }));
129
+ };
130
+ customEndpointFunctions.aws = awsEndpointFunctions;
131
+
132
+ class EvsServiceException extends ServiceException {
133
+ constructor(options) {
134
+ super(options);
135
+ Object.setPrototypeOf(this, EvsServiceException.prototype);
136
+ }
137
+ }
138
+
139
+ class ResourceNotFoundException extends EvsServiceException {
140
+ name = "ResourceNotFoundException";
141
+ $fault = "client";
142
+ resourceId;
143
+ resourceType;
144
+ constructor(opts) {
145
+ super({
146
+ name: "ResourceNotFoundException",
147
+ $fault: "client",
148
+ ...opts,
149
+ });
150
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
151
+ this.resourceId = opts.resourceId;
152
+ this.resourceType = opts.resourceType;
153
+ }
154
+ }
155
+ class ThrottlingException extends EvsServiceException {
156
+ name = "ThrottlingException";
157
+ $fault = "client";
158
+ $retryable = {};
159
+ retryAfterSeconds;
160
+ constructor(opts) {
161
+ super({
162
+ name: "ThrottlingException",
163
+ $fault: "client",
164
+ ...opts,
165
+ });
166
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
167
+ this.retryAfterSeconds = opts.retryAfterSeconds;
168
+ }
169
+ }
170
+ class ValidationException extends EvsServiceException {
171
+ name = "ValidationException";
172
+ $fault = "client";
173
+ reason;
174
+ fieldList;
175
+ constructor(opts) {
176
+ super({
177
+ name: "ValidationException",
178
+ $fault: "client",
179
+ ...opts,
180
+ });
181
+ Object.setPrototypeOf(this, ValidationException.prototype);
182
+ this.reason = opts.reason;
183
+ this.fieldList = opts.fieldList;
184
+ }
185
+ }
186
+ class InternalServerException extends EvsServiceException {
187
+ name = "InternalServerException";
188
+ $fault = "server";
189
+ $retryable = {};
190
+ constructor(opts) {
191
+ super({
192
+ name: "InternalServerException",
193
+ $fault: "server",
194
+ ...opts,
195
+ });
196
+ Object.setPrototypeOf(this, InternalServerException.prototype);
197
+ }
198
+ }
199
+ class ServiceQuotaExceededException extends EvsServiceException {
200
+ name = "ServiceQuotaExceededException";
201
+ $fault = "client";
202
+ constructor(opts) {
203
+ super({
204
+ name: "ServiceQuotaExceededException",
205
+ $fault: "client",
206
+ ...opts,
207
+ });
208
+ Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
209
+ }
210
+ }
211
+ class TagPolicyException extends EvsServiceException {
212
+ name = "TagPolicyException";
213
+ $fault = "client";
214
+ constructor(opts) {
215
+ super({
216
+ name: "TagPolicyException",
217
+ $fault: "client",
218
+ ...opts,
219
+ });
220
+ Object.setPrototypeOf(this, TagPolicyException.prototype);
221
+ }
222
+ }
223
+ class TooManyTagsException extends EvsServiceException {
224
+ name = "TooManyTagsException";
225
+ $fault = "client";
226
+ constructor(opts) {
227
+ super({
228
+ name: "TooManyTagsException",
229
+ $fault: "client",
230
+ ...opts,
231
+ });
232
+ Object.setPrototypeOf(this, TooManyTagsException.prototype);
233
+ }
234
+ }
235
+
236
+ const _AETV = "AssociateEipToVlan";
237
+ const _AETVR = "AssociateEipToVlanRequest";
238
+ const _AETVRs = "AssociateEipToVlanResponse";
239
+ const _C = "Check";
240
+ const _CC = "ConnectorCheck";
241
+ const _CCL = "ConnectorsChecksList";
242
+ const _CE = "CreateEntitlement";
243
+ const _CEC = "CreateEnvironmentConnector";
244
+ const _CECR = "CreateEnvironmentConnectorRequest";
245
+ const _CECRr = "CreateEnvironmentConnectorResponse";
246
+ const _CEH = "CreateEnvironmentHost";
247
+ const _CEHR = "CreateEnvironmentHostRequest";
248
+ const _CEHRr = "CreateEnvironmentHostResponse";
249
+ const _CER = "CreateEntitlementRequest";
250
+ const _CERr = "CreateEntitlementResponse";
251
+ const _CERre = "CreateEnvironmentRequest";
252
+ const _CERrea = "CreateEnvironmentResponse";
253
+ const _CEr = "CreateEnvironment";
254
+ const _CI = "ConnectivityInfo";
255
+ const _CL = "ChecksList";
256
+ const _CLo = "ConnectorList";
257
+ const _Co = "Connector";
258
+ const _DE = "DeleteEntitlement";
259
+ const _DEC = "DeleteEnvironmentConnector";
260
+ const _DECR = "DeleteEnvironmentConnectorRequest";
261
+ const _DECRe = "DeleteEnvironmentConnectorResponse";
262
+ const _DEFV = "DisassociateEipFromVlan";
263
+ const _DEFVR = "DisassociateEipFromVlanRequest";
264
+ const _DEFVRi = "DisassociateEipFromVlanResponse";
265
+ const _DEH = "DeleteEnvironmentHost";
266
+ const _DEHR = "DeleteEnvironmentHostRequest";
267
+ const _DEHRe = "DeleteEnvironmentHostResponse";
268
+ const _DER = "DeleteEntitlementRequest";
269
+ const _DERe = "DeleteEntitlementResponse";
270
+ const _DERel = "DeleteEnvironmentRequest";
271
+ const _DERele = "DeleteEnvironmentResponse";
272
+ const _DEe = "DeleteEnvironment";
273
+ const _E = "Environment";
274
+ const _EA = "EipAssociation";
275
+ const _EAL = "EipAssociationList";
276
+ const _ED = "ErrorDetail";
277
+ const _ES = "EnvironmentSummary";
278
+ const _ESL = "EnvironmentSummaryList";
279
+ const _GDU = "GetDepotUrl";
280
+ const _GDUR = "GetDepotUrlRequest";
281
+ const _GDURe = "GetDepotUrlResponse";
282
+ const _GE = "GetEnvironment";
283
+ const _GER = "GetEnvironmentRequest";
284
+ const _GERe = "GetEnvironmentResponse";
285
+ const _GV = "GetVersions";
286
+ const _GVR = "GetVersionsRequest";
287
+ const _GVRe = "GetVersionsResponse";
288
+ const _H = "Host";
289
+ const _HIFC = "HostInfoForCreate";
290
+ const _HIFCL = "HostInfoForCreateList";
291
+ const _HL = "HostList";
292
+ const _ISE = "InternalServerException";
293
+ const _ITEVI = "InstanceTypeEsxVersionsInfo";
294
+ const _ITEVL = "InstanceTypeEsxVersionsList";
295
+ const _IV = "InitialVlans";
296
+ const _IVI = "InitialVlanInfo";
297
+ const _LE = "ListEnvironments";
298
+ const _LEC = "ListEnvironmentConnectors";
299
+ const _LECR = "ListEnvironmentConnectorsRequest";
300
+ const _LECRi = "ListEnvironmentConnectorsResponse";
301
+ const _LEH = "ListEnvironmentHosts";
302
+ const _LEHR = "ListEnvironmentHostsRequest";
303
+ const _LEHRi = "ListEnvironmentHostsResponse";
304
+ const _LER = "ListEnvironmentsRequest";
305
+ const _LERi = "ListEnvironmentsResponse";
306
+ const _LEV = "ListEnvironmentVlans";
307
+ const _LEVR = "ListEnvironmentVlansRequest";
308
+ const _LEVRi = "ListEnvironmentVlansResponse";
309
+ const _LI = "LicenseInfo";
310
+ const _LIL = "LicenseInfoList";
311
+ const _LTFR = "ListTagsForResource";
312
+ const _LTFRR = "ListTagsForResourceRequest";
313
+ const _LTFRRi = "ListTagsForResourceResponse";
314
+ const _LVE = "ListVmEntitlements";
315
+ const _LVER = "ListVmEntitlementsRequest";
316
+ const _LVERi = "ListVmEntitlementsResponse";
317
+ const _NI = "NetworkInterface";
318
+ const _NIL = "NetworkInterfaceList";
319
+ const _RA = "Retry-After";
320
+ const _RNFE = "ResourceNotFoundException";
321
+ const _S = "Secret";
322
+ const _SASG = "ServiceAccessSecurityGroups";
323
+ const _SK = "SolutionKey";
324
+ const _SL = "SecretList";
325
+ const _SQEE = "ServiceQuotaExceededException";
326
+ const _TE = "ThrottlingException";
327
+ const _TMTE = "TooManyTagsException";
328
+ const _TPE = "TagPolicyException";
329
+ const _TR = "TagResource";
330
+ const _TRR = "TagResourceRequest";
331
+ const _TRRa = "TagResourceResponse";
332
+ const _UEC = "UpdateEnvironmentConnector";
333
+ const _UECR = "UpdateEnvironmentConnectorRequest";
334
+ const _UECRp = "UpdateEnvironmentConnectorResponse";
335
+ const _UR = "UntagResource";
336
+ const _URR = "UntagResourceRequest";
337
+ const _URRn = "UntagResourceResponse";
338
+ const _V = "Vlan";
339
+ const _VE = "ValidationException";
340
+ const _VEF = "ValidationExceptionField";
341
+ const _VEFL = "ValidationExceptionFieldList";
342
+ const _VEL = "VmEntitlementList";
343
+ const _VEm = "VmEntitlement";
344
+ const _VH = "VcfHostnames";
345
+ const _VL = "VlanList";
346
+ const _VSLK = "VSanLicenseKey";
347
+ const _VVI = "VcfVersionInfo";
348
+ const _VVL = "VcfVersionList";
349
+ const _aF = "applianceFqdn";
350
+ const _aI = "allocationId";
351
+ const _aIs = "associationId";
352
+ const _aZ = "availabilityZone";
353
+ const _c = "client";
354
+ const _cA = "createdAt";
355
+ const _cB = "cloudBuilder";
356
+ const _cI = "connectorId";
357
+ const _cIo = "connectivityInfo";
358
+ const _cT = "clientToken";
359
+ const _ch = "checks";
360
+ const _ci = "cidr";
361
+ const _co = "connector";
362
+ const _con = "connectors";
363
+ const _cr = "credentials";
364
+ const _dEV = "defaultEsxVersion";
365
+ const _dHI = "dedicatedHostId";
366
+ const _dU = "depotUrl";
367
+ const _e = "error";
368
+ const _eA = "environmentArn";
369
+ const _eAi = "eipAssociations";
370
+ const _eC = "errorCode";
371
+ const _eD = "errorDetail";
372
+ const _eH = "environmentHosts";
373
+ const _eI = "environmentId";
374
+ const _eII = "ec2InstanceId";
375
+ const _eM = "errorMessage";
376
+ const _eN = "environmentName";
377
+ const _eS = "environmentSummary";
378
+ const _eSn = "environmentState";
379
+ const _eSnv = "environmentStatus";
380
+ const _eSnvi = "environmentSummaries";
381
+ const _eT = "entitlementType";
382
+ const _eV = "esxVersion";
383
+ const _eVT = "edgeVTep";
384
+ const _eVn = "environmentVlans";
385
+ const _eVs = "esxVersions";
386
+ const _eVx = "expansionVlan1";
387
+ const _eVxp = "expansionVlan2";
388
+ const _en = "entitlements";
389
+ const _env = "environment";
390
+ const _fL = "fieldList";
391
+ const _fN = "functionName";
392
+ const _h = "host";
393
+ const _hE = "httpError";
394
+ const _hH = "httpHeader";
395
+ const _hN = "hostName";
396
+ const _hNAI = "hcxNetworkAclId";
397
+ const _hQ = "httpQuery";
398
+ const _hS = "hostState";
399
+ const _hc = "hcx";
400
+ const _ho = "hosts";
401
+ const _i = "id";
402
+ const _iA = "ipAddress";
403
+ const _iHP = "isHcxPublic";
404
+ const _iP = "isPublic";
405
+ const _iS = "impairedSince";
406
+ const _iT = "instanceType";
407
+ const _iTEV = "instanceTypeEsxVersions";
408
+ const _iTn = "instanceTypes";
409
+ const _iV = "initialVlans";
410
+ const _kKI = "kmsKeyId";
411
+ const _kN = "keyName";
412
+ const _lCA = "lastCheckAttempt";
413
+ const _lI = "licenseInfo";
414
+ const _lSA = "lastSyncedAt";
415
+ const _m = "message";
416
+ const _mA = "modifiedAt";
417
+ const _mR = "maxResults";
418
+ const _n = "name";
419
+ const _nAI = "networkAclId";
420
+ const _nE = "nsxEdge1";
421
+ const _nEs = "nsxEdge2";
422
+ const _nI = "networkInterfaces";
423
+ const _nII = "networkInterfaceId";
424
+ const _nM = "nsxManager1";
425
+ const _nMs = "nsxManager2";
426
+ const _nMsx = "nsxManager3";
427
+ const _nT = "nextToken";
428
+ const _nU = "nsxUplink";
429
+ const _ns = "nsx";
430
+ const _pGI = "placementGroupId";
431
+ const _pRSP = "privateRouteServerPeerings";
432
+ const _r = "reason";
433
+ const _rA = "resourceArn";
434
+ const _rAS = "retryAfterSeconds";
435
+ const _rI = "resourceId";
436
+ const _rT = "resourceType";
437
+ const _re = "result";
438
+ const _ro = "rotate";
439
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.evs";
440
+ const _sA = "secretArn";
441
+ const _sASG = "serviceAccessSecurityGroups";
442
+ const _sASI = "serviceAccessSubnetId";
443
+ const _sAt = "startedAt";
444
+ const _sAto = "stoppedAt";
445
+ const _sD = "stateDetails";
446
+ const _sG = "securityGroups";
447
+ const _sI = "secretIdentifier";
448
+ const _sIi = "siteId";
449
+ const _sIu = "subnetId";
450
+ const _sK = "solutionKey";
451
+ const _sM = "sddcManager";
452
+ const _se = "server";
453
+ const _st = "state";
454
+ const _sta = "status";
455
+ const _t = "type";
456
+ const _tA = "termsAccepted";
457
+ const _tK = "tagKeys";
458
+ const _ta = "tags";
459
+ const _to = "token";
460
+ const _v = "vlan";
461
+ const _vC = "vCenter";
462
+ const _vH = "vcfHostnames";
463
+ const _vI = "vmIds";
464
+ const _vIl = "vlanId";
465
+ const _vIm = "vmId";
466
+ const _vIp = "vpcId";
467
+ const _vK = "vsanKey";
468
+ const _vM = "vmkManagement";
469
+ const _vMm = "vmManagement";
470
+ const _vMo = "vMotion";
471
+ const _vN = "vlanName";
472
+ const _vNm = "vmName";
473
+ const _vS = "vSan";
474
+ const _vSl = "vlanState";
475
+ const _vT = "vTep";
476
+ const _vV = "vcfVersion";
477
+ const _vVc = "vcfVersions";
478
+ const n0 = "com.amazonaws.evs";
479
+ const _s_registry = TypeRegistry.for(_s);
480
+ var EvsServiceException$ = [-3, _s, "EvsServiceException", 0, [], []];
481
+ _s_registry.registerError(EvsServiceException$, EvsServiceException);
482
+ const n0_registry = TypeRegistry.for(n0);
483
+ var InternalServerException$ = [-3, n0, _ISE,
484
+ { [_e]: _se, [_hE]: 500 },
485
+ [_m],
486
+ [0], 1
487
+ ];
488
+ n0_registry.registerError(InternalServerException$, InternalServerException);
489
+ var ResourceNotFoundException$ = [-3, n0, _RNFE,
490
+ { [_e]: _c, [_hE]: 404 },
491
+ [_m, _rI, _rT],
492
+ [0, 0, 0], 3
493
+ ];
494
+ n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
495
+ var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
496
+ { [_e]: _c, [_hE]: 402 },
497
+ [_m],
498
+ [0], 1
499
+ ];
500
+ n0_registry.registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
501
+ var TagPolicyException$ = [-3, n0, _TPE,
502
+ { [_e]: _c, [_hE]: 400 },
503
+ [_m],
504
+ [0], 1
505
+ ];
506
+ n0_registry.registerError(TagPolicyException$, TagPolicyException);
507
+ var ThrottlingException$ = [-3, n0, _TE,
508
+ { [_e]: _c, [_hE]: 429 },
509
+ [_m, _rAS],
510
+ [0, [1, { [_hH]: _RA }]], 1
511
+ ];
512
+ n0_registry.registerError(ThrottlingException$, ThrottlingException);
513
+ var TooManyTagsException$ = [-3, n0, _TMTE,
514
+ { [_e]: _c, [_hE]: 400 },
515
+ [_m],
516
+ [0], 1
517
+ ];
518
+ n0_registry.registerError(TooManyTagsException$, TooManyTagsException);
519
+ var ValidationException$ = [-3, n0, _VE,
520
+ { [_e]: _c, [_hE]: 400 },
521
+ [_m, _r, _fL],
522
+ [0, 0, () => ValidationExceptionFieldList], 2
523
+ ];
524
+ n0_registry.registerError(ValidationException$, ValidationException);
525
+ const errorTypeRegistries = [
526
+ _s_registry,
527
+ n0_registry,
528
+ ];
529
+ var SolutionKey = [0, n0, _SK, 8, 0];
530
+ var VSanLicenseKey = [0, n0, _VSLK, 8, 0];
531
+ var AssociateEipToVlanRequest$ = [3, n0, _AETVR,
532
+ 0,
533
+ [_eI, _vN, _aI, _cT],
534
+ [0, 0, 0, [0, 4]], 3
535
+ ];
536
+ var AssociateEipToVlanResponse$ = [3, n0, _AETVRs,
537
+ 0,
538
+ [_v],
539
+ [() => Vlan$]
540
+ ];
541
+ var Check$ = [3, n0, _C,
542
+ 0,
543
+ [_t, _i, _re, _iS],
544
+ [0, 0, 0, 4]
545
+ ];
546
+ var ConnectivityInfo$ = [3, n0, _CI,
547
+ 0,
548
+ [_pRSP],
549
+ [64 | 0], 1
550
+ ];
551
+ var Connector$ = [3, n0, _Co,
552
+ 0,
553
+ [_eI, _cI, _t, _aF, _sA, _st, _sD, _sta, _ch, _cA, _mA],
554
+ [0, 0, 0, 0, 0, 0, 0, 0, () => ConnectorsChecksList, 4, 4]
555
+ ];
556
+ var ConnectorCheck$ = [3, n0, _CC,
557
+ 0,
558
+ [_t, _re, _lCA, _iS],
559
+ [0, 0, 4, 4]
560
+ ];
561
+ var CreateEntitlementRequest$ = [3, n0, _CER,
562
+ 0,
563
+ [_eI, _cI, _eT, _vI, _cT],
564
+ [0, 0, 0, 64 | 0, [0, 4]], 4
565
+ ];
566
+ var CreateEntitlementResponse$ = [3, n0, _CERr,
567
+ 0,
568
+ [_en],
569
+ [() => VmEntitlementList]
570
+ ];
571
+ var CreateEnvironmentConnectorRequest$ = [3, n0, _CECR,
572
+ 0,
573
+ [_eI, _t, _aF, _sI, _cT],
574
+ [[0, 1], 0, 0, 0, [0, 4]], 4
575
+ ];
576
+ var CreateEnvironmentConnectorResponse$ = [3, n0, _CECRr,
577
+ 0,
578
+ [_co],
579
+ [() => Connector$]
580
+ ];
581
+ var CreateEnvironmentHostRequest$ = [3, n0, _CEHR,
582
+ 0,
583
+ [_eI, _h, _cT, _eV],
584
+ [0, () => HostInfoForCreate$, [0, 4], 0], 2
585
+ ];
586
+ var CreateEnvironmentHostResponse$ = [3, n0, _CEHRr,
587
+ 0,
588
+ [_eS, _h],
589
+ [() => EnvironmentSummary$, () => Host$]
590
+ ];
591
+ var CreateEnvironmentRequest$ = [3, n0, _CERre,
592
+ 0,
593
+ [_vIp, _sASI, _vV, _tA, _iV, _cT, _eN, _kKI, _ta, _sASG, _cIo, _lI, _ho, _vH, _sIi],
594
+ [0, 0, 0, 2, () => InitialVlans$, [0, 4], 0, 0, 128 | 0, () => ServiceAccessSecurityGroups$, () => ConnectivityInfo$, [() => LicenseInfoList, 0], () => HostInfoForCreateList, () => VcfHostnames$, 0], 5
595
+ ];
596
+ var CreateEnvironmentResponse$ = [3, n0, _CERrea,
597
+ 0,
598
+ [_env],
599
+ [[() => Environment$, 0]]
600
+ ];
601
+ var DeleteEntitlementRequest$ = [3, n0, _DER,
602
+ 0,
603
+ [_eI, _cI, _eT, _vI, _cT],
604
+ [0, 0, 0, 64 | 0, [0, 4]], 4
605
+ ];
606
+ var DeleteEntitlementResponse$ = [3, n0, _DERe,
607
+ 0,
608
+ [_en],
609
+ [() => VmEntitlementList]
610
+ ];
611
+ var DeleteEnvironmentConnectorRequest$ = [3, n0, _DECR,
612
+ 0,
613
+ [_eI, _cI, _cT],
614
+ [[0, 1], [0, 1], [0, 4]], 2
615
+ ];
616
+ var DeleteEnvironmentConnectorResponse$ = [3, n0, _DECRe,
617
+ 0,
618
+ [_co, _eS],
619
+ [() => Connector$, () => EnvironmentSummary$]
620
+ ];
621
+ var DeleteEnvironmentHostRequest$ = [3, n0, _DEHR,
622
+ 0,
623
+ [_eI, _hN, _cT],
624
+ [0, 0, [0, 4]], 2
625
+ ];
626
+ var DeleteEnvironmentHostResponse$ = [3, n0, _DEHRe,
627
+ 0,
628
+ [_eS, _h],
629
+ [() => EnvironmentSummary$, () => Host$]
630
+ ];
631
+ var DeleteEnvironmentRequest$ = [3, n0, _DERel,
632
+ 0,
633
+ [_eI, _cT],
634
+ [[0, 1], [0, 4]], 1
635
+ ];
636
+ var DeleteEnvironmentResponse$ = [3, n0, _DERele,
637
+ 0,
638
+ [_env],
639
+ [[() => Environment$, 0]]
640
+ ];
641
+ var DisassociateEipFromVlanRequest$ = [3, n0, _DEFVR,
642
+ 0,
643
+ [_eI, _vN, _aIs, _cT],
644
+ [0, 0, 0, [0, 4]], 3
645
+ ];
646
+ var DisassociateEipFromVlanResponse$ = [3, n0, _DEFVRi,
647
+ 0,
648
+ [_v],
649
+ [() => Vlan$]
650
+ ];
651
+ var EipAssociation$ = [3, n0, _EA,
652
+ 0,
653
+ [_aIs, _aI, _iA],
654
+ [0, 0, 0]
655
+ ];
656
+ var Environment$ = [3, n0, _E,
657
+ 0,
658
+ [_eI, _eSn, _sD, _cA, _mA, _eA, _eN, _vIp, _sASI, _vV, _tA, _lI, _sIi, _eSnv, _ch, _cIo, _vH, _kKI, _sASG, _cr],
659
+ [0, 0, 0, 4, 4, 0, 0, 0, 0, 0, 2, [() => LicenseInfoList, 0], 0, 0, () => ChecksList, () => ConnectivityInfo$, () => VcfHostnames$, 0, () => ServiceAccessSecurityGroups$, () => SecretList]
660
+ ];
661
+ var EnvironmentSummary$ = [3, n0, _ES,
662
+ 0,
663
+ [_eI, _eN, _vV, _eSnv, _eSn, _cA, _mA, _eA],
664
+ [0, 0, 0, 0, 0, 4, 4, 0]
665
+ ];
666
+ var ErrorDetail$ = [3, n0, _ED,
667
+ 0,
668
+ [_eC, _eM],
669
+ [0, 0], 2
670
+ ];
671
+ var GetDepotUrlRequest$ = [3, n0, _GDUR,
672
+ 0,
673
+ [_eI, _ro],
674
+ [[0, 1], 2], 1
675
+ ];
676
+ var GetDepotUrlResponse$ = [3, n0, _GDURe,
677
+ 0,
678
+ [_dU, _to],
679
+ [0, 0], 2
680
+ ];
681
+ var GetEnvironmentRequest$ = [3, n0, _GER,
682
+ 0,
683
+ [_eI],
684
+ [[0, 1]], 1
685
+ ];
686
+ var GetEnvironmentResponse$ = [3, n0, _GERe,
687
+ 0,
688
+ [_env],
689
+ [[() => Environment$, 0]]
690
+ ];
691
+ var GetVersionsRequest$ = [3, n0, _GVR,
692
+ 0,
693
+ [],
694
+ []
695
+ ];
696
+ var GetVersionsResponse$ = [3, n0, _GVRe,
697
+ 0,
698
+ [_vVc, _iTEV],
699
+ [() => VcfVersionList, () => InstanceTypeEsxVersionsList], 2
700
+ ];
701
+ var Host$ = [3, n0, _H,
702
+ 0,
703
+ [_hN, _iA, _kN, _iT, _pGI, _dHI, _cA, _mA, _hS, _sD, _eII, _nI],
704
+ [0, 0, 0, 0, 0, 0, 4, 4, 0, 0, 0, () => NetworkInterfaceList]
705
+ ];
706
+ var HostInfoForCreate$ = [3, n0, _HIFC,
707
+ 0,
708
+ [_hN, _kN, _iT, _pGI, _dHI],
709
+ [0, 0, 0, 0, 0], 3
710
+ ];
711
+ var InitialVlanInfo$ = [3, n0, _IVI,
712
+ 0,
713
+ [_ci],
714
+ [0], 1
715
+ ];
716
+ var InitialVlans$ = [3, n0, _IV,
717
+ 0,
718
+ [_vM, _vMm, _vMo, _vS, _vT, _eVT, _nU, _hc, _eVx, _eVxp, _iHP, _hNAI],
719
+ [() => InitialVlanInfo$, () => InitialVlanInfo$, () => InitialVlanInfo$, () => InitialVlanInfo$, () => InitialVlanInfo$, () => InitialVlanInfo$, () => InitialVlanInfo$, () => InitialVlanInfo$, () => InitialVlanInfo$, () => InitialVlanInfo$, 2, 0], 10
720
+ ];
721
+ var InstanceTypeEsxVersionsInfo$ = [3, n0, _ITEVI,
722
+ 0,
723
+ [_iT, _eVs],
724
+ [0, 64 | 0], 2
725
+ ];
726
+ var LicenseInfo$ = [3, n0, _LI,
727
+ 0,
728
+ [_sK, _vK],
729
+ [[() => SolutionKey, 0], [() => VSanLicenseKey, 0]], 2
730
+ ];
731
+ var ListEnvironmentConnectorsRequest$ = [3, n0, _LECR,
732
+ 0,
733
+ [_eI, _nT, _mR],
734
+ [[0, 1], [0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }]], 1
735
+ ];
736
+ var ListEnvironmentConnectorsResponse$ = [3, n0, _LECRi,
737
+ 0,
738
+ [_nT, _con],
739
+ [0, () => ConnectorList]
740
+ ];
741
+ var ListEnvironmentHostsRequest$ = [3, n0, _LEHR,
742
+ 0,
743
+ [_eI, _nT, _mR],
744
+ [[0, 1], [0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }]], 1
745
+ ];
746
+ var ListEnvironmentHostsResponse$ = [3, n0, _LEHRi,
747
+ 0,
748
+ [_nT, _eH],
749
+ [0, () => HostList]
750
+ ];
751
+ var ListEnvironmentsRequest$ = [3, n0, _LER,
752
+ 0,
753
+ [_nT, _mR, _st],
754
+ [[0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }], [64 | 0, { [_hQ]: _st }]]
755
+ ];
756
+ var ListEnvironmentsResponse$ = [3, n0, _LERi,
757
+ 0,
758
+ [_nT, _eSnvi],
759
+ [0, () => EnvironmentSummaryList]
760
+ ];
761
+ var ListEnvironmentVlansRequest$ = [3, n0, _LEVR,
762
+ 0,
763
+ [_eI, _nT, _mR],
764
+ [[0, 1], [0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }]], 1
765
+ ];
766
+ var ListEnvironmentVlansResponse$ = [3, n0, _LEVRi,
767
+ 0,
768
+ [_nT, _eVn],
769
+ [0, () => VlanList]
770
+ ];
771
+ var ListTagsForResourceRequest$ = [3, n0, _LTFRR,
772
+ 0,
773
+ [_rA],
774
+ [0], 1
775
+ ];
776
+ var ListTagsForResourceResponse$ = [3, n0, _LTFRRi,
777
+ 0,
778
+ [_ta],
779
+ [128 | 0]
780
+ ];
781
+ var ListVmEntitlementsRequest$ = [3, n0, _LVER,
782
+ 0,
783
+ [_eI, _cI, _eT, _nT, _mR],
784
+ [0, 0, 0, [0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }]], 3
785
+ ];
786
+ var ListVmEntitlementsResponse$ = [3, n0, _LVERi,
787
+ 0,
788
+ [_nT, _en],
789
+ [0, () => VmEntitlementList]
790
+ ];
791
+ var NetworkInterface$ = [3, n0, _NI,
792
+ 0,
793
+ [_nII],
794
+ [0]
795
+ ];
796
+ var Secret$ = [3, n0, _S,
797
+ 0,
798
+ [_sA],
799
+ [0]
800
+ ];
801
+ var ServiceAccessSecurityGroups$ = [3, n0, _SASG,
802
+ 0,
803
+ [_sG],
804
+ [64 | 0]
805
+ ];
806
+ var TagResourceRequest$ = [3, n0, _TRR,
807
+ 0,
808
+ [_rA, _ta],
809
+ [0, 128 | 0], 2
810
+ ];
811
+ var TagResourceResponse$ = [3, n0, _TRRa,
812
+ 0,
813
+ [],
814
+ []
815
+ ];
816
+ var UntagResourceRequest$ = [3, n0, _URR,
817
+ 0,
818
+ [_rA, _tK],
819
+ [0, 64 | 0], 2
820
+ ];
821
+ var UntagResourceResponse$ = [3, n0, _URRn,
822
+ 0,
823
+ [],
824
+ []
825
+ ];
826
+ var UpdateEnvironmentConnectorRequest$ = [3, n0, _UECR,
827
+ 0,
828
+ [_eI, _cI, _cT, _aF, _sI],
829
+ [[0, 1], [0, 1], [0, 4], 0, 0], 2
830
+ ];
831
+ var UpdateEnvironmentConnectorResponse$ = [3, n0, _UECRp,
832
+ 0,
833
+ [_co],
834
+ [() => Connector$]
835
+ ];
836
+ var ValidationExceptionField$ = [3, n0, _VEF,
837
+ 0,
838
+ [_n, _m],
839
+ [0, 0], 2
840
+ ];
841
+ var VcfHostnames$ = [3, n0, _VH,
842
+ 0,
843
+ [_vC, _ns, _nM, _nMs, _nMsx, _nE, _nEs, _sM, _cB],
844
+ [0, 0, 0, 0, 0, 0, 0, 0, 0], 9
845
+ ];
846
+ var VcfVersionInfo$ = [3, n0, _VVI,
847
+ 0,
848
+ [_vV, _sta, _dEV, _iTn],
849
+ [0, 0, 0, 64 | 0], 4
850
+ ];
851
+ var Vlan$ = [3, n0, _V,
852
+ 0,
853
+ [_vIl, _ci, _aZ, _fN, _sIu, _cA, _mA, _vSl, _sD, _eAi, _iP, _nAI],
854
+ [1, 0, 0, 0, 0, 4, 4, 0, 0, () => EipAssociationList, 2, 0]
855
+ ];
856
+ var VmEntitlement$ = [3, n0, _VEm,
857
+ 0,
858
+ [_vIm, _eI, _cI, _vNm, _t, _sta, _lSA, _sAt, _sAto, _eD],
859
+ [0, 0, 0, 0, 0, 0, 4, 4, 4, () => ErrorDetail$]
860
+ ];
861
+ var ChecksList = [1, n0, _CL,
862
+ 0, () => Check$
863
+ ];
864
+ var ConnectorList = [1, n0, _CLo,
865
+ 0, () => Connector$
866
+ ];
867
+ var ConnectorsChecksList = [1, n0, _CCL,
868
+ 0, () => ConnectorCheck$
869
+ ];
870
+ var EipAssociationList = [1, n0, _EAL,
871
+ 0, () => EipAssociation$
872
+ ];
873
+ var EnvironmentSummaryList = [1, n0, _ESL,
874
+ 0, () => EnvironmentSummary$
875
+ ];
876
+ var HostInfoForCreateList = [1, n0, _HIFCL,
877
+ 0, () => HostInfoForCreate$
878
+ ];
879
+ var HostList = [1, n0, _HL,
880
+ 0, () => Host$
881
+ ];
882
+ var InstanceTypeEsxVersionsList = [1, n0, _ITEVL,
883
+ 0, () => InstanceTypeEsxVersionsInfo$
884
+ ];
885
+ var LicenseInfoList = [1, n0, _LIL,
886
+ 0, [() => LicenseInfo$,
887
+ 0]
888
+ ];
889
+ var NetworkInterfaceList = [1, n0, _NIL,
890
+ 0, () => NetworkInterface$
891
+ ];
892
+ var SecretList = [1, n0, _SL,
893
+ 0, () => Secret$
894
+ ];
895
+ var ValidationExceptionFieldList = [1, n0, _VEFL,
896
+ 0, () => ValidationExceptionField$
897
+ ];
898
+ var VcfVersionList = [1, n0, _VVL,
899
+ 0, () => VcfVersionInfo$
900
+ ];
901
+ var VlanList = [1, n0, _VL,
902
+ 0, () => Vlan$
903
+ ];
904
+ var VmEntitlementList = [1, n0, _VEL,
905
+ 0, () => VmEntitlement$
906
+ ];
907
+ var AssociateEipToVlan$ = [9, n0, _AETV,
908
+ 2, () => AssociateEipToVlanRequest$, () => AssociateEipToVlanResponse$
909
+ ];
910
+ var CreateEntitlement$ = [9, n0, _CE,
911
+ 2, () => CreateEntitlementRequest$, () => CreateEntitlementResponse$
912
+ ];
913
+ var CreateEnvironment$ = [9, n0, _CEr,
914
+ 2, () => CreateEnvironmentRequest$, () => CreateEnvironmentResponse$
915
+ ];
916
+ var CreateEnvironmentConnector$ = [9, n0, _CEC,
917
+ 2, () => CreateEnvironmentConnectorRequest$, () => CreateEnvironmentConnectorResponse$
918
+ ];
919
+ var CreateEnvironmentHost$ = [9, n0, _CEH,
920
+ 2, () => CreateEnvironmentHostRequest$, () => CreateEnvironmentHostResponse$
921
+ ];
922
+ var DeleteEntitlement$ = [9, n0, _DE,
923
+ 2, () => DeleteEntitlementRequest$, () => DeleteEntitlementResponse$
924
+ ];
925
+ var DeleteEnvironment$ = [9, n0, _DEe,
926
+ 2, () => DeleteEnvironmentRequest$, () => DeleteEnvironmentResponse$
927
+ ];
928
+ var DeleteEnvironmentConnector$ = [9, n0, _DEC,
929
+ 2, () => DeleteEnvironmentConnectorRequest$, () => DeleteEnvironmentConnectorResponse$
930
+ ];
931
+ var DeleteEnvironmentHost$ = [9, n0, _DEH,
932
+ 2, () => DeleteEnvironmentHostRequest$, () => DeleteEnvironmentHostResponse$
933
+ ];
934
+ var DisassociateEipFromVlan$ = [9, n0, _DEFV,
935
+ 2, () => DisassociateEipFromVlanRequest$, () => DisassociateEipFromVlanResponse$
936
+ ];
937
+ var GetDepotUrl$ = [9, n0, _GDU,
938
+ 0, () => GetDepotUrlRequest$, () => GetDepotUrlResponse$
939
+ ];
940
+ var GetEnvironment$ = [9, n0, _GE,
941
+ 0, () => GetEnvironmentRequest$, () => GetEnvironmentResponse$
942
+ ];
943
+ var GetVersions$ = [9, n0, _GV,
944
+ 0, () => GetVersionsRequest$, () => GetVersionsResponse$
945
+ ];
946
+ var ListEnvironmentConnectors$ = [9, n0, _LEC,
947
+ 0, () => ListEnvironmentConnectorsRequest$, () => ListEnvironmentConnectorsResponse$
948
+ ];
949
+ var ListEnvironmentHosts$ = [9, n0, _LEH,
950
+ 0, () => ListEnvironmentHostsRequest$, () => ListEnvironmentHostsResponse$
951
+ ];
952
+ var ListEnvironments$ = [9, n0, _LE,
953
+ 0, () => ListEnvironmentsRequest$, () => ListEnvironmentsResponse$
954
+ ];
955
+ var ListEnvironmentVlans$ = [9, n0, _LEV,
956
+ 0, () => ListEnvironmentVlansRequest$, () => ListEnvironmentVlansResponse$
957
+ ];
958
+ var ListTagsForResource$ = [9, n0, _LTFR,
959
+ 0, () => ListTagsForResourceRequest$, () => ListTagsForResourceResponse$
960
+ ];
961
+ var ListVmEntitlements$ = [9, n0, _LVE,
962
+ 0, () => ListVmEntitlementsRequest$, () => ListVmEntitlementsResponse$
963
+ ];
964
+ var TagResource$ = [9, n0, _TR,
965
+ 2, () => TagResourceRequest$, () => TagResourceResponse$
966
+ ];
967
+ var UntagResource$ = [9, n0, _UR,
968
+ 2, () => UntagResourceRequest$, () => UntagResourceResponse$
969
+ ];
970
+ var UpdateEnvironmentConnector$ = [9, n0, _UEC,
971
+ 2, () => UpdateEnvironmentConnectorRequest$, () => UpdateEnvironmentConnectorResponse$
972
+ ];
973
+
974
+ const getRuntimeConfig$1 = (config) => {
975
+ return {
976
+ apiVersion: "2023-07-27",
977
+ base64Decoder: config?.base64Decoder ?? fromBase64,
978
+ base64Encoder: config?.base64Encoder ?? toBase64,
979
+ disableHostPrefix: config?.disableHostPrefix ?? false,
980
+ endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
981
+ extensions: config?.extensions ?? [],
982
+ httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultEvsHttpAuthSchemeProvider,
983
+ httpAuthSchemes: config?.httpAuthSchemes ?? [
984
+ {
985
+ schemeId: "aws.auth#sigv4",
986
+ identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
987
+ signer: new AwsSdkSigV4Signer(),
988
+ },
989
+ ],
990
+ logger: config?.logger ?? new NoOpLogger(),
991
+ protocol: config?.protocol ?? AwsJson1_0Protocol,
992
+ protocolSettings: config?.protocolSettings ?? {
993
+ defaultNamespace: "com.amazonaws.evs",
994
+ errorTypeRegistries,
995
+ version: "2023-07-27",
996
+ serviceTarget: "AmazonElasticVMwareService",
997
+ },
998
+ serviceId: config?.serviceId ?? "evs",
999
+ urlParser: config?.urlParser ?? parseUrl,
1000
+ utf8Decoder: config?.utf8Decoder ?? fromUtf8,
1001
+ utf8Encoder: config?.utf8Encoder ?? toUtf8,
1002
+ };
1003
+ };
1004
+
1005
+ const getRuntimeConfig = (config) => {
1006
+ emitWarningIfUnsupportedVersion(process.version);
1007
+ const defaultsMode = resolveDefaultsModeConfig(config);
1008
+ const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
1009
+ const clientSharedValues = getRuntimeConfig$1(config);
1010
+ emitWarningIfUnsupportedVersion$1(process.version);
1011
+ const loaderConfig = {
1012
+ profile: config?.profile,
1013
+ logger: clientSharedValues.logger,
1014
+ };
1015
+ return {
1016
+ ...clientSharedValues,
1017
+ ...config,
1018
+ runtime: "node",
1019
+ defaultsMode,
1020
+ authSchemePreference: config?.authSchemePreference ?? loadConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
1021
+ bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
1022
+ credentialDefaultProvider: config?.credentialDefaultProvider ?? defaultProvider,
1023
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
1024
+ maxAttempts: config?.maxAttempts ?? loadConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
1025
+ region: config?.region ?? loadConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
1026
+ requestHandler: NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
1027
+ retryMode: config?.retryMode ??
1028
+ loadConfig({
1029
+ ...NODE_RETRY_MODE_CONFIG_OPTIONS,
1030
+ default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
1031
+ }, config),
1032
+ sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
1033
+ streamCollector: config?.streamCollector ?? streamCollector,
1034
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
1035
+ useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
1036
+ userAgentAppId: config?.userAgentAppId ?? loadConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
1037
+ };
1038
+ };
1039
+
34
1040
  const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
35
1041
  const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
36
1042
  let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
@@ -449,6 +1455,7 @@ const _InstanceType = {
449
1455
  I7I_METAL_24XL: "i7i.metal-24xl",
450
1456
  };
451
1457
  const VcfVersion = {
1458
+ SELF_DEPLOYED: "SELF_DEPLOYED",
452
1459
  VCF_5_2_1: "VCF-5.2.1",
453
1460
  VCF_5_2_2: "VCF-5.2.2",
454
1461
  };
@@ -458,10 +1465,16 @@ const CheckResult = {
458
1465
  UNKNOWN: "UNKNOWN",
459
1466
  };
460
1467
  const CheckType = {
1468
+ CONNECTOR_HEALTH: "CONNECTOR_HEALTH",
461
1469
  HOST_COUNT: "HOST_COUNT",
462
1470
  KEY_COVERAGE: "KEY_COVERAGE",
463
1471
  KEY_REUSE: "KEY_REUSE",
1472
+ OPERATIONS_MANAGER_REACHABILITY: "OPERATIONS_MANAGER_REACHABILITY",
464
1473
  REACHABILITY: "REACHABILITY",
1474
+ SDDC_MANAGER_HOST_COUNT: "SDDC_MANAGER_HOST_COUNT",
1475
+ SDDC_MANAGER_KEY_COVERAGE: "SDDC_MANAGER_KEY_COVERAGE",
1476
+ SDDC_MANAGER_KEY_REUSE: "SDDC_MANAGER_KEY_REUSE",
1477
+ SDDC_MANAGER_REACHABILITY: "SDDC_MANAGER_REACHABILITY",
465
1478
  VCENTER_REACHABILITY: "VCENTER_REACHABILITY",
466
1479
  VCENTER_VM_EVENT: "VCENTER_VM_EVENT",
467
1480
  VCENTER_VM_SYNC: "VCENTER_VM_SYNC",
@@ -474,6 +1487,8 @@ const EnvironmentState = {
474
1487
  DELETING: "DELETING",
475
1488
  };
476
1489
  const ConnectorType = {
1490
+ OPERATIONS_MANAGER: "OPERATIONS_MANAGER",
1491
+ SDDC_MANAGER: "SDDC_MANAGER",
477
1492
  VCENTER: "VCENTER",
478
1493
  };
479
1494
  const ConnectorState = {
@@ -495,42 +1510,147 @@ const HostState = {
495
1510
  UPDATING: "UPDATING",
496
1511
  };
497
1512
 
1513
+ exports.AssociateEipToVlan$ = AssociateEipToVlan$;
498
1514
  exports.AssociateEipToVlanCommand = AssociateEipToVlanCommand;
1515
+ exports.AssociateEipToVlanRequest$ = AssociateEipToVlanRequest$;
1516
+ exports.AssociateEipToVlanResponse$ = AssociateEipToVlanResponse$;
1517
+ exports.Check$ = Check$;
499
1518
  exports.CheckResult = CheckResult;
500
1519
  exports.CheckType = CheckType;
1520
+ exports.ConnectivityInfo$ = ConnectivityInfo$;
1521
+ exports.Connector$ = Connector$;
1522
+ exports.ConnectorCheck$ = ConnectorCheck$;
501
1523
  exports.ConnectorState = ConnectorState;
502
1524
  exports.ConnectorType = ConnectorType;
1525
+ exports.CreateEntitlement$ = CreateEntitlement$;
503
1526
  exports.CreateEntitlementCommand = CreateEntitlementCommand;
1527
+ exports.CreateEntitlementRequest$ = CreateEntitlementRequest$;
1528
+ exports.CreateEntitlementResponse$ = CreateEntitlementResponse$;
1529
+ exports.CreateEnvironment$ = CreateEnvironment$;
504
1530
  exports.CreateEnvironmentCommand = CreateEnvironmentCommand;
1531
+ exports.CreateEnvironmentConnector$ = CreateEnvironmentConnector$;
505
1532
  exports.CreateEnvironmentConnectorCommand = CreateEnvironmentConnectorCommand;
1533
+ exports.CreateEnvironmentConnectorRequest$ = CreateEnvironmentConnectorRequest$;
1534
+ exports.CreateEnvironmentConnectorResponse$ = CreateEnvironmentConnectorResponse$;
1535
+ exports.CreateEnvironmentHost$ = CreateEnvironmentHost$;
506
1536
  exports.CreateEnvironmentHostCommand = CreateEnvironmentHostCommand;
1537
+ exports.CreateEnvironmentHostRequest$ = CreateEnvironmentHostRequest$;
1538
+ exports.CreateEnvironmentHostResponse$ = CreateEnvironmentHostResponse$;
1539
+ exports.CreateEnvironmentRequest$ = CreateEnvironmentRequest$;
1540
+ exports.CreateEnvironmentResponse$ = CreateEnvironmentResponse$;
1541
+ exports.DeleteEntitlement$ = DeleteEntitlement$;
507
1542
  exports.DeleteEntitlementCommand = DeleteEntitlementCommand;
1543
+ exports.DeleteEntitlementRequest$ = DeleteEntitlementRequest$;
1544
+ exports.DeleteEntitlementResponse$ = DeleteEntitlementResponse$;
1545
+ exports.DeleteEnvironment$ = DeleteEnvironment$;
508
1546
  exports.DeleteEnvironmentCommand = DeleteEnvironmentCommand;
1547
+ exports.DeleteEnvironmentConnector$ = DeleteEnvironmentConnector$;
509
1548
  exports.DeleteEnvironmentConnectorCommand = DeleteEnvironmentConnectorCommand;
1549
+ exports.DeleteEnvironmentConnectorRequest$ = DeleteEnvironmentConnectorRequest$;
1550
+ exports.DeleteEnvironmentConnectorResponse$ = DeleteEnvironmentConnectorResponse$;
1551
+ exports.DeleteEnvironmentHost$ = DeleteEnvironmentHost$;
510
1552
  exports.DeleteEnvironmentHostCommand = DeleteEnvironmentHostCommand;
1553
+ exports.DeleteEnvironmentHostRequest$ = DeleteEnvironmentHostRequest$;
1554
+ exports.DeleteEnvironmentHostResponse$ = DeleteEnvironmentHostResponse$;
1555
+ exports.DeleteEnvironmentRequest$ = DeleteEnvironmentRequest$;
1556
+ exports.DeleteEnvironmentResponse$ = DeleteEnvironmentResponse$;
1557
+ exports.DisassociateEipFromVlan$ = DisassociateEipFromVlan$;
511
1558
  exports.DisassociateEipFromVlanCommand = DisassociateEipFromVlanCommand;
1559
+ exports.DisassociateEipFromVlanRequest$ = DisassociateEipFromVlanRequest$;
1560
+ exports.DisassociateEipFromVlanResponse$ = DisassociateEipFromVlanResponse$;
1561
+ exports.EipAssociation$ = EipAssociation$;
512
1562
  exports.EntitlementStatus = EntitlementStatus;
513
1563
  exports.EntitlementType = EntitlementType;
1564
+ exports.Environment$ = Environment$;
514
1565
  exports.EnvironmentState = EnvironmentState;
1566
+ exports.EnvironmentSummary$ = EnvironmentSummary$;
1567
+ exports.ErrorDetail$ = ErrorDetail$;
515
1568
  exports.Evs = Evs;
516
1569
  exports.EvsClient = EvsClient;
1570
+ exports.EvsServiceException = EvsServiceException;
1571
+ exports.EvsServiceException$ = EvsServiceException$;
1572
+ exports.GetDepotUrl$ = GetDepotUrl$;
517
1573
  exports.GetDepotUrlCommand = GetDepotUrlCommand;
1574
+ exports.GetDepotUrlRequest$ = GetDepotUrlRequest$;
1575
+ exports.GetDepotUrlResponse$ = GetDepotUrlResponse$;
1576
+ exports.GetEnvironment$ = GetEnvironment$;
518
1577
  exports.GetEnvironmentCommand = GetEnvironmentCommand;
1578
+ exports.GetEnvironmentRequest$ = GetEnvironmentRequest$;
1579
+ exports.GetEnvironmentResponse$ = GetEnvironmentResponse$;
1580
+ exports.GetVersions$ = GetVersions$;
519
1581
  exports.GetVersionsCommand = GetVersionsCommand;
1582
+ exports.GetVersionsRequest$ = GetVersionsRequest$;
1583
+ exports.GetVersionsResponse$ = GetVersionsResponse$;
1584
+ exports.Host$ = Host$;
1585
+ exports.HostInfoForCreate$ = HostInfoForCreate$;
520
1586
  exports.HostState = HostState;
1587
+ exports.InitialVlanInfo$ = InitialVlanInfo$;
1588
+ exports.InitialVlans$ = InitialVlans$;
1589
+ exports.InstanceTypeEsxVersionsInfo$ = InstanceTypeEsxVersionsInfo$;
1590
+ exports.InternalServerException = InternalServerException;
1591
+ exports.InternalServerException$ = InternalServerException$;
1592
+ exports.LicenseInfo$ = LicenseInfo$;
1593
+ exports.ListEnvironmentConnectors$ = ListEnvironmentConnectors$;
521
1594
  exports.ListEnvironmentConnectorsCommand = ListEnvironmentConnectorsCommand;
1595
+ exports.ListEnvironmentConnectorsRequest$ = ListEnvironmentConnectorsRequest$;
1596
+ exports.ListEnvironmentConnectorsResponse$ = ListEnvironmentConnectorsResponse$;
1597
+ exports.ListEnvironmentHosts$ = ListEnvironmentHosts$;
522
1598
  exports.ListEnvironmentHostsCommand = ListEnvironmentHostsCommand;
1599
+ exports.ListEnvironmentHostsRequest$ = ListEnvironmentHostsRequest$;
1600
+ exports.ListEnvironmentHostsResponse$ = ListEnvironmentHostsResponse$;
1601
+ exports.ListEnvironmentVlans$ = ListEnvironmentVlans$;
523
1602
  exports.ListEnvironmentVlansCommand = ListEnvironmentVlansCommand;
1603
+ exports.ListEnvironmentVlansRequest$ = ListEnvironmentVlansRequest$;
1604
+ exports.ListEnvironmentVlansResponse$ = ListEnvironmentVlansResponse$;
1605
+ exports.ListEnvironments$ = ListEnvironments$;
524
1606
  exports.ListEnvironmentsCommand = ListEnvironmentsCommand;
1607
+ exports.ListEnvironmentsRequest$ = ListEnvironmentsRequest$;
1608
+ exports.ListEnvironmentsResponse$ = ListEnvironmentsResponse$;
1609
+ exports.ListTagsForResource$ = ListTagsForResource$;
525
1610
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
1611
+ exports.ListTagsForResourceRequest$ = ListTagsForResourceRequest$;
1612
+ exports.ListTagsForResourceResponse$ = ListTagsForResourceResponse$;
1613
+ exports.ListVmEntitlements$ = ListVmEntitlements$;
526
1614
  exports.ListVmEntitlementsCommand = ListVmEntitlementsCommand;
1615
+ exports.ListVmEntitlementsRequest$ = ListVmEntitlementsRequest$;
1616
+ exports.ListVmEntitlementsResponse$ = ListVmEntitlementsResponse$;
1617
+ exports.NetworkInterface$ = NetworkInterface$;
1618
+ exports.ResourceNotFoundException = ResourceNotFoundException;
1619
+ exports.ResourceNotFoundException$ = ResourceNotFoundException$;
1620
+ exports.Secret$ = Secret$;
1621
+ exports.ServiceAccessSecurityGroups$ = ServiceAccessSecurityGroups$;
1622
+ exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
1623
+ exports.ServiceQuotaExceededException$ = ServiceQuotaExceededException$;
1624
+ exports.TagPolicyException = TagPolicyException;
1625
+ exports.TagPolicyException$ = TagPolicyException$;
1626
+ exports.TagResource$ = TagResource$;
527
1627
  exports.TagResourceCommand = TagResourceCommand;
1628
+ exports.TagResourceRequest$ = TagResourceRequest$;
1629
+ exports.TagResourceResponse$ = TagResourceResponse$;
1630
+ exports.ThrottlingException = ThrottlingException;
1631
+ exports.ThrottlingException$ = ThrottlingException$;
1632
+ exports.TooManyTagsException = TooManyTagsException;
1633
+ exports.TooManyTagsException$ = TooManyTagsException$;
1634
+ exports.UntagResource$ = UntagResource$;
528
1635
  exports.UntagResourceCommand = UntagResourceCommand;
1636
+ exports.UntagResourceRequest$ = UntagResourceRequest$;
1637
+ exports.UntagResourceResponse$ = UntagResourceResponse$;
1638
+ exports.UpdateEnvironmentConnector$ = UpdateEnvironmentConnector$;
529
1639
  exports.UpdateEnvironmentConnectorCommand = UpdateEnvironmentConnectorCommand;
1640
+ exports.UpdateEnvironmentConnectorRequest$ = UpdateEnvironmentConnectorRequest$;
1641
+ exports.UpdateEnvironmentConnectorResponse$ = UpdateEnvironmentConnectorResponse$;
1642
+ exports.ValidationException = ValidationException;
1643
+ exports.ValidationException$ = ValidationException$;
1644
+ exports.ValidationExceptionField$ = ValidationExceptionField$;
530
1645
  exports.ValidationExceptionReason = ValidationExceptionReason;
1646
+ exports.VcfHostnames$ = VcfHostnames$;
531
1647
  exports.VcfVersion = VcfVersion;
1648
+ exports.VcfVersionInfo$ = VcfVersionInfo$;
1649
+ exports.Vlan$ = Vlan$;
532
1650
  exports.VlanState = VlanState;
1651
+ exports.VmEntitlement$ = VmEntitlement$;
533
1652
  exports._InstanceType = _InstanceType;
1653
+ exports.errorTypeRegistries = errorTypeRegistries;
534
1654
  exports.paginateListEnvironmentConnectors = paginateListEnvironmentConnectors;
535
1655
  exports.paginateListEnvironmentHosts = paginateListEnvironmentHosts;
536
1656
  exports.paginateListEnvironmentVlans = paginateListEnvironmentVlans;