deleteAlarmModel method
Deletes an alarm model. Any alarm instances that were created based on this alarm model are also deleted. This action can't be undone.
May throw InternalFailureException.
May throw InvalidRequestException.
May throw ResourceInUseException.
May throw ResourceNotFoundException.
May throw ServiceUnavailableException.
May throw ThrottlingException.
Parameter alarmModelName :
The name of the alarm model.
Implementation
Future<void> deleteAlarmModel({
required String alarmModelName,
}) async {
final response = await _protocol.send(
payload: null,
method: 'DELETE',
requestUri: '/alarm-models/${Uri.encodeComponent(alarmModelName)}',
exceptionFnMap: _exceptionFns,
);
}