modify_workspace_properties
async
¶
modify_workspace_properties(
workspace_id: WorkspaceId,
*,
config_overrides: Optional[AsyncWorkSpacesClientConfig] = 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/async_work_spaces.py
4647 4648 4649 4650 4651 4652 4653 4654 4655 4656 4657 4658 4659 4660 4661 4662 4663 4664 4665 4666 4667 4668 4669 4670 4671 4672 4673 4674 4675 4676 4677 4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 4706 4707 4708 4709 | |