Skip to content

Commit 3602ca8

Browse files
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.
1 parent bc6ee41 commit 3602ca8

24 files changed

+2127
-35
lines changed

generator/ServiceModels/evs/evs-2023-07-27.api.json

Lines changed: 123 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,21 @@
1616
"uid":"evs-2023-07-27"
1717
},
1818
"operations":{
19+
"AssociateEipToVlan":{
20+
"name":"AssociateEipToVlan",
21+
"http":{
22+
"method":"POST",
23+
"requestUri":"/"
24+
},
25+
"input":{"shape":"AssociateEipToVlanRequest"},
26+
"output":{"shape":"AssociateEipToVlanResponse"},
27+
"errors":[
28+
{"shape":"ThrottlingException"},
29+
{"shape":"ValidationException"},
30+
{"shape":"ResourceNotFoundException"}
31+
],
32+
"idempotent":true
33+
},
1934
"CreateEnvironment":{
2035
"name":"CreateEnvironment",
2136
"http":{
@@ -71,6 +86,21 @@
7186
],
7287
"idempotent":true
7388
},
89+
"DisassociateEipFromVlan":{
90+
"name":"DisassociateEipFromVlan",
91+
"http":{
92+
"method":"POST",
93+
"requestUri":"/"
94+
},
95+
"input":{"shape":"DisassociateEipFromVlanRequest"},
96+
"output":{"shape":"DisassociateEipFromVlanResponse"},
97+
"errors":[
98+
{"shape":"ThrottlingException"},
99+
{"shape":"ValidationException"},
100+
{"shape":"ResourceNotFoundException"}
101+
],
102+
"idempotent":true
103+
},
74104
"GetEnvironment":{
75105
"name":"GetEnvironment",
76106
"http":{
@@ -166,12 +196,52 @@
166196
}
167197
},
168198
"shapes":{
199+
"AllocationId":{
200+
"type":"string",
201+
"max":26,
202+
"min":9,
203+
"pattern":"eipalloc-[a-zA-Z0-9_-]+"
204+
},
169205
"Arn":{
170206
"type":"string",
171207
"max":1011,
172208
"min":1,
173209
"pattern":"arn:aws:evs:[a-z]{2}-[a-z]+-[0-9]:[0-9]{12}:environment/[a-zA-Z0-9_-]+"
174210
},
211+
"AssociateEipToVlanRequest":{
212+
"type":"structure",
213+
"required":[
214+
"environmentId",
215+
"vlanName",
216+
"allocationId"
217+
],
218+
"members":{
219+
"clientToken":{
220+
"shape":"ClientToken",
221+
"idempotencyToken":true
222+
},
223+
"environmentId":{"shape":"EnvironmentId"},
224+
"vlanName":{"shape":"AssociateEipToVlanRequestVlanNameString"},
225+
"allocationId":{"shape":"AllocationId"}
226+
}
227+
},
228+
"AssociateEipToVlanRequestVlanNameString":{
229+
"type":"string",
230+
"max":200,
231+
"min":1
232+
},
233+
"AssociateEipToVlanResponse":{
234+
"type":"structure",
235+
"members":{
236+
"vlan":{"shape":"Vlan"}
237+
}
238+
},
239+
"AssociationId":{
240+
"type":"string",
241+
"max":26,
242+
"min":9,
243+
"pattern":"eipassoc-[a-zA-Z0-9_-]+"
244+
},
175245
"Boolean":{
176246
"type":"boolean",
177247
"box":true
@@ -330,6 +400,46 @@
330400
"environment":{"shape":"Environment"}
331401
}
332402
},
403+
"DisassociateEipFromVlanRequest":{
404+
"type":"structure",
405+
"required":[
406+
"environmentId",
407+
"vlanName",
408+
"associationId"
409+
],
410+
"members":{
411+
"clientToken":{
412+
"shape":"ClientToken",
413+
"idempotencyToken":true
414+
},
415+
"environmentId":{"shape":"EnvironmentId"},
416+
"vlanName":{"shape":"DisassociateEipFromVlanRequestVlanNameString"},
417+
"associationId":{"shape":"AssociationId"}
418+
}
419+
},
420+
"DisassociateEipFromVlanRequestVlanNameString":{
421+
"type":"string",
422+
"max":200,
423+
"min":1
424+
},
425+
"DisassociateEipFromVlanResponse":{
426+
"type":"structure",
427+
"members":{
428+
"vlan":{"shape":"Vlan"}
429+
}
430+
},
431+
"EipAssociation":{
432+
"type":"structure",
433+
"members":{
434+
"associationId":{"shape":"AssociationId"},
435+
"allocationId":{"shape":"AllocationId"},
436+
"ipAddress":{"shape":"IpAddress"}
437+
}
438+
},
439+
"EipAssociationList":{
440+
"type":"list",
441+
"member":{"shape":"EipAssociation"}
442+
},
333443
"Environment":{
334444
"type":"structure",
335445
"members":{
@@ -498,7 +608,9 @@
498608
"nsxUplink":{"shape":"InitialVlanInfo"},
499609
"hcx":{"shape":"InitialVlanInfo"},
500610
"expansionVlan1":{"shape":"InitialVlanInfo"},
501-
"expansionVlan2":{"shape":"InitialVlanInfo"}
611+
"expansionVlan2":{"shape":"InitialVlanInfo"},
612+
"isHcxPublic":{"shape":"Boolean"},
613+
"hcxNetworkAclId":{"shape":"NetworkAclId"}
502614
}
503615
},
504616
"InstanceType":{
@@ -602,6 +714,12 @@
602714
"max":100,
603715
"min":1
604716
},
717+
"NetworkAclId":{
718+
"type":"string",
719+
"max":21,
720+
"min":4,
721+
"pattern":"acl-[a-zA-Z0-9_-]+"
722+
},
605723
"NetworkInterface":{
606724
"type":"structure",
607725
"members":{
@@ -867,7 +985,10 @@
867985
"createdAt":{"shape":"Timestamp"},
868986
"modifiedAt":{"shape":"Timestamp"},
869987
"vlanState":{"shape":"VlanState"},
870-
"stateDetails":{"shape":"StateDetails"}
988+
"stateDetails":{"shape":"StateDetails"},
989+
"eipAssociations":{"shape":"EipAssociationList"},
990+
"isPublic":{"shape":"Boolean"},
991+
"networkAclId":{"shape":"NetworkAclId"}
871992
}
872993
},
873994
"VlanId":{

0 commit comments

Comments
 (0)