@aws-sdk/client-evs 3.968.0 → 3.970.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -0
- package/dist-cjs/index.js +125 -39
- package/dist-es/Evs.js +2 -0
- package/dist-es/commands/GetVersionsCommand.js +16 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/enums.js +1 -0
- package/dist-es/models/errors.js +13 -0
- package/dist-es/schemas/schemas_0.js +93 -40
- package/dist-types/Evs.d.ts +8 -0
- package/dist-types/EvsClient.d.ts +3 -2
- package/dist-types/commands/AssociateEipToVlanCommand.d.ts +1 -1
- package/dist-types/commands/CreateEnvironmentCommand.d.ts +3 -3
- package/dist-types/commands/CreateEnvironmentHostCommand.d.ts +4 -3
- package/dist-types/commands/DeleteEnvironmentCommand.d.ts +1 -1
- package/dist-types/commands/DeleteEnvironmentHostCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateEipFromVlanCommand.d.ts +1 -1
- package/dist-types/commands/GetEnvironmentCommand.d.ts +1 -1
- package/dist-types/commands/GetVersionsCommand.d.ts +95 -0
- package/dist-types/commands/ListEnvironmentsCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/enums.d.ts +1 -0
- package/dist-types/models/errors.d.ts +14 -1
- package/dist-types/models/models_0.d.ts +77 -10
- package/dist-types/schemas/schemas_0.d.ts +6 -0
- package/dist-types/ts3.4/Evs.d.ts +18 -0
- package/dist-types/ts3.4/EvsClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/GetVersionsCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/enums.d.ts +1 -0
- package/dist-types/ts3.4/models/errors.d.ts +8 -0
- package/dist-types/ts3.4/models/models_0.d.ts +16 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +6 -0
- package/package.json +33 -33
package/README.md
CHANGED
|
@@ -250,6 +250,13 @@ GetEnvironment
|
|
|
250
250
|
</details>
|
|
251
251
|
<details>
|
|
252
252
|
<summary>
|
|
253
|
+
GetVersions
|
|
254
|
+
</summary>
|
|
255
|
+
|
|
256
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/evs/command/GetVersionsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-evs/Interface/GetVersionsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-evs/Interface/GetVersionsCommandOutput/)
|
|
257
|
+
</details>
|
|
258
|
+
<details>
|
|
259
|
+
<summary>
|
|
253
260
|
ListEnvironmentHosts
|
|
254
261
|
</summary>
|
|
255
262
|
|
package/dist-cjs/index.js
CHANGED
|
@@ -164,6 +164,19 @@ class ValidationException extends EvsServiceException {
|
|
|
164
164
|
this.fieldList = opts.fieldList;
|
|
165
165
|
}
|
|
166
166
|
}
|
|
167
|
+
class InternalServerException extends EvsServiceException {
|
|
168
|
+
name = "InternalServerException";
|
|
169
|
+
$fault = "server";
|
|
170
|
+
$retryable = {};
|
|
171
|
+
constructor(opts) {
|
|
172
|
+
super({
|
|
173
|
+
name: "InternalServerException",
|
|
174
|
+
$fault: "server",
|
|
175
|
+
...opts,
|
|
176
|
+
});
|
|
177
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
178
|
+
}
|
|
179
|
+
}
|
|
167
180
|
class ServiceQuotaExceededException extends EvsServiceException {
|
|
168
181
|
name = "ServiceQuotaExceededException";
|
|
169
182
|
$fault = "client";
|
|
@@ -230,10 +243,16 @@ const _ESL = "EnvironmentSummaryList";
|
|
|
230
243
|
const _GE = "GetEnvironment";
|
|
231
244
|
const _GER = "GetEnvironmentRequest";
|
|
232
245
|
const _GERe = "GetEnvironmentResponse";
|
|
246
|
+
const _GV = "GetVersions";
|
|
247
|
+
const _GVR = "GetVersionsRequest";
|
|
248
|
+
const _GVRe = "GetVersionsResponse";
|
|
233
249
|
const _H = "Host";
|
|
234
250
|
const _HIFC = "HostInfoForCreate";
|
|
235
251
|
const _HIFCL = "HostInfoForCreateList";
|
|
236
252
|
const _HL = "HostList";
|
|
253
|
+
const _ISE = "InternalServerException";
|
|
254
|
+
const _ITEVI = "InstanceTypeEsxVersionsInfo";
|
|
255
|
+
const _ITEVL = "InstanceTypeEsxVersionsList";
|
|
237
256
|
const _IV = "InitialVlans";
|
|
238
257
|
const _IVI = "InitialVlanInfo";
|
|
239
258
|
const _LE = "ListEnvironments";
|
|
@@ -273,6 +292,8 @@ const _VEF = "ValidationExceptionField";
|
|
|
273
292
|
const _VEFL = "ValidationExceptionFieldList";
|
|
274
293
|
const _VH = "VcfHostnames";
|
|
275
294
|
const _VL = "VlanList";
|
|
295
|
+
const _VVI = "VcfVersionInfo";
|
|
296
|
+
const _VVL = "VcfVersionList";
|
|
276
297
|
const _aI = "allocationId";
|
|
277
298
|
const _aIs = "associationId";
|
|
278
299
|
const _aZ = "availabilityZone";
|
|
@@ -284,6 +305,7 @@ const _cT = "clientToken";
|
|
|
284
305
|
const _ci = "cidr";
|
|
285
306
|
const _cl = "client";
|
|
286
307
|
const _cr = "credentials";
|
|
308
|
+
const _dEV = "defaultEsxVersion";
|
|
287
309
|
const _dHI = "dedicatedHostId";
|
|
288
310
|
const _e = "environment";
|
|
289
311
|
const _eA = "environmentArn";
|
|
@@ -296,10 +318,12 @@ const _eS = "environmentSummary";
|
|
|
296
318
|
const _eSn = "environmentState";
|
|
297
319
|
const _eSnv = "environmentStatus";
|
|
298
320
|
const _eSnvi = "environmentSummaries";
|
|
299
|
-
const _eV = "
|
|
321
|
+
const _eV = "esxVersion";
|
|
300
322
|
const _eVT = "edgeVTep";
|
|
301
323
|
const _eVn = "environmentVlans";
|
|
302
|
-
const
|
|
324
|
+
const _eVs = "esxVersions";
|
|
325
|
+
const _eVx = "expansionVlan1";
|
|
326
|
+
const _eVxp = "expansionVlan2";
|
|
303
327
|
const _er = "error";
|
|
304
328
|
const _fL = "fieldList";
|
|
305
329
|
const _fN = "functionName";
|
|
@@ -317,6 +341,8 @@ const _iHP = "isHcxPublic";
|
|
|
317
341
|
const _iP = "isPublic";
|
|
318
342
|
const _iS = "impairedSince";
|
|
319
343
|
const _iT = "instanceType";
|
|
344
|
+
const _iTEV = "instanceTypeEsxVersions";
|
|
345
|
+
const _iTn = "instanceTypes";
|
|
320
346
|
const _iV = "initialVlans";
|
|
321
347
|
const _kKI = "kmsKeyId";
|
|
322
348
|
const _kN = "keyName";
|
|
@@ -344,7 +370,7 @@ const _rAS = "retryAfterSeconds";
|
|
|
344
370
|
const _rI = "resourceId";
|
|
345
371
|
const _rT = "resourceType";
|
|
346
372
|
const _re = "reason";
|
|
347
|
-
const _s = "
|
|
373
|
+
const _s = "server";
|
|
348
374
|
const _sA = "secretArn";
|
|
349
375
|
const _sASG = "serviceAccessSecurityGroups";
|
|
350
376
|
const _sASI = "serviceAccessSubnetId";
|
|
@@ -355,6 +381,8 @@ const _sIu = "subnetId";
|
|
|
355
381
|
const _sK = "solutionKey";
|
|
356
382
|
const _sM = "sddcManager";
|
|
357
383
|
const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.evs";
|
|
384
|
+
const _st = "state";
|
|
385
|
+
const _sta = "status";
|
|
358
386
|
const _t = "type";
|
|
359
387
|
const _tA = "termsAccepted";
|
|
360
388
|
const _tK = "tagKeys";
|
|
@@ -373,11 +401,12 @@ const _vS = "vSan";
|
|
|
373
401
|
const _vSl = "vlanState";
|
|
374
402
|
const _vT = "vTep";
|
|
375
403
|
const _vV = "vcfVersion";
|
|
404
|
+
const _vVc = "vcfVersions";
|
|
376
405
|
const n0 = "com.amazonaws.evs";
|
|
377
406
|
var AssociateEipToVlanRequest$ = [3, n0, _AETVR,
|
|
378
407
|
0,
|
|
379
|
-
[
|
|
380
|
-
[
|
|
408
|
+
[_eI, _vN, _aI, _cT],
|
|
409
|
+
[0, 0, 0, [0, 4]], 3
|
|
381
410
|
];
|
|
382
411
|
var AssociateEipToVlanResponse$ = [3, n0, _AETVRs,
|
|
383
412
|
0,
|
|
@@ -392,12 +421,12 @@ var Check$ = [3, n0, _C,
|
|
|
392
421
|
var ConnectivityInfo$ = [3, n0, _CI,
|
|
393
422
|
0,
|
|
394
423
|
[_pRSP],
|
|
395
|
-
[64 | 0]
|
|
424
|
+
[64 | 0], 1
|
|
396
425
|
];
|
|
397
426
|
var CreateEnvironmentHostRequest$ = [3, n0, _CEHR,
|
|
398
427
|
0,
|
|
399
|
-
[
|
|
400
|
-
[[0, 4], 0,
|
|
428
|
+
[_eI, _h, _cT, _eV],
|
|
429
|
+
[0, () => HostInfoForCreate$, [0, 4], 0], 2
|
|
401
430
|
];
|
|
402
431
|
var CreateEnvironmentHostResponse$ = [3, n0, _CEHRr,
|
|
403
432
|
0,
|
|
@@ -406,8 +435,8 @@ var CreateEnvironmentHostResponse$ = [3, n0, _CEHRr,
|
|
|
406
435
|
];
|
|
407
436
|
var CreateEnvironmentRequest$ = [3, n0, _CER,
|
|
408
437
|
0,
|
|
409
|
-
[
|
|
410
|
-
[
|
|
438
|
+
[_vI, _sASI, _vV, _tA, _lI, _iV, _ho, _cI, _vH, _sI, _cT, _eN, _kKI, _ta, _sASG],
|
|
439
|
+
[0, 0, 0, 2, () => LicenseInfoList, () => InitialVlans$, () => HostInfoForCreateList, () => ConnectivityInfo$, () => VcfHostnames$, 0, [0, 4], 0, 0, 128 | 0, () => ServiceAccessSecurityGroups$], 10
|
|
411
440
|
];
|
|
412
441
|
var CreateEnvironmentResponse$ = [3, n0, _CERr,
|
|
413
442
|
0,
|
|
@@ -416,8 +445,8 @@ var CreateEnvironmentResponse$ = [3, n0, _CERr,
|
|
|
416
445
|
];
|
|
417
446
|
var DeleteEnvironmentHostRequest$ = [3, n0, _DEHR,
|
|
418
447
|
0,
|
|
419
|
-
[
|
|
420
|
-
[
|
|
448
|
+
[_eI, _hN, _cT],
|
|
449
|
+
[0, 0, [0, 4]], 2
|
|
421
450
|
];
|
|
422
451
|
var DeleteEnvironmentHostResponse$ = [3, n0, _DEHRe,
|
|
423
452
|
0,
|
|
@@ -426,8 +455,8 @@ var DeleteEnvironmentHostResponse$ = [3, n0, _DEHRe,
|
|
|
426
455
|
];
|
|
427
456
|
var DeleteEnvironmentRequest$ = [3, n0, _DER,
|
|
428
457
|
0,
|
|
429
|
-
[
|
|
430
|
-
[[0,
|
|
458
|
+
[_eI, _cT],
|
|
459
|
+
[[0, 1], [0, 4]], 1
|
|
431
460
|
];
|
|
432
461
|
var DeleteEnvironmentResponse$ = [3, n0, _DERe,
|
|
433
462
|
0,
|
|
@@ -436,8 +465,8 @@ var DeleteEnvironmentResponse$ = [3, n0, _DERe,
|
|
|
436
465
|
];
|
|
437
466
|
var DisassociateEipFromVlanRequest$ = [3, n0, _DEFVR,
|
|
438
467
|
0,
|
|
439
|
-
[
|
|
440
|
-
[
|
|
468
|
+
[_eI, _vN, _aIs, _cT],
|
|
469
|
+
[0, 0, 0, [0, 4]], 3
|
|
441
470
|
];
|
|
442
471
|
var DisassociateEipFromVlanResponse$ = [3, n0, _DEFVRi,
|
|
443
472
|
0,
|
|
@@ -462,13 +491,23 @@ var EnvironmentSummary$ = [3, n0, _ES,
|
|
|
462
491
|
var GetEnvironmentRequest$ = [3, n0, _GER,
|
|
463
492
|
0,
|
|
464
493
|
[_eI],
|
|
465
|
-
[[0, 1]]
|
|
494
|
+
[[0, 1]], 1
|
|
466
495
|
];
|
|
467
496
|
var GetEnvironmentResponse$ = [3, n0, _GERe,
|
|
468
497
|
0,
|
|
469
498
|
[_e],
|
|
470
499
|
[() => Environment$]
|
|
471
500
|
];
|
|
501
|
+
var GetVersionsRequest$ = [3, n0, _GVR,
|
|
502
|
+
0,
|
|
503
|
+
[],
|
|
504
|
+
[]
|
|
505
|
+
];
|
|
506
|
+
var GetVersionsResponse$ = [3, n0, _GVRe,
|
|
507
|
+
0,
|
|
508
|
+
[_vVc, _iTEV],
|
|
509
|
+
[() => VcfVersionList, () => InstanceTypeEsxVersionsList], 2
|
|
510
|
+
];
|
|
472
511
|
var Host$ = [3, n0, _H,
|
|
473
512
|
0,
|
|
474
513
|
[_hN, _iA, _kN, _iT, _pGI, _dHI, _cA, _mA, _hS, _sD, _eII, _nI],
|
|
@@ -477,27 +516,38 @@ var Host$ = [3, n0, _H,
|
|
|
477
516
|
var HostInfoForCreate$ = [3, n0, _HIFC,
|
|
478
517
|
0,
|
|
479
518
|
[_hN, _kN, _iT, _pGI, _dHI],
|
|
480
|
-
[0, 0, 0, 0, 0]
|
|
519
|
+
[0, 0, 0, 0, 0], 3
|
|
481
520
|
];
|
|
482
521
|
var InitialVlanInfo$ = [3, n0, _IVI,
|
|
483
522
|
0,
|
|
484
523
|
[_ci],
|
|
485
|
-
[0]
|
|
524
|
+
[0], 1
|
|
486
525
|
];
|
|
487
526
|
var InitialVlans$ = [3, n0, _IV,
|
|
488
527
|
0,
|
|
489
|
-
[_vM, _vMm, _vMo, _vS, _vT, _eVT, _nU, _hc,
|
|
490
|
-
[() => InitialVlanInfo$, () => InitialVlanInfo$, () => InitialVlanInfo$, () => InitialVlanInfo$, () => InitialVlanInfo$, () => InitialVlanInfo$, () => InitialVlanInfo$, () => InitialVlanInfo$, () => InitialVlanInfo$, () => InitialVlanInfo$, 2, 0]
|
|
528
|
+
[_vM, _vMm, _vMo, _vS, _vT, _eVT, _nU, _hc, _eVx, _eVxp, _iHP, _hNAI],
|
|
529
|
+
[() => InitialVlanInfo$, () => InitialVlanInfo$, () => InitialVlanInfo$, () => InitialVlanInfo$, () => InitialVlanInfo$, () => InitialVlanInfo$, () => InitialVlanInfo$, () => InitialVlanInfo$, () => InitialVlanInfo$, () => InitialVlanInfo$, 2, 0], 10
|
|
530
|
+
];
|
|
531
|
+
var InstanceTypeEsxVersionsInfo$ = [3, n0, _ITEVI,
|
|
532
|
+
0,
|
|
533
|
+
[_iT, _eVs],
|
|
534
|
+
[0, 64 | 0], 2
|
|
535
|
+
];
|
|
536
|
+
var InternalServerException$ = [-3, n0, _ISE,
|
|
537
|
+
{ [_er]: _s, [_hE]: 500 },
|
|
538
|
+
[_m],
|
|
539
|
+
[0], 1
|
|
491
540
|
];
|
|
541
|
+
schema.TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
|
|
492
542
|
var LicenseInfo$ = [3, n0, _LI,
|
|
493
543
|
0,
|
|
494
544
|
[_sK, _vK],
|
|
495
|
-
[0, 0]
|
|
545
|
+
[0, 0], 2
|
|
496
546
|
];
|
|
497
547
|
var ListEnvironmentHostsRequest$ = [3, n0, _LEHR,
|
|
498
548
|
0,
|
|
499
|
-
[_nT, _mR
|
|
500
|
-
[[0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }],
|
|
549
|
+
[_eI, _nT, _mR],
|
|
550
|
+
[[0, 1], [0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }]], 1
|
|
501
551
|
];
|
|
502
552
|
var ListEnvironmentHostsResponse$ = [3, n0, _LEHRi,
|
|
503
553
|
0,
|
|
@@ -506,8 +556,8 @@ var ListEnvironmentHostsResponse$ = [3, n0, _LEHRi,
|
|
|
506
556
|
];
|
|
507
557
|
var ListEnvironmentsRequest$ = [3, n0, _LER,
|
|
508
558
|
0,
|
|
509
|
-
[_nT, _mR,
|
|
510
|
-
[[0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }], [64 | 0, { [_hQ]:
|
|
559
|
+
[_nT, _mR, _st],
|
|
560
|
+
[[0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }], [64 | 0, { [_hQ]: _st }]]
|
|
511
561
|
];
|
|
512
562
|
var ListEnvironmentsResponse$ = [3, n0, _LERi,
|
|
513
563
|
0,
|
|
@@ -516,8 +566,8 @@ var ListEnvironmentsResponse$ = [3, n0, _LERi,
|
|
|
516
566
|
];
|
|
517
567
|
var ListEnvironmentVlansRequest$ = [3, n0, _LEVR,
|
|
518
568
|
0,
|
|
519
|
-
[_nT, _mR
|
|
520
|
-
[[0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }],
|
|
569
|
+
[_eI, _nT, _mR],
|
|
570
|
+
[[0, 1], [0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }]], 1
|
|
521
571
|
];
|
|
522
572
|
var ListEnvironmentVlansResponse$ = [3, n0, _LEVRi,
|
|
523
573
|
0,
|
|
@@ -527,7 +577,7 @@ var ListEnvironmentVlansResponse$ = [3, n0, _LEVRi,
|
|
|
527
577
|
var ListTagsForResourceRequest$ = [3, n0, _LTFRR,
|
|
528
578
|
0,
|
|
529
579
|
[_rA],
|
|
530
|
-
[0]
|
|
580
|
+
[0], 1
|
|
531
581
|
];
|
|
532
582
|
var ListTagsForResourceResponse$ = [3, n0, _LTFRRi,
|
|
533
583
|
0,
|
|
@@ -542,7 +592,7 @@ var NetworkInterface$ = [3, n0, _NI,
|
|
|
542
592
|
var ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
543
593
|
{ [_er]: _cl, [_hE]: 404 },
|
|
544
594
|
[_m, _rI, _rT],
|
|
545
|
-
[0, 0, 0]
|
|
595
|
+
[0, 0, 0], 3
|
|
546
596
|
];
|
|
547
597
|
schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
548
598
|
var Secret$ = [3, n0, _S,
|
|
@@ -558,19 +608,19 @@ var ServiceAccessSecurityGroups$ = [3, n0, _SASG,
|
|
|
558
608
|
var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
|
|
559
609
|
{ [_er]: _cl, [_hE]: 402 },
|
|
560
610
|
[_m],
|
|
561
|
-
[0]
|
|
611
|
+
[0], 1
|
|
562
612
|
];
|
|
563
613
|
schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
|
|
564
614
|
var TagPolicyException$ = [-3, n0, _TPE,
|
|
565
615
|
{ [_er]: _cl, [_hE]: 400 },
|
|
566
616
|
[_m],
|
|
567
|
-
[0]
|
|
617
|
+
[0], 1
|
|
568
618
|
];
|
|
569
619
|
schema.TypeRegistry.for(n0).registerError(TagPolicyException$, TagPolicyException);
|
|
570
620
|
var TagResourceRequest$ = [3, n0, _TRR,
|
|
571
621
|
0,
|
|
572
622
|
[_rA, _ta],
|
|
573
|
-
[0, 128 | 0]
|
|
623
|
+
[0, 128 | 0], 2
|
|
574
624
|
];
|
|
575
625
|
var TagResourceResponse$ = [3, n0, _TRRa,
|
|
576
626
|
0,
|
|
@@ -580,19 +630,19 @@ var TagResourceResponse$ = [3, n0, _TRRa,
|
|
|
580
630
|
var ThrottlingException$ = [-3, n0, _TE,
|
|
581
631
|
{ [_er]: _cl, [_hE]: 429 },
|
|
582
632
|
[_m, _rAS],
|
|
583
|
-
[0, [1, { [_hH]: _RA }]]
|
|
633
|
+
[0, [1, { [_hH]: _RA }]], 1
|
|
584
634
|
];
|
|
585
635
|
schema.TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
|
|
586
636
|
var TooManyTagsException$ = [-3, n0, _TMTE,
|
|
587
637
|
{ [_er]: _cl, [_hE]: 400 },
|
|
588
638
|
[_m],
|
|
589
|
-
[0]
|
|
639
|
+
[0], 1
|
|
590
640
|
];
|
|
591
641
|
schema.TypeRegistry.for(n0).registerError(TooManyTagsException$, TooManyTagsException);
|
|
592
642
|
var UntagResourceRequest$ = [3, n0, _URR,
|
|
593
643
|
0,
|
|
594
644
|
[_rA, _tK],
|
|
595
|
-
[0, 64 | 0]
|
|
645
|
+
[0, 64 | 0], 2
|
|
596
646
|
];
|
|
597
647
|
var UntagResourceResponse$ = [3, n0, _URRn,
|
|
598
648
|
0,
|
|
@@ -602,18 +652,23 @@ var UntagResourceResponse$ = [3, n0, _URRn,
|
|
|
602
652
|
var ValidationException$ = [-3, n0, _VE,
|
|
603
653
|
{ [_er]: _cl, [_hE]: 400 },
|
|
604
654
|
[_m, _re, _fL],
|
|
605
|
-
[0, 0, () => ValidationExceptionFieldList]
|
|
655
|
+
[0, 0, () => ValidationExceptionFieldList], 2
|
|
606
656
|
];
|
|
607
657
|
schema.TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
|
|
608
658
|
var ValidationExceptionField$ = [3, n0, _VEF,
|
|
609
659
|
0,
|
|
610
660
|
[_n, _m],
|
|
611
|
-
[0, 0]
|
|
661
|
+
[0, 0], 2
|
|
612
662
|
];
|
|
613
663
|
var VcfHostnames$ = [3, n0, _VH,
|
|
614
664
|
0,
|
|
615
665
|
[_vC, _ns, _nM, _nMs, _nMsx, _nE, _nEs, _sM, _cB],
|
|
616
|
-
[0, 0, 0, 0, 0, 0, 0, 0, 0]
|
|
666
|
+
[0, 0, 0, 0, 0, 0, 0, 0, 0], 9
|
|
667
|
+
];
|
|
668
|
+
var VcfVersionInfo$ = [3, n0, _VVI,
|
|
669
|
+
0,
|
|
670
|
+
[_vV, _sta, _dEV, _iTn],
|
|
671
|
+
[0, 0, 0, 64 | 0], 4
|
|
617
672
|
];
|
|
618
673
|
var Vlan$ = [3, n0, _V,
|
|
619
674
|
0,
|
|
@@ -637,6 +692,9 @@ var HostInfoForCreateList = [1, n0, _HIFCL,
|
|
|
637
692
|
var HostList = [1, n0, _HL,
|
|
638
693
|
0, () => Host$
|
|
639
694
|
];
|
|
695
|
+
var InstanceTypeEsxVersionsList = [1, n0, _ITEVL,
|
|
696
|
+
0, () => InstanceTypeEsxVersionsInfo$
|
|
697
|
+
];
|
|
640
698
|
var LicenseInfoList = [1, n0, _LIL,
|
|
641
699
|
0, () => LicenseInfo$
|
|
642
700
|
];
|
|
@@ -649,6 +707,9 @@ var SecretList = [1, n0, _SL,
|
|
|
649
707
|
var ValidationExceptionFieldList = [1, n0, _VEFL,
|
|
650
708
|
0, () => ValidationExceptionField$
|
|
651
709
|
];
|
|
710
|
+
var VcfVersionList = [1, n0, _VVL,
|
|
711
|
+
0, () => VcfVersionInfo$
|
|
712
|
+
];
|
|
652
713
|
var VlanList = [1, n0, _VL,
|
|
653
714
|
0, () => Vlan$
|
|
654
715
|
];
|
|
@@ -673,6 +734,9 @@ var DisassociateEipFromVlan$ = [9, n0, _DEFV,
|
|
|
673
734
|
var GetEnvironment$ = [9, n0, _GE,
|
|
674
735
|
0, () => GetEnvironmentRequest$, () => GetEnvironmentResponse$
|
|
675
736
|
];
|
|
737
|
+
var GetVersions$ = [9, n0, _GV,
|
|
738
|
+
0, () => GetVersionsRequest$, () => GetVersionsResponse$
|
|
739
|
+
];
|
|
676
740
|
var ListEnvironmentHosts$ = [9, n0, _LEH,
|
|
677
741
|
0, () => ListEnvironmentHostsRequest$, () => ListEnvironmentHostsResponse$
|
|
678
742
|
];
|
|
@@ -776,6 +840,18 @@ class GetEnvironmentCommand extends smithyClient.Command
|
|
|
776
840
|
.build() {
|
|
777
841
|
}
|
|
778
842
|
|
|
843
|
+
class GetVersionsCommand extends smithyClient.Command
|
|
844
|
+
.classBuilder()
|
|
845
|
+
.ep(commonParams)
|
|
846
|
+
.m(function (Command, cs, config, o) {
|
|
847
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
848
|
+
})
|
|
849
|
+
.s("AmazonElasticVMwareService", "GetVersions", {})
|
|
850
|
+
.n("EvsClient", "GetVersionsCommand")
|
|
851
|
+
.sc(GetVersions$)
|
|
852
|
+
.build() {
|
|
853
|
+
}
|
|
854
|
+
|
|
779
855
|
class ListEnvironmentHostsCommand extends smithyClient.Command
|
|
780
856
|
.classBuilder()
|
|
781
857
|
.ep(commonParams)
|
|
@@ -856,6 +932,7 @@ const commands = {
|
|
|
856
932
|
DeleteEnvironmentHostCommand,
|
|
857
933
|
DisassociateEipFromVlanCommand,
|
|
858
934
|
GetEnvironmentCommand,
|
|
935
|
+
GetVersionsCommand,
|
|
859
936
|
ListEnvironmentHostsCommand,
|
|
860
937
|
ListEnvironmentsCommand,
|
|
861
938
|
ListEnvironmentVlansCommand,
|
|
@@ -891,6 +968,7 @@ const _InstanceType = {
|
|
|
891
968
|
};
|
|
892
969
|
const VcfVersion = {
|
|
893
970
|
VCF_5_2_1: "VCF-5.2.1",
|
|
971
|
+
VCF_5_2_2: "VCF-5.2.2",
|
|
894
972
|
};
|
|
895
973
|
const CheckResult = {
|
|
896
974
|
FAILED: "FAILED",
|
|
@@ -968,11 +1046,18 @@ exports.GetEnvironment$ = GetEnvironment$;
|
|
|
968
1046
|
exports.GetEnvironmentCommand = GetEnvironmentCommand;
|
|
969
1047
|
exports.GetEnvironmentRequest$ = GetEnvironmentRequest$;
|
|
970
1048
|
exports.GetEnvironmentResponse$ = GetEnvironmentResponse$;
|
|
1049
|
+
exports.GetVersions$ = GetVersions$;
|
|
1050
|
+
exports.GetVersionsCommand = GetVersionsCommand;
|
|
1051
|
+
exports.GetVersionsRequest$ = GetVersionsRequest$;
|
|
1052
|
+
exports.GetVersionsResponse$ = GetVersionsResponse$;
|
|
971
1053
|
exports.Host$ = Host$;
|
|
972
1054
|
exports.HostInfoForCreate$ = HostInfoForCreate$;
|
|
973
1055
|
exports.HostState = HostState;
|
|
974
1056
|
exports.InitialVlanInfo$ = InitialVlanInfo$;
|
|
975
1057
|
exports.InitialVlans$ = InitialVlans$;
|
|
1058
|
+
exports.InstanceTypeEsxVersionsInfo$ = InstanceTypeEsxVersionsInfo$;
|
|
1059
|
+
exports.InternalServerException = InternalServerException;
|
|
1060
|
+
exports.InternalServerException$ = InternalServerException$;
|
|
976
1061
|
exports.LicenseInfo$ = LicenseInfo$;
|
|
977
1062
|
exports.ListEnvironmentHosts$ = ListEnvironmentHosts$;
|
|
978
1063
|
exports.ListEnvironmentHostsCommand = ListEnvironmentHostsCommand;
|
|
@@ -1017,6 +1102,7 @@ exports.ValidationExceptionField$ = ValidationExceptionField$;
|
|
|
1017
1102
|
exports.ValidationExceptionReason = ValidationExceptionReason;
|
|
1018
1103
|
exports.VcfHostnames$ = VcfHostnames$;
|
|
1019
1104
|
exports.VcfVersion = VcfVersion;
|
|
1105
|
+
exports.VcfVersionInfo$ = VcfVersionInfo$;
|
|
1020
1106
|
exports.Vlan$ = Vlan$;
|
|
1021
1107
|
exports.VlanState = VlanState;
|
|
1022
1108
|
exports._InstanceType = _InstanceType;
|
package/dist-es/Evs.js
CHANGED
|
@@ -6,6 +6,7 @@ import { DeleteEnvironmentCommand, } from "./commands/DeleteEnvironmentCommand";
|
|
|
6
6
|
import { DeleteEnvironmentHostCommand, } from "./commands/DeleteEnvironmentHostCommand";
|
|
7
7
|
import { DisassociateEipFromVlanCommand, } from "./commands/DisassociateEipFromVlanCommand";
|
|
8
8
|
import { GetEnvironmentCommand, } from "./commands/GetEnvironmentCommand";
|
|
9
|
+
import { GetVersionsCommand } from "./commands/GetVersionsCommand";
|
|
9
10
|
import { ListEnvironmentHostsCommand, } from "./commands/ListEnvironmentHostsCommand";
|
|
10
11
|
import { ListEnvironmentsCommand, } from "./commands/ListEnvironmentsCommand";
|
|
11
12
|
import { ListEnvironmentVlansCommand, } from "./commands/ListEnvironmentVlansCommand";
|
|
@@ -21,6 +22,7 @@ const commands = {
|
|
|
21
22
|
DeleteEnvironmentHostCommand,
|
|
22
23
|
DisassociateEipFromVlanCommand,
|
|
23
24
|
GetEnvironmentCommand,
|
|
25
|
+
GetVersionsCommand,
|
|
24
26
|
ListEnvironmentHostsCommand,
|
|
25
27
|
ListEnvironmentsCommand,
|
|
26
28
|
ListEnvironmentVlansCommand,
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { GetVersions$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class GetVersionsCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AmazonElasticVMwareService", "GetVersions", {})
|
|
13
|
+
.n("EvsClient", "GetVersionsCommand")
|
|
14
|
+
.sc(GetVersions$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -5,6 +5,7 @@ export * from "./DeleteEnvironmentCommand";
|
|
|
5
5
|
export * from "./DeleteEnvironmentHostCommand";
|
|
6
6
|
export * from "./DisassociateEipFromVlanCommand";
|
|
7
7
|
export * from "./GetEnvironmentCommand";
|
|
8
|
+
export * from "./GetVersionsCommand";
|
|
8
9
|
export * from "./ListEnvironmentHostsCommand";
|
|
9
10
|
export * from "./ListEnvironmentVlansCommand";
|
|
10
11
|
export * from "./ListEnvironmentsCommand";
|
package/dist-es/models/enums.js
CHANGED
package/dist-es/models/errors.js
CHANGED
|
@@ -46,6 +46,19 @@ export class ValidationException extends __BaseException {
|
|
|
46
46
|
this.fieldList = opts.fieldList;
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
|
+
export class InternalServerException extends __BaseException {
|
|
50
|
+
name = "InternalServerException";
|
|
51
|
+
$fault = "server";
|
|
52
|
+
$retryable = {};
|
|
53
|
+
constructor(opts) {
|
|
54
|
+
super({
|
|
55
|
+
name: "InternalServerException",
|
|
56
|
+
$fault: "server",
|
|
57
|
+
...opts,
|
|
58
|
+
});
|
|
59
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
60
|
+
}
|
|
61
|
+
}
|
|
49
62
|
export class ServiceQuotaExceededException extends __BaseException {
|
|
50
63
|
name = "ServiceQuotaExceededException";
|
|
51
64
|
$fault = "client";
|