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

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

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

After using the DeleteMLModel operation, you can use the GetMLModel operation to verify that the status of the MLModel changed to DELETED.

Caution: The result of the DeleteMLModel 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 DeleteMLModelAsync ( string mlModelId, System cancellationToken = default(CancellationToken) ) : Task
mlModelId string A user-supplied ID that uniquely identifies the MLModel.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
Результат Task
        public Task<DeleteMLModelResponse> DeleteMLModelAsync(string mlModelId, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var request = new DeleteMLModelRequest();
            request.MLModelId = mlModelId;
            return DeleteMLModelAsync(request, cancellationToken);
        }

Same methods

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