:doc:`DeviceFarm <../../devicefarm>` / Client / list_test_grid_session_actions

******************************
list_test_grid_session_actions
******************************



.. py:method:: DeviceFarm.Client.list_test_grid_session_actions(**kwargs)

  

  Returns a list of the actions taken in a  TestGridSession.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListTestGridSessionActions>`_  


  **Request Syntax**
  ::

    response = client.list_test_grid_session_actions(
        sessionArn='string',
        maxResult=123,
        nextToken='string'
    )
    
  :type sessionArn: string
  :param sessionArn: **[REQUIRED]** 

    The ARN of the session to retrieve.

    

  
  :type maxResult: integer
  :param maxResult: 

    The maximum number of sessions to return per response.

    

  
  :type nextToken: string
  :param nextToken: 

    Pagination token.

    

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

    
    ::

      {
          'actions': [
              {
                  'action': 'string',
                  'started': datetime(2015, 1, 1),
                  'duration': 123,
                  'statusCode': 'string',
                  'requestMethod': 'string'
              },
          ],
          'nextToken': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

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

        The action taken by the session.

        
        

        - *(dict) --* 

          An action taken by a  TestGridSession browser instance.

          
          

          - **action** *(string) --* 

            The action taken by the session.

            
          

          - **started** *(datetime) --* 

            The time that the session invoked the action.

            
          

          - **duration** *(integer) --* 

            The time, in milliseconds, that the action took to complete in the browser.

            
          

          - **statusCode** *(string) --* 

            HTTP status code returned to the browser when the action was taken.

            
          

          - **requestMethod** *(string) --* 

            HTTP method that the browser used to make the request.

            
      
    
      

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

        Pagination token.

        
  
  **Exceptions**
  
  *   :py:class:`DeviceFarm.Client.exceptions.NotFoundException`

  
  *   :py:class:`DeviceFarm.Client.exceptions.ArgumentException`

  
  *   :py:class:`DeviceFarm.Client.exceptions.InternalServiceException`

  