:doc:`IoTEvents <../../iotevents>` / Client / delete_alarm_model

******************
delete_alarm_model
******************



.. py:method:: IoTEvents.Client.delete_alarm_model(**kwargs)

  

  Deletes an alarm model. Any alarm instances that were created based on this alarm model are also deleted. This action can't be undone.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/DeleteAlarmModel>`_  


  **Request Syntax**
  ::

    response = client.delete_alarm_model(
        alarmModelName='string'
    )
    
  :type alarmModelName: string
  :param alarmModelName: **[REQUIRED]** 

    The name of the alarm model.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`IoTEvents.Client.exceptions.InvalidRequestException`

  
  *   :py:class:`IoTEvents.Client.exceptions.ResourceInUseException`

  
  *   :py:class:`IoTEvents.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`IoTEvents.Client.exceptions.ThrottlingException`

  
  *   :py:class:`IoTEvents.Client.exceptions.InternalFailureException`

  
  *   :py:class:`IoTEvents.Client.exceptions.ServiceUnavailableException`

  