/// <summary> /// Initiates the asynchronous execution of the AddApplicationReferenceDataSource operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the AddApplicationReferenceDataSource 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> public Task <AddApplicationReferenceDataSourceResponse> AddApplicationReferenceDataSourceAsync(AddApplicationReferenceDataSourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var marshaller = new AddApplicationReferenceDataSourceRequestMarshaller(); var unmarshaller = AddApplicationReferenceDataSourceResponseUnmarshaller.Instance; return(InvokeAsync <AddApplicationReferenceDataSourceRequest, AddApplicationReferenceDataSourceResponse>(request, marshaller, unmarshaller, cancellationToken)); }
/// <summary> /// Initiates the asynchronous execution of the AddApplicationReferenceDataSource operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the AddApplicationReferenceDataSource 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/AddApplicationReferenceDataSource">REST API Reference for AddApplicationReferenceDataSource Operation</seealso> public virtual Task <AddApplicationReferenceDataSourceResponse> AddApplicationReferenceDataSourceAsync(AddApplicationReferenceDataSourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = AddApplicationReferenceDataSourceRequestMarshaller.Instance; options.ResponseUnmarshaller = AddApplicationReferenceDataSourceResponseUnmarshaller.Instance; return(InvokeAsync <AddApplicationReferenceDataSourceResponse>(request, options, cancellationToken)); }
internal AddApplicationReferenceDataSourceResponse AddApplicationReferenceDataSource(AddApplicationReferenceDataSourceRequest request) { var marshaller = new AddApplicationReferenceDataSourceRequestMarshaller(); var unmarshaller = AddApplicationReferenceDataSourceResponseUnmarshaller.Instance; return(Invoke <AddApplicationReferenceDataSourceRequest, AddApplicationReferenceDataSourceResponse>(request, marshaller, unmarshaller)); }
internal virtual AddApplicationReferenceDataSourceResponse AddApplicationReferenceDataSource(AddApplicationReferenceDataSourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = AddApplicationReferenceDataSourceRequestMarshaller.Instance; options.ResponseUnmarshaller = AddApplicationReferenceDataSourceResponseUnmarshaller.Instance; return(Invoke <AddApplicationReferenceDataSourceResponse>(request, options)); }