aws-sdk-evs 1.11.0 → 1.12.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 93e60bcc79377b9e43553eec8d4695907333aa4788d0f6ff7ec08eb0f2b2654b
4
- data.tar.gz: 7d0d9ae768dd7e9541aa982de5c64c2d3e5289dd94896569c31cf520585116a9
3
+ metadata.gz: 634068a774618eb2e87fc5417deb23b76a87421c253e4550a45fc4c4ef88695d
4
+ data.tar.gz: d7705a4bb22e1eb6b7828ca5020e37313280cc78c88cf7230c423e0cd0cc79cd
5
5
  SHA512:
6
- metadata.gz: 0db47e5765f6edb01b6cd7b4cb77a7534bc1d308b3c0c7e3510f4ac2fa461f859fe212f72500c7f4b4b40c0d6da9042b484f9b71c09d1aaecfb18f0687498304
7
- data.tar.gz: 20e3ef6be9115d677f2729abf9b25bda569b37c3b7897225ed836a17bd64b7894eb81a4f50d6de20d681c20bc3781aa4f6db506568552a5cfea49f7929386957
6
+ metadata.gz: aa66c9613b9d5c1a9747691788aad393794ef160402c3a78cc1f0281cb7421667e4ba60ff0244a2d9a0301d7ecfdb823900bcadf18e47d72f78b45b9a55d930e
7
+ data.tar.gz: e03898f13d265fed572c4bf728b6c8685e5eab6d236cf091b146587ac2e9373e5c54ec6164631aa255773a33048af71145a5f97fc0d0f1d83fb182c3aef4d77e
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.12.0 (2026-01-15)
5
+ ------------------
6
+
7
+ * Feature - A new GetVersions API has been added to retrieve VCF, ESX versions, and EC2 instances provided by Amazon EVS. The CreateEnvironment API now allows you to select a VCF version and the CreateEnvironmentHost API introduces a optional esxVersion parameter.
8
+
4
9
  1.11.0 (2026-01-08)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.11.0
1
+ 1.12.0
@@ -563,6 +563,12 @@ module Aws::Evs
563
563
  # deployment completes, you can configure VCF in the vSphere user
564
564
  # interface according to your needs.
565
565
  #
566
+ # When creating a new environment, the default ESX version for the
567
+ # selected VCF version will be used, you cannot choose a specific ESX
568
+ # version in `CreateEnvironment` action. When a host has been added with
569
+ # a specific ESX version, it can only be upgraded using vCenter
570
+ # Lifecycle Manager.
571
+ #
566
572
  # <note markdown="1"> You cannot use the `dedicatedHostId` and `placementGroupId` parameters
567
573
  # together in the same `CreateEnvironment` action. This results in a
568
574
  # `ValidationException` response.
@@ -639,7 +645,7 @@ module Aws::Evs
639
645
  # Connect virtual private gateway associations.
640
646
  #
641
647
  # <note markdown="1"> Ensure that you specify a VPC that is adequately sized to accommodate
642
- # the \{evws} subnets.
648
+ # the Amazon EVS subnets.
643
649
  #
644
650
  # </note>
645
651
  #
@@ -650,8 +656,7 @@ module Aws::Evs
650
656
  # environment.
651
657
  #
652
658
  # @option params [required, String] :vcf_version
653
- # The VCF version to use for the environment. Amazon EVS only supports
654
- # VCF version 5.2.1 at this time.
659
+ # The VCF version to use for the environment.
655
660
  #
656
661
  # @option params [required, Boolean] :terms_accepted
657
662
  # Customer confirmation that the customer has purchased and will
@@ -684,7 +689,7 @@ module Aws::Evs
684
689
  # </note>
685
690
  #
686
691
  # @option params [required, Array<Types::HostInfoForCreate>] :hosts
687
- # The ESXi hosts to add to the environment. Amazon EVS requires that you
692
+ # The ESX hosts to add to the environment. Amazon EVS requires that you
688
693
  # provide details for a minimum of 4 hosts during environment creation.
689
694
  #
690
695
  # For each host, you must provide the desired hostname, EC2 SSH keypair
@@ -731,7 +736,7 @@ module Aws::Evs
731
736
  # },
732
737
  # vpc_id: "VpcId", # required
733
738
  # service_access_subnet_id: "SubnetId", # required
734
- # vcf_version: "VCF-5.2.1", # required, accepts VCF-5.2.1
739
+ # vcf_version: "VCF-5.2.1", # required, accepts VCF-5.2.1, VCF-5.2.2
735
740
  # terms_accepted: false, # required
736
741
  # license_info: [ # required
737
742
  # {
@@ -810,7 +815,7 @@ module Aws::Evs
810
815
  # resp.environment.environment_name #=> String
811
816
  # resp.environment.vpc_id #=> String
812
817
  # resp.environment.service_access_subnet_id #=> String
813
- # resp.environment.vcf_version #=> String, one of "VCF-5.2.1"
818
+ # resp.environment.vcf_version #=> String, one of "VCF-5.2.1", "VCF-5.2.2"
814
819
  # resp.environment.terms_accepted #=> Boolean
815
820
  # resp.environment.license_info #=> Array
816
821
  # resp.environment.license_info[0].solution_key #=> String
@@ -847,18 +852,26 @@ module Aws::Evs
847
852
  req.send_request(options)
848
853
  end
849
854
 
