@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.
Files changed (33) hide show
  1. package/README.md +7 -0
  2. package/dist-cjs/index.js +125 -39
  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 +93 -40
  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 +33 -33
@@ -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,14 +185,15 @@ 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,
179
- [_cT, _eI, _vN, _aI],
180
- [[0, 4], 0, 0, 0]
195
+ [_eI, _vN, _aI, _cT],
196
+ [0, 0, 0, [0, 4]], 3
181
197
  ];
182
198
  export var AssociateEipToVlanResponse$ = [3, n0, _AETVRs,
183
199
  0,
@@ -192,12 +208,12 @@ export var Check$ = [3, n0, _C,
192
208
  export var ConnectivityInfo$ = [3, n0, _CI,
193
209
  0,
194
210
  [_pRSP],
195
- [64 | 0]
211
+ [64 | 0], 1
196
212
  ];
197
213
  export var CreateEnvironmentHostRequest$ = [3, n0, _CEHR,
198
214
  0,
199
- [_cT, _eI, _h],
200
- [[0, 4], 0, () => HostInfoForCreate$]
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,
@@ -206,8 +222,8 @@ export var CreateEnvironmentHostResponse$ = [3, n0, _CEHRr,
206
222
  ];
207
223
  export var CreateEnvironmentRequest$ = [3, n0, _CER,
208
224
  0,
209
- [_cT, _eN, _kKI, _ta, _sASG, _vI, _sASI, _vV, _tA, _lI, _iV, _ho, _cI, _vH, _sI],
210
- [[0, 4], 0, 0, 128 | 0, () => ServiceAccessSecurityGroups$, 0, 0, 0, 2, () => LicenseInfoList, () => InitialVlans$, () => HostInfoForCreateList, () => ConnectivityInfo$, () => VcfHostnames$, 0]
225
+ [_vI, _sASI, _vV, _tA, _lI, _iV, _ho, _cI, _vH, _sI, _cT, _eN, _kKI, _ta, _sASG],
226
+ [0, 0, 0, 2, () => LicenseInfoList, () => InitialVlans$, () => HostInfoForCreateList, () => ConnectivityInfo$, () => VcfHostnames$, 0, [0, 4], 0, 0, 128 | 0, () => ServiceAccessSecurityGroups$], 10
211
227
  ];
212
228
  export var CreateEnvironmentResponse$ = [3, n0, _CERr,
213
229
  0,
@@ -216,8 +232,8 @@ export var CreateEnvironmentResponse$ = [3, n0, _CERr,
216
232
  ];
217
233
  export var DeleteEnvironmentHostRequest$ = [3, n0, _DEHR,
218
234
  0,
219
- [_cT, _eI, _hN],
220
- [[0, 4], 0, 0]
235
+ [_eI, _hN, _cT],
236
+ [0, 0, [0, 4]], 2
221
237
  ];
222
238
  export var DeleteEnvironmentHostResponse$ = [3, n0, _DEHRe,
223
239
  0,
@@ -226,8 +242,8 @@ export var DeleteEnvironmentHostResponse$ = [3, n0, _DEHRe,
226
242
  ];
227
243
  export var DeleteEnvironmentRequest$ = [3, n0, _DER,
228
244
  0,
229
- [_cT, _eI],
230
- [[0, 4], [0, 1]]
245
+ [_eI, _cT],
246
+ [[0, 1], [0, 4]], 1
231
247
  ];
232
248
  export var DeleteEnvironmentResponse$ = [3, n0, _DERe,
233
249
  0,
@@ -236,8 +252,8 @@ export var DeleteEnvironmentResponse$ = [3, n0, _DERe,
236
252
  ];
237
253
  export var DisassociateEipFromVlanRequest$ = [3, n0, _DEFVR,
238
254
  0,
239
- [_cT, _eI, _vN, _aIs],
240
- [[0, 4], 0, 0, 0]
255
+ [_eI, _vN, _aIs, _cT],
256
+ [0, 0, 0, [0, 4]], 3
241
257
  ];
242
258
  export var DisassociateEipFromVlanResponse$ = [3, n0, _DEFVRi,
243
259
  0,
@@ -262,13 +278,23 @@ export var EnvironmentSummary$ = [3, n0, _ES,
262
278
  export var GetEnvironmentRequest$ = [3, n0, _GER,
263
279
  0,
264
280
  [_eI],
265
- [[0, 1]]
281
+ [[0, 1]], 1
266
282
  ];
267
283
  export var GetEnvironmentResponse$ = [3, n0, _GERe,
268
284
  0,
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],
@@ -277,27 +303,38 @@ export var Host$ = [3, n0, _H,
277
303
  export var HostInfoForCreate$ = [3, n0, _HIFC,
278
304
  0,
279
305
  [_hN, _kN, _iT, _pGI, _dHI],
280
- [0, 0, 0, 0, 0]
306
+ [0, 0, 0, 0, 0], 3
281
307
  ];
282
308
  export var InitialVlanInfo$ = [3, n0, _IVI,
283
309
  0,
284
310
  [_ci],
285
- [0]
311
+ [0], 1
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],
290
- [() => InitialVlanInfo$, () => InitialVlanInfo$, () => InitialVlanInfo$, () => InitialVlanInfo$, () => InitialVlanInfo$, () => InitialVlanInfo$, () => InitialVlanInfo$, () => InitialVlanInfo$, () => InitialVlanInfo$, () => InitialVlanInfo$, 2, 0]
315
+ [_vM, _vMm, _vMo, _vS, _vT, _eVT, _nU, _hc, _eVx, _eVxp, _iHP, _hNAI],
316
+ [() => InitialVlanInfo$, () => InitialVlanInfo$, () => InitialVlanInfo$, () => InitialVlanInfo$, () => InitialVlanInfo$, () => InitialVlanInfo$, () => InitialVlanInfo$, () => InitialVlanInfo$, () => InitialVlanInfo$, () => InitialVlanInfo$, 2, 0], 10
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
291
327
  ];
328
+ TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
292
329
  export var LicenseInfo$ = [3, n0, _LI,
293
330
  0,
294
331
  [_sK, _vK],
295
- [0, 0]
332
+ [0, 0], 2
296
333
  ];
297
334
  export var ListEnvironmentHostsRequest$ = [3, n0, _LEHR,
298
335
  0,
299
- [_nT, _mR, _eI],
300
- [[0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }], [0, 1]]
336
+ [_eI, _nT, _mR],
337
+ [[0, 1], [0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }]], 1
301
338
  ];
302
339
  export var ListEnvironmentHostsResponse$ = [3, n0, _LEHRi,
303
340
  0,
@@ -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,
@@ -316,8 +353,8 @@ export var ListEnvironmentsResponse$ = [3, n0, _LERi,
316
353
  ];
317
354
  export var ListEnvironmentVlansRequest$ = [3, n0, _LEVR,
318
355
  0,
319
- [_nT, _mR, _eI],
320
- [[0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }], [0, 1]]
356
+ [_eI, _nT, _mR],
357
+ [[0, 1], [0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }]], 1
321
358
  ];
322
359
  export var ListEnvironmentVlansResponse$ = [3, n0, _LEVRi,
323
360
  0,
@@ -327,7 +364,7 @@ export var ListEnvironmentVlansResponse$ = [3, n0, _LEVRi,
327
364
  export var ListTagsForResourceRequest$ = [3, n0, _LTFRR,
328
365
  0,
329
366
  [_rA],
330
- [0]
367
+ [0], 1
331
368
  ];
332
369
  export var ListTagsForResourceResponse$ = [3, n0, _LTFRRi,
333
370
  0,
@@ -342,7 +379,7 @@ export var NetworkInterface$ = [3, n0, _NI,
342
379
  export var ResourceNotFoundException$ = [-3, n0, _RNFE,
343
380
  { [_er]: _cl, [_hE]: 404 },
344
381
  [_m, _rI, _rT],
345
- [0, 0, 0]
382
+ [0, 0, 0], 3
346
383
  ];
347
384
  TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
348
385
  export var Secret$ = [3, n0, _S,
@@ -358,19 +395,19 @@ export var ServiceAccessSecurityGroups$ = [3, n0, _SASG,
358
395
  export var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
359
396
  { [_er]: _cl, [_hE]: 402 },
360
397
  [_m],
361
- [0]
398
+ [0], 1
362
399
  ];
363
400
  TypeRegistry.for(n0).registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
364
401
  export var TagPolicyException$ = [-3, n0, _TPE,
365
402
  { [_er]: _cl, [_hE]: 400 },
366
403
  [_m],
367
- [0]
404
+ [0], 1
368
405
  ];
369
406
  TypeRegistry.for(n0).registerError(TagPolicyException$, TagPolicyException);
370
407
  export var TagResourceRequest$ = [3, n0, _TRR,
371
408
  0,
372
409
  [_rA, _ta],
373
- [0, 128 | 0]
410
+ [0, 128 | 0], 2
374
411
  ];
375
412
  export var TagResourceResponse$ = [3, n0, _TRRa,
376
413
  0,
@@ -380,19 +417,19 @@ export var TagResourceResponse$ = [3, n0, _TRRa,
380
417
  export var ThrottlingException$ = [-3, n0, _TE,
381
418
  { [_er]: _cl, [_hE]: 429 },
382
419
  [_m, _rAS],
383
- [0, [1, { [_hH]: _RA }]]
420
+ [0, [1, { [_hH]: _RA }]], 1
384
421
  ];
385
422
  TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
386
423
  export var TooManyTagsException$ = [-3, n0, _TMTE,
387
424
  { [_er]: _cl, [_hE]: 400 },
388
425
  [_m],
389
- [0]
426
+ [0], 1
390
427
  ];
391
428
  TypeRegistry.for(n0).registerError(TooManyTagsException$, TooManyTagsException);
392
429
  export var UntagResourceRequest$ = [3, n0, _URR,
393
430
  0,
394
431
  [_rA, _tK],
395
- [0, 64 | 0]
432
+ [0, 64 | 0], 2
396
433
  ];
397
434
  export var UntagResourceResponse$ = [3, n0, _URRn,
398
435
  0,
@@ -402,18 +439,23 @@ export var UntagResourceResponse$ = [3, n0, _URRn,
402
439
  export var ValidationException$ = [-3, n0, _VE,
403
440
  { [_er]: _cl, [_hE]: 400 },
404
441
  [_m, _re, _fL],
405
- [0, 0, () => ValidationExceptionFieldList]
442
+ [0, 0, () => ValidationExceptionFieldList], 2
406
443
  ];
407
444
  TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
408
445
  export var ValidationExceptionField$ = [3, n0, _VEF,
409
446
  0,
410
447
  [_n, _m],
411
- [0, 0]
448
+ [0, 0], 2
412
449
  ];
413
450
  export var VcfHostnames$ = [3, n0, _VH,
414
451
  0,
415
452
  [_vC, _ns, _nM, _nMs, _nMsx, _nE, _nEs, _sM, _cB],
416
- [0, 0, 0, 0, 0, 0, 0, 0, 0]
453
+ [0, 0, 0, 0, 0, 0, 0, 0, 0], 9
454
+ ];
455
+ export var VcfVersionInfo$ = [3, n0, _VVI,
456
+ 0,
457
+ [_vV, _sta, _dEV, _iTn],
458
+ [0, 0, 0, 64 | 0], 4
417
459
  ];
418
460
  export var Vlan$ = [3, n0, _V,
419
461
  0,
@@ -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>
@@ -53,7 +53,7 @@ declare const DeleteEnvironmentCommand_base: {
53
53
  * // environmentName: "STRING_VALUE",
54
54
  * // vpcId: "STRING_VALUE",
55
55
  * // serviceAccessSubnetId: "STRING_VALUE",
56
- * // vcfVersion: "VCF-5.2.1",
56
+ * // vcfVersion: "VCF-5.2.1" || "VCF-5.2.2",
57
57
  * // termsAccepted: true || false,
58
58
  * // licenseInfo: [ // LicenseInfoList
59
59
  * // { // LicenseInfo
@@ -47,7 +47,7 @@ declare const DeleteEnvironmentHostCommand_base: {
47
47
  * // environmentSummary: { // EnvironmentSummary
48
48
  * // environmentId: "STRING_VALUE",
49
49
  * // environmentName: "STRING_VALUE",
50
- * // vcfVersion: "VCF-5.2.1",
50
+ * // vcfVersion: "VCF-5.2.1" || "VCF-5.2.2",
51
51
  * // environmentStatus: "PASSED" || "FAILED" || "UNKNOWN",
52
52
  * // environmentState: "CREATING" || "CREATED" || "DELETING" || "DELETED" || "CREATE_FAILED",
53
53
  * // createdAt: new Date("TIMESTAMP"),
@@ -79,7 +79,7 @@ declare const DisassociateEipFromVlanCommand_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>
@@ -52,7 +52,7 @@ declare const GetEnvironmentCommand_base: {
52
52
  * // environmentName: "STRING_VALUE",
53
53
  * // vpcId: "STRING_VALUE",
54
54
  * // serviceAccessSubnetId: "STRING_VALUE",
55
- * // vcfVersion: "VCF-5.2.1",
55
+ * // vcfVersion: "VCF-5.2.1" || "VCF-5.2.2",
56
56
  * // termsAccepted: true || false,
57
57
  * // licenseInfo: [ // LicenseInfoList
58
58
  * // { // LicenseInfo
@@ -0,0 +1,95 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { EvsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EvsClient";
4
+ import type { GetVersionsRequest, GetVersionsResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetVersionsCommand}.
14
+ */
15
+ export interface GetVersionsCommandInput extends GetVersionsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetVersionsCommand}.
21
+ */
22
+ export interface GetVersionsCommandOutput extends GetVersionsResponse, __MetadataBearer {
23
+ }
24
+ declare const GetVersionsCommand_base: {
25
+ new (input: GetVersionsCommandInput): import("@smithy/smithy-client").CommandImpl<GetVersionsCommandInput, GetVersionsCommandOutput, EvsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [GetVersionsCommandInput]): import("@smithy/smithy-client").CommandImpl<GetVersionsCommandInput, GetVersionsCommandOutput, EvsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Returns information about VCF versions, ESX versions and EC2 instance types provided by Amazon EVS. For each VCF version, the response also includes the default ESX version and provided EC2 instance types.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { EvsClient, GetVersionsCommand } from "@aws-sdk/client-evs"; // ES Modules import
35
+ * // const { EvsClient, GetVersionsCommand } = require("@aws-sdk/client-evs"); // CommonJS import
36
+ * // import type { EvsClientConfig } from "@aws-sdk/client-evs";
37
+ * const config = {}; // type is EvsClientConfig
38
+ * const client = new EvsClient(config);
39
+ * const input = {};
40
+ * const command = new GetVersionsCommand(input);
41
+ * const response = await client.send(command);
42
+ * // { // GetVersionsResponse
43
+ * // vcfVersions: [ // VcfVersionList // required
44
+ * // { // VcfVersionInfo
45
+ * // vcfVersion: "VCF-5.2.1" || "VCF-5.2.2", // required
46
+ * // status: "STRING_VALUE", // required
47
+ * // defaultEsxVersion: "STRING_VALUE", // required
48
+ * // instanceTypes: [ // InstanceTypeList // required
49
+ * // "i4i.metal",
50
+ * // ],
51
+ * // },
52
+ * // ],
53
+ * // instanceTypeEsxVersions: [ // InstanceTypeEsxVersionsList // required
54
+ * // { // InstanceTypeEsxVersionsInfo
55
+ * // instanceType: "i4i.metal", // required
56
+ * // esxVersions: [ // EsxVersionList // required
57
+ * // "STRING_VALUE",
58
+ * // ],
59
+ * // },
60
+ * // ],
61
+ * // };
62
+ *
63
+ * ```
64
+ *
65
+ * @param GetVersionsCommandInput - {@link GetVersionsCommandInput}
66
+ * @returns {@link GetVersionsCommandOutput}
67
+ * @see {@link GetVersionsCommandInput} for command's `input` shape.
68
+ * @see {@link GetVersionsCommandOutput} for command's `response` shape.
69
+ * @see {@link EvsClientResolvedConfig | config} for EvsClient's `config` shape.
70
+ *
71
+ * @throws {@link InternalServerException} (server fault)
72
+ * <p>An internal server error occurred. Retry your request.</p>
73
+ *
74
+ * @throws {@link ThrottlingException} (client fault)
75
+ * <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>
76
+ *
77
+ * @throws {@link EvsServiceException}
78
+ * <p>Base exception class for all service exceptions from Evs service.</p>
79
+ *
80
+ *
81
+ * @public
82
+ */
83
+ export declare class GetVersionsCommand extends GetVersionsCommand_base {
84
+ /** @internal type navigation helper, not in runtime. */
85
+ protected static __types: {
86
+ api: {
87
+ input: {};
88
+ output: GetVersionsResponse;
89
+ };
90
+ sdk: {
91
+ input: GetVersionsCommandInput;
92
+ output: GetVersionsCommandOutput;
93
+ };
94
+ };
95
+ }
@@ -51,7 +51,7 @@ declare const ListEnvironmentsCommand_base: {
51
51
  * // { // EnvironmentSummary
52
52
  * // environmentId: "STRING_VALUE",
53
53
  * // environmentName: "STRING_VALUE",
54
- * // vcfVersion: "VCF-5.2.1",
54
+ * // vcfVersion: "VCF-5.2.1" || "VCF-5.2.2",
55
55
  * // environmentStatus: "PASSED" || "FAILED" || "UNKNOWN",
56
56
  * // environmentState: "CREATING" || "CREATED" || "DELETING" || "DELETED" || "CREATE_FAILED",
57
57
  * // createdAt: new Date("TIMESTAMP"),
@@ -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";
@@ -44,6 +44,7 @@ export type _InstanceType = (typeof _InstanceType)[keyof typeof _InstanceType];
44
44
  */
45
45
  export declare const VcfVersion: {
46
46
  readonly VCF_5_2_1: "VCF-5.2.1";
47
+ readonly VCF_5_2_2: "VCF-5.2.2";
47
48
  };
48
49
  /**
49
50
  * @public