modify_workspace_access_properties
async
¶
modify_workspace_access_properties(
resource_id: DirectoryId,
workspace_access_properties: WorkspaceAccessProperties,
*,
config_overrides: Optional[AsyncWorkSpacesClientConfig] = None,
) -> ModifyWorkspaceAccessPropertiesResult
Specifies which devices and operating systems users can use to access their WorkSpaces. For more information, see Control Device Access.
Parameters:
-
resource_id(DirectoryId) –The identifier of the directory.
-
workspace_access_properties(WorkspaceAccessProperties) –The device types and operating systems to enable or disable for access.
Raises:
-
AccessDeniedException–The user is not authorized to access a resource.
-
InvalidParameterCombinationException–Two or more of the selected parameter values cannot be used together.
-
InvalidParameterValuesException–One or more parameter values are not valid.
-
OperationNotSupportedException–This operation is not supported.
-
ResourceNotFoundException–The resource could not be found.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_workspaces/_services/async_work_spaces.py
8287 8288 8289 8290 8291 8292 8293 8294 8295 8296 8297 8298 8299 8300 8301 8302 8303 8304 8305 8306 8307 8308 8309 8310 8311 8312 8313 8314 8315 8316 8317 8318 8319 8320 8321 8322 8323 8324 8325 8326 8327 8328 8329 8330 8331 8332 8333 8334 8335 8336 8337 8338 8339 8340 8341 8342 8343 8344 8345 8346 8347 8348 8349 8350 | |