aws-sdk-evs 1.5.0 → 1.6.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: 5f207c459eb2d74f8cd2afbbec2c8a96ba045f4eb917004d68d8256890f7e04c
4
- data.tar.gz: 7bd95ba97891759b286b13069b813b0690cf52d865c69258e19a1280252bf824
3
+ metadata.gz: 59c7288443ddad3d6db13c524095e4d51f26fd27fb02d952aeaf7853e01994b6
4
+ data.tar.gz: 2071c6cb8302c86c329e0e5c35a325ac207287064dc8f2ea7d88b115b607f529
5
5
  SHA512:
6
- metadata.gz: 8dd201cf117a63c195f7113b8f41cf747dfba9b9e780463ee2cf176a5f69af4a4d30e5d11f0fa9563761b5031bd72c36d0c7f58e3b7a50e4bb983aec9ccbff28
7
- data.tar.gz: 7cbe04a173c30f127ecf9554ab78a269ee7cf916a42dd752eb3368b998f08aa3d87bbd23c909556457fa47ae92bbcb97c71cf78e300084d37f3d3161d7056706
6
+ metadata.gz: 342b78c65da79ddcbc2b5906e7e01035b65b255ca410230a494ebf5397a6a10d00aee10d2190dc1085e6e5ecb70e180abc485893ee09d34ab55200076bbdc6ce
7
+ data.tar.gz: f118cb567f8c03e6ea53330021e11018394ec9f98f16277c26102b1d59bec26aaf9a2545f09dbb690b17ed58fb584cd2a5c3c66992da2bd213bba1b7cd336750
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.6.0 (2025-09-11)
5
+ ------------------
6
+
7
+ * Feature - CreateEnvironment API now supports parameters (isHcxPublic & hcxNetworkAclId) for HCX migration via public internet, adding flexibility for migration scenarios. New APIs have been added for associating (AssociateEipToVlan) & disassociating (DisassociateEipFromVlan) Elastic IP (EIP) addresses.
8
+
4
9
  1.5.0 (2025-08-26)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.5.0
1
+ 1.6.0
@@ -483,6 +483,75 @@ module Aws::Evs
483
483
 
484
484
  # @!group API Operations
485
485
 
486
+ # Associates an Elastic IP address with a public HCX VLAN. This
487
+ # operation is only allowed for public HCX VLANs at this time.
488
+ #
489
+ # @option params [String] :client_token
490
+ # <note markdown="1"> This parameter is not used in Amazon EVS
491
+ # currently. If you supply
492
+ # input for this parameter, it will have no effect.
493
+ #
494
+ # </note>
495
+ #
496
+ # A unique, case-sensitive identifier that you provide to ensure the
497
+ # idempotency of the environment creation request. If you do not specify
498
+ # a client token, a randomly generated token is used for the request to
499
+ # ensure idempotency.
500
+ #
501
+ # **A suitable default value is auto-generated.** You should normally
502
+ # not need to pass this option.**
503
+ #
504
+ # @option params [required, String] :environment_id
505
+ # A unique ID for the environment containing the VLAN that the Elastic
506
+ # IP address associates with.
507
+ #
508
+ # @option params [required, String] :vlan_name
509
+ # The name of the VLAN. `hcx` is the only accepted VLAN name at this
510
+ # time.
511
+ #
512
+ # @option params [required, String] :allocation_id
513
+ # The Elastic IP address allocation ID.
514
+ #
515
+ # @return [Types::AssociateEipToVlanResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
516
+ #
517
+ # * {Types::AssociateEipToVlanResponse#vlan #vlan} => Types::Vlan
518
+ #
519
+ # @example Request syntax with placeholder values
520
+ #
521
+ # resp = client.associate_eip_to_vlan({
522
+ # client_token: "ClientToken",
523
+ # environment_id: "EnvironmentId", # required
524
+ # vlan_name: "AssociateEipToVlanRequestVlanNameString", # required
525
+ # allocation_id: "AllocationId", # required
526
+ # })
527
+ #
528
+ # @example Response structure
529
+ #
530
+ # resp.vlan.vlan_id #=> Integer
531
+ # resp.vlan.cidr #=> String
532
+ # resp.vlan.availability_zone #=> String
533
+ # resp.vlan.function_name #=> String
534
+ # resp.vlan.subnet_id #=> String
535
+ # resp.vlan.created_at #=> Time
536
+ # resp.vlan.modified_at #=> Time
537
+ # resp.vlan.vlan_state #=> String, one of "CREATING", "CREATED", "DELETING", "DELETED", "CREATE_FAILED"
538
+ # resp.vlan.state_details #=> String
539
+ # resp.vlan.eip_associations #=> Array
540
+ # resp.vlan.eip_associations[0].association_id #=> String
541
+ # resp.vlan.eip_associations[0].allocation_id #=> String
542
+ # resp.vlan.eip_associations[0].ip_address #=> String
543
+ # resp.vlan.is_public #=> Boolean
544
+ # resp.vlan.network_acl_id #=> String
545
+ #
546
+ # @see http://docs.aws.amazon.com/goto/WebAPI/evs-2023-07-27/AssociateEipToVlan AWS API Documentation
547
+ #
548
+ # @overload associate_eip_to_vlan(params = {})
549
+ # @param [Hash] params ({})
550
+ def associate_eip_to_vlan(params = {}, options = {})
551
+ req = build_request(:associate_eip_to_vlan, params)
552
+ req.send_request(options)
553
+ end
554
+
486
555
  # Creates an Amazon EVS environment that runs VCF software, such as SDDC
