@aws-sdk/client-evs 3.969.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.
Files changed (33) hide show
  1. package/README.md +7 -0
  2. package/dist-cjs/index.js +94 -8
  3. package/dist-es/Evs.js +2 -0
  4. package/dist-es/commands/GetVersionsCommand.js +16 -0
  5. package/dist-es/commands/index.js +1 -0
  6. package/dist-es/models/enums.js +1 -0
  7. package/dist-es/models/errors.js +13 -0
  8. package/dist-es/schemas/schemas_0.js +62 -9
  9. package/dist-types/Evs.d.ts +8 -0
  10. package/dist-types/EvsClient.d.ts +3 -2
  11. package/dist-types/commands/AssociateEipToVlanCommand.d.ts +1 -1
  12. package/dist-types/commands/CreateEnvironmentCommand.d.ts +3 -3
  13. package/dist-types/commands/CreateEnvironmentHostCommand.d.ts +4 -3
  14. package/dist-types/commands/DeleteEnvironmentCommand.d.ts +1 -1
  15. package/dist-types/commands/DeleteEnvironmentHostCommand.d.ts +1 -1
  16. package/dist-types/commands/DisassociateEipFromVlanCommand.d.ts +1 -1
  17. package/dist-types/commands/GetEnvironmentCommand.d.ts +1 -1
  18. package/dist-types/commands/GetVersionsCommand.d.ts +95 -0
  19. package/dist-types/commands/ListEnvironmentsCommand.d.ts +1 -1
  20. package/dist-types/commands/index.d.ts +1 -0
  21. package/dist-types/models/enums.d.ts +1 -0
  22. package/dist-types/models/errors.d.ts +14 -1
  23. package/dist-types/models/models_0.d.ts +77 -10
  24. package/dist-types/schemas/schemas_0.d.ts +6 -0
  25. package/dist-types/ts3.4/Evs.d.ts +18 -0
  26. package/dist-types/ts3.4/EvsClient.d.ts +6 -0
  27. package/dist-types/ts3.4/commands/GetVersionsCommand.d.ts +47 -0
  28. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  29. package/dist-types/ts3.4/models/enums.d.ts +1 -0
  30. package/dist-types/ts3.4/models/errors.d.ts +8 -0
  31. package/dist-types/ts3.4/models/models_0.d.ts +16 -0
  32. package/dist-types/ts3.4/schemas/schemas_0.d.ts +6 -0
  33. package/package.json +12 -12
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 = "expansionVlan1";
321
+ const _eV = "esxVersion";
300
322
  const _eVT = "edgeVTep";
301
323
  const _eVn = "environmentVlans";
302
- const _eVx = "expansionVlan2";
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 = "state";
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,6 +401,7 @@ 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,
@@ -396,8 +425,8 @@ var ConnectivityInfo$ = [3, n0, _CI,
396
425
  ];
397
426
  var CreateEnvironmentHostRequest$ = [3, n0, _CEHR,
398
427
  0,
399
- [_eI, _h, _cT],
400
- [0, () => HostInfoForCreate$, [0, 4]], 2
428
+ [_eI, _h, _cT, _eV],
429
+ [0, () => HostInfoForCreate$, [0, 4], 0], 2
401
430
  ];
