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

DescribeDestinationsAsync() public method

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

            return InvokeAsync<DescribeDestinationsRequest,DescribeDestinationsResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonCloudWatchLogsClient