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.
| C# |
AssociateAddressResponse AssociateAddress( AssociateAddressRequest request )
- request (AssociateAddressRequest)
- Associate Address request
Associate Address Response from the service
This is an idempotent operation. If you call it more than once, Amazon EC2 does not return an error.
| Exception | Condition |
|---|---|
| WebException | |
| AmazonEC2Exception |