update_test_grid_project

DeviceFarm.Client.update_test_grid_project(**kwargs)

Change details of a project.

See also: AWS API Documentation

Request Syntax

response = client.update_test_grid_project(
    projectArn='string',
    name='string',
    description='string',
    vpcConfig={
        'securityGroupIds': [
            'string',
        ],
        'subnetIds': [
            'string',
        ],
        'vpcId': 'string'
    }
)
Parameters
  • projectArn (string) --

    [REQUIRED]

    ARN of the project to update.

  • name (string) -- Human-readable name for the project.
  • description (string) -- Human-readable description for 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) --

      The project, including updated information.

      • 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.NotFoundException
  • DeviceFarm.Client.exceptions.ArgumentException
  • DeviceFarm.Client.exceptions.LimitExceededException
  • DeviceFarm.Client.exceptions.InternalServiceException