487
556
  # Manager, NSX Manager, and vCenter Server.
488
557
  #
@@ -701,6 +770,8 @@ module Aws::Evs
701
770
  # expansion_vlan_2: { # required
702
771
  # cidr: "Cidr", # required
703
772
  # },
773
+ # is_hcx_public: false,
774
+ # hcx_network_acl_id: "NetworkAclId",
704
775
  # },
705
776
  # hosts: [ # required
706
777
  # {
@@ -1030,6 +1101,75 @@ module Aws::Evs
1030
1101
  req.send_request(options)
1031
1102
  end
1032
1103
 
1104
+ # Disassociates an Elastic IP address from a public HCX VLAN. This
1105
+ # operation is only allowed for public HCX VLANs at this time.
1106
+ #
1107
+ # @option params [String] :client_token
1108
+ # <note markdown="1"> This parameter is not used in Amazon EVS
1109
+ # currently. If you supply
1110
+ # input for this parameter, it will have no effect.
1111
+ #
1112
+ # </note>
1113
+ #
1114
+ # A unique, case-sensitive identifier that you provide to ensure the
1115
+ # idempotency of the environment creation request. If you do not specify
1116
+ # a client token, a randomly generated token is used for the request to
1117
+ # ensure idempotency.
1118
+ #
1119
+ # **A suitable default value is auto-generated.** You should normally
1120
+ # not need to pass this option.**
1121
+ #
1122
+ # @option params [required, String] :environment_id
1123
+ # A unique ID for the environment containing the VLAN that the Elastic
1124
+ # IP address disassociates from.
1125
+ #
1126
+ # @option params [required, String] :vlan_name
1127
+ # The name of the VLAN. `hcx` is the only accepted VLAN name at this
1128
+ # time.
1129
+ #
1130
+ # @option params [required, String] :association_id
1131
+ # A unique ID for the Elastic IP address association.
1132
+ #
1133
+ # @return [Types::DisassociateEipFromVlanResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1134
+ #
1135
+ # * {Types::DisassociateEipFromVlanResponse#vlan #vlan} => Types::Vlan
1136
+ #
1137
+ # @example Request syntax with placeholder values
1138
+ #
1139
+ # resp = client.disassociate_eip_from_vlan({
1140
+ # client_token: "ClientToken",
1141
+ # environment_id: "EnvironmentId", # required
1142
+ # vlan_name: "DisassociateEipFromVlanRequestVlanNameString", # required
1143
+ # association_id: "AssociationId", # required
1144
+ # })
1145
+ #
1146
+ # @example Response structure
1147
+ #
1148
+ # resp.vlan.vlan_id #=> Integer
1149
+ # resp.vlan.cidr #=> String
1150
+ # resp.vlan.availability_zone #=> String
1151
+ # resp.vlan.function_name #=> String
1152
+ # resp.vlan.subnet_id #=> String
1153
+ # resp.vlan.created_at #=> Time
1154
+ # resp.vlan.modified_at #=> Time
1155
+ # resp.vlan.vlan_state #=> String, one of "CREATING", "CREATED", "DELETING", "DELETED", "CREATE_FAILED"
1156
+ # resp.vlan.state_details #=> String
1157
+ # resp.vlan.eip_associations #=> Array
1158
+ # resp.vlan.eip_associations[0].association_id #=> String
1159
+ # resp.vlan.eip_associations[0].allocation_id #=> String
1160
+ # resp.vlan.eip_associations[0].ip_address #=> String
1161
+ # resp.vlan.is_public #=> Boolean
1162
+ # resp.vlan.network_acl_id #=> String
1163
+ #
1164
+ # @see http://docs.aws.amazon.com/goto/WebAPI/evs-2023-07-27/DisassociateEipFromVlan AWS API Documentation
1165
+ #
1166
+ # @overload disassociate_eip_from_vlan(params = {})
1167
+ # @param [Hash] params ({})
1168
+ def disassociate_eip_from_vlan(params = {}, options = {})
1169
+ req = build_request(:disassociate_eip_from_vlan, params)
1170
+ req.send_request(options)
1171
+ end
1172
+
1033
1173
  # Returns a description of the specified environment.
