Amazon.KinesisAnalytics.AmazonKinesisAnalyticsClient.AddApplicationReferenceDataSourceAsync C# (CSharp) Method

AddApplicationReferenceDataSourceAsync() public method

Initiates the asynchronous execution of the AddApplicationReferenceDataSource operation.
public AddApplicationReferenceDataSourceAsync ( AddApplicationReferenceDataSourceRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.KinesisAnalytics.Model.AddApplicationReferenceDataSourceRequest Container for the necessary parameters to execute the AddApplicationReferenceDataSource operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task
        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);
        }