EVS / Client / disassociate_eip_from_vlan
disassociate_eip_from_vlan¶
- EVS.Client.disassociate_eip_from_vlan(**kwargs)¶
Disassociates an Elastic IP address from a public HCX VLAN. This operation is only allowed for public HCX VLANs at this time.
See also: AWS API Documentation
Request Syntax
response = client.disassociate_eip_from_vlan( clientToken='string', environmentId='string', vlanName='string', associationId='string' )
- Parameters:
clientToken (string) –
Note
This parameter is not used in Amazon EVS currently. If you supply input for this parameter, it will have no effect.
A unique, case-sensitive identifier that you provide to ensure the idempotency of the environment creation request. If you do not specify a client token, a randomly generated token is used for the request to ensure idempotency.
This field is autopopulated if not provided.
environmentId (string) –
[REQUIRED]
A unique ID for the environment containing the VLAN that the Elastic IP address disassociates from.
vlanName (string) –
[REQUIRED]
The name of the VLAN.
hcx
is the only accepted VLAN name at this time.associationId (string) –
[REQUIRED]
A unique ID for the Elastic IP address association.
- Return type:
dict
- Returns:
Response Syntax
{ 'vlan': { 'vlanId': 123, 'cidr': 'string', 'availabilityZone': 'string', 'functionName': 'string', 'subnetId': 'string', 'createdAt': datetime(2015, 1, 1), 'modifiedAt': datetime(2015, 1, 1), 'vlanState': 'CREATING'|'CREATED'|'DELETING'|'DELETED'|'CREATE_FAILED', 'stateDetails': 'string', 'eipAssociations': [ { 'associationId': 'string', 'allocationId': 'string', 'ipAddress': 'string' }, ], 'isPublic': True|False, 'networkAclId': 'string' } }
Response Structure
(dict) –
vlan (dict) –
The VLANs that Amazon EVS creates during environment creation.
vlanId (integer) –
The unique ID of the VLAN.
cidr (string) –
The CIDR block of the VLAN. Amazon EVS VLAN subnets have a minimum CIDR block size of /28 and a maximum size of /24.
availabilityZone (string) –
The availability zone of the VLAN.
functionName (string) –
The VMware VCF traffic type that is carried over the VLAN. For example, a VLAN with a
functionName
ofhcx
is being used to carry VMware HCX traffic.subnetId (string) –
The unique ID of the VLAN subnet.
createdAt (datetime) –
The date and time that the VLAN was created.
modifiedAt (datetime) –
The date and time that the VLAN was modified.
vlanState (string) –
The state of the VLAN.
stateDetails (string) –
The state details of the VLAN.
eipAssociations (list) –
An array of Elastic IP address associations.
(dict) –
An Elastic IP address association with the elastic network interface in the VLAN subnet.
associationId (string) –
A unique ID for the elastic IP address association with the VLAN subnet.
allocationId (string) –
The Elastic IP address allocation ID.
ipAddress (string) –
The Elastic IP address.
isPublic (boolean) –
Determines if the VLAN that Amazon EVS provisions is public or private.
networkAclId (string) –
A unique ID for a network access control list.
Exceptions
EVS.Client.exceptions.ThrottlingException
EVS.Client.exceptions.ValidationException
EVS.Client.exceptions.ResourceNotFoundException