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