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 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.
DeleteAlarmModel' | |
|
Instances
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:
$sel:alarmModelName: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.
DeleteAlarmModelResponse' | |
|
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.