| 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.DeleteAlarmModel
Description
Deletes an alarm model. Any alarm instances that were created based on this alarm model are also deleted. This action can't be undone.
Synopsis
- data DeleteAlarmModel = DeleteAlarmModel' {}
- newDeleteAlarmModel :: Text -> DeleteAlarmModel
- deleteAlarmModel_alarmModelName :: Lens' DeleteAlarmModel Text
- data DeleteAlarmModelResponse = DeleteAlarmModelResponse' {
- httpStatus :: Int
- newDeleteAlarmModelResponse :: Int -> DeleteAlarmModelResponse
- deleteAlarmModelResponse_httpStatus :: Lens' DeleteAlarmModelResponse Int
Creating a Request
data DeleteAlarmModel Source #
See: newDeleteAlarmModel smart constructor.
Constructors
| DeleteAlarmModel' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> DeleteAlarmModel |
Create a value of DeleteAlarmModel 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:
DeleteAlarmModel, deleteAlarmModel_alarmModelName - The name of the alarm model.
Request Lenses
deleteAlarmModel_alarmModelName :: Lens' DeleteAlarmModel Text Source #
The name of the alarm model.
Destructuring the Response
data DeleteAlarmModelResponse Source #
See: newDeleteAlarmModelResponse smart constructor.
Constructors
| DeleteAlarmModelResponse' | |
Fields
| |
Instances
newDeleteAlarmModelResponse Source #
Create a value of DeleteAlarmModelResponse 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:DeleteAlarmModelResponse', deleteAlarmModelResponse_httpStatus - The response's http status code.
Response Lenses
deleteAlarmModelResponse_httpStatus :: Lens' DeleteAlarmModelResponse Int Source #
The response's http status code.