WorkSpaces.Client.
modify_workspace_properties
(**kwargs)¶Modifies the specified WorkSpace properties. For important information about how to modify the size of the root and user volumes, see Modify a WorkSpace.
Note
The MANUAL
running mode value is only supported by Amazon WorkSpaces Core. Contact your account team to be allow-listed to use this value. For more information, see Amazon WorkSpaces Core.
See also: AWS API Documentation
Request Syntax
response = client.modify_workspace_properties(
WorkspaceId='string',
WorkspaceProperties={
'RunningMode': 'AUTO_STOP'|'ALWAYS_ON'|'MANUAL',
'RunningModeAutoStopTimeoutInMinutes': 123,
'RootVolumeSizeGib': 123,
'UserVolumeSizeGib': 123,
'ComputeTypeName': 'VALUE'|'STANDARD'|'PERFORMANCE'|'POWER'|'GRAPHICS'|'POWERPRO'|'GRAPHICSPRO'|'GRAPHICS_G4DN'|'GRAPHICSPRO_G4DN',
'Protocols': [
'PCOIP'|'WSP',
]
}
)
[REQUIRED]
The identifier of the WorkSpace.
[REQUIRED]
The properties of the WorkSpace.
The running mode. For more information, see Manage the WorkSpace Running Mode.
Note
The MANUAL
value is only supported by Amazon WorkSpaces Core. Contact your account team to be allow-listed to use this value. For more information, see Amazon WorkSpaces Core.
The time after a user logs off when WorkSpaces are automatically stopped. Configured in 60-minute intervals.
The size of the root volume. For important information about how to modify the size of the root and user volumes, see Modify a WorkSpace.
The size of the user storage. For important information about how to modify the size of the root and user volumes, see Modify a WorkSpace.
The compute type. For more information, see Amazon WorkSpaces Bundles.
The protocol. For more information, see Protocols for Amazon WorkSpaces.
Note
Protocols
property is case sensitive. Ensure you use PCOIP
or WSP
.dict
Response Syntax
{}
Response Structure
Exceptions
WorkSpaces.Client.exceptions.InvalidParameterValuesException
WorkSpaces.Client.exceptions.InvalidResourceStateException
WorkSpaces.Client.exceptions.OperationInProgressException
WorkSpaces.Client.exceptions.UnsupportedWorkspaceConfigurationException
WorkSpaces.Client.exceptions.ResourceNotFoundException
WorkSpaces.Client.exceptions.AccessDeniedException
WorkSpaces.Client.exceptions.ResourceUnavailableException