Amazon.MachineLearning.AmazonMachineLearningClient.GetDataSourceAsync C# (CSharp) Метод

GetDataSourceAsync() публичный Метод

Returns a DataSource that includes metadata and data file information, as well as the current status of the DataSource.

GetDataSource provides results in normal or verbose format. The verbose format adds the schema description and the list of files pointed to by the DataSource to the normal format.

/// An error on the server occurred when trying to process a request. /// /// An error on the client occurred. Typically, the cause is an invalid input value. /// /// A specified resource cannot be located. ///
public GetDataSourceAsync ( string dataSourceId, bool verbose, System cancellationToken = default(CancellationToken) ) : Task
dataSourceId string The ID assigned to the DataSource at creation.
verbose bool Specifies whether the GetDataSource operation should return DataSourceSchema. If true, DataSourceSchema is returned. If false, DataSourceSchema is not returned.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
Результат Task
        public Task<GetDataSourceResponse> GetDataSourceAsync(string dataSourceId, bool verbose, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var request = new GetDataSourceRequest();
            request.DataSourceId = dataSourceId;
            request.Verbose = verbose;
            return GetDataSourceAsync(request, cancellationToken);
        }

Same methods

AmazonMachineLearningClient::GetDataSourceAsync ( GetDataSourceRequest request, System cancellationToken = default(CancellationToken) ) : Task
AmazonMachineLearningClient::GetDataSourceAsync ( string dataSourceId, System cancellationToken = default(CancellationToken) ) : Task
AmazonMachineLearningClient