| 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.FraudDetector.DeleteModel
Description
Deletes a model.
You can delete models and model versions in Amazon Fraud Detector, provided that they are not associated with a detector version.
When you delete a model, Amazon Fraud Detector permanently deletes that model and the data is no longer stored in Amazon Fraud Detector.
Synopsis
- data DeleteModel = DeleteModel' {}
- newDeleteModel :: Text -> ModelTypeEnum -> DeleteModel
- deleteModel_modelId :: Lens' DeleteModel Text
- deleteModel_modelType :: Lens' DeleteModel ModelTypeEnum
- data DeleteModelResponse = DeleteModelResponse' {
- httpStatus :: Int
- newDeleteModelResponse :: Int -> DeleteModelResponse
- deleteModelResponse_httpStatus :: Lens' DeleteModelResponse Int
Creating a Request
data DeleteModel Source #
See: newDeleteModel smart constructor.
Constructors
| DeleteModel' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> ModelTypeEnum | |
| -> DeleteModel |
Create a value of DeleteModel 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:
DeleteModel, deleteModel_modelId - The model ID of the model to delete.
DeleteModel, deleteModel_modelType - The model type of the model to delete.
Request Lenses
deleteModel_modelId :: Lens' DeleteModel Text Source #
The model ID of the model to delete.
deleteModel_modelType :: Lens' DeleteModel ModelTypeEnum Source #
The model type of the model to delete.
Destructuring the Response
data DeleteModelResponse Source #
See: newDeleteModelResponse smart constructor.
Constructors
| DeleteModelResponse' | |
Fields
| |
Instances
newDeleteModelResponse Source #
Arguments
| :: Int | |
| -> DeleteModelResponse |
Create a value of DeleteModelResponse 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:httpStatus:DeleteModelResponse', deleteModelResponse_httpStatus - The response's http status code.
Response Lenses
deleteModelResponse_httpStatus :: Lens' DeleteModelResponse Int Source #
The response's http status code.