850
- # Creates an ESXi host and adds it to an Amazon EVS environment. Amazon
855
+ # Creates an ESX host and adds it to an Amazon EVS environment. Amazon
851
856
  # EVS supports 4-16 hosts per environment.
852
857
  #
853
858
  # This action can only be used after the Amazon EVS environment is
854
859
  # deployed.
855
860
  #
856
861
  # You can use the `dedicatedHostId` parameter to specify an Amazon EC2
857
- # Dedicated Host for ESXi host creation.
862
+ # Dedicated Host for ESX host creation.
858
863
  #
859
864
  # You can use the `placementGroupId` parameter to specify a cluster or
860
865
  # partition placement group to launch EC2 instances into.
861
866
  #
867
+ # <note markdown="1"> If you don't specify an ESX version when adding hosts using
868
+ # `CreateEnvironmentHost` action, Amazon EVS automatically uses the
869
+ # default ESX version associated with your environment's VCF version.
870
+ # To find the default ESX version for a particular VCF version, use the
871
+ # `GetVersions` action.
872
+ #
873
+ # </note>
874
+ #
862
875
  # <note markdown="1"> You cannot use the `dedicatedHostId` and `placementGroupId` parameters
863
876
  # together in the same `CreateEnvironmentHost` action. This results in a
864
877
  # `ValidationException` response.
@@ -886,6 +899,9 @@ module Aws::Evs
886
899
  # @option params [required, Types::HostInfoForCreate] :host
887
900
  # The host that is created and added to the environment.
888
901
  #
902
+ # @option params [String] :esx_version
903
+ # The ESX version to use for the host.
904
+ #
889
905
  # @return [Types::CreateEnvironmentHostResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
890
906
  #
891
907
  # * {Types::CreateEnvironmentHostResponse#environment_summary #environment_summary} => Types::EnvironmentSummary
@@ -903,13 +919,14 @@ module Aws::Evs
903
919
  # placement_group_id: "PlacementGroupId",
904
920
  # dedicated_host_id: "DedicatedHostId",
905
921
  # },
922
+ # esx_version: "EsxVersion",
906
923
  # })
907
924
  #
908
925
  # @example Response structure
909
926
  #
910
927
  # resp.environment_summary.environment_id #=> String
911
928
  # resp.environment_summary.environment_name #=> String
912
- # resp.environment_summary.vcf_version #=> String, one of "VCF-5.2.1"
929
+ # resp.environment_summary.vcf_version #=> String, one of "VCF-5.2.1", "VCF-5.2.2"
913
930
  # resp.environment_summary.environment_status #=> String, one of "PASSED", "FAILED", "UNKNOWN"
914
931
  # resp.environment_summary.environment_state #=> String, one of "CREATING", "CREATED", "DELETING", "DELETED", "CREATE_FAILED"
915
932
  # resp.environment_summary.created_at #=> Time
@@ -989,7 +1006,7 @@ module Aws::Evs
989
1006
  # resp.environment.environment_name #=> String
990
1007
  # resp.environment.vpc_id #=> String
991
1008
  # resp.environment.service_access_subnet_id #=> String
992
- # resp.environment.vcf_version #=> String, one of "VCF-5.2.1"
1009
+ # resp.environment.vcf_version #=> String, one of "VCF-5.2.1", "VCF-5.2.2"
993
1010
  # resp.environment.terms_accepted #=> Boolean
994
1011
  # resp.environment.license_info #=> Array
995
1012
  # resp.environment.license_info[0].solution_key #=> String
@@ -1072,7 +1089,7 @@ module Aws::Evs
1072
1089
  #
1073
1090
  # resp.environment_summary.environment_id #=> String
1074
1091
  # resp.environment_summary.environment_name #=> String
1075
- # resp.environment_summary.vcf_version #=> String, one of "VCF-5.2.1"
1092
+ # resp.environment_summary.vcf_version #=> String, one of "VCF-5.2.1", "VCF-5.2.2"
1076
1093
  # resp.environment_summary.environment_status #=> String, one of "PASSED", "FAILED", "UNKNOWN"
1077
1094
  # resp.environment_summary.environment_state #=> String, one of "CREATING", "CREATED", "DELETING", "DELETED", "CREATE_FAILED"
1078
1095
  # resp.environment_summary.created_at #=> Time
@@ -1196,7 +1213,7 @@ module Aws::Evs
1196
1213
  # resp.environment.environment_name #=> String
1197
1214
  # resp.environment.vpc_id #=> String
1198
1215
  # resp.environment.service_access_subnet_id #=> String
1199
- # resp.environment.vcf_version #=> String, one of "VCF-5.2.1"
1216
+ # resp.environment.vcf_version #=> String, one of "VCF-5.2.1", "VCF-5.2.2"
1200
1217
  # resp.environment.terms_accepted #=> Boolean
1201
1218
  # resp.environment.license_info #=> Array
1202
1219
  # resp.environment.license_info[0].solution_key #=> String
@@ -1233,6 +1250,37 @@ module Aws::Evs
1233
1250
  req.send_request(options)
1234
1251
  end
1235
1252
 
