update_upload
¶
update_upload(
arn: AmazonResourceName,
*,
config_overrides: Optional[DeviceFarmClientConfig] = None,
name: Optional[Name] = None,
content_type: Optional[ContentType] = None,
edit_content: Optional[Boolean] = None,
) -> UpdateUploadResult
Updates an uploaded test spec.
Parameters:
-
arn(AmazonResourceName) –The Amazon Resource Name (ARN) of the uploaded test spec.
-
name(Optional[Name], default:None) –The upload's test spec file name. The name must not contain any forward slashes (/). The test spec file name must end with the
.yamlor.ymlfile extension. -
content_type(Optional[ContentType], default:None) –The upload's content type (for example,
application/x-yaml). -
edit_content(Optional[Boolean], default:None) –Set to true if the YAML file has changed and must be updated. Otherwise, set to false.
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/device_farm.py
5315 5316 5317 5318 5319 5320 5321 5322 5323 5324 5325 5326 5327 5328 5329 5330 5331 5332 5333 5334 5335 5336 5337 5338 5339 5340 5341 5342 5343 5344 5345 5346 5347 5348 5349 5350 5351 5352 5353 5354 5355 5356 5357 5358 5359 5360 5361 5362 5363 5364 5365 5366 5367 5368 5369 5370 5371 5372 5373 5374 5375 5376 5377 5378 5379 5380 5381 5382 5383 | |