public PredictAsync ( PredictRequest request, System cancellationToken = default(CancellationToken) ) : Task |
||
request | PredictRequest | Container for the necessary parameters to execute the Predict operation. |
cancellationToken | System | /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// |
return | Task |
public Task<PredictResponse> PredictAsync(PredictRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var marshaller = new PredictRequestMarshaller();
var unmarshaller = PredictResponseUnmarshaller.Instance;
return InvokeAsync<PredictRequest,PredictResponse>(request, marshaller,
unmarshaller, cancellationToken);
}
AmazonMachineLearningClient::PredictAsync ( string mlModelId, string predictEndpoint, string>.Dictionary |