Amazon.CloudWatchLogs.AmazonCloudWatchLogsClient.FilterLogEventsAsync C# (CSharp) Method

FilterLogEventsAsync() public method

Initiates the asynchronous execution of the FilterLogEvents operation.
public FilterLogEventsAsync ( FilterLogEventsRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.CloudWatchLogs.Model.FilterLogEventsRequest Container for the necessary parameters to execute the FilterLogEvents operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task
        public Task<FilterLogEventsResponse> FilterLogEventsAsync(FilterLogEventsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new FilterLogEventsRequestMarshaller();
            var unmarshaller = FilterLogEventsResponseUnmarshaller.Instance;

            return InvokeAsync<FilterLogEventsRequest,FilterLogEventsResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonCloudWatchLogsClient