:doc:`FIS <../../fis>` / Client / list_actions

************
list_actions
************



.. py:method:: FIS.Client.list_actions(**kwargs)

  

  Lists the available FIS actions.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/ListActions>`_  


  **Request Syntax**
  ::

    response = client.list_actions(
        maxResults=123,
        nextToken='string'
    )
    
  :type maxResults: integer
  :param maxResults: 

    The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned ``nextToken`` value.

    

  
  :type nextToken: string
  :param nextToken: 

    The token for the next page of results.

    

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

    
    ::

      {
          'actions': [
              {
                  'id': 'string',
                  'arn': 'string',
                  'description': 'string',
                  'targets': {
                      'string': {
                          'resourceType': 'string'
                      }
                  },
                  'tags': {
                      'string': 'string'
                  }
              },
          ],
          'nextToken': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **actions** *(list) --* 

        The actions.

        
        

        - *(dict) --* 

          Provides a summary of an action.

          
          

          - **id** *(string) --* 

            The ID of the action.

            
          

          - **arn** *(string) --* 

            The Amazon Resource Name (ARN) of the action.

            
          

          - **description** *(string) --* 

            The description for the action.

            
          

          - **targets** *(dict) --* 

            The targets for the action.

            
            

            - *(string) --* 
              

              - *(dict) --* 

                Describes a target for an action.

                
                

                - **resourceType** *(string) --* 

                  The resource type of the target.

                  
            
        
      
          

          - **tags** *(dict) --* 

            The tags for the action.

            
            

            - *(string) --* 
              

              - *(string) --* 
        
      
      
    
      

      - **nextToken** *(string) --* 

        The token to use to retrieve the next page of results. This value is ``null`` when there are no more results to return.

        
  
  **Exceptions**
  
  *   :py:class:`FIS.Client.exceptions.ValidationException`

  