1253
+ # Returns information about VCF versions, ESX versions and EC2 instance
1254
+ # types provided by Amazon EVS. For each VCF version, the response also
1255
+ # includes the default ESX version and provided EC2 instance types.
1256
+ #
1257
+ # @return [Types::GetVersionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1258
+ #
1259
+ # * {Types::GetVersionsResponse#vcf_versions #vcf_versions} => Array&lt;Types::VcfVersionInfo&gt;
1260
+ # * {Types::GetVersionsResponse#instance_type_esx_versions #instance_type_esx_versions} => Array&lt;Types::InstanceTypeEsxVersionsInfo&gt;
1261
+ #
1262
+ # @example Response structure
1263
+ #
1264
+ # resp.vcf_versions #=> Array
1265
+ # resp.vcf_versions[0].vcf_version #=> String, one of "VCF-5.2.1", "VCF-5.2.2"
1266
+ # resp.vcf_versions[0].status #=> String
1267
+ # resp.vcf_versions[0].default_esx_version #=> String
1268
+ # resp.vcf_versions[0].instance_types #=> Array
1269
+ # resp.vcf_versions[0].instance_types[0] #=> String, one of "i4i.metal"
1270
+ # resp.instance_type_esx_versions #=> Array
1271
+ # resp.instance_type_esx_versions[0].instance_type #=> String, one of "i4i.metal"
1272
+ # resp.instance_type_esx_versions[0].esx_versions #=> Array
1273
+ # resp.instance_type_esx_versions[0].esx_versions[0] #=> String
1274
+ #
1275
+ # @see http://docs.aws.amazon.com/goto/WebAPI/evs-2023-07-27/GetVersions AWS API Documentation
1276
+ #
1277
+ # @overload get_versions(params = {})
1278
+ # @param [Hash] params ({})
1279
+ def get_versions(params = {}, options = {})
1280
+ req = build_request(:get_versions, params)
1281
+ req.send_request(options)
1282
+ end
1283
+
1236
1284
  # List the hosts within an environment.
1237
1285
  #
1238
1286
  # @option params [String] :next_token
@@ -1394,7 +1442,7 @@ module Aws::Evs
1394
1442
  # resp.environment_summaries #=> Array
1395
1443
  # resp.environment_summaries[0].environment_id #=> String
1396
1444
  # resp.environment_summaries[0].environment_name #=> String
1397
- # resp.environment_summaries[0].vcf_version #=> String, one of "VCF-5.2.1"
1445
+ # resp.environment_summaries[0].vcf_version #=> String, one of "VCF-5.2.1", "VCF-5.2.2"
1398
1446
  # resp.environment_summaries[0].environment_status #=> String, one of "PASSED", "FAILED", "UNKNOWN"
1399
1447
  # resp.environment_summaries[0].environment_state #=> String, one of "CREATING", "CREATED", "DELETING", "DELETED", "CREATE_FAILED"
1400
1448
  # resp.environment_summaries[0].created_at #=> Time
@@ -1522,7 +1570,7 @@ module Aws::Evs
1522
1570
  tracer: tracer
1523
1571
  )
1524
1572
  context[:gem_name] = 'aws-sdk-evs'
1525
- context[:gem_version] = '1.11.0'
1573
+ context[:gem_version] = '1.12.0'
1526
1574
  Seahorse::Client::Request.new(handlers, context)
1527
1575
  end
1528
1576
 
@@ -49,8 +49,12 @@ module Aws::Evs
49
49
  EnvironmentStateList = Shapes::ListShape.new(name: 'EnvironmentStateList')
50
50
  EnvironmentSummary = Shapes::StructureShape.new(name: 'EnvironmentSummary')
51
51
  EnvironmentSummaryList = Shapes::ListShape.new(name: 'EnvironmentSummaryList')
52
+ EsxVersion = Shapes::StringShape.new(name: 'EsxVersion')
53
+ EsxVersionList = Shapes::ListShape.new(name: 'EsxVersionList')
52
54
  GetEnvironmentRequest = Shapes::StructureShape.new(name: 'GetEnvironmentRequest')
53
55
  GetEnvironmentResponse = Shapes::StructureShape.new(name: 'GetEnvironmentResponse')
56
+ GetVersionsRequest = Shapes::StructureShape.new(name: 'GetVersionsRequest')
57
+ GetVersionsResponse = Shapes::StructureShape.new(name: 'GetVersionsResponse')
54
58
  Host = Shapes::StructureShape.new(name: 'Host')
55
59
  HostInfoForCreate = Shapes::StructureShape.new(name: 'HostInfoForCreate')
56
60
  HostInfoForCreateList = Shapes::ListShape.new(name: 'HostInfoForCreateList')
@@ -60,7 +64,11 @@ module Aws::Evs
60
64
  InitialVlanInfo = Shapes::StructureShape.new(name: 'InitialVlanInfo')
61
65
  InitialVlans = Shapes::StructureShape.new(name: 'InitialVlans')
62
66
  InstanceType = Shapes::StringShape.new(name: 'InstanceType')
67
+ InstanceTypeEsxVersionsInfo = Shapes::StructureShape.new(name: 'InstanceTypeEsxVersionsInfo')
68
+ InstanceTypeEsxVersionsList = Shapes::ListShape.new(name: 'InstanceTypeEsxVersionsList')
69
+ InstanceTypeList = Shapes::ListShape.new(name: 'InstanceTypeList')
63
70
  Integer = Shapes::IntegerShape.new(name: 'Integer')
71
+ InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
64
72
  IpAddress = Shapes::StringShape.new(name: 'IpAddress')
65
73
  KeyName = Shapes::StringShape.new(name: 'KeyName')
