AWS SDK for .NET Documentation
AssociateAddress Method (request)
AmazonAmazon.EC2AmazonEC2AssociateAddress(AssociateAddressRequest) Did this page help you?   Yes   No    Tell us about it...
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
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

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)