DeviceFarm / Client / create_test_grid_project
create_test_grid_project#
- DeviceFarm.Client.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' } )
- Parameters:
name (string) –
[REQUIRED]
Human-readable name of the Selenium testing project.
description (string) – Human-readable description of the project.
vpcConfig (dict) –
The VPC security groups and subnets that are attached to a project.
securityGroupIds (list) – [REQUIRED]
A list of VPC security group IDs in your Amazon VPC.
(string) –
subnetIds (list) – [REQUIRED]
A list of VPC subnet IDs in your Amazon VPC.
(string) –
vpcId (string) – [REQUIRED]
The ID of the Amazon VPC.
- Return type:
dict
- Returns:
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.
(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.
Exceptions
DeviceFarm.Client.exceptions.ArgumentException
DeviceFarm.Client.exceptions.LimitExceededException
DeviceFarm.Client.exceptions.InternalServiceException