list_test_grid_projects

DeviceFarm.Client.list_test_grid_projects(**kwargs)

Gets a list of all Selenium testing projects in your account.

See also: AWS API Documentation

Request Syntax

response = client.list_test_grid_projects(
    maxResult=123,
    nextToken='string'
)
Parameters
  • maxResult (integer) -- Return no more than this number of results.
  • nextToken (string) -- From a response, used to continue a paginated listing.
Return type

dict

Returns

Response Syntax

{
    'testGridProjects': [
        {
            'arn': 'string',
            'name': 'string',
            'description': 'string',
            'vpcConfig': {
                'securityGroupIds': [
                    'string',
                ],
                'subnetIds': [
                    'string',
                ],
                'vpcId': 'string'
            },
            'created': datetime(2015, 1, 1)
        },
    ],
    'nextToken': 'string'
}

Response Structure

  • (dict) --

    • testGridProjects (list) --

      The list of TestGridProjects, based on a ListTestGridProjectsRequest.

      • (dict) --

        A Selenium testing project. Projects are used to collect and collate sessions.

        • arn (string) --

          The ARN for the project.

        • name (string) --

          A human-readable name for the project.

        • description (string) --

          A human-readable description for the project.

        • vpcConfig (dict) --

          The VPC security groups and subnets that are attached to a project.

          • securityGroupIds (list) --

            A list of VPC security group IDs in your Amazon VPC.

            • (string) --
          • subnetIds (list) --

            A list of VPC subnet IDs in your Amazon VPC.

            • (string) --
          • vpcId (string) --

            The ID of the Amazon VPC.

        • created (datetime) --

          When the project was created.

    • nextToken (string) --

      Used for pagination. Pass into ListTestGridProjects to get more results in a paginated request.

Exceptions

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