:doc:`FraudDetector <../../frauddetector>` / Client / delete_event_type

*****************
delete_event_type
*****************



.. py:method:: FraudDetector.Client.delete_event_type(**kwargs)

  

  Deletes an event type.

   

  You cannot delete an event type that is used in a detector or a model.

   

  When you delete an event type, Amazon Fraud Detector permanently deletes that event type and the data is no longer stored in Amazon Fraud Detector.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DeleteEventType>`_  


  **Request Syntax**
  ::

    response = client.delete_event_type(
        name='string'
    )
    
  :type name: string
  :param name: **[REQUIRED]** 

    The name of the event type to delete.

    

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`FraudDetector.Client.exceptions.ConflictException`

  
  *   :py:class:`FraudDetector.Client.exceptions.ValidationException`

  
  *   :py:class:`FraudDetector.Client.exceptions.InternalServerException`

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

  
  *   :py:class:`FraudDetector.Client.exceptions.AccessDeniedException`

  