modify_workspace_properties
¶
modify_workspace_properties(
workspace_id: WorkspaceId,
*,
config_overrides: Optional[WorkSpacesClientConfig] = None,
workspace_properties: Optional[WorkspaceProperties] = None,
data_replication: Optional[DataReplication] = None,
) -> ModifyWorkspacePropertiesResult
Modifies the specified WorkSpace properties. For important information about how to modify the size of the root and user volumes, see Modify a WorkSpace.
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.
Parameters:
-
workspace_id(WorkspaceId) –The identifier of the WorkSpace.
-
workspace_properties(Optional[WorkspaceProperties], default:None) –The properties of the WorkSpace.
-
data_replication(Optional[DataReplication], default:None) –Indicates the data replication status.
Raises:
-
AccessDeniedException–The user is not authorized to access a resource.
-
InvalidParameterValuesException–One or more parameter values are not valid.
-
InvalidResourceStateException–The state of the resource is not valid for this operation.
-
OperationInProgressException–The properties of this WorkSpace are currently being modified. Try again in a moment.
-
ResourceNotFoundException–The resource could not be found.
-
ResourceUnavailableException–The specified resource is not available.
-
UnsupportedWorkspaceConfigurationException–The configuration of this WorkSpace is not supported for this operation. For more information, see Required Configuration and Service Components for WorkSpaces .
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_workspaces/_services/work_spaces.py
8208 8209 8210 8211 8212 8213 8214 8215 8216 8217 8218 8219 8220 8221 8222 8223 8224 8225 8226 8227 8228 8229 8230 8231 8232 8233 8234 8235 8236 8237 8238 8239 8240 8241 8242 8243 8244 8245 8246 8247 8248 8249 8250 8251 8252 8253 8254 8255 8256 8257 8258 8259 8260 8261 8262 8263 8264 8265 8266 8267 8268 8269 8270 8271 8272 8273 8274 8275 8276 8277 8278 8279 8280 | |