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

*********************
delete_detector_model
*********************



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

  

  Deletes a detector model. Any active instances of the detector model are also deleted.

  

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


  **Request Syntax**
  ::

    response = client.delete_detector_model(
        detectorModelName='string'
    )
    
  :type detectorModelName: string
  :param detectorModelName: **[REQUIRED]** 

    The name of the detector model to be deleted.

    

  
  
  :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`

  