MachineLearning / Client / delete_batch_prediction
delete_batch_prediction#
- MachineLearning.Client.delete_batch_prediction(**kwargs)#
Assigns the DELETED status to a
BatchPrediction, rendering it unusable.After using the
DeleteBatchPredictionoperation, you can use the GetBatchPrediction operation to verify that the status of theBatchPredictionchanged to DELETED.Caution: The result of the
DeleteBatchPredictionoperation is irreversible.See also: AWS API Documentation
Request Syntax
response = client.delete_batch_prediction( BatchPredictionId='string' )
- Parameters:
BatchPredictionId (string) –
[REQUIRED]
A user-supplied ID that uniquely identifies the
BatchPrediction.- Return type:
dict
- Returns:
Response Syntax
{ 'BatchPredictionId': 'string' }
Response Structure
(dict) –
Represents the output of a
DeleteBatchPredictionoperation.You can use the
GetBatchPredictionoperation and check the value of theStatusparameter to see whether aBatchPredictionis marked asDELETED.BatchPredictionId (string) –
A user-supplied ID that uniquely identifies the
BatchPrediction. This value should be identical to the value of theBatchPredictionIDin the request.
Exceptions
MachineLearning.Client.exceptions.InvalidInputExceptionMachineLearning.Client.exceptions.ResourceNotFoundExceptionMachineLearning.Client.exceptions.InternalServerException