66
74
  LicenseInfo = Shapes::StructureShape.new(name: 'LicenseInfo')
@@ -113,6 +121,8 @@ module Aws::Evs
113
121
  ValidationExceptionReason = Shapes::StringShape.new(name: 'ValidationExceptionReason')
114
122
  VcfHostnames = Shapes::StructureShape.new(name: 'VcfHostnames')
115
123
  VcfVersion = Shapes::StringShape.new(name: 'VcfVersion')
124
+ VcfVersionInfo = Shapes::StructureShape.new(name: 'VcfVersionInfo')
125
+ VcfVersionList = Shapes::ListShape.new(name: 'VcfVersionList')
116
126
  Vlan = Shapes::StructureShape.new(name: 'Vlan')
117
127
  VlanId = Shapes::IntegerShape.new(name: 'VlanId')
118
128
  VlanList = Shapes::ListShape.new(name: 'VlanList')
@@ -141,6 +151,7 @@ module Aws::Evs
141
151
  CreateEnvironmentHostRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
142
152
  CreateEnvironmentHostRequest.add_member(:environment_id, Shapes::ShapeRef.new(shape: EnvironmentId, required: true, location_name: "environmentId"))
143
153
  CreateEnvironmentHostRequest.add_member(:host, Shapes::ShapeRef.new(shape: HostInfoForCreate, required: true, location_name: "host"))
154
+ CreateEnvironmentHostRequest.add_member(:esx_version, Shapes::ShapeRef.new(shape: EsxVersion, location_name: "esxVersion"))
144
155
  CreateEnvironmentHostRequest.struct_class = Types::CreateEnvironmentHostRequest
145
156
 
146
157
  CreateEnvironmentHostResponse.add_member(:environment_summary, Shapes::ShapeRef.new(shape: EnvironmentSummary, location_name: "environmentSummary"))
@@ -235,12 +246,20 @@ module Aws::Evs
235
246
 
236
247
  EnvironmentSummaryList.member = Shapes::ShapeRef.new(shape: EnvironmentSummary)
237
248
 
249
+ EsxVersionList.member = Shapes::ShapeRef.new(shape: String)
250
+
238
251
  GetEnvironmentRequest.add_member(:environment_id, Shapes::ShapeRef.new(shape: EnvironmentId, required: true, location_name: "environmentId"))
239
252
  GetEnvironmentRequest.struct_class = Types::GetEnvironmentRequest
240
253
 
241
254
  GetEnvironmentResponse.add_member(:environment, Shapes::ShapeRef.new(shape: Environment, location_name: "environment"))
242
255
  GetEnvironmentResponse.struct_class = Types::GetEnvironmentResponse
243
256
 
257
+ GetVersionsRequest.struct_class = Types::GetVersionsRequest
258
+
259
+ GetVersionsResponse.add_member(:vcf_versions, Shapes::ShapeRef.new(shape: VcfVersionList, required: true, location_name: "vcfVersions"))
260
+ GetVersionsResponse.add_member(:instance_type_esx_versions, Shapes::ShapeRef.new(shape: InstanceTypeEsxVersionsList, required: true, location_name: "instanceTypeEsxVersions"))
261
+ GetVersionsResponse.struct_class = Types::GetVersionsResponse
262
+
244
263
  Host.add_member(:host_name, Shapes::ShapeRef.new(shape: HostName, location_name: "hostName"))
245
264
  Host.add_member(:ip_address, Shapes::ShapeRef.new(shape: IpAddress, location_name: "ipAddress"))
246
265
  Host.add_member(:key_name, Shapes::ShapeRef.new(shape: KeyName, location_name: "keyName"))
@@ -283,6 +302,17 @@ module Aws::Evs
283
302
  InitialVlans.add_member(:hcx_network_acl_id, Shapes::ShapeRef.new(shape: NetworkAclId, location_name: "hcxNetworkAclId"))
284
303
  InitialVlans.struct_class = Types::InitialVlans
285
304
 
305
+ InstanceTypeEsxVersionsInfo.add_member(:instance_type, Shapes::ShapeRef.new(shape: InstanceType, required: true, location_name: "instanceType"))
306
+ InstanceTypeEsxVersionsInfo.add_member(:esx_versions, Shapes::ShapeRef.new(shape: EsxVersionList, required: true, location_name: "esxVersions"))
307
+ InstanceTypeEsxVersionsInfo.struct_class = Types::InstanceTypeEsxVersionsInfo
308
+
309
+ InstanceTypeEsxVersionsList.member = Shapes::ShapeRef.new(shape: InstanceTypeEsxVersionsInfo)
310
+
311
+ InstanceTypeList.member = Shapes::ShapeRef.new(shape: InstanceType)
312
+
313
+ InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
314
+ InternalServerException.struct_class = Types::InternalServerException
315
+
286
316
  LicenseInfo.add_member(:solution_key, Shapes::ShapeRef.new(shape: SolutionKey, required: true, location_name: "solutionKey"))
287
317
  LicenseInfo.add_member(:vsan_key, Shapes::ShapeRef.new(shape: VSanLicenseKey, required: true, location_name: "vsanKey"))
288
318
  LicenseInfo.struct_class = Types::LicenseInfo
@@ -399,6 +429,14 @@ module Aws::Evs
399
429
  VcfHostnames.add_member(:cloud_builder, Shapes::ShapeRef.new(shape: HostName, required: true, location_name: "cloudBuilder"))