1034
1174
  #
1035
1175
  # @option params [required, String] :environment_id
@@ -1198,6 +1338,12 @@ module Aws::Evs
1198
1338
  # resp.environment_vlans[0].modified_at #=> Time
1199
1339
  # resp.environment_vlans[0].vlan_state #=> String, one of "CREATING", "CREATED", "DELETING", "DELETED", "CREATE_FAILED"
1200
1340
  # resp.environment_vlans[0].state_details #=> String
1341
+ # resp.environment_vlans[0].eip_associations #=> Array
1342
+ # resp.environment_vlans[0].eip_associations[0].association_id #=> String
1343
+ # resp.environment_vlans[0].eip_associations[0].allocation_id #=> String
1344
+ # resp.environment_vlans[0].eip_associations[0].ip_address #=> String
1345
+ # resp.environment_vlans[0].is_public #=> Boolean
1346
+ # resp.environment_vlans[0].network_acl_id #=> String
1201
1347
  #
1202
1348
  # @see http://docs.aws.amazon.com/goto/WebAPI/evs-2023-07-27/ListEnvironmentVlans AWS API Documentation
1203
1349
  #
@@ -1376,7 +1522,7 @@ module Aws::Evs
1376
1522
  tracer: tracer
1377
1523
  )
1378
1524
  context[:gem_name] = 'aws-sdk-evs'
1379
- context[:gem_version] = '1.5.0'
1525
+ context[:gem_version] = '1.6.0'
1380
1526
  Seahorse::Client::Request.new(handlers, context)
1381
1527
  end
1382
1528
 
@@ -14,7 +14,12 @@ module Aws::Evs
14
14
 
15
15
  include Seahorse::Model
16
16
 
17
+ AllocationId = Shapes::StringShape.new(name: 'AllocationId')
17
18
  Arn = Shapes::StringShape.new(name: 'Arn')
19
+ AssociateEipToVlanRequest = Shapes::StructureShape.new(name: 'AssociateEipToVlanRequest')
20
+ AssociateEipToVlanRequestVlanNameString = Shapes::StringShape.new(name: 'AssociateEipToVlanRequestVlanNameString')
21
+ AssociateEipToVlanResponse = Shapes::StructureShape.new(name: 'AssociateEipToVlanResponse')
22
+ AssociationId = Shapes::StringShape.new(name: 'AssociationId')
18
23
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
19
24
  Check = Shapes::StructureShape.new(name: 'Check')
20
25
  CheckResult = Shapes::StringShape.new(name: 'CheckResult')
@@ -32,6 +37,11 @@ module Aws::Evs
32
37
  DeleteEnvironmentHostResponse = Shapes::StructureShape.new(name: 'DeleteEnvironmentHostResponse')
33
38
  DeleteEnvironmentRequest = Shapes::StructureShape.new(name: 'DeleteEnvironmentRequest')
34
39
  DeleteEnvironmentResponse = Shapes::StructureShape.new(name: 'DeleteEnvironmentResponse')
40
+ DisassociateEipFromVlanRequest = Shapes::StructureShape.new(name: 'DisassociateEipFromVlanRequest')
41
+ DisassociateEipFromVlanRequestVlanNameString = Shapes::StringShape.new(name: 'DisassociateEipFromVlanRequestVlanNameString')
42
+ DisassociateEipFromVlanResponse = Shapes::StructureShape.new(name: 'DisassociateEipFromVlanResponse')
43
+ EipAssociation = Shapes::StructureShape.new(name: 'EipAssociation')
44
+ EipAssociationList = Shapes::ListShape.new(name: 'EipAssociationList')
35
45
  Environment = Shapes::StructureShape.new(name: 'Environment')
36
46
  EnvironmentId = Shapes::StringShape.new(name: 'EnvironmentId')
37
47
  EnvironmentName = Shapes::StringShape.new(name: 'EnvironmentName')
@@ -64,6 +74,7 @@ module Aws::Evs
64
74
  ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
65
75
  ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
66
76
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
77
+ NetworkAclId = Shapes::StringShape.new(name: 'NetworkAclId')
67
78
  NetworkInterface = Shapes::StructureShape.new(name: 'NetworkInterface')
68
79
  NetworkInterfaceId = Shapes::StringShape.new(name: 'NetworkInterfaceId')
69
80
  NetworkInterfaceList = Shapes::ListShape.new(name: 'NetworkInterfaceList')
