list_test_grid_sessions(**kwargs)¶Retrieves a list of sessions for a TestGridProject.
See also: AWS API Documentation
Request Syntax
response = client.list_test_grid_sessions(
    projectArn='string',
    status='ACTIVE'|'CLOSED'|'ERRORED',
    creationTimeAfter=datetime(2015, 1, 1),
    creationTimeBefore=datetime(2015, 1, 1),
    endTimeAfter=datetime(2015, 1, 1),
    endTimeBefore=datetime(2015, 1, 1),
    maxResult=123,
    nextToken='string'
)
[REQUIRED]
ARN of a TestGridProject.
dict
Response Syntax
{
    'testGridSessions': [
        {
            'arn': 'string',
            'status': 'ACTIVE'|'CLOSED'|'ERRORED',
            'created': datetime(2015, 1, 1),
            'ended': datetime(2015, 1, 1),
            'billingMinutes': 123.0,
            'seleniumProperties': 'string'
        },
    ],
    'nextToken': 'string'
}
Response Structure
(dict) --
testGridSessions (list) --
The sessions that match the criteria in a ListTestGridSessionsRequest.
(dict) --
A TestGridSession is a single instance of a browser launched from the URL provided by a call to CreateTestGridUrl.
arn (string) --
The ARN of the session.
status (string) --
The state of the session.
created (datetime) --
The time that the session was started.
ended (datetime) --
The time the session ended.
billingMinutes (float) --
The number of billed minutes that were used for this session.
seleniumProperties (string) --
A JSON object of options and parameters passed to the Selenium WebDriver.
nextToken (string) --
Pagination token.
Exceptions
DeviceFarm.Client.exceptions.NotFoundExceptionDeviceFarm.Client.exceptions.ArgumentExceptionDeviceFarm.Client.exceptions.InternalServiceException