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

CreateFlowLogsAsync() public method

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

            return InvokeAsync<CreateFlowLogsRequest,CreateFlowLogsResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonEC2Client