@@ -108,6 +119,15 @@ module Aws::Evs
108
119
  VlanState = Shapes::StringShape.new(name: 'VlanState')
109
120
  VpcId = Shapes::StringShape.new(name: 'VpcId')
110
121
 
122
+ AssociateEipToVlanRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
123
+ AssociateEipToVlanRequest.add_member(:environment_id, Shapes::ShapeRef.new(shape: EnvironmentId, required: true, location_name: "environmentId"))
124
+ AssociateEipToVlanRequest.add_member(:vlan_name, Shapes::ShapeRef.new(shape: AssociateEipToVlanRequestVlanNameString, required: true, location_name: "vlanName"))
125
+ AssociateEipToVlanRequest.add_member(:allocation_id, Shapes::ShapeRef.new(shape: AllocationId, required: true, location_name: "allocationId"))
126
+ AssociateEipToVlanRequest.struct_class = Types::AssociateEipToVlanRequest
127
+
128
+ AssociateEipToVlanResponse.add_member(:vlan, Shapes::ShapeRef.new(shape: Vlan, location_name: "vlan"))
129
+ AssociateEipToVlanResponse.struct_class = Types::AssociateEipToVlanResponse
130
+
111
131
  Check.add_member(:type, Shapes::ShapeRef.new(shape: CheckType, location_name: "type"))
112
132
  Check.add_member(:result, Shapes::ShapeRef.new(shape: CheckResult, location_name: "result"))
113
133
  Check.add_member(:impaired_since, Shapes::ShapeRef.new(shape: Timestamp, location_name: "impairedSince"))
@@ -163,6 +183,22 @@ module Aws::Evs
163
183
  DeleteEnvironmentResponse.add_member(:environment, Shapes::ShapeRef.new(shape: Environment, location_name: "environment"))
164
184
  DeleteEnvironmentResponse.struct_class = Types::DeleteEnvironmentResponse
165
185
 
186
+ DisassociateEipFromVlanRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
187
+ DisassociateEipFromVlanRequest.add_member(:environment_id, Shapes::ShapeRef.new(shape: EnvironmentId, required: true, location_name: "environmentId"))
188
+ DisassociateEipFromVlanRequest.add_member(:vlan_name, Shapes::ShapeRef.new(shape: DisassociateEipFromVlanRequestVlanNameString, required: true, location_name: "vlanName"))
189
+ DisassociateEipFromVlanRequest.add_member(:association_id, Shapes::ShapeRef.new(shape: AssociationId, required: true, location_name: "associationId"))
190
+ DisassociateEipFromVlanRequest.struct_class = Types::DisassociateEipFromVlanRequest
191
+
192
+ DisassociateEipFromVlanResponse.add_member(:vlan, Shapes::ShapeRef.new(shape: Vlan, location_name: "vlan"))
193
+ DisassociateEipFromVlanResponse.struct_class = Types::DisassociateEipFromVlanResponse
194
+
195
+ EipAssociation.add_member(:association_id, Shapes::ShapeRef.new(shape: AssociationId, location_name: "associationId"))
196
+ EipAssociation.add_member(:allocation_id, Shapes::ShapeRef.new(shape: AllocationId, location_name: "allocationId"))
197
+ EipAssociation.add_member(:ip_address, Shapes::ShapeRef.new(shape: IpAddress, location_name: "ipAddress"))
198
+ EipAssociation.struct_class = Types::EipAssociation
199
+
200
+ EipAssociationList.member = Shapes::ShapeRef.new(shape: EipAssociation)
201
+
166
202
  Environment.add_member(:environment_id, Shapes::ShapeRef.new(shape: EnvironmentId, location_name: "environmentId"))
167
203
  Environment.add_member(:environment_state, Shapes::ShapeRef.new(shape: EnvironmentState, location_name: "environmentState"))
168
204
  Environment.add_member(:state_details, Shapes::ShapeRef.new(shape: StateDetails, location_name: "stateDetails"))
@@ -243,6 +279,8 @@ module Aws::Evs
243
279
  InitialVlans.add_member(:hcx, Shapes::ShapeRef.new(shape: InitialVlanInfo, required: true, location_name: "hcx"))
244
280
  InitialVlans.add_member(:expansion_vlan_1, Shapes::ShapeRef.new(shape: InitialVlanInfo, required: true, location_name: "expansionVlan1"))
245
281
  InitialVlans.add_member(:expansion_vlan_2, Shapes::ShapeRef.new(shape: InitialVlanInfo, required: true, location_name: "expansionVlan2"))
282
+ InitialVlans.add_member(:is_hcx_public, Shapes::ShapeRef.new(shape: Boolean, location_name: "isHcxPublic"))
283
+ InitialVlans.add_member(:hcx_network_acl_id, Shapes::ShapeRef.new(shape: NetworkAclId, location_name: "hcxNetworkAclId"))
246
284
  InitialVlans.struct_class = Types::InitialVlans