400
430
  VcfHostnames.struct_class = Types::VcfHostnames
401
431
 
432
+ VcfVersionInfo.add_member(:vcf_version, Shapes::ShapeRef.new(shape: VcfVersion, required: true, location_name: "vcfVersion"))
433
+ VcfVersionInfo.add_member(:status, Shapes::ShapeRef.new(shape: String, required: true, location_name: "status"))
434
+ VcfVersionInfo.add_member(:default_esx_version, Shapes::ShapeRef.new(shape: String, required: true, location_name: "defaultEsxVersion"))
435
+ VcfVersionInfo.add_member(:instance_types, Shapes::ShapeRef.new(shape: InstanceTypeList, required: true, location_name: "instanceTypes"))
436
+ VcfVersionInfo.struct_class = Types::VcfVersionInfo
437
+
438
+ VcfVersionList.member = Shapes::ShapeRef.new(shape: VcfVersionInfo)
439
+
402
440
  Vlan.add_member(:vlan_id, Shapes::ShapeRef.new(shape: VlanId, location_name: "vlanId"))
403
441
  Vlan.add_member(:cidr, Shapes::ShapeRef.new(shape: Cidr, location_name: "cidr"))
404
442
  Vlan.add_member(:availability_zone, Shapes::ShapeRef.new(shape: String, location_name: "availabilityZone"))
@@ -508,6 +546,16 @@ module Aws::Evs
508
546
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
509
547
  end)
510
548
 
549
+ api.add_operation(:get_versions, Seahorse::Model::Operation.new.tap do |o|
550
+ o.name = "GetVersions"
551
+ o.http_method = "POST"
552
+ o.http_request_uri = "/"
553
+ o.input = Shapes::ShapeRef.new(shape: GetVersionsRequest)
554
+ o.output = Shapes::ShapeRef.new(shape: GetVersionsResponse)
555
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
556
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
557
+ end)
558
+
511
559
  api.add_operation(:list_environment_hosts, Seahorse::Model::Operation.new.tap do |o|
512
560
  o.name = "ListEnvironmentHosts"
513
561
  o.http_method = "POST"
@@ -27,6 +27,7 @@ module Aws::Evs
27
27
  # See {Seahorse::Client::RequestContext} for more information.
28
28
  #
29
29
  # ## Error Classes
30
+ # * {InternalServerException}
30
31
  # * {ResourceNotFoundException}
31
32
  # * {ServiceQuotaExceededException}
32
33
  # * {TagPolicyException}
@@ -40,6 +41,25 @@ module Aws::Evs
40
41
 
41
42
  extend Aws::Errors::DynamicErrors
42
43
 
44
+ class InternalServerException < ServiceError
45
+
46
+ # @param [Seahorse::Client::RequestContext] context
47
+ # @param [String] message
48
+ # @param [Aws::Evs::Types::InternalServerException] data
49
+ def initialize(context, message, data = Aws::EmptyStructure.new)
50
+ super(context, message, data)
51
+ end
52
+
53
+ # @return [String]
54
+ def message
55
+ @message || @data[:message]
56
+ end
57
+
58
+ def retryable?
59
+ true
60
+ end
61
+ end
62
+
43
63
  class ResourceNotFoundException < ServiceError
44
64
 
45
65
  # @param [Seahorse::Client::RequestContext] context
@@ -84,7 +84,7 @@ module Aws::Evs
84
84
  # the environment, this check fails.
85
85
  #
86
86
  # * `HOST_COUNT`: Checks that your environment has a minimum of 4
87
- # hosts, which is a requirement for VCF 5.2.1.
87
+ # hosts.
88
88
  #
89
89
  # If this check fails, you will need to add hosts so that your
90
90
  # environment meets this minimum requirement. Amazon EVS only
@@ -150,12 +150,17 @@ module Aws::Evs
150
150
  # The host that is created and added to the environment.
151
151
  # @return [Types::HostInfoForCreate]
152
152
  #
153
+ # @!attribute [rw] esx_version
154
+ # The ESX version to use for the host.
155
+ # @return [String]
156
+ #
153
157
  # @see http://docs.aws.amazon.com/goto/WebAPI/evs-2023-07-27/CreateEnvironmentHostRequest AWS API Documentation
154
158
  #
155
159
  class CreateEnvironmentHostRequest < Struct.new(
156
160
  :client_token,
157
161
  :environment_id,
158
- :host)
162
+ :host,
163
+ :esx_version)
159
164
  SENSITIVE = []
160
165
  include Aws::Structure
161
166
  end
@@ -254,7 +259,7 @@ module Aws::Evs
254
259
  # Connect virtual private gateway associations.
255
260
  #
256
261
  # <note markdown="1"> Ensure that you specify a VPC that is adequately sized to
257
- # accommodate the \{evws} subnets.
262
+ # accommodate the Amazon EVS subnets.
258
263
  #
259
264
  # </note>
260
265
  # @return [String]
@@ -267,8 +272,7 @@ module Aws::Evs
267
272
  # @return [String]
268
273
  #
269
274
  # @!attribute [rw] vcf_version
270
- # The VCF version to use for the environment. Amazon EVS only supports
271
- # VCF version 5.2.1 at this time.
275
+ # The VCF version to use for the environment.
272
276
  # @return [String]
273
277
  #
274
278
  # @!attribute [rw] terms_accepted
@@ -306,7 +310,7 @@ module Aws::Evs
306
310
  # @return [Types::InitialVlans]
