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 |
Deletes a detector model. Any active instances of the detector model are also deleted.
Synopsis
- data DeleteDetectorModel = DeleteDetectorModel' {}
- newDeleteDetectorModel :: Text -> DeleteDetectorModel
- deleteDetectorModel_detectorModelName :: Lens' DeleteDetectorModel Text
- data DeleteDetectorModelResponse = DeleteDetectorModelResponse' {
- httpStatus :: Int
- newDeleteDetectorModelResponse :: Int -> DeleteDetectorModelResponse
- deleteDetectorModelResponse_httpStatus :: Lens' DeleteDetectorModelResponse Int
Creating a Request
data DeleteDetectorModel Source #
See: newDeleteDetectorModel
smart constructor.
DeleteDetectorModel' | |
|
Instances
newDeleteDetectorModel Source #
Create a value of DeleteDetectorModel
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:detectorModelName:DeleteDetectorModel'
, deleteDetectorModel_detectorModelName
- The name of the detector model to be deleted.
Request Lenses
deleteDetectorModel_detectorModelName :: Lens' DeleteDetectorModel Text Source #
The name of the detector model to be deleted.
Destructuring the Response
data DeleteDetectorModelResponse Source #
See: newDeleteDetectorModelResponse
smart constructor.
DeleteDetectorModelResponse' | |
|
Instances
newDeleteDetectorModelResponse Source #
Create a value of DeleteDetectorModelResponse
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:DeleteDetectorModelResponse'
, deleteDetectorModelResponse_httpStatus
- The response's http status code.
Response Lenses
deleteDetectorModelResponse_httpStatus :: Lens' DeleteDetectorModelResponse Int Source #
The response's http status code.