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

PutDestinationAsync() public method

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

            return InvokeAsync<PutDestinationRequest,PutDestinationResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonCloudWatchLogsClient