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

AssociateVpcCidrBlockAsync() public method

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

            return InvokeAsync<AssociateVpcCidrBlockRequest,AssociateVpcCidrBlockResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonEC2Client