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

********************
delete_action_target
********************



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

  

  Deletes a custom action target from Security Hub.

   

  Deleting a custom action target does not affect any findings or insights that were already sent to Amazon CloudWatch Events using the custom action.

  

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


  **Request Syntax**
  ::

    response = client.delete_action_target(
        ActionTargetArn='string'
    )
    
  :type ActionTargetArn: string
  :param ActionTargetArn: **[REQUIRED]** 

    The Amazon Resource Name (ARN) of the custom action target to delete.

    

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

    
    ::

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

    

    - *(dict) --* 
      

      - **ActionTargetArn** *(string) --* 

        The ARN of the custom action target 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.ResourceNotFoundException`

  