247
285
 
248
286
  LicenseInfo.add_member(:solution_key, Shapes::ShapeRef.new(shape: SolutionKey, required: true, location_name: "solutionKey"))
@@ -370,6 +408,9 @@ module Aws::Evs
370
408
  Vlan.add_member(:modified_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "modifiedAt"))
371
409
  Vlan.add_member(:vlan_state, Shapes::ShapeRef.new(shape: VlanState, location_name: "vlanState"))
372
410
  Vlan.add_member(:state_details, Shapes::ShapeRef.new(shape: StateDetails, location_name: "stateDetails"))
411
+ Vlan.add_member(:eip_associations, Shapes::ShapeRef.new(shape: EipAssociationList, location_name: "eipAssociations"))
412
+ Vlan.add_member(:is_public, Shapes::ShapeRef.new(shape: Boolean, location_name: "isPublic"))
413
+ Vlan.add_member(:network_acl_id, Shapes::ShapeRef.new(shape: NetworkAclId, location_name: "networkAclId"))
373
414
  Vlan.struct_class = Types::Vlan
374
415
 
375
416
  VlanList.member = Shapes::ShapeRef.new(shape: Vlan)
@@ -396,6 +437,17 @@ module Aws::Evs
396
437
  "uid" => "evs-2023-07-27",
397
438
  }
398
439
 
440
+ api.add_operation(:associate_eip_to_vlan, Seahorse::Model::Operation.new.tap do |o|
441
+ o.name = "AssociateEipToVlan"
442
+ o.http_method = "POST"
443
+ o.http_request_uri = "/"
444
+ o.input = Shapes::ShapeRef.new(shape: AssociateEipToVlanRequest)
445
+ o.output = Shapes::ShapeRef.new(shape: AssociateEipToVlanResponse)
446
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
447
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
448
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
449
+ end)
450
+
399
451
  api.add_operation(:create_environment, Seahorse::Model::Operation.new.tap do |o|
400
452
  o.name = "CreateEnvironment"
401
453
  o.http_method = "POST"
@@ -435,6 +487,17 @@ module Aws::Evs
435
487
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
436
488
  end)
437
489
 
