Amazon.OpsWorks.AmazonOpsWorksClient.AssociateElasticIpAsync C# (CSharp) Method

AssociateElasticIpAsync() public method

Initiates the asynchronous execution of the AssociateElasticIp operation.
public AssociateElasticIpAsync ( AssociateElasticIpRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.OpsWorks.Model.AssociateElasticIpRequest Container for the necessary parameters to execute the AssociateElasticIp operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task
        public Task<AssociateElasticIpResponse> AssociateElasticIpAsync(AssociateElasticIpRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new AssociateElasticIpRequestMarshaller();
            var unmarshaller = AssociateElasticIpResponseUnmarshaller.Instance;

            return InvokeAsync<AssociateElasticIpRequest,AssociateElasticIpResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonOpsWorksClient