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

********************************
list_test_grid_session_artifacts
********************************



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

  

  Retrieves a list of artifacts created during the session.

  

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


  **Request Syntax**
  ::

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

    The ARN of a  TestGridSession.

    

  
  :type type: string
  :param type: 

    Limit results to a specified type of artifact.

    

  
  :type maxResult: integer
  :param maxResult: 

    The maximum number of results to be returned by a request.

    

  
  :type nextToken: string
  :param nextToken: 

    Pagination token.

    

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

    
    ::

      {
          'artifacts': [
              {
                  'filename': 'string',
                  'type': 'UNKNOWN'|'VIDEO'|'SELENIUM_LOG',
                  'url': 'string'
              },
          ],
          'nextToken': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **artifacts** *(list) --* 

        A list of test grid session artifacts for a  TestGridSession.

        
        

        - *(dict) --* 

          Artifacts are video and other files that are produced in the process of running a browser in an automated context.

           

          .. note::

            

            Video elements might be broken up into multiple artifacts as they grow in size during creation.

            

          
          

          - **filename** *(string) --* 

            The file name of the artifact.

            
          

          - **type** *(string) --* 

            The kind of artifact.

            
          

          - **url** *(string) --* 

            A semi-stable URL to the content of the object.

            
      
    
      

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

        Pagination token.

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

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

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

  