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
5650 5651 5652 5653 5654 5655 5656 5657 5658 5659 5660 5661 5662 5663 5664 5665 5666 5667 5668 5669 5670 5671 5672 5673 5674 5675 5676 5677 5678 5679 5680 5681 5682 5683 5684 5685 5686 5687 5688 5689 5690 5691 5692 5693 5694 5695 5696 5697 5698 5699 5700 5701 5702 5703 5704 5705 5706 5707 5708 5709 5710 5711 5712 5713 5714 5715 5716 5717 5718 5719 5720 5721 5722 5723 5724 5725 5726 5727 5728 5729 5730 5731 5732 5733 5734 5735 5736 5737 | |