490
+ api.add_operation(:disassociate_eip_from_vlan, Seahorse::Model::Operation.new.tap do |o|
491
+ o.name = "DisassociateEipFromVlan"
492
+ o.http_method = "POST"
493
+ o.http_request_uri = "/"
494
+ o.input = Shapes::ShapeRef.new(shape: DisassociateEipFromVlanRequest)
495
+ o.output = Shapes::ShapeRef.new(shape: DisassociateEipFromVlanResponse)
496
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
497
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
498
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
499
+ end)
500
+
438
501
  api.add_operation(:get_environment, Seahorse::Model::Operation.new.tap do |o|
439
502
  o.name = "GetEnvironment"
440
503
  o.http_method = "POST"
@@ -10,6 +10,59 @@
10
10
  module Aws::Evs
11
11
  module Types
12
12
 
13
+ # @!attribute [rw] client_token
14
+ # <note markdown="1"> This parameter is not used in Amazon EVS
15
+ # currently. If you supply
16
+ # input for this parameter, it will have no effect.
17
+ #
18
+ # </note>
19
+ #
20
+ # A unique, case-sensitive identifier that you provide to ensure the
21
+ # idempotency of the environment creation request. If you do not
22
+ # specify a client token, a randomly generated token is used for the
23
+ # request to ensure idempotency.
24
+ #
25
+ # **A suitable default value is auto-generated.** You should normally
26
+ # not need to pass this option.
27
+ # @return [String]
28
+ #
29
+ # @!attribute [rw] environment_id
30
+ # A unique ID for the environment containing the VLAN that the Elastic
31
+ # IP address associates with.
32
+ # @return [String]
33
+ #
34
+ # @!attribute [rw] vlan_name
35
+ # The name of the VLAN. `hcx` is the only accepted VLAN name at this
36
+ # time.
37
+ # @return [String]
38
+ #
39
+ # @!attribute [rw] allocation_id
40
+ # The Elastic IP address allocation ID.
41
+ # @return [String]
42
+ #
43
+ # @see http://docs.aws.amazon.com/goto/WebAPI/evs-2023-07-27/AssociateEipToVlanRequest AWS API Documentation
44
+ #
45
+ class AssociateEipToVlanRequest < Struct.new(
46
+ :client_token,
47
+ :environment_id,
48
+ :vlan_name,
49
+ :allocation_id)
50
+ SENSITIVE = []
51
+ include Aws::Structure
52
+ end
53
+
54
+ # @!attribute [rw] vlan
55
+ # The VLANs that Amazon EVS creates during environment creation.
56
+ # @return [Types::Vlan]
57
+ #
58
+ # @see http://docs.aws.amazon.com/goto/WebAPI/evs-2023-07-27/AssociateEipToVlanResponse AWS API Documentation
59
+ #
60
+ class AssociateEipToVlanResponse < Struct.new(
61
+ :vlan)
62
+ SENSITIVE = []
63
+ include Aws::Structure
64
+ end
65
+
13
66
  # A check on the environment to identify environment health and validate
14
67
  # VMware VCF licensing compliance.
15
68
  #
@@ -413,6 +466,85 @@ module Aws::Evs
413
466
  include Aws::Structure
414
467
  end
415
468
 
469
+ # @!attribute [rw] client_token
470
+ # <note markdown="1"> This parameter is not used in Amazon EVS
471
+ # currently. If you supply
472
+ # input for this parameter, it will have no effect.
473
+ #
474
+ # </note>
475
+ #
476
+ # A unique, case-sensitive identifier that you provide to ensure the
477
+ # idempotency of the environment creation request. If you do not
478
+ # specify a client token, a randomly generated token is used for the
479
+ # request to ensure idempotency.
480
+ #
481
+ # **A suitable default value is auto-generated.** You should normally
482
+ # not need to pass this option.
483
+ # @return [String]
484
+ #
485
+ # @!attribute [rw] environment_id
486
+ # A unique ID for the environment containing the VLAN that the Elastic
487
+ # IP address disassociates from.
488
+ # @return [String]
489
+ #
490
+ # @!attribute [rw] vlan_name
491
+ # The name of the VLAN. `hcx` is the only accepted VLAN name at this
492
+ # time.
493
+ # @return [String]
494
+ #
495
+ # @!attribute [rw] association_id
496
+ # A unique ID for the Elastic IP address association.
497
+ # @return [String]
498
+ #
499
+ # @see http://docs.aws.amazon.com/goto/WebAPI/evs-2023-07-27/DisassociateEipFromVlanRequest AWS API Documentation
500
+ #
501
+ class DisassociateEipFromVlanRequest < Struct.new(
502
+ :client_token,
503
+ :environment_id,
504
+ :vlan_name,
505
+ :association_id)
506
+ SENSITIVE = []
507
+ include Aws::Structure
508
+ end
509
+
510
+ # @!attribute [rw] vlan
511
+ # The VLANs that Amazon EVS creates during environment creation.
512
+ # @return [Types::Vlan]
513
+ #
514
+ # @see http://docs.aws.amazon.com/goto/WebAPI/evs-2023-07-27/DisassociateEipFromVlanResponse AWS API Documentation
515
+ #
516
+ class DisassociateEipFromVlanResponse < Struct.new(
517
+ :vlan)
518
+ SENSITIVE = []
519
+ include Aws::Structure
520
+ end
521
+
522
+ # An Elastic IP address association with the elastic network interface
523
+ # in the VLAN subnet.
524
+ #
525
+ # @!attribute [rw] association_id
526
+ # A unique ID for the elastic IP address association with the VLAN
527
+ # subnet.
528
+ # @return [String]
529
+ #
530
+ # @!attribute [rw] allocation_id
531
+ # The Elastic IP address allocation ID.
532
+ # @return [String]
533
+ #
534
+ # @!attribute [rw] ip_address
535
+ # The Elastic IP address.
536
+ # @return [String]
537
+ #
538
+ # @see http://docs.aws.amazon.com/goto/WebAPI/evs-2023-07-27/EipAssociation AWS API Documentation
539
+ #
540
+ class EipAssociation < Struct.new(
541
+ :association_id,
542
+ :allocation_id,
543
+ :ip_address)
544
+ SENSITIVE = []
545
+ include Aws::Structure
546
+ end
547
+
416
548
  # An object that represents an Amazon EVS environment.
417
549
  #
418
550
  # @!attribute [rw] environment_id
@@ -832,6 +964,18 @@ module Aws::Evs
832
964
  # The HCX VLAN subnet. This VLAN subnet allows the HCX Interconnnect
833
965
  # (IX) and HCX Network Extension (NE) to reach their peers and enable
834
966
  # HCX Service Mesh creation.
967
+ #
968
+ # If you plan to use a public HCX VLAN subnet, the following
969
+ # requirements must be met:
970
+ #
971
+ # * Must have a /28 netmask and be allocated from the IPAM public
972
+ # pool. Required for HCX internet access configuration.
973
+ #
974
+ # * The HCX public VLAN CIDR block must be added to the VPC as a
975
+ # secondary CIDR block.
976
+ #
977
+ # * Must have at least three Elastic IP addresses to be allocated from
978
+ # the public IPAM pool for HCX components.
835
979
  # @return [Types::InitialVlanInfo]
836
980
  #
837
981
  # @!attribute [rw] expansion_vlan_1
@@ -850,6 +994,16 @@ module Aws::Evs
850
994
  # different locations.
851
995
  # @return [Types::InitialVlanInfo]
852
996
  #
997
+ # @!attribute [rw] is_hcx_public
998
+ # Determines if the HCX VLAN that Amazon EVS provisions is public or
999
+ # private.
1000
+ # @return [Boolean]
1001
+ #
1002
+ # @!attribute [rw] hcx_network_acl_id
1003
+ # A unique ID for a network access control list that the HCX VLAN
1004
+ # uses. Required when `isHcxPublic` is set to `true`.
1005
+ # @return [String]
1006
+ #
853
1007
  # @see http://docs.aws.amazon.com/goto/WebAPI/evs-2023-07-27/InitialVlans AWS API Documentation
854
1008
  #
855
1009
  class InitialVlans < Struct.new(
@@ -862,7 +1016,9 @@ module Aws::Evs
862
1016
  :nsx_uplink,
863
1017
  :hcx,
864
1018
  :expansion_vlan_1,
865
- :expansion_vlan_2)
1019
+ :expansion_vlan_2,
1020
+ :is_hcx_public,
1021
+ :hcx_network_acl_id)
866
1022
  SENSITIVE = []
