DeviceFarm / Client / list_test_grid_session_actions

list_test_grid_session_actions#

DeviceFarm.Client.list_test_grid_session_actions(**kwargs)#

Returns a list of the actions taken in a TestGridSession.

See also: AWS API Documentation

Request Syntax

response = client.list_test_grid_session_actions(
    sessionArn='string',
    maxResult=123,
    nextToken='string'
)
Parameters:
  • sessionArn (string) –

    [REQUIRED]

    The ARN of the session to retrieve.

  • maxResult (integer) – The maximum number of sessions to return per response.

  • nextToken (string) – Pagination token.

Return type:

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