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 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.
Instances
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:
$sel:mLModelId: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.
DeleteMLModelResponse' | |
|
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:
$sel:mLModelId: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.