867
1023
  include Aws::Structure
868
1024
  end
@@ -1213,10 +1369,9 @@ module Aws::Evs
1213
1369
  #
1214
1370
  class TagResourceResponse < Aws::EmptyStructure; end
1215
1371
 
1216
- # The `CreateEnvironmentHost` operation couldn't be performed because
1217
- # the service is throttling requests. This exception is thrown when the
1218
- # `CreateEnvironmentHost` request exceeds concurrency of 1 transaction
1219
- # per second (TPS).
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.
1220
1375
  #
1221
1376
  # @!attribute [rw] message
1222
1377
  # Describes the error encountered.
@@ -1428,6 +1583,19 @@ module Aws::Evs
1428
1583
  # The state details of the VLAN.
1429
1584
  # @return [String]
1430
1585
  #
1586
+ # @!attribute [rw] eip_associations
1587
+ # An array of Elastic IP address associations.
1588
+ # @return [Array<Types::EipAssociation>]
1589
+ #
1590
+ # @!attribute [rw] is_public
1591
+ # Determines if the VLAN that Amazon EVS provisions is public or
1592
+ # private.
1593
+ # @return [Boolean]
1594
+ #
1595
+ # @!attribute [rw] network_acl_id
1596
+ # A unique ID for a network access control list.
1597
+ # @return [String]
1598
+ #
1431
1599
  # @see http://docs.aws.amazon.com/goto/WebAPI/evs-2023-07-27/Vlan AWS API Documentation
1432
1600
  #
1433
1601
  class Vlan < Struct.new(
@@ -1439,7 +1607,10 @@ module Aws::Evs
1439
1607
  :created_at,
1440
1608
  :modified_at,
1441
1609
  :vlan_state,
1442
- :state_details)
1610
+ :state_details,
1611
+ :eip_associations,
1612
+ :is_public,
1613
+ :network_acl_id)
1443
1614
  SENSITIVE = []
1444
1615
  include Aws::Structure
1445
1616
  end
data/lib/aws-sdk-evs.rb CHANGED
@@ -23,7 +23,7 @@ Aws::Plugins::GlobalConfiguration.add_identifier(:evs)
23
23
  # structure.
24
24
  #
25
25
  # evs = Aws::Evs::Client.new
26
- # resp = evs.create_environment(params)
26
+ # resp = evs.associate_eip_to_vlan(params)
27
27
  #
28
28
  # See {Client} for more information.
29
29
  #
@@ -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.5.0'
58
+ GEM_VERSION = '1.6.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -79,6 +79,19 @@ module Aws
79
79
  | (?Hash[Symbol, untyped]) -> instance
80
80
 
81
81
 
82
+ interface _AssociateEipToVlanResponseSuccess
83
+ include ::Seahorse::Client::_ResponseSuccess[Types::AssociateEipToVlanResponse]
84
+ def vlan: () -> Types::Vlan
85
+ end
86
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Evs/Client.html#associate_eip_to_vlan-instance_method
87
+ def associate_eip_to_vlan: (
88
+ ?client_token: ::String,
89
+ environment_id: ::String,
90
+ vlan_name: ::String,
91
+ allocation_id: ::String
92
+ ) -> _AssociateEipToVlanResponseSuccess
93
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AssociateEipToVlanResponseSuccess
94
+
82
95
  interface _CreateEnvironmentResponseSuccess
