update_workspaces_pool
async
¶
update_workspaces_pool(
pool_id: WorkspacesPoolId,
*,
config_overrides: Optional[AsyncWorkSpacesClientConfig] = None,
description: Optional[UpdateDescription] = None,
bundle_id: Optional[BundleId] = None,
directory_id: Optional[DirectoryId] = None,
capacity: Optional[Capacity] = None,
application_settings: Optional[ApplicationSettingsRequest] = None,
timeout_settings: Optional[TimeoutSettings] = None,
running_mode: Optional[PoolsRunningMode] = None,
) -> UpdateWorkspacesPoolResult
End of support notice: On December 31, 2027, Amazon Web Services will end support for Amazon WorkSpaces Pools. After December 31, 2027, you will no longer be able to access the Amazon WorkSpaces Pools console or Amazon WorkSpaces Pools resources. For more information, see Amazon WorkSpaces Pools end of support.
Updates the specified pool.
Parameters:
-
pool_id(WorkspacesPoolId) –The identifier of the specified pool to update.
-
description(Optional[UpdateDescription], default:None) –Describes the specified pool to update.
-
bundle_id(Optional[BundleId], default:None) –The identifier of the bundle.
-
directory_id(Optional[DirectoryId], default:None) –The identifier of the directory.
-
capacity(Optional[Capacity], default:None) –The desired capacity for the pool.
-
application_settings(Optional[ApplicationSettingsRequest], default:None) –The persistent application settings for users in the pool.
-
timeout_settings(Optional[TimeoutSettings], default:None) –Indicates the timeout settings of the specified pool.
-
running_mode(Optional[PoolsRunningMode], default:None) –The desired running mode for the pool. The running mode can only be updated when the pool is in a stopped state.
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.
-
OperationNotSupportedException–This operation is not supported.
-
ResourceLimitExceededException–Your resource limits have been exceeded.
-
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
5740 5741 5742 5743 5744 5745 5746 5747 5748 5749 5750 5751 5752 5753 5754 5755 5756 5757 5758 5759 5760 5761 5762 5763 5764 5765 5766 5767 5768 5769 5770 5771 5772 5773 5774 5775 5776 5777 5778 5779 5780 5781 5782 5783 5784 5785 5786 5787 5788 5789 5790 5791 5792 5793 5794 5795 5796 5797 5798 5799 5800 5801 5802 5803 5804 5805 5806 5807 5808 5809 5810 5811 5812 5813 5814 5815 5816 5817 5818 5819 5820 5821 5822 5823 5824 5825 5826 5827 5828 | |