:doc:`SecurityHub <../../securityhub>` / Client / delete_insight

**************
delete_insight
**************



.. py:method:: SecurityHub.Client.delete_insight(**kwargs)

  

  Deletes the insight specified by the ``InsightArn``.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DeleteInsight>`_  


  **Request Syntax**
  ::

    response = client.delete_insight(
        InsightArn='string'
    )
    
  :type InsightArn: string
  :param InsightArn: **[REQUIRED]** 

    The ARN of the insight to delete.

    

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

    
    ::

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

    

    - *(dict) --* 
      

      - **InsightArn** *(string) --* 

        The ARN of the insight that was deleted.

        
  
  **Exceptions**
  
  *   :py:class:`SecurityHub.Client.exceptions.InternalException`

  
  *   :py:class:`SecurityHub.Client.exceptions.InvalidInputException`

  
  *   :py:class:`SecurityHub.Client.exceptions.InvalidAccessException`

  
  *   :py:class:`SecurityHub.Client.exceptions.LimitExceededException`

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

  