307
311
  #
308
312
  # @!attribute [rw] hosts
309
- # The ESXi hosts to add to the environment. Amazon EVS requires that
313
+ # The ESX hosts to add to the environment. Amazon EVS requires that
310
314
  # you provide details for a minimum of 4 hosts during environment
311
315
  # creation.
312
316
  #
@@ -770,11 +774,34 @@ module Aws::Evs
770
774
  include Aws::Structure
771
775
  end
772
776
 
773
- # An ESXi host that runs on an Amazon EC2 bare metal instance. Four
774
- # hosts are created in an Amazon EVS environment during environment
775
- # creation. You can add hosts to an environment using the
776
- # `CreateEnvironmentHost` operation. Amazon EVS supports 4-16 hosts per
777
- # environment.
777
+ # @api private
778
+ #
779
+ # @see http://docs.aws.amazon.com/goto/WebAPI/evs-2023-07-27/GetVersionsRequest AWS API Documentation
780
+ #
781
+ class GetVersionsRequest < Aws::EmptyStructure; end
782
+
783
+ # @!attribute [rw] vcf_versions
784
+ # A list of VCF versions with their availability status, default ESX
785
+ # version, and instance types.
786
+ # @return [Array<Types::VcfVersionInfo>]
787
+ #
788
+ # @!attribute [rw] instance_type_esx_versions
789
+ # A list of EC2 instance types and their available ESX versions.
790
+ # @return [Array<Types::InstanceTypeEsxVersionsInfo>]
791
+ #
792
+ # @see http://docs.aws.amazon.com/goto/WebAPI/evs-2023-07-27/GetVersionsResponse AWS API Documentation
793
+ #
794
+ class GetVersionsResponse < Struct.new(
795
+ :vcf_versions,
796
+ :instance_type_esx_versions)
797
+ SENSITIVE = []
798
+ include Aws::Structure
799
+ end
800
+
801
+ # An ESX host that runs on an Amazon EC2 bare metal instance. Four hosts
802
+ # are created in an Amazon EVS environment during environment creation.
803
+ # You can add hosts to an environment using the `CreateEnvironmentHost`
804
+ # operation. Amazon EVS supports 4-16 hosts per environment.
778
805
  #
779
806
  # @!attribute [rw] host_name
780
807
  # The DNS hostname of the host. DNS hostnames for hosts must be unique
@@ -792,6 +819,10 @@ module Aws::Evs
792
819
  # @!attribute [rw] instance_type
793
820
  # The EC2 instance type of the host.
794
821
  #
822
+ # <note markdown="1"> Currently, Amazon EVS supports only the `i4i.metal` instance type.
823
+ #
824
+ # </note>
825
+ #
795
826
  # <note markdown="1"> EC2 instances created through Amazon EVS do not support associating
796
827
  # an IAM instance profile.
797
828
  #
@@ -868,6 +899,10 @@ module Aws::Evs
868
899
  #
869
900
  # @!attribute [rw] instance_type
870
901
  # The EC2 instance type that represents the host.
902
+ #
903
+ # <note markdown="1"> Currently, Amazon EVS supports only the `i4i.metal` instance type.
904
+ #
905
+ # </note>
871
906
  # @return [String]
872
907
  #
873
908
  # @!attribute [rw] placement_group_id
@@ -925,8 +960,8 @@ module Aws::Evs
925
960
  #
926
961
  # @!attribute [rw] vmk_management
927
962
  # The host VMkernel management VLAN subnet. This VLAN subnet carries
928
- # traffic for managing ESXi hosts and communicating with VMware
929
- # vCenter Server.
963
+ # traffic for managing ESX hosts and communicating with VMware vCenter
964
+ # Server.
930
965
  # @return [Types::InitialVlanInfo]
931
966
  #
932
967
  # @!attribute [rw] vm_management
@@ -941,7 +976,7 @@ module Aws::Evs
941
976
  #
942
977
  # @!attribute [rw] v_san
943
978
  # The vSAN VLAN subnet. This VLAN subnet carries the communication
944
- # between ESXi hosts to implement a vSAN shared storage pool.
979
+ # between ESX hosts to implement a vSAN shared storage pool.
945
980
  # @return [Types::InitialVlanInfo]
946
981
  #
947
982
  # @!attribute [rw] v_tep
@@ -974,7 +1009,7 @@ module Aws::Evs
974
1009
  # * The HCX public VLAN CIDR block must be added to the VPC as a
975
1010
  # secondary CIDR block.
976
1011
  #
977
- # * Must have at least three Elastic IP addresses to be allocated from
1012
+ # * Must have at least two Elastic IP addresses to be allocated from
978
1013
  # the public IPAM pool for HCX components.
979
1014
  # @return [Types::InitialVlanInfo]
980
1015
  #
@@ -1023,6 +1058,39 @@ module Aws::Evs
1023
1058
  include Aws::Structure
1024
1059
  end
1025
1060
 
