associate_eip_to_vlan
¶
associate_eip_to_vlan(
environment_id: EnvironmentId,
vlan_name: str,
allocation_id: AllocationId,
*,
config_overrides: Optional[evsClientConfig] = None,
client_token: Optional[ClientToken] = None,
) -> AssociateEipToVlanResponse
Associates an Elastic IP address with a public HCX VLAN. This operation is only allowed for public HCX VLANs at this time.
Parameters:
-
client_token(Optional[ClientToken], default:None) –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.
-
environment_id(EnvironmentId) –A unique ID for the environment containing the VLAN that the Elastic IP address associates with.
-
vlan_name(str) –The name of the VLAN.
hcxis the only accepted VLAN name at this time. -
allocation_id(AllocationId) –The Elastic IP address allocation ID.
Raises:
-
ResourceNotFoundException–A service resource associated with the request could not be found. The resource might not be specified correctly, or it may have a
stateofDELETED. -
ThrottlingException–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.
-
ValidationException–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.
-
UnknownServiceError–The service returned an error code this client does not model.