AWS SDK for .NET Documentation
AssociateAddress Method (request)
Amazon ► Amazon.EC2 ► AmazonEC2Client ► AssociateAddress(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

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 |

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