| 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.IoTEvents.DeleteDetectorModel
Description
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.
Constructors
| DeleteDetectorModel' | |
Fields
| |
Instances
newDeleteDetectorModel Source #
Arguments
| :: Text | |
| -> DeleteDetectorModel |
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:
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.
Constructors
| DeleteDetectorModelResponse' | |
Fields
| |
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.