/// <summary> /// Initiates the asynchronous execution of the AddApplicationCloudWatchLoggingOption operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the AddApplicationCloudWatchLoggingOption operation.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// <returns>The task object representing the asynchronous operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/AddApplicationCloudWatchLoggingOption">REST API Reference for AddApplicationCloudWatchLoggingOption Operation</seealso> public virtual Task <AddApplicationCloudWatchLoggingOptionResponse> AddApplicationCloudWatchLoggingOptionAsync(AddApplicationCloudWatchLoggingOptionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = AddApplicationCloudWatchLoggingOptionRequestMarshaller.Instance; options.ResponseUnmarshaller = AddApplicationCloudWatchLoggingOptionResponseUnmarshaller.Instance; return(InvokeAsync <AddApplicationCloudWatchLoggingOptionResponse>(request, options, cancellationToken)); }
/// <summary> /// Initiates the asynchronous execution of the AddApplicationCloudWatchLoggingOption operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the AddApplicationCloudWatchLoggingOption operation.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// <returns>The task object representing the asynchronous operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/AddApplicationCloudWatchLoggingOption">REST API Reference for AddApplicationCloudWatchLoggingOption Operation</seealso> public Task <AddApplicationCloudWatchLoggingOptionResponse> AddApplicationCloudWatchLoggingOptionAsync(AddApplicationCloudWatchLoggingOptionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var marshaller = new AddApplicationCloudWatchLoggingOptionRequestMarshaller(); var unmarshaller = AddApplicationCloudWatchLoggingOptionResponseUnmarshaller.Instance; return(InvokeAsync <AddApplicationCloudWatchLoggingOptionRequest, AddApplicationCloudWatchLoggingOptionResponse>(request, marshaller, unmarshaller, cancellationToken)); }
internal virtual AddApplicationCloudWatchLoggingOptionResponse AddApplicationCloudWatchLoggingOption(AddApplicationCloudWatchLoggingOptionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = AddApplicationCloudWatchLoggingOptionRequestMarshaller.Instance; options.ResponseUnmarshaller = AddApplicationCloudWatchLoggingOptionResponseUnmarshaller.Instance; return(Invoke <AddApplicationCloudWatchLoggingOptionResponse>(request, options)); }
internal AddApplicationCloudWatchLoggingOptionResponse AddApplicationCloudWatchLoggingOption(AddApplicationCloudWatchLoggingOptionRequest request) { var marshaller = new AddApplicationCloudWatchLoggingOptionRequestMarshaller(); var unmarshaller = AddApplicationCloudWatchLoggingOptionResponseUnmarshaller.Instance; return(Invoke <AddApplicationCloudWatchLoggingOptionRequest, AddApplicationCloudWatchLoggingOptionResponse>(request, marshaller, unmarshaller)); }