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

AssociateSubnetCidrBlockAsync() public method

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

            return InvokeAsync<AssociateSubnetCidrBlockRequest,AssociateSubnetCidrBlockResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonEC2Client