list_test_grid_session_artifacts

DeviceFarm.Client.list_test_grid_session_artifacts(**kwargs)

Retrieves a list of artifacts created during the session.

See also: AWS API Documentation

Request Syntax

response = client.list_test_grid_session_artifacts(
    sessionArn='string',
    type='VIDEO'|'LOG',
    maxResult=123,
    nextToken='string'
)
Parameters
  • sessionArn (string) --

    [REQUIRED]

    The ARN of a TestGridSession.

  • type (string) -- Limit results to a specified type of artifact.
  • maxResult (integer) -- The maximum number of results to be returned by a request.
  • nextToken (string) -- Pagination token.
Return type

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

  • DeviceFarm.Client.exceptions.NotFoundException
  • DeviceFarm.Client.exceptions.ArgumentException
  • DeviceFarm.Client.exceptions.InternalServiceException