| Copyright | (c) 2013-2015 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.MachineLearning.DeleteBatchPrediction
Description
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.
See: AWS API Reference for DeleteBatchPrediction.
- deleteBatchPrediction :: Text -> DeleteBatchPrediction
- data DeleteBatchPrediction
- dbpBatchPredictionId :: Lens' DeleteBatchPrediction Text
- deleteBatchPredictionResponse :: Int -> DeleteBatchPredictionResponse
- data DeleteBatchPredictionResponse
- dbprsBatchPredictionId :: Lens' DeleteBatchPredictionResponse (Maybe Text)
- dbprsResponseStatus :: Lens' DeleteBatchPredictionResponse Int
Creating a Request
Arguments
| :: Text | |
| -> DeleteBatchPrediction |
Creates a value of DeleteBatchPrediction with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DeleteBatchPrediction Source
See: deleteBatchPrediction smart constructor.
Instances
Request Lenses
dbpBatchPredictionId :: Lens' DeleteBatchPrediction Text Source
A user-supplied ID that uniquely identifies the BatchPrediction.
Destructuring the Response
deleteBatchPredictionResponse Source
Arguments
| :: Int | |
| -> DeleteBatchPredictionResponse |
Creates a value of DeleteBatchPredictionResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DeleteBatchPredictionResponse Source
Represents the output of a DeleteBatchPrediction operation.
You can use the GetBatchPrediction operation and check the value of the
Status parameter to see whether a BatchPrediction is marked as
DELETED.
See: deleteBatchPredictionResponse smart constructor.
Response Lenses
dbprsBatchPredictionId :: Lens' DeleteBatchPredictionResponse (Maybe Text) Source
A user-supplied ID that uniquely identifies the BatchPrediction. This
value should be identical to the value of the BatchPredictionID in the
request.
dbprsResponseStatus :: Lens' DeleteBatchPredictionResponse Int Source
The response status code.