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

AuthorizeSecurityGroupEgressAsync() public method

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

            return InvokeAsync<AuthorizeSecurityGroupEgressRequest,AuthorizeSecurityGroupEgressResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonEC2Client