update_project
async
¶
update_project(
arn: AmazonResourceName,
*,
config_overrides: Optional[AsyncDeviceFarmClientConfig] = None,
name: Optional[Name] = None,
default_job_timeout_minutes: Optional[JobTimeoutMinutes] = None,
vpc_config: Optional[VpcConfig] = None,
environment_variables: Optional[EnvironmentVariables] = None,
execution_role_arn: Optional[AmazonRoleResourceName] = None,
) -> UpdateProjectResult
Modifies the specified project name, given the project ARN and a new name.
Parameters:
-
arn(AmazonResourceName) –The Amazon Resource Name (ARN) of the project whose name to update.
-
name(Optional[Name], default:None) –A string that represents the new name of the project that you are updating.
-
default_job_timeout_minutes(Optional[JobTimeoutMinutes], default:None) –The number of minutes a test run in the project executes before it times out.
-
vpc_config(Optional[VpcConfig], default:None) –The VPC security groups and subnets that are attached to a project.
-
environment_variables(Optional[EnvironmentVariables], default:None) –A set of environment variables which are used by default for all runs in the project. These environment variables are applied to the test run during the execution of a test spec file.
For more information about using test spec files, please see Custom test environments in AWS Device Farm.
-
execution_role_arn(Optional[AmazonRoleResourceName], default:None) –An IAM role to be assumed by the test host for all runs in the project.
Raises:
-
ArgumentException–An invalid argument was specified.
-
LimitExceededException–A limit was exceeded.
-
NotFoundException–The specified entity was not found.
-
ServiceAccountException–There was a problem with the service account.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_device_farm/_services/async_device_farm.py
5262 5263 5264 5265 5266 5267 5268 5269 5270 5271 5272 5273 5274 5275 5276 5277 5278 5279 5280 5281 5282 5283 5284 5285 5286 5287 5288 5289 5290 5291 5292 5293 5294 5295 5296 5297 5298 5299 5300 5301 5302 5303 5304 5305 5306 5307 5308 5309 5310 5311 5312 5313 5314 5315 5316 5317 5318 5319 5320 5321 5322 5323 5324 5325 5326 5327 5328 5329 5330 5331 5332 5333 5334 5335 | |