83
96
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateEnvironmentResponse]
84
97
  def environment: () -> Types::Environment
@@ -132,7 +145,9 @@ module Aws
132
145
  },
133
146
  expansion_vlan_2: {
134
147
  cidr: ::String
135
- }
148
+ },
149
+ is_hcx_public: bool?,
150
+ hcx_network_acl_id: ::String?
136
151
  },
137
152
  hosts: Array[
138
153
  {
@@ -204,6 +219,19 @@ module Aws
204
219
  ) -> _DeleteEnvironmentHostResponseSuccess
205
220
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteEnvironmentHostResponseSuccess
206
221
 
222
+ interface _DisassociateEipFromVlanResponseSuccess
223
+ include ::Seahorse::Client::_ResponseSuccess[Types::DisassociateEipFromVlanResponse]
224
+ def vlan: () -> Types::Vlan
225
+ end
226
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Evs/Client.html#disassociate_eip_from_vlan-instance_method
227
+ def disassociate_eip_from_vlan: (
228
+ ?client_token: ::String,
229
+ environment_id: ::String,
230
+ vlan_name: ::String,
231
+ association_id: ::String
232
+ ) -> _DisassociateEipFromVlanResponseSuccess
233
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisassociateEipFromVlanResponseSuccess
234
+
207
235
  interface _GetEnvironmentResponseSuccess
208
236
  include ::Seahorse::Client::_ResponseSuccess[Types::GetEnvironmentResponse]
209
237
  def environment: () -> Types::Environment
data/sig/types.rbs CHANGED
@@ -8,6 +8,19 @@
8
8
  module Aws::Evs
9
9
  module Types
10
10
 
11
+ class AssociateEipToVlanRequest
12
+ attr_accessor client_token: ::String
13
+ attr_accessor environment_id: ::String
14
+ attr_accessor vlan_name: ::String
15
+ attr_accessor allocation_id: ::String
16
+ SENSITIVE: []
17
+ end
18
+
19
+ class AssociateEipToVlanResponse
20
+ attr_accessor vlan: Types::Vlan
21
+ SENSITIVE: []
22
+ end
23
+
11
24
  class Check
12
25
  attr_accessor type: ("KEY_REUSE" | "KEY_COVERAGE" | "REACHABILITY" | "HOST_COUNT")
13
26
  attr_accessor result: ("PASSED" | "FAILED" | "UNKNOWN")
@@ -81,6 +94,26 @@ module Aws::Evs
81
94
  SENSITIVE: []
82
95
  end
83
96
 
97
+ class DisassociateEipFromVlanRequest
98
+ attr_accessor client_token: ::String
99
+ attr_accessor environment_id: ::String
100
+ attr_accessor vlan_name: ::String
101
+ attr_accessor association_id: ::String
102
+ SENSITIVE: []
103
+ end
104
+
105
+ class DisassociateEipFromVlanResponse
106
+ attr_accessor vlan: Types::Vlan
107
+ SENSITIVE: []
108
+ end
109
+
110
+ class EipAssociation
111
+ attr_accessor association_id: ::String
112
+ attr_accessor allocation_id: ::String
113
+ attr_accessor ip_address: ::String
114
+ SENSITIVE: []
115
+ end
116
+
84
117
  class Environment
85
118
  attr_accessor environment_id: ::String
86
119
  attr_accessor environment_state: ("CREATING" | "CREATED" | "DELETING" | "DELETED" | "CREATE_FAILED")
@@ -168,6 +201,8 @@ module Aws::Evs
168
201
  attr_accessor hcx: Types::InitialVlanInfo
169
202
  attr_accessor expansion_vlan_1: Types::InitialVlanInfo
170
203
  attr_accessor expansion_vlan_2: Types::InitialVlanInfo
204
+ attr_accessor is_hcx_public: bool
205
+ attr_accessor hcx_network_acl_id: ::String
171
206
  SENSITIVE: []
172
207
  end
173
208
 
@@ -323,6 +358,9 @@ module Aws::Evs
323
358
  attr_accessor modified_at: ::Time
324
359
  attr_accessor vlan_state: ("CREATING" | "CREATED" | "DELETING" | "DELETED" | "CREATE_FAILED")
325
360
  attr_accessor state_details: ::String
361
+ attr_accessor eip_associations: ::Array[Types::EipAssociation]
362
+ attr_accessor is_public: bool
363
+ attr_accessor network_acl_id: ::String
326
364
  SENSITIVE: []
327
365
  end
328
366
  end
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.5.0
4
+ version: 1.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services