create_test_grid_project
(**kwargs)¶Creates a Selenium testing project. Projects are used to track TestGridSession instances.
See also: AWS API Documentation
Request Syntax
response = client.create_test_grid_project(
name='string',
description='string',
vpcConfig={
'securityGroupIds': [
'string',
],
'subnetIds': [
'string',
],
'vpcId': 'string'
}
)
[REQUIRED]
Human-readable name of the Selenium testing project.
The VPC security groups and subnets that are attached to a project.
A list of VPC security group IDs in your Amazon VPC.
A list of VPC subnet IDs in your Amazon VPC.
The ID of the Amazon VPC.
dict
Response Syntax
{
'testGridProject': {
'arn': 'string',
'name': 'string',
'description': 'string',
'vpcConfig': {
'securityGroupIds': [
'string',
],
'subnetIds': [
'string',
],
'vpcId': 'string'
},
'created': datetime(2015, 1, 1)
}
}
Response Structure
(dict) --
testGridProject (dict) --
ARN of the Selenium testing project that was created.
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.
subnetIds (list) --
A list of VPC subnet IDs in your Amazon VPC.
vpcId (string) --
The ID of the Amazon VPC.
created (datetime) --
When the project was created.
Exceptions
DeviceFarm.Client.exceptions.ArgumentException
DeviceFarm.Client.exceptions.LimitExceededException
DeviceFarm.Client.exceptions.InternalServiceException