Associates an elastic IP address with an instance. If the IP address is
currently assigned to another instance, the IP address is assigned
to the new instance.
Declaration Syntax
C# |
public AssociateAddressResponse AssociateAddress( AssociateAddressRequest request )
Parameters
- request (AssociateAddressRequest)
- Associate Address request
Return Value
Associate Address Response from the service
Remarks
This is an idempotent operation. If you call it more than once, Amazon EC2 does not return an error.
Exceptions
Exception | Condition |
---|---|
WebException | |
AmazonEC2Exception |