| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.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.
Synopsis
- data DeleteBatchPrediction = DeleteBatchPrediction' {}
- newDeleteBatchPrediction :: Text -> DeleteBatchPrediction
- deleteBatchPrediction_batchPredictionId :: Lens' DeleteBatchPrediction Text
- data DeleteBatchPredictionResponse = DeleteBatchPredictionResponse' {}
- newDeleteBatchPredictionResponse :: Int -> DeleteBatchPredictionResponse
- deleteBatchPredictionResponse_batchPredictionId :: Lens' DeleteBatchPredictionResponse (Maybe Text)
- deleteBatchPredictionResponse_httpStatus :: Lens' DeleteBatchPredictionResponse Int
Creating a Request
data DeleteBatchPrediction Source #
See: newDeleteBatchPrediction smart constructor.
Constructors
| DeleteBatchPrediction' | |
Fields
| |
Instances
newDeleteBatchPrediction Source #
Arguments
| :: Text | |
| -> DeleteBatchPrediction |
Create a value of DeleteBatchPrediction with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
DeleteBatchPrediction, deleteBatchPrediction_batchPredictionId - A user-supplied ID that uniquely identifies the BatchPrediction.
Request Lenses
deleteBatchPrediction_batchPredictionId :: Lens' DeleteBatchPrediction Text Source #
A user-supplied ID that uniquely identifies the BatchPrediction.
Destructuring the Response
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: newDeleteBatchPredictionResponse smart constructor.
Constructors
| DeleteBatchPredictionResponse' | |
Fields
| |
Instances
newDeleteBatchPredictionResponse Source #
Create a value of DeleteBatchPredictionResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
DeleteBatchPrediction, deleteBatchPredictionResponse_batchPredictionId - A user-supplied ID that uniquely identifies the BatchPrediction. This
value should be identical to the value of the BatchPredictionID in the
request.
$sel:httpStatus:DeleteBatchPredictionResponse', deleteBatchPredictionResponse_httpStatus - The response's http status code.
Response Lenses
deleteBatchPredictionResponse_batchPredictionId :: 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.
deleteBatchPredictionResponse_httpStatus :: Lens' DeleteBatchPredictionResponse Int Source #
The response's http status code.