1061
+ # Information about ESX versions offered for each EC2 instance type.
1062
+ #
1063
+ # @!attribute [rw] instance_type
1064
+ # The EC2 instance type.
1065
+ # @return [String]
1066
+ #
1067
+ # @!attribute [rw] esx_versions
1068
+ # The list of ESX versions offered for this instance type.
1069
+ # @return [Array<String>]
1070
+ #
1071
+ # @see http://docs.aws.amazon.com/goto/WebAPI/evs-2023-07-27/InstanceTypeEsxVersionsInfo AWS API Documentation
1072
+ #
1073
+ class InstanceTypeEsxVersionsInfo < Struct.new(
1074
+ :instance_type,
1075
+ :esx_versions)
1076
+ SENSITIVE = []
1077
+ include Aws::Structure
1078
+ end
1079
+
1080
+ # An internal server error occurred. Retry your request.
1081
+ #
1082
+ # @!attribute [rw] message
1083
+ # Describes the error encountered.
1084
+ # @return [String]
1085
+ #
1086
+ # @see http://docs.aws.amazon.com/goto/WebAPI/evs-2023-07-27/InternalServerException AWS API Documentation
1087
+ #
1088
+ class InternalServerException < Struct.new(
1089
+ :message)
1090
+ SENSITIVE = []
1091
+ include Aws::Structure
1092
+ end
1093
+
1026
1094
  # The license information that Amazon EVS requires to create an
1027
1095
  # environment. Amazon EVS requires two license keys: a VCF solution key
1028
1096
  # and a vSAN license key.
@@ -1369,9 +1437,9 @@ module Aws::Evs
1369
1437
  #
1370
1438
  class TagResourceResponse < Aws::EmptyStructure; end
1371
1439
 
1372
- # The operation couldn't be performed because the service is throttling
1373
- # requests. This exception is thrown when there are too many requests
1374
- # accepted concurrently from the service endpoint.
1440
+ # The operation could not be performed because the service is throttling
1441
+ # requests. This exception is thrown when the service endpoint receives
1442
+ # too many concurrent requests.
1375
1443
  #
1376
1444
  # @!attribute [rw] message
1377
1445
  # Describes the error encountered.
@@ -1542,6 +1610,52 @@ module Aws::Evs
1542
1610
  include Aws::Structure
1543
1611
  end
1544
1612
 
1613
+ # Information about a VCF versions provided by Amazon EVS, including its
1614
+ # status, default ESX version, and EC2 instance types.
1615
+ #
1616
+ # @!attribute [rw] vcf_version
1617
+ # The VCF version number.
1618
+ # @return [String]
1619
+ #
1620
+ # @!attribute [rw] status
1621
+ # The status for this VCF version. Valid values are:
1622
+ #
1623
+ # * `AVAILABLE` - This VCF version is available to you.
1624
+ #
1625
+ # * `RESTRICTED` - This VCF version has limited availability.
1626
+ #
1627
+ # <note markdown="1"> If the version you need shows RESTRICTED, and you require, check out
1628
+ # [VCF versions and EC2 instance types provided by Amazon EVS][1] for
1629
+ # more information.
1630
+ #
1631
+ # </note>
1632
+ #
1633
+ #
1634
+ #
1635
+ # [1]: https://docs.aws.amazon.com/evs/latest/userguide/versions-provided.html
1636
+ # @return [String]
1637
+ #
1638
+ # @!attribute [rw] default_esx_version
1639
+ # The default ESX version for this VCF version. It is based on
1640
+ # Broadcom's Bill Of Materials (BOM).
1641
+ # @return [String]
1642
+ #
1643
+ # @!attribute [rw] instance_types
1644
+ # EC2 instance types provided by Amazon EVS for this VCF version for
1645
+ # creating environments.
1646
+ # @return [Array<String>]
1647
+ #
1648
+ # @see http://docs.aws.amazon.com/goto/WebAPI/evs-2023-07-27/VcfVersionInfo AWS API Documentation
1649
+ #
1650
+ class VcfVersionInfo < Struct.new(
1651
+ :vcf_version,
1652
+ :status,
1653
+ :default_esx_version,
1654
+ :instance_types)
1655
+ SENSITIVE = []
1656
+ include Aws::Structure
1657
+ end
1658
+
1545
1659
  # The VLANs that Amazon EVS creates during environment creation.
1546
1660
  #
1547
1661
  # @!attribute [rw] vlan_id
data/lib/aws-sdk-evs.rb CHANGED
@@ -55,7 +55,7 @@ module Aws::Evs
55
55
  autoload :EndpointProvider, 'aws-sdk-evs/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-evs/endpoints'
57
57
 
58
- GEM_VERSION = '1.11.0'
58
+ GEM_VERSION = '1.12.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -107,7 +107,7 @@ module Aws
107
107
  },
108
108
  vpc_id: ::String,
109
109
  service_access_subnet_id: ::String,
110
- vcf_version: ("VCF-5.2.1"),
110
+ vcf_version: ("VCF-5.2.1" | "VCF-5.2.2"),
111
111
  terms_accepted: bool,
112
112
  license_info: Array[
113
113
  {
@@ -191,7 +191,8 @@ module Aws
191
191
  instance_type: ("i4i.metal"),
192
192
  placement_group_id: ::String?,
193
193
  dedicated_host_id: ::String?
194
- }
194
+ },
195
+ ?esx_version: ::String
195
196
  ) -> _CreateEnvironmentHostResponseSuccess
196
197
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateEnvironmentHostResponseSuccess
197
198
 
@@ -242,6 +243,16 @@ module Aws
242
243
  ) -> _GetEnvironmentResponseSuccess
243
244
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetEnvironmentResponseSuccess
244
245
 
