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

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

Assigns the DELETED status to a BatchPrediction, rendering it unusable.

After using the DeleteBatchPrediction operation, you can use the GetBatchPrediction operation to verify that the status of the BatchPrediction changed to DELETED.

Caution: The result of the DeleteBatchPrediction operation is irreversible.

/// 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 DeleteBatchPredictionAsync ( string batchPredictionId, System cancellationToken = default(CancellationToken) ) : Task
batchPredictionId string A user-supplied ID that uniquely identifies the BatchPrediction.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
Результат Task
        public Task<DeleteBatchPredictionResponse> DeleteBatchPredictionAsync(string batchPredictionId, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var request = new DeleteBatchPredictionRequest();
            request.BatchPredictionId = batchPredictionId;
            return DeleteBatchPredictionAsync(request, cancellationToken);
        }

Same methods

AmazonMachineLearningClient::DeleteBatchPredictionAsync ( Amazon.MachineLearning.Model.DeleteBatchPredictionRequest request, System cancellationToken = default(CancellationToken) ) : Task
AmazonMachineLearningClient