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

RevokeSecurityGroupEgressAsync() public method

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

            return InvokeAsync<RevokeSecurityGroupEgressRequest,RevokeSecurityGroupEgressResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonEC2Client