update_device
¶
update_device(
id: DeviceId,
*,
config_overrides: Optional[WorkSpacesThinClientClientConfig] = None,
name: Optional[DeviceName] = None,
desired_software_set_id: Optional[SoftwareSetId] = None,
software_set_update_schedule: Optional[SoftwareSetUpdateSchedule] = None,
) -> UpdateDeviceResponse
Updates a thin client device.
Parameters:
-
id(DeviceId) –The ID of the device to update.
-
name(Optional[DeviceName], default:None) –The name of the device to update.
-
desired_software_set_id(Optional[SoftwareSetId], default:None) –The ID of the software set to apply.
-
software_set_update_schedule(Optional[SoftwareSetUpdateSchedule], default:None) –An option to define if software updates should be applied within a maintenance window.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
InternalServerException–The server encountered an internal error and is unable to complete the request.
-
ResourceNotFoundException–The resource specified in the request was not found.
-
ThrottlingException–The request was denied due to request throttling.
-
ValidationException–The input fails to satisfy the specified constraints.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_workspaces_thin_client/_services/work_spaces_thin_client.py
1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 | |