| Copyright | (c) 2013-2018 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@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.
- 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
deleteBatchPrediction Source #
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:
dbpBatchPredictionId- A user-supplied ID that uniquely identifies theBatchPrediction.
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:
dbprsBatchPredictionId- A user-supplied ID that uniquely identifies theBatchPrediction. This value should be identical to the value of theBatchPredictionIDin the request.dbprsResponseStatus- -- | The response status code.
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.
Instances
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.