Copyright | (c) 2013-2021 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 |
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.
DeleteBatchPrediction' | |
|
Instances
newDeleteBatchPrediction Source #
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:
$sel:batchPredictionId: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.
DeleteBatchPredictionResponse' | |
|
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:
$sel:batchPredictionId: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.