update_workspaces_pool
¶
update_workspaces_pool(
pool_id: WorkspacesPoolId,
*,
config_overrides: Optional[WorkSpacesClientConfig] = 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/work_spaces.py
9644 9645 9646 9647 9648 9649 9650 9651 9652 9653 9654 9655 9656 9657 9658 9659 9660 9661 9662 9663 9664 9665 9666 9667 9668 9669 9670 9671 9672 9673 9674 9675 9676 9677 9678 9679 9680 9681 9682 9683 9684 9685 9686 9687 9688 9689 9690 9691 9692 9693 9694 9695 9696 9697 9698 9699 9700 9701 9702 9703 9704 9705 9706 9707 9708 9709 9710 9711 9712 9713 9714 9715 9716 9717 9718 9719 9720 9721 9722 9723 9724 9725 9726 9727 9728 9729 9730 9731 9732 9733 9734 9735 9736 9737 9738 9739 9740 9741 9742 | |