update_instance_profile
async
¶
update_instance_profile(
arn: AmazonResourceName,
*,
config_overrides: Optional[AsyncDeviceFarmClientConfig] = 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/async_device_farm.py
5090 5091 5092 5093 5094 5095 5096 5097 5098 5099 5100 5101 5102 5103 5104 5105 5106 5107 5108 5109 5110 5111 5112 5113 5114 5115 5116 5117 5118 5119 5120 5121 5122 5123 5124 5125 5126 5127 5128 5129 5130 5131 5132 5133 5134 5135 5136 5137 5138 5139 5140 5141 5142 5143 5144 5145 5146 5147 5148 5149 5150 5151 5152 5153 5154 5155 5156 5157 5158 5159 5160 5161 | |