| 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.DeleteMLModel
Description
Assigns the DELETED status to an MLModel, rendering it unusable.
After using the DeleteMLModel operation, you can use the GetMLModel
operation to verify that the status of the MLModel changed to DELETED.
Caution: The result of the DeleteMLModel operation is
irreversible.
Synopsis
- data DeleteMLModel = DeleteMLModel' {}
- newDeleteMLModel :: Text -> DeleteMLModel
- deleteMLModel_mLModelId :: Lens' DeleteMLModel Text
- data DeleteMLModelResponse = DeleteMLModelResponse' {
- mLModelId :: Maybe Text
- httpStatus :: Int
- newDeleteMLModelResponse :: Int -> DeleteMLModelResponse
- deleteMLModelResponse_mLModelId :: Lens' DeleteMLModelResponse (Maybe Text)
- deleteMLModelResponse_httpStatus :: Lens' DeleteMLModelResponse Int
Creating a Request
data DeleteMLModel Source #
See: newDeleteMLModel smart constructor.
Constructors
| DeleteMLModel' | |
Instances
Arguments
| :: Text | |
| -> DeleteMLModel |
Create a value of DeleteMLModel 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:
DeleteMLModel, deleteMLModel_mLModelId - A user-supplied ID that uniquely identifies the MLModel.
Request Lenses
deleteMLModel_mLModelId :: Lens' DeleteMLModel Text Source #
A user-supplied ID that uniquely identifies the MLModel.
Destructuring the Response
data DeleteMLModelResponse Source #
Represents the output of a DeleteMLModel operation.
You can use the GetMLModel operation and check the value of the
Status parameter to see whether an MLModel is marked as DELETED.
See: newDeleteMLModelResponse smart constructor.
Constructors
| DeleteMLModelResponse' | |
Fields
| |
Instances
newDeleteMLModelResponse Source #
Create a value of DeleteMLModelResponse 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:
DeleteMLModel, deleteMLModelResponse_mLModelId - A user-supplied ID that uniquely identifies the MLModel. This value
should be identical to the value of the MLModelID in the request.
$sel:httpStatus:DeleteMLModelResponse', deleteMLModelResponse_httpStatus - The response's http status code.
Response Lenses
deleteMLModelResponse_mLModelId :: Lens' DeleteMLModelResponse (Maybe Text) Source #
A user-supplied ID that uniquely identifies the MLModel. This value
should be identical to the value of the MLModelID in the request.
deleteMLModelResponse_httpStatus :: Lens' DeleteMLModelResponse Int Source #
The response's http status code.