Amazon.EC2.AmazonEC2Client.AssignPrivateIpAddressesAsync C# (CSharp) Method

AssignPrivateIpAddressesAsync() public method

Initiates the asynchronous execution of the AssignPrivateIpAddresses operation.
public AssignPrivateIpAddressesAsync ( AssignPrivateIpAddressesRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.EC2.Model.AssignPrivateIpAddressesRequest Container for the necessary parameters to execute the AssignPrivateIpAddresses operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task
        public Task<AssignPrivateIpAddressesResponse> AssignPrivateIpAddressesAsync(AssignPrivateIpAddressesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new AssignPrivateIpAddressesRequestMarshaller();
            var unmarshaller = AssignPrivateIpAddressesResponseUnmarshaller.Instance;

            return InvokeAsync<AssignPrivateIpAddressesRequest,AssignPrivateIpAddressesResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonEC2Client