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

RevokeSecurityGroupIngressAsync() public method

Initiates the asynchronous execution of the RevokeSecurityGroupIngress operation.
public RevokeSecurityGroupIngressAsync ( RevokeSecurityGroupIngressRequest request, System cancellationToken = default(CancellationToken) ) : Task
request RevokeSecurityGroupIngressRequest Container for the necessary parameters to execute the RevokeSecurityGroupIngress operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task
        public Task<RevokeSecurityGroupIngressResponse> RevokeSecurityGroupIngressAsync(RevokeSecurityGroupIngressRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new RevokeSecurityGroupIngressRequestMarshaller();
            var unmarshaller = RevokeSecurityGroupIngressResponseUnmarshaller.Instance;

            return InvokeAsync<RevokeSecurityGroupIngressRequest,RevokeSecurityGroupIngressResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonEC2Client