Amazon.MachineLearning.AmazonMachineLearningClient.CreateDataSourceFromS3Async C# (CSharp) Method

CreateDataSourceFromS3Async() public method

Initiates the asynchronous execution of the CreateDataSourceFromS3 operation.
public CreateDataSourceFromS3Async ( CreateDataSourceFromS3Request request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.MachineLearning.Model.CreateDataSourceFromS3Request Container for the necessary parameters to execute the CreateDataSourceFromS3 operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task
        public Task<CreateDataSourceFromS3Response> CreateDataSourceFromS3Async(CreateDataSourceFromS3Request request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new CreateDataSourceFromS3RequestMarshaller();
            var unmarshaller = CreateDataSourceFromS3ResponseUnmarshaller.Instance;

            return InvokeAsync<CreateDataSourceFromS3Request,CreateDataSourceFromS3Response>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonMachineLearningClient