:doc:`CustomerProfiles <../../customer-profiles>` / Client / delete_event_trigger

********************
delete_event_trigger
********************



.. py:method:: CustomerProfiles.Client.delete_event_trigger(**kwargs)

  

  Disable and deletes the Event Trigger.

   

  .. note::

    

    You cannot delete an Event Trigger with an active Integration associated.

    

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/DeleteEventTrigger>`_  


  **Request Syntax**
  ::

    response = client.delete_event_trigger(
        DomainName='string',
        EventTriggerName='string'
    )
    
  :type DomainName: string
  :param DomainName: **[REQUIRED]** 

    The unique name of the domain.

    

  
  :type EventTriggerName: string
  :param EventTriggerName: **[REQUIRED]** 

    The unique name of the event trigger.

    

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

    
    ::

      {
          'Message': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **Message** *(string) --* 

        A message that indicates the delete request is done.

        
  
  **Exceptions**
  
  *   :py:class:`CustomerProfiles.Client.exceptions.BadRequestException`

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

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

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

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

  