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
9896 9897 9898 9899 9900 9901 9902 9903 9904 9905 9906 9907 9908 9909 9910 9911 9912 9913 9914 9915 9916 9917 9918 9919 9920 9921 9922 9923 9924 9925 9926 9927 9928 9929 9930 9931 9932 9933 9934 9935 9936 9937 9938 9939 9940 9941 9942 9943 9944 9945 9946 9947 9948 9949 9950 9951 9952 9953 9954 9955 9956 9957 9958 9959 9960 9961 9962 9963 9964 9965 9966 9967 9968 9969 9970 9971 9972 9973 9974 9975 9976 9977 9978 9979 9980 9981 9982 9983 9984 9985 9986 9987 9988 9989 9990 9991 9992 9993 9994 9995 9996 | |