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

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

Assigns the DELETED status to an Evaluation, rendering it unusable.

After invoking the DeleteEvaluation operation, you can use the GetEvaluation operation to verify that the status of the Evaluation changed to DELETED.

Caution

The results of the DeleteEvaluation operation are 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 DeleteEvaluationAsync ( string evaluationId, System cancellationToken = default(CancellationToken) ) : Task
evaluationId string A user-supplied ID that uniquely identifies the Evaluation to delete.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
Результат Task
        public Task<DeleteEvaluationResponse> DeleteEvaluationAsync(string evaluationId, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var request = new DeleteEvaluationRequest();
            request.EvaluationId = evaluationId;
            return DeleteEvaluationAsync(request, cancellationToken);
        }

Same methods

AmazonMachineLearningClient::DeleteEvaluationAsync ( DeleteEvaluationRequest request, System cancellationToken = default(CancellationToken) ) : Task
AmazonMachineLearningClient