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

***********************
describe_action_targets
***********************



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

  

  Returns a list of the custom action targets in Security Hub in your account.

  

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


  **Request Syntax**
  ::

    response = client.describe_action_targets(
        ActionTargetArns=[
            'string',
        ],
        NextToken='string',
        MaxResults=123
    )
    
  :type ActionTargetArns: list
  :param ActionTargetArns: 

    A list of custom action target ARNs for the custom action targets to retrieve.

    

  
    - *(string) --* 

    

  :type NextToken: string
  :param NextToken: 

    The token that is required for pagination. On your first call to the ``DescribeActionTargets`` operation, set the value of this parameter to ``NULL``.

     

    For subsequent calls to the operation, to continue listing data, set the value of this parameter to the value returned from the previous response.

    

  
  :type MaxResults: integer
  :param MaxResults: 

    The maximum number of results to return.

    

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

    
    ::

      {
          'ActionTargets': [
              {
                  'ActionTargetArn': 'string',
                  'Name': 'string',
                  'Description': 'string'
              },
          ],
          'NextToken': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **ActionTargets** *(list) --* 

        A list of ``ActionTarget`` objects. Each object includes the ``ActionTargetArn``, ``Description``, and ``Name`` of a custom action target available in Security Hub.

        
        

        - *(dict) --* 

          An ``ActionTarget`` object.

          
          

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

            The ARN for the target action.

            
          

          - **Name** *(string) --* 

            The name of the action target.

            
          

          - **Description** *(string) --* 

            The description of the target action.

            
      
    
      

      - **NextToken** *(string) --* 

        The pagination token to use to request the next page of results.

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

  