WorkSpaces.Client.
modify_workspace_access_properties
(**kwargs)¶Specifies which devices and operating systems users can use to access their WorkSpaces. For more information, see Control Device Access.
See also: AWS API Documentation
Request Syntax
response = client.modify_workspace_access_properties(
ResourceId='string',
WorkspaceAccessProperties={
'DeviceTypeWindows': 'ALLOW'|'DENY',
'DeviceTypeOsx': 'ALLOW'|'DENY',
'DeviceTypeWeb': 'ALLOW'|'DENY',
'DeviceTypeIos': 'ALLOW'|'DENY',
'DeviceTypeAndroid': 'ALLOW'|'DENY',
'DeviceTypeChromeOs': 'ALLOW'|'DENY',
'DeviceTypeZeroClient': 'ALLOW'|'DENY',
'DeviceTypeLinux': 'ALLOW'|'DENY'
}
)
[REQUIRED]
The identifier of the directory.
[REQUIRED]
The device types and operating systems to enable or disable for access.
Indicates whether users can use Windows clients to access their WorkSpaces.
Indicates whether users can use macOS clients to access their WorkSpaces.
Indicates whether users can access their WorkSpaces through a web browser.
Indicates whether users can use iOS devices to access their WorkSpaces.
Indicates whether users can use Android and Android-compatible Chrome OS devices to access their WorkSpaces.
Indicates whether users can use Chromebooks to access their WorkSpaces.
Indicates whether users can use zero client devices to access their WorkSpaces.
Indicates whether users can use Linux clients to access their WorkSpaces.
dict
Response Syntax
{}
Response Structure
Exceptions
WorkSpaces.Client.exceptions.ResourceNotFoundException
WorkSpaces.Client.exceptions.AccessDeniedException