update_instance_profile
¶
update_instance_profile(
arn: AmazonResourceName,
*,
config_overrides: Optional[DeviceFarmClientConfig] = None,
name: Optional[Name] = None,
description: Optional[Message] = None,
package_cleanup: Optional[Boolean] = None,
exclude_app_packages_from_cleanup: Optional[PackageIds] = None,
reboot_after_use: Optional[Boolean] = None,
) -> UpdateInstanceProfileResult
Updates information about an existing private device instance profile.
Parameters:
-
arn(AmazonResourceName) –The Amazon Resource Name (ARN) of the instance profile.
-
name(Optional[Name], default:None) –The updated name for your instance profile.
-
description(Optional[Message], default:None) –The updated description for your instance profile.
-
package_cleanup(Optional[Boolean], default:None) –The updated choice for whether you want to specify package cleanup. The default value is
falsefor private devices. -
exclude_app_packages_from_cleanup(Optional[PackageIds], default:None) –An array of strings that specifies the list of app packages that should not be cleaned up from the device after a test run is over.
The list of packages is only considered if you set
packageCleanuptotrue. -
reboot_after_use(Optional[Boolean], default:None) –The updated choice for whether you want to reboot the device after use. The default value is
true.
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
5007 5008 5009 5010 5011 5012 5013 5014 5015 5016 5017 5018 5019 5020 5021 5022 5023 5024 5025 5026 5027 5028 5029 5030 5031 5032 5033 5034 5035 5036 5037 5038 5039 5040 5041 5042 5043 5044 5045 5046 5047 5048 5049 5050 5051 5052 5053 5054 5055 5056 5057 5058 5059 5060 5061 5062 5063 5064 5065 5066 5067 5068 5069 5070 5071 5072 5073 5074 5075 5076 5077 | |