402
431
  var CreateEnvironmentHostResponse$ = [3, n0, _CEHRr,
403
432
  0,
@@ -469,6 +498,16 @@ var GetEnvironmentResponse$ = [3, n0, _GERe,
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],
@@ -486,9 +525,20 @@ var InitialVlanInfo$ = [3, n0, _IVI,
486
525
  ];
487
526
  var InitialVlans$ = [3, n0, _IV,
488
527
  0,
489
- [_vM, _vMm, _vMo, _vS, _vT, _eVT, _nU, _hc, _eV, _eVx, _iHP, _hNAI],
528
+ [_vM, _vMm, _vMo, _vS, _vT, _eVT, _nU, _hc, _eVx, _eVxp, _iHP, _hNAI],
490
529
  [() => InitialVlanInfo$, () => InitialVlanInfo$, () => InitialVlanInfo$, () => InitialVlanInfo$, () => InitialVlanInfo$, () => InitialVlanInfo$, () => InitialVlanInfo$, () => InitialVlanInfo$, () => InitialVlanInfo$, () => InitialVlanInfo$, 2, 0], 10
491
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
540
+ ];
541
+ schema.TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
492
542
  var LicenseInfo$ = [3, n0, _LI,
493
543
  0,
494
544
  [_sK, _vK],
@@ -506,8 +556,8 @@ var ListEnvironmentHostsResponse$ = [3, n0, _LEHRi,
506
556
  ];
507
557
  var ListEnvironmentsRequest$ = [3, n0, _LER,
508
558
  0,
509
- [_nT, _mR, _s],
510
- [[0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }], [64 | 0, { [_hQ]: _s }]]
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,
@@ -615,6 +665,11 @@ var VcfHostnames$ = [3, n0, _VH,
615
665
  [_vC, _ns, _nM, _nMs, _nMsx, _nE, _nEs, _sM, _cB],
616
666
  [0, 0, 0, 0, 0, 0, 0, 0, 0], 9
617
667
  ];
668
+ var VcfVersionInfo$ = [3, n0, _VVI,
669
+ 0,
670
+ [_vV, _sta, _dEV, _iTn],
671
+ [0, 0, 0, 64 | 0], 4
672
+ ];
618
673
  var Vlan$ = [3, n0, _V,
619
674
  0,
620
675
  [_vIl, _ci, _aZ, _fN, _sIu, _cA, _mA, _vSl, _sD, _eAi, _iP, _nAI],
@@ -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";
@@ -16,6 +16,7 @@ export const _InstanceType = {
16
16
  };
17
17
  export const VcfVersion = {
18
18
  VCF_5_2_1: "VCF-5.2.1",
19
+ VCF_5_2_2: "VCF-5.2.2",
19
20
  };
20
21
  export const CheckResult = {
21
22
  FAILED: "FAILED",
@@ -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";
@@ -27,10 +27,16 @@ const _ESL = "EnvironmentSummaryList";
27
27
  const _GE = "GetEnvironment";
28
28
  const _GER = "GetEnvironmentRequest";
29
29
  const _GERe = "GetEnvironmentResponse";
30
+ const _GV = "GetVersions";
31
+ const _GVR = "GetVersionsRequest";
32
+ const _GVRe = "GetVersionsResponse";
30
33
  const _H = "Host";
31
34
  const _HIFC = "HostInfoForCreate";
32
35
  const _HIFCL = "HostInfoForCreateList";
33
36
  const _HL = "HostList";
37
+ const _ISE = "InternalServerException";
38
+ const _ITEVI = "InstanceTypeEsxVersionsInfo";
39
+ const _ITEVL = "InstanceTypeEsxVersionsList";
34
40
  const _IV = "InitialVlans";
35
41
  const _IVI = "InitialVlanInfo";
36
42
  const _LE = "ListEnvironments";
@@ -70,6 +76,8 @@ const _VEF = "ValidationExceptionField";
70
76
  const _VEFL = "ValidationExceptionFieldList";
71
77
  const _VH = "VcfHostnames";
72
78
  const _VL = "VlanList";
79
+ const _VVI = "VcfVersionInfo";
80
+ const _VVL = "VcfVersionList";
73
81
  const _aI = "allocationId";
74
82
  const _aIs = "associationId";
75
83
  const _aZ = "availabilityZone";
@@ -81,6 +89,7 @@ const _cT = "clientToken";
81
89
  const _ci = "cidr";
82
90
  const _cl = "client";
83
91
  const _cr = "credentials";
92
+ const _dEV = "defaultEsxVersion";
84
93
  const _dHI = "dedicatedHostId";
85
94
  const _e = "environment";
86
95
  const _eA = "environmentArn";
@@ -93,10 +102,12 @@ const _eS = "environmentSummary";
93
102
  const _eSn = "environmentState";
94
103
  const _eSnv = "environmentStatus";
95
104
  const _eSnvi = "environmentSummaries";
96
- const _eV = "expansionVlan1";
105
+ const _eV = "esxVersion";
97
106
  const _eVT = "edgeVTep";
98
107
  const _eVn = "environmentVlans";
99
- const _eVx = "expansionVlan2";
108
+ const _eVs = "esxVersions";
109
+ const _eVx = "expansionVlan1";
110
+ const _eVxp = "expansionVlan2";
100
111
  const _er = "error";
101
112
  const _fL = "fieldList";
102
113
  const _fN = "functionName";
@@ -114,6 +125,8 @@ const _iHP = "isHcxPublic";
114
125
  const _iP = "isPublic";
115
126
  const _iS = "impairedSince";
116
127
  const _iT = "instanceType";
128
+ const _iTEV = "instanceTypeEsxVersions";
129
+ const _iTn = "instanceTypes";
117
130
  const _iV = "initialVlans";
118
131
  const _kKI = "kmsKeyId";
119
132
  const _kN = "keyName";
@@ -141,7 +154,7 @@ const _rAS = "retryAfterSeconds";
141
154
  const _rI = "resourceId";
142
155
  const _rT = "resourceType";
143
156
  const _re = "reason";
144
- const _s = "state";
157
+ const _s = "server";
145
158
  const _sA = "secretArn";
146
159
  const _sASG = "serviceAccessSecurityGroups";
147
160
  const _sASI = "serviceAccessSubnetId";
@@ -152,6 +165,8 @@ const _sIu = "subnetId";
152
165
  const _sK = "solutionKey";
153
166
  const _sM = "sddcManager";
154
167
  const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.evs";
168
+ const _st = "state";
169
+ const _sta = "status";
155
170
  const _t = "type";
156
171
  const _tA = "termsAccepted";
157
172
  const _tK = "tagKeys";
@@ -170,9 +185,10 @@ const _vS = "vSan";
170
185
  const _vSl = "vlanState";
171
186
  const _vT = "vTep";
172
187
  const _vV = "vcfVersion";
188
+ const _vVc = "vcfVersions";
173
189
  const n0 = "com.amazonaws.evs";
174
190
  import { TypeRegistry } from "@smithy/core/schema";
175
- import { ResourceNotFoundException, ServiceQuotaExceededException, TagPolicyException, ThrottlingException, TooManyTagsException, ValidationException, } from "../models/errors";
191
+ import { InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, TagPolicyException, ThrottlingException, TooManyTagsException, ValidationException, } from "../models/errors";
176
192
  import { EvsServiceException } from "../models/EvsServiceException";
177
193
  export var AssociateEipToVlanRequest$ = [3, n0, _AETVR,
178
194
  0,
@@ -196,8 +212,8 @@ export var ConnectivityInfo$ = [3, n0, _CI,
196
212
  ];
197
213
  export var CreateEnvironmentHostRequest$ = [3, n0, _CEHR,
198
214
  0,
199
- [_eI, _h, _cT],
200
- [0, () => HostInfoForCreate$, [0, 4]], 2
215
+ [_eI, _h, _cT, _eV],
216
+ [0, () => HostInfoForCreate$, [0, 4], 0], 2
201
217
  ];
202
218
  export var CreateEnvironmentHostResponse$ = [3, n0, _CEHRr,
203
219
  0,
@@ -269,6 +285,16 @@ export var GetEnvironmentResponse$ = [3, n0, _GERe,
269
285
  [_e],
270
286
  [() => Environment$]
271
287
  ];
288
+ export var GetVersionsRequest$ = [3, n0, _GVR,
289
+ 0,
290
+ [],
291
+ []
292
+ ];
293
+ export var GetVersionsResponse$ = [3, n0, _GVRe,
294
+ 0,
295
+ [_vVc, _iTEV],
296
+ [() => VcfVersionList, () => InstanceTypeEsxVersionsList], 2
297
+ ];
272
298
  export var Host$ = [3, n0, _H,
273
299
  0,
274
300
  [_hN, _iA, _kN, _iT, _pGI, _dHI, _cA, _mA, _hS, _sD, _eII, _nI],
@@ -286,9 +312,20 @@ export var InitialVlanInfo$ = [3, n0, _IVI,
286
312
  ];
287
313
  export var InitialVlans$ = [3, n0, _IV,
288
314
  0,
289
- [_vM, _vMm, _vMo, _vS, _vT, _eVT, _nU, _hc, _eV, _eVx, _iHP, _hNAI],
315
+ [_vM, _vMm, _vMo, _vS, _vT, _eVT, _nU, _hc, _eVx, _eVxp, _iHP, _hNAI],
290
316
  [() => InitialVlanInfo$, () => InitialVlanInfo$, () => InitialVlanInfo$, () => InitialVlanInfo$, () => InitialVlanInfo$, () => InitialVlanInfo$, () => InitialVlanInfo$, () => InitialVlanInfo$, () => InitialVlanInfo$, () => InitialVlanInfo$, 2, 0], 10
291
317
  ];
318
+ export var InstanceTypeEsxVersionsInfo$ = [3, n0, _ITEVI,
319
+ 0,
320
+ [_iT, _eVs],
321
+ [0, 64 | 0], 2
322
+ ];
323
+ export var InternalServerException$ = [-3, n0, _ISE,
324
+ { [_er]: _s, [_hE]: 500 },
325
+ [_m],
326
+ [0], 1
327
+ ];
328
+ TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
292
329
  export var LicenseInfo$ = [3, n0, _LI,
293
330
  0,
294
331
  [_sK, _vK],
@@ -306,8 +343,8 @@ export var ListEnvironmentHostsResponse$ = [3, n0, _LEHRi,
306
343
  ];
307
344
  export var ListEnvironmentsRequest$ = [3, n0, _LER,
308
345
  0,
309
- [_nT, _mR, _s],
310
- [[0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }], [64 | 0, { [_hQ]: _s }]]
346
+ [_nT, _mR, _st],
347
+ [[0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }], [64 | 0, { [_hQ]: _st }]]
311
348
  ];
312
349
  export var ListEnvironmentsResponse$ = [3, n0, _LERi,
313
350
  0,
@@ -415,6 +452,11 @@ export var VcfHostnames$ = [3, n0, _VH,
415
452
  [_vC, _ns, _nM, _nMs, _nMsx, _nE, _nEs, _sM, _cB],
416
453
  [0, 0, 0, 0, 0, 0, 0, 0, 0], 9
417
454
  ];
455
+ export var VcfVersionInfo$ = [3, n0, _VVI,
456
+ 0,
457
+ [_vV, _sta, _dEV, _iTn],
458
+ [0, 0, 0, 64 | 0], 4
459
+ ];
418
460
  export var Vlan$ = [3, n0, _V,
419
461
  0,
420
462
  [_vIl, _ci, _aZ, _fN, _sIu, _cA, _mA, _vSl, _sD, _eAi, _iP, _nAI],
@@ -432,12 +474,17 @@ var EnvironmentStateList = 64 | 0;
432
474
  var EnvironmentSummaryList = [1, n0, _ESL,
433
475
  0, () => EnvironmentSummary$
434
476
  ];
477
+ var EsxVersionList = 64 | 0;
435
478
  var HostInfoForCreateList = [1, n0, _HIFCL,
436
479
  0, () => HostInfoForCreate$
437
480
  ];
438
481
  var HostList = [1, n0, _HL,
439
482
  0, () => Host$
440
483
  ];
484
+ var InstanceTypeEsxVersionsList = [1, n0, _ITEVL,
485
+ 0, () => InstanceTypeEsxVersionsInfo$
486
+ ];
487
+ var InstanceTypeList = 64 | 0;
441
488
  var LicenseInfoList = [1, n0, _LIL,
442
489
  0, () => LicenseInfo$
443
490
  ];
@@ -453,6 +500,9 @@ var TagKeys = 64 | 0;
453
500
  var ValidationExceptionFieldList = [1, n0, _VEFL,
454
501
  0, () => ValidationExceptionField$
455
502
  ];
503
+ var VcfVersionList = [1, n0, _VVL,
504
+ 0, () => VcfVersionInfo$
505
+ ];
456
506
  var VlanList = [1, n0, _VL,
457
507
  0, () => Vlan$
458
508
  ];
@@ -479,6 +529,9 @@ export var DisassociateEipFromVlan$ = [9, n0, _DEFV,
479
529
  export var GetEnvironment$ = [9, n0, _GE,
480
530
  0, () => GetEnvironmentRequest$, () => GetEnvironmentResponse$
481
531
  ];
532
+ export var GetVersions$ = [9, n0, _GV,
533
+ 0, () => GetVersionsRequest$, () => GetVersionsResponse$
534
+ ];
482
535
  export var ListEnvironmentHosts$ = [9, n0, _LEH,
483
536
  0, () => ListEnvironmentHostsRequest$, () => ListEnvironmentHostsResponse$
484
537
  ];
@@ -6,6 +6,7 @@ import { DeleteEnvironmentCommandInput, DeleteEnvironmentCommandOutput } from ".
6
6
  import { DeleteEnvironmentHostCommandInput, DeleteEnvironmentHostCommandOutput } from "./commands/DeleteEnvironmentHostCommand";
7
7
  import { DisassociateEipFromVlanCommandInput, DisassociateEipFromVlanCommandOutput } from "./commands/DisassociateEipFromVlanCommand";
8
8
  import { GetEnvironmentCommandInput, GetEnvironmentCommandOutput } from "./commands/GetEnvironmentCommand";
9
+ import { GetVersionsCommandInput, GetVersionsCommandOutput } from "./commands/GetVersionsCommand";
9
10
  import { ListEnvironmentHostsCommandInput, ListEnvironmentHostsCommandOutput } from "./commands/ListEnvironmentHostsCommand";
10
11
  import { ListEnvironmentsCommandInput, ListEnvironmentsCommandOutput } from "./commands/ListEnvironmentsCommand";
11
12
  import { ListEnvironmentVlansCommandInput, ListEnvironmentVlansCommandOutput } from "./commands/ListEnvironmentVlansCommand";
@@ -56,6 +57,13 @@ export interface Evs {
56
57
  getEnvironment(args: GetEnvironmentCommandInput, options?: __HttpHandlerOptions): Promise<GetEnvironmentCommandOutput>;
57
58
  getEnvironment(args: GetEnvironmentCommandInput, cb: (err: any, data?: GetEnvironmentCommandOutput) => void): void;
58
59
  getEnvironment(args: GetEnvironmentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetEnvironmentCommandOutput) => void): void;
60
+ /**
61
+ * @see {@link GetVersionsCommand}
62
+ */
63
+ getVersions(): Promise<GetVersionsCommandOutput>;
64
+ getVersions(args: GetVersionsCommandInput, options?: __HttpHandlerOptions): Promise<GetVersionsCommandOutput>;
65
+ getVersions(args: GetVersionsCommandInput, cb: (err: any, data?: GetVersionsCommandOutput) => void): void;
66
+ getVersions(args: GetVersionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetVersionsCommandOutput) => void): void;
59
67
  /**
60
68
  * @see {@link ListEnvironmentHostsCommand}
61
69
  */
@@ -14,6 +14,7 @@ import { DeleteEnvironmentCommandInput, DeleteEnvironmentCommandOutput } from ".
14
14
  import { DeleteEnvironmentHostCommandInput, DeleteEnvironmentHostCommandOutput } from "./commands/DeleteEnvironmentHostCommand";
15
15
  import { DisassociateEipFromVlanCommandInput, DisassociateEipFromVlanCommandOutput } from "./commands/DisassociateEipFromVlanCommand";
16
16
  import { GetEnvironmentCommandInput, GetEnvironmentCommandOutput } from "./commands/GetEnvironmentCommand";
17
+ import { GetVersionsCommandInput, GetVersionsCommandOutput } from "./commands/GetVersionsCommand";
17
18
  import { ListEnvironmentHostsCommandInput, ListEnvironmentHostsCommandOutput } from "./commands/ListEnvironmentHostsCommand";
18
19
  import { ListEnvironmentsCommandInput, ListEnvironmentsCommandOutput } from "./commands/ListEnvironmentsCommand";
19
20
  import { ListEnvironmentVlansCommandInput, ListEnvironmentVlansCommandOutput } from "./commands/ListEnvironmentVlansCommand";
@@ -26,11 +27,11 @@ export { __Client };
26
27
  /**
27
28
  * @public
28
29
  */
29
- export type ServiceInputTypes = AssociateEipToVlanCommandInput | CreateEnvironmentCommandInput | CreateEnvironmentHostCommandInput | DeleteEnvironmentCommandInput | DeleteEnvironmentHostCommandInput | DisassociateEipFromVlanCommandInput | GetEnvironmentCommandInput | ListEnvironmentHostsCommandInput | ListEnvironmentVlansCommandInput | ListEnvironmentsCommandInput | ListTagsForResourceCommandInput | TagResourceCommandInput | UntagResourceCommandInput;
30
+ export type ServiceInputTypes = AssociateEipToVlanCommandInput | CreateEnvironmentCommandInput | CreateEnvironmentHostCommandInput | DeleteEnvironmentCommandInput | DeleteEnvironmentHostCommandInput | DisassociateEipFromVlanCommandInput | GetEnvironmentCommandInput | GetVersionsCommandInput | ListEnvironmentHostsCommandInput | ListEnvironmentVlansCommandInput | ListEnvironmentsCommandInput | ListTagsForResourceCommandInput | TagResourceCommandInput | UntagResourceCommandInput;
30
31
  /**
31
32
  * @public
32
33
  */
33
- export type ServiceOutputTypes = AssociateEipToVlanCommandOutput | CreateEnvironmentCommandOutput | CreateEnvironmentHostCommandOutput | DeleteEnvironmentCommandOutput | DeleteEnvironmentHostCommandOutput | DisassociateEipFromVlanCommandOutput | GetEnvironmentCommandOutput | ListEnvironmentHostsCommandOutput | ListEnvironmentVlansCommandOutput | ListEnvironmentsCommandOutput | ListTagsForResourceCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput;
34
+ export type ServiceOutputTypes = AssociateEipToVlanCommandOutput | CreateEnvironmentCommandOutput | CreateEnvironmentHostCommandOutput | DeleteEnvironmentCommandOutput | DeleteEnvironmentHostCommandOutput | DisassociateEipFromVlanCommandOutput | GetEnvironmentCommandOutput | GetVersionsCommandOutput | ListEnvironmentHostsCommandOutput | ListEnvironmentVlansCommandOutput | ListEnvironmentsCommandOutput | ListTagsForResourceCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput;
34
35
  /**
35
36
  * @public
36
37
  */
@@ -79,7 +79,7 @@ declare const AssociateEipToVlanCommand_base: {
79
79
  * <p>A service resource associated with the request could not be found. The resource might not be specified correctly, or it may have a <code>state</code> of <code>DELETED</code>.</p>
80
80
  *
81
81
  * @throws {@link ThrottlingException} (client fault)
82
- * <p>The operation couldn't be performed because the service is throttling requests. This exception is thrown when there are too many requests accepted concurrently from the service endpoint.</p>
82
+ * <p>The operation could not be performed because the service is throttling requests. This exception is thrown when the service endpoint receives too many concurrent requests.</p>
83
83
  *
84
84
  * @throws {@link ValidationException} (client fault)
85
85
  * <p>The input fails to satisfy the specified constraints. You will see this exception if invalid inputs are provided for any of the Amazon EVS environment operations, or if a list operation is performed on an environment resource that is still initializing.</p>
@@ -27,7 +27,7 @@ declare const CreateEnvironmentCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Creates an Amazon EVS environment that runs VCF software, such as SDDC Manager, NSX Manager, and vCenter Server.</p> <p>During environment creation, Amazon EVS performs validations on DNS settings, provisions VLAN subnets and hosts, and deploys the supplied version of VCF.</p> <p>It can take several hours to create an environment. After the deployment completes, you can configure VCF in the vSphere user interface according to your needs.</p> <note> <p>You cannot use the <code>dedicatedHostId</code> and <code>placementGroupId</code> parameters together in the same <code>CreateEnvironment</code> action. This results in a <code>ValidationException</code> response.</p> </note>
30
+ * <p>Creates an Amazon EVS environment that runs VCF software, such as SDDC Manager, NSX Manager, and vCenter Server.</p> <p>During environment creation, Amazon EVS performs validations on DNS settings, provisions VLAN subnets and hosts, and deploys the supplied version of VCF.</p> <p>It can take several hours to create an environment. After the deployment completes, you can configure VCF in the vSphere user interface according to your needs.</p> <important> <p>When creating a new environment, the default ESX version for the selected VCF version will be used, you cannot choose a specific ESX version in <code>CreateEnvironment</code> action. When a host has been added with a specific ESX version, it can only be upgraded using vCenter Lifecycle Manager.</p> </important> <note> <p>You cannot use the <code>dedicatedHostId</code> and <code>placementGroupId</code> parameters together in the same <code>CreateEnvironment</code> action. This results in a <code>ValidationException</code> response.</p> </note>
31
31
  * @example
32
32
  * Use a bare-bones client and the command you need to make an API call.
33
33
  * ```javascript
@@ -50,7 +50,7 @@ declare const CreateEnvironmentCommand_base: {
50
50
  * },
51
51
  * vpcId: "STRING_VALUE", // required
52
52
  * serviceAccessSubnetId: "STRING_VALUE", // required
53
- * vcfVersion: "VCF-5.2.1", // required
53
+ * vcfVersion: "VCF-5.2.1" || "VCF-5.2.2", // required
54
54
  * termsAccepted: true || false, // required
55
55
  * licenseInfo: [ // LicenseInfoList // required
56
56
  * { // LicenseInfo
@@ -122,7 +122,7 @@ declare const CreateEnvironmentCommand_base: {
122
122
  * // environmentName: "STRING_VALUE",
123
123
  * // vpcId: "STRING_VALUE",
124
124
  * // serviceAccessSubnetId: "STRING_VALUE",
125
- * // vcfVersion: "VCF-5.2.1",
125
+ * // vcfVersion: "VCF-5.2.1" || "VCF-5.2.2",
126
126
  * // termsAccepted: true || false,
127
127
  * // licenseInfo: [ // LicenseInfoList
128
128
  * // { // LicenseInfo
@@ -27,7 +27,7 @@ declare const CreateEnvironmentHostCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Creates an ESXi host and adds it to an Amazon EVS environment. Amazon EVS supports 4-16 hosts per environment.</p> <p>This action can only be used after the Amazon EVS environment is deployed.</p> <p>You can use the <code>dedicatedHostId</code> parameter to specify an Amazon EC2 Dedicated Host for ESXi host creation.</p> <p> You can use the <code>placementGroupId</code> parameter to specify a cluster or partition placement group to launch EC2 instances into.</p> <note> <p>You cannot use the <code>dedicatedHostId</code> and <code>placementGroupId</code> parameters together in the same <code>CreateEnvironmentHost</code> action. This results in a <code>ValidationException</code> response.</p> </note>
30
+ * <p>Creates an ESX host and adds it to an Amazon EVS environment. Amazon EVS supports 4-16 hosts per environment.</p> <p>This action can only be used after the Amazon EVS environment is deployed.</p> <p>You can use the <code>dedicatedHostId</code> parameter to specify an Amazon EC2 Dedicated Host for ESX host creation.</p> <p> You can use the <code>placementGroupId</code> parameter to specify a cluster or partition placement group to launch EC2 instances into.</p> <note> <p>If you don't specify an ESX version when adding hosts using <code>CreateEnvironmentHost</code> action, Amazon EVS automatically uses the default ESX version associated with your environment's VCF version. To find the default ESX version for a particular VCF version, use the <code>GetVersions</code> action.</p> </note> <note> <p>You cannot use the <code>dedicatedHostId</code> and <code>placementGroupId</code> parameters together in the same <code>CreateEnvironmentHost</code> action. This results in a <code>ValidationException</code> response.</p> </note>
31
31
  * @example
32
32
  * Use a bare-bones client and the command you need to make an API call.
33
33
  * ```javascript
@@ -46,6 +46,7 @@ declare const CreateEnvironmentHostCommand_base: {
46
46
  * placementGroupId: "STRING_VALUE",
47
47
  * dedicatedHostId: "STRING_VALUE",
48
48
  * },
49
+ * esxVersion: "STRING_VALUE",
49
50
  * };
50
51
  * const command = new CreateEnvironmentHostCommand(input);
51
52
  * const response = await client.send(command);
@@ -53,7 +54,7 @@ declare const CreateEnvironmentHostCommand_base: {
53
54
  * // environmentSummary: { // EnvironmentSummary
54
55
  * // environmentId: "STRING_VALUE",
55
56
  * // environmentName: "STRING_VALUE",
56
- * // vcfVersion: "VCF-5.2.1",
57
+ * // vcfVersion: "VCF-5.2.1" || "VCF-5.2.2",
57
58
  * // environmentStatus: "PASSED" || "FAILED" || "UNKNOWN",
58
59
  * // environmentState: "CREATING" || "CREATED" || "DELETING" || "DELETED" || "CREATE_FAILED",
59
60
  * // createdAt: new Date("TIMESTAMP"),
@@ -89,7 +90,7 @@ declare const CreateEnvironmentHostCommand_base: {
89
90
  * @see {@link EvsClientResolvedConfig | config} for EvsClient's `config` shape.
90
91
  *
91
92
  * @throws {@link ThrottlingException} (client fault)
92
- * <p>The operation couldn't be performed because the service is throttling requests. This exception is thrown when there are too many requests accepted concurrently from the service endpoint.</p>
93
+ * <p>The operation could not be performed because the service is throttling requests. This exception is thrown when the service endpoint receives too many concurrent requests.</p>
93
94
  *
94
95
  * @throws {@link ValidationException} (client fault)
95
96
  * <p>The input fails to satisfy the specified constraints. You will see this exception if invalid inputs are provided for any of the Amazon EVS environment operations, or if a list operation is performed on an environment resource that is still initializing.</p>