246
+ interface _GetVersionsResponseSuccess
247
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetVersionsResponse]
248
+ def vcf_versions: () -> ::Array[Types::VcfVersionInfo]
249
+ def instance_type_esx_versions: () -> ::Array[Types::InstanceTypeEsxVersionsInfo]
250
+ end
251
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Evs/Client.html#get_versions-instance_method
252
+ def get_versions: (
253
+ ) -> _GetVersionsResponseSuccess
254
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetVersionsResponseSuccess
255
+
245
256
  interface _ListEnvironmentHostsResponseSuccess
246
257
  include ::Seahorse::Client::_ResponseSuccess[Types::ListEnvironmentHostsResponse]
247
258
  def next_token: () -> ::String
data/sig/errors.rbs CHANGED
@@ -11,6 +11,9 @@ module Aws
11
11
  class ServiceError < ::Aws::Errors::ServiceError
12
12
  end
13
13
 
14
+ class InternalServerException < ::Aws::Errors::ServiceError
15
+ def message: () -> ::String
16
+ end
14
17
  class ResourceNotFoundException < ::Aws::Errors::ServiceError
15
18
  def message: () -> ::String
16
19
  def resource_id: () -> ::String
data/sig/types.rbs CHANGED
@@ -37,6 +37,7 @@ module Aws::Evs
37
37
  attr_accessor client_token: ::String
38
38
  attr_accessor environment_id: ::String
39
39
  attr_accessor host: Types::HostInfoForCreate
40
+ attr_accessor esx_version: ::String
40
41
  SENSITIVE: []
41
42
  end
42
43
 
@@ -54,7 +55,7 @@ module Aws::Evs
54
55
  attr_accessor service_access_security_groups: Types::ServiceAccessSecurityGroups
55
56
  attr_accessor vpc_id: ::String
56
57
  attr_accessor service_access_subnet_id: ::String
57
- attr_accessor vcf_version: ("VCF-5.2.1")
58
+ attr_accessor vcf_version: ("VCF-5.2.1" | "VCF-5.2.2")
58
59
  attr_accessor terms_accepted: bool
59
60
  attr_accessor license_info: ::Array[Types::LicenseInfo]
60
61
  attr_accessor initial_vlans: Types::InitialVlans
@@ -124,7 +125,7 @@ module Aws::Evs
124
125
  attr_accessor environment_name: ::String
125
126
  attr_accessor vpc_id: ::String
126
127
  attr_accessor service_access_subnet_id: ::String
127
- attr_accessor vcf_version: ("VCF-5.2.1")
128
+ attr_accessor vcf_version: ("VCF-5.2.1" | "VCF-5.2.2")
128
129
  attr_accessor terms_accepted: bool
129
130
  attr_accessor license_info: ::Array[Types::LicenseInfo]
130
131
  attr_accessor site_id: ::String
@@ -141,7 +142,7 @@ module Aws::Evs
141
142
  class EnvironmentSummary
142
143
  attr_accessor environment_id: ::String
143
144
  attr_accessor environment_name: ::String
144
- attr_accessor vcf_version: ("VCF-5.2.1")
145
+ attr_accessor vcf_version: ("VCF-5.2.1" | "VCF-5.2.2")
145
146
  attr_accessor environment_status: ("PASSED" | "FAILED" | "UNKNOWN")
146
147
  attr_accessor environment_state: ("CREATING" | "CREATED" | "DELETING" | "DELETED" | "CREATE_FAILED")
147
148
  attr_accessor created_at: ::Time
@@ -160,6 +161,15 @@ module Aws::Evs
160
161
  SENSITIVE: []
161
162
  end
162
163
 
164
+ class GetVersionsRequest < Aws::EmptyStructure
165
+ end
166
+
167
+ class GetVersionsResponse
168
+ attr_accessor vcf_versions: ::Array[Types::VcfVersionInfo]
169
+ attr_accessor instance_type_esx_versions: ::Array[Types::InstanceTypeEsxVersionsInfo]
170
+ SENSITIVE: []
171
+ end
172
+
163
173
  class Host
164
174
  attr_accessor host_name: ::String
165
175
  attr_accessor ip_address: ::String
@@ -206,6 +216,17 @@ module Aws::Evs
206
216
  SENSITIVE: []
207
217
  end
208
218
 
219
+ class InstanceTypeEsxVersionsInfo
220
+ attr_accessor instance_type: ("i4i.metal")
221
+ attr_accessor esx_versions: ::Array[::String]
222
+ SENSITIVE: []
223
+ end
224
+
225
+ class InternalServerException
226
+ attr_accessor message: ::String
227
+ SENSITIVE: []
228
+ end
229
+
209
230
  class LicenseInfo
210
231
  attr_accessor solution_key: ::String
211
232
  attr_accessor vsan_key: ::String
@@ -348,6 +369,14 @@ module Aws::Evs
348
369
  SENSITIVE: []
349
370
  end
350
371
 
372
+ class VcfVersionInfo
373
+ attr_accessor vcf_version: ("VCF-5.2.1" | "VCF-5.2.2")
374
+ attr_accessor status: ::String
375
+ attr_accessor default_esx_version: ::String
376
+ attr_accessor instance_types: ::Array[("i4i.metal")]
377
+ SENSITIVE: []
378
+ end
379
+
351
380
  class Vlan
352
381
  attr_accessor vlan_id: ::Integer
353
382
  attr_accessor cidr: ::String
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-evs
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.11.0
4
+ version: 1.12.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services